libs/gst/check/gstcheck.h: Allow check tests to use
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
2
3         * libs/gst/check/gstcheck.h: Allow check tests to use
4         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
5         CK_FORK=no to be used with multiple check test that use threads.
6
7 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
8
9         * gst/gstutils.c: (gst_element_get_compatible_pad):
10         Fix a caps memory leak introduced by the last change.
11
12 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
13
14         * gst/gstutils.c: (gst_element_get_compatible_pad):
15         Check if the caps of the pads are compatible before returning
16         a pad and claiming it is compatible. This, among other things,
17         fixes a bug with gst-launch where an incompatible pad is chosen
18         and linking fails. Fixes bug #544003.
19
20 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
21
22         * libs/gst/check/gstcheck.c: (gst_check_init):
23         Revert accidentially commited patch for bug #404631 which
24         tries to print a backtrace if a testcase is terminated by
25         a signal. This code was never activated as the corresponding
26         configure.ac change wasn't committed.
27
28 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
29
30         * tests/check/libs/controller.c: (GST_START_TEST):
31         This test should return TRUE now as syncing an uncontrolled
32         object will succeed now (there's nothing to sync).
33
34 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
35
36         * libs/gst/controller/gstcontroller.c:
37           Aggregate return value for gst_controller_sync_values(). More info in
38           logging. Always set values on first sync-call.
39
40         * libs/gst/controller/gstcontrolsource.c:
41           Microoptimizations.
42
43         * libs/gst/controller/gsthelper.c:
44           Fix return code and comment.
45
46 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
47
48         * tools/gst-launch.1.in:
49           Fix description of how to specify a type in caps. Fixes #553873.
50           Also ranges and list contain values and not property-assignments.
51
52 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
53
54         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
55         Check for changed pads-list before checking the last returned
56         GstFlowReturn because the pad could have been removed and we
57         need to ignore the value in that case.
58
59 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
60
61         * libs/gst/base/gstbasetransform.c:
62         (gst_base_transform_prepare_output_buffer),
63         (gst_base_transform_getrange), (gst_base_transform_chain):
64         * libs/gst/base/gstbasetransform.h:
65         Add vmethod that is called before we start the transform and which can
66         be used to configure the transform, such as dynamic properties.
67
68 2008-12-05  David Schleef  <ds@schleef.org>
69
70         * gst/gst.c:
71         Search for plugins on win32 based on the location of the
72         gstreamer DLL.  Fixes #548786
73
74 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
75
76         * configure.ac:
77         Apparently AC_CONFIG_MACRO_DIR breaks when using more
78         than one macro directory, reverting last change.
79
80 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
81
82         * configure.ac:
83         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
84         our M4 macros.
85
86 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
87
88         Patch by: Cygwin Ports maintainer
89                   <yselkowitz at users dot sourceforge dot net>
90
91         * autogen.sh:
92         * configure.ac:
93         Require gettext 0.17 because older versions don't mix with libtool
94         2.2. At build time an older gettext version will still work.
95         Fixes bug #556091.
96
97 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
98
99         Patch by: 이문형 <iwings at gmail dot com>
100
101         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
102         Adds support for FD_CONNECT event (win32). See #562258.
103
104 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
105
106         * libs/gst/base/gstbasesink.c:
107           Turn comment into gtk-doc comment.
108
109 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
110
111         * libs/gst/base/gstbasetransform.c:
112         (gst_base_transform_acceptcaps):
113         Revert quick accepcaps attempt, it's not fully equivalent to the old
114         behaviour and thus causes regressions.
115
116 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
117
118         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
119         Fix memory leak.
120
121 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
122
123         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
124
125         * gst/gstregistry.c: (gst_registry_scan_path_level):
126         Reduce the number of stat() calls for every file from three times
127         to one time. Fixes bug #560360.
128
129 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
130
131         * libs/gst/base/gstbasetransform.c:
132         (gst_base_transform_acceptcaps):
133         Rename a variable to make the code clearer.
134
135 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
136
137         * plugins/elements/gstidentity.c:
138         Don't warning on offset==-1. Taken from _check_imperfect_offset().
139
140 2008-11-21  Michael Smith <msmith@songbirdnest.com>
141
142         * plugins/elements/gstfilesrc.c:
143           Check for localhost in URI was backwards, fix it. Fixes unit test.
144
145 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
146
147         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
148         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
149         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
150         Add beginnings of a more optimized acceptcaps function than the default
151         core one.
152
153 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
154
155         * gst/gstpad.c: (gst_pad_accept_caps):
156         Avoid getting the acceptcaps function too early.
157
158 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
159
160         * tools/gst-launch.c: (event_loop):
161         Make gst-launch handle LATENCY messages and make it recalculate the
162         latency.
163
164 2008-11-20  Michael Smith <msmith@songbirdnest.com>
165
166         * plugins/elements/gstfilesrc.c:
167           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
168           out own slightly incorrect version. Fixes use of some paths on
169           win32.
170
171 2008-11-20  Michael Smith <msmith@songbirdnest.com>
172
173         * gst/gstregistrybinary.c:
174           In win32 codepath, if we fail to write the registry, create the
175           directory for it and try again, matching the behaviour in non-win32
176           codepaths.
177
178 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
179
180         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
181         Changing the render delay changes the latency and so we must post a
182         latency message.
183
184 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
185
186         * gst/gstquery.c:
187         * gst/gstquery.h:
188         Add GstQueryType for custom queries instead of having to use the
189         not-so-very-convenient registration infrastructure to register new
190         types.
191
192 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
193
194         Patch by: Andrew Feren <acferen at yahoo dot com>
195
196         * gst/gstobject.c: (gst_object_default_deep_notify):
197         Unref the GEnumClass after usage again. Fixes bug #561501.
198
199 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
200
201         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
202         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
203         (gst_bin_change_state_func):
204         * gst/gstbin.h:
205         Add do-latency signal with the old default fallback implementation. This
206         allows for custom latency calculations for when the default is not
207         sufficient.
208         API: GstBin::do-latency signal.
209
210 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
211
212         * win32/common/libgstreamer.def:
213         Add new symbols to .def file.
214
215 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
216
217         * docs/gst/gstreamer-sections.txt:
218         * gst/gstbin.c: (gst_bin_recalculate_latency),
219         (gst_bin_change_state_func):
220         * gst/gstbin.h:
221         Add method to recalculate and redistribute the latency on a bin.
222         API: gst_bin_recalculate_latency().
223
224 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
225
226         * gst/gstbuffer.h:
227         Document the free_func.
228
229 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
230
231         * libs/gst/controller/gstinterpolation.c:
232         * libs/gst/controller/gstlfocontrolsource.c:
233         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
234         as it is mapped to a cast on non-win32 platforms.
235
236 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
237
238         * libs/gst/controller/gstcontroller.c:
239         * libs/gst/controller/gstcontrollerprivate.h:
240           Keep last-value and only call set_property if value has changed. This
241           supresses all the g_object_notifies we would trigger otherwise. It
242           also allows the user to chage the value while there is no controller
243           change.
244
245 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
246
247         * gst/gstvalue.c:
248           Don't crash if either of the string GValues is empty.
249
250 2008-11-17  Andy Wingo  <wingo@pobox.com>
251
252         * tools/gst-inspect.c (print_all_uri_handlers): New function,
253         prints a summary of what URI schemes are supported by what
254         elements.
255         (main): Plumb in support for --uri-handlers or -u, and fix the
256         argc check for -a and -u.
257
258 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
259
260         * gst/gstutils.h:
261         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
262         conversion functions.
263
264 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
265
266         * gst/gstbuffer.c: (gst_buffer_finalize):
267         Avoid costly typechecking for trivially correct pointers.
268
269         * gst/gstpoll.c: (gst_poll_wait):
270         Add some G_LIKELY here and there.
271
272         * libs/gst/base/gstadapter.c: (gst_adapter_push):
273         Add some debug info.
274
275 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
276
277         * docs/random/wtay/poll-timeout:
278         Small tweaks.
279
280 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
281
282         * tests/old/testsuite/caps/intersection.c: (main):
283         * tests/old/testsuite/plugin/loading.c: (main):
284         Remove references to deprecated API g_mem_chunk*.
285         Fixes #560442.
286
287 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
288
289         * tools/gst-inspect.c: (main):
290         Add --plugin option. Fixes #560301.
291
292 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
293
294         * docs/random/wtay/poll-timeout:
295         Quick braindump for a possible (not totally verified) atomic case.
296
297 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
298
299         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
300         (gst_registry_binary_initialize_magic),
301         (gst_registry_binary_write_cache),
302         (gst_registry_binary_check_magic):
303         * gst/gstregistrybinary.h:
304         Don't write and check a CRC for the binary registry file. It's
305         guaranteed that the registry is completely written (it's first written
306         to a temporary file and then moved) and if the registry was corrupted
307         by some hardware failure we would have bigger problems.
308
309         Bump binary registry version to 0.10.21.1 for this as it's an
310         incompatible change and to ensure that the registry gets rebuild
311         after the update.
312
313         This saves some milliseconds for reading/writing the registry.
314         Fixes bug #560399.
315
316 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
317
318         * docs/random/wtay/poll-timeout:
319         Some pseudo code for how we could implement clock timeouts with GstPoll.
320
321 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
322
323         * plugins/elements/gstfilesink.c:
324           Update Author string to match others.
325
326 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
327
328         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
329         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
330         being fixed and inline the trivial check.
331
332 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
333
334         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
335         (gst_caps_merge_structure), (gst_caps_get_structure),
336         (gst_caps_copy_nth), (gst_caps_set_simple),
337         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
338         (gst_caps_is_equal_fixed), (gst_caps_intersect),
339         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
340         (gst_caps_to_string):
341         Callgrind micro optimisations.
342         Avoid array bounds checks and force inline of trivial function.
343
344         * gst/gstobject.c: (gst_object_set_name_default):
345         -1 is equivalent to letting glib to the strlen but then there is more
346         room for optimisations and it's not our fault.
347
348         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
349         no need to clear the array, we're cool.
350
351         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
352         The most common _is_fixed() check is done on fundamental glib base
353         types so we check this first instead of doing a huge amount of
354         useless GST_TYPE_ARRAY calls.
355
356 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
357
358         * gst/gstevent.h:
359         Add a SKIP seek flag for use with advanced trickmodes.
360         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
361
362 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
363
364         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
365         No need to memset, we can clear the value ourselves.
366
367         * gst/gstvalue.c: (gst_type_is_fixed),
368         (gst_value_get_compare_func):
369         Some optimisations from a few callgrind sessions:
370         When checking if a type is fixed, check for trivial fundamental types
371         first before checking types for which we need to get the type followed
372         by the heavy duty type checks, this reduces the amount of
373         g_type_fundamental() calls a lot.
374         When getting the compare function, first check for our registered types.
375         If that fails, do the heavy duty g_type_is_a() checks, reduces the
376         amount of g_type_is_a() considerably.
377
378 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
379
380         * docs/design/part-TODO.txt:
381         Mumble something about removing GstXML.
382
383 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
384
385         * gst/gstbin.c: (gst_bin_handle_message_func):
386         Get the seqnum before we dispose the message.
387
388 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
389
390         * docs/design/part-TODO.txt:
391         Refer to the framestepping document.
392
393 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
394
395         * gst/gstbin.c: (bin_handle_async_start),
396         (gst_bin_handle_message_func), (gst_bin_query):
397         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
398         (gst_base_sink_event), (gst_base_sink_change_state):
399         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
400         (gst_base_src_loop), (gst_base_src_change_state):
401         Copy seqnums from events to messages so that they can all be related
402         back to eachother.
403
404 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
405
406         * tools/gst-launch.c: (event_loop):
407         Print the message seqnums.
408
409 2008-11-04  Andy Wingo  <wingo@pobox.com>
410
411         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
412
413 2008-11-04  Andy Wingo  <wingo@pobox.com>
414
415         Add sequence numbers to events and messages. See #559250.
416
417         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
418         API: New functions.
419
420         * gst/gstevent.h:
421         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
422         events with a new sequence number, and copy it when copying.
423         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
424         an event's sequence number.
425
426         * gst/gstmessage.h:
427         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
428         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
429         so with messages.
430
431         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
432
433 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
434
435         * docs/manual/advanced-position.xml:
436         * docs/manual/basics-bins.xml:
437         * docs/manual/basics-bus.xml:
438         * docs/manual/basics-pads.xml:
439         * docs/manual/intro-gstreamer.xml:
440         * docs/manual/intro-preface.xml:
441         Some Application Development Manual fixes thanks to
442         Andrew Feren. Fixes #558459.
443
444 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
445
446         * gst/gstregistrybinary.c:
447           Don't bother with the GTimer if we don't output the results.
448
449 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
450
451         Patch by: David Schleef  <ds@schleef.org>
452
453         * libs/gst/net/Makefile.am:
454         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
455
456 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
457
458         * gst/gstregistrybinary.c:
459           Oh my, studip, stupid me. Remove double stat() call.
460
461 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
462
463         * gst/gstpreset.c:
464           Use g_unlink instead of unlink.
465
466         * gst/gststructure.c:
467           Use glib type.
468
469         * gst/gstutils.c:
470           Add a FIXME:.
471
472         * gst/gsttaglist.c:
473         * gst/gsttypefind.c:
474         * gst/gstvalue.c:
475           Formatting & whitespaces.
476
477 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
478
479         * plugins/elements/gstidentity.c:
480           Doc typo. Use return value of parent_class->event.
481   
482         * plugins/elements/gsttypefindelement.c:
483           Chain up at the end for consistency.
484   
485 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
486
487         * docs/Makefile.am:
488         * docs/gst/gstreamer-docs.sgml:
489         * docs/gst/gstreamer-sections.txt:
490         * docs/gst/running.xml:
491         * docs/libs/gstreamer-libs-docs.sgml:
492           Change to xinclude based build - its faster and easier to maintain.
493
494 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
495
496         * gst/gstregistrybinary.c:
497         * gst/gstregistryxml.c:
498           Use g_unlink() as none of these are directories.
499
500 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
501
502         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
503         Some more comments.
504
505 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
506
507         * libs/gst/base/gstbasetransform.c:
508         (gst_base_transform_find_transform), (gst_base_transform_getrange):
509         If we have a fixate function, call it even if we already have fixed caps
510         because the subclass might add some caps. Makes audioconvert add a
511         default channel layout.
512
513 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
514
515         * libs/gst/base/gstbasetransform.c:
516         (gst_base_transform_prepare_output_buffer),
517         (gst_base_transform_getrange):
518         Clear the output buffer variable.
519         Cleanups to the error path in the getrange function.
520         Fixes #557649.
521
522 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
523
524         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
525         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
526         Use gst_buffer_try_new_and_alloc() and handle errors instead of
527         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
528         be allocated.
529
530 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
531
532         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
533         Set the last_stop to a more meaningful position when configuring the
534         segment. ie. the start/stop of the segment or clipped against the
535         updated segment boundaries.
536
537         * tests/check/gst/gstsegment.c: (GST_START_TEST):
538         Add some unit tests for the last_stop.
539
540 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
541
542         * libs/gst/base/gstbytereader.c:
543         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
544         copies of them.
545
546 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
547
548         * docs/gst/gstreamer-sections.txt:
549         * gst/gstutils.h:
550         API: Move float endianness conversion macros from libgstfloatcast
551         to core as it's useful in general, even in core. Fixes bug #555196.
552         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
553         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
554         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
555
556         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
557         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
558         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
559         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
560
561 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
562
563         * docs/libs/gstreamer-libs-sections.txt:
564         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
565         (gst_byte_reader_peek_data):
566         * libs/gst/base/gstbytereader.h:
567         * win32/common/libgstbase.def:
568         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
569         to get a pointer to the data at the current position and have
570         a guaranteed size.
571
572 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
573
574         * configure.ac:
575         Fix a bug in the output of the configure script summary
576         when --gst-disable-registry is supplied
577
578 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
579
580         * libs/gst/base/gstbitreader.c:
581         * libs/gst/base/gstbytereader.c:
582         Fix the names of 2 functions in the docs strings.
583
584 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
585
586         * libs/gst/base/gstbasetransform.c:
587         (gst_base_transform_prepare_output_buffer),
588         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
589         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
590         refcount problems as seen in banshee and maybe also in farsight2.
591         Remove atomic int now that we need to take the lock anyways.
592
593 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
594
595         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
596         (gst_base_sink_default_prepare_seek_segment),
597         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
598         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
599         (gst_base_sink_query):
600         Implement more seeking in pull mode.
601         Use pad convert functions to convert position to the requested format.
602         Fix position/duration reporting in pull mode.
603         Implement position and duration reporting in other formats than time.
604
605         * libs/gst/base/gstbasesink.h:
606         Add member to keep track of when the segment is playing.
607
608 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
609
610         * gst/gstpad.c: (gst_pad_configure_src):
611         When we use gst_pad_alloc_buffer() without wanting to set the caps we
612         also don't need to check if the caps are compatible because the caller
613         presumably is going to perform its own custom checks. Fixes some cases
614         where basetransform elements would error out when it was not needed.
615
616 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
617
618         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
619         Update comment.
620
621         * libs/gst/base/gstbasetransform.c:
622         (gst_base_transform_handle_buffer),
623         (gst_base_transform_reconfigure):
624         Add some debug info.
625
626         * win32/common/libgstbase.def:
627         Add new method.
628
629 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
630
631         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
632           Remove duplicated assignment and log a message in failure case.
633
634 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
635
636         Patch by: Dig Ge <dig.ge.cn at gmail com>
637
638         * tests/examples/helloworld/helloworld.c: (main):
639           Fix copy'n'paste bug in hello world example (#556900).
640
641 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
642
643         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
644         (gst_base_sink_query):
645         Query the total number of bytes when activating the pad in pull mode.
646         Implement duration query in pull mode by using the installed pad convert
647         function to convert from bytes to the requested format.
648
649 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
650
651         * docs/libs/gstreamer-libs-sections.txt:
652         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
653         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
654         (gst_base_sink_event), (gst_base_sink_perform_seek),
655         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
656         (gst_base_sink_send_event), (gst_base_sink_change_state):
657         * libs/gst/base/gstbasesink.h:
658         Add method to commit the state in subclasses.
659         Refactor the flush_start and flush_stop code because we need it for
660         flushing while seeking too.
661         Implement the beginnings of seeking in pull mode.
662         Use the segment last_stop field for the pulling offset.
663         Fix the pause method in pull mode.
664         Configure the segment to BYTES for pull mode.
665         API: GstBaseSink::gst_base_sink_do_preroll()
666
667 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
668
669         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
670         Update some docs.
671
672 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
673
674         * gst/gstquark.c: (_priv_gst_quarks_initialize):
675           Fix printf format warning.
676
677 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
678
679         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
680         Fix flow aggregation of tee. Error out immediately for all flow returns
681         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
682         and return OK if at least one pad is linked.
683
684         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
685         and otherwise returned the flow return of the last pad, which is wrong.
686         
687         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
688         (GST_START_TEST), (tee_suite):
689         Add unit tests for the flow aggregation.
690
691 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
692
693         * docs/design/part-TODO.txt:
694         Remove item from the todo list because it was fixed with the latency
695         state change rewrites.
696
697         * docs/design/part-seeking.txt:
698         * docs/design/part-segments.txt:
699         Update some docs.
700
701         * gst/gstevent.c: (gst_event_new_new_segment_full),
702         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
703         (gst_event_parse_buffer_size), (gst_event_new_qos),
704         (gst_event_parse_qos), (gst_event_new_seek),
705         (gst_event_parse_seek), (gst_event_new_latency),
706         (gst_event_parse_latency):
707         Use quarks to construct and parse events.
708
709         * gst/gstquark.c: (_priv_gst_quarks_initialize):
710         * gst/gstquark.h:
711         Add some more quarks to the table.
712         Emit a warning when the quark tables are not in sync.
713
714         * tests/check/gst/gstbus.c: (GST_START_TEST):
715         Add an assert.
716
717 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
718
719         * plugins/elements/Makefile.am:
720         * plugins/indexers/Makefile.am:
721           Don't install static libs for plugins. Fixes #550851 for core.
722
723 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
724
725         * gst/gstbus.c: (gst_bus_source_finalize),
726         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
727         (gst_bus_enable_sync_message_emission),
728         (gst_bus_disable_sync_message_emission),
729         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
730         Fix deadlock, g_source_get_id() cannot be called in finalize.
731         Keep track of the watch source by keeping a pointer to the source object
732         instead.
733         Use the bus lock to protect access to the pointer to the current
734         watch source.
735
736 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
737
738         Base on Patch by: Olivier Crete <tester at tester dot ca>
739
740         * gst/gstbus.c: (gst_bus_source_finalize),
741         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
742         Only allow one bus watch to be set at a time. This is necessary
743         because the dispatcher pops the message from the bus and the second
744         watcher will then get NULL or the next message (and the first won't
745         get this next message then, etc). If more than one "watcher" is
746         required signal watches should be used. Fixes bug #526044.
747
748 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
749
750         * tools/gst-launch.c:
751         Change the printing of the 'buffering...' output to avoid putting
752         a \r in a translateable string (flagged by the TP).
753
754 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
755
756         * gst/gstxml.c:
757         Clarify that the save_thyself() and restore_thyself() virtual
758         functions of GstObject need to be overriden, not
759         gst_object_(save|restore)_thyself() which is impossible.
760         Fixes bug #555700.
761
762 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
763
764         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
765         Revert a patch from 21 months ago that broke caps negotiation in pull
766         mode. Basically, having a buffer pass over a pad will trigger the
767         setcaps function when caps change, just like in push mode.
768
769 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
770
771         * docs/design/part-negotiation.txt:
772         Update the docs some more.
773
774         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
775         If we pull a buffer with non-trivial caps, suggest those caps with the
776         max probability.
777
778 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
779
780         * docs/design/part-TODO.txt:
781         Add another limitation of pad-blocking with segment seeks not pushing
782         EOS events.
783
784 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
785
786         * win32/common/libgstbase.def:
787         * win32/common/libgstreamer.def:
788         Add new symbols to the win32 defs files
789
790 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
791
792         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
793         (gst_bin_handle_message_func):
794         The message src can be NULL, don't try to print the object names in that
795         case.
796
797         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
798         Add some more debug info.
799
800         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
801         (GST_START_TEST):
802         Add some debug.
803         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
804         scheduling modes.
805
806 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
807
808         * docs/design/part-negotiation.txt:
809         Small doc update.
810
811         * docs/libs/gstreamer-libs-sections.txt:
812         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
813         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
814         (gst_base_sink_init), (gst_base_sink_set_blocksize),
815         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
816         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
817         (gst_base_sink_loop), (gst_base_sink_pad_activate),
818         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
819         (gst_base_sink_change_state):
820         * libs/gst/base/gstbasesink.h:
821         Add blocksize property and methods to control the amount of data
822         to pull.
823         Negotiate first before activating upstream in pull mode so that they can
824         negotiate themselves.
825         When we operate in pull mode, we only accept the caps that we
826         negotiated.
827         Make the sink go ASYNC to PAUSED, like all other sinks.
828         API: GstBaseSink::gst_base_sink_set_blocksize()
829         API: GstBaseSink::gst_base_sink_get_blocksize()
830         API: GstBaseSink::blocksize
831
832         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
833         (gst_base_src_set_live), (gst_base_src_is_live),
834         (gst_base_src_set_format), (gst_base_src_query_latency),
835         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
836         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
837         (gst_base_src_set_property), (gst_base_src_get_property):
838         * libs/gst/base/gstbasesrc.h:
839         Add typechecking in public API functions.
840         Add methods to control the blocksize in subclasses.
841         API: GstBaseSrc::gst_base_src_set_blocksize()
842         API: GstBaseSrc::gst_base_src_get_blocksize()
843
844 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
845
846         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
847         (buffer_probe), (event_probe), (GST_START_TEST):
848         We now see 3 events go through our pad, since basesink now sends
849         upstream latency events.
850
851 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
852
853         * gst/gstpipeline.c: (gst_pipeline_change_state):
854         Release the object lock before trying to flush the bus.
855
856 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
857
858         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
859         Forward LATENCY events upstreams so that elements know about the total
860         pipeline latency. Fixes #555307.
861
862 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
863
864         * plugins/elements/gstqueue.c:
865         Allow through queries when we don't know how
866         to adjust them (not TIME or BYTES), as otherwise it's
867         not possible to query the current position in order
868         to seek in other formats at all.
869
870 2008-10-08  Andy Wingo  <wingo@pobox.com>
871
872         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
873
874 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
875
876         * gst/gstghostpad.c:
877         * gst/gstghostpad.h:
878         Unbreak -good build, private is a reserved c++ keyword.
879
880 2008-10-08  Andy Wingo  <wingo@pobox.com>
881
882         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
883         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
884         removal: re-add GST_GHOST_PAD_CAST to the header.
885
886         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
887         (GstGhostPadClass): Publically expose these structures so as to
888         allow easy subclassing from C. Hide the member data behind a
889         private opaque data pointer.
890
891         * gst/gstghostpad.c: Adapt to store instance data in the type
892         instance's private data region, not in the public struct.
893
894 2008-10-08  Andy Wingo  <wingo@pobox.com>
895
896         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
897         template via g_object_get(), be sure to unref it.
898
899         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
900
901 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
902
903         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
904         If we can't get a cache file don't try to save something to it.
905         Dereferencing NULL pointers usually isn't a good idea.
906
907 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
908
909         * tests/check/Makefile.am:
910         * tests/check/gst/gstabi.c:
911         * tests/check/gst/struct_sparc.h:
912         * tests/check/libs/libsabi.c:
913         * tests/check/libs/struct_sparc.h:
914         Add Sparc ABI checks
915
916         * tests/check/gst/gstvalue.c: (GST_START_TEST):
917         Cast signed integer to unsigned to avoid a compiler warning.
918
919 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
920
921         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
922         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
923         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
924         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
925         (gst_byte_reader_peek_int24_be):
926         Use new GST_READ_UINT24_(LE|BE) macros.
927
928 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
929
930         * docs/gst/gstreamer-sections.txt:
931         * gst/gstutils.h:
932         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
933         as it's too easy to break the ISO C strict aliasing rules with simple
934         casts to the corresponding type and this would introduce hard to debug
935         bugs. Fixes bug #545714.
936
937         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
938
939 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
940
941         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
942         * gst/gstghostpad.c: (gst_ghost_pad_construct):
943           Add 'Since' bits to gtk-doc chunks for new API.
944
945 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
946
947         * docs/gst/gstreamer-sections.txt:
948         Fix documentation
949
950 2008-10-06  Andy Wingo  <wingo@pobox.com>
951
952         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
953         that will be called on the malloc_data to free it. Basically a way
954         to avoid subclassing when all you need is a different free
955         function, i.e. free() instead of g_free().
956
957         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
958         calling the free function.
959         (gst_buffer_init): Initialize the free function to g_free.
960
961 2008-10-06  Andy Wingo  <wingo@pobox.com>
962
963         * gst/gstghostpad.h:
964         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
965         finishes the initialization of ghost pad. Useful for language
966         bindings and subclassers of GstGhostPad. Fixes #539108.
967         (gst_ghost_pad_new_full): Use the new constructor.
968
969 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
970
971         Base on Patch by: Olivier Crete <tester at tester dot ca>
972
973         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
974         (gst_bin_remove_func), (update_degree),
975         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
976         Keep track of pads that are being linked/unlinked and resync the state
977         changes.
978
979         * gst/gstpad.c: (gst_pad_get_direction),
980         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
981         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
982         (gst_pad_link_prepare), (gst_pad_link),
983         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
984         (gst_pad_check_pull_range), (gst_pad_get_range),
985         (gst_pad_pull_range):
986         Some code cleanups, use macros to check pad direction.
987         Don't need to take the lock on the pad direction.
988         Post structure change when pads are linked/unlinked.
989         Change some checks into _return_if_fail().
990
991         * tests/check/gst/gstbin.c:
992         (test_link_structure_change_state_changed_sync_cb),
993         (GST_START_TEST), (gst_bin_suite):
994         Add testcase for pad link/unlinke resync during a state change.
995         Fixes #510354.
996
997 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
998
999         * docs/gst/gstreamer-sections.txt:
1000         * gst/gstmessage.c: (gst_message_new_structure_change),
1001         (gst_message_parse_structure_change):
1002         * gst/gstmessage.h:
1003         Implement STRUCTURE_CHANGED messages. These messages will be used to
1004         signal the parent bin of link/unlink operations that could require a
1005         resync when doing a state change. See ##510354.
1006         API: gst_message_new_structure_change()
1007         API: gst_message_parse_structure_change()
1008
1009 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1010
1011         * gst/gstquark.c:
1012         * gst/gstquark.h:
1013         Add some more quarks for new message. See #510354.
1014
1015 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1016
1017         * docs/libs/gstreamer-libs-docs.sgml:
1018         * docs/libs/gstreamer-libs-sections.txt:
1019         * libs/gst/base/Makefile.am:
1020         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1021         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1022         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1023         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1024         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1025         (gst_bit_reader_skip_to_byte):
1026         * libs/gst/base/gstbitreader.h:
1027         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1028         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1029         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1030         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1031         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1032         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1033         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1034         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1035         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1036         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1037         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1038         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1039         * libs/gst/base/gstbytereader.h:
1040         * tests/check/Makefile.am:
1041         * tests/check/libs/bitreader.c: (GST_START_TEST),
1042         (gst_bit_reader_suite):
1043         * tests/check/libs/bytereader.c: (GST_START_TEST),
1044         (gst_byte_reader_suite):
1045         API: Add bit reader and byte reader classes, including documentation
1046         and an extensive unit test suite. Fixes bug #553554.
1047
1048 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1049
1050         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1051         (gst_base_sink_query):
1052         Improve position reporting while flushing and other intermediate state
1053         changes. Fixes #553874.
1054
1055 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1056
1057         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1058
1059         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1060         Original patch by : Simon Descaries
1061         Fix small refount leak in caps compatibility check.
1062         Fixes #551676.
1063
1064 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1065
1066         * docs/pwg/advanced-request.xml:
1067           Fix 0.8 api usage in example. Fixes #554561
1068
1069         * docs/pwg/appendix-porting.xml:
1070           Change 0.9 to 0.10 here.
1071
1072 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1073
1074         * docs/manual/basics-data.xml:
1075           Change "event-event interaction" to "element-element interaction".
1076           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1077           updates.
1078
1079 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1080
1081         * configure.ac:
1082         Back to development -> 0.10.21.1
1083
1084 === release 0.10.21 ===
1085
1086 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1087
1088         * configure.ac:
1089           releasing 0.10.21, "Take These Things From Me"
1090
1091 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1092
1093         * configure.ac:
1094         0.10.20.4 pre-release
1095
1096 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1097
1098         * libs/gst/base/gstbasetransform.c:
1099         * plugins/elements/gstcapsfilter.c:
1100         * tests/check/Makefile.am:
1101         * tests/check/elements/.cvsignore:
1102         * tests/check/elements/capsfilter.c:
1103         Fix assertion in basetransform when the subclass chooses not to
1104         allocate a buffer in prepare_buffer(), and make capsfilter error out
1105         cleanly if requested to apply caps that don't completely specify the
1106         buffer. Fixes #551509
1107
1108 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1109
1110         * libs/gst/base/gstbasetransform.c:
1111         (gst_base_transform_prepare_output_buffer):
1112         Take new caps ref because our old one might have been gone when the
1113         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1114
1115 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1116
1117         * configure.ac:
1118           Do not probe availability of check unit test library when cross
1119           compiling, as test would not work anyway. Also cleanup verbose output
1120           of the check test. Fixes #551952.
1121
1122 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1123
1124         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1125
1126         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1127         Avoid leaking the parent ref when we fail changing the state of the
1128         element using gst_element_sync_state_with_parent(). Fixes #551978.
1129
1130 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1131
1132         * docs/manual/intro-motivation.xml::
1133           Remove some bits that no longer apply, update others (#551642).
1134
1135 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1136
1137         * configure.ac:
1138         0.10.20.2 pre-release
1139
1140         * po/LINGUAS:
1141         * po/id.po:
1142         * po/pt_BR.po:
1143
1144         New translations.
1145
1146 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1147
1148         * win32/common/config.h.in:
1149           Add GST_DATADIR, hard-code cpu to x86.
1150
1151         * win32/common/libgstreamer.def:
1152           Spaces to tabs.
1153
1154 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1155
1156         * gst/gsttaglist.h:
1157           Fix Since: markers for new geo tags.
1158
1159 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1160
1161         * gst/gsttaglist.h:
1162           Fix actual tag name define after renaming from altitude to elevation.
1163
1164 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1165
1166         * gst/gstpad.c: (add_unref_pad_to_list),
1167         (gst_pad_get_internal_links_default):
1168         Add fallback when calling the deprecated function on an element that
1169         implements the new internal_link handler.
1170
1171 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1172
1173         * docs/gst/gstreamer-sections.txt:
1174         * gst/gsttaglist.c:
1175         * gst/gsttaglist.h:
1176           Add new tags for geo location and clarify purpose of existing location
1177           tag. Fixes #481169
1178
1179 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1180
1181         Patch by: Olivier Crete <tester at tester dot ca>
1182
1183         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1184         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1185         Use thread-safe internal links iterator. Fixes #549504.
1186
1187 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1188
1189         Based on patch by: Olivier Crete <tester at tester dot ca>
1190
1191         * docs/gst/gstreamer-sections.txt:
1192         * win32/common/libgstreamer.def:
1193         * gst/gstpad.c: (gst_pad_init),
1194         (gst_pad_set_iterate_internal_links_function),
1195         (int_link_iter_data_free), (iterate_pad),
1196         (gst_pad_iterate_internal_links_default),
1197         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1198         * gst/gstpad.h:
1199         Add threadsafe replacement functions for getting internal links of an
1200         element. Deprecate the old internal links functions.
1201         API:GstPad::gst_pad_set_iterate_internal_links_function()
1202         API:GstPad::GstPadIterIntLinkFunction
1203         API:GstPad::gst_pad_iterate_internal_links()
1204         API:GstPad::gst_pad_iterate_internal_links_default()
1205
1206         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1207         (gst_proxy_pad_init):
1208         Implement threadsafe internal links.
1209
1210         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1211         Unit test for internal links on tee. See #549504.
1212
1213 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1214
1215         * tests/check/Makefile.am:
1216         libs/transform1 test requires libs/test_transform.c
1217
1218 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1219
1220         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1221         Die evil deadlock, die !
1222
1223 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1224
1225         * gst/gstutils.c: (gst_element_get_compatible_pad):
1226         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1227         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1228         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1229         not steal the refcount of the given caps as stated.
1230
1231         REVERT THIS COMMIT ONCE FIXED !
1232         REVERT THIS COMMIT ONCE FIXED !
1233         REVERT THIS COMMIT ONCE FIXED !
1234         REVERT THIS COMMIT ONCE FIXED !
1235         REVERT THIS COMMIT ONCE FIXED !
1236         REVERT THIS COMMIT ONCE FIXED !
1237
1238 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1239
1240         * gst/gstiterator.c:
1241         * gst/gstiterator.h:
1242         After 3 years it's about time to revise the documentation of the
1243         iterator objects.
1244
1245 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1246
1247         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1248         Make the internal links function less thread-unsafe and add some
1249         comments, dunno why.
1250
1251 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1252
1253         * gst/gst_private.h:
1254           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1255           build with --disable-gst-debug.
1256
1257 2008-08-28  David Schleef  <ds@schleef.org>
1258
1259         * gst/gstpadtemplate.c: Revert last change, since it breaks
1260           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1261           but shouldn't be enabled until we've released fixed versions
1262           of -good and -ffmpeg.
1263
1264 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1265
1266         * gst/gstobject.c:
1267           Put the gst_object_get_name() back in.
1268
1269 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1270
1271         * gst/gstpadtemplate.c:
1272           The old behaviour was that gst_pad_template_new() takes ownership of
1273           the caps. As we now call g_object_new() which calls g_object_set() and
1274           which copies the caps, we have to unref them to not leak them. Fixes
1275           make valgrid for me.
1276
1277 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1278
1279         * gst/gsturi.c:
1280           Don't segfault on input like "tel:+1-123-555-1234".
1281
1282 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1283
1284         * gst/gstobject.c:
1285           Due to popular request also include ObjectType in
1286           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1287
1288 2008-08-26  David Schleef  <ds@schleef.org>
1289
1290         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1291           src_val must be positive, because that's not a requirement.
1292           This causes problems with converting negative granulepos
1293           values for Dirac.
1294         * gst/gstquery.c: Same, gst_query_new_convert().
1295
1296 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1297
1298         * gst/gstclock.c: (gst_clock_add_observation):
1299         Add some more debugging to the clock slaving code.
1300
1301         * win32/common/libgstbase.def:
1302         Add new basetransform method.
1303
1304 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1305
1306         * gst/gstbin.c: (gst_bin_element_set_state):
1307         Take the (recursive) state lock between getting the locked state of an
1308         element and changing the element state. This allows the application to
1309         lock an element's state and then change its state without races.
1310
1311 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1312
1313         * gst/gstbin.c: (gst_bin_element_set_state):
1314         When an element is in the locked state we still want to update the
1315         base_time of the element.
1316
1317 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1318
1319         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1320         Use the result from gst_pad_set_caps() instead of assuming the element
1321         always accepted the caps computed by the default negotiate function.
1322
1323 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1324
1325         * docs/libs/gstreamer-libs-sections.txt:
1326         * libs/gst/base/gstbasetransform.c:
1327         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1328         (gst_base_transform_chain), (gst_base_transform_suggest),
1329         (gst_base_transform_reconfigure):
1330         * libs/gst/base/gstbasetransform.h:
1331         Implement method for reconfiguring basetransform.
1332         API: GstBaseTransform::gst_base_transform_reconfigure()
1333
1334 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1335
1336         patch by: Murray Cumming <murrayc@murrayc.com>
1337
1338         * gst/gstutils.c:
1339           Mention that this is just like gst_buffer_merge() but with extra
1340           unreffing for C coders. Advise language bindings not to wrap it.
1341           Fixes Bug #533856.
1342           
1343           Also fix file comment.
1344
1345 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1346
1347         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1348
1349         * plugins/elements/gstfakesink.c:
1350         * plugins/elements/gstfakesrc.c:
1351           Call super::event() when not handling it. Fixes #544855.
1352
1353 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1354
1355         Patch by: Alessandro Decina <alessandro@nnva.org>
1356         * plugins/elements/gstfilesrc.c:
1357           Use 64 bit variants of stat functions on win32, to enable support
1358           of large files there.
1359           Fixes #547277.
1360
1361 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1362
1363         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1364         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1365         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1366         (gst_base_sink_get_position), (gst_base_sink_change_state):
1367         Improve position reporting in the flushing state.
1368         Also report the position when we are not yet prerolled but we
1369         have a newsegment event. Fixes #543444.
1370         Improve the pull-based negotiation code.
1371
1372         * tests/check/elements/fakesink.c: (GST_START_TEST),
1373         (fakesink_suite):
1374         Add testcase for position reporting while flushing in PAUSED and
1375         PLAYING.
1376
1377         * tests/check/generic/sinks.c: (GST_START_TEST):
1378         Update unit-test, we can now query the position as soon as we receive a
1379         NEWSEGMENT event.
1380
1381 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1382
1383         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1384
1385         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1386         When the subclass event handler releases the PREROLL_LOCK, we could be
1387         in the flushing state and we have to ignore the event. Fixes #548394.
1388
1389 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1390
1391         * tools/gst-launch.1.in:
1392           Document GST_REGISTRY_UPDATE environment variable.
1393
1394 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1395
1396         * libs/gst/base/gstbasetransform.c:
1397         (gst_base_transform_prepare_output_buffer):
1398         If the element is configured in passthrough mode but the
1399         prepare_output_buffer gave us a new output buffer, discard that buffer
1400         and reuse the input buffer.
1401
1402 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1403
1404         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1405
1406         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1407         (gst_tee_request_new_pad), (gst_tee_release_pad),
1408         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1409         * plugins/elements/gsttee.h:
1410         Protect pad_alloc with a new lock so that we can be sure that nothing is
1411         performing a pad_alloc when removing the pad. Fixes #547835.
1412
1413         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1414         (buffer_alloc_harness_teardown), (app_thread_func),
1415         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1416         Added testcase for shutdown race.
1417
1418 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1419
1420         * gst/gstpad.h:
1421         Add doc
1422
1423 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1424
1425         * libs/gst/base/gstbasetransform.c:
1426         (gst_base_transform_prepare_output_buffer),
1427         (gst_base_transform_buffer_alloc):
1428         Go over the buffer_alloc function again and make sure we always end up
1429         allocating a buffer.
1430         Add some more docs.
1431         Avoid doing pad alloc when we have a pending suggestion because we
1432         cannot yet deal with changing caps in that case. Fixes #547728
1433
1434 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1435
1436         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1437
1438         * docs/manual/advanced-clocks.xml:
1439         * docs/manual/clocks.png:
1440         * docs/manual/diagrams-clocks.svg:
1441           Add one more image showing different times together with a describing
1442           paragraph. Fixes #547729.
1443
1444 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1445
1446         * win32/common/libgstbase.def:
1447         Add new method.
1448
1449 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1450
1451         * libs/gst/base/gstbasetransform.c:
1452         (gst_base_transform_transform_caps),
1453         (gst_base_transform_prepare_output_buffer),
1454         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1455         Don't overwrite the outsize when calculating the expected size of a new
1456         buffer because we still need it in case we cannot process the new
1457         buffer.
1458         When converting the size of the new buffer to an upstream size, actually
1459         use the expected size of the buffer, not some other random value.
1460         Use an atomic int to signal that a new upstream caps suggestion is
1461         available.
1462         When we can convert the current buffer to a new format, check if the
1463         buffer size is of the expected size and allocate a new buffer of the
1464         expected size when this is not the case. Fixes #546883.
1465
1466         * tests/check/libs/transform1.c: (GST_START_TEST):
1467         remove ifdeffed code from the unit test.
1468
1469 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1470
1471         * pkgconfig/gstreamer-uninstalled.pc.in:
1472         * pkgconfig/gstreamer.pc.in:
1473           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1474           called gstcontroller-0.10.
1475
1476 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1477
1478         * gst/gstchildproxy.h:
1479         * gst/gstpreset.h:
1480           Remove double interface from doc-string.        
1481
1482 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1483
1484         * libs/gst/base/gstbasesrc.c:
1485         * libs/gst/base/gstbasetransform.c:
1486           Fix headings in docs and gtk-doc warnings.
1487
1488 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1489
1490         * gst/gstregistrybinary.c:
1491           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1492           libc.
1493           Fixes #544776.
1494
1495 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1496
1497         * libs/gst/base/gstbasetransform.c:
1498         (gst_base_transform_buffer_alloc):
1499         Fix a "may be used unitialized" warning.
1500
1501 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1502
1503         * docs/gst/gstreamer-sections.txt:
1504         * gst/gstpreset.h:
1505           Document preset-iface vmethods.
1506
1507 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1508
1509         * docs/manual/advanced-interfaces.xml:
1510           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1511           only used to discover devices.
1512
1513 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1514
1515         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1516
1517         * gst/gst.c: (init_pre):
1518         Make sure gettext returns translations in UTF-8 encoding rather
1519         than in the current locale encoding (#546822).
1520
1521 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1522
1523         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1524         Fix subset test.
1525
1526         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1527         Improve unit test subset tests and add a testcase for the subset failure
1528         cases.
1529
1530         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1531         Improve subtraction unit test.
1532
1533 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1534
1535         * plugins/elements/gsttee.c:
1536           Unlock, instead of locking again.
1537
1538 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1539
1540         * gst/gstpad.h:
1541         Clarify the docs a bit more.
1542
1543 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1544
1545         * tests/examples/metadata/read-metadata.c:
1546           Don't leak old taglist.
1547
1548 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1549
1550         Patch by: Olivier Crete <tester at tester dot ca>
1551
1552         * gst/gststructure.c:
1553         (gst_structure_fixate_field_nearest_fraction):
1554         Avoid overflows in fixation code when dealing with MAXINT values, which
1555         v4l2src seems to do.
1556         Fixes #546328.
1557
1558         * tests/check/gst/gststructure.c: (GST_START_TEST):
1559         Make a unit test to check the fix. 
1560
1561 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1562
1563         * plugins/elements/gstcapsfilter.c: (copy_func),
1564         (gst_capsfilter_set_property):
1565         Use new caps suggestion feature of basetransform to request a caps
1566         negotiation upstream.
1567
1568 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1569
1570         * docs/libs/gstreamer-libs-sections.txt:
1571         Add new function:
1572         API: GstBaseTransform::gst_base_transform_suggest()
1573
1574         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1575         (gst_base_transform_init), (gst_base_transform_transform_caps),
1576         (gst_base_transform_transform_size),
1577         (gst_base_transform_configure_caps),
1578         (gst_base_transform_can_transform),
1579         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1580         (gst_base_transform_prepare_output_buffer),
1581         (gst_base_transform_buffer_alloc),
1582         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1583         (gst_base_transform_chain), (gst_base_transform_activate),
1584         (gst_base_transform_set_passthrough),
1585         (gst_base_transform_is_passthrough),
1586         (gst_base_transform_set_in_place),
1587         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1588         (gst_base_transform_set_qos_enabled),
1589         (gst_base_transform_is_qos_enabled),
1590         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1591         (gst_base_transform_reconfigure):
1592         * libs/gst/base/gstbasetransform.h:
1593         Rewrite of basetransform to perform negotiation outside of the
1594         buffer_alloc functions.  Fixes #545853.
1595
1596         * tests/check/libs/transform1.c: (GST_START_TEST),
1597         (buffer_alloc_ct2):
1598         Update unit test.
1599
1600 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1601
1602         * tests/check/gst/gstpreset.c:
1603           Only run preset tests when $HOME is writable. Preliminary fix for
1604           #545433.
1605
1606 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1607
1608         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1609         (gst_bin_change_state_func), (bin_handle_async_done),
1610         (gst_bin_handle_message_func):
1611         Fix race for bins that simulate ASYNC state changes by inserting
1612         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1613         pending ASYNC messages even when the bin does not have ASYNC children.
1614         We note detect this behaviour because we will receive an ASYNC message
1615         that is originating from the bin itself. 
1616         Fixes races with decodebin2 state changes.
1617
1618         * tests/check/gst/gstbin.c: (GST_START_TEST):
1619         Add some more debug.
1620
1621 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1622
1623         * gst/gsttaglist.c: (_gst_tag_initialize):
1624           Fix typo.
1625
1626 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1627
1628         * gst/gsttaglist.c:
1629           Argh. actually save the text before committing. Now adds
1630           gst_tag_merge_strings_with_comma() to gst_tag_register().
1631
1632 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1633
1634         * gst/gsttaglist.c:
1635         * gst/gsttaglist.h:
1636           Do as tim pointed out and actually register the new tag. Also improve
1637           te docs and use gst_tag_merge_strings_with_comma() method to allow
1638           retriving all keywords merged in one list.
1639
1640 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1641
1642         * configure.ac:
1643         * docs/gst/gstreamer.types:
1644           Revert 'accidential' change of the configure option removal. We still
1645           need to generate the types file in configure --disable-load-save.
1646
1647 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1648
1649         * docs/gst/gstreamer-sections.txt:
1650         * gst/gsttaglist.h:
1651           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1652
1653 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1654
1655         * gst/gstpadtemplate.c:
1656           (gst_pad_template_class_init), (gst_static_pad_template_get),
1657           (gst_pad_template_new), (gst_pad_template_pad_created),
1658           (gst_pad_template_set_property), (gst_pad_template_get_property):
1659           Add "name-template", "direction", "presence" and "caps" properties,
1660           so that gst_pad_template_new() is just a thin wrapper around
1661           g_object_new(), which is better for bindings. (Fixes: #539772)
1662
1663 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1664
1665         * gst/gsturi.c:
1666           Be more liberal in what URIs we accept.
1667           Do not unescape bits of the URI for no apparent reason before passing to
1668           the element. Fixes #545352.
1669
1670 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1671
1672         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1673
1674         * gst/gst.c:
1675         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1676
1677 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1678
1679         * configure.ac:
1680         * docs/gst/gstreamer-sections.txt:
1681         * docs/gst/gstreamer.types:
1682         * docs/gst/gstreamer.types.in:
1683         * gst/Makefile.am:
1684         * gst/gst.c:
1685         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1686         * gst/gstconfig.h.in:
1687         * gst/gstelement.c: (gst_element_get_index):
1688         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1689         (gst_registry_binary_load_feature),
1690         (gst_registry_binary_read_cache):
1691         * gst/gstregistryxml.c: (load_feature),
1692         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1693         * plugins/Makefile.am:
1694         * tools/gst-indent:
1695         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1696         (print_plugin_features), (print_element_features):
1697         * tools/gst-xmlinspect.c: (print_event_masks),
1698         (print_element_info):
1699         * win32/common/gstconfig.h:
1700         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1701
1702         Disabling the indexers and URI handler code will only reduce the
1703         required amount of memory by a very small amount but on the other hand
1704         requires much more maintaince work. Apart from that many places of
1705         code are broken when disabling them.
1706
1707         Disabling the enum types doesn't reduce the required amount of memory
1708         by more than a few bytes and makes it hard to fix bugs like #539772,
1709         i.e. use the enums as GObject properties.
1710
1711 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1712
1713         * docs/design/part-TODO.txt:
1714         Add some thoughts and problems with upstream renegotiation.
1715
1716 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1717
1718         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1719         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1720         Remove silly redundant debug.
1721         Add some more debug info.
1722         Clarify the docs regarding new caps received from pad_alloc.
1723
1724 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1725
1726         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1727         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1728         Make setting the caps more threadsafe.
1729
1730 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1731
1732         * docs/design/part-element-transform.txt:
1733         Update docs.
1734
1735 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1736
1737         * plugins/elements/gstqueue.c: (gst_queue_init),
1738         (gst_queue_acceptcaps):
1739         Add and use a custom acceptcaps function instead of falling back to the
1740         potentially less optimized default implementation.
1741
1742 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1743
1744         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1745           Only sanity-check the buffer size if requested_caps == buffer_caps
1746           (ie. don't take pad caps into account, they're not relevant here)
1747
1748 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1749
1750         * plugins/elements/gsttee.c:
1751         * plugins/elements/gsttee.h:
1752           Reverting as not everything is clear yet. Needs some general design
1753           work.
1754
1755 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1756
1757         * ChangeLog:
1758           ChangeLog surgery for tee commit.
1759
1760 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1761
1762         * docs/gst/gstreamer-sections.txt:
1763           Cleanup section-file.
1764
1765 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1766
1767         * plugins/elements/gsttee.c:
1768         * plugins/elements/gsttee.h:
1769           Relay tag events in tee. Fixes parts of #474016.
1770           Downgrades 3 reoccurring debugs to log.
1771
1772 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1773
1774         * configure.ac:
1775         * libs/gst/Makefile.am:
1776           Build the net library if we have winsock2.
1777
1778 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1779
1780         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1781
1782         * docs/manual/advanced-threads.xml:
1783         * docs/manual/diagrams-pipelines.svg:
1784         * docs/manual/hello-world.png:
1785         * docs/manual/linked-elements.png:
1786         * docs/manual/mime-world.png:
1787         * docs/manual/queue.png:
1788         * docs/manual/thread-buffering.png:
1789         * docs/manual/thread-synchronizing.png:
1790           Replace one diagram with two separate ones and updates others.
1791           Fixes #542401.
1792
1793 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1794
1795         * gst/gstelement.h:
1796         Fix link in documentation.
1797
1798 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1799
1800         * gst/gstmessage.c:
1801         Fix confusing documentation.
1802
1803 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1804
1805         * libs/gst/base/gstbasesrc.h:
1806         revert the changes to the header file for the ABI.
1807
1808 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1809
1810         * libs/gst/base/gstbasesrc.c:
1811         * libs/gst/base/gstbasesrc.h:
1812         Don't cache the seekable status.
1813         Fixes bug #544174
1814
1815 2008-07-24  Rene Stadler  <mail@renestadler.de>
1816
1817         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1818         code to close the pipeline graph.  This prevents the program from
1819         printing internal data flow errors.
1820
1821 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1822
1823         * docs/manual/basics-bus.xml:
1824         Correct typo. Fixes bug #544320.
1825
1826 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1827
1828         * configure.ac:
1829           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1830           Add check (taken from -base) for winsock, adds WIN32_LIBS
1831         * gst/Makefile.am:
1832           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1833           winsock.
1834           Define GST_EXPORTS when building libgstreamer (only used on win32)
1835         * gst/gst_private.h:
1836         * gst/gstinfo.h:
1837           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1838           for symbols that we need to export in both these files.
1839         * gst/gstpoll.c:
1840           Include gst_private.h higher up to avoid some compile problems on win32.
1841
1842 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1843
1844         * gst/gstvalue.c:
1845         Fix typos.
1846
1847 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1848
1849         * gst/gstcaps.c:
1850         Previous commit was wrong NULL caps does not exist
1851         and indicate an error, so also add a FIXME to
1852         gst_caps_is_equal where NULL caps are accepted.
1853
1854 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1855
1856         * gst/gstcaps.c:
1857         Allow passing of NULL to gst_caps_union
1858
1859 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1860
1861         * gst/gstghostpad.c:
1862         Add in doc that gst_ghost_pad_set_target can accept
1863         NULL to clear target
1864
1865 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1866
1867         * gst/gstplugin.c:
1868         * gst/gstregistry.c:
1869           GstRegistryPool doesn't exist; don't refer to it in docs.
1870           Don't refer to functions that don't exist in docs, it's
1871           unhelpful.
1872
1873 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1874
1875         * gst/gst.c:
1876         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1877
1878 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1879
1880         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1881
1882         * docs/pwg/building-testapp.xml:
1883         Don't use an undeclared variable in the example program.
1884         Fixes bug #542573.
1885
1886 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1887
1888         * gst/gstdebugutils.c:
1889           Squeeze ghost-pad links and remove <> from classname labels to save
1890           more horizontal space.
1891
1892 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1893
1894         * gst/gstdebugutils.c:
1895           Give request and sometimes pads a different shpe style. Condense the
1896           graphs a little more.
1897
1898 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1899
1900         * configure.ac:
1901           Don't require flex and bison if the parser is disabled.
1902
1903 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1904
1905         * libs/gst/controller/gstinterpolationcontrolsource.c:
1906         (_list_find_sorted_custom):
1907         Don't use declarations after statements.
1908
1909 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1910
1911         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1912         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1913         of the the child-added / -removed signals as GstChildProxy
1914         only supports GstObjects.
1915
1916 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1917
1918         * gst/gstdebugutils.c:
1919         Fix memleak
1920
1921 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1922
1923         Patch by: Alessandro Decina <alessandro at nnva dot org>
1924
1925         * gst/gstpoll.c:
1926         Fix "ignored return value" compiler warning with newer glibc.
1927
1928 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1929
1930         * gst/gstchildproxy.c:
1931         Fix copy&paste error in gst_child_proxy_removed() documentation.
1932
1933 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1934
1935         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1936           Print error debug message if plugin description fields that should
1937           be set are NULL.
1938
1939         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1940           Don't crash if the string to serialise is NULL (it really should
1941           not be, but apparently this used to work with the xml registry ...).
1942
1943 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1944
1945         * tools/gst-plot-timeline.py:
1946         Fix parsing of log messages
1947
1948 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1949
1950         * win32/common/libgstbase.def::
1951           Sort alphabetically so make check-exports doesn't barf.
1952
1953 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1954
1955         * gst/gstevent.c:
1956           Use gst_format_get_name() to improve debug output.
1957
1958         * gst/gstpreset.c:
1959           Remove #ifdef'ed code. Add TODO comment.
1960
1961         * gst/gstsegment.c:
1962           Add debug output to ease spotting format != segment.format assertions.
1963
1964 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1965
1966         * tests/check/libs/gdp.c: (gst_dp_suite):
1967         Also enable the GDP unit test again on PPC now that the bug
1968         is fixed.
1969
1970 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1971
1972         * libs/gst/dataprotocol/dataprotocol.c:
1973         Don't write to the same region of memory as a uint64 and uint16
1974         as this breaks strict aliasing rules and apparantly breaks on PPC
1975         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1976
1977 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1978
1979         * libs/gst/controller/gstinterpolationcontrolsource.c:
1980           Optimize list handling. Use own find function. Exploit that fact that
1981           the list is sorted. Also pass back the node before, so that we can
1982           insert quickly. Have a fast path for append.
1983
1984 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1985
1986         * docs/design/draft-framestep.txt:
1987         * docs/design/part-negotiation.txt:
1988           Fix two typos.
1989
1990 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1991
1992         * configure.ac:
1993           Show configuration sumary after configure run. Based on patch by
1994           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1995
1996 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1997
1998         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1999
2000         * docs/manual/advanced-autoplugging.xml:
2001         * docs/manual/advanced-threads.xml:
2002         * docs/manual/basics-bins.xml:
2003         * docs/manual/basics-elements.xml:
2004         * docs/manual/basics-helloworld.xml:
2005         * docs/manual/basics-pads.xml:
2006           Add scale factor for pdf output.
2007
2008         * docs/manual/intro-basics.xml:
2009           Switched sections "pads" and "bins" and added a pipeline diagram.
2010
2011         * docs/manual/intro-gstreamer.xml:
2012           Added more info on gstreamer.
2013
2014         * docs/manual/intro-motivation.xml:
2015           Commented out the whole section "current problem", which sounds
2016           historical and somehow osolete; it could be turned in a positive
2017           way and reused to improve the design principles.
2018
2019         * docs/manual/intro-preface.xml:
2020           - Update URLs to library.gnome.org. 
2021           - Do not mention GTK+ in preliminary reading (irrelevant). 
2022           - Mention Plugin Writer's Manual and further reading only in the
2023             previous section.
2024           - Added a list of most relevant GObject/glib topics.
2025
2026         * docs/manual/Makefile.am:
2027         * docs/manual/bin-element-ghost.fig:
2028         * docs/manual/bin-element-ghost.png:
2029         * docs/manual/bin-element-noghost.fig:
2030         * docs/manual/bin-element-noghost.png:
2031         * docs/manual/bin-element.fig:
2032         * docs/manual/bin-element.png:
2033         * docs/manual/filter-element-multi.fig:
2034         * docs/manual/filter-element-multi.png:
2035         * docs/manual/filter-element.fig:
2036         * docs/manual/filter-element.png:
2037         * docs/manual/gstreamer-overview.png:
2038         * docs/manual/hello-world.fig:
2039         * docs/manual/hello-world.png:
2040         * docs/manual/linked-elements.fig:
2041         * docs/manual/linked-elements.png:
2042         * docs/manual/mime-world.fig:
2043         * docs/manual/mime-world.png:
2044         * docs/manual/queue.fig:
2045         * docs/manual/queue.png:
2046         * docs/manual/simple-player.png:
2047         * docs/manual/sink-element.fig:
2048         * docs/manual/sink-element.png:
2049         * docs/manual/src-element.fig:
2050         * docs/manual/src-element.png:
2051         * docs/manual/diagrams-general.svg:
2052         * docs/manual/diagrams-pipelines.svg:
2053           Removed .fig, added .png counterpart.
2054           
2055           Fixes: #539137
2056
2057 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2058
2059         * plugins/elements/gstmultiqueue.c:
2060         * plugins/elements/gstmultiqueue.h:
2061         revert extra-size-buffers stuff, caused some race conditions
2062         and extra-size-buffers is not used anymore. Docs needs some updates
2063
2064 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2065
2066         * win32/common/config.h:
2067         * win32/common/gstenumtypes.c:
2068         * win32/common/gstenumtypes.h:
2069         * win32/common/gstversion.h:
2070           Update win32 files.
2071
2072 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2073
2074         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2075           (GST_DEBUG_BIN_TO_DOT_FILE):
2076           Add missing Since' markers to gtk-doc blurbs.
2077
2078 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2079
2080         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2081         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2082         (set_caps_1), (set_caps_ct1), (transform_ct1),
2083         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2084         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2085         (transform_size_ct2), (buffer_alloc_ct2):
2086         Add some more tests with switching caps in buffer_alloc.
2087
2088 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2089
2090         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2091         (gst_test_trans_class_init), (result_sink_chain),
2092         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2093         (gst_test_trans_push), (gst_test_trans_pop):
2094         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2095         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2096         (set_caps_1), (set_caps_ct1), (transform_ct1),
2097         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2098         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2099         (transform_size_ct2), (buffer_alloc_ct2),
2100         (gst_basetransform_suite):
2101         More tests, prepare for tests with switching caps in buffer_alloc.
2102
2103 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2104
2105         * plugins/elements/gstmultiqueue.c:
2106         * plugins/elements/gstmultiqueue.h:
2107         Fix dead-lock in underrun_cb
2108
2109 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2110
2111         * docs/design/part-states.txt:
2112         Fix device open/close docs.
2113
2114 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2115
2116         * ChangeLog:
2117           Mention bugnumber for last commit.
2118
2119 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2120
2121         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2122
2123         * docs/manual/manual.xml:
2124         - Reorganised the previous "introduction" bundle into Foreword,
2125         Introduction, and About GStreamer. The two first are <preface>
2126         docbook elements. The later is the first part of the book.
2127         - added intro-gstreamer.xml (content partially from
2128         intro-preface.xml)
2129         - moved appendix-win32.xml into appendix-integration.xml
2130
2131         * docs/manual/intro-preface.xml: gstreamer section moved...
2132         * docs/manual/intro-gstreamer.xml: ...here. new file.
2133
2134         * docs/manual/appendix-win32.xml: removed file. Content moved...
2135         * docs/manual/appendix-integration.xml: ...here.
2136         
2137         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2138         * docs/manual/appendix-checklist.xml: ...here.
2139         
2140         Fixes: 538764
2141
2142 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2143
2144         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2145
2146         * docs/manual/basics-helloworld.xml:
2147         * docs/manual/hello-world.fig:
2148           - Explicitely include glib.h.
2149           - Do not use global variables.
2150           - Use g_printerr() instead of g_print().
2151           - Minor formating/renaming to increase readibility.
2152           - Renamed new_pad() to on_pad_added()
2153           - Improved explenatory comments.
2154           - renamed ogg parser to ogg demuxer
2155           - Use "autoaudiosink" instead of "alsasink".
2156           Fixes: #538619
2157
2158 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2159
2160         * ChangeLog:
2161           Remove cvs conflict marker.
2162
2163 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2164
2165         * docs/README:
2166           Document that for plgin-docs we extraxt he short-desc from the element
2167           details.
2168
2169         * docs/design/part-states.txt:
2170           Tell that devices should be closed in PAUSED -> READY.
2171
2172         * docs/manual/README:
2173           Document how tests in the manual are handled.
2174
2175         * docs/manuals.mak:
2176           Typo in comment.
2177
2178 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2179
2180         * gst/gstbin.c: (bin_query_latency_fold):
2181         Only care about latency min and max when the sink is actually a live
2182         sink.
2183
2184 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2185
2186         * docs/design/part-block.txt:
2187         Fix typo.
2188
2189         * docs/design/part-element-transform.txt:
2190         Add notes about why transform needs to know input/output sizes.
2191         Add some issues that need to be solved.
2192         Add some more use cases.
2193
2194         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2195         (gst_test_trans_class_init), (result_sink_chain),
2196         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2197         (gst_test_trans_push), (gst_test_trans_pop):
2198         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2199         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2200         (set_caps_1), (set_caps_ct1), (transform_ct1),
2201         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2202         (gst_basetransform_suite):
2203         Add suport for different pad templates and buffer-alloc.
2204         Add more checks for caps and buffer-alloc.
2205         Add checks for proxy buffer alloc.
2206         Add unit test for copy transform.
2207
2208 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2209
2210         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2211
2212         * docs/manual/appendix-integration.xml:
2213         * docs/manual/appendix-licensing.xml:
2214         * docs/manual/basics-elements.xml:
2215         * docs/manual/basics-helloworld.xml:
2216         * docs/manual/basics-pads.xml:
2217         * docs/manual/highlevel-components.xml:
2218         * docs/manual/highlevel-xml.xml:
2219         * docs/manual/intro-basics.xml:
2220         * docs/manual/intro-preface.xml:
2221           Typo and formatting fixes (#538594).
2222
2223 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2224
2225         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2226         Fix some memory leaks and uses of object instances that we don't
2227         actually own.
2228
2229 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2230
2231         * plugins/elements/gstmultiqueue.c:
2232         Add functionality to extra-size-buffers property.
2233
2234 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2235
2236         * plugins/elements/gstmultiqueue.c:
2237         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2238         activate the pads if they are added in STATE_NULL.
2239
2240 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2241
2242         * docs/libs/gstreamer-libs-sections.txt:
2243         Add new API to doc
2244         * libs/gst/check/gstcheck.c:
2245         * libs/gst/check/gstcheck.h:
2246         API: gst_check_teardown_pad_by_name
2247
2248 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2249
2250         * libs/gst/check/gstcheck.c:
2251         * libs/gst/check/gstcheck.h:
2252         Also setup request pads and allow setup pads by name (#537812)
2253         API: gst_check_setup_src_pad_by_name
2254         API: gst_check_setup_sink_pad_by_name
2255
2256 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2257
2258         * tests/check/gst/gstbuffer.c:
2259         * tests/check/pipelines/parse-launch.c:
2260           Use HAVE_VALGRIND_H some more.
2261
2262 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2263
2264         * scripts/cvs-update.sh:
2265           Pass arguments to make.
2266           Run autoregen.sh if Makefile is not there.
2267
2268 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2269
2270         * configure.ac:
2271         * gst/gstinfo.c:
2272           Don't assume that <valgrind/valgrind.h> exists just because
2273           the binary is there.
2274
2275 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2276
2277         * tests/check/Makefile.am:
2278         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2279         (gst_test_trans_class_init), (gst_test_trans_init),
2280         (gst_test_trans_set_data), (result_sink_chain),
2281         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2282         (gst_test_trans_pop):
2283         * tests/check/libs/transform1.c: (GST_START_TEST),
2284         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2285         Add some test basetransform element and the beginnings of various
2286         unit tests for it.
2287
2288 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2289
2290         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2291         Increase code readability.
2292         Don't try to compare buffer offsets when ther are invalid.
2293
2294 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2295
2296         * docs/design/Makefile.am:
2297           Dist some more design docs.
2298
2299         * docs/random/moving-plugins:
2300           Small addition: good plugins mustn't have functional code
2301           within assertion macros.
2302
2303 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2304
2305         * docs/design/draft-framestep.txt:
2306         Some ideas about a framestep API
2307
2308         * docs/design/part-element-transform.txt:
2309         Start design and use cases for basetransform in order to get it
2310         fixed soon.
2311
2312 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2313
2314         * gst/gsttaglist.h:
2315           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2316           be in UTF-8 encoding.
2317
2318 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2319
2320         * gst/gstbus.c:
2321           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2322
2323 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2324
2325         * plugins/elements/gstcapsfilter.c:
2326         * plugins/elements/gstfakesink.c:
2327         * plugins/elements/gstfakesrc.c:
2328         * plugins/elements/gstfdsink.c:
2329         * plugins/elements/gstfdsrc.c:
2330         * plugins/elements/gstfilesink.c:
2331         * plugins/elements/gstfilesrc.c:
2332         * plugins/elements/gstidentity.c:
2333         * plugins/elements/gstmultiqueue.c:
2334         * plugins/elements/gstqueue.c:
2335         * plugins/elements/gsttee.c:
2336         * plugins/elements/gsttypefindelement.c:
2337           Remove short_description. Add basic docs for gsttypefindelement.
2338           Simplify markup for fakesrc/fdsrc.
2339
2340 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2341
2342         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2343         Added Since doc.
2344
2345 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2346
2347         Patch by: Joel Larsson <tilljoel at gmail dot com>
2348
2349         * docs/plugins/gstreamer-plugins.args:
2350         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2351         (gst_fd_src_init), (gst_fd_src_update_fd),
2352         (gst_fd_src_set_property), (gst_fd_src_get_property),
2353         (gst_fd_src_create):
2354         * plugins/elements/gstfdsrc.h:
2355         Add timeout property like udpsrc. Fixes #538628.
2356         Add some more docs and example pipelines.
2357
2358 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2359
2360         * docs/libs/gstreamer-libs-sections.txt:
2361         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2362         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2363         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2364         (gst_base_sink_do_sync):
2365         * libs/gst/base/gstbasesink.h:
2366         * win32/common/libgstbase.def:
2367         Add method to allow sinks to specify additional delay between the sync
2368         times and the actual rendering of the data.
2369         API: gst_base_sink_set_render_delay()
2370         API: gst_base_sink_get_render_delay()
2371
2372 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2373
2374         * configure.ac:
2375         Bump version number back to dev -> 0.10.20.1
2376
2377 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2378
2379         * docs/gst/gstreamer-sections.txt:
2380         * gst/gsttaglist.c: (_gst_tag_initialize):
2381         * gst/gsttaglist.h:
2382         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2383         Fixes bug #538568.
2384
2385 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2386
2387         * libs/gst/controller/gstcontroller.c:
2388           Revert one change, that make ret value possible uninitialized.
2389
2390 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2391
2392         * libs/gst/controller/gstcontroller.c:
2393           Use freeze/thaw notify to sync notify emission a bit (its also more
2394           efficient). Move debug output to LOG (is called a lot in a loop).
2395           Always unset g_values if the have been initialized.
2396
2397 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2398
2399         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2400         (gst_base_sink_wait_eos), (gst_base_sink_event):
2401         If we have not seen a buffer before EOS, use the segment values to
2402         report the current position instead of invalid positions.
2403
2404 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2405
2406         * docs/plugins/tmpl/.cvsignore:
2407         * tests/check/gst/.cvsignore:
2408           Ignore more.
2409
2410 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2411
2412         * libs/gst/controller/gstinterpolation.c:
2413         * libs/gst/controller/gstinterpolationcontrolsource.c:
2414         * tests/check/libs/controller.c:
2415           Rewrite handling of default values. Fix overflow with unsigned types
2416           in linear interpolation. Remove now obsolete _first_value() function.
2417           Add more tests. Fixes #538201.
2418
2419 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2420
2421         * libs/gst/base/gstbasetransform.c:
2422         (gst_base_transform_class_init), (gst_base_transform_init),
2423         (gst_base_transform_transform_caps),
2424         (gst_base_transform_prepare_output_buffer):
2425         Add debug info.
2426         When a buffer is writable, its metadata is also writable so we don't
2427         need to subbuffer (which then makes the buffer not-writable anymore).
2428
2429 === release 0.10.20 ===
2430
2431 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2432
2433         * configure.ac:
2434           releasing 0.10.20, "You Crazy Diamond"
2435
2436 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2437
2438         * configure.ac:
2439         0.10.19.3 pre-release
2440
2441 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2442
2443         * configure.ac:
2444         * gst/gstpreset.c:
2445         Rename DATADIR to GST_DATADIR to avoid build problems
2446         on win32. Patch By: David Schleef <ds@schleef.org>
2447         Fixes: #536857
2448
2449 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2450
2451         * configure.ac:
2452         Explicitely link with -ldl if dladdr() is found there. Before it was
2453         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2454         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2455
2456 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2457
2458         * gst/gsterror.c: (_gst_stream_errors_init):
2459           Fix typo (spotted by Fabricio Godoy, #536723).
2460
2461 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2462
2463         * configure.ac:
2464         0.10.19.2 pre-release
2465
2466 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2467
2468         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2469         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2470         Add some debug.
2471         Make sure we don't generate invalid QoS messages.
2472
2473 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2474
2475         * gst/gstevent.c: (gst_event_new_qos):
2476         Add some assert and docs for invalid input to the qos function.
2477
2478 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2479
2480         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2481         (gst_base_sink_get_position):
2482         The reported position must always be smaller than the last seen
2483         timestamps (or timestamp + duration for reverse).
2484
2485 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2486
2487         Patch by: Rob Bradford <rob at robster dot org dot uk>
2488
2489         * gst/gstregistry.c: (gst_registry_scan_path_level):
2490         Don't recurse into .debug directories as some distros install
2491         the debugging symbols next to the plugins in .debug directories
2492         and dlopen() crashes on them sometimes. Fixes bug #508070.
2493
2494         Add FIXME for 0.11 to not recurse into directories at all because
2495         it's very inconsistent to the behaviour of other PATH environment
2496         variables.
2497
2498 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2499
2500         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2501         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2502         Fix position query range checks in reverse playback.
2503
2504 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2505
2506         * gst/gstelement.c:
2507         * gst/gstelement.h:
2508         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2509         clear of the reference to the resulting pad must be released later
2510         or not, resulting in possible leaks. Fixes bug #533865.
2511
2512 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2513
2514         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2515
2516         * gst/gstelementfactory.c:
2517         Small doc fix. Fixes #535285.
2518
2519 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2520
2521         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2522
2523         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2524         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2525         (gst_base_src_loop), (gst_base_src_set_flushing),
2526         (gst_base_src_change_state):
2527         Make sending an EOS event to the basesrc non-blocking even if the
2528         implementation does blocking waits in the create function. This is done
2529         by unlocking the create function when EOS is sent.
2530         Fixes #535218.
2531
2532 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2533
2534         * tools/gst-inspect.c: (print_element_properties_info):
2535         If possible print the element type of GValueArray properties.
2536
2537 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2538
2539         * gst/gstiterator.c:
2540         Remove an unused field from the private GstListIterator struct.
2541
2542 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2543
2544         * libs/gst/controller/gstcontroller.c:
2545           Add parameter guards.
2546
2547 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2548
2549         * tests/check/gst/gstpipeline.c:
2550           Revert test change and add comment why it should not work.
2551
2552 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2553
2554         * tests/check/gst/gstpipeline.c:
2555           Extending the test a little to verify that we also get the NULL state-
2556           change message.
2557
2558 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2559
2560         * gst/gstpreset.c: (gst_preset_default_get_meta),
2561           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2562           (gst_preset_load_preset), (gst_preset_save_preset),
2563           (gst_preset_rename_preset), (gst_preset_delete_preset),
2564           (gst_preset_set_meta):
2565           Add Since: markers to docs blurbs.
2566
2567         * win32/common/libgstreamer.def:
2568           Add recently-added API.
2569
2570 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2571
2572         Patch by: Stefan Kost  <ensonic@users.sf.net>
2573
2574         * configure.ac:
2575         Add DATADIR for storing presets.
2576
2577         * docs/gst/gstreamer-docs.sgml:
2578         * docs/gst/gstreamer-sections.txt:
2579         * docs/gst/gstreamer.types.in:
2580         Add GstPreset to docs.
2581
2582         * gst/Makefile.am:
2583         * gst/gst.h:
2584         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2585         (preset_open_and_parse_header), (preset_parse_version),
2586         (preset_merge), (preset_get_keyfile),
2587         (gst_preset_default_get_preset_names),
2588         (gst_preset_default_get_property_names),
2589         (gst_preset_default_load_preset),
2590         (gst_preset_default_save_presets_file),
2591         (gst_preset_default_save_preset),
2592         (gst_preset_default_rename_preset),
2593         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2594         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2595         (gst_preset_default_reset), (gst_preset_get_preset_names),
2596         (gst_preset_get_property_names), (gst_preset_load_preset),
2597         (gst_preset_save_preset), (gst_preset_rename_preset),
2598         (gst_preset_delete_preset), (gst_preset_set_meta),
2599         (gst_preset_get_meta), (gst_preset_class_init),
2600         (gst_preset_base_init), (gst_preset_get_type):
2601         * gst/gstpreset.h:
2602         Add GstPreset to core. Fixes #396779
2603
2604         * tests/check/Makefile.am:
2605         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2606         (gst_preset_test_set_property), (gst_preset_test_class_init),
2607         (gst_preset_test_base_init), (gst_preset_test_get_type),
2608         (gst_preset_test_plugin_init), (GST_START_TEST),
2609         (remove_preset_file), (test_setup), (test_teardown),
2610         (gst_preset_suite):
2611         Add GstPreset unit tests.
2612
2613 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2614
2615         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2616         The default event function on a sinkpad should return TRUE when
2617         there are no internal links but should collect the return values from
2618         the internal links otherwise.
2619
2620 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2621
2622         * plugins/elements/gsttypefindelement.c:
2623         (gst_type_find_element_src_event),
2624         (gst_type_find_element_handle_event):
2625         Use faster and safer _pad_push_event().
2626
2627 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2628
2629         * docs/gst/gstreamer-sections.txt:
2630         * gst/gstutils.c: (element_find_unlinked_pad),
2631           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2632         * gst/gstutils.h:
2633           API: add gst_bin_find_unlinked_pad()
2634           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2635
2636 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2637
2638         * gst/gstclock.c:
2639         * gst/gstclock.h:
2640         * gst/gsttask.c:
2641         * gst/gsttask.h:
2642         Fixed a bunch of typos.
2643
2644 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2645
2646         * gst/gstpad.h:
2647         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2648           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2649           (gst_parse_bin_from_description_full):
2650         * gst/gstutils.h:
2651           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2652
2653 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2654
2655         * docs/pwg/advanced-tagging.xml:
2656           Small docs update, can't be bothered to rewrite the nonsensical
2657           examples right now.
2658
2659 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2660
2661         * gst/gstevent.h:
2662           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2663
2664 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2665
2666         * gst/parse/grammar.y:
2667           Remove unneeded casts.
2668
2669 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2670
2671         * gst/parse/grammar.y:
2672         * tests/check/pipelines/parse-launch.c:
2673           Get all missing elements from a parse launch string if possible
2674           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2675
2676 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2677
2678         * tests/check/Makefile.am:
2679         * tests/check/pipelines/parse-launch.c:
2680           Add some unit tests for the new gst_parse_launch*_full() API.
2681           (Exposes a previously-existing memory leak in the error code
2682           path, so adding to VALGRIND_TO_FIX for now).
2683
2684 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2685
2686         * docs/gst/gstreamer-sections.txt:
2687         * gst/gst.c: (init_post):
2688         * gst/gst_private.h: (_GstParseContext):
2689         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2690           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2691           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2692           (gst_parse_launch_full):
2693         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2694           (GstParseFlags), (GstParseContext):
2695         * gst/gstutils.c: (gst_parse_bin_from_description),
2696           (gst_parse_bin_from_description_full):
2697         * gst/gstutils.h:
2698         * gst/parse/grammar.y:
2699         * gst/parse/types.h:
2700         * win32/common/libgstreamer.def:
2701           Add new gst_parse_*_full API (#528178):
2702           API: gst_parse_launch_full()
2703           API: gst_parse_launchv_full()
2704           API: gst_parse_bin_from_description_full()
2705           API: gst_parse_context_new()
2706           API: gst_parse_context_free()
2707           API: gst_parse_context_get_missing_elements()
2708
2709 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2710
2711         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2712
2713         * docs/faq/gst-uninstalled:
2714           Also support ffmpeg in gst-uninstalled.
2715
2716 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2717
2718         * configure.ac:
2719         After discussion on IRC use the binary registry as default
2720         but allow to disable it with --disable-binary-registry.
2721
2722         * win32/common/libgstreamer.def:
2723         Add the two new symbols for the binary registry.
2724
2725 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2726
2727         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2728         * gst/gstutils.c: (gst_parse_bin_from_description):
2729         * gst/parse/grammar.y: (graph):
2730           More guards against bad input; typo fix; some minor clean-ups.
2731
2732 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2733
2734         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2735
2736         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2737         If nothing else can be used, use the last buffer's start time as
2738         the segment's last stop. Fixes bug #534258.
2739
2740 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2741
2742         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2743           Move size sanity check to the right place: downstream may return
2744           a buffer with a smaller size if the buffer caps are different than
2745           the requested ones, as may happen when doing reverse negotiation.
2746
2747 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2748
2749         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2750         (gst_file_sink_render):
2751         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2752         (gst_file_src_start):
2753         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2754         use it yet.
2755
2756 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2757
2758         * gst/gstpad.c: (gst_pad_load_and_link):
2759         * gst/gstutils.c: (gst_element_link_pads),
2760         (gst_element_unlink_pads):
2761         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2762         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2763         (gst_check_teardown_sink_pad),
2764         (gst_check_element_push_buffer_list):
2765         * tests/check/elements/fakesink.c: (GST_START_TEST):
2766         * tests/check/elements/filesink.c:
2767         * tests/check/elements/filesrc.c: (GST_START_TEST):
2768         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2769         (mq_sinkpad_to_srcpad):
2770         * tests/check/elements/tee.c: (GST_START_TEST):
2771         * tests/check/generic/sinks.c: (GST_START_TEST):
2772         * tests/check/gst/gstbin.c: (GST_START_TEST):
2773         * tests/check/gst/gstevent.c: (GST_START_TEST):
2774         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2775         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2776         * tests/check/gst/gstquery.c: (GST_START_TEST):
2777         * tests/check/gst/gstutils.c: (GST_START_TEST):
2778         * tests/check/libs/basesrc.c: (GST_START_TEST):
2779         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2780         (gst_parse_test_element_change_state):
2781         Don't use gst_element_get_pad().
2782
2783 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2784
2785         * docs/Makefile.am:
2786         Fix installing plugin documentation when gtk-doc is disabled.
2787
2788 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2789
2790         * docs/manual/advanced-autoplugging.xml:
2791         * docs/manual/basics-helloworld.xml:
2792         * docs/manual/basics-pads.xml:
2793         * docs/manual/highlevel-components.xml:
2794         Avoid using a bad function in the example code.
2795
2796 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2797
2798         * gst/gstclock.c: (gst_clock_set_calibration):
2799         Fix debug of the new clock rate.
2800
2801 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2802
2803         * win32/common/libgstbase.def:
2804         Add gst_base_sink_wait_clock() to the exported symbols.
2805
2806 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2807
2808         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2809
2810         * libs/gst/base/gstbasetransform.c:
2811         (gst_base_transform_sink_event):
2812         Unref events that the GstBaseTransform::event vfunc didn't want to
2813         have forwarded by the base class. Closes a leak in identity.
2814         Fixes bug #446763.
2815
2816 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2817
2818         * docs/libs/gstreamer-libs-sections.txt:
2819         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2820         * libs/gst/base/gstbasesink.h:
2821         Expose a method that was previously used internally to synchronize
2822         against the clock because it can be useful for subclasses too.
2823         API: GstBaseSink::gst_base_sink_wait_clock()
2824
2825 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2826
2827         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2828           Add sanity check to make sure we don't get smaller buffers
2829           than requested (and fallback to normal buffer alloc if we do).
2830
2831 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2832
2833         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2834         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2835         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2836         Refactor adjusting the running_time with latency and offset into a
2837         separate method.
2838         When doing clipping, we still want to use the subclass get_times method,
2839         just in case the DURATION or TIMESTAMP are not set.
2840
2841 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2842
2843         * docs/gst/gstreamer-sections.txt:
2844         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2845         * gst/gsttypefind.h:
2846         * win32/common/libgstreamer.def:
2847           API: add gst_type_find_suggest_simple(), #533740.
2848
2849 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2850
2851         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2852           Use right error code when typefinding fails, so we can use
2853           the default (translated) error messages.
2854
2855 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2856
2857         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2858         (gst_base_src_start):
2859         When the subclass did not set caps on outgoing buffers, configure the
2860         caps we negotiated on the source pad.
2861         When the typefind helper does not find caps, error out properly instead
2862         of doing things with NULL caps.
2863
2864 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2865
2866         * gst/gsttypefind.h:
2867           Tabs to spaces, oh yes!
2868
2869 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2870
2871         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2872           Add David's and Benjamin's tests for array intersection to the
2873           unit test suite (#147931).
2874
2875 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2876
2877         * gst/gstevent.c:
2878           Document that gst_event_new_tag() and gst_event_new_navigation()
2879           take ownership of the taglist/structure passed to them. (#533635).
2880
2881 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2882
2883         * docs/Makefile.am:
2884         Don't descend into the plugins dir if plugin docs building
2885         is disabled.
2886
2887         * docs/README:
2888         Add a note about the new type:GTypeName syntax for the plugin
2889         documentation .types file.
2890
2891 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2892
2893         * gst/gstmessage.c: (gst_message_new_error),
2894         (gst_message_new_warning), (gst_message_new_info):
2895         * gst/gstmessage.h:
2896         Mark the debug string parameters as const. Fixes bug #533490.
2897
2898 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2899
2900         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2901         Sort buffer cache list by end offsets. This makes sure that we don't
2902         stop to search for a cached buffer that contains the requested data
2903         too early.
2904         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2905         more efficient. Fixes bug #459862.
2906
2907 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2908
2909         * gst/gstinfo.c:
2910           Explain why we copy the list.
2911
2912         * gst/gstpipeline.c:
2913           Improve docs.
2914
2915         * gst/gstutils.c:
2916           Add one debug-log statement to help tracing probelms with linking pads.
2917
2918 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2919
2920         * tests/check/gst/gstinfo.c:
2921         Add a test for removing the default log handler. Seems to fail under
2922         windows.
2923
2924 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2925
2926         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2927         Release pad lock before calling out to avoid a possible deadlock.
2928
2929 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2930
2931         * gst/parse/grammar.y:
2932         Remove unneeded value unset.
2933
2934         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2935         Add unit test for de/serialization of caps.
2936
2937 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2938
2939         * plugins/elements/gstfakesink.c:
2940         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2941         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2942         (gst_fake_src_class_init):
2943         Use custom marshalers that take GstMiniObject as first parameter.
2944         Using OBJECT as parameter while a GstMiniObject is given will lead
2945         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2946
2947 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2948
2949         * plugins/elements/gsttypefindelement.c:
2950         (gst_type_find_element_handle_event),
2951         (gst_type_find_element_send_cached_events),
2952         (gst_type_find_element_change_state):
2953         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2954         immediately.
2955
2956 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2957
2958         * plugins/elements/gsttypefindelement.c:
2959         (gst_type_find_handle_src_query), (stop_typefinding),
2960         (gst_type_find_element_handle_event),
2961         (gst_type_find_element_send_cached_events),
2962         (gst_type_find_element_change_state):
2963         Forward FLUSH_START events immediately and clean up instead of
2964         caching them.
2965
2966 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2967
2968         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2969
2970         * libs/gst/base/gstbasetransform.c:
2971         (gst_base_transform_buffer_alloc):
2972         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2973         fall back to default negotiation in the chain function if the caps
2974         are different from what was requested. Fixes bug #526768.
2975
2976 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2977
2978         * gst/gstsegment.c:
2979         * tests/check/gst/gstsegment.c:
2980           No, let's not use g_slice_{dup|copy} here, since they only exist
2981           since GLib 2.14 and we still depend only on >= 2.12. Also add
2982           unit test for gst_segment_copy().
2983
2984 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2985
2986         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2987           Try to fix 'dereferencing type-punned pointer will break strict
2988           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2989           changed the default GType typedef from gulong to gsize at some point,
2990           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2991           g_once_* functions all take a gsize * though, so work around the type
2992           mismatch for C++ by doing everything in gsize and casting to GType
2993           later.
2994
2995 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2996
2997         * plugins/elements/gstmultiqueue.c:
2998         Add documentation for the signals to push our core plugin docs
2999         coverage back up to 100%.
3000
3001 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3002
3003         * gst/gstinfo.h (GST_FUNCTION):
3004           Reverted GST_FUNCTION to the old version as we don't want the
3005           full signature in C++ code. Also added support for MSVC.
3006
3007 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3008
3009         * gst/gstutils.h:
3010         Intern the type name string, similar to what G_DEFINE_TYPE does.
3011
3012 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3013
3014         * gst/gstutils.h:
3015         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3016
3017 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3018
3019         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3020
3021         * libs/gst/base/gstbasetransform.c:
3022         (gst_base_transform_buffer_alloc):
3023         Don't passthrough buffer allocation too easily if the caps change.
3024         This breaks when working in passthrough mode and upstream changes
3025         it's caps. Fixes bug #526768.
3026
3027 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3028
3029         * gst/gstinfo.c (gst_debug_log_valist):
3030           Improved the __FILE__ part of debug output for MSVC.
3031
3032 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3033
3034         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3035           Declaration after statement fix for compilers like MSVC.
3036
3037 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3038
3039         * win32/common/config.h.in:
3040           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3041           use the real thing than having "???" unconditionally.
3042
3043 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3044
3045         * gst/gstinfo.h (GST_FUNCTION):
3046           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3047
3048 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3049
3050         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3051         Small code cleanup.
3052
3053         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3054         (gst_base_sink_set_flushing):
3055         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3056         Fix some comments.
3057
3058 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3059
3060         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3061         (gst_fake_src_init), (gst_fake_src_set_property),
3062         (gst_fake_src_get_property), (gst_fake_src_start):
3063         * plugins/elements/gstfakesrc.h:
3064         Added format property to control the format of the newsegment events.
3065         API: GstFakeSrc:format
3066
3067 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3068
3069         * win32/common/libgstreamer.def:
3070         Add gst_pad_has_name() to the exported symbols.
3071
3072 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3073
3074         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3075         * libs/gst/base/gstbasetransform.c:
3076         (gst_base_transform_prepare_output_buffer):
3077         Don't allow negative sizes when allocating new buffers.
3078         Fixes bug #461253.
3079
3080 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3081
3082         Patch by: Sjoerd Simons <sjoerd at luon net>
3083
3084         * gst/gstbus.c: (gst_bus_source_dispatch):
3085           Don't print a warning if the queue is empty when we try to pop
3086           here. That could happen if another thread or callback set the
3087           bus to flushing between the source's check/prepare and the
3088           dispatch being called (#531538).
3089
3090 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3091
3092         * plugins/elements/gstmultiqueue.c:
3093           Small docs fix.
3094         
3095 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3096
3097         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3098         Add unit test for deserializing uint64s and check some really large
3099         numbers in the int64 test.
3100
3101 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3102
3103         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3104         (print_interfaces), (print_element_properties_info),
3105         (print_signal_info):
3106         Use "%s" as format string instead of printing strings directly.
3107
3108 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3109
3110         * gst/gstclock.c: (gst_clock_set_calibration):
3111         Make some checks actually useful.
3112
3113         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3114         Remove some unused code. Unsigned integers tend to be >= 0.
3115
3116 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3117
3118         * gst/gstminiobject.c: (gst_value_get_mini_object):
3119           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3120           function was not in the unscheduled 0.10.19 release.
3121
3122 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3123
3124         * gst/gstregistry.c: (gst_registry_scan_path_level):
3125           Only print one log message per non-plugin file.
3126
3127 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3128
3129         * gst/gstinfo.c: (gst_debug_log_default):
3130           Fix alignment of debug log columns on 64-bit.
3131
3132 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3133
3134         * docs/libs/Makefile.am:
3135         * docs/libs/gstreamer-libs-sections.txt:
3136           Ignore private controller headers for docs.
3137
3138 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3139
3140         * libs/gst/controller/gstcontrollerprivate.h:
3141         * libs/gst/controller/gsthelper.c:
3142         * libs/gst/controller/gstinterpolation.c:
3143         * libs/gst/controller/gstinterpolationcontrolsource.c:
3144         (gst_interpolation_control_source_set_interpolation_mode):
3145         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3146         * libs/gst/controller/lib.c:
3147         Move some private declarations into private headers.
3148
3149 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3150
3151         * gst/gstdebugutils.c: (debug_dump_element_pad):
3152         Remove some code that is unused after Stefan's refactoring and uses
3153         uninitialized variables now, resulting in a compiler warning.
3154
3155 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3156
3157         * gst/gstregistry.c: (gst_registry_scan_path_level):
3158           Run g_str_has_suffix() only on the file name, not the
3159           entire file path.
3160
3161 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3162
3163         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3164           Since we're not called only from the chain function any longer,
3165           we can't assume that there's always data in the queue, so move
3166           the is_full check to the beginning of the loop (otherwise we'd
3167           hit the assert when changing the limit properties while the
3168           queue is empty or not running yet).
3169           Also, only set a discont if items were actually removed from
3170           the queue.
3171
3172         * tests/check/elements/queue.c: (test_leaky_downstream):
3173           Test case for the above.
3174
3175 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3176
3177         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3178
3179         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3180         (gst_queue_chain), (queue_capacity_change),
3181         (gst_queue_set_property):
3182         When changing thr max capacity of a leaky queue, immediatly drop buffers
3183         instead of waiting for a push on the sinkpad. Fixes #530637.
3184
3185 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3186
3187         * gst/gstdebugutils.c:
3188           Refactor code and fix handling of ghostpads and their proxypads.
3189
3190 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3191
3192         * docs/gst/gstreamer-sections.txt:
3193         * gst/gstevent.c: (gst_event_has_name):
3194         * gst/gstevent.h:
3195         * tests/check/gst/gstevent.c: (GST_START_TEST):
3196         Add method to conveniently check the name of a custom event with
3197         gst_event_has_name().
3198         Reformat the event docs so that related methods are put together instead
3199         of the default alphabetical sort.
3200         Update unit test with new method.
3201         API: GstEvent::gst_event_has_name()
3202
3203 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3204
3205         * libs/gst/check/Makefile.am:
3206           Don't add an explicit link to libgstreamer-0.10.la; it's already
3207           included in GST_OBJ_LIBS.
3208
3209 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3210
3211         * gst/gst.c:
3212         Register GstClock type from a type-safe context. Fixes bug #530317.
3213
3214 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3215
3216         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3217         * tools/gst-run.c:
3218           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3219
3220 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3221
3222         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3223         (gst_bin_dispose):
3224         Use the GLib stuff to create a private structure.
3225         Add some locking around some dispose methods to make them a little
3226         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3227
3228 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3229
3230         * libs/gst/base/gstbasesink.h:
3231         * libs/gst/base/gstbasesrc.h:
3232         * libs/gst/base/gstbasetransform.h:
3233         * libs/gst/base/gstcollectpads.h:
3234           Fix doc typos and unify caps a bit.
3235
3236 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3237
3238         * tools/gst-launch.1.in:
3239           Forgot to also add the envvar docs here.
3240
3241 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3242
3243         * gst/gst.c: (init_post), (gst_deinit):
3244         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3245           (test_concurrent_create), (gst_pipeline_suite):
3246           Ref some more classes in gst_init() to work around thread-safety
3247           issues in pre-2.16 GLibs, and add basic unit test.
3248
3249 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3250
3251         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3252         (gst_base_sink_send_event):
3253         Rearrange the latency query code. We always want to do the upstream
3254         query, even if we are not live so that the upstream elements can get the
3255         latency results too. If we fail doing the query and we are live, we
3256         return TRUE afterwards.
3257
3258 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3259
3260         patch by: Jason Zhao <e3423c@motorola.com>
3261
3262         * docs/gst/running.xml:
3263         * gst/gst.c:
3264           Enable/disable scan_and_update_registry() based on commandline switch
3265           or environment variable. Fixes #520468.
3266           
3267         * ChangeLog:
3268           Fix typo in my previous commit.
3269
3270 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3271
3272         * gst/gstregistrybinary.c:
3273           Add a warning if we hit unhandled factories when saving.
3274           More debug logging detail, but move to LOG category.
3275
3276 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3277
3278         * gst/gstregistry.c:
3279           Tell the *truth* when improving the documentation.
3280
3281 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3282
3283         * gst/gstelementfactory.c: (gst_element_factory_make):
3284         Unref the factory after it was used the last time, not before.
3285
3286         * gst/gstindexfactory.c: (gst_index_factory_make):
3287         Improve debugging a bit and don't leak a ref to the index factory with
3288         each call.
3289
3290 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3291
3292         * gst/gstregistry.c:
3293           Improve the documentation.
3294
3295 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3296
3297         * gst/gstsegment.c:
3298           The glib macro seems to be borked. Use g_slice_copy directly and cast
3299           in the hope that this fixes the warning on 64bit.
3300
3301 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3302
3303         * gst/gstsegment.c:
3304           Document the new function. Use g_slice_dup() (no need for
3305           gst_segment_init()).    
3306
3307 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3308
3309         * docs/gst/gstreamer-sections.txt:
3310           Move GParamSepc macros to standart section.
3311   
3312         * gst/gstbin.c:
3313           Dn't document _get_type - its in private section in docs anyway and
3314           this doc-blob was incomplete.
3315
3316         * gst/gstclock.h:
3317           Fix wrong symbol names in docs.
3318
3319         * gst/gstmacros.h:
3320           Add once doc sentence.
3321
3322         * tests/check/gst/.cvsignore:
3323           Ignore more.
3324
3325 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3326
3327         * docs/gst/Makefile.am:
3328           And remove those libs here.
3329
3330 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3331
3332         * docs/libs/Makefile.am:
3333           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3334
3335 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3336
3337         Patch by: Olivier Crete <tester at tester dot ca>
3338
3339         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3340         Add the min-threshold to the min latency if possible. Fixes #529148.
3341
3342 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3343
3344         * docs/gst/gstreamer.types.in:
3345           Stupid editor, I removed that line as it should go in yet.
3346
3347 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3348
3349         * docs/gst/gstreamer.types.in:
3350         * docs/libs/gstreamer-libs.types:
3351           Remove library types fro core docs and have them in libs docs.
3352           Reformat and cleanup. Add comment for miniobject types.
3353
3354 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3355
3356         * gst/gsturi.c: (gst_uri_get_protocol):
3357           Fix leak: g_strdown operates on the string in place, while
3358           g_ascii_strdown() returns a newly-allocated string.
3359
3360 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3361
3362         * tools/gst-inspect.c: (print_uri_handler_info),
3363         (print_element_info):
3364         Print the URI protocols and the URI type supported by the element.
3365
3366 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3367
3368         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3369         Use g_value_take_string() instead of the deprecated
3370         g_value_set_string_take_ownership().
3371
3372 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3373
3374         * gst/gstregistrybinary.c: (_gst_crc32):
3375         Return the old CRC instead of 0 if we give a NULL buffer
3376         or a buffer with a length of 0.
3377
3378 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3379
3380         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3381         (gst_uri_get_protocol), (gst_uri_has_protocol),
3382         (gst_uri_construct), (gst_uri_handler_set_uri):
3383         A valid URI scheme can also include '+', '-' and '.' additional
3384         to alphanumeric characters as per RFC 3986 Section 3.1.
3385
3386         Handle URI schemes case insensitive in all places and convert
3387         to lower-case when constructing an URI or setting an URI with
3388         the GstURIHandler interface. Fixes bug #528868.
3389         All elements can still assume (as before) that they will
3390         get passed URIs with a lower-case URI scheme by the GstURIHandler
3391         interface.
3392
3393 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3394
3395         * gst/gstcaps.c: (gst_static_caps_get):
3396         * gst/gstclock.c: (gst_clock_entry_new):
3397           Don't use g_atomic_set_int where it's not needed.
3398
3399 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3400
3401         * gst/gstvalue.c: (gst_value_deserialize_caps):
3402         * gst/parse/grammar.y:
3403         Fix 2 caps leaks.
3404
3405 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3406
3407         * gst/gstutils.c: (gst_atomic_int_set):
3408         Use g_atomic_int_set() here too instead of assignment +
3409         g_atomic_int_get().
3410
3411 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3412         
3413         * gst/gstutils.c:
3414         * gst/gstutils.h:
3415         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3416         now that we depend on new enough GLib.
3417
3418         * gst/gstcaps.c: (gst_static_caps_get):
3419         * gst/gstclock.c: (gst_clock_entry_new):
3420         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3421         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3422         (gst_debug_category_set_threshold):
3423         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3424         (gst_base_sink_set_qos_enabled):
3425         * libs/gst/net/gstnettimeprovider.c:
3426         (gst_net_time_provider_set_property):
3427         Use g_atomic_int_set() instead of gst_atomic_int_set().
3428
3429 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3430
3431         * gst/gstquery.c:
3432           Also use G_GINT64_CONSTANT for the queries.
3433
3434 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3435
3436         * gst/gstmessage.c:
3437           Use G_GINT64_CONSTANT in varargs function.
3438
3439 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3440
3441         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3442         Initialize the registry magic with zeroes.
3443
3444 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3445
3446         * gst/gstregistrybinary.c: (_gst_crc32),
3447         (gst_registry_binary_write),
3448         (gst_registry_binary_initialize_magic),
3449         (gst_registry_binary_write_cache),
3450         (gst_registry_binary_check_magic),
3451         (gst_registry_binary_read_cache):
3452         * gst/gstregistrybinary.h:
3453         Add crc32 checksum to the binary registry file and check this before
3454         accepting a registry file.
3455
3456         Also free the data list when writing to the registry file fails.
3457
3458 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3459
3460         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3461         (gst_registry_binary_load_feature),
3462         (gst_registry_binary_load_plugin):
3463         If an element supports the Uri interface, returns a valid pointer
3464         to the supported URI protocols but this pointer contains nothing
3465         don't try to save that as it will corrupt the registry.
3466
3467         Don't unref the plugin if we added it to the registry already but
3468         fail to load a feature as gst_registry_add_plugin() takes ownership
3469         of the plugin.
3470
3471         Improve debugging a bit.
3472
3473 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3474
3475         * gst/gsttaglist.h:
3476           Clarify some tag item docs after discussion on irc.
3477
3478 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3479
3480         * docs/gst/gstreamer-docs.sgml:
3481           Remove commented out plugins (they have their own docs). Update
3482           comments.
3483
3484 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3485
3486         * docs/gst/gstreamer-docs.sgml:
3487         * docs/gst/gstreamer-sections.txt:
3488         * gst/gstparamspecs.c:
3489         * gst/gstparamspecs.h:
3490           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3491           docs to own section.
3492
3493         * gst/gstvalue.c:
3494           This now only documents GValue.
3495           
3496         * docs/libs/gstreamer-libs-sections.txt:
3497         * libs/gst/controller/gstcontroller.h:
3498           Remove GST_PARAM_CONTROLLABLE.
3499
3500 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3501
3502         * docs/README:
3503           Correct file path. Tell about how to use -overrides.txt.
3504         * docs/design/draft-tagreading.txt:
3505           Small design update.
3506
3507 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3508
3509         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3510         (gst_registry_binary_load_plugin):
3511         Fix a typo in a debug message and revert change from yesterday as
3512         gst_registry_add_plugin() will only fail if something is really wrong
3513         already and we can't survive it anyway.
3514
3515 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3516
3517         * gst/gst.c: (init_post), (gst_deinit):
3518           Pre-register GstGError GType from a thread-safe context
3519           (fixes #527967); unref enum type classes in deinit.
3520
3521 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3522
3523         Patch by: Rene Stadler <mail at renestadler de>
3524
3525         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3526           Merging an empty list with another list in KEEP_ALL mode should
3527           yield an empty list as result and not the second list (#512578).
3528
3529         * tests/check/gst/gsttagsetter.c:
3530           Add unit test for tag merge modes and the aforementioned bug.
3531
3532 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3533
3534         Patch by: Rene Stadler <mail at renestadler de>
3535
3536         * gst/gsttaglist.h:
3537           Fix description to match the order in the table (#512577).
3538   
3539 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3540
3541         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3542
3543         * libs/gst/net/gstnettimepacket.h:
3544         * docs/libs/gstreamer-libs-sections.txt:
3545           Define socklen_t as int if it's not defined yet. Fixes compilation
3546           with MSVC6 and other versions where socklen_t is not defined in
3547           the windows headers (#518022).
3548
3549 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3550
3551         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3552         If gst_registry_add_plugin() fails our reference to the plugin is
3553         invalid so don't try to use it anymore and instead error out.
3554
3555 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3556
3557         * tools/gst-xmlinspect.c: (print_element_info), (main):
3558           De-cruft a bit. If no argument is specified, print all elements in
3559           XML syntax rather than a freestyle list of elements like gst-inspect.
3560           Also, don't print XML header chunk unless we actually have something
3561           to print (ie. don't print it before an error message); print error
3562           message to stderr not stdout. Remove support for printing plugin
3563           info (it would just output something freestyle along the lines of
3564           gst-inspect so far), which fixes #514507. Also add license header.
3565
3566 2008-04-11  Julien Moutte  <julien@fluendo.com>
3567
3568         Mac OS X love...
3569         * configure.ac: Merge platform specific defines, introduce a new
3570         define on OS X to remember that forking when updating registry is
3571         unsafe.
3572         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3573         module.
3574         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3575         is defined.
3576         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3577         condition that leads to absolutely no plugins being registered on
3578         OS X.
3579
3580 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3581
3582         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3583
3584         * gst/gstutils.c: (gst_pad_add_data_probe),
3585           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3586           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3587           (gst_pad_add_buffer_probe_full):
3588         * gst/gstutils.h:
3589         * docs/gst/gstreamer-sections.txt:
3590         * win32/common/libgstreamer.def:
3591           Add gst_pad_add_*_probe_full() functions with a notify callback that
3592           lets the caller free the data it passes to the probe functions. This
3593           is useful for bindings such as gst-python or gstreamermm (#526814).
3594           API: gst_pad_add_data_probe_full
3595           API: gst_pad_add_buffer_probe_full
3596           API: gst_pad_add_event_probe_full
3597
3598         * tests/check/gst/gstutils.c:
3599           Add minimal unit test to make sure freeing the data actually works
3600           as expected.
3601
3602         * tests/benchmarks/.cvsignore:
3603           Random cvsignore addendum.
3604
3605 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3606
3607         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3608           (GST_DEBUG_BIN_TO_DOT_FILE):
3609           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3610           to it in the docs (since these are macros the types of the arguments
3611           won't be shown in the docs otherwise).
3612
3613 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3614
3615         * gst/gstpad.c:
3616           Do not abort on out of memory for pad_alloc_buffer.
3617
3618 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3619
3620         * libs/gst/check/gstcheck.c:
3621           Remove blank line between symbol name ad parameters to fix gtkdoc
3622           warning.
3623
3624 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3625
3626         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3627
3628         * docs/gst/gstreamer-sections.txt:
3629         * gst/gstsegment.c:
3630         * gst/gstsegment.h:
3631         * win32/common/libgstreamer.def:
3632           Expose gst_segment_copy() to make things easier for the c++ bindings.
3633           Fixes #518932.
3634           API: gst_segment_copy()
3635
3636 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3637
3638         * gst/gst.c: (gst_init_get_option_group), (init_post):
3639           Fix const position; ref GType classes for enum types to work
3640           around thread-safety issues in GLib versions < 2.16.
3641
3642 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3643
3644         * docs/design/part-buffering.txt:
3645         Fix some typos and set the estimated total for push mode to -1.
3646
3647         * gst/gstquery.c: (gst_query_new_buffering):
3648         Set buffering-left to 0 as we're not buffering by default.
3649
3650         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3651         Implement BUFFERING query.
3652
3653 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3654
3655         Based on patch by: Milosz Derezynski <internalerror gmail com>
3656
3657         * gst/gsterror.c: (_gst_stream_errors_init):
3658         * gst/gsterror.h:
3659           Add two new error codes for encrypted content. Fixes #524659.
3660           API: GST_STREAM_ERROR_DECRYPT
3661           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3662
3663 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3664
3665         * gst/gstquery.h:
3666           Fix typo.
3667
3668         * win32/common/libgstreamer.def:
3669           Add new functions.
3670
3671 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3672
3673         * plugins/elements/gstidentity.c: (gst_identity_event),
3674         (gst_identity_start):
3675         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3676         event after processing some data. Fixes bug #526042.
3677
3678 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3679
3680         * docs/gst/gstreamer-sections.txt:
3681         * gst/gstquery.c: (gst_query_parse_latency),
3682         (gst_query_set_buffering_percent),
3683         (gst_query_parse_buffering_percent),
3684         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3685         * gst/gstquery.h:
3686         Rename _avail -> _range
3687         API: gst_query_set_buffering_range
3688         API: gst_query_parse_buffering_range
3689
3690 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3691
3692         * docs/design/part-buffering.txt:
3693         * gst/gstquark.c:
3694         * gst/gstquark.h:
3695         * gst/gstquery.c: (gst_query_parse_latency),
3696         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3697         (gst_query_parse_buffering_percent):
3698         * gst/gstquery.h:
3699         Add busy field and quark for the buffering query so that the app can
3700         only use the query to see if buffering is in progress.
3701
3702 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3703
3704         * docs/gst/gstreamer-sections.txt:
3705         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3706         (gst_message_parse_buffering_stats):
3707         * gst/gstmessage.h:
3708         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3709         (gst_query_parse_latency), (gst_query_new_buffering),
3710         (gst_query_set_buffering_percent),
3711         (gst_query_parse_buffering_percent),
3712         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3713         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3714         * gst/gstquery.h:
3715         Reorder the message docs and headers for clarity.
3716         Add aditional buffering stats API for messages.
3717         Add buffering query.
3718         Convert some leftover queries to use GstQuark.
3719         API: gst_message_set_buffering_stats
3720         API: gst_message_parse_buffering_stats
3721         API: GST_QUERY_BUFFERING
3722         API: GstBufferingMode
3723         API: gst_query_new_buffering
3724         API: gst_query_set_buffering_percent
3725         API: gst_query_parse_buffering_percent
3726         API: gst_query_set_buffering_stats
3727         API: gst_query_parse_buffering_stats
3728
3729 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3730
3731         * gst/gstmessage.c: (gst_message_new_error),
3732         (gst_message_new_warning), (gst_message_new_info),
3733         (gst_message_new_buffering), (gst_message_new_state_changed),
3734         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3735         (gst_message_new_new_clock), (gst_message_new_segment_start),
3736         (gst_message_new_segment_done), (gst_message_new_duration),
3737         (gst_message_new_async_start), (gst_message_parse_buffering),
3738         (gst_message_parse_state_changed),
3739         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3740         (gst_message_parse_new_clock), (gst_message_parse_error),
3741         (gst_message_parse_warning), (gst_message_parse_info),
3742         (gst_message_parse_segment_start),
3743         (gst_message_parse_segment_done), (gst_message_parse_duration),
3744         (gst_message_parse_async_start):
3745         Use GstQuark for messages.
3746
3747 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3748
3749         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3750         * gst/gstquark.h:
3751         Add some more quarks needed for messages and queries.
3752
3753 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3754
3755         * docs/design/part-buffering.txt:
3756         Remove the "none" buffering mode, STREAM is a good default.
3757         Move estimated-time to the avail query, that's when it will be needed.
3758         Other small typo fixes and updates.
3759
3760 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3761
3762         * gst/gstindex.c: (gst_index_resolver_get_type):
3763           Don't put descriptions into the nick field of a GEnumValue: it's not
3764           meant for that and some language bindings rely on the nick field to
3765           construct constants and the like. Fixes #526705.
3766
3767 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3768
3769         * NEWS:
3770         * RELEASE:
3771         * gstreamer.doap:
3772           Merge other changes from 0.10.19 release branch.
3773
3774 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3775
3776         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3777
3778         * configure.ac:
3779         Actually build dlls when cross-compiling with mingw32.
3780         Fixes bug #526247.
3781
3782 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3783
3784         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3785
3786         * gst/gstpoll.c:
3787         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3788
3789 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3790
3791         * docs/design/draft-latency.txt:
3792         Fix typo.
3793
3794         * docs/design/part-buffering.txt:
3795         Update design docs with more buffering ideas.
3796
3797 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3798
3799         * configure.ac:
3800           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3801
3802 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3803
3804         * configure.ac:
3805           Revert part that belongs to the preset patch.
3806
3807 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3808
3809         * configure.ac:
3810           Add qoutes to the define. Fixes # 525961.
3811
3812 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3813
3814         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3815         (gst_file_index_load), (gst_file_index_add_id),
3816         (gst_file_index_get_assoc_entry):
3817         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3818         (gst_mem_index_free_id), (gst_mem_index_add_id),
3819         (gst_mem_index_index_format):
3820         Use GSlice when possible.
3821
3822 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3823
3824         * libs/gst/controller/gstinterpolationcontrolsource.c:
3825         (gst_control_point_free),
3826         (gst_interpolation_control_source_set_internal):
3827         Use GSlice for allocating the control points.
3828
3829 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3830
3831         * plugins/elements/gsttypefindelement.c:
3832         (gst_type_find_element_class_init),
3833         (gst_type_find_element_set_property),
3834         (gst_type_find_element_get_property),
3835         (gst_type_find_element_activate):
3836         * plugins/elements/gsttypefindelement.h:
3837         Cleanup properties.
3838         Fix pad leak when peer query fails.
3839         We can still typefind when the peer returns -1.
3840         Add property to force caps and bypass typefinding. This will be used in
3841         uridecodebin.
3842         API::force-caps
3843
3844 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3845
3846         * configure.ac:
3847         Require GLib 2.12.
3848
3849         * gst/glib-compat-private.h:
3850         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3851         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3852         Unconditionally use GSlice for allocation.
3853
3854         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3855         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3856         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3857         (gst_structure_free):
3858         Use GSlice for allocation.
3859
3860 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3861
3862         * gst/parse/Makefile.am:
3863         * gst/parse/grammar.tab.pre.c:
3864         * gst/parse/grammar.tab.pre.h:
3865         * gst/parse/lex._gst_parse_yy.pre.c:
3866         Require a new enough flex and bison and remove the parser hacks to use
3867         a pre-regenerated version.
3868
3869 2008-04-01  Julien Moutte  <julien@fluendo.com>
3870
3871         patch by: Jason Zhao <E3423C@motorola.com>
3872
3873         * configure.ac: Add a configure switch to disable option parsing
3874         in gst_init.
3875         Fixes #522882.
3876
3877 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3878
3879         * configure.ac:
3880         * gst/gstregistry.c:
3881           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3882           and handle this case.
3883
3884         * gst/gst.c:
3885           Add a comment here describing, why we stat each plugin and not try to
3886           be smart.
3887
3888 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3889
3890         * libs/gst/base/gstbasetransform.c:
3891         (gst_base_transform_prepare_output_buffer):
3892         Also unset the GAP flag on buffers if we're working inplace but
3893         the element is not GAP-aware.
3894
3895         Mark a comment as FIXME 0.11.
3896
3897 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3898
3899         * gst/gst.c:
3900           Fix type in log message and add one to ease seeing how long registry
3901           cache verification takes.
3902
3903         * gst/gstregistry.c:
3904           Only test plugin filenames against G_MODULE_SUFFIX.
3905
3906 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3907
3908         * gst/gstdebugutils.c:
3909           Improve handling ghost/proxy pads.
3910
3911 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3912
3913         * docs/gst/gstreamer-sections.txt:
3914         * gst/gstpad.c:
3915         * gst/gstpad.h:
3916           Expose macro to docs and fix link to it.
3917
3918 2008-03-27  Michael Smith <msmith@fluendo.com>
3919
3920         * libs/gst/dataprotocol/dataprotocol.c:
3921         (gst_dp_packet_from_event_1_0):
3922           When calculating GDP body CRC, use the correct pointer. 
3923           Fixes part of #522401.
3924
3925 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3926
3927         Patch by: Mark Nauwelaerts <manauw at skynet be>
3928
3929         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3930         (gst_identity_init), (gst_identity_prepare_output_buffer):
3931         Identity is not always a passthrough element, it can modify the buffer
3932         timestamps when it has a datarate and operates in single-segment mode.
3933         We therefore make it an in_place filter with a custom buffer prepare
3934         function that conditionally makes the input buffer metadata writable
3935         when needed.  Fixes #523985.
3936
3937 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3938
3939         Patch by: Mark Nauwelaerts <manauw at skynet be>
3940
3941         * gst/gstclock.h:
3942         * libs/gst/base/gstbasesrc.h:
3943         * libs/gst/base/gstbasetransform.c:
3944         * libs/gst/check/gstcheck.c:
3945         Small documentation fixes. Fixes #523978.
3946
3947 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3948
3949         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3950         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3951         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3952
3953 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3954
3955         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3956         (single_queue_underrun_cb):
3957         When trying to make room in the queue, bump the max allowed buffers
3958         bigger than the current amount of buffers in the queue. this fixes some
3959         nasty deadlocks in multiqueue when dynamically changing the limits of
3960         the queue.
3961
3962 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3963
3964         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3965
3966         * gst/gstcaps.c: (gst_caps_set_simple),
3967         (gst_caps_set_simple_valist), (gst_caps_intersect):
3968         * gst/gstcaps.h:
3969         Constify the field gchar * params in set_simple and friends.
3970         Fixes #522326.
3971
3972 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3973
3974         * gst/gstvalue.c: (gst_value_transform_object_string):
3975         Transform a GstObject to a more meaningfull string that includes the
3976         object type in addition to its name.
3977
3978 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3979
3980         * ChangeLog:
3981           ChangeLog surgery to add bugnumber to commit.
3982
3983 2008-03-23  Rene Stadler  <mail@renestadler.de>
3984
3985         * libs/gst/base/gstbasetransform.c:
3986         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3987
3988 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3989
3990         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3991         Rename constant everywhere and don't forget one occurence.
3992
3993 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3994
3995         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3996         Align memory to the pointer size even if the architecture allows
3997         unaligned memory access. Unaligned memory access usually comes with
3998         performance penality.
3999
4000 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4001
4002         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4003         (gst_registry_binary_check_magic),
4004         (gst_registry_binary_load_pad_template),
4005         (gst_registry_binary_load_feature),
4006         (gst_registry_binary_load_plugin):
4007         Align memory to the pointer size instead of always 32 bit. Fixes
4008         unaligned memory accesses on ia64 and friends.
4009
4010         * gst/gstregistrybinary.h:
4011         Bump binary registry format version for this as it changes the
4012         format on those architectures that don't have unaligned access
4013         and 64 bit pointers.
4014
4015 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4016
4017         * docs/pwg/advanced-dparams.xml:
4018         * docs/pwg/building-props.xml:
4019         * docs/pwg/other-source.xml:
4020         * gst/glib-compat.h:
4021         * gst/gstbin.c: (gst_bin_class_init):
4022         * gst/gstclock.c: (gst_clock_class_init):
4023         * gst/gstindex.c: (gst_index_class_init):
4024         * gst/gstobject.c: (gst_object_class_init):
4025         * gst/gstpad.c: (gst_pad_class_init):
4026         * gst/gstpipeline.c: (gst_pipeline_class_init):
4027         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4028         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4029         * libs/gst/base/gstbasetransform.c:
4030         (gst_base_transform_class_init):
4031         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4032         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4033         (_gst_check_fault_handler_sighandler),
4034         (_gst_check_fault_handler_setup), (gst_check_init):
4035         * libs/gst/controller/gstcontroller.c:
4036         (_gst_controller_class_init):
4037         * libs/gst/controller/gstlfocontrolsource.c:
4038         (gst_lfo_control_source_class_init):
4039         * libs/gst/net/gstnetclientclock.c:
4040         (gst_net_client_clock_class_init):
4041         * libs/gst/net/gstnettimeprovider.c:
4042         (gst_net_time_provider_class_init):
4043         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4044         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4045         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4046         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4047         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4048         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4049         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4050         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4051         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4052         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4053         * plugins/elements/gsttee.c: (gst_tee_class_init):
4054         * plugins/elements/gsttypefindelement.c:
4055         (gst_type_find_element_class_init):
4056         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4057         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4058         use it everywhere for GParamSpecs that use static strings (i.e. all).
4059         This gives us less memory usage, fewer allocations and thus less
4060         memory defragmentation. Fixes bug #523806.
4061
4062 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4063
4064         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4065         (gst_param_spec_mini_object):
4066         * gst/gstminiobject.h:
4067         * win32/common/libgstreamer.def:
4068         * docs/gst/gstreamer-sections.txt:
4069         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4070         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4071         GstParamSpecMiniObject into a public header for this.
4072
4073         This make GstMiniObject a bit more consistent with GObject and makes
4074         it possible to extend the param specs.
4075
4076         gst_value_dup_mini_object is mainly useful for set_property methods.
4077
4078         Fixes bug #523798.
4079
4080         * tools/gst-inspect.c: (print_element_properties_info):
4081         Print something useful for GstMiniObject properties and not just
4082         "unknown type".
4083
4084 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4085
4086         * docs/gst/gstreamer-sections.txt:
4087         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4088         (gst_registry_binary_check_magic):
4089         * gst/gstregistrybinary.h:
4090         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4091         and add it to the (private part) of the docs to fix the build.
4092
4093 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4094
4095         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4096         (gst_registry_binary_check_magic),
4097         (gst_registry_binary_read_cache):
4098         * gst/gstregistrybinary.h:
4099         Don't use GST_MAJORMINOR for the binary registry version. Instead
4100         hardcode a value that must be changed whenever the format changes
4101         in an incompatible way.
4102         Also don't GST_ERROR when there is a version mismatch, just
4103         regenerate the registry silently.
4104
4105 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4106
4107         * configure.ac:
4108         Back to development - 0.10.18.1
4109
4110 === release 0.10.18 ===
4111
4112 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4113
4114         * configure.ac:
4115           releasing 0.10.18, "So far away"
4116
4117 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4118
4119         * configure.ac:
4120         * win32/common/config.h:
4121         0.10.17.4 pre-release
4122
4123 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4124
4125         Patch by: Ole André Vadla Ravnås
4126             <ole dot andre dot ravnas at tandberg dot com>
4127
4128         * docs/gst/gstreamer-sections.txt:
4129         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4130         (gst_poll_update_winsock_event_mask),
4131         (gst_poll_prepare_winsock_active_sets),
4132         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4133         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4134         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4135         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4136         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4137         * gst/gstpoll.h:
4138         * win32/common/libgstreamer.def:
4139         Add new function gst_poll_fd_ignored() for improved Windows
4140         compatibility.
4141         Various minor fixes and cleanups. See #520808.
4142
4143 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4144
4145         * gst/gstindex.c: (gst_index_entry_free):
4146         * gst/gstindex.h:
4147           Don't free key strings which we don't own. Fixes crash in
4148           gst_index_entry_free() (#522741).
4149
4150         * tests/check/Makefile.am:
4151         * tests/check/gst/.cvsignore:
4152         * tests/check/gst/gstindex.c: (test_index_entries),
4153           (gst_index_suite), (gst_index):
4154           Add unit test for the above.
4155
4156 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4157
4158         * win32/common/libgstreamer.def:
4159         Remove symbols that were removed recently. Fixes bug #521740.
4160
4161 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4162
4163         * configure.ac:
4164         * win32/common/config.h:
4165         0.10.17.3 pre-release
4166
4167 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4168
4169         Patch by: Ole André Vadla Ravnås
4170             <ole dot andre dot ravnas at tandberg dot com>
4171
4172         * docs/gst/gstreamer-sections.txt:
4173         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4174         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4175         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4176         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4177         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4178         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4179         (gst_poll_fd_can_write), (gst_poll_wait),
4180         (gst_poll_set_controllable), (gst_poll_restart),
4181         (gst_poll_set_flushing):
4182         * gst/gstpoll.h:
4183         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4184         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4185         (gst_net_time_provider_new):
4186         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4187         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4188         * tests/benchmarks/gstpollstress.c: (main):
4189         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4190         Remove GstPollMode from the API, it does not make sense to let the
4191         application control this.
4192         Add support for Win32.
4193         Fix the testsuite. Fixes #520671.
4194
4195 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4196
4197         Patch by: Ole André Vadla Ravnås
4198             <ole dot andre dot ravnas at tandberg dot com>
4199
4200         * gst/gstregistrybinary.c:
4201         Include io.h for write() and close() when building with MSVC. Fixes
4202         bug #520877.
4203
4204 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4205
4206         * configure.ac:
4207         * gst/gst_private.h:
4208         * gst/gstconfig.h.in:
4209         * gst/gstregistry.h:
4210         * gst/gstregistrybinary.c:
4211         * win32/common/gstconfig.h:
4212           Move registry backend API to private headers where we can. Add
4213           fixme-0.11 comments for the others. Add stubs for the xml backend when
4214           using the binary to ensure they functions exists (they should not be
4215           used though). Fixes #520756.
4216
4217 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4218
4219         * configure.ac:
4220         * win32/common/config.h:
4221         0.10.17.2 prelease
4222
4223 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4224
4225         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4226         (gst_registry_binary_read_cache):
4227         * gst/gstregistryxml.c: (gst_registry_save):
4228         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4229         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4230         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4231         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4232         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4233         Fixes #520152
4234
4235 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4236
4237         * gst/gstminiobject.c:
4238         Import gst_private.h before any other header that might include other
4239         glib headers. This fixes the build on windows using native compilers.
4240
4241 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4242
4243         * win32/common/gstconfig.h:
4244           Add here too, just for completeness.
4245
4246 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4247
4248         * configure.ac:
4249         * gst/gstconfig.h.in:
4250         * gst/gstregistry.h:
4251           Fix broken use of config.h-defined preprocessor directive in a public
4252           header file. Add a corresponding define to gstconfig.h, since we can't
4253           really remove those function declarations from the header file now
4254           (or can we? and why are they there in the first place?).
4255
4256 2008-03-03  Andy Wingo  <wingo@pobox.com>
4257
4258         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4259         the new warning.
4260
4261         * gst/gststructure.c (gst_structure_from_string): Warn if
4262         structure_from_string didn't consume the whole string, but the
4263         caller did not provide an end pointer.
4264
4265 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4266
4267         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4268
4269         * gst/gstregistryxml.c: (read_string), (load_feature):
4270           Strings allocated by libxml2 should be freed with xmlFree(), not
4271           with g_free(). Fixes issues on windows in certain contexts (#519698).
4272
4273 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4274
4275         * gst/gstinterface.c: (gst_element_implements_interface):
4276           Don't crash if the element supports the interface queried, but does
4277           not implement GstImplementsInterface. Fixes #519584.
4278
4279         * tests/check/Makefile.am:
4280         * tests/check/gst/.cvsignore:
4281         * tests/check/gst/gstinterface.c:
4282           Add unit test for the above.
4283
4284 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4285
4286         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4287         Small doc update.
4288
4289 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4290
4291         * gst/gstsegment.c: (gst_segment_set_seek),
4292         (gst_segment_to_stream_time):
4293         Improve some comment.
4294         Update variables where it makes more sense.
4295
4296 2008-02-29  Rene Stadler  <mail@renestadler.de>
4297
4298         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4299         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4300         URIHandlers implemented using language bindings.
4301
4302 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4303
4304         * gst/gstelementfactory.h:
4305         * tests/check/elements/fakesink.c:
4306         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4307         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4308         * tests/check/elements/filesink.c: (setup_filesink):
4309         * tests/check/elements/filesrc.c: (setup_filesrc):
4310         * tests/check/elements/identity.c: (setup_identity):
4311         * tests/check/elements/tee.c:
4312         * tests/check/generic/sinks.c:
4313         * tests/check/generic/states.c: (setup), (teardown):
4314         * tests/check/gst/gst.c:
4315         * tests/check/gst/gstabi.c:
4316         * tests/check/gst/gstbin.c:
4317         * tests/check/gst/gstbus.c: (pull_messages):
4318         * tests/check/gst/gstcaps.c:
4319         * tests/check/gst/gstelement.c:
4320         * tests/check/gst/gstevent.c:
4321         * tests/check/gst/gstghostpad.c:
4322         * tests/check/gst/gstiterator.c:
4323         * tests/check/gst/gstmessage.c:
4324         * tests/check/gst/gstminiobject.c: (my_foo_init):
4325         * tests/check/gst/gstobject.c: (thread_name_object),
4326         (gst_object_suite):
4327         * tests/check/gst/gstpad.c:
4328         * tests/check/gst/gstplugin.c:
4329         * tests/check/gst/gstpoll.c:
4330         * tests/check/gst/gstquery.c:
4331         * tests/check/gst/gstsegment.c:
4332         * tests/check/gst/gststructure.c:
4333         * tests/check/gst/gstsystemclock.c:
4334         * tests/check/gst/gsttask.c:
4335         * tests/check/gst/gstutils.c:
4336         * tests/check/gst/gstvalue.c:
4337         * tests/check/gst/struct_hppa.h:
4338         * tests/check/gst/struct_i386.h:
4339         * tests/check/gst/struct_ppc32.h:
4340         * tests/check/gst/struct_ppc64.h:
4341         * tests/check/gst/struct_x86_64.h:
4342         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4343         * tests/check/libs/basesrc.c:
4344         * tests/check/libs/controller.c: (GST_START_TEST):
4345         * tests/check/libs/gdp.c:
4346         * tests/check/libs/gstnetclientclock.c:
4347         * tests/check/libs/gstnettimeprovider.c:
4348         * tests/check/libs/libsabi.c:
4349         * tests/check/libs/struct_hppa.h:
4350         * tests/check/libs/struct_i386.h:
4351         * tests/check/libs/struct_ppc32.h:
4352         * tests/check/libs/struct_ppc64.h:
4353         * tests/check/libs/struct_x86_64.h:
4354         * tests/check/pipelines/cleanup.c:
4355         * tests/check/pipelines/simple-launch-lines.c:
4356         * tests/check/pipelines/stress.c:
4357         And correct even more valid sparse warnings.
4358
4359         * win32/common/libgstreamer.def:
4360         Add gst_poll_fd_init to the list of symbols.
4361
4362 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4363
4364         * gst/gstconfig.h.in:
4365         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4366         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4367         (gst_check_log_critical_func), (gst_check_drop_buffers),
4368         (gst_check_element_push_buffer_list):
4369         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4370         (gst_controller_get_type):
4371         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4372         (gst_object_get_controller), (gst_object_get_control_source):
4373         * libs/gst/controller/gstinterpolationcontrolsource.c:
4374         (gst_interpolation_control_source_new):
4375         * libs/gst/controller/gstlfocontrolsource.c:
4376         (gst_lfo_control_source_new):
4377         * libs/gst/dataprotocol/dataprotocol.c:
4378         (gst_dp_event_from_packet_0_2):
4379         * plugins/elements/gstfdsrc.c:
4380         * plugins/elements/gstmultiqueue.c:
4381         * plugins/elements/gsttee.c:
4382         * plugins/elements/gsttypefindelement.c:
4383         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4384         (gst_file_index_add_association):
4385         * plugins/indexers/gstmemindex.c:
4386         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4387         * tests/check/elements/queue.c: (setup_queue):
4388         * tests/check/gst/gstpipeline.c:
4389         * tests/check/libs/collectpads.c: (setup), (teardown),
4390         (gst_collect_pads_suite):
4391         * tests/examples/adapter/adapter_test.c:
4392         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4393         * tests/examples/xml/createxml.c:
4394         * tests/examples/xml/runxml.c:
4395         * tools/gst-inspect.c:
4396         * tools/gst-run.c:
4397         Correct all relevant warnings found by the sparse semantic code
4398         analyzer. This include marking several symbols static, using
4399         NULL instead of 0 for pointers, not using variable sized arrays
4400         on the stack, moving variable declarations to the beginning of
4401         a block and using "foo (void)" instead of "foo ()" for declarations.
4402
4403 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4404
4405         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4406         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4407         Don't reset GstPollFDs, this is not necessary at all.
4408
4409         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4410         (delayed_restart), (delayed_control):
4411         Use GST_POLL_FD_INIT.
4412
4413 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4414
4415         * gst/gstpoll.c: (gst_poll_fd_init):
4416         * gst/gstpoll.h:
4417         Added Since tags.
4418
4419         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4420         Use some more init macros.
4421
4422 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4423
4424         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4425         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4426         Use init macros and functions.
4427
4428 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4429
4430         * docs/gst/gstreamer-sections.txt:
4431         * gst/gstpoll.c: (gst_poll_fd_init):
4432         * gst/gstpoll.h:
4433         Add INIT macro and _init method for initializing the GstPollFD.
4434
4435 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4436
4437         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4438         (gst_fd_sink_update_fd):
4439         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4440         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4441         (delayed_restart), (delayed_control):
4442         Initialize some uninitialized variables as spotted by valgrind.
4443
4444 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4445
4446         * tests/benchmarks/Makefile.am:
4447         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4448         (main):
4449         Add poll stress test.
4450
4451 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4452
4453         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4454
4455         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4456         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4457         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4458         * plugins/elements/gstfdsink.h:
4459         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4460         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4461         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4462         (gst_fd_src_uri_set_uri):
4463         * plugins/elements/gstfdsrc.h:
4464         Port to GstPoll. See #505417.
4465
4466 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4467
4468         * win32/common/libgstreamer.def:
4469         Add new gst_poll_ symbols to win32 defs.
4470
4471 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4472
4473         * docs/libs/gstreamer-libs-sections.txt:
4474         * libs/gst/net/gstnetclientclock.c:
4475         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4476         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4477         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4478         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4479         * libs/gst/net/gstnetclientclock.h:
4480         * libs/gst/net/gstnettimeprovider.c:
4481         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4482         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4483         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4484         (gst_net_time_provider_new):
4485         * libs/gst/net/gstnettimeprovider.h:
4486         Use a private stuct to not break ABI.
4487
4488 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4489
4490         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4491
4492         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4493         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4494         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4495         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4496         * libs/gst/net/gstnetclientclock.h:
4497         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4498         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4499         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4500         (gst_net_time_provider_new):
4501         * libs/gst/net/gstnettimeprovider.h:
4502         Massive code removal and cleanups because of GstPoll.
4503         Fixes #505417.
4504
4505 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4506
4507         * configure.ac:
4508         Add checks for poll, ppoll and pselect.
4509
4510         * docs/gst/gstreamer-docs.sgml:
4511         * docs/gst/gstreamer-sections.txt:
4512         Add docs for GstPoll.
4513
4514         * gst/Makefile.am:
4515         * gst/gst.h:
4516         * gst/gstpoll.c: (find_index), (selectable_fds),
4517         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4518         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4519         (gst_poll_set_mode), (gst_poll_get_mode),
4520         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4521         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4522         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4523         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4524         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4525         (gst_poll_fd_can_write), (gst_poll_wait),
4526         (gst_poll_set_controllable), (gst_poll_restart),
4527         (gst_poll_set_flushing):
4528         * gst/gstpoll.h:
4529         Add generic poll abstraction. We ideally don't want to have this in core
4530         here but in glib intead...
4531         This code will be used in various network elements and ultimately for
4532         the nanosecond precision monotonic clock (that's why it's here in core).
4533         It'll allow us to implement cancelable socket operations for windows too.
4534
4535         * tests/check/Makefile.am:
4536         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4537         (delayed_stop), (delayed_restart), (delayed_flush),
4538         (delayed_control), (gst_poll_suite):
4539         Add GstPoll unit test.
4540
4541 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4542
4543         * gst/gstfilter.c:
4544           Improve documentation of gst_filter_run(). Fixes #518627.
4545
4546 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4547
4548         * docs/README:
4549           Add a few lines about the new 'check-inspected-versions' target.
4550
4551 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4552
4553         * tests/check/gst/gstevent.c:
4554           Add qos to the event test. Rename tcase/tsuite; is not only about
4555           custom events.
4556
4557 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4558
4559         * plugins/elements/gstqueue.c:
4560           Ensure that buffer metadata is writeable, before modifying. Spotted by
4561           Mike.
4562
4563 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4564
4565         * plugins/elements/gstqueue.c:
4566         * plugins/elements/gstqueue.h:
4567           When dropping buffers in leaky modes, mark next buffers we sent as
4568           DISCONT.
4569
4570 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4571
4572         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4573           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4574
4575 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4576
4577         * plugins/elements/Makefile.am:
4578         * plugins/elements/gstbufferstore.c:
4579         * plugins/elements/gstbufferstore.h:
4580         * plugins/elements/gsttypefindelement.h:
4581           Remove GstBufferStore, no idea why we were still building it.
4582           It's not used anywhere and superseded by GstAdapter.
4583
4584         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4585           (gst_file_src_create_mmap):
4586         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4587           Printf format fixes for 64-bit integers.
4588
4589 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4590
4591         * configure.ac:
4592         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4593         We're not in 0.8 times anymore.
4594
4595 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4596
4597         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4598         (gst_check_element_push_buffer_list):
4599         * libs/gst/check/gstcheck.h:
4600         Make the declaration in the header for
4601         gst_check_element_push_buffer_list match the implementation.
4602
4603         Fix up spelling, grammar and wording of the documentation in a few
4604         places, and add the Since keyword to new API functions.
4605         Use g_list_delete_link instead of g_list_remove in
4606         gst_check_drop_buffers, since it's immeasurably more efficient.
4607
4608         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4609         Use new gst_check_drop_buffers function where appropriate.
4610
4611         * win32/common/libgstbase.def:
4612         * win32/common/libgstreamer.def:
4613         Add new symbols gst_collect_pads_take_buffer, 
4614         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4615         exports
4616
4617         Changelog surgery to add API keyword to new gst_check API.
4618
4619 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4620
4621         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4622         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4623         Update pre-generated flex files with flex 2.3.34.
4624
4625 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4626
4627         * gst/gstminiobject.c:
4628           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4629           friendly to subclasses and not require them to know all internals
4630           of their parent class.
4631
4632 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4633
4634         * docs/libs/gstreamer-libs-sections.txt:
4635         * libs/gst/base/gstcollectpads.c:
4636         * libs/gst/base/gstcollectpads.h:
4637           Add sub-buffer functions to collectpads. Fixes #516187.
4638           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4639
4640 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4641
4642         * gst/gstbuffer.c:
4643           Copy selected buffer-flags when creating subbuffers.
4644           Fixes #516395.
4645
4646 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4647
4648         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4649         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4650         * gst/gstmessage.c: (gst_message_class_init),
4651         (gst_message_finalize):
4652         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4653         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4654         (gst_mmap_buffer_finalize):
4655         Properly chain up finalize functions to the parent class.
4656
4657 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4658
4659         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4660
4661         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4662         (gst_index_set_resolver_full):
4663         * gst/gstindex.h:
4664         Add new function with option to dispose of user_data in resolver.
4665         Actually call the dispose function when finalizing the object and not
4666         just when changing the resolver/filter.
4667         API: GstIndex::gst_index_set_resolver_full()
4668
4669         * docs/gst/gstreamer-sections.txt:
4670         Add new function to docs. Fixes #515469.
4671
4672 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4673
4674         * gst/gstindex.c: (gst_index_finalize):
4675         Chain up finalize to the parent class. Fixes leaking the GstObject
4676         name and other things.
4677
4678 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4679
4680         * configure.ac:
4681         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4682         pre-releases or releases.
4683
4684         * docs/faq/gst-uninstalled:
4685         Add gst-plugins-gl
4686
4687         * docs/random/release:
4688         Change one of the steps - we only upload core & base to Gnome FTP
4689
4690 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4691
4692         * gst/gstconfig.h.in:
4693           Add 'id' for example.
4694
4695         * gst/gstpad.c:
4696         * gst/gstutils.c:
4697         * plugins/elements/gstfdsink.c:
4698           Link to signals. Doc and comment fixes.
4699
4700 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4701
4702         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4703         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4704           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4705           unused and unimplemented; finally, it is plugin features, not
4706           plugins, that have ranks.
4707           
4708 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4709
4710         * gst/gstpluginfeature.h:
4711           Clarify GstRank range docs.
4712
4713 2008-02-05  David Schleef  <ds@schleef.org>
4714
4715         * gst/gst.c: Add a separate gst_deinitialized that prevents
4716           gst_init() from being called after gst_deinit().  Fixes #509559
4717
4718 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4719
4720         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4721         (gst_bin_class_init):
4722         * gst/gstelement.c: (gst_element_base_class_init),
4723         (gst_element_class_add_pad_template):
4724         * gst/gstpadtemplate.c: (gst_pad_template_init):
4725         * gst/gstpipeline.c: (gst_pipeline_get_type),
4726         (gst_pipeline_base_init), (gst_pipeline_class_init):
4727         * libs/gst/base/gstbasesink.c:
4728         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4729         (gst_base_src_base_init), (gst_base_src_class_init):
4730         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4731         (gst_capsfilter_class_init):
4732         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4733         (gst_fake_sink_class_init):
4734         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4735         (gst_fake_src_class_init):
4736         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4737         (gst_fd_sink_class_init):
4738         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4739         (gst_fd_src_class_init):
4740         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4741         (gst_file_sink_class_init):
4742         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4743         (gst_file_src_class_init):
4744         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4745         (gst_identity_class_init):
4746         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4747         (gst_multi_queue_class_init):
4748         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4749         (gst_queue_class_init):
4750         * plugins/elements/gsttee.c: (gst_tee_base_init),
4751         (gst_tee_class_init):
4752         * plugins/elements/gsttypefindelement.c:
4753         (gst_type_find_element_base_init),
4754         (gst_type_find_element_class_init):
4755         * tests/check/gst/gstelement.c: (gst_element_suite):
4756         Revert previous changes to the behaviour of GstPadTemplates, etc
4757         and the possiblity to call them in class_init as it breaks too
4758         many elements. Reopens bug #491501.
4759
4760         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4761         several places.
4762
4763 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4764
4765         * tools/gst-launch.c:
4766         Dump one graph per pipeline state-change and state change name
4767         (if GST_DEBUG_DUMP_DOT_DIR is set).
4768
4769 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4770
4771         * gst/gstpad.c:
4772         * tests/check/gst/gstpad.c:
4773         Be sure that we have a new copy of the caps and not
4774         reffed caps from a template
4775
4776 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4777
4778         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4779         * gst/gstpipeline.c: (gst_pipeline_get_type),
4780         (gst_pipeline_class_init):
4781         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4782         (gst_base_sink_class_init):
4783         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4784         (gst_base_src_class_init):
4785         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4786         (gst_base_transform_class_init):
4787         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4788         (gst_collect_pads_class_init):
4789         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4790         * libs/gst/net/gstnettimeprovider.c:
4791         (gst_net_time_provider_base_init),
4792         (gst_net_time_provider_class_init):
4793         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4794         (gst_capsfilter_class_init):
4795         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4796         (gst_fake_sink_class_init):
4797         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4798         (gst_fake_src_class_init):
4799         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4800         (gst_fd_sink_class_init):
4801         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4802         (gst_fd_src_class_init):
4803         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4804         (gst_file_sink_class_init):
4805         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4806         (gst_file_src_class_init):
4807         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4808         (gst_identity_class_init):
4809         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4810         (gst_multi_queue_class_init):
4811         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4812         (gst_queue_class_init):
4813         * plugins/elements/gsttee.c: (gst_tee_base_init),
4814         (gst_tee_class_init):
4815         * plugins/elements/gsttypefindelement.c:
4816         (gst_type_find_element_base_init),
4817         (gst_type_find_element_class_init):
4818         Don't use base_init where not absolutely necessary. For example it's
4819         not necessary anymore for adding pad templates or setting element
4820         details.
4821
4822         Leave empty base_init functions in several places as GST_BOILERPLATE
4823         still defines and uses them.
4824
4825 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4826
4827         * gst/gstelement.c: (gst_element_base_class_init),
4828         (gst_element_class_add_pad_template):
4829         * gst/gstpadtemplate.c:
4830         Make it possible (and recommended) to set element details and add
4831         pad templates in the class_init functions by copying the details/pad
4832         templates in GstElement's base_init.
4833
4834         Also make it possible to replace existing pad templates by adding
4835         a new one with the same name. This was done in a hackish fashion
4836         in same elements before already.
4837
4838         Don't reference pad templates that are added a second time. A
4839         new pad template has a refcount of one and is not floating anymore
4840         and to be owned by the element's class. Make this more explicit by
4841         mentioning it in the docs of gst_element_class_add_pad_template().
4842
4843         These changes are backwards compatible. Fixes bug #491501.
4844
4845         * tests/check/gst/gstelement.c:
4846         Add unit test for setting element details, adding pad templates and
4847         replacing them in a subclass.
4848
4849 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4850
4851         * tools/gst-inspect.c: (print_interfaces),
4852         (print_element_properties_info), (print_pad_info),
4853         (print_signal_info), (print_element_info):
4854         Fix a few memory leaks.
4855
4856 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4857
4858         * docs/libs/gstreamer-libs-sections.txt:
4859         * libs/gst/check/gstcheck.c:
4860         * libs/gst/check/gstcheck.h:
4861         Add more functions for unit testing: gst_check_drop_buffers,
4862         gst_check_caps_equal, gst_check_element_push_buffer_list,
4863         gst_check_element_push_buffer
4864         API: gst_check_drop_buffers
4865         API: gst_check_caps_equal
4866         API: gst_check_element_push_buffer_list
4867         API: gst_check_element_push_buffer
4868
4869 2008-02-01  Julien Moutte  <julien@fluendo.com>
4870
4871         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4872         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4873         (gst_index_finalize), (gst_index_entry_free),
4874         (gst_index_add_association): Fix memory leaks.
4875         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4876         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4877         (gst_mem_index_free_format), (gst_mem_index_free_id),
4878         (gst_mem_index_finalize): Fix memory leaks.
4879         * win32/common/config.h: Updated to CVS HEAD.
4880
4881 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4882
4883         * docs/README:
4884           Some more details about how the plugin docs works.
4885
4886         * docs/plugins/gstreamer-plugins-sections.txt:
4887           Whitespace cleanup.
4888
4889 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4890
4891         * gst/parse/grammar.tab.pre.c:
4892         * gst/parse/grammar.tab.pre.h:
4893         * gst/parse/grammar.y:
4894         * gst/parse/lex._gst_parse_yy.pre.c:
4895           Add delayed set-property. This allows to set properties on dynamicaly
4896           created objects (pads in videomxer). Fixes #509391.
4897
4898 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4899
4900         * gst/gstutils.c:
4901         Check if caps are not NULL (fix bug #510194)
4902
4903 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4904
4905         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4906         (gst_base_sink_get_position_paused):
4907         Add fixme regarding EOS in pull mode.
4908         Fix position reporting in PAUSED for negative rates.
4909
4910 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4911
4912         * gst/gstminiobject.c: (gst_mini_object_replace):
4913         When replacing a miniobject, do a quick equality check first so that we
4914         can avoid a ref/unref pair.
4915
4916 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4917
4918         * docs/design/part-synchronisation.txt:
4919         Update some docs.
4920
4921         * docs/plugins/Makefile.am:
4922         * docs/plugins/gstreamer-plugins-docs.sgml:
4923         * docs/plugins/gstreamer-plugins-sections.txt:
4924         * plugins/elements/gstmultiqueue.c:
4925         Add multiqueue to the docs.
4926
4927 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4928
4929         * configure.ac:
4930           Back to CVS
4931
4932 === release 0.10.17 ===
4933
4934 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4935
4936         * configure.ac:
4937           releasing 0.10.17, "Due Negligence"
4938
4939 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4940
4941         * gst/gstutils.c:
4942         Revert caps != NULL check temporarily for 0.10.17 release.
4943
4944 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4945
4946         * gst/gstutils.c:
4947         Check if caps are not NULL (fix bug #510194)
4948
4949 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4950
4951         * gst/gstutils.c:
4952         Fix compilation on systems that have posix timers but no
4953         monotonic clock.
4954         Fixes: #512715
4955         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4956         dot net>
4957
4958 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4959
4960         * tools/gst-inspect.c:
4961         Revert previous commit in preparation for an impromptu 0.10.17 release
4962
4963 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4964
4965         * tools/gst-inspect.c: (print_interfaces),
4966         (print_element_properties_info), (print_pad_info),
4967         (print_signal_info), (print_element_info):
4968         Fix a few memory leaks.
4969
4970 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4971
4972         * configure.ac:
4973         Back to CVS
4974
4975 === release 0.10.16 ===
4976
4977 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4978
4979         * configure.ac:
4980           releasing 0.10.16, "Special Dispensation"
4981
4982 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4983
4984         * configure.ac:
4985           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4986           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4987           not fail when trying to crosscompile on OpenEmbedded (#511750).
4988
4989 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4990
4991         * docs/manuals.mak:
4992         Use $(MAKE) instead of make to fix the build if GNU make is
4993         called different. Fixes bug #510747.
4994
4995 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4996
4997         * gst/gstplugin.c: (_gst_plugin_initialize):
4998           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4999           again, which I broke two commits ago when changing the API
5000           of gst_plugin_register_static(): the g_list_foreach() in
5001           _gst_plugin_register_static still assumed the old function
5002           signature and would therefore fail (re-fixes #510187).
5003
5004         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5005           (_gst_plugin_register_static), (gst_plugin_register_static):
5006           Revert the (technically correct) change to call g_thread_init() from
5007           the pre-main() constructor. This will break programs which call
5008           g_thread_init() without an if (!g_thread_supported()) guard in their
5009           main function. We could just blame it on GLib or the application, but
5010           it's probably best to just avoid this altogether and simply not use
5011           any GLib functions here and use plain old malloc() with a simple
5012           array to store the plugins to register later when gst_init() is
5013           finally called (re-fixes #510187).
5014
5015         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5016           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5017           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5018           (GST_START_TEST), (gst_plugin_suite):
5019           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5020           works.
5021
5022 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5023
5024         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5025           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5026           This makes gtk-doc complain, but results in slightly better
5027           compiler errors. The old _gst_plugin_register_static() is
5028           still guarded, so there'll be a compiler warning about that
5029           instead. Fixes #510187 too.
5030
5031 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5032
5033         * gst/gst.c: (init_post):
5034         * gst/gstplugin.c: (_gst_plugin_register_static),
5035           (gst_plugin_register_static), (_gst_plugin_initialize):
5036         * gst/gstplugin.h: (GstPluginFilter):
5037           Change API of gst_plugin_register_static() to not take
5038           a GstPluginDesc, but rather just take all the arguments
5039           in a GstPluginDesc directly. This is more intuitive and
5040           avoids certain mistakes when porting code from
5041           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5042           Fixes #510187.
5043
5044         * tests/check/gst/gstplugin.c:
5045           Fix up for changed API.
5046
5047 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5048
5049         * docs/faq/legal.xml:
5050           Update FAQ, Totem actually has an exception these days.
5051
5052 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5053
5054         * win32/common/libgstreamer.def:
5055         Add new API declarations
5056
5057 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5058
5059         * gst/gstminiobject.c:
5060           Spelling fixes for the API docs.
5061
5062 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5063
5064         * libs/gst/base/gstbasetransform.c:
5065           Fix long property description for QoS.
5066
5067 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5068
5069         * gst/gst.c:
5070         _gst_trace_on is already provided by gsttrace.h, no need to declare
5071         it ourselves.
5072
5073         * docs/libs/gstreamer-libs-sections.txt:
5074         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5075         and remove strange tcase_add_test which is outputting a warning.
5076
5077         * libs/gst/check/gstcheck.c:
5078         * libs/gst/check/gstcheck.h:
5079         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5080         and define them in gstcheck.c instead of having every .c file whcih
5081         includes gstcheck.h be defining its own copy and relying on symbol
5082         interposing to marry them all, which doesn't work on Solaris.
5083
5084         * tests/check/elements/identity.c: (GST_START_TEST):
5085         Don't define 'buffers' locally, it comes from libgstcheck.
5086
5087         * tests/check/generic/sinks.c: (send_buffer):
5088         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5089
5090         * tests/check/gst/gststructure.c: (GST_START_TEST):
5091         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5092         * tests/check/gst/gstutils.c: (GST_START_TEST):
5093         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5094         Add a bunch of casts to make various constants fit the types
5095         they're being assigned to.
5096
5097 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5098
5099         * gst/gstchildproxy.c:
5100           Improve docs and add some ideas for making this more general-purpose.
5101
5102 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5103
5104         * gst/gst_private.h: (GST_CAT_TYPES):
5105           Add GST_CAT_TYPES, for consistency, and so that the other
5106           debug categories don't make fun of it. Spotted by Saur on IRC.
5107
5108 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5109
5110         * gst/parse/Makefile.am:
5111           Move types.h from EXTRA_DIST to noinst_HEADERS.
5112
5113 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5114
5115         * autogen.sh:
5116           Add -Wno-portability to the automake parameters to stop warnings
5117           about GNU make extensions being used. We require GNU make in almost
5118           every Makefile anyway.
5119
5120         * configure.ac:
5121           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5122           at the same time is required for per target flags.
5123
5124 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5125
5126         * gst/gstmacros.h:
5127           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5128           __GNUC__ is defined before using it.
5129
5130 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5131
5132         * docs/gst/gstreamer-sections.txt:
5133         * gst/gst.c: (init_post):
5134         * gst/gstplugin.c: (_gst_plugin_register_static),
5135           (gst_plugin_register_static), (_gst_plugin_initialize),
5136           (gst_plugin_register_func):
5137         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5138           API: add gst_plugin_register_static() and deprecate
5139           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5140           (#498924).
5141           Also, in _gst_plugin_register_static(), make sure to call
5142           g_thread_init() before calling GLib functions such as
5143           g_list_append() if we're not initialised yet, since that
5144           may lead to random crashes with older GSlice/GLib versions.
5145
5146         * tests/check/gst/gstplugin.c:
5147           Adapt unit test to above changes.
5148
5149 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5150
5151         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5152         * gst/gstcaps.c: (gst_caps_to_string):
5153         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5154           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5155           Yet another gratuitous GString micro-optimisation: add a (private)
5156           function that serialises a structure appending to an existing
5157           GString, so that when we serialise caps we don't need to alloc+free
5158           a throwaway GString for each structure (each of which also entailing
5159           multiple reallocs on the way); also use g_string_sized_new() in
5160           various places with an approximate string length to avoid reallocs
5161           within GString. See #500143.
5162
5163 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5164
5165         * gst/gststructure.c: (gst_structure_id_set_value):
5166           Always check UTF-8 conformance of structure strings and not only
5167           if the debugging system is enabled; reasoning: the behaviour of
5168           the actual code shouldn't really change depending on whether the
5169           debugging system is enabled or not (#508291).
5170
5171 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5172
5173         * Makefile.am:
5174           Remove old coverage target in favour of "make lcov".
5175
5176 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5177
5178         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5179         (gst_base_src_loop):
5180         The start segment for reverse playback goes from start to last_stop.
5181
5182 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5183
5184         Patch by: Peter Kjellerstedt <pkj axis com>
5185
5186         * gst/gstclock.h:
5187         Cast the results from the timeval/spec_to_time macros to what the
5188         docs say it casts to, a GstClockTime. fixes #508175.
5189
5190 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5191
5192         * gst/gstbuffer.c:
5193         Update some comments.
5194
5195         * tools/gst-inspect.c: (print_element_properties_info):
5196         Improve printing of flags.
5197
5198 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5199
5200         * libs/gst/base/gstbasetransform.c:
5201           (gst_base_transform_transform_size):
5202           Print element name with g_warning() if there's a problem
5203           with the unit size.
5204
5205 2008-01-07  David Schleef  <ds@schleef.org>
5206
5207         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5208
5209         * libs/gst/controller/gstcontroller.h:
5210         * libs/gst/controller/gstcontrolsource.h:
5211         * libs/gst/controller/gstinterpolationcontrolsource.h:
5212         * libs/gst/controller/gstlfocontrolsource.h:
5213         * libs/gst/dataprotocol/dataprotocol.h:
5214           Fix empty prototypes.  Fixes bug #507957.
5215
5216 2008-01-07  David Schleef  <ds@schleef.org>
5217
5218         * docs/faq/dependencies.xml: Fix typo.
5219
5220 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5221
5222         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5223         (gst_base_src_loop):
5224         Don't update the last_stop position in do_seek, that's the position we
5225         did a seek to.
5226         Read backwards when we have a negative rate.
5227
5228         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5229         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5230         (filesrc_suite):
5231         Add check for reverse reading.
5232
5233 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5234
5235         Patch by: Alexis Ballier <aballier at gentoo org>
5236
5237         * tests/check/gst/gstabi.c:
5238         * tests/check/gst/struct_ppc64.h:
5239         * tests/check/libs/libsabi.c:
5240         * tests/check/libs/struct_ppc64.h:
5241           Decide which header to include based on the userland ABI target
5242           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5243           for 64-bit userland (#503590).  Might need something similar for
5244           x86 too.
5245
5246 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5247
5248         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5249           Log the reason why fopen fails in addition to the fact that it failed.
5250           
5251 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5252
5253         * gst/parse/parse.l:
5254         Use "%option never-interactive" to prevent useless calls to isatty()
5255         on every input when parsing. Also use "%option noinput" to not define
5256         the static input/yyinput functions which we don't use anyway. This
5257         removes a compiler warning with gcc 4.3 and saves some bytes in the
5258         library.
5259         
5260         * gst/parse/lex._gst_parse_yy.pre.c:
5261         Regenerated for the above change.
5262
5263 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5264
5265         * gst/gstpad.c: (fixate_value):
5266         Don't crash when trying to fixate and empty list.
5267         Fixes #506643.
5268
5269 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5270
5271         * docs/faq/gst-uninstalled:
5272         Clarify the comments to make the usage of this script and what it
5273         does easier to understand.
5274
5275 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5276
5277         * tools/gst-plot-timeline.py:
5278         Add more options to gst-plot-timeline
5279
5280 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5281
5282         * docs/design/part-synchronisation.txt:
5283         Some more info on how the stream_time in GstBaseSink is done.
5284
5285 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5286
5287         * tests/check/generic/sinks.c: (gst_sinks_suite):
5288           Put back the tcase_set_timeout(), apparently it's needed after
5289           all; fix it up in a way that makes things work with valgrind too.
5290
5291 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5292
5293         * gst/gstdebugutils.c:
5294           Add warning when failed to open file for writing.
5295
5296 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5297
5298         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5299
5300         * gst/gstvalue.c: (gst_value_is_fixed):
5301           Optimisation: bail out of the loop as early as possible (#500143).
5302
5303 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5304
5305         * gst/gstcaps.c: (gst_caps_to_string):
5306         * gst/gstinfo.c: (gst_debug_construct_term_color):
5307         * gst/gstparse.c: (gst_parse_launchv):
5308         * gst/gstutils.c: (gst_util_dump_mem):
5309         * gst/gstvalue.c: (gst_value_serialize_any_list),
5310           (gst_value_transform_any_list_string):
5311           Bunch of gratuitous nano-optimisations.
5312
5313 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5314
5315         * tests/check/generic/sinks.c: (async_done_func),
5316           (async_done_eos_func):
5317           Fix leak in unit test (bus sync handler must unref the message
5318           if it returns GST_BUS_DROP). Don't fiddle with the default test
5319           timeout, this is smaller than the current preconfigured value
5320           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5321           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5322
5323 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5324
5325         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5326
5327         * configure.ac:
5328         Check for stdio_ext.h for the filesink changes.
5329
5330         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5331         (gst_file_sink_class_init), (gst_file_sink_init),
5332         (gst_file_sink_dispose), (gst_file_sink_set_property),
5333         (gst_file_sink_get_property), (gst_file_sink_open_file),
5334         (gst_file_sink_close_file):
5335         * plugins/elements/gstfilesink.h:
5336         Add two properties to control the buffering mode and size.
5337         API: GstFileSink::buffer-mode
5338         API: GstFileSink::buffer-size
5339         Fixes #500150.
5340
5341 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5342
5343         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5344         Add some more docs to explain why a FIXME was wrongly added. 
5345
5346 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5347
5348         * gst/gstobject.c:
5349           Fix typo in the gst_object_{ref,unref} documentation.
5350
5351 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5352
5353         * tests/check/libs/controller.c:
5354         * tests/check/libs/typefindhelper.c:
5355         * tests/check/pipelines/parse-launch.c:
5356           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5357           going to be deprecated (see #498924).
5358
5359 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5360
5361         * gst/gsttypefind.c: (gst_type_find_register):
5362           Make gst_type_find_register work for static typefind functions,
5363           ie. allow passing plugin == NULL (prerequisite for #498924).
5364
5365         * gst/gstelementfactory.c: (gst_element_register):
5366           Small docs addition.
5367
5368 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5369
5370         * gst/gstpad.c: (gst_pad_dispose):
5371         Really unlink the peer pad instead of setting the peer pointer to NULL
5372         when we dispose the pad.
5373         This correctly calls the unlink functions and makes sure that the peer
5374         does not have a handle to invalid memory. See #504671.
5375
5376         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5377         Add testsuite for above case.
5378
5379 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5380
5381         Patch by: Peter Kjellerstedt <pkj axis com>
5382
5383         * libs/gst/check/gstcheck.h:
5384           Fix detection of the check version we're compiling against (would
5385           otherwise break if check goes v0.10.0); correctly report the
5386           name of the failed test again in case of failure, instead of
5387           just 'tf' (fixes #504499).
5388
5389 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5390
5391         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5392         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5393         (gst_base_src_loop), (gst_base_src_set_flushing),
5394         (gst_base_src_change_state):
5395         Allow sending EOS to the source to make it send out an EOS event from
5396         the streaming thread.
5397         Update docs and deprecate the old NULL/READY shutdown method.
5398
5399         * tests/check/libs/basesrc.c: (GST_START_TEST),
5400         (gst_basesrc_suite):
5401         Add unit test for controlled shutdown.
5402
5403 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5404
5405         * docs/design/part-synchronisation.txt:
5406         Small updates.
5407
5408         * gst/gstsegment.c: (gst_segment_set_seek),
5409         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5410         (gst_segment_to_running_time):
5411         The seek format can be different from the segment format when the start
5412         and stop values are not to be updated, when we only do a rate change for
5413         example.
5414
5415         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5416         (gst_segment_suite):
5417         Add a testcase for the rate-only seeks, checking that the format is
5418         correctly ignored when start and stop are not updated.
5419
5420 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5421
5422         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5423
5424         * win32/vs8/grammar.vcproj:
5425         * win32/vs8/libgstcontroller.vcproj:
5426         * win32/vs8/libgstreamer.vcproj:
5427         Fix compilation with VS8 and include some missing files.
5428
5429 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5430
5431         * gst/gsttaglist.c:
5432           Small docs addition: mention that the strings returned by
5433           gst_tag_list_get_string*() are in UTF-8 encoding.
5434
5435 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5436
5437         * Makefile.am:
5438           The check-exports stuff moved to common/win32.mak, so include that.
5439
5440 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5441
5442         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5443         (gst_base_src_perform_seek), (gst_base_src_get_range),
5444         (gst_base_src_set_playing), (gst_base_src_change_state):
5445         Make _wait_playing() not check any variables so that we can call this
5446         function from subclasses. Move the checks elsewhere similar to
5447         _wait_preroll() in basesink.
5448         Add some debugging.
5449         Only signal the LIVE cond when we are going back to PLAYING.
5450
5451 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5452
5453         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5454           Use g_remove() and g_rename(). Check result of g_rename(), and
5455           don't leak the open file descriptor if we error out when writing.
5456
5457         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5458           Must check the return value of close() after writing out the new
5459           registry file.  Sometimes write problems such as out-of-diskspace
5460           are only reported when the file is closed and not already during
5461           the write.  This may have caused partial/broken registry files in
5462           some rare circumstances. Should fix #503675.
5463
5464 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5465
5466         * docs/gst/.cvsignore:
5467         * docs/libs/.cvsignore:
5468         * docs/plugins/.cvsignore:
5469         Ignore files generated by new common/* modifications
5470
5471 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5472
5473         * win32/common/libgstbase.def:
5474           Yes, you can also have a <TAB> if you want.
5475
5476 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5477
5478         * win32/common/libgstbase.def:
5479           Add new basetransform API to win export file.
5480
5481 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5482
5483         * tests/check/gst/gstbin.c:
5484           Adjust the test to the refcount change two days ago.
5485
5486 2007-12-14  David Schleef  <ds@schleef.org>
5487
5488         * docs/faq/getting.xml: Fix typo.
5489
5490 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5491
5492         * docs/libs/gstreamer-libs-sections.txt:
5493         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5494           (gst_base_transform_prepare_output_buffer),
5495           (gst_base_transform_set_gap_aware):
5496         * libs/gst/base/gstbasetransform.h:
5497           API: Add gst_base_transform_set_gap_aware() to control whether
5498           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5499           get buffers with this flag at all. Fixes #503231.
5500
5501 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5502
5503         * libs/gst/base/gstbasesink.c:
5504         * libs/gst/base/gstbasesrc.c:
5505         * libs/gst/base/gstbasetransform.c:
5506           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5507           thread. Correct log message in gstbasesrc.c.
5508
5509 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5510
5511         * gst/gstutils.c: (element_find_unconnected_pad):
5512           Fix possible compiler warning (#503417).
5513
5514 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5515
5516         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5517           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5518
5519 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5520
5521         * tools/gst-inspect.c: (print_element_properties_info):
5522           Add support for GstFraction properties.
5523
5524 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5525
5526         * Makefile.am:
5527           Add check-exports target and run it as part of 'make check'
5528           (see #499140 and #493983).
5529
5530         * gst/gst_private.h:
5531         * gst/gstelementfactory.h:
5532         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5533         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5534           (_priv_gst_in_valgrind):
5535         * gst/gstinfo.h: (GstLogFunction):
5536         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5537           (gst_type_find_register):
5538         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5539           (gst_type_find_factory_get_type):
5540         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5541           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5542           (gst_controller_new_valist), (gst_controller_new_list),
5543           (_gst_controller_dispose), (_gst_controller_class_init):
5544         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5545         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5546           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5547           (gst_object_get_controller), (gst_object_set_controller),
5548           (gst_object_suggest_next_sync), (gst_object_sync_values),
5549           (gst_object_set_control_source), (gst_object_get_control_source),
5550           (gst_object_get_value_arrays), (gst_object_get_value_array),
5551           (gst_object_get_control_rate), (gst_object_set_control_rate):
5552         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5553         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5554           Make some functions that should be static static; rename some
5555           private symbols so that they don't get exported; add some FIXME
5556           comments so we can move accidentally exported functions into
5557           our private section in 0.11.
5558
5559         * win32/common/libgstreamer.def:
5560           Add gst_utils_get_timestamp().
5561
5562 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5563
5564         * gst/gstvalue.c:
5565         * gst/gstvalue.h:
5566           Add more missing "Since:" tags to docs.
5567
5568 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5569
5570         * gst/gstutils.c:
5571           Add mising "Since:" to docs.
5572
5573 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5574
5575         * gst/gstplugin.c:
5576           Include "glib-compat-private.h" to fix the build on system with
5577           glib < 2.10. Fixes #503131.
5578
5579 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5580
5581         * gst/gstutils.c:
5582         * gst/gstutils.h:
5583           Actually its not PURE as it gets the time from elsewhere.
5584
5585 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5586
5587         * docs/gst/gstreamer-sections.txt:
5588         * gst/gstclock.h:
5589         * gst/gstdebugutils.c:
5590         * gst/gstinfo.c:
5591         * gst/gstutils.c:
5592         * gst/gstutils.h:
5593         * libs/gst/base/gstbasesink.c:
5594         * tools/gst-launch.c:
5595           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5596           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5597           Thanks Tim for spotting.
5598           API: gst_util_get_timestamp
5599
5600 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5601
5602         * configure.ac:
5603           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5604
5605 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5606
5607         * gst/gststructure.c: (gst_structure_validate_name),
5608           (gst_structure_new_valist), (gst_structure_parse_value),
5609           (gst_structure_from_string):
5610           Don't crash in _from_string() if the structure name is not valid
5611           (fixes #501560).  Allow structure names to start with a number
5612           again (this apparently broke the ubuntu codec installer).
5613
5614         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5615           (GST_START_TEST):
5616           Add unit test for the crash; update unit tests for new behaviour.
5617
5618 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5619
5620         * gst/gstutils.c:
5621         Clarify gst_element_get_compatible_pad() documentation.
5622         Fixes #500919.
5623
5624 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5625
5626         * tests/check/Makefile.am:
5627           Don't forget to dist {gst,libs}/struct_hppa.h.
5628
5629 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5630
5631         * libs/gst/base/gstbasesink.c:
5632           Use new API to get elapsed time.
5633
5634 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5635
5636         * gst/gstdebugutils.c:
5637         * gst/gstinfo.c:
5638           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5639
5640         * tools/gst-launch.c:
5641           Use new API to get elapsed time.
5642
5643 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5644
5645         * docs/gst/gstreamer-sections.txt:
5646         * gst/gstclock.h:
5647         * gst/gstdebugutils.c:
5648         * gst/gstinfo.c:
5649           Rename new API + ChangeLog surgery to remove old name from last entry..
5650
5651 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5652
5653         * docs/gst/gstreamer-sections.txt:
5654         * gst/gstclock.h:
5655         * gst/gstdebugutils.c:
5656         * gst/gstinfo.c:
5657           Now hide the different clock stuff behind a macro.
5658
5659 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5660
5661         * configure.ac:
5662         * gst/gstdebugutils.c:
5663         * gst/gstinfo.c:
5664           Apply the posix-timer check from #361155. Conditionally use the posix
5665           timer for logging. This gives better timestamp precission, less
5666           overhead and no ntp jitter.
5667
5668 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5669
5670         * gst/gstminiobject.c: (gst_mini_object_get_type),
5671         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5672         (gst_mini_object_finalize), (gst_mini_object_copy),
5673         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5674         (gst_mini_object_replace), (param_mini_object_validate),
5675         (gst_param_spec_mini_object_get_type):
5676         Some cleanup and checking against invalid function parameters.
5677
5678 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5679
5680         * docs/gst/gstreamer-sections.txt:
5681         * gst/gstclock.h:
5682         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5683         (gst_systemclock_suite):
5684         Start merging in the easy bits of #361155, the monotonic clock patch.
5685         This one adds a few handy macros with docs and a testsuite.
5686
5687 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5688
5689         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5690         Be a bit smarter when seeking, like, don't try to do a seek when it's
5691         not needed. This avoids errors when the file is not seekable.
5692         Fixes #499771.
5693
5694 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5695
5696         * docs/gst/gstreamer-docs.sgml:
5697         * docs/gst/gstreamer-sections.txt:
5698         * docs/gst/gstreamer.types.in:
5699         * gst/Makefile.am:
5700         * gst/gst.h:
5701         * gst/gstpreset.c:
5702         * gst/gstpreset.h:
5703         * plugins/elements/gstqueue.c:
5704           Due to popular request remove preset interface again. :-(.
5705
5706 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5707
5708         * tools/gst-inspect.c:
5709           Print 'default value' for enums and flags too.
5710
5711 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5712
5713         * docs/random/ensonic/profiling.txt:
5714           More ideas.
5715
5716         * gst/gstbin.c:
5717           Fix typo and give better log output.
5718
5719         * gst/gstdebugutils.c:
5720         * gst/gstdebugutils.h:
5721           More ideas, make graphs a bit smaller and fix param name in macro.
5722
5723 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * gst/gstpreset.c:
5726           Try harder to use the return value from fgets().
5727
5728 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5729
5730         * gst/gstpreset.c:
5731           For theses two fgets we handle the error below.
5732
5733 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5734
5735         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5736         Only send upstream events upstream. Fixes #498746.
5737
5738 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5739
5740         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5741
5742         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5743         (gst_identity_init), (gst_identity_transform_ip),
5744         (gst_identity_set_property), (gst_identity_get_property):
5745         * plugins/elements/gstidentity.h:
5746         Add property to disable handoff signal emission. Fixes #498694.
5747         API: GstIdentity::signal-handoffs
5748
5749 2007-11-21  Julien Moutte  <julien@fluendo.com>
5750
5751         * docs/faq/gst-uninstalled: Yet another missing library for the
5752         uninstalled script (fft)
5753
5754 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5755
5756         * docs/faq/developing.xml:
5757         Add a question about how to submit new translations.
5758
5759         * docs/random/release:
5760         Update the contact email address for the Translation Project
5761
5762         * plugins/elements/gstfdsrc.c:
5763         The parent_class for fdsrc is pushsrc, not GstElement.
5764
5765 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5766
5767         * gst/gstpreset.c:
5768           Plug a leak and fix saving.
5769
5770 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5771
5772         * docs/gst/gstreamer-sections.txt:
5773         Add new gst_preset__get_property_names() function to the docs
5774         to fix the build.
5775
5776 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5777
5778         * gst/gstpreset.c:
5779         * gst/gstpreset.h:
5780           Change _get_preset_names API to return a strv with copies. Add
5781           _get_property_names to allow implementations to filter and provide
5782           good default implementation.
5783
5784 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5785
5786         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5787         script (sdp).
5788
5789 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5790
5791         * gst/gstpreset.c:
5792           More cleanups, docs, and TODOs from comments that now slowly come in.
5793
5794 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5795
5796         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5797         search path.
5798
5799 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5800
5801         * gst/gstpreset.c:
5802           Fix bogus warning and make the property type specific code more
5803           similar.
5804
5805 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5806
5807         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5808         it build on OS X.
5809
5810 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5811
5812         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5813         (gst_bin_add_func), (gst_bin_remove_func),
5814         (gst_bin_change_state_func), (gst_bin_continue_func):
5815         Change email, cleanups add some more debug and comments.
5816         Also set bus and clock on new elements when the pipeline was in error.
5817
5818 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5819
5820         * gst/gstbin.c:
5821         * gst/gstdebugutils.c:
5822           Fix build with --disable-gst-debug. Fixes #497859.
5823           Spotted by Sameer Naik.
5824
5825 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5826
5827         * gst/gstevent.c:
5828           Little documentation improvment.
5829
5830         * gst/gstpreset.c:
5831           More TODO cleanups. Remove c++ comments.
5832
5833         * libs/gst/controller/gstcontroller.c:
5834           Add TODO and use quark from static string.
5835
5836         * tests/check/gst/gstmessage.c:
5837         * tests/check/gst/gststructure.c:
5838           Use quark from static string.
5839
5840 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5841
5842         * gst/gstpreset.c:
5843           Add some comments and TODOs.
5844
5845         * gst/gstpreset.h:
5846           Add padding for future changes.
5847
5848         * plugins/elements/gstqueue.c:
5849           Implement the iface.    
5850
5851 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5852
5853         * docs/gst/gstreamer-docs.sgml:
5854         * docs/gst/gstreamer-sections.txt:
5855         * docs/gst/gstreamer.types.in:
5856         * gst/Makefile.am:
5857         * gst/gst.h:
5858         * gst/gstpreset.c:
5859         * gst/gstpreset.h:
5860           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5861
5862 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5863
5864         * configure.ac:
5865
5866         Back to CVS
5867
5868 === release 0.10.15 ===
5869
5870 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5871
5872         * configure.ac:
5873           releasing 0.10.15, "October"
5874
5875 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5876
5877         * win32/vs6/libgstreamer.dsp:
5878         Convert line endings back to DOS.
5879
5880 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5881
5882         * docs/design/draft-tagreading.txt:
5883         * docs/random/ensonic/profiling.txt:
5884         Update fast tagreading draft and performance profiling ideas.
5885
5886 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5887
5888         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5889         Don't hold the object lock when unreffing a buffer because it could
5890         cause a deadlock when the finalize function wants to grab the object
5891         lock too. Fixes #495133.
5892
5893 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5894
5895         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5896         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5897         Also accumulate time correctly when doing reverse playback. Fixes
5898         #488201,
5899         When converting to running and stream time, use default values for
5900         start/stop/time/accum when comparing different formats. Fixes #494245.
5901
5902         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5903         Do running/stream time in TIME format.
5904
5905         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5906         (gst_segment_suite):
5907         2 new unit tests for segment accumulation.
5908
5909 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5910
5911         * gst/gst.c: (init_pre):
5912         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5913           (_gst_debug_bin_to_dot_file):
5914           Move getenv() back into gst_init, so everyone can live happily
5915           ever after. Make sure the symbol isn't exported though.
5916
5917 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5918
5919         Patch by: Sebastien Moutte  <sebastien moutte net>
5920
5921         * win32/common/gstenumtypes.c:
5922         * win32/common/gstenumtypes.h:
5923           Update enum types.
5924
5925         * win32/vs6/libgstreamer.dsp:
5926           Update vs6 project files (#494343).
5927
5928 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5929
5930         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5931         (gst_base_src_perform_seek), (gst_base_src_default_event),
5932         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5933         (gst_base_src_activate_pull):
5934         Unify flushing code, remove some old unlock code that is no longer used.
5935         Take the streaming lock when seeking to avoid races. Fixes #492729.
5936         Added some more comments.
5937
5938 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5939
5940         * gst/gst.c: (_gst_disable_segtrap):
5941           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5942           we can use gst_segtrap_is_enabled() there now that we have that API.
5943           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5944           to do the getenv here (and export the variable).
5945
5946         * gst/gstdebugutils.c: (debug_dump_element),
5947           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5948           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5949
5950         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5951           (gst_debug_log_default):
5952           Rename _gst_info_start_time to priv_gst_info_start_time so it
5953           doesn't get exported (was never in any header).
5954
5955         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5956           (gst_plugin_loading_mutex):
5957           Make static mutex gst_plugin_loading_mutex really static (was never
5958           in any header), and use gst_segtrap_is_enabled() instead of
5959           _gst_disable_segtrap.
5960
5961         * gst/gsttrace.c: (_gst_trace_default):
5962           Make local _gst_trace_default static (was never in any header).
5963
5964 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5965
5966         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5967
5968         * win32/common/libgstbase.def:
5969         * win32/common/libgstcontroller.def:
5970         * win32/common/libgstdataprotocol.def:
5971         * win32/common/libgstnet.def:
5972         * win32/common/libgstreamer.def:
5973           Add more missing symbols, remove some duplicates, and sort
5974           as the 'sort' command sorts it (partially fixes #493983).
5975
5976 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5977
5978         * gst/gstelement.c: (gst_element_set_state_func):
5979         Only change the state cookie if a different state was set on the
5980         element. See #492729.
5981
5982 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5983
5984         * gst/gstvalue.c:
5985           Remove unused and uninitialised type variables that were still
5986           exported for some reason (they were never in any header files
5987           though).
5988
5989 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5990
5991         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5992         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5993         (gst_base_sink_event), (gst_base_sink_get_position_last),
5994         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5995         (gst_base_sink_change_state):
5996         Don't try to report a 0 position when we don't know, return -1 and FALSE
5997         instead. This mostly happens when we are prerolling.
5998         Make sure we can report the right position before we post the ASYNC_DONE
5999         message so that a message handler can query position without races.
6000
6001         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6002         (async_done_handoff), (async_done_func), (send_buffer),
6003         (async_done_eos_func), (gst_sinks_suite):
6004         Add two tests for the above.
6005
6006 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6007
6008         * MAINTAINERS:
6009         Update with new email address.
6010
6011         * docs/design/part-TODO.txt:
6012         Add some more info about future pad-block and negotiation changes.
6013
6014         * docs/design/part-buffering.txt:
6015         Add some ideas about buffering reporting.
6016
6017 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6018
6019         * tests/check/gst/gstobject.c:
6020         Disable silly racy test that always fails on this combination of CPU
6021         and kernel.
6022
6023 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6024
6025         Patch by: Murray Cumming  <murrayc@murrayc.com>
6026
6027         * gst/gstobject.c:
6028           Corrected the registration of the parent-set and parent-unset
6029           signals: The parameter is a GstObject, not a GObject (#493134).
6030
6031 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6032
6033         * gst/gst_private.h:
6034         * gst/gstbuffer.h:
6035         * gst/gstevent.h:
6036         * gst/gstformat.h:
6037         * gst/gstmessage.h:
6038         * gst/gstplugin.h:
6039         * gst/gstquery.h:
6040         * gst/gsttaglist.h:
6041         * gst/gstvalue.h:
6042           Move declaration of private _gst_foo_initialize() functions into
6043           our private header file where they should have been all along.
6044
6045 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6046
6047         * docs/plugins/gstreamer-plugins-sections.txt:
6048         * gst/gstdebugutils.h:
6049         * gst/gstxml.h:
6050         * plugins/elements/gstqueue.c:
6051           gtk-doc fixes; trailing-comma-in-enum fix.
6052
6053 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6054
6055         * gst/gst.c: (gst_deinit):
6056           Clean up on deinit (not the external ones though, doesn't seem to be
6057           needed for some reason).
6058
6059 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6060
6061         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6062           Remove __declspec(dllimport) for MSVC that was copied over into core
6063           from a plugin, obviously without ever having been tested (note the
6064           single underscore in _declspec in the initial commit), and that doesn't
6065           really make sense.  See #492077.
6066
6067 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6068
6069         * gst/gst.c: (init_post):
6070         * gst/gstevent.c: (_gst_event_initialize):
6071         * gst/gstquery.c: (_gst_query_initialize):
6072         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6073           g_type_class_ref() other types as well, see #349410 and #64764.
6074
6075         * gst/gstbuffer.c: (_gst_buffer_initialize):
6076         * gst/gstmessage.c: (_gst_message_initialize):
6077           Simplify existing g_type_class_ref().
6078
6079 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6080
6081         * gst/gstformat.c: (_gst_format_initialize):
6082           g_type_class_ref() our GstFormat type to make sure we avoid the
6083           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6084           bug #64764. Should fix intermittent tee unit test failures (#474823).
6085
6086 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6087
6088         * tests/check/elements/tee.c: (test_num_buffers):
6089           Simplify, simplify, simplify - or not.  Rewrite unit test
6090           not to use gst_parse_launch(); allow N sub-streams. Increasing
6091           the number of sub-streams seems to reproduce #474823 more easily.
6092
6093 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6094
6095         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6096
6097         * gst/gsttrace.c:
6098         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6099         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6100         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6101           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6102           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6103           so use _pipe() directly (#492077).
6104
6105         * win32/common/dirent.c: (_treaddir):
6106           Add a couple of casts to make it build without warnings with MSVC.
6107
6108         * win32/common/libgstreamer.def:
6109           Add some more symbols that need to be exported.
6110
6111 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6112
6113         * tests/examples/metadata/read-metadata.c: (message_loop):
6114           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6115           arriving in a second or third tag message are added to
6116           the tag list as well.
6117
6118 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6119
6120         * libs/gst/base/gstbasesrc.c:
6121           Its "Since:" and not "@Since:". And remove an superflous cast.
6122
6123 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6124
6125         * docs/libs/gstreamer-libs-sections.txt:
6126         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6127         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6128         (gst_base_sink_get_property), (gst_base_sink_render_object),
6129         (gst_base_sink_preroll_object),
6130         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6131         (gst_base_sink_change_state):
6132         * libs/gst/base/gstbasesink.h:
6133         Add a new last-buffer property that contains the last buffer used in
6134         basesink for preroll or rendering. useful for making snapshots.
6135         API: gst_base_sink_get_last_buffer()
6136         API: GstBaseSink::last-buffer
6137
6138 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6139
6140         * docs/gst/running.xml:
6141         * gst/gst.c:
6142         * gst/gstdebugutils.c:
6143         * gst/gstdebugutils.h:
6144         * tools/gst-launch.c:
6145           Improve bin graph dumping, by using the envvar to specify a path.
6146           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6147
6148 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6149
6150         * plugins/elements/gsttypefindelement.c:
6151           (gst_type_find_element_handle_event),
6152           (gst_type_find_element_activate):
6153           Post special error message if we can't determine the type of a stream
6154           because it's empty.
6155
6156 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6157
6158         * docs/gst/running.xml:
6159         * gst/gstdebugutils.c:
6160           Document new env-var. Add one log-line after dumpng a graph.
6161
6162 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * configure.ac:
6165           Ugly hack to put the (recently removed and non-portable, apparently)
6166           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6167           GNU ld, because without that 'make check' fails miserably on my debian
6168           stable box.  Someone with more knowledge of linker intricacies and
6169           portability issues than me fix this properly please.
6170
6171 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6172
6173         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6174         Reset last seen position after flushing so that we don't report the old
6175         position anymore.
6176
6177 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6178
6179         * gst/gstelementfactory.c: (gst_element_register):
6180         * gst/gsturi.h:
6181         Patch from Alessandro Decina adding get_type_full and
6182         get_protocols_full private vfuncs to the URIHandler interface
6183         to allow bindings to support creating URI handlers. 
6184         Partially fixes: #339279
6185         API: GstURIHandlerInterface::get_type_full
6186         API: GstURIHandlerInterface::get_protocols_full
6187
6188 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6189
6190         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6191         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6192         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6193         Make it so that pads are considered linked until a buffer is pushed
6194         and discovered otherwise. This avoids problems with decodebin2 hanging
6195         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6196         case.
6197
6198         Make sure we lock the multiqueue when updating the max-size properties.
6199         
6200         Fix a crash on Solaris in a debug statement in get_request_pad that
6201         passes a NULL string to GST_DEBUG. 
6202
6203         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6204         (run_output_order_test):
6205         Fix the test to allow the first buffer on not-linked pads to come out
6206         of sequence while multiqueue discovers that they are not-linked.
6207
6208 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6209
6210         * configure.ac:
6211         * libs/gst/check/Makefile.am:
6212         Use a custom export symbol regex for libgstcheck, as it needs
6213         to export symbols that don't match the standard GStreamer gst_*
6214         pattern, and  --export-dynamic is not portable (only works on 
6215         GNU ld)
6216
6217         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6218         (gst_check_setup_sink_pad):
6219         Make sure to pass a message parameter to the fail_* macros.
6220
6221         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6222         Fix some compiler warnings.
6223
6224 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6225
6226         * tests/check/gst/gststructure.c: (test_to_string):
6227           Disable test that checks that white spaces are not allowed
6228           in structure names or field names, since we need to
6229           support that for now for backwards compatibility reasons.
6230
6231 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6232
6233         * docs/gst/gstreamer-sections.txt:
6234         * gst/gsttaglist.c:
6235         * gst/gsttaglist.h:
6236           API: add GST_TAG_ARTIST_SORTNAME
6237           API: add GST_TAG_ALBUM_SORTNAME
6238           API: add GST_TAG_TITLE_SORTNAME
6239           Add tag variants for sorting (#414539).
6240
6241 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6242
6243         * gst/gststructure.c:
6244           Also allow white space for names so we don't break
6245           backwards compatibility.
6246
6247 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6248
6249         * docs/design/part-TODO.txt:
6250         * docs/design/part-segments.txt:
6251         * docs/design/part-streams.txt:
6252         Small updates.
6253
6254 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6255
6256         * docs/gst/gstreamer-sections.txt:
6257          Fixed documentation from my previous commit (added new API add
6258          gst_value_set_structure(), add gst_value_get_structure() and
6259          GST_VALUE_HOLDS_STRUCTURE).
6260
6261 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6262
6263         * gst/gstdebugutils.c:
6264           Reflow code to fix uninitialized variable warning.
6265
6266 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6267
6268         * gst/gstcaps.c: (gst_caps_to_string),
6269         (gst_caps_from_string_inplace):
6270         * gst/gststructure.c: (gst_structure_get_abbrs),
6271         (gst_structure_to_string), (gst_structure_from_string):
6272         * gst/gstvalue.c: (gst_value_set_structure),
6273         (gst_value_get_structure), (gst_value_serialize_structure),
6274         (gst_value_deserialize_structure), (_gst_value_initialize):
6275         * gst/gstvalue.h:
6276         * tests/check/gst/gststructure.c: (GST_START_TEST),
6277         (gst_structure_suite):
6278         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6279          Added GstStructure to gst_value_table and its related functions.
6280          Changed gst_structure_to_string to print ';' in the end.
6281          Changed gst_caps_to_string to not print ';' beteween its
6282          fields (structures) anymore and remove the lastes ';' from latest
6283          structure. Now it is possible to have nested structures.
6284          In addition, backward compatibilty is assured by accepting '\0' as
6285          end delimiter. Fixes: #487969.
6286          API: add gst_value_set_structure()
6287          API: add gst_value_get_structure()
6288          API: add GST_VALUE_HOLDS_STRUCTURE
6289
6290 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6291
6292         * gst/gstbus.c:
6293           When no GSource callback has been set up, tell developer
6294           to use a function that actually exists.
6295
6296 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6297
6298         * docs/gst/gstreamer-sections.txt:
6299         * gst/Makefile.am:
6300         * gst/gst.c:
6301         * gst/gst.h:
6302         * gst/gstdebugutils.c:
6303         * gst/gstdebugutils.h:
6304         * gst/gstinfo.c:
6305         * gst/gstinfo.h:
6306         * tools/gst-launch.c:
6307           Allow dumping pipelines as dot graphs. Fixes #456573.
6308
6309 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6310
6311         * gst/gststructure.c:
6312           Allow '+' as well, it can be part of media or mime types
6313           such as image/svg+xml.
6314
6315 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6316
6317         * docs/gst/gstreamer-sections.txt:
6318         * gst/gstbus.c:
6319         * gst/gstbus.h:
6320           API: add gst_bus_pop_filtered
6321           API: add gst_bus_timed_pop_filtered
6322           Two new functions for waiting for specific message types on the
6323           bus for a specified amount of time without iterating any main
6324           loops or main contexts.
6325
6326         * tests/check/gst/gstbus.c:
6327           Some tests for the new functions.
6328
6329 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6330
6331         * docs/libs/gstreamer-libs-sections.txt:
6332           Make gtk-doc ignore stuff it should ignore.
6333
6334 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6335
6336         * libs/gst/check/gstcheck.c:
6337         * libs/gst/check/gstcheck.h:
6338           Allow runtime selection of unit tests to run via the GST_CHECKS
6339           environment variable (test case function names, comma-separated).
6340
6341 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6342
6343         * gst/gststructure.c:
6344         * tests/check/gst/gststructure.c:
6345           Revert serialisation change and constrain structure-names after
6346           consensus on irc. Update api documentation to reflect the change.
6347
6348 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6349
6350         * gst/gststructure.c:
6351           Improve serialization and fix tests.
6352
6353         * tests/check/gst/gststructure.c:
6354           Add another test that covers why I actually did the previous structure
6355           change.
6356
6357 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6358
6359         * tools/gst-inspect.c: (print_element_info):
6360         Don't crash when inspecting an element.
6361
6362 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6363
6364         * tests/check/gst/gststructure.c:
6365           Add unit test for escaping of structure name when serialising
6366           and deserialising to/from strings.
6367
6368 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6369
6370         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6371         (gst_single_queue_new):
6372         * plugins/elements/gstqueue.c: (gst_queue_init),
6373         (gst_queue_push_one):
6374         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6375         upstream is tricked into thinking it can suggest a format downstream
6376         while downstream does not support that format. The real problem is that
6377         core calls acceptcaps when pushing a buffer with new caps, for which we
6378         do a little workaround by setting the caps on the srcpad ourselves
6379         before pushing the buffer (until this is figured out). Fixes #486758.
6380
6381 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6382
6383         * gst/gststructure.c:
6384         * gst/gstvalue.c:
6385           Add some more comments and debug output. Quote structure name to fix
6386           deserialisation of some strings.
6387
6388 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6389
6390         * gst/gstbuffer.h:
6391           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6392           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6393
6394 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6395
6396         * tools/gst-inspect.c:
6397           Save approx. 400 1 byte allocs when printing. Use API to acces element
6398           details.
6399
6400         * tools/gst-run.c:
6401           Avoid a strdup.
6402
6403         * tools/gst-xmlinspect.c:
6404           Use API to acces element details.
6405
6406 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6407
6408         * gst/gstinfo.c:
6409           Fix some spelling errors.
6410
6411 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6412
6413         * gst/gstbin.c: (bin_handle_async_done):
6414         Correctly set the next state if all of our async children commited their
6415         state. This makes sure we can actually cancel the state change in
6416         progress. Fixes a regression in Rhythmbox when seeking.
6417
6418 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6419
6420         * gst/gstbin.c:
6421           Don't shadow local variable.
6422
6423         * gst/gstinfo.c:
6424           Don't shadow global function name.
6425
6426 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6427
6428         * gst/gstelementfactory.c:
6429         * gst/gstpluginfeature.c:
6430         * gst/gstpluginfeature.h:
6431         * gst/gstregistrybinary.c:
6432         * gst/gstregistryxml.c:
6433         * gst/gsttypefind.c:
6434           Use already-interned string for the private GstPluginFeature
6435           plugin_name field.
6436
6437 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6438
6439         * docs/libs/gstreamer-libs-sections.txt:
6440           Add new API to docs; fixes the build.
6441
6442 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6443         
6444         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6445
6446         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6447         (gst_base_sink_event):
6448         * libs/gst/base/gstbasesink.h:
6449         Add function to wait for EOS, subclasses can use this to correctly wait
6450         for devices to drain before performing the EOS logic. Fixes #485343.
6451         API: gst_base_sink_wait_eos()
6452
6453 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6454
6455         * gst/gstplugin.h:
6456           Cast description string constants in GST_PLUGIN_DEFINE macros
6457           to a (gchar*) to make C++ code using these macros compile
6458           without warning with g++-4.2 (see #462737).  Even if slightly
6459           ugly, this seems preferable to putting the description strings
6460           into the GLib quark table or making the structure member a
6461           const gchar * and doing casts in core code that allocs and
6462           frees these strings, or requiring a cast in the C++ code.
6463
6464 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6465
6466         * gst/gstinfo.h:
6467           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6468           to print the entire class/function signature into the log
6469           file for C++ code.  This only affects C++ code, for C code
6470           everything remains the same.
6471
6472 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6473
6474         * gst/gstbin.c: (remove_from_queue):
6475         Work around a problem with pipelines containing (semi)loops until a
6476         proper, more complicated solution is ready. See #475455.
6477
6478 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6479
6480         * gst/gstplugin.c:
6481         * gst/gstplugin.h:
6482         * gst/gstregistrybinary.c:
6483         * gst/gstregistryxml.c:
6484           Put more strings into the GLib quark table. No need to keep
6485           a hundred-something copies of identical version strings,
6486           license strings, package name strings and package origin
6487           strings around. 
6488
6489 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6490
6491         * docs/manual/advanced-dataaccess.xml:
6492           Don't imply that it's okay to unconditionally change
6493           buffer data or buffer metadata in a pad probe callback,
6494           and a bunch of other comments. Fixes #430031.
6495
6496 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6497
6498         * win32/common/gstenumtypes.c:
6499         * win32/common/gstenumtypes.h:
6500         * win32/common/gstversion.h:
6501           Update generated files.
6502
6503 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6504
6505         * docs/manual/advanced-autoplugging.xml:
6506           Prefix section with broken code with a warning (see #342432).
6507
6508 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6509
6510         * docs/manual/appendix-integration.xml:
6511         * docs/manual/basics-init.xml:
6512           Call g_thread_init() before g_option_context_new() to
6513           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6514
6515 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6516
6517         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6518         (gst_base_sink_queue_object_unlocked),
6519         (gst_base_sink_queue_object), (gst_base_sink_event),
6520         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6521         When we received EOS and are waiting for when to post the EOS message,
6522         our state is prerolled and we should not return ASYNC.
6523         Reorganize some code paths to implement this behavior.
6524
6525         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6526         (gst_sinks_suite):
6527         Add unit test to verify above EOS fix.
6528
6529 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6530
6531         * plugins/elements/gsttypefindelement.c:
6532         (gst_type_find_element_have_type), (gst_type_find_element_init),
6533         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6534         Move detecting the input caps of the sinkpad to the setcaps function.
6535         This allows us to update the output caps when we receive new input caps
6536         instead of always using the first detected caps.
6537
6538 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6539
6540         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6541         (gst_base_sink_get_position):
6542         Don't try to preroll non-async elements after a flush.
6543         Subtract latency form clock times when reporting position.
6544
6545 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6546
6547         * gst/gstpad.c: (gst_pad_pause_task):
6548         * gst/gstutils.c:
6549         Small comment and documentation update.
6550
6551 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6552
6553         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6554         (gst_base_src_set_live), (gst_base_src_is_live),
6555         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6556         (gst_base_src_default_event), (gst_base_src_wait),
6557         (gst_base_src_do_sync), (gst_base_src_get_range),
6558         (gst_base_src_pad_get_range), (gst_base_src_loop),
6559         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6560         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6561         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6562         (gst_base_src_change_state):
6563         Rework the locking of basesrc in a similar fashion to basesink. We
6564         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6565         us to handle live sources and semi live ones much better.
6566         Simplify flushing.
6567         Fix unlocking when seeking, shutting down and pausing in live sources.
6568
6569 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6570
6571         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6572         Fix compilation again.
6573
6574 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6575
6576         * gst/gstelement.c:
6577           Use meaningful categories for the logs to clean the default one.
6578
6579 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6580
6581         * tests/check/pipelines/cleanup.c:
6582           Print message name and not just number.
6583
6584 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6585
6586         * docs/design/draft-tagreading.txt:
6587           Add some more thoughts.
6588
6589 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6590
6591         * tests/check/pipelines/simple-launch-lines.c:
6592           Print message name and not just number.
6593
6594 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6595
6596         * libs/gst/base/gsttypefindhelper.c:
6597           Speedup typefinding. This is work in progress (see #459862).
6598
6599 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6600
6601         * gst/gstplugin.c:
6602           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6603           Spotted by Josep Torra Valles <josep@fluendo.com>.
6604
6605 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6606
6607         * gst/gstclock.h:
6608           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6609           field has moved to GstObject.
6610
6611 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6612
6613         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6614         (gst_base_src_get_range), (gst_base_src_change_state):
6615         Call unlock for live sources so that they can't get stuck in _create and
6616         produce a buffer before they are set back to PLAYING.
6617
6618 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6619
6620         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6621         (gst_queue_locked_dequeue):
6622         Comment the segment-related code... in the PROPER function.
6623         See #482147 and my commit from yesterday.
6624
6625 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6626
6627         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6628         Also initialize the counter that calculates the first timestamp on a
6629         buffer correctly for non-live sources.
6630
6631 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6632
6633         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6634         Disable code that's breaking the current-time-level reporting.
6635         See #482147
6636
6637 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6638
6639         * docs/gst/gstreamer-sections.txt:
6640         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6641         as they shouldn't show up. Fixes the docs build.
6642
6643 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6644         
6645         * gst/gstinfo.h:
6646         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6647         Define M_PI which is used in files which are including gstinfo.h. 
6648         VS6 includes doesn't define it.
6649         * win32/common/libgstbase.def:
6650         * win32/common/libgstcontroller.def:
6651         * win32/common/libgstreamer.def:
6652         Add new exported functions and variables.
6653         * win32/vs6/libgstcontroller.dsp:
6654         * win32/vs6/libgstreamer.dsp:
6655         Update the list of files to build.
6656         
6657 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6658
6659         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6660
6661         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6662         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6663         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6664         Improve debugging. Fixes #480858.
6665
6666 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6667
6668         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6669
6670         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6671         First patch of code cleanups, use the macros and right arguments in the
6672         macros to signal and lock the queue. See #480858.
6673
6674 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6675
6676         * gst/gstbus.c: (poll_func):
6677         Improve debugging when dealing with _poll().
6678
6679 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6680
6681         * gst/gstregistryxml.c:
6682           Fix memory leak I introduced a few days ago.
6683
6684 2007-09-26  Michael Smith <msmith@fluendo.com>
6685
6686         * gst/gstbuffer.c: (gst_buffer_finalize):
6687           Make it once again possible to free GstBuffers in the default
6688           build.
6689           The poisoning scribbles on parts of the miniobject we need in
6690           order to free it.
6691           Fixes #480341
6692
6693 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6694
6695         * docs/gst/gstreamer-sections.txt:
6696         * gst/gsttaglist.c:
6697         * gst/gsttaglist.h:
6698         API: add GST_TAG_COMPOSER, fixes #459809.
6699
6700 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6701
6702         * gst/gstplugin.c:
6703         * gst/gstplugin.h:
6704         Add the 3-clause BSD license and the MIT/X11 license to the license
6705         list. Fixes #479784.
6706
6707 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6708
6709         * docs/faq/getting.xml:
6710           Add Q+A about different GStreamer versions (#364056).
6711
6712 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6713
6714         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6715         (gst_base_sink_event), (gst_base_sink_change_state):
6716         Return correct gboolean from query function.
6717
6718 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6719
6720         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6721         (gst_base_sink_event), (gst_base_sink_query),
6722         (gst_base_sink_change_state):
6723         Simplify latency query.
6724         When not synchronizing, we can report latency without querying the peer
6725         element.
6726
6727 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6728
6729         * gst/gstobject.h:
6730         * gst/gstvalue.c:
6731         Fix small typos in the docs.
6732
6733 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6734
6735         * docs/design/draft-latency.txt:
6736         * docs/design/draft-push-pull.txt:
6737         * docs/design/draft-tagreading.txt:
6738         * docs/design/part-MT-refcounting.txt:
6739         * docs/design/part-activation.txt:
6740         * docs/design/part-block.txt:
6741         * docs/design/part-element-source.txt:
6742         * docs/design/part-events.txt:
6743         * docs/design/part-gstbin.txt:
6744         * docs/design/part-gstelement.txt:
6745         * docs/design/part-gstobject.txt:
6746         * docs/design/part-gstpipeline.txt:
6747         * docs/design/part-messages.txt:
6748         * docs/design/part-preroll.txt:
6749         * docs/design/part-push-pull.txt:
6750         * docs/design/part-qos.txt:
6751         * docs/design/part-query.txt:
6752         * docs/design/part-scheduling.txt:
6753         * docs/design/part-seeking.txt:
6754         * docs/design/part-segments.txt:
6755         * docs/design/part-states.txt:
6756         Documentation updates and typo fixes.
6757
6758 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6759
6760         * plugins/elements/gstfakesink.c:
6761           Add some debug text to error message to indicate that
6762           we errored out on request.
6763
6764         * tools/gst-launch.c:
6765           When the state change to PLAYING fails, check for an
6766           error message on the bus and print it.
6767
6768 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6769
6770         translated by: Jorge González González <aloriel@gmail.com>
6771
6772         * po/LINGUAS:
6773         * po/es.po:
6774           Added Spanish translation.
6775
6776 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6777
6778         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6779         Fix printf arguments.
6780
6781 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6782
6783         * tests/check/generic/states.c:
6784           Improved state change unit test.
6785
6786 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6787
6788         * gst/gstbin.h:
6789           Move priv to the right place.
6790
6791         * gst/gstsystemclock.c:
6792           Add FIXME: and improve log.
6793
6794         * tests/check/Makefile.am:
6795         * tests/examples/manual/Makefile.am:
6796           Work with all types of registries.
6797
6798 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6799
6800         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6801         Don't unref the event after pushing it. Fixes #478401.
6802
6803 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6804
6805         * .cvsignore:
6806         * tests/examples/manual/.cvsignore:
6807           Ignore registries in any format.
6808
6809 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6810
6811         * gst/glib-compat-private.h:
6812           Add compatibility macro for g_intern_string() for
6813           GLib-2.8 (any reason we can't just bump the
6814           requirement to at least 2.10?)
6815
6816         * gst/gstpadtemplate.h:
6817         * gst/gstelementfactory.c:
6818         * gst/gstregistryxml.c:
6819         * gst/gstregistrybinary.c:
6820           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6821           up the internal code accordingly.  This shouldn't be a problem, since
6822           there is no reason external code could ever assume the string in such
6823           a structure is dynamically allocated unless it did that itself;  the
6824           use of g_strdup() is private to element factories.  The new code also
6825           saves some memory by putting pad template name strings into the GLib
6826           quark table instead of allocating them dynamically.
6827           Declaring this field constant fixes warnings with g++-4.2 when using
6828           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6829
6830 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6831
6832         * gst/gstelementfactory.c:
6833           Release static caps. Fixes #475723.
6834
6835 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6836
6837         * gst/gstinfo.c:
6838         * gst/gstinfo.h:
6839           Make some internal API take const gchar * instead of just
6840           gchar * to avoid compiler warnings with g++-4.2.2 when
6841           passing string constants (partially fixes #478092).
6842
6843 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6844
6845         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6846         A latency query fails when one of the sinks fail.
6847
6848         * gst/gstelement.c: (gst_element_set_base_time):
6849         Improve debugging.
6850
6851 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6852
6853         * gst/gstbin.c: (gst_bin_continue_func):
6854         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6855         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6856         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6857
6858         Fix minor compilation warnings shown with Forte.
6859
6860 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6861
6862         * plugins/elements/gstqueue.c: (apply_buffer),
6863         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6864         Measure queue level based on the diff between head and tail timestamps
6865         even when pushing the first buffer.
6866
6867 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6868
6869         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6870         (gst_base_sink_event), (gst_base_sink_change_state):
6871         Sinks that don't preroll can always be queried for the latency.
6872         Don't post ASYNC start when we are not async.
6873
6874 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6875
6876         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6877         (gst_queue_handle_sink_event), (gst_queue_chain),
6878         (gst_queue_push_one), (gst_queue_handle_src_query),
6879         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6880         * plugins/elements/gstqueue.h:
6881         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6882         push more buffers but allow pushing of EOS and NEWSEGMENT.
6883         Add some more debug info here and there. Fixes #476514.
6884
6885 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6886
6887         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6888         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6889         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6890         (gst_base_sink_set_flushing), (gst_base_sink_query),
6891         (gst_base_sink_change_state):
6892         Latency query is allowed after we are prerolled. Introduce a new flag
6893         for this and stop abusing other variables.
6894
6895 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6896
6897         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6898         Push OOB events downstream when we get them in send_event. This allows
6899         the application to insert events in the pipeline.
6900         Add some more comments.
6901
6902 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6903
6904         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6905         (do_bin_latency), (gst_bin_change_state_func):
6906         * gst/gstpipeline.c: (gst_pipeline_change_state):
6907         Move latency query from GstPipeline to GstBin so that we can also
6908         use it when async-handling is enabled on bins.
6909
6910 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6911
6912         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6913         (gst_base_src_do_sync), (gst_base_src_change_state):
6914         Update docs.
6915         Clean up the timestamping and syncing code for pseudo live sources.
6916
6917 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6918
6919         Patch by: Steve Fink  <sphink gmail com>
6920
6921         * docs/manual/appendix-checklist.xml:
6922           Mention less -R switch in the section about debug output (#474055).
6923
6924 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6925
6926         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6927         Queue can latency to the pipeline up to the configured max size in time.
6928         Report this fact in the latency query.
6929
6930 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6931
6932         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6933
6934         * libs/gst/controller/gstinterpolation.c:
6935         * libs/gst/controller/gstlfocontrolsource.c:
6936         Use gst_guint64_to_gdouble() when converting from a uint64 or
6937         GstClockTime to double to fix the build on win32. Fixes #474371.
6938
6939 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6940
6941         * gst/gstbuffer.c: (gst_buffer_finalize):
6942         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6943         When finalizing a buffer the complete struct is filled with 0xff,
6944         thus making a use of the buffer after the final unref impossible.
6945
6946 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6947
6948         * tests/check/libs/controller.c: (GST_START_TEST):
6949         Use fail_unless_equals_int(a, b) instead of
6950         fail_unless_equals (a == b) to get better output on failures.
6951
6952 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6953
6954         * tests/check/gst/gsturi.c:
6955           Also check for the other file URI variant on win32.
6956
6957 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6958
6959         * gst/gsturi.c: (gst_uri_get_location):
6960           If there's no hostname, we want to return 'c:/foo/bar.txt'
6961           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6962
6963         * tests/check/gst/gsturi.c:
6964           Unit test for the above and a few more things.
6965
6966 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6967
6968         * docs/design/part-live-source.txt:
6969         Add docs on how live sources should timestamp.
6970
6971         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6972         Add some more debug info.
6973         For subclasses that are live and like to sync, add aditional startup
6974         latency to sync time and timestamps so that we timstamp according to the
6975         design doc.
6976
6977 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6978
6979         * gst/gstbuffer.c:
6980           Also do a g_type_class_ref() for the subbuffer type in
6981           the init function.
6982
6983 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6984
6985         * docs/gst/gstreamer-sections.txt:
6986         * gst/gstpad.c: (gst_pad_peer_query):
6987         * gst/gstpad.h:
6988         Add function to perform a query on the peer of a pad.
6989         API: gst_pad_peer_query()
6990
6991 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6992
6993         * tests/check/gst/gstsystemclock.c:
6994           Cleanup the test a little (use gst-logging and not g_message). Improve
6995           test to check if a wait reached the target.
6996
6997 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6998
6999         * docs/libs/gstreamer-libs-sections.txt:
7000           Add new API to docs and fix the build.
7001
7002 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7003
7004         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7005         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7006         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7007         (gst_base_src_get_property), (gst_base_src_do_sync):
7008         * libs/gst/base/gstbasesrc.h:
7009         Add property to make the basesrc timestamp buffers based on the current
7010         running time.
7011         API: GstBaseSrc::do-timestamp
7012         API: gst_base_src_set_do_timestamp()
7013         API: gst_base_src_get_do_timestamp()
7014
7015 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7016
7017         * docs/random/release:
7018           Really make sure translations are up-to-date before
7019           a release (#465010).
7020
7021 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7022
7023         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7024         Always destroy the timer, also in error cases.
7025
7026 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7027
7028         * docs/manual/highlevel-xml.xml:
7029         Fix XML example code. Fixes #472714.
7030
7031 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7032
7033         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7034         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7035         (gst_base_sink_query):
7036         Protect eos and have_preroll with the OBJECT lock so we don't need to
7037         take the PREROLL lock when querying the latency. Fixes #473846.
7038
7039 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7040
7041         * gst/gstelement.c:
7042           Give some log-messages a category.
7043
7044 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7045
7046         * gst/gststructure.c:
7047         (gst_structure_fixate_field_nearest_fraction):
7048         Fix fraction list fixation code. Take the fraction with the smallest
7049         difference with the target instead of the first one in the list.
7050
7051         * tests/check/gst/gststructure.c: (GST_START_TEST),
7052         (gst_structure_suite):
7053         Added test to verify correct fraction list fixation behaviour.
7054
7055 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7056
7057         * win32/common/libgstreamer.def:
7058           Export gst_bus_add_signal_watch too.
7059
7060 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7061
7062         * docs/libs/gstreamer-libs-sections.txt:
7063         Add new methods to docs.
7064
7065         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7066         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7067         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7068         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7069         * libs/gst/base/gstbasesink.h:
7070         Add ts-offset property to fine-tune the synchronisation.
7071         API: GstBaseSink::ts-offset property
7072         API: gst_base_sink_set_ts_offset()
7073         API: gst_base_sink_get_ts_offset()
7074
7075 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7076
7077         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7078         (gst_base_sink_init), (gst_base_sink_set_sync),
7079         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7080         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7081         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7082         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7083         (gst_base_sink_get_property), (gst_base_sink_change_state):
7084         * libs/gst/base/gstbasesink.h:
7085         Add async property to instruct the sink never to inform the parent about
7086         ASYNC state changes, update docs.
7087         Check argument with g_return_* for the public functions.
7088         API: GstBaseSink::async property
7089         API: gst_base_sink_set_async_enabled()
7090         API: gst_base_sink_is_async_enabled()
7091
7092 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7093
7094         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7095         Improve debugging.
7096
7097         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7098         (gst_base_src_default_query), (gst_base_src_wait),
7099         (gst_base_src_do_sync), (gst_base_src_change_state):
7100         Rearrange some code so that we can add support for measuring the 
7101         startup latency.
7102
7103 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7104
7105         * docs/random/ensonic/dynlink.txt:
7106           More thoughs on this.
7107
7108         * plugins/elements/gstcapsfilter.c:
7109           Add bugzilla ticket number to FIXME comment.
7110
7111 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7112
7113         * docs/design/part-TODO.txt:
7114         * docs/design/part-block.txt:
7115         Update some docs.
7116
7117 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7118
7119         * gst/Makefile.am:
7120           Revert patch which uses $(gst_headers) instead of $^ because it
7121           breaks make dist.
7122
7123 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7124
7125         * tests/check/gst/gstbin.c: (GST_START_TEST):
7126           Fix leaks in the new unit test.
7127
7128 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7129
7130         * gst/gst.c:
7131           Don't use GST_INFO before the debug system is actually initialised
7132           (shouldn't do any harm, but won't print anything either, so we can
7133           just as well remove it).
7134
7135         * gst/gstinfo.h:
7136           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7137           compilers that don't support variadic macros (such as MSVC), should
7138           check for debug_level <= __gst_debug_min as well, since that's the
7139           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7140           inline helper functions. Should improve performance a bit, but also
7141           makes sure uses of GST_INFO et.al are ignored if the debugging
7142           system isn't initialised yet (instead of printing an assertion
7143           failure).
7144
7145 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7146
7147         patch by: David Nečas <yeti@physics.muni.cz>
7148
7149         * gst/Makefile.am:
7150           Replace some non portable makefile constructs.
7151
7152 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7153
7154         * common/gtk-doc-plugins.mak:
7155           Grrrrr. Don't remove the types file on make clean.
7156
7157 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7158
7159         * tools/gst-launch.1.in:
7160         Add colorspace to example pipeline. Fixes #458274.
7161
7162 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7163
7164         * docs/random/release:
7165           The release manager should run 'make download-po' before making a
7166           release to make sure translations are up-to-date.
7167
7168         * po/LINGUAS:
7169         * po/be.po:
7170         * po/pl.po:
7171         * po/rw.po:
7172           Add some new translations.
7173
7174 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7175
7176         * tools/gst-launch.c: (event_loop), (main):
7177         Don´t try to do any state management when a live pipeline posts
7178         buffering messages.
7179         Also make the buffering string translatable.
7180
7181 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7182
7183         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7184         (bin_handle_async_start), (gst_bin_handle_message_func):
7185         Improve debugging.
7186         When adding elements, insert messages into the bus of the newly added
7187         element and make sure the element is the source of the message. This
7188         allows the parent bin to intercept the message and do the
7189         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7190         messages to the app (which is not allowed).
7191         Update some docs.
7192
7193         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7194         Fix testsuite so that is does not work around messages that should not
7195         have been posted in the first place.
7196
7197 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7198
7199         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7200         (update_degree), (gst_bin_sort_iterator_next):
7201         Fix annoying bug in the sorted iterator where a sink that is not really
7202         a sink (when it has downstream links) screwed up the iterator.
7203
7204         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7205         Unit test to verify the fix.
7206
7207 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7208
7209         * gst/gstmessage.h:
7210         Add some more docs for the messages.
7211
7212         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7213         (gst_base_sink_query):
7214         Add some more debugging.
7215
7216         * tools/gst-launch.c: (event_loop):
7217         When interrupting, don't try to set pipeline to PAUSED twice.
7218
7219 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7220
7221         
7222         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7223         (bin_handle_async_start), (gst_bin_handle_message_func):
7224         Move ASYNC_START message posting to where it belongs, similar to
7225         async_done. 
7226         Don't post ASYNC_START when we are in error. 
7227         Post ASYNC_START when we added an async element to a bin.
7228
7229 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7230
7231         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7232         generation from vargs. Fixes #466595.
7233
7234 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7235
7236         * gst/gstbin.c: (gst_bin_element_set_state):
7237         Always change the state of a NO_PREROLL element even if it has ASYNC
7238         elements inside (in case of a bin).
7239
7240         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7241         Unit test for this case.
7242
7243 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7244
7245         * libs/gst/check/gstbufferstraw.c:
7246         * libs/gst/check/gstcheck.h:
7247         * libs/gst/controller/gstcontroller.c:
7248         * libs/gst/controller/gstcontrolsource.h:
7249         * libs/gst/controller/gstlfocontrolsource.h:
7250         * plugins/elements/gstcapsfilter.h:
7251         * plugins/elements/gstfdsink.h:
7252         * plugins/elements/gstfdsrc.h:
7253           Add more missing docs.
7254
7255 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7256
7257         * gst/gststructure.c:
7258         Add Since tag to docs.
7259
7260 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7261
7262         * docs/gst/gstreamer-sections.txt:
7263         * gst/gststructure.c: (gst_structure_get_uint):
7264         * gst/gststructure.h:
7265         Add function to get uint from a structure.
7266         API: gst_structure_get_uint()
7267
7268 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7269
7270         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7271         (gst_caps_intersect):
7272         Fix proper check for simple caps.
7273
7274 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7275
7276         * docs/gst/Makefile.am:
7277         * docs/libs/Makefile.am:
7278           Remove cruft and do some cleanups.
7279
7280         * docs/gst/gstreamer-docs.sgml:
7281         * docs/libs/gstreamer-libs-docs.sgml:
7282           Prepare for comming gtkdoc features (rebase against online docs).
7283
7284 2007-08-10  Michael Smith <msmith@fluendo.com>
7285
7286         * docs/gst/gstreamer-sections.txt:
7287           Add gst_registry_add_path to docs.
7288
7289 2007-08-10  Michael Smith <msmith@fluendo.com>
7290
7291         * gst/gstregistry.h:
7292           Add gst_registry_add_path, which was missing from this header.
7293
7294 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7295
7296         * libs/gst/controller/gstlfocontrolsource.c:
7297           Printf format fix.
7298
7299 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7300
7301         * libs/gst/base/gstbasesink.c:
7302           Don't send an async_start message during downwards state change if 
7303           target state is less than READY
7304
7305 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7306
7307         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7308
7309         * po/LINGUAS:
7310         * po/hu.po:
7311           Added Hungarian translation.
7312
7313 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7314
7315         * po/fi.po:
7316         * po/it.po:
7317         * po/nl.po:
7318         * po/sv.po:
7319         * po/uk.po:
7320           Updated translations.
7321
7322 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7323
7324         * libs/gst/controller/Makefile.am:
7325         Dist gstlfocontrolsourceprivate.h
7326
7327 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7328
7329         * docs/libs/gstreamer-libs.types:
7330         Don't register the enum type gst_lfo_waveform_get_type() in the
7331         .types file - only GObject derived types belong.
7332
7333 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7334
7335         Patch by: <arenevier at fdn dot fr>
7336
7337         * gst/gstbuffer.h:
7338         Remove comma from last element in enum to avoid compile errors when
7339         using -pendantic. Fixes #464366.
7340
7341 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7342
7343         * docs/design/part-TODO.txt:
7344         Add some more TODO items
7345
7346         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7347         Improve debugging.
7348
7349         * gst/gstcaps.c: (gst_caps_intersect):
7350         Optimize trivial intersection case between identical caps pointers.
7351
7352         * gst/gstelement.c: (gst_element_continue_state),
7353         (gst_element_set_state_func):
7354         * gst/gstpad.c:
7355         Fix spelling and grammar mistakes.
7356
7357 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7358
7359         * po/POTFILES.in:
7360         * po/POTFILES.skip:
7361           Update POTFILES. Fixes #461599.
7362
7363 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7364
7365         * gst/gst.c:
7366         Fix confusing typo in debug output.
7367
7368 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7369
7370         reviewed by: Stefan Kost <ensonic@users.sf.net>
7371
7372         * libs/gst/controller/Makefile.am:
7373         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7374         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7375         (gst_lfo_control_source_new),
7376         (gst_lfo_control_source_set_waveform),
7377         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7378         (gst_lfo_control_source_finalize),
7379         (gst_lfo_control_source_dispose),
7380         (gst_lfo_control_source_set_property),
7381         (gst_lfo_control_source_get_property),
7382         (gst_lfo_control_source_class_init):
7383         * libs/gst/controller/gstlfocontrolsource.h:
7384         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7385         API: Add GstLFOControlSource, a control source that gives values
7386         for specific timestamps based on several periodic waveforms.
7387         Fixes #459717.
7388
7389         * tests/check/libs/controller.c: (GST_START_TEST),
7390         (gst_controller_suite):
7391         * docs/libs/gstreamer-libs-docs.sgml:
7392         * docs/libs/gstreamer-libs-sections.txt:
7393         * docs/libs/gstreamer-libs.types:
7394         Add documentation and unit tests for GstLFOControlSource.
7395
7396 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7397
7398         * configure.ac:
7399         Back to CVS
7400
7401 === release 0.10.14 ===
7402
7403 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7404
7405         * configure.ac:
7406           releasing 0.10.14, "Breathing Vacuum"
7407
7408 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7409
7410         * gst/gstelement.c: (gst_element_class_set_details_simple):
7411         * gst/gstelement.h:
7412           Make strings passed to gst_element_class_set_details_simple()
7413           constant, as they should be (#462752).
7414
7415 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7416
7417         * gst/gstbin.c: (gst_bin_change_state_func),
7418         (bin_handle_async_done), (gst_bin_handle_message_func):
7419         Don't forget about the fact that some element went ASYNC even after a
7420         resync. This makes us post the ASYNC_DONE message correctly.
7421         Fixes #462558.
7422
7423 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7424
7425         * gst/gstregistry.c: (gst_registry_add_feature):
7426         When replacing an existing feature in the registry, make sure to
7427         continue holding a reference until we've replaced the name string
7428         within our feature hash table. Make sure to use g_hash_table_replace
7429         instead of g_hash_table_insert to ensure the new name string is used
7430         as a key instead of the old one that we're about to free.
7431         Fixes: #462085
7432
7433 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7434
7435         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7436         (gst_plugin_feature_set_name):
7437         Revert patch from #459466 until after the release and we can work
7438         out exactly what the problem is (if any).
7439
7440 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7441
7442         * docs/gst/gstreamer-sections.txt:
7443         * gst/gsttaglist.c:
7444         * gst/gsttaglist.h:
7445           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7446
7447 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7448
7449         * docs/libs/Makefile.am:
7450         Include our build-prefix libs and includes before the generic ones to
7451         avoid linking against the installed libs when we want the build-tree
7452         ones.
7453
7454 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7455
7456         Patch by: Steve Fink  <sphink gmail com>
7457
7458         * docs/pwg/building-testapp.xml:
7459           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7460           if people try to build or install the example from the plugin
7461           template against a GStreamer from package using the configure
7462           defaults.
7463
7464 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7465
7466         Patch by: Steve Fink  <sphink gmail com>
7467
7468         * tools/gst-inspect.1.in:
7469           Document --print-all and --print-plugin-auto-install-info command
7470           line options in man page.
7471
7472 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7473
7474         * docs/gst/gstreamer-sections.txt:
7475         Add docs for new api function.
7476
7477 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7478
7479         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7480         * gst/gstelementfactory.h:
7481         API: gst_element_factory_has_interface()
7482         Added method to check if an element factory implements a named
7483         interface.
7484
7485 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7486
7487         * configure.ac:
7488         * docs/gst/gstreamer.types.in:
7489           Another conditional doc check.
7490
7491         * gst/gstmessage.c:
7492         * gst/gstparamspecs.h:
7493         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7494         * gst/gstvalue.c:
7495         * gst/gstxml.h:
7496           API-doc fixes.
7497
7498 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7499
7500         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7501         (gst_registry_binary_load_feature),
7502         (gst_registry_binary_load_plugin),
7503         (gst_registry_binary_read_cache):
7504           Print error just once and with additional info.
7505
7506 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7507
7508         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7509         (helper_find_suggest), (helper_find_get_length),
7510         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7511         (gst_type_find_helper_for_buffer):
7512           Cleanup the typefindhelper code and add private doc comments.
7513
7514 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7515
7516         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7517         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7518         Fix capsfilter for cases where the caps set on capsfilter will provide
7519         additional information.
7520         Fixes #449197
7521
7522 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7523
7524         * gst/gsttypefindfactory.c:
7525           Fix docs that recommened wrong function to use.
7526
7527 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7528
7529         * tools/gst-inspect.c: (print_plugin_features):
7530           Also give media-type for typefinders in element output.
7531
7532 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7533
7534         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7535         (gst_registry_remove_features_for_plugin_unlocked),
7536         (gst_registry_add_feature), (gst_registry_remove_feature),
7537         (gst_registry_lookup_feature_locked):
7538         * gst/gstregistry.h:
7539           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7540           Fixes #459501.
7541
7542 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7543
7544         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7545         (gst_plugin_feature_set_name):
7546           Avoid double memory usage for pluginfeature names. Fixes #459466.
7547
7548 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7549
7550         * gst/gstpad.h:
7551           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7552           driving the pipeline may need to explicitly check for NOT_LINKED as
7553           well, since IS_FATAL doesn't cover that.
7554
7555 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7556
7557         * docs/pwg/advanced-types.xml:
7558           Fix typo and duplicate entry in video formats list.
7559
7560 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7561
7562         * libs/gst/controller/gstinterpolation.c:
7563         Also round to the nearest int when using cubic interpolation.
7564
7565 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7566
7567         * libs/gst/controller/gstinterpolation.c:
7568         When linearly interpolating integer types, round to the nearest int
7569         by adding 0.5. Don't do it for float/double types.
7570         Fixes the failing controller test on my machine, which is somehow
7571         rounding differently than on the buildbots.
7572
7573 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7574
7575         * tools/gst-plot-timeline.py:
7576           Better log parsing (categories can have -). Adjust text vs. lines, so
7577           that they span the same y-range.        
7578
7579 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7580
7581         * docs/random/ensonic/audiobaseclasses.txt:
7582         * docs/random/ensonic/dynlink.txt:
7583         * docs/random/ensonic/profiling.txt:
7584           Save my thoughts.
7585
7586         * docs/random/moving-plugins:
7587           Add note to use g_assert type macros.
7588
7589 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7590
7591         * configure.ac:
7592         * libs/gst/check/Makefile.am:
7593           Add libm check as we use in for plugins.
7594
7595 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7596
7597         * gst/gstbin.c: (gst_bin_continue_func):
7598         Check that the state_cookie hasn't changed since the continue_func
7599         was scheduled. Avoids problems where the state changes back to
7600         something it shouldn't be because it was changed in the meantime.
7601
7602 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7603
7604         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7605         (gst_registry_binary_save_string),
7606         (gst_registry_binary_save_pad_template),
7607         (gst_registry_binary_save_feature),
7608         (gst_registry_binary_save_plugin),
7609         (gst_registry_binary_load_feature),
7610         (gst_registry_binary_load_plugin),
7611         (gst_registry_binary_read_cache):
7612           Fix memory leak. Be less verbose in the log.
7613
7614 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7615
7616         * tests/check/elements/.cvsignore:
7617         Add file to cvsignore as commanded.
7618
7619 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7620
7621         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7622         (mq_dummypad_event), (run_output_order_test):
7623         Use a GStaticMutex to protect all cases where libcheck
7624         fail_if/fail_unless macros might be called from multiple threads
7625         simultaneously to avoid errors like:
7626           "check_pack.c:107: :-1081725400:Bad message type arg"
7627
7628 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7629
7630         * tests/check/pipelines/stress.c: (GST_START_TEST):
7631         Make sure we set the pipeline back to the NULL state before
7632         dropping our final reference.
7633
7634 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7635
7636         * tests/check/elements/tee.c: (GST_START_TEST):
7637         Make the tee stress-test a little less stressful so it doesn't just
7638         time out on slow-machines, and remove a small race when it's starting 
7639         up by adding a get_state() call.
7640
7641 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7642
7643         * gst/gst.c:
7644           Avoid reading registry twice on startup. Fixes #457322.
7645
7646 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7647
7648         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7649         * pkgconfig/gstreamer-check.pc.in:
7650         Substitute the CFLAGS for libcheck into our .pc file too so that
7651         dependent modules will pick it up properly if libcheck is installed
7652         into some other prefix.
7653
7654 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7655
7656         * configure.ac:
7657         Revert the pkg-config check for libcheck, since it pulls in the
7658         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7659         a proper solution, either from the check project, or something else.
7660
7661 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7662
7663         * configure.ac:
7664           Use pkg-config to locate check.
7665
7666 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7667
7668         * gst/gsttaglist.c:
7669           Fix doc syntax.
7670
7671         * gst/gstutils.c:
7672         * gst/gstutils.h:
7673           Add deprecation guards.
7674
7675         * libs/gst/base/gstcollectpads.h:
7676           Don't document object (this is implicitly private).
7677
7678 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7679
7680         * gst/gststructure.c: (gst_structure_parse_value):
7681           When deserialising foo=bar without a type cast, check if it's a
7682           boolean before falling back to a string type, otherwise things like
7683           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7684           because the filtercaps end up having a signed=(string)true field,
7685           which causes problems later when intersection caps.
7686
7687         * tests/check/gst/gststructure.c: (GST_START_TEST):
7688           Add a unit test for this.
7689
7690 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7691
7692         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7693
7694         * libs/gst/controller/Makefile.am:
7695         * libs/gst/controller/gstcontroller.c:
7696         (gst_controlled_property_add_interpolation_control_source),
7697         (gst_controlled_property_new), (gst_controlled_property_free),
7698         (gst_controller_find_controlled_property),
7699         (gst_controller_new_valist), (gst_controller_new_list),
7700         (gst_controller_new), (gst_controller_remove_properties_valist),
7701         (gst_controller_remove_properties_list),
7702         (gst_controller_remove_properties),
7703         (gst_controller_set_property_disabled),
7704         (gst_controller_set_disabled), (gst_controller_set_control_source),
7705         (gst_controller_get_control_source), (gst_controller_get),
7706         (gst_controller_sync_values), (gst_controller_get_value_array),
7707         (_gst_controller_dispose), (gst_controller_get_type),
7708         (gst_controlled_property_set_interpolation_mode),
7709         (gst_controller_set), (gst_controller_set_from_list),
7710         (gst_controller_unset), (gst_controller_unset_all),
7711         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7712         * libs/gst/controller/gstcontroller.h:
7713         * libs/gst/controller/gstcontrollerprivate.h:
7714         * libs/gst/controller/gstcontrolsource.c:
7715         (gst_control_source_class_init), (gst_control_source_init),
7716         (gst_control_source_get_value),
7717         (gst_control_source_get_value_array), (gst_control_source_bind):
7718         * libs/gst/controller/gstcontrolsource.h:
7719         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7720         (gst_object_get_control_source):
7721         * libs/gst/controller/gstinterpolation.c:
7722         (gst_interpolation_control_source_find_control_point_node),
7723         (gst_interpolation_control_source_get_first_value),
7724         (_interpolate_none_get), (interpolate_none_get),
7725         (interpolate_none_get_boolean_value_array),
7726         (interpolate_none_get_enum_value_array),
7727         (interpolate_none_get_string_value_array),
7728         (_interpolate_trigger_get), (interpolate_trigger_get),
7729         (interpolate_trigger_get_boolean_value_array),
7730         (interpolate_trigger_get_enum_value_array),
7731         (interpolate_trigger_get_string_value_array):
7732         * libs/gst/controller/gstinterpolationcontrolsource.c:
7733         (gst_control_point_free), (gst_interpolation_control_source_reset),
7734         (gst_interpolation_control_source_new),
7735         (gst_interpolation_control_source_set_interpolation_mode),
7736         (gst_interpolation_control_source_bind),
7737         (gst_control_point_compare), (gst_control_point_find),
7738         (gst_interpolation_control_source_set_internal),
7739         (gst_interpolation_control_source_set),
7740         (gst_interpolation_control_source_set_from_list),
7741         (gst_interpolation_control_source_unset),
7742         (gst_interpolation_control_source_unset_all),
7743         (gst_interpolation_control_source_get_all),
7744         (gst_interpolation_control_source_get_count),
7745         (gst_interpolation_control_source_init),
7746         (gst_interpolation_control_source_finalize),
7747         (gst_interpolation_control_source_dispose),
7748         (gst_interpolation_control_source_class_init):
7749         * libs/gst/controller/gstinterpolationcontrolsource.h:
7750         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7751         API: Refactor GstController into the core controller which can take
7752         a GstControlSource for providing actual values for timestamps.
7753         Implement a interpolation control source and use this for backward
7754         compatibility, deprecate a bunch of functions that are now handled
7755         by GstControlSource or GstInterpolationControlSource.
7756         Make it possible to disable the controller completely or only for
7757         specific properties. Fixes #450711.
7758         * docs/libs/gstreamer-libs-docs.sgml:
7759         * docs/libs/gstreamer-libs-sections.txt:
7760         * docs/libs/gstreamer-libs.types:
7761         Add new functions and classes to the docs.
7762         * tests/check/libs/controller.c: (GST_START_TEST),
7763         (gst_controller_suite):
7764         * tests/examples/controller/audio-example.c: (main):
7765         Port unit test and example to the new API and add some new
7766         unit tests.
7767
7768 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7769
7770         Patch by: Mark Nauwelaerts <manauw at skynet be>
7771
7772         * plugins/elements/gstmultiqueue.c:
7773         (gst_multi_queue_get_internal_links), (apply_buffer),
7774         (single_queue_overrun_cb), (gst_single_queue_new):
7775         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7776         the pipeline layout can be tracked correctly. Fixes #453732.
7777
7778 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7779
7780         * docs/gst/Makefile.am:
7781         * docs/libs/Makefile.am:
7782         * docs/plugins/Makefile.am:
7783           Simplify --extra-dir as gtkdoc scans recursively.
7784
7785 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7786
7787         * tools/gst-launch.c: (main):
7788         When we got an error, there is no point in waiting for preroll when
7789         shutting down.
7790
7791 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7792
7793         * plugins/elements/gsttee.c: (gst_tee_base_init),
7794         (gst_tee_request_new_pad), (gst_tee_release_pad),
7795         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7796         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7797         (gst_tee_chain):
7798         Be a lot smarter when deciding what srcpad to use for proxying
7799         the buffer_alloc. Also handle pad added/removed when doing so.
7800         Fixes #357959.
7801         Keep track of what pads we already pushed on in case we have pads
7802         added/removed while pushing. Fixes #374639 
7803
7804         * tests/check/Makefile.am:
7805         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7806         (tee_suite):
7807         Added unit test for pad resync.
7808
7809 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7810
7811         * po/nl.po:
7812         * po/sv.po:
7813           Updated translations.
7814
7815 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7816
7817         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7818
7819         * po/LINGUAS:
7820         * po/fi.po:
7821           Added new Finnish translation.
7822
7823 2007-06-28  Wim Taymans  <wim@fluendo.com>
7824
7825         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7826         (single_queue_overrun_cb):
7827         When figuring out when a queue is filled, use our internal time estimate
7828         based on segments, just like check_full does.
7829
7830 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7831
7832         * gst/gstminiobject.c: (gst_mini_object_get_type):
7833           Remove 3 do-nothing methods.
7834
7835 2007-06-27  Wim Taymans  <wim@fluendo.com>
7836
7837         Patch by: Tim Angus <tim at ngus dot net>
7838
7839         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7840         (gst_capsfilter_set_property):
7841         Take a reference instead of a copy when setting "caps".
7842         Fix documentation to clarify this behaviour. Fixes #449414.
7843
7844 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7845
7846         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7847         * gst/gstplugin.c: (gst_plugin_init):
7848         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7849         * gst/gstquery.c: (gst_query_get_type):
7850         * gst/gstregistry.c: (gst_registry_init):
7851         * gst/gsturi.c: (gst_uri_handler_base_init):
7852           Remove empty instance_init() functions to save relocs and lessen the
7853           noise. Remove some of the function prototypes that are doubled by
7854           G_DEFINE_TYPE.
7855           
7856 2007-06-27  Wim Taymans  <wim@fluendo.com>
7857
7858         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7859
7860         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7861         Add peer and direction in the XML serialisation of ghostpads.
7862         Fixes #449226.
7863
7864 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7865
7866         * configure.ac:
7867           Preserve useful information, thanks Tim.
7868
7869 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7870
7871         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7872         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7873         (gst_single_queue_push_one), (gst_multi_queue_loop),
7874         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7875         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7876         (compute_high_id), (gst_single_queue_new):
7877         * plugins/elements/gstmultiqueue.h:
7878         Take the multiqueue lock when updating the fill level so we don't get
7879         confused. 
7880
7881         After applying a buffer or event on the src pad segment, make sure to
7882         call gst_data_queue_limits_changed() to get the data queue to unblock
7883         and check the filled state again.
7884         
7885         Rework the not-linked pad handling so the logic is that not-linked 
7886         pads can push as fast as they like, but only so they never get 
7887         ahead of any linked pads.
7888
7889         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7890         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7891         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7892
7893         Add a test to check that not-linked pads always stay behind
7894         linked pads.
7895
7896         Fixes: #430682
7897
7898 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7899
7900         * docs/random/release:
7901           Some updates to the release procedure.
7902
7903 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7904
7905         * gst/gstelementfactory.c: (__gst_element_details_clear):
7906           Microoptimization that saves stunning 80 bytes.
7907
7908 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7909
7910         * docs/plugins/gstreamer-plugins.args:
7911         * docs/plugins/inspect/plugin-coreelements.xml:
7912         * docs/plugins/inspect/plugin-coreindexers.xml:
7913           Update docs with caps info.
7914
7915 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7916
7917         * po/it.po:
7918           Updated Italian translation.
7919
7920 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7921
7922         * ChangeLog:
7923         * po/vi.po:
7924           Update Vietnamese translations.
7925
7926 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7927
7928         * libs/gst/base/gstbasesink.c:
7929           Remove unused signal enum.
7930
7931 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7932
7933         * docs/gst/gstreamer-sections.txt:
7934         * gst/gstelement.c:
7935         * gst/gstutils.c: (gst_type_register_static_full):
7936         Beef up and include the docs for gst_type_register_static_full and
7937         gst_element_class_set_details_simple and add the API keyword
7938         in the ChangeLog.
7939
7940 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7941
7942         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7943         (update_time_level), (gst_single_queue_push_one),
7944         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7945         (single_queue_overrun_cb), (single_queue_underrun_cb),
7946         (single_queue_check_full):
7947         Fix setting max-* properties after adding queues.
7948         Use IS_FILLED for checking visible items.
7949         Signal overrun if multiple queues overrun.
7950         Add extra debug output.
7951         Patch by: Wim Taymans <wim@fluendo.com>
7952
7953 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7954
7955         * gst/gstelement.c: (gst_element_class_set_details_simple):
7956         * gst/gstelement.h:
7957         * gst/gstutils.c: (gst_type_register_static_full):
7958         * gst/gstutils.h:
7959         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7960         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7961         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7962         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7963         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7964         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7965         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7966         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7967         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7968         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7969         (apply_buffer), (gst_queue_chain):
7970         * plugins/elements/gsttee.c: (gst_tee_base_init):
7971         * plugins/elements/gsttypefindelement.c:
7972         (gst_type_find_element_base_init),
7973         (gst_type_find_element_class_init):
7974           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7975           API: add gst_type_register_static_full
7976           API: add gst_element_class_set_details_simple
7977
7978 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7979
7980         * docs/pwg/advanced-types.xml:
7981           Fix typo in iana.org URI.
7982
7983 2007-06-19  Andy Wingo  <wingo@pobox.com>
7984
7985         * tests/check/pipelines/simple-launch-lines.c
7986         (test_state_change_returns): Enable pull-mode tests now that
7987         basesink has been fixed.
7988
7989         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7990         Changed from gst_base_sink_is_prerolled, reversing the sense of
7991         the return value. Returns FALSE also if the sink is in pull mode,
7992         in which case it needs no preroll.
7993         (gst_base_sink_query, gst_base_sink_change_state): Update for
7994         needs_preroll change.
7995         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7996         chaining up, in which we return SUCCESS directly if we activated
7997         in pull mode instead of ASYNC. Involves countering an async_start
7998         message sent before chaining up; not sure if this is correct, in
7999         an ideal world we only send async-start when activating in push
8000         mode.
8001
8002         * tests/check/pipelines/simple-launch-lines.c
8003         (test_state_change_returns): New test, partially disabled until
8004         basesink is fixed.
8005
8006 2007-06-19  Wim Taymans  <wim@fluendo.com>
8007
8008         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8009         (gst_multi_queue_sink_event):
8010         Fix event leak.
8011
8012 2007-06-19  Wim Taymans  <wim@fluendo.com>
8013
8014         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8015         (gst_bin_change_state_func), (bin_push_state_continue),
8016         (bin_handle_async_start), (bin_handle_async_done),
8017         (gst_bin_handle_message_func):
8018         Move the common code for posting state-change messages into
8019         one function.
8020         Broadcast the state signal after we posted the messages.
8021         Mark the bin as busy when it's doing a state-change.
8022         Make sure async-start/done messages don't interfere with the bin's
8023         state when it's busy.
8024         After the state change, let the bin check which elements completed the
8025         state change while it was busy so that it can update its state.
8026
8027 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8028
8029         * docs/random/release:
8030         Add a note about updating the doap file to the release checklist
8031
8032 2007-06-18  Wim Taymans  <wim@fluendo.com>
8033
8034         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8035         (gst_single_queue_push_one), (gst_multi_queue_chain),
8036         (gst_multi_queue_sink_event):
8037         Make sure we don't reference the buffer/event after we have given away
8038         ownership in the queue.
8039
8040 2007-06-18  Wim Taymans  <wim@fluendo.com>
8041
8042         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8043         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8044         Update queue state _after_ adding the item in the queue because else we
8045         could end up being full without the element added yet.
8046
8047 2007-06-18  Wim Taymans  <wim@fluendo.com>
8048
8049         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8050         (gst_bin_remove_func), (gst_bin_get_state_func),
8051         (gst_bin_element_set_state), (gst_bin_continue_func),
8052         (bin_push_state_continue), (bin_handle_async_start),
8053         (bin_handle_async_done), (gst_bin_handle_message_func):
8054         * gst/gstbin.h:
8055         Immediatly commit the toplevel bin state when receiving an async-done
8056         message. This enables us to avoid spawning a thread to commit the state
8057         in some common cases and it also avoids some races.
8058         Avoid spawning a state thread when adding/removing async elements to a
8059         toplevel bin. Instead we immediatly update the bin state.
8060         Get rid of iterating all the children when getting the state in the bin
8061         because it is now always up-to-date.
8062         Fix bug where locked elements would always return _SUCCESS even it they
8063         returned NO_PREROLL before being locked.
8064         Fix the order of the state_change, async-start/done messages that was
8065         sometimes incorrect.
8066         Mark the state_dirty field as deprecated, we don't need it anymore as we
8067         are always up-to-date.
8068
8069         * gst/gstelement.c: (gst_element_get_state_func),
8070         (gst_element_continue_state):
8071         Small debug inprovements.
8072         Return the previous element state return when nothing is pending instead
8073         of blindly returning SUCCESS.
8074
8075         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8076         (gst_sinks_suite):
8077         Add a whole bunch of new testcases.
8078
8079 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8080
8081         * po/uk.po:
8082         * po/vi.po:
8083           Update translations.
8084
8085 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8086
8087         * gst/gstpad.c:
8088         Fix typo in the docs.
8089
8090 2007-06-15  Wim Taymans  <wim@fluendo.com>
8091
8092         * docs/libs/gstreamer-libs-sections.txt:
8093         Add docs for new methods.
8094
8095 2007-06-15  Wim Taymans  <wim@fluendo.com>
8096
8097         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8098         (gst_multi_queue_item_new):
8099         Don't use GSlice because we don't depend on >= 2.10 yet.
8100
8101 2007-06-15  Wim Taymans  <wim@fluendo.com>
8102
8103         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8104         (update_time_level), (apply_segment), (apply_buffer),
8105         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8106         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8107         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8108         (single_queue_underrun_cb), (single_queue_check_full):
8109         Remove debug printf.
8110
8111 2007-06-15  Wim Taymans  <wim@fluendo.com>
8112
8113         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8114         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8115         (gst_data_queue_set_flushing), (gst_data_queue_push),
8116         (gst_data_queue_pop), (gst_data_queue_drop_head),
8117         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8118         * libs/gst/base/gstdataqueue.h:
8119         Various cleanups.
8120         Added methods to get the current levels and to inform the queue that the
8121         'full' limits changed.
8122
8123         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8124         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8125         (gst_single_queue_flush), (update_time_level), (apply_segment),
8126         (apply_buffer), (gst_single_queue_push_one),
8127         (gst_multi_queue_item_steal_object),
8128         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8129         (gst_multi_queue_loop), (gst_multi_queue_chain),
8130         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8131         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8132         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8133         (single_queue_underrun_cb), (single_queue_check_full),
8134         (gst_single_queue_new):
8135         Keep track of time in the queue by measuring the difference between
8136         running_time on input and output. This gives more accurate results and
8137         can compensate for segments correctly.
8138         Make a queue by default only 5 buffers deep. We will now increase the
8139         buffer size depending on the filledness of the other queues.
8140         Factor out commong flush code.
8141         Make sure we don't add additional refcounts to buffers when we can avoid
8142         it.
8143         Propagate GstFlowReturn differently.
8144         Use GSlice for intermediate GstMultiQueueItems.
8145         Keep track of EOS.
8146         Resize queues on over and underruns based on filled level of other
8147         queues.
8148         When checking if the queue is filled, prefer to measure in time if we
8149         can and fall back to bytes when no time is known.
8150
8151         * plugins/elements/gstqueue.c:
8152         Fix return value.
8153
8154 2007-06-15  Wim Taymans  <wim@fluendo.com>
8155
8156         * libs/gst/base/gstbasetransform.c:
8157         (gst_base_transform_sink_event):
8158         Work around the brokenness of the event vmethod in basetransform. Prefer
8159         to return TRUE when the subclass returned FALSE (meaning don't forward
8160         the event). 
8161
8162         * libs/gst/base/gstbasetransform.h:
8163         Clarify the docs.
8164
8165 2007-06-15  Wim Taymans  <wim@fluendo.com>
8166
8167         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8168         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8169         (gst_base_src_default_query), (gst_base_src_get_range),
8170         (gst_base_src_start):
8171         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8172         Improve debugging.
8173
8174 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8175
8176         * docs/pwg/advanced-types.xml:
8177           Added more formats to caps table.
8178
8179 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8180
8181         * tools/gst-launch.c: (main):
8182           Remove crufy code. GOption does not need this workaround.
8183
8184 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8185
8186         * libs/gst/controller/gstcontroller.c:
8187         (gst_controlled_property_set_interpolation_mode):
8188           Fix wrong getter for enums in controller.
8189
8190 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8191
8192         * libs/gst/check/gstcheck.c: (gst_check_init):
8193           Intercept criticals and warnings in the Gst-Phonon log domain, so
8194           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8195           well.
8196         
8197 2007-06-14  Edward Hervey  <edward@fluendo.com>
8198
8199         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8200         Since this file doesn't include "gst.h" it will not go through the
8201         macros that disable GST_LOG if debugging was disabled.
8202
8203 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8204
8205         * libs/gst/check/Makefile.am:
8206         * libs/gst/check/gstcheck.h:
8207         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8208         * pkgconfig/gstreamer-check.pc.in:
8209           Ugly 'fix' for the controller unit test on the p5 bot: in
8210           fail_unless_equals_float() check whether the values are 'almost
8211           equal' by allowing a small absolute error, which should be good
8212           enough for our use cases (normal numbers and values close to 0).
8213           Proper fixage left to floating point arithmetic aficionados.
8214
8215 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8216
8217         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8218         (gst_base_sink_render_object), (gst_base_sink_get_position):
8219           Add two breaks thats where missing.
8220
8221 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8222
8223         * docs/libs/gstreamer-libs-sections.txt:
8224         * libs/gst/check/gstcheck.h:
8225           API: add fail_unless_equals_float() and assert_equals_float().
8226           Add documentation for some of the macros.
8227
8228         * tests/check/libs/controller.c: (GST_START_TEST):
8229           Use newly-added asserts.
8230
8231 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8232
8233         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8234           Show the caps change in the log to help spotting the case of not
8235           exactly matching caps.
8236
8237 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8238
8239         * docs/pwg/building-boiler.xml:
8240           Fix typos, spotted by Thijs Vermeir (#447190).
8241
8242 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8243
8244         * docs/plugins/tmpl/.cvsignore:
8245         Ignore file to keep the buildbots happy
8246
8247 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8248
8249         * docs/plugins/Makefile.am:
8250         * docs/plugins/gstreamer-plugins-docs.sgml:
8251         * docs/plugins/gstreamer-plugins-sections.txt:
8252         Pull fdsink into the docs too.
8253
8254 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8255
8256         * libs/gst/controller/gstinterpolation.c:
8257         Actually use the new functions with min/max checks for the trigger and
8258         none interpolation modes for get() and get_value_array() instead of
8259         just the latter.
8260
8261 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8262
8263         * libs/gst/controller/gstcontroller.c:
8264         (gst_controlled_property_free):
8265         Unset the minimum and maximum GValues when freeing the corresponding
8266         GstControllerProperty struct.
8267
8268 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8269
8270         * libs/gst/controller/gstcontroller.c:
8271         (gst_controlled_property_new):
8272         * libs/gst/controller/gstcontrollerprivate.h:
8273         * libs/gst/controller/gstinterpolation.c:
8274         (gst_controlled_property_find_control_point_node),
8275         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8276         (interpolate_none_get_string_value_array),
8277         (interpolate_trigger_get),
8278         (interpolate_trigger_get_enum_value_array),
8279         (interpolate_trigger_get_string_value_array):
8280         Protect against values larger or smaller than the minimum or maximum
8281         allowed value for the property when using values that can be compared.
8282
8283         Optimize trigger interpolator a bit by taking the last requested value
8284         into account instead of always looping through the complete list.
8285
8286         Fix coding style a bit, everywhere else we use "return foo" instead
8287         of "return (foo)".
8288         
8289         * tests/check/libs/controller.c: (GST_START_TEST),
8290         (gst_controller_suite):
8291         Add unit test for the protection against too large or too small
8292         values.
8293
8294 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8295
8296         * docs/random/slomo/controller.txt:
8297         Add some thoughts about the future of the controller.
8298
8299 2007-06-08  Wim Taymans  <wim@fluendo.com>
8300
8301         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8302         Don't overflow in retimestamping code.
8303
8304 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8305
8306         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8307         Use gst_util_guint64_to_gdouble for conversions.
8308         * win32/common/libgstreamer.def:
8309         Add new exported functions.
8310
8311 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8312
8313         * gst/gstutils.c:
8314           Small docs addition.
8315
8316 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8317
8318         * README:
8319           Remove that test line again.
8320
8321 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8322
8323         * README:
8324           Test commit mail sending.
8325
8326 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8327
8328         * configure.ac:
8329           Fix typo and test commit mail sending.
8330
8331 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8332
8333         * tests/examples/controller/audio-example.c:
8334           Improve comment and test commit mail sending.
8335
8336 2007-06-07  Wim Taymans  <wim@fluendo.com>
8337
8338         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8339         (gst_bin_remove_func), (gst_bin_element_set_state),
8340         (bin_handle_async_start), (bin_handle_async_done),
8341         (gst_bin_handle_message_func):
8342         Add helper function to find messages.
8343         Generate the async-done messages together with the state change
8344         messages.
8345         Small cleanups in handling toplevel bins.
8346
8347 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8348
8349         * libs/gst/base/gstdataqueue.c:
8350         * libs/gst/base/gstdataqueue.h:
8351         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8352         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8353         (gst_multi_queue_sink_event):
8354         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8355           Fix multiqueue leaking buffers and events when downstream or the
8356           queue are flushing. Make refcounting assumptions explicit and
8357           document them (shouldn't break existing code that uses it other than
8358           maybe leak miniobjects, but that already happens anyway). Add unit
8359           test for the most common flushing case. Fixes #423700.
8360           
8361 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8362
8363         * libs/gst/controller/gstcontroller.c:
8364         Clarify docs: The get_all, get_value_array(s) functions
8365         don't modify the GObject properties.
8366
8367 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8368
8369         * libs/gst/controller/gstcontroller.c:
8370         (gst_controlled_property_set_interpolation_mode),
8371         (gst_controlled_property_prepend_default),
8372         (gst_controlled_property_new), (gst_controller_set_unlocked),
8373         (gst_controller_set), (gst_controller_set_from_list),
8374         (gst_controller_unset), (gst_controller_unset_all):
8375         * libs/gst/controller/gstcontrollerprivate.h:
8376         * libs/gst/controller/gstinterpolation.c:
8377         Factor out the 'set' logic into gst_controller_set_unlocked for the
8378         gst_controller_set and gst_controller_set_from_list functions.
8379
8380         To make life of the interpolators easier always add a control point
8381         at timestamp zero with the default value.
8382
8383         In the linear interpolator make things more obvious by better variable
8384         naming (slope).
8385
8386         Implement cubic interpolation mode (by using a natural cubic spline)
8387         and map the quadratic interpolation mode to this too (as quadratic
8388         doesn't make much sense, see discussion on the list).
8389
8390         * tests/check/libs/controller.c: (GST_START_TEST),
8391         (gst_controller_suite):
8392         Add unit test for the cubic interpolation mode and check everywhere
8393         if the interpolation mode could be set as expected.
8394
8395 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8396
8397         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8398           Don't use GLib-2.10 functions, we still depend on
8399           GLib-how-old-is-it-again-2.8.
8400
8401 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8402
8403         * docs/gst/gstreamer-sections.txt:
8404         * gst/Makefile.am:
8405         * gst/gst.c:
8406         * gst/gst.h:
8407         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8408         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8409         (_gst_param_fraction_values_cmp),
8410         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8411         * gst/gstparamspecs.h:
8412         * gst/gstvalue.c:
8413         * tests/check/Makefile.am:
8414         * tests/check/gst/.cvsignore:
8415         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8416         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8417         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8418         (GST_START_TEST), (gst_param_spec_suite):
8419           API: add GstParamSpecFraction, so elements can have fraction
8420           properties without lots of painful string parsing (#444648).
8421
8422 2007-06-05  Wim Taymans  <wim@fluendo.com>
8423
8424         * gst/gstobject.c: (gst_object_class_init):
8425         Fix signal signature.
8426
8427         * gst/gstsegment.c:
8428         Add small clarification in the api docs.
8429
8430         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8431         States are protected with object lock.
8432
8433 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8434
8435         * AUTHORS:
8436         I should probably be listed as an author by now.
8437
8438         * docs/random/release:
8439         Update the release doc
8440
8441 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8442
8443         * gst/gstvalue.c:
8444           Make docs for gst_value_compare() mention return enums that
8445           actually exist.
8446
8447 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8448
8449         * configure.ac:
8450           Back to CVS
8451
8452 === release 0.10.13 ===
8453
8454 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8455
8456         * configure.ac:
8457           releasing 0.10.13, "With or without you"
8458
8459 2007-05-25  Wim Taymans  <wim@fluendo.com>
8460
8461         * gst/gstbin.c: (bin_handle_async_done):
8462         Make sure that the child bin stops after completing the async state
8463         change so that the parent can continue the state change to PLAYING.
8464         Fixes #441159.
8465
8466 2007-05-25  Wim Taymans  <wim@fluendo.com>
8467
8468         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8469         (unref_data), (gst_collect_pads_remove_pad),
8470         (gst_collect_pads_check_pads):
8471         Use additional refcounting to avoid crashes when dynamically adding and
8472         removing pads. Fixes #420206.
8473
8474 2007-05-24  Wim Taymans  <wim@fluendo.com>
8475
8476         * tools/gst-launch.c: (event_loop):
8477         When buffering goes from a two digit to a single digit number, make sure
8478         to remove the old second digit by writing a blank over it.
8479
8480 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8481
8482         * libs/gst/base/gstdataqueue.c:
8483           Eliminate tabs and trailing comma in enum list; fix some typos.
8484
8485 2007-05-24  Wim Taymans  <wim@fluendo.com>
8486
8487         * tests/check/gst/gstbin.c: (GST_START_TEST):
8488         Allow refcount of 3 and 4 because some state thread might still be busy
8489         with it.
8490
8491 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8492
8493         * plugins/elements/Makefile.am:
8494         * plugins/elements/gstmultiqueue.h:
8495         * plugins/elements/gstqueue.h:
8496           These are not installed headers, no need for padding.
8497
8498 2007-05-24  Wim Taymans  <wim@fluendo.com>
8499
8500         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8501         (gst_bin_continue_func):
8502         Enable latency for next release.
8503         Restore STATE_LOCK around recalc_state that was left out during the
8504         rewrite and could result in racy behaviour when _get_state and
8505         recalc_state are run concurrently. See #440463.
8506
8507 2007-05-23  Wim Taymans  <wim@fluendo.com>
8508
8509         * tests/check/gst/gstsystemclock.c: (store_callback),
8510         (GST_START_TEST):
8511         Improve test_async_order to also work when both timers are already
8512         expired when we get scheduled to check it.
8513
8514 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8515
8516         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8517         (gst_bin_set_property), (gst_bin_get_property),
8518         (gst_bin_remove_func), (gst_bin_handle_message_func):
8519         * gst/gstbin.h:
8520           'private' is a c++ keyword, let's not use that in header files,
8521           otherwise c++ compilers will throw a tantrum.
8522
8523 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8524
8525         * plugins/elements/gstelements.c:
8526         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8527         (gst_file_sink_get_current_offset):
8528         * plugins/indexers/gstindexers.c: (plugin_init):
8529           Use #ifdef for HAVE_XYZ for consistency.
8530
8531         * tests/check/Makefile.am:
8532         * tests/check/elements/.cvsignore:
8533         * tests/check/elements/filesink.c: (setup_filesink),
8534         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8535           Add some unit tests for filesink.
8536
8537 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8538
8539         Patch by: Mark Nauwelaerts <manauw at skynet be>
8540
8541         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8542         (gst_file_sink_query), (gst_file_sink_do_seek),
8543         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8544         * plugins/elements/gstfilesink.h:
8545           Fix position reporting; rename data_written member to current_pos to
8546           reflect its real meaning (fixes #412648).
8547
8548 2007-05-22  Edward Hervey  <edward@fluendo.com>
8549
8550         * docs/gst/gstreamer-sections.txt:
8551         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8552         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8553         (gst_bin_remove_func), (gst_bin_handle_message_func):
8554         * gst/gstbin.h:
8555         Add a property for bins that handle the state change of their childs.
8556         Fixes #435880
8557
8558 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8559
8560         * libs/gst/controller/gstinterpolation.c:
8561         Use an array of the correct type when using _get_value_array with
8562         linear interpolation.
8563
8564 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8565
8566         * gst/gstelement.c (gst_element_requires_clock,
8567           gst_element_provides_clock, gst_element_request_pad,
8568           gst_element_class_set_details, gst_element_class_set_details_simple,
8569           gst_element_default_send_event, gst_element_abort_state,
8570           gst_element_continue_state, gst_element_set_state,
8571           gst_element_set_state_func, iterator_activate_fold_with_resync):
8572         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8573           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8574           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8575           gst_pad_get_range, gst_pad_pull_range):
8576         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8577           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8578           GstPadActivateModeFunction, GstPadChainFunction,
8579           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8580           GstPadFixateCapsFunction, GstPadTemplate):
8581         * gst/gstpipeline.c (gst_pipeline_change_state,
8582           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8583           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8584           gst_pipeline_get_delay):
8585           Whitespace and docs fixes.
8586
8587 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8588
8589         * libs/gst/controller/gstinterpolation.c:
8590         (interpolate_trigger_get_enum_value_array),
8591         (interpolate_trigger_get_string_value_array):
8592         Add support for retrieving value arrays when using the trigger
8593         interpolation mode. 
8594
8595 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8596
8597         * libs/gst/controller/gstcontroller.c:
8598         (gst_controller_get_value_array):
8599         * libs/gst/controller/gstcontroller.h:
8600         Clarify the docs of gst_controller_get_value_array(): The array where
8601         the values should be written to must be allocated as there seems to be
8602         no way to get the size of a random GType. This doesn't change any
8603         behaviour. Also fix some typos all over the place and remove an unused,
8604         commented function that is not necessary as g_object_set() could be
8605         used instead.
8606         * tests/check/libs/controller.c: (GST_START_TEST),
8607         (gst_controller_suite):
8608         Add unit test for gst_controller_get_value_array().
8609
8610 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8611
8612         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8613
8614         Disable part of the gst_buffer_try_new_and_alloc test, because
8615         it can happily succeed on 64-bit systems where there's more address
8616         space available.
8617
8618 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8619
8620         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8621         Add unit test for the improved caps checking from bug #421543.
8622
8623 2007-05-21  Wim Taymans  <wim@fluendo.com>
8624
8625         * docs/design/part-synchronisation.txt:
8626         Small addition.
8627
8628         * gst/gstbin.c: (gst_bin_query):
8629         * plugins/elements/gstqueue.c: (apply_segment):
8630         Improve debugging.
8631
8632         * gst/gstmessage.h:
8633         Improve docs.
8634
8635 2007-05-21  Wim Taymans  <wim@fluendo.com>
8636
8637         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8638         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8639         (gst_pad_configure_src):
8640         Added simple version of improved caps checking. It was previously
8641         assumed that a setcaps function would check the validity of the caps but
8642         people prefer us to check caps against the template automatically. 
8643         Fixes #421543.
8644
8645 2007-05-21  Wim Taymans  <wim@fluendo.com>
8646
8647         * libs/gst/base/gstbasetransform.h:
8648         Fix macro for locking/unlocking the transform lock.
8649
8650 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8651
8652         * docs/plugins/tmpl/.cvsignore:
8653           Ignore more.
8654
8655 2007-05-18  Edward Hervey  <edward@fluendo.com>
8656
8657         * plugins/elements/gstqueue.c: (gst_queue_loop):
8658         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8659         for the subtle art of warning a potentially blocking thread that it
8660         should check the source pad return value, and relay the information
8661         upstream.
8662
8663 2007-05-18  Edward Hervey  <edward@fluendo.com>
8664
8665         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8666         Release the queue lock !
8667
8668 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8669
8670         * docs/libs/gstreamer-libs-sections.txt:
8671         Add the two new controller functions to the appropiate places.
8672
8673 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8674
8675         reviewed by: Stefan Kost <ensonic@users.sf.net>
8676
8677         * libs/gst/controller/gstcontroller.c:
8678         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8679         (_gst_controller_get_property), (_gst_controller_set_property),
8680         (_gst_controller_init), (_gst_controller_class_init):
8681         * libs/gst/controller/gstcontroller.h:
8682         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8683         (gst_object_get_control_rate), (gst_object_set_control_rate):
8684         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8685         Add API that provides sync suggestion timestamps for elements that
8686         call gst_object_sync_values() from which those elements can subdivide
8687         their processing loop to get the best results for the controlled
8688         properties. For now it just suggests last_sync + control_rate as
8689         new timestamp but this will be improved in the future.
8690
8691         While doing that change the control-rate property to a GstClockTime
8692         from guint and change it's meaning from samples to nanoseconds as
8693         the GstController doesn't know anything about sampling rate. Strictly
8694         speaking this breaks ABI but as the control-rate property didn't do
8695         anything in the past and as such couldn't be used this should be no
8696         problem.        
8697
8698 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8699
8700         reviewed by: Stefan Kost <ensonic@users.sf.net>
8701
8702         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8703         (gst_controller_unset_all):
8704         * libs/gst/controller/gstcontrollerprivate.h:
8705         * libs/gst/controller/gstinterpolation.c:
8706         (gst_controlled_property_find_control_point_node):
8707         Save last synced value from the list to continue searching from there
8708         in future syncs. This speeds everything up a bit.
8709         
8710 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8711
8712         reviewed by: Stefan Kost <ensonic@users.sf.net>
8713
8714         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8715         (gst_control_point_find), (gst_controlled_property_new),
8716         (gst_control_point_free), (gst_controlled_property_free),
8717         (gst_controller_set), (gst_controller_set_from_list),
8718         (gst_controller_unset), (gst_controller_unset_all),
8719         (gst_controller_sync_values):
8720         * libs/gst/controller/gstcontroller.h:
8721         * libs/gst/controller/gstcontrollerprivate.h:
8722         * libs/gst/controller/gstinterpolation.c:
8723         (gst_controlled_property_find_control_point_node),
8724         (interpolate_none_get), (interpolate_trigger_get):
8725         Add a new private GstControlPoint struct which "inherits" from
8726         GstTimedValue to allow different interpolators to store internal
8727         values next to each control point. From the outside everything is
8728         still a GstControlPoint so we don't loose binary compatibility.
8729         Also fixup all the GValue handling to not leak GValues or list nodes.
8730         * tests/check/libs/controller.c: (GST_START_TEST):
8731         Free the list nodes and GValues in the controller_misc test.
8732
8733 2007-05-17  Edward Hervey  <edward@fluendo.com>
8734
8735         * gst/gstsegment.c:
8736         Small doc fix.
8737
8738 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8739
8740         * gst/gstplugin.c: (gst_plugin_load_file):
8741           If we fail to load a plugin because of unresolved symbols or missing
8742           libraries and spew a warning to stderr, we may just as well mention
8743           which plugin it was that failed to load.
8744
8745 2007-05-13  David Schleef  <ds@schleef.org>
8746
8747         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8748           handles the case when ENABLE_GTK_DOC is false, and installs
8749           the prebuilt documentation.  So gtk-doc subdirs are 
8750           unconditionally enabled.  Fixes: #349099.
8751
8752 2007-05-13  David Schleef  <ds@schleef.org>
8753
8754         * gst/gstutils.h: Reword some documentation.
8755
8756 2007-05-12  David Schleef  <ds@schleef.org>
8757
8758         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8759           do anything with the passed "module" parameter, so remove it.
8760           Allows removal of additional vestigal code.
8761
8762 2007-05-12  David Schleef  <ds@schleef.org>
8763
8764         * gst/gstplugin.c:
8765           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8766           Switch to using g_stat() because it's more portable.
8767
8768 2007-05-12  David Schleef  <ds@schleef.org>
8769
8770         * gst/gst.c:
8771           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8772           parsing for embedded systems.
8773         * gst/gstelementfactory.c:
8774           Allow gst_element_register() to be called with plugin==NULL.
8775           Did nobody notice that static elements were broken?
8776
8777 2007-05-12  Wim Taymans  <wim@fluendo.com>
8778
8779         * tools/gst-launch.c: (event_loop):
8780         Give more interesting info when buffering starts and stops.
8781         Fix case where buffering starts but we fail to update the buffering flag
8782         because the target state is not PLAYING.
8783
8784 2007-05-12  Wim Taymans  <wim@fluendo.com>
8785
8786         * plugins/elements/gstqueue.c: (gst_queue_init),
8787         (gst_queue_finalize), (update_time_level), (apply_segment),
8788         (apply_buffer), (gst_queue_locked_flush),
8789         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8790         (gst_queue_handle_sink_event), (gst_queue_chain),
8791         (gst_queue_push_one), (gst_queue_loop):
8792         * plugins/elements/gstqueue.h:
8793         Refactor an cleanup queue a bit.
8794         Do better time level calculations that also work when the srcpad is not
8795         yet running.
8796         Remove some unneeded debug lines.
8797
8798         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8799         Added testcase for time level measurement.
8800         Try to make some stuff more racefree.
8801
8802 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8803
8804         * gst/gsturi.c: (gst_element_make_from_uri):
8805           Don't leak plugin feature.
8806
8807         * tests/check/Makefile.am:
8808         * tests/check/gst/.cvsignore:
8809         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8810           Add brain-dead unit test.
8811
8812 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8813
8814         Patch by: Jeroen Wouters <woutersj at gmail com>
8815
8816         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8817           Treat protocol strings in a case-insensitive way (#437563).
8818
8819 2007-05-11  Michael Smith <msmith@fluendo.com>
8820
8821         * gst/gstplugin.c: (gst_plugin_load_file):
8822         * gst/gstregistry.c: (gst_registry_scan_path_level):
8823           Don't print a g_warning for any failure to load a shared object.
8824           Instead, push this down into gstplugin.c, and warn _only_ if we
8825           failed to open the module (i.e. failure to link).
8826           Avoids warnings on normal, working, non-plugin .so files.
8827
8828 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8829
8830         * gst/gstplugin.c (gst_plugin_load_file):
8831         * gst/gstregistry.c (GST_CAT_DEFAULT,
8832           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8833           Print a g_warning if there was an error when loading a plugins during
8834           registry scan. The shuld help beginners starting with gst-plugin
8835           template.
8836
8837 2007-05-10  Wim Taymans  <wim@fluendo.com>
8838
8839         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8840         (update_time_level), (gst_queue_locked_flush),
8841         (gst_queue_handle_sink_event), (gst_queue_chain),
8842         (gst_queue_push_one), (gst_queue_loop):
8843         * plugins/elements/gstqueue.h:
8844         Be smarter when calculating the current amount of data in the queue by
8845         measuring the difference between start and end timestamps (in running
8846         time) inside the queue. Fixes #432876.
8847         API: GstQueue::pushing to notify elements that we are pushing data again
8848         since the running signal is rather broken for this purpose.
8849
8850 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8851
8852         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8853           gst_queue_base_init, gst_queue_init):
8854           use GST_BOILERPLATE
8855
8856 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8857
8858         * win32/common/libgstreamer.def:
8859         Add new exported functions.
8860         * win32/vs6/grammar.dsp:
8861         Use grammar pre-generated files.
8862
8863 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8864
8865         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8866
8867         * gst/Makefile.am:
8868         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8869         * gst/gstparse.h:
8870         * gst/gstutils.c: (gst_parse_bin_from_description):
8871         * gst/gstutils.h:
8872           Maintain API and ABI when --disable-parse is used. Now that
8873           we have an appropriate error code, we can just return NULL and the
8874           appropriate error when gst_parse_launch() is used despite it having
8875           been disabled (#342564).
8876
8877         * tests/check/Makefile.am:
8878         * tests/check/pipelines/.cvsignore:
8879         * tests/check/pipelines/parse-disabled.c:
8880           Make sure these functions exist and return NULL plus a GError when
8881           --disable-parse is used.
8882
8883 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8884
8885         * tests/benchmarks/complexity.c: (main):
8886         * tests/benchmarks/mass-elements.c: (main):
8887           Set a good example and don't leak messages.
8888
8889 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8890
8891         * docs/gst/Makefile.am:
8892         * docs/libs/Makefile.am:
8893           Correct fixxrefs options.
8894
8895         * docs/plugins/Makefile.am:
8896         * docs/plugins/gstreamer-plugins-docs.sgml:
8897         * docs/plugins/gstreamer-plugins-sections.txt:
8898         * plugins/elements/Makefile.am:
8899         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8900         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8901           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8902           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8903           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8904           _GstCapsFilterClass, trans_class):
8905         * plugins/elements/gstelements.c (name, rank, type, _elements):
8906         * plugins/elements/gstidentity.c
8907           (gst_identity_check_imperfect_timestamp,
8908           gst_identity_check_imperfect_offset):
8909           Document capsfilter and add doc-blurb to identity.
8910
8911 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8912
8913         * libs/gst/controller/gstcontroller.c:
8914         (gst_controlled_property_set_interpolation_mode):
8915         * libs/gst/controller/gstinterpolation.c:
8916           Don't crash if someone tries to set an interpolation mode that
8917           is invalid or that isn't supported yet. Fixes #422295.
8918
8919         * tests/check/libs/controller.c: (GST_START_TEST),
8920         (gst_controller_suite):
8921           Add a test case for the above.
8922
8923 2007-05-03  Edward Hervey  <edward@fluendo.com>
8924
8925         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8926         Properly set the last_stop position on GstSegment. This will only happen
8927         if there is a buffer to push out.
8928
8929 2007-05-03  Wim Taymans  <wim@fluendo.com>
8930
8931         * libs/gst/base/gstbasetransform.c:
8932         (gst_base_transform_buffer_alloc):
8933         always_in_place does not mean that the sink and source caps are the
8934         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8935
8936 2007-05-03  Wim Taymans  <wim@fluendo.com>
8937
8938         * docs/libs/gstreamer-libs-sections.txt:
8939         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8940         (gst_base_src_default_query), (gst_base_src_get_range):
8941         * libs/gst/base/gstbasesrc.h:
8942         API: gst_base_src_query_latency(). Added method so that subclasses can
8943         easily get the latency values of the base source class.
8944
8945 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8946
8947         * tools/gst-inspect.c (print_implementation_info):
8948         Remove 0.8 cruft.
8949
8950 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8951
8952         * tools/Makefile.am:
8953         * tools/gst-launch.1.in:
8954           Don't create a customised man page based on the host architecture,
8955           describe the default registry path generically. That way the man
8956           page is the same for all architectures and packagers have one
8957           multilib issue less to deal with. Fixes #434926.
8958
8959 2007-05-02  Wim Taymans  <wim@fluendo.com>
8960
8961         * gst/gstpad.c:
8962         Fix documentation as spotted by rg on IRC. 
8963
8964 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8965
8966         * gst/gstutils.c:
8967           Improve docs for gst_element_{link,unlink}.
8968
8969 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8970
8971         * docs/design/part-events.txt:
8972         * docs/design/part-overview.txt:
8973         * gst/gstevent.c:
8974         * gst/gsturi.c:
8975         * gst/gsturi.h:
8976         * libs/gst/base/gstbasesink.c:
8977           Typo fixes; minor docs addition.
8978
8979 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8980
8981         * docs/gst/gstreamer-sections.txt:
8982         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8983         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8984         * gst/gsturi.h:
8985         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8986         or src that supports a given URI protocol exists.
8987
8988 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8989
8990         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8991         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8992         Set the location to NULL if "file://" is set as URI. Otherwise
8993         some random previous URI would still be set if "file://" is
8994         set on an already used filesink/filesrc.
8995
8996 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8997
8998         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8999         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9000         Special case the "file://" URI as as this is used by some
9001         applications to test with gst_element_make_from_uri if there's
9002         an element that supports the URI protocol.
9003         Also move the g_path_is_absolute() check for the location part
9004         of the URI to also check this for "file://localhost/bla" URIs.
9005
9006 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9007
9008         * docs/gst/gstreamer-sections.txt:
9009         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9010         * gst/gstbuffer.h:
9011         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9012         (gst_buffer_suite):
9013           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9014
9015 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9016
9017         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9018         (gst_registry_binary_load_pad_template),
9019         (gst_registry_binary_load_plugin),
9020         (gst_registry_binary_read_cache):
9021         * gst/gstregistrybinary.h:
9022           Implement no-mmap alternative for registry reading. Do code cleanups.
9023           Add more comments about avoiding strdups for all text data. Comments
9024           welcome.
9025
9026 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9027
9028         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9029           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9030           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9031           Comment structs and reformat to fix the build (that stuff should go
9032           into a priv. header).
9033
9034 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9035
9036         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9037         (gst_registry_binary_load_feature):
9038         * gst/gstregistrybinary.h:
9039           Refactor so that we can implement multiple features. Add support for
9040           TypeFindFactory features.
9041
9042 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9043
9044         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9045
9046         * configure.ac:
9047           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9048
9049 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9050
9051         * gst/gstbin.c: (gst_bin_element_set_state),
9052         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9053         (bin_handle_async_done), (gst_bin_handle_message_func):
9054           Fix build with --gst-disable-gst-debug
9055
9056 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9057
9058         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9059           Make sure streaming has finished before calling the ::stop() vfunc,
9060           since that vfunc might clear state which is being used in the
9061           streaming thread. This fixes a race that caused crashes in
9062           audioresample when shutting down a pipeline (#420106).
9063
9064 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9065
9066         * docs/gst/gstreamer-sections.txt:
9067           That was one byte missing.
9068
9069 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9070
9071         * configure.ac:
9072         * docs/gst/gstreamer-sections.txt:
9073         * gst/Makefile.am:
9074         * gst/gstconfig.h.in:
9075         * gst/gstobject.c: (gst_object_class_init),
9076         (gst_signal_object_class_init):
9077         * gst/gstobject.h:
9078           2nd attempt to have a xml-less build as a joined effort of #413123
9079           and #421480.
9080
9081 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9082
9083         * docs/design/draft-tagreading.txt:
9084           Added open issues/thoughts to draft.
9085
9086 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9087
9088         * gst/parse/grammar.tab.pre.c:
9089         * gst/parse/grammar.tab.pre.h:
9090         * gst/parse/lex._gst_parse_yy.pre.c:
9091         Update the prebuild parser sources.
9092
9093 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9094
9095         * gst/parse/Makefile.am:
9096         And now fix the building of the flex sources. Now everything should
9097         work as expected.
9098
9099 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9100
9101         * gst/parse/Makefile.am:
9102         Now hopefully fix the build failures by setting proper rule
9103         dependencies and moving instead of copying.
9104
9105 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9106
9107         * tests/benchmarks/complexity.gnuplot:
9108         * tests/benchmarks/complexity.scm:
9109         * tests/benchmarks/mass-elements.gnuplot:
9110         * tests/benchmarks/mass-elements.scm:
9111           Total licensification.
9112
9113 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9114
9115         * gst/parse/Makefile.am:
9116           Fix the build by correcting the rule that gave wrong files to flex.
9117
9118 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9119
9120         * tests/benchmarks/complexity.c:
9121         * tests/benchmarks/mass-elements.c:
9122           Change licence to LGPL as granted by Benjamin and Andy.
9123
9124 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9125
9126         * gst/parse/Makefile.am:
9127         Add correct grammar.tab.h dependency if compiling without new enough
9128         flex. Fixes #431150.
9129
9130 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9131
9132         * gst/parse/Makefile.am:
9133         Fix typo and use outdated sources if the flex/bison sources are newer
9134         than the pregenerated ones but flex is too old. Print a warning in
9135         that case. This should fix the build on the build bot.
9136
9137 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9138
9139         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9140         * gst/parse/Makefile.am:
9141         * gst/parse/grammar.y:
9142         * gst/parse/parse.l:
9143         Make the parser reentrant and recursively callable. This requires flex
9144         >= 2.5.31, for older versions pregenerated sources are used as we
9145         can't bump the build dependency. Finally fixes #349180.
9146
9147         * gst/gstparse.c: (gst_parse_launch):
9148         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9149         now anyway.
9150
9151         * docs/gst/Makefile.am:
9152         * docs/gst/Makefile.am:
9153         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9154         (__gst_parse_strfree), (__gst_parse_link_new),
9155         (__gst_parse_link_free), (__gst_parse_chain_new),
9156         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9157         (gst_parse_element_set), (gst_parse_free_link),
9158         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9159         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9160         (_gst_parse_launch):
9161         * gst/parse/grammar.tab.pre.h:
9162         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9163         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9164         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9165         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9166         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9167         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9168         (_gst_parse_yypop_buffer_state),
9169         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9170         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9171         (yy_fatal_error), (_gst_parse_yyget_extra),
9172         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9173         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9174         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9175         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9176         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9177         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9178         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9179         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9180         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9181         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9182         (_gst_parse_yyfree):
9183         If the installed flex version is too old use pre-generated parser
9184         sources. These pre-generated parser sources are always updated when
9185         the actual flex/bison sources change but require everybody who wants
9186         to change something in the parser to have flex >= 2.5.31 installed.
9187
9188 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9189
9190         * common/m4/gst-gettext.m4:
9191         * gst/gst-i18n-lib.h:
9192           Make --disable-nls to work
9193
9194 2007-04-17  Wim Taymans  <wim@fluendo.com>
9195
9196         * gst/gstconfig.h.in:
9197         Revert previous change that broke the build.
9198
9199 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9200
9201         * configure.ac:
9202         * gst/Makefile.am:
9203         * gst/gstconfig.h.in:
9204           Drop libxml2 dependency when building with 
9205           --enable-binary-registry --disable-loadsave
9206
9207 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9208
9209         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9210         (gst_registry_binary_read_cache):
9211         * gst/gstregistrybinary.h:
9212           Remove unnecessary <sys/mman.h> include which broke the win32 build
9213           with MingW; move includes from header file to .c file, even if the
9214           header file isn't installed; use g_strerror() where UTF-8 strings
9215           are expected, such as in GST_DEBUG messages.
9216
9217 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9218
9219         * docs/libs/gstreamer-libs-sections.txt:
9220         Remove bogus addition for API I didn't end up keeping.
9221
9222         * libs/gst/base/gstbasesrc.h:
9223         Mention Since: 0.10.13 in the documentation.
9224
9225         Add the API keyword to the previous ChangeLog entry.
9226
9227 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9228
9229         * docs/libs/gstreamer-libs-sections.txt:
9230         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9231         (gst_base_src_default_prepare_seek_segment),
9232         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9233         * libs/gst/base/gstbasesrc.h:
9234         Allow basesrc derived classes to execute seeks in other formats
9235         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9236         to prepare the GstSegment in any format that their perform_seek method
9237         will be able to understand. The default implementation provides the
9238         old behaviour of attempting to convert the seek offsets to the 
9239         configured native format.
9240
9241         API: basesrc::prepare_seek_segment vmethod.
9242
9243 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9244
9245         * gst/gstelement.c: (gst_element_get_state_func):
9246         Don't output the same debug statement twice.
9247
9248         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9249         (gst_adapter_peek), (gst_adapter_take_buffer):
9250         Optimise the case where we have buffers at the head of the queue that
9251         can be joined quickly (because they're contiguous sub-buffers) by
9252         merging them together rather than copying data out into new memory.
9253
9254         * gst/parse/grammar.y:
9255         * tests/check/pipelines/parse-launch.c:
9256         Fix a leak in an error path for parse_launch, and add a check 
9257         for it to the testsuite.
9258
9259 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9260
9261         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9262           Don't deadlock when releasing a pad - gst_pad_set_active may try
9263           and take the multiqueue lock too.
9264
9265 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9266
9267         * gst/gsterror.c: (_gst_core_errors_init):
9268         * gst/gsterror.h:
9269           API: add GST_CORE_ERROR_DISABLED (#392804).
9270
9271 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9272
9273         * docs/faq/gst-uninstalled:
9274           don't get empty paths on the PATH variables
9275         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9276           Don't format for the uncommon terminal width of 84 characters.
9277
9278 2007-04-06  Wim Taymans  <wim@fluendo.com>
9279
9280         * gst/gstpipeline.c: (reset_stream_time),
9281         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9282         Only try to select a different pipeline clock when we went back to
9283         PAUSED and not when we merely got flushed.
9284
9285 2007-04-05  Michael Smith  <msmith@fluendo.com>
9286
9287         * tools/gst-launch.1.in:
9288           fractions are better supported in gstreamer than ractions, so
9289           suggest using those.
9290
9291 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9292
9293         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9294
9295         * po/LINGUAS:
9296         * po/da.po:
9297           Added Danish translation.
9298
9299 2007-04-05  Wim Taymans  <wim@fluendo.com>
9300
9301         * libs/gst/base/gstbasesink.c:
9302         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9303         Fix leak caused when refusing newsegment after EOS.
9304
9305         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9306         (gst_fake_sink_init), (gst_fake_sink_set_property),
9307         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9308         (gst_fake_sink_render), (gst_fake_sink_change_state):
9309         * plugins/elements/gstfakesink.h:
9310         Add num-buffers property to make the element generate EOS after a
9311         configurable amount of buffers.
9312         API: fakesink::num-buffers property.
9313
9314         * tests/check/elements/fakesink.c: (GST_START_TEST),
9315         (fakesink_suite):
9316         Fix GstBus leak in test.
9317         Test for fakesink num-buffers.
9318
9319 2007-04-05  Wim Taymans  <wim@fluendo.com>
9320
9321         * libs/gst/base/gstbasesink.c:
9322         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9323         (gst_base_sink_change_state):
9324         Don't accept anything after an EOS, return UNEXPECTED instead.
9325
9326         * tests/check/elements/fakesink.c: (GST_START_TEST),
9327         (fakesink_suite):
9328         Unit test for new EOS behaviour.
9329
9330 2007-04-05  Wim Taymans  <wim@fluendo.com>
9331
9332         * gst/gstelement.c: (gst_element_get_request_pad):
9333         Make padtemplates also work when they don't contain %s or %d.
9334
9335 2007-04-05  Wim Taymans  <wim@fluendo.com>
9336
9337         * docs/gst/gstreamer-sections.txt:
9338         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9339         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9340         * gst/gstclock.h:
9341         Improve _adjust_unlocked() so that it overflows less.
9342         Add gst_clock_unadjust_unlocked to convert from external time to
9343         internal time based on calibration.
9344         Add some more debug.
9345         API: GstClock::gst_clock_unadjust_unlocked()
9346
9347 2007-04-03  Wim Taymans  <wim@fluendo.com>
9348
9349         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9350
9351         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9352         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9353         when releasing sink pad. Fixes #425400.
9354
9355 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9356
9357         * docs/random/ensonic/dynlink.txt:
9358           More work on proposal for new core api.
9359
9360         * docs/libs/gstreamer-libs-sections.txt:
9361         * libs/gst/base/gstbasetransform.h:
9362           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9363           
9364         * libs/gst/controller/gstcontroller.c:
9365         (on_object_controlled_property_changed),
9366         (gst_controller_sync_values),
9367         (gst_controller_set_interpolation_mode):
9368         * libs/gst/controller/gstcontroller.h:
9369           Less verbose logging add docs for unimplemented parts and correctly
9370           return when using unavailable parts.
9371
9372 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9373
9374         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9375         Move all the debug to the CLOCK category, and associate it with
9376         the clock object.
9377
9378 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9379
9380         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9381         Make take_buffer a bit quicker by removing redundant checks
9382         caused by calling gst_adapter_take.
9383
9384 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9385
9386         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9387           Don't leak GCond.
9388
9389         * tests/check/Makefile.am:
9390         * tests/check/elements/.cvsignore:
9391         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9392         (GST_START_TEST), (multiqueue_suite):
9393           Add some dead simple unit tests for the 'multiqueue' element
9394           (some bits don't work yet and are disabled for now).
9395
9396 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9397
9398         * gst/gstelement.c: (gst_element_get_request_pad),
9399         (gst_element_class_get_request_pad_template):
9400           Make gst_element_get_request_pad() create request pads only for
9401           request pad templates and not for, say, sometimes pad templates.
9402
9403 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9404
9405         * docs/design/draft-klass.txt:
9406           Add example that needs more thinking.
9407         
9408         * docs/design/draft-missing-plugins.txt:
9409           More thoughts about wrapper plugins.
9410         
9411         * docs/random/ensonic/embedded.txt:
9412         * docs/random/ensonic/profiling.txt:
9413           More design work.
9414
9415 2007-03-25  Wim Taymans  <wim@fluendo.com>
9416
9417         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9418         (gst_base_src_loop):
9419         Only push the segment events in the PLAYING state for live sources.
9420
9421 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9422
9423         * gst/gstpipeline.c: (gst_pipeline_change_state):
9424         Modify the clock distribution path in PAUSED->PLAYING so that we 
9425         never attempt to choose a new clock unless we're actually leaving
9426         the PAUSED state for the first time. This prevents choosing a
9427         different clock when the state_change gets called for a 2nd time due
9428         to some element doing an async state change.
9429
9430 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9431
9432         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9433         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9434         (gst_pad_chain_unchecked), (gst_pad_push):
9435         Revert last commit. This needs some more thoughts.
9436
9437 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9438
9439         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9440         (gst_pad_chain_unchecked), (gst_pad_push):
9441         Check in set_caps if the caps are compatible with the pad and remove
9442         two functions that are redundant now. Fixes #421543.
9443
9444 2007-03-22  Wim Taymans  <wim@fluendo.com>
9445
9446         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9447         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9448         Unref some more to make valgrind happy.
9449
9450 2007-03-22  Wim Taymans  <wim@fluendo.com>
9451
9452         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9453         (gst_system_clock_id_wait_jitter),
9454         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9455         Fix anoying regression that survived a few releases. When adding an
9456         async entry while blocking on a sync entry, the sync entry will unblock
9457         but still be busy, so it should continue to wait instead of returning
9458         _BUSY to the app.
9459         Add some comments here and there.
9460
9461         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9462         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9463         Add testcase for this.
9464
9465 2007-03-22  Wim Taymans  <wim@fluendo.com>
9466
9467         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9468         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9469         WRONG_STATE and can silently pause the task. All other cases should
9470         error out.
9471
9472 2007-03-22  Wim Taymans  <wim@fluendo.com>
9473
9474         Patch by: Ville Syrjala <syrjala at sci dot fi>
9475
9476         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9477         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9478         Improve debugging.
9479
9480 2007-03-21  Michael Smith  <msmith@fluendo.com>
9481
9482         * docs/pwg/advanced-types.xml:
9483           Fix some errors in the typefinding docs pointed out on irc.
9484
9485 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9486
9487         * libs/gst/base/gstbasesrc.c:
9488         Clarify FIXME comment in the face of having added unlock_stop()
9489
9490 2007-03-21  Wim Taymans  <wim@fluendo.com>
9491
9492         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9493         Prepare for release where we warn against possible app breakage in the
9494         case of live pipelines along with an env var to enable/disable live
9495         preroll mode (GST_COMPAT=[no-]live-preroll).
9496
9497 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9498
9499         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9500         So we should use correct constants for checking for None offset.
9501
9502 2007-03-20  Wim Taymans  <wim@fluendo.com>
9503
9504         * docs/design/part-block.txt:
9505         Mention the fact that the newly switched element should be set to at
9506         least PAUSED.
9507
9508 2007-03-20  Wim Taymans  <wim@fluendo.com>
9509
9510         * gst/gst.c:
9511         Fix compilation with registry disabled as spotted by Saur.
9512
9513 2007-03-20  Wim Taymans  <wim@fluendo.com>
9514
9515         Patch by: Olivier Crete <tester at tester dot ca>
9516
9517         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9518         Look at the pending state too when syncing the element state to the
9519         parent. Fixes #420133.
9520
9521 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9522
9523         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9524         (gst_base_sink_change_state):
9525         * libs/gst/base/gstbasesink.h:
9526         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9527         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9528         (gst_base_src_deactivate):
9529         * libs/gst/base/gstbasesrc.h:
9530         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9531         for sub-classes to correctly clear any state they set trying to
9532         unlock, such as clearing out unlock commands from a command fd.
9533         API: basesrc::unlock_stop
9534         API: basesink::unlock_stop
9535
9536         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9537         (gst_fd_sink_render), (gst_fd_sink_unlock),
9538         (gst_fd_sink_unlock_stop):
9539         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9540         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9541         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9542
9543         Implement unlock_stop in fdsrc and fdsink.
9544         Implement seeking in fdsrc when a seekable fd is passed, as in
9545         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9546
9547 2007-03-19  Wim Taymans  <wim@fluendo.com>
9548
9549         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9550
9551         * gst/gstelement.c: (gst_element_class_init):
9552         Fix pad-added and pad-removed signal signatures so that the pad type is
9553         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9554
9555 2007-03-19  Wim Taymans  <wim@fluendo.com>
9556
9557         * docs/gst/gstreamer-sections.txt:
9558         Add new element field and method.
9559
9560         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9561         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9562         (gst_bin_recalc_state), (gst_bin_get_state_func),
9563         (gst_bin_element_set_state), (gst_bin_change_state_func),
9564         (gst_bin_continue_func), (bin_bus_handler),
9565         (bin_push_state_continue), (bin_handle_async_start),
9566         (bin_handle_async_done), (gst_bin_handle_message_func):
9567         Make async state changes a bit smarter by using new ASYNC_START and
9568         ASYNC_DONE messages. This reduces the number of times we run the state
9569         recalculation thread.
9570         Don't change state of element with a pending ASYNC_START message.
9571         Deprecate STATE_DIRTY messages.
9572         
9573         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9574         (gst_element_get_state_func), (gst_element_continue_state),
9575         (gst_element_lost_state), (gst_element_set_state_func),
9576         (gst_element_change_state):
9577         * gst/gstelement.h:
9578         Keep the state that was last set by the app in a new element field.
9579         Don't allow state changes when handling an element event.
9580         Post ASYNC_START and ASYNC_DONE messages.
9581         Change lost_state so that we go to PAUSED and wait for the parent to set
9582         us to PLAYING again (so latency calculation can be performed)
9583         Export gst_element_change_state() method so that subclasses can use it.
9584         API: gst_element_change_state()
9585         API: GST_STATE_TARGET
9586
9587         * gst/gstpipeline.c: (gst_pipeline_class_init),
9588         (reset_stream_time), (gst_pipeline_change_state),
9589         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9590         Using the new ASYNC_START message we can reset the base_time when
9591         needed. This can then be used to implement base_time redistribution in
9592         flushing seeks so that we can remove the explicit seek handling.
9593         Perform latency query and configuration when going to PLAYING.
9594
9595         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9596         (gst_base_sink_query), (gst_base_sink_change_state):
9597         Post new ASYNC_START/ASYNC_DONE messages.
9598
9599         * tests/check/generic/sinks.c: (GST_START_TEST):
9600         Fix test because the bin will not set the async element to PLAYING right
9601         away.
9602
9603         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9604         Make the message check a little stronger.
9605         Handle ASYNC messages.
9606
9607         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9608         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9609         Expect ASYNC_DONE messages.
9610
9611 2007-03-19  Wim Taymans  <wim@fluendo.com>
9612
9613         * docs/gst/gstreamer-sections.txt:
9614         * gst/gstmessage.c: (gst_message_new_async_start),
9615         (gst_message_new_async_done), (gst_message_parse_info),
9616         (gst_message_parse_async_start):
9617         * gst/gstmessage.h:
9618         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9619         support.
9620
9621 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9622
9623         * tools/gst-inspect.c:
9624         (print_plugin_automatic_install_info_codecs):
9625           Now that we don't check for the 'Codec' keyword any longer in the
9626           klass, we shouldn't spew a warning if the klass isn't a decoder or
9627           encoder (since it might be a Source/Network, for example).
9628
9629 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9630
9631         * tools/gst-inspect.c:
9632         (print_plugin_automatic_install_info_codecs):
9633           Don't require decoder/demuxer/depayloader elements or
9634           encoder/muxer/paylader elements to have 'Codec' as part of their
9635           factory class string when introspecting a plugin's capabilities.
9636           draft-klass.txt mentions that it might be removed in future, and
9637           flump3dec doesn't have it as part of its class string, so chances
9638           are others might also not have it.
9639
9640 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9641
9642         * po/af.po:
9643         * po/az.po:
9644         * po/bg.po:
9645         * po/ca.po:
9646         * po/cs.po:
9647         * po/de.po:
9648         * po/en_GB.po:
9649         * po/fr.po:
9650         * po/it.po:
9651         * po/nb.po:
9652         * po/nl.po:
9653         * po/ru.po:
9654         * po/sq.po:
9655         * po/sr.po:
9656         * po/sv.po:
9657         * po/tr.po:
9658         * po/uk.po:
9659         * po/vi.po:
9660         * po/zh_CN.po:
9661         * po/zh_TW.po:
9662           Update translations from translation project
9663
9664 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9665
9666         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9667         (gst_child_proxy_set_property):
9668           Invert precondition check to be alike the ones in the mimiced gobject
9669           api.
9670
9671 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9672
9673         * docs/design/draft-tagreading.txt:
9674         * docs/random/ensonic/audiobaseclasses.txt:
9675           Do some Architect work.
9676
9677         * gst/gstobject.c: (gst_object_set_name):
9678           Add a WARNING.
9679
9680         * gst/gstpad.c:
9681           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9682
9683 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9684
9685         * gst/gstsystemclock.c: (gst_system_clock_init),
9686         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9687         Defer starting the async system clock thread until the first async
9688         wait is scheduled. Fixes #414986.
9689
9690 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9691
9692         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9693         (gst_single_queue_free):
9694           Fix small leak (free GstSingleQueue structure too, not only contents).
9695
9696 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9697
9698         * gst/gstbin.c:(gst_bin_add):
9699         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9700         * win32/common/libgstbase.def:
9701         * win32/common/libgstreamer.def:
9702         Add new exported functions.
9703
9704 2007-03-09  Wim Taymans  <wim@fluendo.com>
9705
9706         * docs/plugins/gstreamer-plugins-sections.txt:
9707         Fix GstTee docs.
9708
9709 2007-03-09  Wim Taymans  <wim@fluendo.com>
9710
9711         * docs/gst/gstreamer-sections.txt:
9712         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9713         * gst/gstbuffer.h:
9714         Add metadata copy functions. Fixes #393099.
9715         API: gst_buffer_copy_metadata()
9716
9717         * gst/gstutils.c: (gst_buffer_stamp):
9718         * libs/gst/base/gstbasetransform.c:
9719         (gst_base_transform_prepare_output_buffer):
9720         Use new metadata copy functions.
9721
9722 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9723
9724         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9725         (gst_identity_init), (gst_identity_check_perfect),
9726         (gst_identity_check_imperfect_timestamp),
9727         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9728         (gst_identity_set_property), (gst_identity_get_property):
9729         * plugins/elements/gstidentity.h:
9730         Separate out check-imperfect-timestamp and check-imperfect-offset.
9731         Put back check-perfect as it was to keep compatibility.
9732
9733 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9734
9735         * gst/gstelement.c: (gst_element_dispose):
9736         There's no need to warn if VOID_PENDING is not NONE here, as
9737         long as the state is NULL it's ok, and that's checked immediately
9738         above.
9739
9740 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9741
9742         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9743         Fix check for perfect stream to ignore buffers with -1 
9744         offsets/offset ends when checking data contiguity.
9745
9746 2007-03-08  Wim Taymans  <wim@fluendo.com>
9747
9748         * tools/gst-launch.c: (event_loop):
9749         Print INFO messages.
9750
9751 2007-03-08  Wim Taymans  <wim@fluendo.com>
9752
9753         * libs/gst/base/gstbasetransform.c:
9754         (gst_base_transform_sink_eventfunc),
9755         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9756         (gst_base_transform_activate):
9757         * libs/gst/base/gstbasetransform.h:
9758         Add support for dropping buffers with custom GstFlowReturn.
9759         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9760         buffers or dropped buffers.
9761
9762         * docs/libs/gstreamer-libs-sections.txt:
9763         docs for new custom return code.
9764
9765         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9766         Use drop support in base class to implement drop-probability.
9767
9768 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9769
9770         * gst/gst.c: (load_plugin_func):
9771         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9772         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9773         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9774           Remove newlines at end of debug log strings.
9775
9776 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9777
9778         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9779         Only post bus message at max, once per buffer received.
9780
9781 2007-03-07  Wim Taymans  <wim@fluendo.com>
9782
9783         * docs/design/Makefile.am:
9784         * docs/design/part-synchronisation.txt:
9785         Add doc about synchronisation
9786
9787         * docs/design/draft-latency.txt:
9788         * docs/design/part-TODO.txt:
9789         * docs/design/part-clocks.txt:
9790         * docs/design/part-events.txt:
9791         * docs/design/part-gstbus.txt:
9792         * docs/design/part-gstpipeline.txt:
9793         * docs/design/part-live-source.txt:
9794         * docs/design/part-messages.txt:
9795         * docs/design/part-overview.txt:
9796         * docs/design/part-streams.txt:
9797         * docs/design/part-trickmodes.txt:
9798         Documentation updates.
9799
9800 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9801
9802         * gstreamer.doap:
9803         Update the doap file.
9804
9805 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9806
9807         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9808         Rename non-perfect to imperfect for Mike and for the sanctity of the
9809         language.
9810         Also make sure bus message gets emitted for data-incontiguities.
9811
9812 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9813
9814         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9815         (gst_identity_start):
9816         * plugins/elements/gstidentity.h:
9817         Emit bus message if check-perfect is true and we encounter a
9818         non-perfect stream between 2 consecutive buffers.
9819         Fixes #415394.
9820
9821 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9822
9823         * configure.ac:
9824         Back to CVS
9825
9826 === release 0.10.12 ===
9827
9828 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9829
9830         * configure.ac:
9831           releasing 0.10.12, "Inevitable Demise"
9832
9833 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9834
9835         * configure.ac:
9836          Version 0.10.11.2 (0.10.12 pre-release)
9837          Bump libtool versioning.
9838
9839 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9840
9841         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9842           Log flow-names and not numbers.
9843
9844 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9845
9846         * configure.ac:
9847           Convert to new AG_GST style.
9848
9849 2007-02-28  Wim Taymans  <wim@fluendo.com>
9850
9851         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9852         Don't unref query twice.
9853
9854 2007-02-28  Wim Taymans  <wim@fluendo.com>
9855
9856         * gst/gstvalue.c: (gst_value_transform_object_string),
9857         (_gst_value_initialize):
9858         Implement GstObject -> string transform so we print object names
9859         when serializing GValues containing GstObjects.
9860
9861 2007-02-28  Wim Taymans  <wim@fluendo.com>
9862
9863         * docs/gst/gstreamer-sections.txt:
9864         Add new stuff to docs.
9865
9866 2007-02-28  Wim Taymans  <wim@fluendo.com>
9867
9868         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9869         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9870         (gst_base_sink_change_state):
9871         Improve latency query code.
9872         Don't leak latency events.
9873
9874         * tests/check/gst/gstbin.c: (GST_START_TEST):
9875         Improve debugging.
9876
9877 2007-02-28  Wim Taymans  <wim@fluendo.com>
9878
9879         * gst/gstelement.c: (gst_element_message_full),
9880         (gst_element_get_state_func):
9881         * gst/gstelement.h:
9882         Improve docs a little. Added Since: for new macro.
9883
9884         * gst/gstobject.c: (gst_object_sink):
9885         * gst/gstpipeline.c: (gst_pipeline_change_state),
9886         (gst_pipeline_set_new_stream_time):
9887         * gst/gstpipeline.h:
9888         Improve debugging and docs.
9889
9890         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9891         Improve debugging.
9892
9893 2007-02-28  Wim Taymans  <wim@fluendo.com>
9894
9895         * gst/gstelement.c: (gst_element_message_full),
9896         (gst_element_set_locked_state), (gst_element_get_state_func),
9897         (gst_element_change_state):
9898         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9899         Documentation updates.
9900         Small code cleanups.
9901
9902         * gst/gstmessage.c: (gst_message_new_info),
9903         (gst_message_parse_info):
9904         * gst/gstmessage.h:
9905         API: gst_message_new_info()
9906         API: gst_message_parse_info()
9907         Add INFO message create and parse code.
9908
9909 2007-02-28  Wim Taymans  <wim@fluendo.com>
9910
9911         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9912         (bin_query_latency_done):
9913         Also report the live parameter of a latency query.
9914
9915 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9916
9917         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9918           Copy the current generic/states example from -base and adapt so
9919           we can use the exact same code everywhere.
9920           Check a STATES_IGNORE_ELEMENTS env var which can be used
9921           to ignore certain element factories for this test, which is
9922           what is being done in -base
9923         * tests/check/Makefile.am:
9924           Mention this environment variable.
9925
9926 2007-02-27  Wim Taymans  <wim@fluendo.com>
9927
9928         * docs/gst/gstreamer-sections.txt:
9929         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9930         (gst_bus_timed_pop), (gst_bus_pop):
9931         * gst/gstbus.h:
9932         API: gst_bus_timed_pop()
9933         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9934         message to arrive on the bus.
9935
9936         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9937         (gst_bus_suite):
9938         Two unit tests for new _timed_pop() function.
9939
9940 2007-02-23  Wim Taymans  <wim@fluendo.com>
9941
9942         * gst/gstpipeline.c: (gst_pipeline_change_state),
9943         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9944         Don't ref a NULL clock in _provide_clock_func().
9945         Don't allow an INVALID delay.
9946         Don't try to calculate base_time with an invalid start_time.
9947         Also distribute and notify a NULL clock when it was selected.
9948
9949         * tools/gst-launch.c: (event_loop):
9950         Don't crash when a NULL clock was selected in the pipeline.
9951
9952 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9953
9954         * docs/design/Makefile.am:
9955         * docs/design/draft-missing-plugins.txt:
9956         * docs/random/draft-missing-plugins.txt:
9957           Some small updates: update plugin system identifier prefix
9958           ('gstreamer.net' to 'gstreamer'), mention our new install
9959           API in libgstbaseutils rather than libgimme-codec, add
9960           reference to the online docs.
9961
9962 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9963
9964         * win32/common/config.h:
9965           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9966           use moap cl ci to only check in what is mentioned in the ChangeLog.
9967
9968 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9969
9970         * docs/gst/gstreamer-sections.txt:
9971         * gst/gstelement.h:
9972           Fix up documentation to link to the correct GstGError section.
9973           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9974
9975 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9976
9977         * tools/gst-launch.c: (event_loop):
9978           Make sure that we actually show the important message part of a
9979           warning message.
9980           No need to check if the gerror is not NULL to free; first of all
9981           g_free accepts NULL; and second the default error handler would
9982           segfault if gerror was NULL.
9983
9984 2007-02-21  Wim Taymans  <wim@fluendo.com>
9985
9986         * docs/gst/gstreamer-sections.txt:
9987         Removed docs as well.
9988
9989 2007-02-21  Wim Taymans  <wim@fluendo.com>
9990
9991         * gst/gstmessage.c: (gst_message_parse_duration):
9992         * gst/gstmessage.h:
9993         Remove new messages for release.
9994
9995 2007-02-20  Wim Taymans  <wim@fluendo.com>
9996
9997         * docs/design/part-gstghostpad.txt:
9998         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9999         (gst_ghost_pad_new_full):
10000         Make the ghostpad a parent of the internal pad again for better backward
10001         compatibility. Don't write code that relies on this however.
10002
10003         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10004         (gst_pad_link_check_hierarchy):
10005         Require that parents should be GstElements in the hierarchy check.
10006
10007 2007-02-20  Wim Taymans  <wim@fluendo.com>
10008
10009         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10010         (gst_bin_change_state_func), (bin_query_min_max_init),
10011         (bin_query_latency_fold), (bin_query_latency_done),
10012         (gst_bin_query):
10013         Improve debug info.
10014         Implement latency query.
10015
10016 2007-02-20  Wim Taymans  <wim@fluendo.com>
10017
10018         * docs/design/part-gstghostpad.txt:
10019         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10020         (gst_ghost_pad_internal_do_activate_push),
10021         (gst_ghost_pad_internal_do_activate_pull),
10022         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10023         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10024         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10025         Do not set the internal pad as a parent anymore so we can avoid
10026         hierarchy linking errors when the ghostpad has no parent yet. This also
10027         fixes failed activation because of unlinked internal pads, which in
10028         turn fixes the impossible case where you have to activate a pad before
10029         you can add it to a running element.
10030         Also fix the docs.
10031
10032         * gst/gstpad.c: (pre_activate), (post_activate),
10033         (gst_pad_set_active), (gst_pad_activate_pull),
10034         (gst_pad_activate_push), (gst_pad_check_pull_range):
10035         Add some more debug info.
10036         Mark activation mode in pre_activate so that we don't try to activate in
10037         endless loops. Fixes #385084.
10038
10039 2007-02-19  Wim Taymans  <wim@fluendo.com>
10040
10041         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10042         (gst_base_transform_check_get_range):
10043         Implement a checkgetrange function instead of relying on the default
10044         core behaviour that assumes we can operate in pull mode if we have a
10045         getrange function. First step at fixing #385084.
10046
10047 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10048
10049         * gst/gstchildproxy.h:
10050         * libs/gst/base/gstbasesink.h:
10051         * libs/gst/base/gstbasesrc.h:
10052         * libs/gst/base/gstbasetransform.h:
10053         More docs coverage and some ChangeLog surgery (add missing names)
10054
10055 2007-02-15  Wim Taymans  <wim@fluendo.com>
10056
10057         * docs/design/part-TODO.txt:
10058         * docs/design/part-activation.txt:
10059         * docs/design/part-block.txt:
10060         * docs/design/part-buffering.txt:
10061         * docs/design/part-clocks.txt:
10062         * docs/design/part-element-source.txt:
10063         * docs/design/part-events.txt:
10064         * docs/design/part-gstbin.txt:
10065         * docs/design/part-gstbus.txt:
10066         * docs/design/part-gstpipeline.txt:
10067         * docs/design/part-live-source.txt:
10068         * docs/design/part-messages.txt:
10069         * docs/design/part-overview.txt:
10070         * docs/design/part-qos.txt:
10071         * docs/design/part-query.txt:
10072         * docs/design/part-states.txt:
10073         * docs/design/part-trickmodes.txt:
10074         Some doc updates. Start renaming from stream_time to running_time where
10075         it was used wrongly.
10076
10077 2007-02-15  Wim Taymans  <wim@fluendo.com>
10078
10079         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10080         Answer LATENCY query.
10081
10082 2007-02-15  Wim Taymans  <wim@fluendo.com>
10083
10084         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10085         (GST_START_TEST):
10086         Improve debugging.
10087
10088 2007-02-15  Wim Taymans  <wim@fluendo.com>
10089
10090         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10091         (gst_pad_dispatcher):
10092         Improve debugging of default pad dispatcher and query functions.
10093
10094 2007-02-15  Wim Taymans  <wim@fluendo.com>
10095
10096         * docs/gst/gstreamer-sections.txt:
10097         Remove old unused method.
10098
10099 2007-02-13  Wim Taymans  <wim@fluendo.com>
10100
10101         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10102         Fix check
10103
10104 2007-02-13  Wim Taymans  <wim@fluendo.com>
10105
10106         * docs/design/part-seeking.txt:
10107         Some small update.
10108
10109         * gst/gstsegment.c: (gst_segment_set_seek):
10110         Revert old bogus change that should make seeking work again.
10111
10112 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10113
10114         * docs/random/ensonic/dynlink.txt:
10115         * docs/random/ensonic/interfaces.txt:
10116         * docs/random/ensonic/receipies.txt:
10117           Possible dynamic reconnection api, plus some type fixes the other two
10118           docs.
10119
10120 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10121
10122         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10123         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10124         Also check for an absolute path following file:// in the filesrc
10125         element. Remove redundant check and call g_path_is_absolute() on the
10126         unescaped location.
10127
10128 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10129
10130         * docs/design/draft-klass.txt:
10131           Add existing category analysis.
10132           
10133         * gst/gstcaps.c:
10134           Fix doc example, framerate is a fraction.
10135
10136 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10137
10138         * configure.ac:
10139         * docs/gst/Makefile.am:
10140         * docs/gst/gstreamer-sections.txt:
10141         * docs/libs/Makefile.am:
10142           Erm, forgot a bunch of --extra-dir.
10143
10144 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10145
10146         * configure.ac:
10147         * docs/gst/Makefile.am:
10148         * docs/libs/Makefile.am:
10149         * docs/plugins/Makefile.am:
10150           Add crossreferences to glib/gobject docs.
10151
10152 2007-02-12  Wim Taymans  <wim@fluendo.com>
10153
10154         * docs/design/draft-latency.txt:
10155         Small update.
10156
10157         * docs/libs/gstreamer-libs-sections.txt:
10158         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10159         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10160         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10161         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10162         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10163         (gst_base_sink_get_position), (gst_base_sink_query),
10164         (gst_base_sink_change_state):
10165         * libs/gst/base/gstbasesink.h:
10166         API: gst_base_sink_query_latency() to let subclasses query the upstream
10167         latency.
10168         API: gst_base_sink_get_latency() to let subclasses query the configured
10169         latency in the sink.
10170         Implement query and set latency.
10171         Update some docs.
10172         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10173         don't continue preroll when we are flushing. Fixes #405284.
10174
10175         * tests/check/pipelines/stress.c: (change_state_timeout),
10176         (quit_timeout), (GST_START_TEST), (stress_suite):
10177         Test for #405284.
10178
10179 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10180
10181         Patch by: René Stadler <mail at renestadler de>
10182
10183         * docs/gst/gstreamer-sections.txt:
10184         * gst/gsttaglist.c: (_gst_tag_initialize):
10185         * gst/gsttaglist.h:
10186           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10187
10188 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10189
10190         * docs/libs/Makefile.am:
10191           Fix path to core docs.
10192
10193         * gst/gstbin.c: (gst_bin_get_by_interface),
10194         (gst_bin_iterate_all_by_interface):
10195           Refix docs by also renaming 'interface' to 'iface' in implementation.
10196
10197         * docs/gst/gstreamer-sections.txt:
10198         * gst/gstcaps.c:
10199         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10200         * gst/gstchildproxy.h:
10201         * gst/gstelementfactory.c:
10202         * gst/gstpadtemplate.h:
10203         * libs/gst/controller/gstcontroller.c:
10204         (gst_controlled_property_new):
10205           Document more.
10206
10207 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10208
10209         * gst/gstbin.h:(gst_bin_get_by_interface),
10210         (gst_bin_iterate_all_by_interface):
10211         Replace interface parameter name by iface as interface is 
10212         a reserved keyword in Visual Studio for C++ projects so it removes
10213         a build error for application developpers using VS.
10214         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10215         Fix a bug on Windows in uri format check. Now the prefix checked
10216         is file:// and next we check if the path after file:// is absolute.
10217         * win32/common/libgstbase.def:
10218         * win32/common/libgstdataprotocol.def:
10219         * win32/common/libgstgstreamer.def:
10220         Add new exported functions.
10221
10222 2007-02-09  Andy Wingo  <wingo@pobox.com>
10223
10224         * tests/check/pipelines/simple-launch-lines.c
10225         (simple_launch_lines_suite, test_tee): Disable tee test until I
10226         have time to fix it :-(
10227
10228         * tests/check/Makefile.am (noinst_HEADERS): 
10229         * tests/check/libs/libsabi.c: 
10230         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10231         * tests/check/gst/gstabi.c: 
10232         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10233
10234         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10235         tests for push and pull tee behavior.
10236
10237         * plugins/elements/gsttee.h: 
10238         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10239         mark as deprecated as well as unimplemented. It was a crack idea.
10240         Add support for tee operating in pull mode, off by default.
10241
10242         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10243         normal-case logs down to LOG, raise errors to WARNING.
10244         (gst_registry_xml_read_cache): Don't log before calling a function
10245         that logs.
10246
10247         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10248         exit (registry finalize).
10249         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10250         DEBUG log when we emit signals that people don't even have the
10251         chance to connect to.
10252         (gst_registry_scan_path_level): Less logging in the normal case.
10253
10254 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10255
10256         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10257
10258         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10259         Correctly generate EOS for non-seekable files. We don't have a total
10260         length for them and would get an unexpected end of file if we only
10261         special-cased for regular files. (Fixes: #404569)
10262
10263 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10264
10265         * tests/check/elements/filesrc.c: (GST_START_TEST),
10266         (filesrc_suite):
10267         Add unit test for the GstURIHandler interface in filesrc. This also
10268         tests the newly added file://localhost/foo/bar support.
10269
10270 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10271
10272         * gst/gstelementfactory.h:
10273           The klass string is not a hierarchy. Add reference to the design doc
10274           for more information and common types.
10275
10276 2007-02-02  Wim Taymans  <wim@fluendo.com>
10277
10278         * gst/gstquery.c: (gst_query_new_latency):
10279         Remove old structure field.
10280
10281 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10282
10283         * tools/gst-launch.1.in:
10284           Give example for network streaming (#351998)
10285
10286 2007-02-02  Wim Taymans  <wim@fluendo.com>
10287
10288         * docs/gst/gstreamer-sections.txt:
10289         Add docs for new methods.
10290
10291         * gst/gstevent.c: (gst_event_new_latency),
10292         (gst_event_parse_latency):
10293         * gst/gstevent.h:
10294         Add new LATENCY event to configure latency in a pipeline.
10295         API: gst_event_new_latency
10296         API: gst_event_parse_latency
10297
10298         * gst/gstmessage.c: (gst_message_new_buffering),
10299         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10300         (gst_message_new_latency), (gst_message_parse_buffering),
10301         (gst_message_parse_lost_preroll):
10302         * gst/gstmessage.h:
10303         Added messages used in draft-latency.
10304         API: gst_message_new_lost_preroll
10305         API: gst_message_parse_lost_preroll
10306         API: gst_message_new_prerolled
10307         API: gst_message_new_latency
10308
10309         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10310         (gst_query_parse_latency):
10311         * gst/gstquery.h:
10312         Implemented new latency query as in design doc.
10313         API: gst_query_new_latency
10314         API: gst_query_set_latency
10315         API: gst_query_parse_latency
10316
10317 2007-02-02  Wim Taymans  <wim@fluendo.com>
10318
10319         * docs/design/draft-latency.txt:
10320         Slight redesign to allow for dynamic latency adjustments.
10321
10322         * docs/design/part-negotiation.txt:
10323         Fix some typos.
10324
10325 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10326
10327         reviewed by: Wim Taymans <wim@fluendo.com>
10328
10329         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10330         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10331         Allow file://localhost/foo/bar URLs and correctly fail for every other
10332         hostname that one sets. This was gnomevfssrc is linked for those if
10333         installed as it can handle it (#403172)
10334
10335 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10336
10337         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10338
10339         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10340         (unref_data), (gst_collect_pads_add_pad_full):
10341         * libs/gst/base/gstcollectpads.h:
10342         Don't put the previously added destroy notify in the GstCollectData
10343         struct as all it's padding is already used and we don't want to break
10344         ABI. Instead put in the pad's GObject data for now. This should be
10345         cleaned up for 0.11 (#402393).
10346
10347 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10348
10349         reviewed by: Wim Taymans <wim@fluendo.com>
10350
10351         * docs/libs/gstreamer-libs-sections.txt:
10352         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10353         (unref_data), (gst_collect_pads_add_pad),
10354         (gst_collect_pads_add_pad_full):
10355         * libs/gst/base/gstcollectpads.h:
10356         API: Add function to specify a destroy notification for custom
10357         GstCollectData when adding new pads in GstCollectPads (#402393).
10358
10359 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10360
10361         * po/sv.po:
10362           Update Swedish translation (#378255).
10363
10364 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10365
10366         * docs/design/draft-klass.txt:
10367           Fix the previous change, this is a list of categories and not a hierarchy.
10368
10369 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10370
10371         * docs/design/draft-klass.txt:
10372           Add info about how to get a list of used classes.
10373
10374 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10375
10376         * plugins/elements/gsttypefindelement.c:
10377         (gst_type_find_element_chain_do_typefinding),
10378         (gst_type_find_element_change_state):
10379           Don't leak found caps in chain function (no idea why that never
10380           showed up as a leak anywhere).
10381
10382 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10383
10384         * gst/gstplugin.h:
10385           Fix and expand GstPluginDesc API docs.
10386
10387 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10388
10389         * gst/gstcaps.c:
10390         * gst/gstelementfactory.c:
10391         * gst/gstpadtemplate.h:
10392           api doc fixes
10393
10394         * libs/gst/controller/gstcontroller.c:
10395         (gst_controlled_property_new):
10396         * tests/examples/controller/audio-example.c:
10397           comment fixes
10398
10399 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10400
10401         * configure.ac:
10402           comment about refining the xml deps
10403
10404         * docs/manuals.mak:
10405           comments about moving away from jade for docs
10406         
10407         * gst/gst.c:
10408           recommit the ifdefs to use the binary registry
10409         
10410         * gst/gstbin.c: (gst_bin_change_state_func):
10411           this break is obsolete
10412
10413         * gst/gstelementfactory.h:
10414           better GST_ELEMENT_DETAILS docs, add comment about translation
10415
10416         * gst/gstinfo.h:
10417           remove eol slash
10418
10419         * gst/gstobject.c: (gst_signal_object_get_type):
10420           add G_UNLIKELY as usual
10421
10422         * gst/gstpad.c: (gst_pad_event_default):
10423           add fall trhu comment
10424
10425         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10426         (gst_registry_binary_initialize_magic),
10427         (gst_registry_binary_save_string),
10428         (gst_registry_binary_save_pad_template),
10429         (gst_registry_binary_save_feature),
10430         (gst_registry_binary_save_plugin),
10431         (gst_registry_binary_write_cache),
10432         (gst_registry_binary_check_magic),
10433         (gst_registry_binary_load_pad_template),
10434         (gst_registry_binary_load_feature),
10435         (gst_registry_binary_load_plugin),
10436         (gst_registry_binary_read_cache):
10437           comment typo and formatting
10438
10439         * gst/gstutils.c: (gst_element_state_get_name),
10440         (gst_element_state_change_return_get_name):
10441           remove obsolete breaks
10442
10443         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10444           add FIXME 0.11 and remove cpp comment
10445
10446 2007-01-29  Edward Hervey  <edward@fluendo.com>
10447
10448         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10449         Fix print statement in an even more portable way.
10450
10451 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10452
10453         * docs/gst/gstreamer-sections.txt:
10454         * gst/gstutils.h:
10455           API: add GST_ROUND_DOWN_* macros (#401781).
10456
10457 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10458
10459         * docs/gst/gstreamer.types.in:
10460         * gst/gstregistry.c: (gst_registry_class_init):
10461           Document registry signals and make gtk-doc pick them up (#401381).
10462
10463 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10464
10465         * docs/pwg/building-testapp.xml:
10466           Add some audioconverts and audioresample to the pipeline, and some
10467           more comments and error handling.
10468
10469 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10470
10471         * docs/manual/manual.xml:
10472         * docs/pwg/pwg.xml:
10473           Fix typo (#400987).
10474
10475 2007-01-26  Wim Taymans  <wim@fluendo.com>
10476
10477         * gst/gstcaps.c: (gst_static_caps_get):
10478         Init caps flags too.
10479
10480 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10481
10482         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10483
10484         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10485         If not using mmap'ed files try to seek to the end instead of the
10486         start to determine whether we can seek at all. This fixes the case
10487         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10488         seeks for everything afterwards fail. Fixes #400656
10489
10490 2007-01-25  Wim Taymans  <wim@fluendo.com>
10491
10492         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10493         Add some refcount debugging.
10494         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10495         in multiple streaming threads.
10496
10497 2007-01-25  Wim Taymans  <wim@fluendo.com>
10498
10499         Patch by: David Schleef <ds at schleef dot org>
10500
10501         * docs/libs/gstreamer-libs-sections.txt:
10502         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10503         * libs/gst/base/gstadapter.h:
10504         API: gst_adapter_copy() that can reduce the amount of memcpy when
10505         getting data from the adapter. Fixes #388201.
10506
10507 2007-01-25  Edward Hervey  <edward@fluendo.com>
10508
10509         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10510         In print statements, "%x" is for guint. Fixes build on macosx.
10511
10512 2007-01-24  Edward Hervey  <edward@fluendo.com>
10513
10514         * plugins/elements/gstmultiqueue.c:
10515         (gst_multi_queue_loop):
10516         Small fix.
10517         (single_queue_overrun_cb), (single_queue_underrun_cb),
10518         (single_queue_check_full), (gst_single_queue_new):
10519         Implement single queue growth system.
10520         This uses the extra-size properties, and will grow single queues by
10521         that much if one goes full whereas there are others empty. This is
10522         called extra-mode in the code.
10523         When a single queue's levels go back below the initial max-size
10524         limits, it is no longer in extra-mode. This is to ensure we don't
10525         consume too much memory.
10526         Fixes #399875
10527
10528 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10529
10530         * gst/gst.c: (gst_init_get_option_group):
10531           Make warning about late g_thread_init() calls a bit more explicit,
10532           so that it's more obvious to application developers what they need
10533           to do if a user files a bug against their application.
10534
10535 2007-01-22  Edward Hervey  <edward@fluendo.com>
10536
10537         * plugins/elements/gstmultiqueue.c:
10538         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10539         Remove previous hack of unsetting the flushing flag for the source pad
10540         instead of activating it. Instead, fix the source pad activate function
10541         so that it no longer depends on having a parent set or not.
10542
10543 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10544
10545         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10546
10547         * docs/manual/basics-bus.xml:
10548           Fix example code, gst_element_unref() doesn't exist any longer.
10549
10550 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10551
10552         Patch by: Mark Nauwelaerts <manauw at skynet be>
10553
10554         * gst/gstpad.c:
10555           Fix two docs typoes (#399094).
10556
10557 2007-01-19  Edward Hervey  <edward@fluendo.com>
10558
10559         * docs/faq/gst-uninstalled:
10560         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10561         depending on libgstbaseutils can work in uninstalled environment.
10562
10563 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10564
10565         * gst/gsttaglist.h:
10566         * gst/gsttagsetter.c:
10567         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10568         statement for new tag.
10569
10570 2007-01-17  Edward Hervey  <edward@fluendo.com>
10571
10572         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10573         When dynamically creating single queues, activate sinkpad before adding
10574         it.
10575         We should be doing the same thing for the source pad, but we can't
10576         since it would call a method which needs the parent to be set in order
10577         to work propertly. Instead of activating the source pad, we just unset
10578         the flushing flag, which is the minimal requirement for adding a pad
10579         to an element in a state greater than READY.
10580
10581 2007-01-17  Edward Hervey  <edward@fluendo.com>
10582
10583         * docs/faq/gst-uninstalled:
10584         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10585         Mac OS X.
10586
10587 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10588
10589         * tests/check/gst/gstabi.c:
10590         * tests/check/gst/struct_hppa.h:
10591         * tests/check/libs/libsabi.c:
10592         * tests/check/libs/struct_hppa.h:
10593           Add ABI structs for HPPA (see #393796).
10594
10595 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10596
10597         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10598           Actually write ABI structs to the file specified in the GST_ABI
10599           environment variable, as the message we print claims we would.
10600
10601 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10602
10603         * tests/check/gst/gsttask.c:
10604           Fix header comment.
10605
10606 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10607
10608         * gst/gsttaglist.c: (_gst_tag_initialize):
10609           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10610           previous two entries.
10611
10612 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10613
10614         * docs/gst/gstreamer-sections.txt:
10615         * gst/gsttaglist.c: (_gst_tag_initialize):
10616         * gst/gsttaglist.h:
10617           Add tag support for beat-per-minute.
10618
10619 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10620
10621         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10622         (gst_registry_binary_initialize_magic),
10623         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10624         (gst_registry_binary_save_pad_template),
10625         (gst_registry_binary_save_feature),
10626         (gst_registry_binary_save_plugin),
10627         (gst_registry_binary_write_cache),
10628         (gst_registry_binary_check_magic),
10629         (gst_registry_binary_load_pad_template),
10630         (gst_registry_binary_load_feature),
10631         (gst_registry_binary_load_plugin),
10632         (gst_registry_binary_read_cache):
10633         * gst/gstregistrybinary.h:
10634           Use glib types, cleanup comments, impement interfaces and uri-types.
10635
10636 2007-01-13  Andy Wingo  <wingo@pobox.com>
10637
10638         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10639         getrange() to return buffers with other caps, while we fix
10640         demuxers and typefind, or otherwise change part-negotiation.txt.
10641
10642 2007-01-12  Andy Wingo  <wingo@pobox.com>
10643
10644         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10645         Factor start/stop into this private function instead of partially
10646         in activate functions and partially in the change_state function.
10647         Fixes setup before the element has changed from READY->PAUSED, as
10648         is the case in pull-mode pipelines.
10649         (gst_base_transform_sink_activate_push)
10650         (gst_base_transform_src_activate_pull): Refactor to use
10651         gst_base_transform_activate().
10652         (gst_base_transform_change_state): Removed, not needed any more.
10653
10654         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10655         Truncate before fixating.
10656         
10657         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10658         Don't set_caps() if the result of fixating is ANY, as it's not
10659         supported, and not necessary in the case of a link with no
10660         template caps on either side. Fixes tests/check/libs/basesrc in
10661         some pull-mode tests.
10662
10663         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10664         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10665         (gst_base_transform_src_activate_pull): 
10666         Track the activation mode.
10667         (gst_base_transform_setcaps): In pull mode, when activating the
10668         src pad, after activating the sink pad, activate the sink pad's
10669         peer, as discussed in part-negotiation.txt.
10670
10671         * libs/gst/base/gstbasesrc.h: 
10672         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10673         vmethod, as in basesink.
10674
10675         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10676
10677         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10678         mode, first proxy the setcaps to the peer pad.
10679         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10680         new fixate vmethod.
10681         (gst_base_sink_default_activate_pull): Rename from
10682         gst_base_sink_activate_pull.
10683         (gst_base_sink_negotiate_pull): New function, performs negotiation
10684         in pull mode before calling ::activate_pull().
10685         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10686         vmethod instead of the default implementation. I have no idea how
10687         this worked before. Negotiate before calling activate_pull.
10688
10689         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10690         sink pads in pull mode. In addition to being correct, fixes
10691         filesrc ! decodebin ! identity ! fakesink.
10692         (gst_pad_get_range, gst_pad_pull_range): Don't call
10693         gst_pad_set_caps() if the caps changes; instead error out with
10694         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10695
10696 2007-01-12  Andy Wingo  <wingo@pobox.com>
10697
10698         * docs/design/part-negotiation.txt: Update with more policy.
10699
10700 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10701
10702         * libs/gst/check/gstbufferstraw.h:
10703         * libs/gst/check/gstcheck.h:
10704           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10705           belongs.
10706
10707 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10708
10709         * tests/check/Makefile.am:
10710         * tests/check/gst/.cvsignore:
10711         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10712         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10713         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10714         (GST_START_TEST), (gst_tag_setter_suite):
10715           Add minimal unit test for beforementioned GstTagSetter bug.
10716
10717 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10718
10719         Patch by: René Stadler <mail at renestadler dot de>
10720
10721         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10722           gst_tag_list_merge() returns a new list, so it's not the best idea
10723           to ingore its return value. Effectively meant that tags could only
10724           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10725           Also add function guard to require a non-NULL taglist as input (has
10726           always been so due to gst_tag_list_copy(), just making it explicit).
10727
10728 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10729
10730         * docs/random/draft-missing-plugins.txt:
10731           Some additions: mention new API that is supposed to be used at the
10732           various stages; short blob about new gst-inspect introspection
10733           option; mention potential future problem with plugins that have
10734           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10735
10736 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10737
10738         * tools/gst-inspect.c:
10739         (print_plugin_automatic_install_info_codecs),
10740         (print_plugin_automatic_install_info_protocols),
10741         (print_plugin_automatic_install_info), (main):
10742         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10743         introspect plugin files and get machine-parsable output that corresponds
10744         to the last bit of the missing-plugin installer string (small gotcha:
10745         doesn't take into account ranks).
10746
10747 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10748
10749         * configure.ac:
10750         * docs/gst/gstreamer-sections.txt:
10751         * gst/Makefile.am:
10752         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10753         (gst_registry_lookup_locked):
10754         * gst/gstregistry.h:
10755         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10756         (gst_registry_binary_initialize_magic),
10757         (gst_registry_binary_save_string),
10758         (gst_registry_binary_save_pad_template),
10759         (gst_registry_binary_save_feature),
10760         (gst_registry_binary_save_plugin),
10761         (gst_registry_binary_write_cache),
10762         (gst_registry_binary_check_magic),
10763         (gst_registry_binary_load_pad_template),
10764         (gst_registry_binary_load_feature),
10765         (gst_registry_binary_load_plugin),
10766         (gst_registry_binary_read_cache):
10767         * gst/gstregistrybinary.h:
10768         * gst/gstregistryxml.c: (load_feature),
10769         (gst_registry_xml_read_cache):
10770           commit binary registry (disabled by default, see #359653)
10771
10772 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10773
10774         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10775           Fix 'make check' too.
10776
10777 2007-01-10  Andy Wingo  <wingo@pobox.com>
10778
10779         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10780         notes.
10781         
10782         * docs/design/part-negotiation.txt: Update with, um, one way that
10783         pull-mode negotiation might work?
10784
10785         * gst/gstpad.h: 
10786         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10787         that the pad must be a src pad; makes sense to call it the other
10788         way in pull mode, and the logic is symmetric anyway.
10789
10790 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10791
10792         * plugins/elements/gstfilesink.c:
10793           Include <stdio.h> for fseeko().
10794
10795 2007-01-10  Wim Taymans  <wim@fluendo.com>
10796
10797         * gst/gstevent.c:
10798         * gst/gstevent.h:
10799         Reserve LATENCY event.
10800
10801 2007-01-09  Wim Taymans  <wim@fluendo.com>
10802
10803         * docs/design/draft-latency.txt:
10804         Updates.
10805
10806 2007-01-09  Wim Taymans  <wim@fluendo.com>
10807
10808         * docs/design/draft-latency.txt:
10809         Updates.
10810
10811         * gst/gstelement.h:
10812         * gst/gststructure.c:
10813         * gst/gsttrace.c:
10814         Small typo fixes.
10815
10816 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10817
10818         * tests/check/.cvsignore:
10819           Ignore test-registry.xml as well.
10820
10821 2007-01-09  Wim Taymans  <wim@fluendo.com>
10822
10823         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10824         unref data at the end when we are done with the pad.
10825
10826 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10827
10828         * docs/gst/gstreamer-sections.txt:
10829         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10830         (init_post), (gst_deinit), (gst_update_registry):
10831         * gst/gst.h:
10832           API: add gst_update_registry() (#391296).
10833
10834         * tests/check/Makefile.am:
10835         * tests/check/gst/gstregistry.c:
10836         * tests/check/gst/.cvsignore:
10837           Simple unit test for the above.
10838
10839 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10840
10841         * gst/gstregistry.c: (gst_registry_scan_path_level):
10842           Plugin extension on HP-UX is .sl, add that to the list of approved
10843           plugin extensions (see #393796).
10844
10845         * tests/check/gst/gstpad.c: (GST_START_TEST):
10846           ulong => gulong. Fixes compilation with HP-UX compiler.
10847
10848         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10849           Fix compilation if valgrind headers are not available.
10850
10851 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10852
10853         * win32/common/libgstreamer.def: 
10854           Add new exported function.
10855         * win32/vs6/libgstbase.dsp: 
10856           Add gstdataqueue.c to the build.
10857         * win32/vs6/libgstcoreelements.dsp:
10858           Add gstmultiqueue.c to the build.
10859         
10860 2007-01-06  Andy Wingo  <wingo@pobox.com>
10861
10862         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10863         activate_pull(), providing for a way to specialize the process of
10864         spawning a thread to pull on the sink pad. There is a default
10865         implementation.
10866
10867         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10868         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10869         (gst_base_sink_init): Renamed pad activation functions (inserting
10870         "_pad" in their names). Refactor to use the new activate_pull
10871         vmethod, as appropriate.
10872         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10873         default activate_pull function to start a task pulling from the
10874         sink pad, as before.
10875
10876         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10877         on the pads if necessary, as in push()/chain(). Update docs.
10878         Shouldn't affect existing pull() usage as it is currently only
10879         being used on buffers without caps.
10880
10881 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10882
10883         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10884         (init_pre):
10885           Call g_thread_init() first thing in gst_init() / gst_check_init().
10886           When initialisation is done via gst_init_get_option_group() and
10887           GOption parsing, issue a warning if the GLib thread system has not
10888           been initialised yet by the time gst_init_get_option_group() is
10889           called, as it's quite likely other GLib functions such as
10890           g_option_context_new() have been called already then, and
10891           g_thread_init() must be called before any other GLib function. The
10892           application in question must be fixed in that case, since memory
10893           corruption might happen otherwise.
10894           We issue the warning because even if the GLib folks decide to work
10895           around the problem on their end in future, this is still an issue
10896           with all GLib versions >= 2.10.0, so we should warn until we depend
10897           on a GLib version we know to be safe.
10898           Update documentation as well.
10899           Closes bug #391278.
10900
10901 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10902
10903         * tools/gst-inspect.c: (main):
10904         * tools/gst-launch.c: (main):
10905         * tools/gst-typefind.c: (main):
10906         * tools/gst-xmlinspect.c: (main):
10907           Call g_thread_init() really really early, before any other GLib
10908           function (see #342564 and recent discussion on gtk-devel-list).
10909
10910 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10911
10912         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10913
10914         * gst/gst_private.h:
10915         * gst/gstconfig.h.in:
10916         * gst/gstinfo.h:
10917           On win32, all the __declspec stuff for symbol exporting is
10918           apparently only needed with MSVC, but doesn't work with MingW.
10919           Fixes compilation with MingW and #391909.
10920
10921 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10922
10923         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10924           Change some GST_ERROR_OBJECT that aren't really errors to
10925           GST_WARNING_OBJECT in order to reduce terminal spam.
10926
10927 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10928
10929         * tests/check/Makefile.am:
10930           disable test again, as there seem to be still race problems
10931
10932 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10933
10934         * tests/check/Makefile.am:
10935         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10936         (GST_START_TEST), (queue_suite):
10937           enable queue test again, add tests for the leaky behaviour
10938
10939 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10940
10941         * configure.ac:
10942         * tests/examples/Makefile.am:
10943           Compile adapter test/example only if the required headers are
10944           available (fixes #391915).
10945
10946 2007-01-01  David Schleef  <ds@schleef.org>
10947
10948         * gst/gstplugin.c:
10949           Restore the previous signal handler for SIGSEGV instead of
10950           setting to default, since we may have stolen it away from
10951           someone.  (i.e., Mono)
10952
10953 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10954
10955         * docs/random/draft-missing-plugins.txt:
10956           Some small additions and clarifications.
10957
10958 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10959
10960         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10961           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10962           since that can lead to random memory corruptions and crashes
10963           (may or may not be related to #383244, #386711, and #386711).
10964
10965 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10966
10967         * tests/check/.cvsignore:
10968         * tests/check/Makefile.am:
10969           sync .cvsignome and CLEANFILES
10970
10971 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10972
10973         * tests/check/Makefile.am:
10974           fix distcheck
10975
10976 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10977
10978         * docs/design/part-states.txt:
10979           two tiny additional comments
10980         
10981         * gst/gststructure.c:
10982           doc fixing
10983
10984         * tests/check/Makefile.am:
10985         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10986         (GST_START_TEST):
10987           disable test for now, unless it gets fixed
10988
10989 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10990
10991         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10992         (GST_START_TEST):
10993           fix race in underrun test
10994
10995 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10996
10997         * tests/check/elements/.cvsignore:
10998           ignore more
10999
11000         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11001         (GST_START_TEST):
11002           try to narrow test failure
11003
11004 2006-12-21  David Schleef  <ds@schleef.org>
11005
11006         * plugins/elements/gstfakesrc.c:
11007           Use g_random_int_range(), since it produces better random
11008           numbers in a range than almost-correct floating point code.
11009
11010 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11011
11012         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11013         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11014         (gst_check_teardown_sink_pad):
11015           do not automatically (de)activate pads
11016
11017         * tests/check/Makefile.am:
11018         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11019         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11020           add new, yet simple tests for queue
11021
11022         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11023         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11024         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11025         (GST_START_TEST):
11026         * tests/check/elements/identity.c: (cleanup_identity):
11027           consistent pad (de)activation
11028
11029 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11030
11031         Patch by: Sebastian Dröge  <slomo ubuntu com>
11032
11033         * libs/gst/base/gstcollectpads.c:
11034           Fix two doc typos (#387866).
11035
11036 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11037
11038         * docs/manual/advanced-dparams.xml:
11039           Fix typo (g_object_control_properties() doesn't exist).
11040
11041 2006-12-19  Edward Hervey  <edward@fluendo.com>
11042
11043         * gst/gstsegment.c: (gst_segment_set_seek):
11044         Fine tune the cases where the segment start/stop values are really
11045         updated.
11046         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11047         Add tests for the return values of gst_segment_set_seek().
11048
11049 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11050
11051         * gst/gst.c:
11052           Docs typo fix.
11053
11054         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11055         (gst_queue_init):
11056           Fix incorrect documentation and flesh it out a bit more.
11057           Set default values for the max properties on the GParamSpec as well,
11058           so it shows up correctly in gst-inspect.
11059
11060 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11061
11062         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11063           Correct docs of queue, add more detail and crosslink it more.
11064
11065 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11066
11067         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11068           Print additional debug info when the stream isn't perfectly
11069           timestamped; don't try to use invalid durations.
11070
11071 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11072
11073         * docs/design/Makefile.am:
11074           Dist new design docs.
11075
11076 2006-12-16  Wim Taymans  <wim@fluendo.com>
11077
11078         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11079
11080         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11081         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11082         (gst_collect_pads_stop), (gst_collect_pads_event),
11083         (gst_collect_pads_chain):
11084         * libs/gst/base/gstcollectpads.h:
11085         Add refcounting to the collectpads data so we can track when it's safe
11086         to free the data. Fixes #383382.
11087
11088 2006-12-15  Wim Taymans  <wim@fluendo.com>
11089
11090         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11091         (gst_collect_pads_remove_pad):
11092         Automatically activate/deactivate pads when they are added to a
11093         started/stoped collectpads.
11094
11095 2006-12-15  Wim Taymans  <wim@fluendo.com>
11096
11097         * gst/gstelement.c: (gst_element_add_pad):
11098         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11099         * gst/gstpad.c: (gst_pad_init):
11100         Set pads to FLUSHING when they are created. Check, warn and fix when a
11101         demuxer adds an inactive pad to itself when running. Fixes #339326.
11102
11103 2006-12-15  Wim Taymans  <wim@fluendo.com>
11104
11105         * gst/gstelement.c: (gst_element_class_init),
11106         (gst_element_default_send_event), (gst_element_send_event),
11107         (gst_element_default_query), (gst_element_query):
11108         Expose default element send_event and query handling as vmethods that
11109         subclasses can chain up to.
11110
11111 2006-12-15  Wim Taymans  <wim@fluendo.com>
11112
11113         * gst/gstelement.c: (gst_element_set_state_func):
11114         Small documentation fixes.
11115
11116 2006-12-15  Wim Taymans  <wim@fluendo.com>
11117
11118         * docs/design/draft-latency.txt:
11119         Checked in draft for handling latency in pipelines.
11120
11121 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11122
11123         * Makefile.am:
11124         * gstreamer.doap:
11125         * gstreamer.spec.in:
11126           adding .doap file
11127
11128 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11129
11130         * gst/gst.c: (init_pre), (init_post):
11131           init_pre() and init_post() might be called via our GOptionGroup or
11132           from gst_init(), and we should skip both of them if we've already
11133           been initialised, otherwise we will init some things twice or add
11134           two default log functions.
11135
11136 2006-12-13  Edward Hervey  <edward@fluendo.com>
11137
11138         * docs/manual/basics-bus.xml:
11139         No, gst_main_loop does not exist. Its g_main_loop.
11140         Discovered by somebody who abused the copy-paste technique of coding :)
11141
11142 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11143
11144         * gst/gstghostpad.c:
11145           Log ghostpad debug stuff to the GST_PADS category as well rather
11146           than just to the default category.
11147
11148 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11149
11150         * configure.ac:
11151         * gst/gst.c: (init_pre):
11152           Add some basic system details such as OS and architecture
11153           to the debug output if possible, courtesy of uname().
11154
11155 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11156
11157         * docs/gst/running.xml:
11158           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11159           environment variables.
11160
11161 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11162
11163         * tests/check/gst/gstbin.c: (GST_START_TEST):
11164         It is acceptable to have a refcount of 2 or 3 at this point in the
11165         test, because the pipeline might be just posting its state_change
11166         message. The next line then waits for that message to appear using
11167         bus_poll, so that should be fine too.
11168
11169 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11170
11171         * gst/gst.c: (ensure_current_registry_forking):
11172         Ignore EINTR when reading from the child registry pipe.
11173         Explicitly ignore the return value from close, since it makes no
11174         difference.
11175
11176         * gst/gstminiobject.c: (gst_mini_object_ref),
11177         (gst_mini_object_unref):
11178         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11179
11180         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11181         When removing cached plugins, remove their features too, so they're
11182         not visible after they've disappeared.
11183
11184         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11185         In the unlikely case that we are linking pads with no parents, don't
11186         crash trying to get the non-existent parent bin.
11187
11188         * gst/parse/grammar.y:
11189         Output debug in the PIPELINE category
11190
11191 2005-03-08  Wim Taymans  <wim@fluendo.com>
11192
11193         Patch by: René Stadler <mail at renestadler dot de>
11194
11195         * gst/gstclock.c: (gst_clock_new_periodic_id):
11196         Reject invalid clock times for interval of periodic ids.
11197         Fixes ##383506.
11198
11199 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11200
11201         * gst/gstelementfactory.c: (gst_element_factory_create):
11202         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11203         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11204         * tools/gst-inspect.c: (print_element_info):
11205         Fix refcounting of gst_plugin_feature_load to match the docs. 
11206         Fixes: #380129
11207
11208 2006-12-07  Wim Taymans  <wim@fluendo.com>
11209
11210         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11211         (gst_base_sink_get_position):
11212         Improve debugging of events.
11213
11214 2006-12-07  Wim Taymans  <wim@fluendo.com>
11215
11216         Patch by: René Stadler <mail at renestadler dot de>
11217
11218         * gst/gstclock.c: (gst_clock_id_wait):
11219         Make period ids add the interval to the origial requested time instead
11220         of the possibly updated time which can be wrong when there are multiple
11221         waiters for the same id. Fixes #382592.
11222
11223         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11224         (gst_system_clock_id_wait_jitter_unlocked),
11225         (gst_system_clock_id_wait_jitter):
11226         Fix restart in the async notify thread when an async entry is added to
11227         the front of the list. Fixes #381492. 
11228
11229         * tests/check/gst/gstsystemclock.c: (store_callback),
11230         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11231         Added test for multiple async waits.
11232         Added test for async wait order.
11233
11234 2006-12-07  Wim Taymans  <wim@fluendo.com>
11235
11236         * gst/gstbin.c: (gst_bin_query):
11237         Add some more docs about the POSITION query.
11238
11239 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11240
11241         * configure.ac:
11242         Bump version nano - back to CVS.
11243
11244 === release 0.10.11 ===
11245
11246 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11247
11248         * configure.ac:
11249           releasing 0.10.11, "Love never runs on time"
11250
11251 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11252
11253         * win32/common/libgstbase.def:
11254         * win32/common/libgstreamer.def:
11255         * win32/vs8/libgstbase.vcproj:
11256         * win32/vs8/libgstcoreelements.vcproj:
11257         * win32/vs8/libgstreamer.vcproj:
11258         Fix compilation on win32 under VS8
11259         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11260         Partially fixes #381175
11261
11262 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11263
11264         * gst/gstvalue.c: (gst_value_compare_fraction):
11265         If someone is foolish enough to compare 2 fractions with denominator =
11266         0, return UNORDERED rather than aborting.
11267
11268 2006-11-28  Edward Hervey  <edward@fluendo.com>
11269
11270         * libs/gst/base/Makefile.am:
11271         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11272         (gst_data_queue_base_init), (gst_data_queue_class_init),
11273         (gst_data_queue_init), (gst_data_queue_new),
11274         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11275         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11276         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11277         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11278         (gst_data_queue_set_flushing), (gst_data_queue_push),
11279         (gst_data_queue_pop), (gst_data_queue_drop_head),
11280         (gst_data_queue_set_property), (gst_data_queue_get_property):
11281         * libs/gst/base/gstdataqueue.h:
11282         New GstDataQueue object for threadsafe queueing. Most useful for
11283         elements that need some queueing functionnality.
11284         * docs/libs/gstreamer-libs-docs.sgml:
11285         * docs/libs/gstreamer-libs-sections.txt:
11286         Insert documentation for GstDataQueue
11287         * plugins/elements/Makefile.am:
11288         * plugins/elements/gstelements.c:
11289         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11290         (gst_multi_queue_class_init), (gst_multi_queue_init),
11291         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11292         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11293         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11294         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11295         (gst_multi_queue_loop), (gst_multi_queue_chain),
11296         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11297         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11298         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11299         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11300         (wake_up_next_non_linked), (compute_next_non_linked),
11301         (single_queue_overrun_cb), (single_queue_underrun_cb),
11302         (single_queue_check_full), (gst_single_queue_new):
11303         * plugins/elements/gstmultiqueue.h:
11304         New multiqueue element, using GstDataQueue. Used for queuing multiple
11305         streams.
11306         Closes #344639 and #347785
11307
11308 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11309
11310         * docs/pwg/advanced-types.xml:
11311           add more missing type details
11312
11313         * tools/gst-run.c: (main):
11314           remove unused variable
11315
11316 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11317
11318         * docs/libs/Makefile.am:
11319         * docs/libs/gstreamer-libs.types:
11320           add types of base classes to enable gobject specific stuff in the docs
11321
11322         * docs/random/ensonic/embedded.txt:
11323           more ideas about isolating platform specific things
11324
11325 2006-11-20  Wim Taymans  <wim@fluendo.com>
11326
11327         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11328
11329         * libs/gst/check/gstcheck.h:
11330         Fix compilation and running against 0.9.4. Fixes #377332.
11331
11332 2006-11-20  Wim Taymans  <wim@fluendo.com>
11333
11334         * gst/gstsegment.c: (gst_segment_set_seek),
11335         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11336         (gst_segment_to_running_time):
11337         Fix boundary checking in to_running_time() and to_stream_time().
11338         Fixes #377183.
11339
11340         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11341         stream and running time can now be calculated for the complete
11342         clipped segment.
11343
11344 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11345
11346         * gst/gstpad.c: (gst_pad_push_event):
11347           Can't access event structure after giving away ownership of
11348           the event.
11349
11350 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11351
11352         * docs/random/ensonic/embedded.txt:
11353         * docs/random/ensonic/profiling.txt:
11354         * docs/random/ensonic/receipies.txt:
11355           more thinking
11356
11357 2006-11-13  Wim Taymans  <wim@fluendo.com>
11358
11359         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11360
11361         * gst/gstpad.c:
11362         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11363
11364 2006-11-13  Wim Taymans  <wim@fluendo.com>
11365
11366         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11367
11368         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11369         Store new length in segment duration so we don't keep on calling the
11370         potentially expensize get_size() call. Fixes #370865.
11371
11372 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11373
11374         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11375
11376         * win32/common/libgstreamer.def:
11377           Add two missing symbols (#366492).
11378
11379 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11380
11381         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11382         (gst_adapter_take_buffer):
11383         Fix format string to use all its arguments.
11384         Remove useless >= check on a guint
11385
11386 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11387
11388         * tests/examples/adapter/.cvsignore:
11389         Ignore build file as commanded by the build-bot
11390
11391 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11392
11393         * tests/examples/adapter/Makefile.am:
11394         * tests/examples/adapter/adapter_test.c: (run_test_take),
11395         (run_test_take_buffer), (run_tests), (main):
11396
11397         Add new files from the previous commit
11398
11399 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11400
11401         * Makefile.am:
11402         * configure.ac:
11403         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11404         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11405         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11406         * libs/gst/base/gstadapter.h:
11407         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11408         (GST_START_TEST), (gst_adapter_suite):
11409         * tests/examples/Makefile.am:
11410         Do some optimisation work in GstAdapter to avoid copies in more cases.
11411         It could still do slightly better by merging buffers when
11412         gst_buffer_is_span_fast is true, but is already faster. 
11413
11414         Also, avoid traversing a single-linked list to append each incoming 
11415         buffer inside the adapter.
11416
11417         Add simple test app that times the adapter behaviour in different
11418         situations, and extend the unit test to check that bytes enter and
11419         exit the adapter in their original order.
11420
11421 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11422
11423         * docs/random/draft-missing-plugins.txt:
11424           Update: use element message instead of adding a new message
11425           type to the core; don't provide GStreamer API to initiate the
11426           plugin download, just provide API to compose the strings needed
11427           and let an external libgimmestuff handle the rest.
11428
11429 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11430
11431         * tools/gst-inspect.c: (print_element_properties_info):
11432         Print a string instead of 'unknown type' for GValueArray properties
11433
11434 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11435
11436         * docs/random/draft-missing-plugins.txt:
11437         More small fixes.
11438
11439 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11440
11441         * tests/examples/typefind/typefind.c: (type_found), (main):
11442           Make typefind element example work again (#371894); add a
11443           license header.
11444
11445 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11446
11447         * docs/random/draft-missing-plugins.txt:
11448           Commit initial draft about how to deal with missing plugins,
11449           needs work (API too).
11450
11451 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11452
11453         * docs/pwg/advanced-types.xml:
11454           documents the new caps elements (see #363118)
11455
11456 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11457
11458         * gst/gstplugin.c: (gst_plugin_load_file):
11459         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11460         (gst_file_src_map_region), (gst_file_src_start):
11461         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11462         (gst_file_index_commit):
11463           Use g_strerror() instead of strerror() - we want UTF-8.
11464
11465 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11466
11467         Patch by: Peter Kjellerstedt <pkj at axis com>
11468
11469         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11470           Another printf fix (#371493).
11471
11472 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11473
11474         * tests/check/gst/gsttag.c:
11475           relicence (okay with author=company)
11476
11477 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11478
11479         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11480         (gst_pad_push_event):
11481           Enhance debug and improve docs
11482         
11483         * gst/gsturi.c:
11484           Fix docs
11485
11486 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11487
11488         * docs/random/ensonic/distributed.txt:
11489         * docs/random/ensonic/profiling.txt:
11490           more ideas
11491
11492 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11493
11494         * docs/gst/gstreamer-sections.txt:
11495           add new API and fix the build
11496           
11497         * gst/gstbin.c: (gst_bin_recalc_state):
11498         * gst/gstelement.c: (gst_element_message_full),
11499         (gst_element_get_state_func), (gst_element_set_state_func):
11500           use new API and improve logging
11501         
11502         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11503         * gst/gstutils.h:
11504           API: add function to get StateChangereturn names to improve logs 
11505
11506 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11507
11508         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11509           I'm considering shooting the next person to put strerror stuff
11510           in the translateable part of the message.
11511
11512 2006-11-03  Wim Taymans  <wim@fluendo.com>
11513
11514         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11515         Get the type and printf conversion specifiers right.
11516
11517 2006-11-03  Wim Taymans  <wim@fluendo.com>
11518
11519         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11520
11521         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11522         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11523         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11524         Some small cleanups. Improve debugging.
11525         * gst/gstpad.h:
11526         Signal all waiting threads with a broadcast instead of just one.
11527         Fixes #369942.
11528
11529 2006-11-03  Wim Taymans  <wim@fluendo.com>
11530
11531         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11532         (gst_fd_src_create):
11533         Add some debugging. 
11534         Only update fd when it's different from the old.
11535
11536 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11537
11538         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11539           Printf fixes for PPC/OSX, take two (#369366).
11540
11541 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11542
11543         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11544
11545         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11546         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11547         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11548           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11549           don't cast to long long for portability reasons, but use
11550           GLib's types instead.
11551
11552 2006-10-30  Michael Smith  <msmith@fluendo.com>
11553
11554         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11555           Get the arguments to lseek() the right way around.
11556           Fixes 367677.
11557
11558 2006-10-30  Wim Taymans  <wim@fluendo.com>
11559
11560         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11561
11562         * gst/gstinfo.h:
11563         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11564
11565 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11566
11567         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11568
11569         * docs/design/part-MT-refcounting.txt:
11570         * docs/random/wtay/capsnego2-docs:
11571         * gst/gstclock.c:
11572         * gst/gstxml.c:
11573           Typo fixes (#366212).
11574
11575 2006-10-28  Wim Taymans  <wim@fluendo.com>
11576
11577         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11578
11579         * gst/gst.c:
11580         * win32/common/libgstbase.def:
11581         * win32/common/libgstreamer.def:
11582         * win32/vs8/libgstbase.vcproj:
11583         * win32/vs8/libgstcontroller.vcproj:
11584         Add needed entries in .def files.
11585         Use HAVE_UNISTD_H.
11586         Rearrange def files in vs8 solutions. Fixes #366286.
11587
11588 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11589
11590         * win32/common/gstconfig.h:
11591           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11592           hand-made win32 gstconfig.h. Fixes #366321.
11593
11594 2006-10-27  Wim Taymans  <wim@fluendo.com>
11595
11596         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11597         (gst_ghost_pad_new_full):
11598         Make acceptcaps return TRUE when we don't have a target, just like
11599         setcaps does.
11600
11601 2006-10-27  Wim Taymans  <wim@fluendo.com>
11602
11603         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11604         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11605
11606 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11607
11608         * gst/gststructure.c: (gst_structure_id_set_value):
11609           If someone tries to set a non-UTF8 string field on a structure,
11610           don't just print a warning, but also ignore the request and do
11611           not change/add that field to the structure.
11612
11613         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11614           Test for the above.
11615
11616 2006-10-25  David Schleef  <ds@schleef.org>
11617
11618         * gst/gstinfo.c:
11619           g_hash_table_insert() needs a cast to a non-const pointer duh.
11620
11621 2006-10-25  David Schleef  <ds@schleef.org>
11622
11623         * gst/gstinfo.c:
11624         * gst/gstinfo.h:
11625           Change name parameter of _gst_debug_register_funcptr to const
11626           to reflect the constness of its use in the function as well
11627           as to quiet a gcc warning.
11628
11629 2006-10-25  Edward Hervey  <edward@fluendo.com>
11630
11631         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11632         Don't push the buffer if it's empty.
11633         Closes #363095
11634
11635 2006-10-24  Wim Taymans  <wim@fluendo.com>
11636
11637         * gst/gstevent.h:
11638         Add small comment.
11639
11640         * libs/gst/base/gstbasetransform.c:
11641         (gst_base_transform_sink_eventfunc):
11642         Debug segment values *after* updating them as this is more
11643         interesting.
11644
11645 2006-10-23  Wim Taymans  <wim@fluendo.com>
11646
11647         * docs/design/part-events.txt:
11648         Update some docs.
11649
11650         * docs/design/part-block.txt:
11651         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11652         (gst_pad_push_event):
11653         Revert BLOCKING patch, it tries to be smart without really having a
11654         clear idea what or how. So, now we discard all FLUSHING events again on
11655         a blocking pad. Should fix gnonlin again.
11656
11657 2006-10-23  Wim Taymans  <wim@fluendo.com>
11658
11659         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11660
11661         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11662         (gst_base_src_start), (gst_base_src_activate_push):
11663         Make sure size is always initialized. Fixes #364388.
11664
11665 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11666
11667         * docs/random/ensonic/distributed.txt:
11668           add some ideas about doing distributed processing
11669
11670         * docs/random/ensonic/profiling.txt:
11671           get_rusage look promising
11672
11673 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11674
11675         * docs/manual/basics-helloworld.xml:
11676           Add a cast in example to fix compile warning
11677
11678 2006-10-18  Wim Taymans  <wim@fluendo.com>
11679
11680         * gst/gstsegment.c: (gst_segment_set_last_stop),
11681         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11682         Relax arg checking again, -1 is allowed.
11683
11684 2006-10-18  Wim Taymans  <wim@fluendo.com>
11685
11686         * gst/gstsegment.c: (gst_segment_set_last_stop),
11687         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11688         _set_last_stop() must be with a value != -1
11689         A _TYPE_SET to -1 means seek to 0.
11690         Calc last_stop correctly for negative rates.
11691         Make sure we work with positive durations when updating a segment.
11692
11693 2006-10-18  Wim Taymans  <wim@fluendo.com>
11694
11695         * docs/design/part-live-source.txt:
11696         * gst/gstclock.h:
11697         Small docs fixes.
11698
11699 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11700
11701         * gst/gstbuffer.h:
11702           Add an explicit cast to GstBuffer** to keep old code that added an
11703           explicit cast to GstMiniObject** for gst_mini_object_replace()
11704           compiling without warning.
11705
11706 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11707
11708         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11709           check for validity of dates
11710
11711 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11712
11713         * docs/gst/gstreamer-sections.txt:
11714           Forgot this one, makes gtk-doc shut up.
11715
11716 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11717
11718         Patch by: Peter Kjellerstedt <pkj at axis com>
11719
11720         * gst/gstobject.h:
11721           Don't define xmlNodePtr to gpointer if the core was built with
11722           --disable-loadsave and --disable-registry, this will break
11723           applications that want to use libxml2 but are buildling against a
11724           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11725           instead so we don't have to mess with the libxml2 namespace
11726           (#361675).
11727
11728 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11729
11730         * gst/gstbuffer.h:
11731           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11732           type-punned pointer warnings.
11733
11734 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11735
11736         * gst/gstelement.h:
11737           Add casts to the correct return type to state <=> state transition
11738           macros.
11739
11740 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11741
11742         * docs/design/part-live-source.txt:
11743           describe howto handle latency
11744         
11745         * docs/random/ensonic/profiling.txt:
11746           more ideas
11747
11748         * tools/gst-plot-timeline.py:
11749           fix log parsing for solaris, remove unused function
11750
11751 2006-10-16  Wim Taymans  <wim@fluendo.com>
11752
11753         * docs/design/part-trickmodes.txt:
11754         * gst/gstevent.c:
11755         Update some docs regarding reverse playback.
11756
11757 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11758
11759         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11760
11761         * win32/vs8/grammar.vcproj:
11762           Error out with a warning if glib-genmarshal.exe is not in path,
11763           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11764
11765 2006-10-13  Wim Taymans  <wim@fluendo.com>
11766
11767         * gst/gstsegment.c: (gst_segment_set_seek):
11768         When seeking to stop -1, set last_stop (current position) to the
11769         duration of the segment.
11770
11771 2006-10-13  Wim Taymans  <wim@fluendo.com>
11772
11773         * gst/gstelement.h:
11774         Clarify _NO_PREROLL a bit more.
11775
11776         * gst/gstevent.c:
11777         Fix docs.
11778
11779         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11780         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11781         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11782         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11783         due to wrong locking order. Fixes #361769.
11784         Remove some redundant/misplaced checks in pad_block.
11785
11786         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11787         For negative rates, count backwards from the duration.
11788
11789 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11790
11791         * gst/gsterror.c: (_gst_library_errors_init):
11792           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11793           up with something better).
11794
11795 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11796
11797         * win32/vs6/libgstreamer.dsp:
11798         * win32/vs7/libgstreamer.vcproj:
11799         * win32/vs8/libgstreamer.vcproj:
11800           Don't reference glib-compat.c which is currently not used and not
11801           disted; add gstquark.c which was recently added. Fixes #361730.
11802
11803 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11804
11805         * win32/common/libgstbase.def:
11806         * win32/common/libgstcontroller.def:
11807         * win32/common/libgstreamer.def:
11808           Add gst_caps_merge() and a bunch of other recently-added functions.
11809           Fixes #361732.
11810
11811 2006-10-11  Wim Taymans  <wim@fluendo.com>
11812
11813         * docs/plugins/gstreamer-plugins.args:
11814         * docs/plugins/inspect/plugin-coreelements.xml:
11815         * docs/plugins/inspect/plugin-coreindexers.xml:
11816         Update element args.
11817
11818         * gst/gstsystemclock.c:
11819         Small comment update.
11820
11821         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11822         (gst_tee_request_new_pad), (gst_tee_release_pad),
11823         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11824         (gst_tee_sink_activate_pull):
11825         * plugins/elements/gsttee.h:
11826         Some tee loving:
11827         Add default property defines.
11828         Implement release pad function.
11829         Give properties better blubs etc.
11830         Activate pads before adding them to a running tee.
11831         Do simple buffer_alloc on the first requested pad.
11832         Post error when activation fails.
11833
11834 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11835
11836         * gst/gst.c: (ensure_current_registry_forking):
11837           Check return value of write() to make compiler happy.
11838
11839 2006-10-11  Wim Taymans  <wim@fluendo.com>
11840
11841         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11842
11843         * plugins/elements/gstqueue.c: (gst_queue_chain):
11844         Recheck queue filledness after signalling the overrun when we're about
11845         to leak downstream because we released the lock when emitting the signal
11846         and the queue could be empty again. Fixes #352345.
11847
11848 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11849
11850         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11851           Fix refcounting here too, just like we did for _new_valist() a few
11852           days ago (#357180) (thanks to René Stadler). Also remove all those
11853           'Since: 0.9' from the gtk-doc blobs.
11854
11855         * tests/check/libs/controller.c: (controller_refcount_new_list),
11856         (gst_controller_suite):
11857           Unit test for the above.
11858
11859 2006-10-10  Wim Taymans  <wim@fluendo.com>
11860
11861         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11862
11863         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11864         (gst_pad_save_thyself):
11865         Update some docs.
11866         Write pad direction in XML output. Fixes #345496.
11867
11868 2006-10-10  Wim Taymans  <wim@fluendo.com>
11869
11870         Patch by: René Stadler <mail at renestadler dot de>
11871
11872         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11873         (gst_controller_new_list), (_gst_controller_dispose),
11874         (_gst_controller_finalize), (_gst_controller_class_init):
11875         Take ref to controlled object so that it cannot disappear. 
11876         Fixes #357432.
11877
11878 2006-10-10  Wim Taymans  <wim@fluendo.com>
11879
11880         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11881         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11882         (gst_check_teardown_sink_pad):
11883         Activate/deactivate pads in setup/teardown respectively.
11884
11885 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11886
11887         Patch by: Josep Torra Valles <josep@fluendo.com>
11888
11889         * gst/Makefile.am:
11890         Cast values when making gstenumtypes.h.  This pacifies Forte
11891         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11892         in the enumeration.
11893
11894 2006-10-09  Wim Taymans  <wim@fluendo.com>
11895
11896         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11897         Rename some more @cur to @start to fix docs. 
11898
11899         * gst/gstsegment.c: (gst_segment_set_seek):
11900         Fix typo.
11901         time and start must always stay in sync as defined in design doc.
11902
11903         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11904         Rename param to fix docs.
11905
11906         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11907         Check that start and time are in sync.
11908
11909         * tests/check/pipelines/parse-launch.c:
11910         (gst_parse_test_element_change_state):
11911         Activate pad before adding to the element.
11912
11913 2006-10-09  Wim Taymans  <wim@fluendo.com>
11914
11915         * docs/design/part-qos.txt:
11916         Fix typo.
11917
11918         * gst/gstevent.c:
11919         * gst/gstevent.h:
11920         Update seek event docs regarding negative rates.
11921         Rename @cur to @start. 
11922
11923         * gst/gstsegment.c: (gst_segment_set_seek):
11924         * gst/gstsegment.h:
11925         Update set_seek docs regarding negative rates.
11926         Correctly update last_stop to @stop when dealing with negative
11927         rates.
11928         Rename @cur to @start. 
11929
11930         * tests/check/gst/gstpad.c: (GST_START_TEST):
11931         Activate pads before trying to use them.
11932
11933         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11934         (gst_segment_suite):
11935         Add simple check for segments and negative rates.
11936
11937 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11938
11939         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11940         * gst/gsttaglist.h:
11941         * docs/gst/gstreamer-sections.txt:
11942           API: add gst_tag_list_is_empty() (#360467).
11943
11944         * tests/check/gst/gsttag.c: (GST_START_TEST):
11945           And a test case.
11946
11947 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11948
11949         * gst/gstmessage.h:
11950         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11951         a value that doesn't fit on enumeration.
11952
11953 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11954
11955         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11956         Remove local debugging system and use Gstreamer's instead.
11957
11958 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11959
11960         Patch by: Josep Torra Valles <josep@fluendo.com>
11961
11962         * common/m4/gst-error.m4:
11963         Disable warning of statement not reached on Forte.
11964         * gst/gstmessage.h:
11965         Fix warning on Forte (value doesn't fit on enumeration).
11966         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11967         Fix warning on Forte (value doesn't fit on enumeration).
11968         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11969         DEBUG macro says it takes minimum of 2 args and so Forte
11970         complains about the use with just 1 arg.
11971         * plugins/elements/gstfdsink.c:
11972         * plugins/elements/gstfdsrc.c:
11973         * plugins/elements/gstfilesink.c:
11974         * plugins/elements/gstfilesrc.c:
11975         Use correct return type for the uri handler implementations.
11976
11977         All these fix warnings in Forte.  Fixes bug #360860.
11978
11979 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11980
11981         * gst/gstelement.h:
11982           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11983           format string, so don't use G_GNUC_PRINTF for those versions.
11984
11985 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11986
11987         * gst/gsttaglist.c: (gst_is_tag_list):
11988         * gst/gsttaglist.h:
11989           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11990
11991         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11992           Small test for the above.
11993
11994 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11995
11996         * gst/gsttaglist.h:
11997           Less tabs, more spaces.
11998
11999 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12000
12001         * gst/gstinfo.h:
12002           Those two function declarations do actually belong there, revert
12003           commit from yesterday that turned them intro macros.
12004
12005 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12006
12007         Patch by: Josep Torra Valles <josep@fluendo.com>
12008
12009         * gst/gst.c: (gst_init_get_option_group):
12010         Fix empty declaration and type mismatch.
12011         * gst/gstbin.c: (gst_bin_change_state_func):
12012         Fix type mismatch.
12013         * gst/gstelement.c: (gst_element_continue_state),
12014         (gst_element_set_state_func), (gst_element_change_state),
12015         (gst_element_change_state_func):
12016         Fix type mismatches.
12017         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12018         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12019         Cast as appropriate.
12020         * gst/gstobject.c: (gst_class_signal_connect):
12021         Cast as appropriate.  The function pointer parameter really
12022         has the wrong type but would break API if we change it.
12023         * gst/gstquery.c:
12024         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12025         order of including string.h.
12026         * gst/gstutils.c: (gst_element_state_get_name):
12027         Remove unreachable line.
12028         * gst/gstxml.c: (gst_xml_parse_doc):
12029         Fix type mismatch.
12030         All these caught by Forte.
12031
12032 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12033
12034         Patch by: Josep Torra Valles <josep@fluendo.com>
12035
12036         * common/m4/gst-error.m4:
12037         Fixed bug #360151.
12038         We need to disable warnings on Forte for empty declarations
12039         due to gst-indent adding ;s to lines that just use macros
12040         where the macro actually doesn't need a ; at end to end
12041         statement.
12042
12043 2006-10-06  Wim Taymans  <wim@fluendo.com>
12044
12045         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12046         (gst_file_sink_close_file), (gst_file_sink_event),
12047         (gst_file_sink_render):
12048         Add some FIXME for the NEWSEGMENT handling.
12049
12050 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12051
12052         * gst/parse/grammar.y:
12053         Remove static function gst_parse_element_lock as all it does
12054         is return.  Looks like cruft from 0.8.
12055
12056 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12057
12058         Patch by: Josep Torra Valles <josep@fluendo.com>
12059
12060         * common/m4/gst-error.m4:
12061         * configure.ac:
12062         * libs/gst/net/Makefile.am:
12063         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12064         libresolv.
12065
12066 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12067
12068         * gst/gstpad.c: (pre_activate):
12069         * gst/gstregistry.c: (gst_registry_scan_path_level):
12070         * gst/gstregistryxml.c: (load_plugin):
12071         * libs/gst/controller/gstcontroller.c:
12072         (gst_controlled_property_set_interpolation_mode):
12073         * libs/gst/dataprotocol/dataprotocol.c:
12074         (gst_dp_packet_from_event_1_0):
12075         * libs/gst/net/gstnetclientclock.c:
12076         (gst_net_client_clock_observe_times):
12077         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12078           Printf fixes.
12079
12080 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12081
12082         * configure.ac:
12083         * docs/gst/gstreamer-sections.txt:
12084         * gst/gstconfig.h.in:
12085         * gst/gstelement.h:
12086         * gst/gstinfo.h:
12087           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12088           whether we can use G_GNUC_PRINTF in other header files and at
12089           least check the printf format/arguments of debug messages and
12090           GST_ELEMENT_ERROR messages when the printf extension is not
12091           being used.
12092           Replace more tabs with spaces in gstinfo.h and remove two spurious
12093           function declarations in GST_DISABLE_DEBUG part with macros.
12094
12095 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12096
12097         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12098           More docs for the sync-message signal (mention that it is not
12099           emitted by default); log message structures of messages posted on
12100           the bus as well.
12101
12102 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12103
12104         * gst/gst.c: (ensure_current_registry_forking):
12105         Use a pipe pair to receive status results from the forked child, and
12106         ignore the result from waitpid. Fixes #355499
12107
12108 2006-10-02  Wim Taymans  <wim@fluendo.com>
12109
12110         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12111         (gst_ghost_pad_suite):
12112         Fix leak in check.
12113
12114 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12115
12116         * gst/gstpad.c:
12117           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12118
12119 2006-10-02  Edward Hervey  <edward@fluendo.com>
12120
12121         * docs/design/part-block.txt:
12122         Further explain the use of flushing on blocked pads.
12123         * docs/gst/gstreamer-sections.txt:
12124         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12125         (gst_pad_push_event):
12126         * gst/gstpad.h:
12127         Added new GstPadFlag : GST_PAD_BLOCKING.
12128         Adds the notion of pads really blocking, which enables to properly
12129         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12130         Fixes #358999
12131         API: gst_pad_is_blocking()
12132         API: GST_PAD_IS_BLOCKING() macro
12133         API: GST_PAD_BLOCKING GstPadFlag
12134         
12135 2006-10-02  Wim Taymans  <wim@fluendo.com>
12136
12137         Patch by: mrcgran <mrc.gran at gmail dot com>
12138
12139         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12140         Filter the proxied caps against the padtemplate if we have one.
12141
12142         * gst/gstquery.c: (gst_query_new_segment):
12143         Add include for gstinfo.h so that compilation with
12144         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12145
12146 2006-10-02  Wim Taymans  <wim@fluendo.com>
12147
12148         Patch by: Alessandro Decina  <alessandro at nnva org>
12149
12150         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12151         (gst_file_sink_set_location), (gst_file_sink_open_file),
12152         (gst_file_sink_close_file), (gst_file_sink_event),
12153         (gst_file_sink_render):
12154         Set file to NULL when closing filesink so that we can set a new filename
12155         in READY. Fixes #358613.
12156
12157 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12158
12159         Patch by: Alessandro Decina  <alessandro at nnva org>
12160
12161         * gst/gstevent.c: (_gst_event_copy):
12162           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12163           with event structures by setting the parent refcount address of the
12164           copied structure to the address of the refcount member of the newly
12165           copied event rather than the address of the refcount member of the
12166           original event. Fixes #358737.
12167
12168         * tests/check/gst/gstevent.c: (GST_START_TEST):
12169           Unit test for the above.
12170
12171 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12172
12173         * docs/design/Makefile.am:
12174           Dist some more files.
12175
12176 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12177
12178         * tests/check/libs/controller.c: (GST_START_TEST),
12179         (gst_controller_suite):
12180           Add test for the previous fix; add some more tests
12181           for correct refcounting behaviour; fix a few leaks
12182           in test cases; call gst_controller_init() at start
12183           of all tests.
12184
12185 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12186
12187         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12188         (gst_controller_set_from_list):
12189           Don't g_return_val_if_fail() on timed values with invalid timestamps
12190           inside a critical section without unlocking the mutex. Spotted by
12191           René Stadler. (#357617)
12192           Also, fix up refcounting properly: when returning an existing
12193           controller, we should increase the reference only once and not
12194           once per property and when trying to control a property again
12195           we should also increase the refcount.
12196
12197 2006-09-29  Wim Taymans  <wim@fluendo.com>
12198
12199         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12200         * libs/gst/net/gstnettimeprovider.c:
12201         (gst_net_time_provider_thread):
12202         Stop reading commands when EOF as well.
12203
12204         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12205         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12206         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12207         Unify description of the dump property.
12208
12209 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12210
12211         * tests/examples/manual/.cvsignore:
12212         OK, so it's actually cvsignore that needs changing. Stop laughing.
12213
12214 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12215
12216         * tests/examples/manual/Makefile.am:
12217         Gah, declare vars *before* using them
12218
12219 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12220
12221         * gst/gst.c: (init_pre), (scan_and_update_registry),
12222         (ensure_current_registry_nonforking),
12223         (ensure_current_registry_forking), (ensure_current_registry),
12224         (init_post), (gst_debug_help), (gst_deinit):
12225         * gst/gst_private.h:
12226         * gst/gstregistry.c: (gst_registry_finalize),
12227         (gst_registry_remove_features_for_plugin_unlocked),
12228         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12229         (gst_registry_scan_path),
12230         (_priv_gst_registry_remove_cache_plugins),
12231         (_priv_gst_registry_cleanup):
12232         * gst/gstregistry.h:
12233         Re-commit the registry changes, along with an extra fix:
12234           When a cached plugin is encountered at a different file path,
12235           update the stored path in the registry cache so that the parent
12236           process knows where it actually is now when it re-reads the registry
12237           cache. Fixes the thing that broke distcheck with the previous commit.
12238
12239         * tests/check/Makefile.am:
12240         Clean up files named 'core' too when running make clean.
12241
12242         * tests/examples/manual/Makefile.am:
12243         Set up a registry path for running these tests, and clean it properly
12244         for distcheck.
12245
12246 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12247
12248         * configure.ac:
12249         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12250         want gmodule-no-export-2.0.pc instead so that we don't drag in
12251         --export-dynamic on every project that links to GStreamer.
12252
12253         Also, make our export regex only match the start of symbols, rather 
12254         than any symbol that contains '_gst' somewhere.
12255
12256         * libs/gst/check/Makefile.am:
12257         The libgstcheck we build does however need export-dynamic, as it
12258         produces some symbols that don't match our _gst... style regex.
12259         Fixes: #318031
12260
12261 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12262
12263         * gst/gst.c: (init_pre), (scan_and_update_registry),
12264         (ensure_current_registry_nonforking),
12265         (ensure_current_registry_forking), (ensure_current_registry),
12266         (init_post), (gst_debug_help), (gst_deinit):
12267         * gst/gst_private.h:
12268         * gst/gstregistry.c: (gst_registry_finalize),
12269         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12270         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12271         (_gst_registry_cleanup):
12272         * gst/gstregistry.h:
12273           Revert previous change until I figure out why it breaks distcheck.
12274
12275 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12276
12277         * gst/gst.c: (init_pre), (scan_and_update_registry),
12278         (ensure_current_registry_nonforking),
12279         (ensure_current_registry_forking), (ensure_current_registry),
12280         (init_post), (gst_debug_help), (gst_deinit):
12281
12282           Make init_pre and init_post take the full complement of GOptionFunc
12283           args so they can return useful GErrors. Make the registry updating
12284           functions do so.
12285
12286           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12287           ensure that the registry we're about to write out doesn't contain
12288           stale information about old-deleted plugin files.
12289
12290           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12291           that deletion of plugin files is considered a registry change.
12292
12293         * gst/gst_private.h:
12294         * gst/gstregistry.c: (gst_registry_finalize),
12295         (gst_registry_remove_features_for_plugin_unlocked),
12296         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12297         (gst_registry_scan_path),
12298         (_priv_gst_registry_remove_cache_plugins),
12299         (_priv_gst_registry_cleanup):
12300         * gst/gstregistry.h:
12301         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12302         by adding _priv prefix, so that they won't appear in the global
12303         symbol table. They still do atm though because of #318031. Move the
12304         prototypes to gst_private.h
12305
12306         When removing a plugin, remove all features for that plugin too. 
12307         Fixes #340878.
12308
12309 2006-09-27  Wim Taymans  <wim@fluendo.com>
12310
12311         * docs/random/moving-plugins:
12312         Make it clear that the "compiled-in descriptions" really mean
12313         the element details.
12314
12315         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12316         (gst_base_sink_wait_preroll):
12317         Update docs.
12318
12319         * docs/libs/gstreamer-libs-sections.txt:
12320         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12321         (gst_base_src_get_range), (gst_base_src_activate_push):
12322         * libs/gst/base/gstbasesrc.h:
12323         Added function to block while waiting for PLAYING, this function
12324         is used by live sources that block on the clock.
12325         API: gst_base_src_wait_playing()
12326
12327 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12328
12329         Patch by: Peter Kjellerstedt <pkj at axis com>
12330
12331         * Makefile.am:
12332           gst-element-check.m4 is generated and should therefore be
12333           copied from the build dir rather than the source dir (#357593).
12334           'make distcheck' hasn't noticed this because we were disting
12335           the file as well, so stop doing that.
12336
12337 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12338
12339         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12340           Add some tests for gst_caps_intersect().
12341
12342         * tools/gst-launch.c: (event_loop):
12343           Print all buffering percentages we get, even the 100% one.
12344
12345 2006-09-26  Wim Taymans  <wim@fluendo.com>
12346
12347         * tools/gst-inspect.c: (print_element_properties_info),
12348         (print_signal_info):
12349         Fix printing of flags to match the look of enums.
12350
12351 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12352
12353         * gst/gstelementfactory.c:
12354           Fix typo in docs blurb.
12355
12356 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12357
12358         * gst/gsturi.c: (search_by_entry):
12359           Don't assert/crash here if a uri handler doesn't return any
12360           supported protocols. The list of protocols could be generated
12361           dynamically at runtime or at plugin registration, and an error
12362           in the underlying library shouldn't be fatal (#353301).
12363
12364 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12365
12366         * gst/gstinfo.c:
12367           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12368           (spotted by Peter Kjellerstedt).
12369
12370 2006-09-23  Wim Taymans  <wim@fluendo.com>
12371
12372         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12373
12374         * libs/gst/base/gstbasesrc.c:
12375         (gst_base_src_default_check_get_range), (gst_base_src_start),
12376         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12377         (gst_base_src_change_state):
12378         Match _start/_stop calls in the activate functions. Remove redundant
12379         _stop call from the state change function. Fixes #356910.
12380         Turn failure DEBUG into ERROR. 
12381
12382 2006-09-22  Wim Taymans  <wim@fluendo.com>
12383
12384         * docs/design/part-buffering.txt:
12385         * gst/gstmessage.c: (gst_message_new_buffering),
12386         (gst_message_parse_buffering):
12387         Update docs about buffering.
12388
12389         * docs/design/part-trickmodes.txt:
12390         Fix typo.
12391
12392 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12393
12394         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12395         (gst_controller_new_list):
12396           Ref instances when returning them again (fixes #357180)
12397
12398 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12399
12400         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12401           Don't forget to release proxy lock when there's an error.
12402
12403 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12404
12405         * gst/gstcaps.h:
12406           Add extra initialisers for Caps things, to fix some plugin warnings
12407           when using -Wextra
12408
12409 2006-09-18  Wim Taymans  <wim@fluendo.com>
12410
12411         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12412           Also set template on the internal pad so that a getcaps from the 
12413           target pad returns the template caps.
12414
12415 2006-09-18  Wim Taymans  <wim@fluendo.com>
12416
12417         * gst/gstelement.c: (gst_element_post_message),
12418         (gst_element_dispose):
12419         Use _DEBUG_OBJECT some more.
12420
12421         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12422         Avoid typechecks.
12423
12424         * tools/gst-launch.c: (main):
12425         If the toplevel element is not a GstPipeline, it must be put in a
12426         pipeline so that a bus and clock is selected.
12427
12428 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12429
12430         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12431           JITTER, RATE, and LATENCY query should be handled by the
12432           default case and not by the CONVERT query code.
12433
12434 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12435
12436         * gst/gstformat.c: (gst_format_register):
12437           Fix locking order (must take lock before using n_values).
12438
12439         * gst/gstvalue.c: (gst_value_serialize_enum),
12440         (gst_value_deserialize_enum_iter_cmp),
12441         (gst_value_deserialize_enum):
12442           Fix serialisation/deserialisation of custom registered GstFormats.
12443
12444         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12445           Unit test for custom format serialisation/deserialisation.
12446
12447 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12448
12449         * docs/pwg/building-boiler.xml:
12450         * plugins/elements/gstcapsfilter.c:
12451         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12452         section.
12453
12454 2006-09-16  Edward Hervey  <edward@fluendo.com>
12455
12456         * libs/gst/base/gstbasetransform.c:
12457         (gst_base_transform_buffer_alloc):
12458         Check if requested caps are the same as the sinks caps IF
12459         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12460         is FALSE.
12461         This fixes the renegotiation issues stated in #352827.
12462
12463 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12464
12465         * configure.ac:
12466         * docs/manual/advanced-autoplugging.xml:
12467         * tests/examples/Makefile.am:
12468         * tests/examples/manual/.cvsignore:
12469         * tests/examples/manual/Makefile.am:
12470         * tests/examples/manual/extract.pl:
12471           Extract the manual examples again like we used to do.
12472           Fix one of them.
12473
12474 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12475
12476         * win32/common/config.h:
12477           update for version
12478
12479 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12480
12481         * gst/gsterror.c:
12482           Documents how to receive errors.
12483
12484 2006-09-15  Wim Taymans  <wim@fluendo.com>
12485
12486         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12487         (event_loop), (main):
12488         Added some comments here and there.
12489         Post an application message when an interrupt is caught instead of doing
12490         an uncontrolled state change.
12491         Clean up the event loop.
12492         Handle buffering messages, pause/resume the pipeline.
12493         Make shutdown because of an interrupt more reliable.
12494
12495 2006-09-15  Wim Taymans  <wim@fluendo.com>
12496
12497         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12498         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12499         (gst_base_sink_preroll_object):
12500         Make sure that our internal state is correct when we commit our state
12501         asynchronously. This solves a race where a state change to PLAYING
12502         could cause the sink to remain blocked in preroll in some situations.
12503
12504 2006-09-15  Wim Taymans  <wim@fluendo.com>
12505
12506         * tools/gst-inspect.c: (print_element_properties_info),
12507         (print_signal_info):
12508         List flags as hex so it's easier to deal with.
12509
12510 2006-09-15  Wim Taymans  <wim@fluendo.com>
12511
12512         * docs/libs/gstreamer-libs-sections.txt:
12513         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12514         (gst_base_sink_do_sync):
12515         * libs/gst/base/gstbasesink.h:
12516         Expose logic to wait for preroll so that subclasses such as audiosink
12517         can also use this method.
12518         API: gst_base_sink_wait_preroll()
12519
12520 2006-09-15  Wim Taymans  <wim@fluendo.com>
12521
12522         * gst/gstobject.c: (gst_object_set_parent):
12523         * gst/gstpipeline.c: (do_pipeline_seek):
12524         Small cleanups in docs and code.
12525
12526         * gst/gstsegment.c: (gst_segment_clip):
12527         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12528         if stop == start and start is in the segment, no clipping should be
12529         done. Also add a test for this.
12530
12531 2006-09-15  Wim Taymans  <wim@fluendo.com>
12532
12533         * docs/design/part-buffering.txt:
12534         * docs/gst/gstreamer-sections.txt:
12535         * gst/gstmessage.c: (gst_message_new_buffering),
12536         (gst_message_parse_buffering):
12537         * gst/gstmessage.h:
12538         Added methods to create and parse BUFFERING messages.
12539         Added preliminary docs about buffering.
12540         API: gst_message_new_buffering
12541         API: gst_message_parse_buffering
12542
12543 2006-09-06  Wim Taymans  <wim@fluendo.com>
12544
12545         * gst/gstbin.c:
12546         Update documentation.
12547
12548         * gst/gstelement.c: (gst_element_class_init),
12549         (gst_element_release_request_pad), (gst_element_set_clock),
12550         (gst_element_get_index), (gst_element_add_pad),
12551         (gst_element_remove_pad), (gst_element_get_random_pad),
12552         (gst_element_send_event), (gst_element_get_query_types),
12553         (gst_element_query), (gst_element_post_message),
12554         (gst_element_message_full), (gst_element_continue_state),
12555         (gst_element_lost_state), (gst_element_save_thyself),
12556         (gst_element_restore_thyself):
12557         Documentation updates.
12558         Rename last bit of the new-pad -> pad-added signal rename.
12559         Fix the case where an element query would only work if the source
12560         pad was linked.
12561         Avoid some useless type checking in message handling.
12562
12563         * gst/gstevent.c:
12564         * gst/gstevent.h:
12565         * gst/gstutils.c:
12566         Documentation updates.
12567
12568 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12569
12570         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12571           add an INFO line for when we actually update the fd
12572
12573 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12574
12575         * configure.ac:
12576           back to TRUNK
12577
12578 === release 0.10.10 ===
12579
12580 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12581
12582         * configure.ac:
12583           releasing 0.10.10, "Pais"
12584
12585 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12586
12587         * docs/manual/advanced-position.xml:
12588           Fix typo in sample code.
12589
12590 2006-09-05  Wim Taymans  <wim@fluendo.com>
12591
12592         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12593         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12594         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12595         * libs/gst/net/gstnetclientclock.h:
12596         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12597         * libs/gst/net/gstnettimepacket.h:
12598         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12599         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12600         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12601         * libs/gst/net/gstnettimeprovider.h:
12602         Make stuff compile on windows. Fixes #345295.
12603
12604 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12605
12606         * gst/gst.c: (ensure_current_registry_forking):
12607           Print better details when child was terminated by signal.
12608
12609 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12610
12611         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12612           Print a warning rather than g_assert() if a plugin feature
12613           is a URI handler but returns no protocols (#353976).
12614
12615 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12616
12617         * docs/random/moving-plugins:
12618         Fix two typos.         
12619
12620 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12621
12622         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12623           Fix locking order, handle NULL function values properly.
12624
12625         * gst/gstinfo.h:
12626           Fix docs.
12627
12628         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12629           Initialise variable before using it and fix debug statement to
12630           print the address of the function rather than the address of the
12631           variable on the stack holding the address of the function.
12632
12633 2006-09-01  Wim Taymans  <wim@fluendo.com>
12634
12635         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12636         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12637         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12638         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12639         (gst_ghost_pad_parent_unset),
12640         (gst_ghost_pad_internal_do_activate_push),
12641         (gst_ghost_pad_internal_do_activate_pull),
12642         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12643         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12644         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12645         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12646         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12647         (gst_ghost_pad_new_no_target_from_template),
12648         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12649         More cleanups.
12650         Avoid needless typechecking in macros.
12651         Since the internal pad is always present and never changes, there is
12652         no need to locking or ref when retrieving it.
12653         Improve debugging a bit.
12654         Handle link errors when setting the target. Fixes #341029.
12655
12656 2006-09-01  Wim Taymans  <wim@fluendo.com>
12657
12658         * docs/libs/gstreamer-libs-sections.txt:
12659         * docs/plugins/gstreamer-plugins-sections.txt:
12660         Fix docs some more.
12661
12662         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12663         (gst_collect_pads_event):
12664         * libs/gst/base/gstcollectpads.h:
12665         Documentation updates.
12666         Free queued buffer when removing a pad.
12667
12668 2006-08-31  Michael Smith  <msmith@fluendo.com>
12669
12670         * gst/gstutils.c: (gst_element_link_pads),
12671         (gst_element_link_pads_filtered):
12672           Ensure that we set a capsfilter to NULL if we failed to link it
12673           when doing filtered linking, to avoid criticals.
12674
12675           No need to check for unreffing srcpad, which is explicly NULLed
12676           above (a trivial code cleanup).
12677
12678 2006-08-31  Wim Taymans  <wim@fluendo.com>
12679
12680         * docs/design/part-gstghostpad.txt:
12681         Update ascii art in documentation.
12682
12683         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12684         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12685         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12686         (gst_ghost_pad_internal_do_activate_push),
12687         (gst_ghost_pad_internal_do_activate_pull),
12688         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12689         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12690         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12691         (gst_ghost_pad_set_target):
12692         Small cleanups and leak fixes.
12693         Remove some checks now that the internal pad is never NULL.
12694         Fix the case where linking pads without a target would create nasty
12695         criticals. Fixes #341029.
12696         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12697         value of _set_target().
12698
12699         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12700         (gst_ghost_pad_suite):
12701         Some more tests for creating and linking untargeted ghostpads.
12702
12703 2006-08-31  Edward Hervey  <edward@fluendo.com>
12704
12705         * docs/gst/gstreamer-sections.txt:
12706         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12707         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12708         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12709         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12710         (gst_ghost_pad_new_from_template),
12711         (gst_ghost_pad_new_no_target_from_template):
12712         * gst/gstghostpad.h:
12713         Refactored *_new() functions.
12714         Templates are now used as a g_object_new() parameter.
12715         Use template in _do_getcaps() if we don't have a target.
12716         Small documentation cleanups.
12717         Added two new constructors:
12718         gst_ghost_pad_new_from_template()
12719         gst_ghost_pad_new_no_target_from_template()
12720         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12721         (gst_ghost_pad_suite):
12722         Added tests for new ghostpad instanciation functions.
12723
12724         API additions: gst_ghost_pad_new_from_template,
12725         gst_ghost_pad_new_no_target_from_template
12726
12727 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12728
12729         * docs/random/ensonic/profiling.txt:
12730           Ideas about qos profiling.
12731
12732 2006-08-29  Wim Taymans  <wim@fluendo.com>
12733
12734         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12735         Code cleanups.
12736         Fix memleak.
12737
12738 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12739
12740         * gst/gstxml.c:
12741           Improve and detypofy docs.
12742
12743         * tests/check/Makefile.am:
12744         * tests/check/gst/.cvsignore:
12745         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12746           Add a basic test suite for GstXML.
12747
12748 2006-08-29  Wim Taymans  <wim@fluendo.com>
12749
12750         * gst/gstelement.c: (activate_pads), (clear_caps),
12751         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12752         Clear the pad caps when the element shut down all of the pads and
12753         is not streaming data that could modify the caps. 
12754         Fixes #352958.
12755
12756 2006-08-28  Michael Smith  <msmith@fluendo.com>
12757
12758         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12759           Revert previous change; I misunderstood single-segment mode.
12760
12761 2006-08-28  Michael Smith  <msmith@fluendo.com>
12762
12763         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12764           Unset DISCONT on buffers when using single-segment mode.
12765
12766 2006-08-28  Wim Taymans  <wim@fluendo.com>
12767
12768         * gst/gstcaps.c: (gst_caps_merge_structure):
12769         * gst/gstcaps.h:
12770         Fix docs and indentation again.
12771
12772         * tests/check/gst/gstquery.c: (GST_START_TEST):
12773         Fix leak in tests and add some more tests.
12774
12775 2006-08-28  Edward Hervey  <edward@fluendo.com>
12776
12777         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12778         Inform GstSegment of the last stop position in order for the current
12779         segment to have a proper duration if it doesn't have a specific stop
12780         position from which a duration could be calculated.
12781         This bug was noticeable when a non-flushing, non-update new segment was
12782         followed by another segment (all buffers from the new segment were being
12783         dropped).
12784
12785 2006-08-28  Wim Taymans  <wim@fluendo.com>
12786
12787         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12788         Small comment update.
12789
12790         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12791         (gst_identity_transform_ip):
12792         Drop-probability is broken, mention this in the code with a 
12793         FIXME and also in the property description.
12794         Make silent also be silent about the drop messages.
12795
12796 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12797
12798         * docs/manual/appendix-win32.xml:
12799           Remove mention of popt, we don't depend on that any
12800           longer (#353136). Add some comments pointing out that
12801           this section is slightly outdated.
12802
12803 2006-08-28  Wim Taymans  <wim@fluendo.com>
12804
12805         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12806
12807         * gst/gstquery.c: (gst_query_new_segment):
12808         * tests/check/gst/gstquery.c: (GST_START_TEST):
12809         Initialize variables when creating a new segment query.
12810         Fixes #353121.
12811
12812 2006-08-28  Wim Taymans  <wim@fluendo.com>
12813
12814         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12815
12816         * gst/gstelement.c: (gst_element_get_bus):
12817         * tests/check/gst/gstelement.c: (GST_START_TEST):
12818         Check for NULL before _reffing the bus. Fixes #353122.
12819
12820 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12821
12822         * docs/manual/basics-bus.xml:
12823           Docs update: fix wrong callback return value explanation; add
12824           some lines about the implicit relationship between main loop
12825           and main context; remove duplicate main loop variable declaration.
12826
12827 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12828
12829         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12830           Don't leak caps in unit test; add a few more simple
12831           checks. 
12832
12833 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12834
12835         * docs/gst/gstreamer-sections.txt:
12836         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12837         (gst_caps_structure_is_subset), (gst_caps_merge),
12838         (gst_caps_merge_structure):
12839         * gst/gstcaps.h:
12840         * libs/gst/base/gstbasetransform.c:
12841         (gst_base_transform_transform_caps):
12842         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12843           implement caps merging (fixes #352580)
12844
12845 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12846
12847         * tools/Makefile.am:
12848         * tools/gst-plot-timeline.py:
12849           add debug-log plotting developer tool (#340674)
12850
12851 2006-08-23  Wim Taymans  <wim@fluendo.com>
12852
12853         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12854         (gst_pad_stop_task):
12855         Improve debugging for task functions.
12856
12857         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12858         (gst_task_start), (gst_task_pause), (gst_task_join):
12859         Make sure that the task function started and finished after a 
12860         join(). 
12861         Don't try to push the task function on the threadpool multiple
12862         times.
12863         Improve the g_warning message with some useful suggestions
12864         about how to fix the problem. 
12865
12866 2006-08-23  Wim Taymans  <wim@fluendo.com>
12867
12868         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12869         Handle RESYNC correctly in _proxy_getcaps.
12870
12871 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12872
12873         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12874         (gst_xml_parse_memory), (gst_xml_get_element):
12875           Chain up to parent class in dispose function and also
12876           unref the elements in the toplevel_elements GList.
12877           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12878           Always return a reference in gst_xml_get_element() rather
12879           than only sometimes.
12880
12881         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12882           Don't leak GstXml object.
12883
12884 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12885
12886         * docs/gst/gstreamer-sections.txt:
12887         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12888         (gst_caps_merge):
12889         * gst/gstcaps.h:
12890         * libs/gst/base/gstbasetransform.c:
12891         (gst_base_transform_transform_caps):
12892           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12893           in a better way
12894
12895 2006-08-21  Edward Hervey  <edward@fluendo.com>
12896
12897         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12898         Implement GObject::dispose virtual method in GstXML so we can free the
12899         top_elements GList.
12900
12901 2006-08-21  Wim Taymans  <wim@fluendo.com>
12902
12903         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12904         (gst_buffer_create_sub):
12905         Copy duration/offset_end/caps when creating a subbuffer of the
12906         complete parent.
12907         Make the subbuffer read-only when we make the metadata writable for
12908         now. Fixes #351768.
12909
12910         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12911         Added check for metadata copy when creating subbuffers.
12912
12913 2006-08-21  Edward Hervey  <edward@fluendo.com>
12914
12915         * libs/gst/base/gstbasetransform.c:
12916         (gst_base_transform_buffer_alloc):
12917         Only call downstream buffer_alloc if transform element is passthrough
12918         or always_in_place. Closes #350449.
12919
12920 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12921
12922         * ChangeLog:
12923           ChangeLog surgery to add comments to previous changes
12924
12925 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12926
12927         * gst/gst.c:
12928           Add comments
12929
12930         * gst/gstpad.c: (gst_pad_set_active):
12931           Be more verbose in the log
12932
12933         * libs/gst/base/gstbasetransform.c:
12934         (gst_base_transform_transform_caps):
12935           Simplify caps to get rid of duplicates, fixes #345444
12936
12937 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12938
12939         * gst/gstvalue.c:
12940         * gst/gstvalue.h:
12941           Use these optimizations only internally.
12942
12943 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12944
12945         * gst/gstvalue.c: (gst_value_compare_list),
12946         (gst_value_compare_fraction_range),
12947         (gst_value_intersect_fraction_fraction_range),
12948         (gst_value_intersect_fraction_range_fraction_range),
12949         (gst_value_subtract_fraction_fraction_range),
12950         (gst_value_subtract_fraction_range_fraction_range),
12951         (gst_value_get_compare_func), (gst_value_compare),
12952         (gst_value_compare_with_func):
12953         * gst/gstvalue.h:
12954           Saves the expensive lookup of the compare function in many cases
12955          (#345444)
12956
12957 2006-08-18  Edward Hervey  <edward@fluendo.com>
12958
12959         * tests/check/gst/gstinfo.c: (gst_info_suite):
12960         Disable test that require gstdebug if it wasn't built in core.
12961
12962 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12963
12964         * docs/random/ensonic/logging.txt:
12965           update ideas
12966           
12967         * gst/gstinfo.c: (gst_debug_log_default):
12968           reorder fields, save some columns, add optional color codes for log
12969           levels
12970
12971 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12972
12973         * docs/random/ensonic/logging.txt:
12974           add ideas about making the logs a bit more useful
12975
12976 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12977
12978         * docs/pwg/advanced-events.xml:
12979         * docs/pwg/titlepage.xml:
12980           Update for 0.10 API (#340627). Add myself
12981           to authors list.
12982
12983 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12984
12985         * docs/libs/gstreamer-libs-docs.sgml:
12986         * docs/libs/gstreamer-libs-sections.txt:
12987         * libs/gst/check/gstbufferstraw.c:
12988           Make gstcheck stuff show up in docs (still needs to
12989           be documented properly though).
12990
12991 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12992
12993         * docs/gst/gstreamer-sections.txt:
12994         * gst/Makefile.am:
12995         * gst/gst.c: (init_post):
12996         * gst/gst_private.h:
12997         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12998         * gst/gstquark.h:
12999         * gst/gstquery.c: (gst_query_new_position),
13000         (gst_query_set_position), (gst_query_parse_position),
13001         (gst_query_new_duration), (gst_query_set_duration),
13002         (gst_query_parse_duration), (gst_query_new_convert),
13003         (gst_query_set_convert), (gst_query_parse_convert),
13004         (gst_query_new_segment), (gst_query_set_segment),
13005         (gst_query_parse_segment), (gst_query_new_seeking),
13006         (gst_query_set_seeking), (gst_query_parse_seeking):
13007         Add internal helpers for pre-registering quarks from static strings
13008         and using the quark values directly instead of looking them up when
13009         creating and parsing queries. Can be used for event construction too.
13010         Closes #350432.
13011
13012 2006-08-16  Wim Taymans  <wim@fluendo.com>
13013
13014         * gst/gstbin.c:
13015         Fix bogus docs.
13016
13017 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13018
13019         * gst/gstutils.c: (gst_util_set_value_from_string):
13020           Fix memleak (#351502).
13021
13022         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13023           Add unit test for most of gst_util_set_value_from_string()
13024           (not that one would want to encourage use of this function).
13025
13026 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13027
13028         * libs/gst/check/gstcheck.h:
13029           Use const gchar * variables in fail_unless_equals_string
13030           macro to avoid compiler warnings (and don't use tabs for
13031           indenting).
13032
13033 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13034
13035         * tools/gst-launch.c: (print_tag):
13036           More space on the left for the tag names, to cater
13037           for the 'extended comment' tag (not touching the
13038           string for the first line since it's translated).
13039
13040 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13041
13042         * libs/gst/check/gstcheck.h:
13043           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13044           print something when they fail.
13045
13046 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13047
13048         * docs/gst/gstreamer-sections.txt:
13049         * gst/gsttaglist.c: (_gst_tag_initialize):
13050         * gst/gsttaglist.h:
13051           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13052           Also change merge function for GST_TAG_COMMENT to
13053           use_first.
13054
13055 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13056
13057         * gst/gstinfo.c: (gst_debug_print_object):
13058           Make GST_PTR_FORMAT print messages as well.
13059
13060         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13061         (GST_START_TEST), (gst_info_suite):
13062           More tests.
13063
13064 2006-08-14  Edward Hervey  <edward@fluendo.com>
13065
13066         * gst/gstelementfactory.c: (gst_element_register):
13067         If the GstElementClass doesn't have a GstElementDetails with all fields
13068         filled up correctly (longname, description AND author), then error out
13069         nicely instead of crashing.
13070
13071 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13072
13073         * gst/gststructure.c:
13074           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13075
13076         * gst/gstvalue.h:
13077           Expand on the difference between arrays and lists as we use them.
13078           
13079 2006-08-14  Wim Taymans  <wim@fluendo.com>
13080
13081         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13082         If the parent state change function failed, don't assume we can safely
13083         stop the source, this will be done when the pads are deactivated.
13084
13085 2006-08-14  Wim Taymans  <wim@fluendo.com>
13086
13087         * gst/gstbuffer.c:
13088         * gst/gsttask.c: (gst_task_join):
13089         Small doc updates.
13090
13091         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13092         (gst_pad_stop_task):
13093         When pad (de)activation failed for some reason, restore the old
13094         activation mode and set the pad to flushing instead of assuming the
13095         pad is deactivated.
13096         If the _task_join() failed, reinstall the task on the pad so that it can
13097         be stopped later and return an error.
13098
13099 2006-08-11  Andy Wingo  <wingo@pobox.com>
13100
13101         * configure.ac:
13102         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13103         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13104         is only for users of API that don't want to see deprecated
13105         functions in the headers; people that want to compile out
13106         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13107         CFLAGS. Fixes the build of multifdsink, or will soon..
13108
13109 2006-08-11  Wim Taymans  <wim@fluendo.com>
13110
13111         * docs/gst/gstreamer-sections.txt:
13112         Add GstClockClass vmethod docs.
13113
13114         * gst/gstcaps.h:
13115         Mark #endif with comment for associated #if
13116
13117         * gst/gstclock.c: (gst_clock_id_wait):
13118         * gst/gstclock.h:
13119         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13120         most clock implementations.
13121         Document vmethods.
13122         Flesh out docs about resolution methods.
13123         API: GstClockClass::wait_jitter
13124
13125         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13126         (gst_system_clock_async_thread),
13127         (gst_system_clock_id_wait_jitter_unlocked),
13128         (gst_system_clock_id_wait_jitter):
13129         Use base class wait_jitter variant for improved performance
13130         due to less clock polling.
13131
13132 2006-08-11  Edward Hervey  <edward@fluendo.com>
13133
13134         * gst/gst.c: (gst_init_check), (init_post):
13135         Set gst as being initialized before scanning/updating the registry,
13136         since there might be my python plugin loader that calls gst_init() and
13137         we don't want to loop back in.
13138         Closes #350879
13139
13140 2006-08-11  Wim Taymans  <wim@fluendo.com>
13141
13142         * docs/design/part-qos.txt:
13143         Bring docs in line with the code. Mostly the sign of the jitter was
13144         wrong in the docs. Fixes #349943.
13145
13146         * gst/gstclock.c:
13147         Fix the docs for the jitter.
13148
13149         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13150         (gst_event_parse_tag), (gst_event_new_buffer_size),
13151         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13152         (gst_event_new_seek), (gst_event_parse_seek),
13153         (gst_event_new_navigation):
13154         Make sure the GstStructure has no parent when creating custom
13155         events.
13156         Add some more argument checking so that we avoid 0.0 rates.
13157         Flesh out the docs for the QoS event some more.
13158
13159 2006-08-11  Wim Taymans  <wim@fluendo.com>
13160
13161         * docs/gst/gstreamer-sections.txt:
13162         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13163         (ensure_current_registry_forking), (ensure_current_registry),
13164         (parse_one_option), (parse_goption_arg), (gst_deinit),
13165         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13166         * gst/gst.h:
13167         Doc updates.
13168         Added API and command line option to disable registry forking in
13169         addition to the environment variable.
13170         Constify some static arrays.
13171         Added some more debug.
13172         Don't deinit twice.
13173         API: gst_registry_fork_is_enabled()
13174         API: gst_registry_fork_set_enabled()
13175         API: --gst-disable-registry-fork command line option
13176         Fixes #348918.
13177
13178 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13179
13180         * gst/gst.c: (gst_init):
13181           Fix typo in error message.
13182
13183 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13184
13185         * libs/gst/controller/gstcontroller.h:
13186           fix ABI size-correction
13187
13188         * tests/check/libs/gdp.c: (gst_dp_suite):
13189           make tests that use deprecated API conditional
13190
13191 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13192
13193         * docs/libs/gstreamer-libs-sections.txt:
13194         * libs/gst/controller/gstcontroller.c:
13195         (_gst_controller_get_property), (_gst_controller_set_property),
13196         (_gst_controller_init), (_gst_controller_class_init):
13197         * libs/gst/controller/gstcontroller.h:
13198         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13199         (gst_object_set_control_rate):
13200           API: add gst_object_{s,g}et_control_rate(), add private data section,
13201           fix docs
13202
13203         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13204         * libs/gst/dataprotocol/dataprotocol.h:
13205           add deprecation guards to make gtk-doc happy and allow disabling cruft
13206
13207 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13208
13209         * tests/check/Makefile.am:
13210         * tests/check/gst/.cvsignore:
13211           Let's enable the new unit test as well.
13212
13213 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13214
13215         * configure.ac:
13216         * docs/gst/gstreamer-sections.txt:
13217         * gst/gstconfig.h.in:
13218         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13219         (_gst_info_printf_extension_ptr),
13220         (_gst_info_printf_extension_segment):
13221           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13222           register that lets us easily dump GstSegments into debug
13223           logs (#350419).
13224
13225         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13226         (info_segment_format_printf_extension), (gst_info_suite):
13227           Add simple unit test that logs a bunch of different segments (not
13228           valgrinded at the moment because of leaks in
13229           gst_debug_add_log_function).
13230
13231 2006-08-09  Edward Hervey  <edward@fluendo.com>
13232
13233         * libs/gst/base/gstbasetransform.c:
13234         (gst_base_transform_buffer_alloc):
13235         Even if we can't figure out the proper format to request downstream,
13236         call buffer_alloc() downstream with the input parameters without setting
13237         the caps on the srcpad. This will force negotiation in the chain
13238         function.
13239         Closes #350449
13240
13241 2006-08-08  Edward Hervey  <edward@fluendo.com>
13242
13243         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13244         Unlinking from a pad without a target is now a perfectly valid case
13245         which should NOT raise an assertion.
13246         This case would happen if a linked ghostpad its target set to NULL after
13247         it was previously linked.
13248
13249 2006-08-08  Edward Hervey  <edward@fluendo.com>
13250
13251         * tests/check/libs/gdp.c:
13252         Also comment out the test (see below).
13253
13254 2006-08-08  Edward Hervey  <edward@fluendo.com>
13255
13256         * tests/check/libs/gdp.c: (gst_dp_suite):
13257         Use the architecture information from config.h and not gcc macros
13258         in order to properly disable a test that fails on PPC64.
13259
13260 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13261
13262         * gst/gstelement.c: (gst_element_remove_pad):
13263           Don't crash printing the warning if the pad has no parent.
13264
13265 2006-08-02  Wim Taymans  <wim@fluendo.com>
13266
13267         * libs/gst/dataprotocol/dataprotocol.c:
13268         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13269         (gst_dp_crc), (gst_dp_header_payload_length),
13270         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13271         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13272         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13273         (gst_dp_event_from_packet), (gst_dp_validate_header),
13274         (gst_dp_validate_payload):
13275         Make debug category static
13276         Constify the crc table.
13277         Do some more arg checking in public functions.
13278         Fix some docs and do some small cleanups.
13279
13280         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13281         Add some more checks to see if GDP deals with bogus input.
13282
13283 2006-07-31  Wim Taymans  <wim@fluendo.com>
13284
13285         * gst/gstvalue.c: (gst_value_compare_list):
13286         Fix GstValueList comparison code. Fixes #347293.
13287
13288         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13289         Check to test GstValueList comparison.
13290
13291 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13292
13293         * gst/gstelementfactory.c: (gst_element_factory_create):
13294         Remove unnecessary ref/unref pair
13295
13296         * gst/parse/grammar.y:
13297         Make sure to free the parse buffer on all code paths.
13298         Move a g_free up to the error handler where it's easier to see.
13299
13300         * tests/check/gst/gstevent.c: (test_event):
13301         Extending timeout for downstream travelling events to 10 seconds to
13302         hopefully avoid intermittent failure on the buildbots.
13303
13304         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13305         Don't manually set the state of the src element - it will happen as a
13306         natural consequence of the pipeline changing state, and that way it
13307         will do it in the right order too.
13308
13309 2006-07-31  Wim Taymans  <wim@fluendo.com>
13310
13311         * libs/gst/base/gstbasetransform.c:
13312         (gst_base_transform_buffer_alloc):
13313         Use OBJECT_LOCK and refcounting to get the pad caps in the
13314         buffer_alloc function because the caps could change while we are
13315         busy with them. Fixes #349105
13316
13317 2006-07-31  Wim Taymans  <wim@fluendo.com>
13318
13319         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13320         Protect _PAD_CAPS with OBJECT_LOCK.
13321
13322 2006-07-31  Wim Taymans  <wim@fluendo.com>
13323
13324         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13325         (gst_pad_get_property), (gst_pad_activate_pull),
13326         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13327         (gst_pad_set_activate_function),
13328         (gst_pad_set_activatepull_function),
13329         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13330         (gst_pad_set_getrange_function),
13331         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13332         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13333         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13334         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13335         (gst_pad_set_acceptcaps_function),
13336         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13337         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13338         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13339         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13340         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13341         (gst_pad_configure_sink), (gst_pad_configure_src),
13342         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13343         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13344         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13345         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13346         (gst_pad_send_event):
13347         Use _DEBUG_OBJECT when it makes sense.
13348         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13349         Small cleanups and code reflows.
13350         Avoid caps refcounting in _accept_caps.
13351         Refactor alloc_buffer so that the code performed on the peer is in a
13352         separate function. Also if the pad does not implement a buffer alloc
13353         function, we should still check if the pad is flushing before falling
13354         back to the default allocator.
13355
13356 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13357
13358         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13359         Make all uses of identity and fakesink have silent=true to avoid
13360         serialising every passing data structure, which is breaking tests
13361         on FC4 for some unknown reason.
13362
13363 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13364
13365         * gst/parse/Makefile.am:
13366         * gst/parse/grammar.y:
13367         * gst/parse/parse.l:
13368           Reverted previous patch as it required to bump the flex dependency to
13369           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13370
13371 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13372
13373         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13374
13375         * gst/parse/Makefile.am:
13376         * gst/parse/grammar.y:
13377         * gst/parse/parse.l:
13378           push & pop the state of the lexer for reentrant use case
13379           Fixes #349180
13380
13381 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13382
13383         * libs/gst/base/gstbasesrc.h:
13384           Note in the docs that the ::newsegment vfunc is not actually used by
13385           GstBaseSrc.
13386
13387 2006-07-28  Wim Taymans  <wim@fluendo.com>
13388
13389         * libs/gst/base/gstcollectpads.c:
13390         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13391         (gst_collect_pads_clear), (gst_collect_pads_flush),
13392         (gst_collect_pads_event), (gst_collect_pads_chain):
13393         When flushing a pad, also clear the queued buffer so that we don't
13394         accidentally use it when we shouldn't.
13395         Fix leaks by inreffing incomming buffer.
13396         Flush out queued buffers in case of errors.
13397         Fixes #347452.
13398
13399 2006-07-28  Wim Taymans  <wim@fluendo.com>
13400
13401         * docs/random/phonon-gst:
13402         Random notes about a Phonon backend.
13403
13404 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13405
13406         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13407         Extra debug output
13408         * tests/check/libs/gdp.c: (gst_dp_suite):
13409         Take a whack at fixing the ppc compile using a different define to
13410         disable the broken test.
13411
13412         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13413         Remove excess g_print()
13414
13415 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13416
13417         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13418         Oops, meant to uncomment this line too to dampen the noise a bit.
13419
13420 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13421
13422         * gst/parse/grammar.y:
13423         * gst/parse/parse.l:
13424         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13425         (GST_START_TEST), (parse_suite):
13426         Fix some of the leaks exposed by extending the parse-launch testsuite,
13427         and move the 3 I can't figure out into a separate test that won't run
13428         the pipelines unless the appropriate line is uncommented.
13429
13430 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13431
13432         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13433           Requesting 0 bytes before the end of the file should result in
13434           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13435           unit test.
13436
13437 2006-07-27  Wim Taymans  <wim@fluendo.com>
13438
13439         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13440         Fix useless assert, a uint is always positive.
13441
13442         * gst/gststructure.c: (gst_structure_nth_field_name),
13443         (gst_structure_foreach), (gst_structure_map_in_place):
13444         Check input arguments for public functions to avoid obvious crashes.
13445
13446         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13447         * plugins/elements/gstfakesink.h:
13448         Do less useless typechecking.
13449
13450 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13451
13452         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13453           Do not use mmap() by default since there are a number of error
13454           conditions that we would like to handle in a non-fatal way that
13455           will result in a SIGBUS if we use mmap(). Examples: external
13456           devices (USB harddrive, portable music player) being unplugged
13457           while in use; file on mounted CD/DVD that can't be read because
13458           the medium is partly damaged. Fixes #348455 and #348475.
13459
13460 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13461
13462         * gst/gstquery.h:
13463         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13464         rates are a gdouble
13465
13466 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13467
13468         * gst/gstregistry.c:
13469           Move big documentation comment into class section header, so that it
13470           appears in the API docs.
13471
13472 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13473
13474         * docs/gst/gstreamer-sections.txt:
13475         Oops. Commit the docs additions too for new API.
13476         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13477
13478 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13479
13480         * gst/gststructure.c: (gst_structure_id_set),
13481         (gst_structure_id_set_valist):
13482         * gst/gststructure.h:
13483         Add API for setting values into structures without performing
13484         a quark lookup, if the appropriate quark is already known.
13485
13486         API: gst_structure_id_set
13487         API: gst_structure_id_set_valist
13488
13489         * gst/parse/grammar.y:
13490         * gst/parse/parse.l:
13491         Remove some dead code shown by the coverage information.
13492         Don't throw a critical g_warning when encountering a syntax error,
13493         just warn and let the normal error path handle it.
13494
13495         * plugins/elements/gstelements.c:
13496         Bump the rank of filesink up to PRIMARY so that it is preferred over
13497         gnomevfssink for file:// sink uri's
13498
13499         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13500         (GST_START_TEST), (run_delayed_test),
13501         (gst_parse_test_element_base_init),
13502         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13503         (gst_parse_test_element_change_state),
13504         (gst_register_parse_element), (parse_suite):
13505         Beef up the tests for parse syntax to check that more error cases
13506         fail as they are supposed to. Increases the test coverage a bit.
13507
13508 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13509
13510         * docs/manual/basics-elements.xml:
13511           Fix gst_element_link() example.
13512
13513         * gst/gstutils.c:
13514           Mention in API docs that one should usually gst_bin_add()
13515           elements to a bin or pipeline before doing the linking.
13516           
13517 2006-07-26  Wim Taymans  <wim@fluendo.com>
13518
13519         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13520         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13521         Avoid function call for known types by keeping the buffer and
13522         subbuffer GType global.
13523
13524         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13525         Random silly optimisations in read() path.
13526
13527 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13528
13529         * tools/gst-launch.c: (main):
13530           If the top-level of the parse is a normal bin, it doesn't do the
13531           right logic to run as a top-level element, so place it inside a
13532           pipeline.
13533
13534 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13535
13536         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13537           Remove superfluous g_object_notify() calls, GObject does
13538           that for us automatically.
13539
13540 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13541
13542         * gst/gstinfo.h:
13543           on Win32, use dllspec to export the debug category symbols
13544
13545 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13546
13547         * gst/gsttaglist.c: (_gst_tag_initialize):
13548           Allow more than one GST_TAG_IMAGE per taglist.
13549
13550 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13551
13552         * gst/gstminiobject.c:
13553           update docs
13554         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13555         (gst_fd_src_create):
13556           log recurring events at LOG level
13557           add more debug for when the fd gets set
13558
13559 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13560
13561         * gst/gstparse.c: (gst_parse_launch):
13562           Also remove reentrance checks if flex is MT safe (#348179)
13563          Fix my empty ChangeLog entry below
13564
13565 2006-07-21  Andy Wingo  <wingo@pobox.com>
13566
13567         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13568
13569         * libs/gst/check/Makefile.am
13570         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13571         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13572         * libs/gst/check/gstbufferstraw.h:
13573         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13574         functions, thus proving I am still a GStreamer haxor. OK I wrote
13575         them a long time ago, but anyways.
13576
13577 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13578
13579         * configure.ac:
13580         * gst/gstparse.c: (gst_parse_launch):
13581           Check for flex version and omit mutex if we have a MT save flex
13582           (fixes #348179)
13583
13584 2006-07-21  Wim Taymans  <wim@fluendo.com>
13585
13586         * gst/gstparse.c: (gst_parse_launch):
13587         Protect recursive calls to _parse with a recursive mutex
13588         and busy flag.
13589
13590 2006-07-21  Wim Taymans  <wim@fluendo.com>
13591
13592         * tests/check/gst/gstpad.c: (GST_START_TEST):
13593         Fix leak in test.
13594
13595 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13596
13597         * gst/gstparse.c: (gst_parse_launch):
13598           Do not hang on recursive usage of gst_parse_launch()
13599
13600 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13601
13602         * gst/gsttaglist.c:
13603           Add some more docs, comments and FIXME 0.11s here and there
13604           and also fix some typos.
13605
13606 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13607
13608         * gst/gstsegment.h:
13609           Convert tabs to spaces for better readability. 
13610
13611 2006-07-20  Edward Hervey  <edward@fluendo.com>
13612
13613         * tests/check/libs/gdp.c: (gst_dp_suite):
13614         the test_buffer test fails at line 140 on ppc64 at the following
13615         check:
13616         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13617                 GST_BUFFER_FLAG_IN_CAPS),
13618                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13619         See bug #348114 for more details.
13620
13621 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13622
13623         * docs/pwg/advanced-scheduling.xml:
13624         * gst/gstpad.c:
13625           Fix typos (#348000).
13626
13627 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13628
13629         * docs/pwg/intro-basics.xml:
13630           Fix wrong links (#347927).
13631
13632 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13633
13634         * gst/gstregistry.h:
13635         * gst/gstregistryxml.c: (load_feature),
13636         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13637         * win32/common/config.h:
13638           make --disable-index work (#342564)
13639
13640 2006-07-18  Wim Taymans  <wim@fluendo.com>
13641
13642         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13643
13644         * gst/Makefile.am:
13645         * gst/gsttrace.h:
13646         The attached patch adds two missing defines to gsttrace.h when tracing
13647         is disabled.  It also corrects one existing define.
13648         Fixes #347756.
13649
13650 2006-07-17  Wim Taymans  <wim@fluendo.com>
13651
13652         * docs/gst/gstreamer-sections.txt:
13653         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13654         * gst/gst.h:
13655         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13656         Add two functions to check and change the SIGSEGV behaviour
13657         when loading plugins.
13658         Don't mess with the SIGSEGV handler when we were told not to.
13659         Fixes #347794.
13660         API: gst_segtrap_is_enabled
13661         API: gst_segtrap_set_enabled
13662
13663 2006-07-14  Wim Taymans  <wim@fluendo.com>
13664
13665         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13666         * tests/check/elements/filesrc.c: (GST_START_TEST):
13667         Revert fix for regression in #347408 after release.
13668
13669 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13670
13671         Patch by: Antoine Tremblay <hexa00 at gmail com>
13672
13673         * gst/gstutils.c: (gst_element_unlink):
13674           Free iterator when done (#347311).
13675
13676         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13677           And add a test case for this.
13678
13679 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13680
13681         * configure.ac:
13682         Bump nano back to CVS
13683
13684 === release 0.10.9 ===
13685
13686 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13687
13688         * configure.ac:
13689           releasing 0.10.9, "On the road again"
13690
13691 2006-07-13  Wim Taymans  <wim@fluendo.com>
13692
13693         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13694         * tests/check/elements/filesrc.c: (GST_START_TEST):
13695         Revert pull-0 fix for release. Disable check. Fixes #347408.
13696
13697 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13698
13699         * libs/gst/dataprotocol/dataprotocol.c:
13700         (gst_dp_event_from_packet_1_0):
13701           Fixes #347337: failure to deserialize event packets with
13702           empty payload (only event type)
13703
13704 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13705
13706         * gst/Makefile.am:
13707           do not install a .c file in the header directory
13708
13709 2006-07-13  Edward Hervey  <edward@fluendo.com>
13710
13711         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13712         GhostPad no longer implicitely use the padtemplates of the targets.
13713         Fixes #347384
13714
13715 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13716
13717         * gst/gstvalue.c: (gst_value_compare_list),
13718         (gst_value_compare_array), (_gst_value_initialize):
13719         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13720         Make GstValueArray comparison be order dependent as designed.
13721         Add checks for value lists and value array comparisons.
13722         Fixes #347221
13723
13724 2006-07-11  Edward Hervey  <edward@fluendo.com>
13725
13726         * gst/gstbin.c: (activate_pads),
13727         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13728         (gst_bin_change_state_func):
13729         (de)activate src pads before calling state_change on the childs.
13730         This is to avoid the case where a src ghostpad is blocked (holding the
13731         stream lock), which would block the deactivation of the ghostpad's
13732         target pad.
13733         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13734         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13735         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13736         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13737         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13738         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13739         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13740         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13741         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13742         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13743         (gst_ghost_pad_class_init),
13744         (gst_ghost_pad_internal_do_activate_push),
13745         (gst_ghost_pad_internal_do_activate_pull),
13746         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13747         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13748         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13749         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13750         GhostPads now create their internal GstProxyPad at creation (and not
13751         when they're linked, as it was being done previously).
13752         The internal and target pads are linked straight away.
13753         The data will also travel through the other pad in order to make
13754         pad blocking and probes non-hackish (the probe/block now really happens
13755         on the GhostPad and not on the target).
13756         * gst/gstpad.c: (gst_pad_set_blocked_async),
13757         (gst_pad_link_prepare), (gst_pad_push_event):
13758         Remove previous ghostpad cruft.
13759         * gst/gstutils.c: (gst_pad_add_data_probe),
13760         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13761         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13762         (gst_pad_remove_buffer_probe):
13763         Remove previous ghost pad cruft.
13764         Added more detailed debug statements.
13765         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13766         Fix the testsuite for refcounting changes.
13767         The comments about who has references were correct, but the refcount
13768         being checked wasn't the same (!?!).
13769
13770         Fixes #341029
13771
13772 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13773
13774         * docs/gst/gstreamer-sections.txt:
13775         * gst/gstconfig.h.in:
13776         More docs for configuration options, add docs to gtk-doc.
13777
13778 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13779
13780         * gst/Makefile.am:
13781         * gst/gstconfig.h.in:
13782         * win32/common/config.h:
13783         Fix build when disabling tracing (fixes #344016). Also start to document
13784         the defines that disable the sub-systems.
13785
13786 2006-07-10  Edward Hervey  <edward@fluendo.com>
13787
13788         * gst/gst.c: (ensure_current_registry_forking):
13789         let's make valgrind happy...
13790
13791 2006-07-09  Wim Taymans  <wim@fluendo.com>
13792
13793         * gst/gstelement.c: (activate_pads),
13794         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13795         Better pad activation code: Reset the collect value too on resync.
13796         Add some comments.
13797
13798 2006-07-09  Wim Taymans  <wim@fluendo.com>
13799
13800         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13801         (gst_pad_activate_push):
13802         Use some more macros where it makes sense.
13803         Allow pad mode switching instead of asserting. When a pad
13804         is activated in one mode and we activate it in another, 
13805         deactivate it first before activating it in a different mode.
13806         Fixes #329198.
13807
13808 2006-07-08  Andy Wingo  <wingo@pobox.com>
13809
13810         * tools/gst-launch.c (main): Handle err == NULL.
13811
13812         * gst/gst.c (init_post, ensure_current_registry)
13813         (ensure_current_registry_forking)
13814         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13815         factoring out the registry scanning into separate functions. Don't
13816         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13817         Better environment var name/interface suggestions accepted.
13818
13819 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13820
13821         * gst/gstobject.c: (gst_object_set_name_default),
13822         (gst_object_set_name):
13823           Random micro-optimisation: don't use a hash table
13824           with strings as keys and the usual strdup/strcmp
13825           involved, but rather just use the GQuark of the
13826           type name as key, since it needs to be looked up
13827           anyway to get the type name string.
13828
13829         * tests/check/gst/gstobject.c: (GST_START_TEST):
13830           Fix various leaks.
13831
13832 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13833
13834         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13835         (gst_bin_iterate_all_by_interface):
13836           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13837           GTypes are gulongs and thus the top 4 bytes might be cut
13838           off on some platforms when doing GPOINTER_TO_INT, leading
13839           to invalid GTypes and bad things happening (see RH bug #179654).
13840           Also add a check to make sure the type passed in is really
13841           an interface type.
13842
13843 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13844
13845         * .cvsignore:
13846           Ignore more.
13847
13848 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13849
13850         * Makefile.am:
13851         * configure.ac:
13852         * gst-element-check.m4:
13853         * gst-element-check.m4.in:
13854           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13855           instead of the unversioned gst-inspect (#324176, #168659).
13856
13857 2006-07-06  Wim Taymans  <wim@fluendo.com>
13858
13859         * gst/gstmessage.h:
13860         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13861         warnings.
13862
13863 2006-07-06  Wim Taymans  <wim@fluendo.com>
13864
13865         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13866         (gst_base_src_wait), (gst_base_src_update_length),
13867         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13868         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13869         (gst_base_src_loop), (gst_base_src_start),
13870         (gst_base_src_activate_pull):
13871         Update docs.
13872         blocksize == 0 now means the default blocksize when working in push
13873         based mode.
13874         Remove some pointless asserts in _wait function.
13875         Fix offset/length calculations and EOS handling. We can now pull 0
13876         bytes as well, which is allowed.
13877         use _check_get_range() to decide if we can operate in _pull based
13878         mode.
13879         Fix refcounting leak when check_get_range function was not 
13880         implemented.
13881         API GstBaseSrc::blocksize range can be 0 too now (default)
13882
13883         * tests/check/elements/filesrc.c: (GST_START_TEST),
13884         (filesrc_suite):
13885         Added check to test _get_range() behaviour.
13886
13887 2006-07-06  Wim Taymans  <wim@fluendo.com>
13888
13889         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13890         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13891         (gst_pad_pull_range):
13892         * gst/gstpad.h:
13893         Lots of comments and docs added to the pad functions.
13894         Flesh out the expected behaviour of the get_range() functions.
13895
13896 2006-07-06  Wim Taymans  <wim@fluendo.com>
13897
13898         * gst/gstbus.h:
13899         * gst/gstclock.h:
13900         * gst/gstevent.h:
13901         * gst/gstiterator.h:
13902         * gst/gstpad.h:
13903         * gst/gstplugin.h:
13904         * gst/gsttask.h:
13905         Remove comma at end of enumerator list. 
13906
13907 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13908
13909         * win32/common/libgstbase.def:
13910         * win32/common/libgstdataprotocol.def:
13911         * win32/common/libsgtreamer.def:
13912         Add new exported functions.
13913
13914 2006-07-05  Wim Taymans  <wim@fluendo.com>
13915
13916         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13917         Add some more docs here and there.
13918
13919 2006-07-05  Wim Taymans  <wim@fluendo.com>
13920
13921         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13922         (gst_base_sink_loop), (gst_base_sink_get_position):
13923         When operating in pull mode update the offset so that we
13924         read sequentially.
13925
13926 2006-07-05  Wim Taymans  <wim@fluendo.com>
13927
13928         * gst/gstregistryxml.c: (read_string):
13929         Avoid strdup. (will happen in libxml, but hey!)
13930
13931         * gst/gsturi.c:
13932         Add some more docs.
13933
13934 2006-07-05  Wim Taymans  <wim@fluendo.com>
13935
13936         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13937         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13938         (gst_buffer_suite):
13939         No point in checking if the size of the subbuffer > 0, the
13940         code handles it correclty as demonstrated by unit test.
13941         Also add a unit test for the zero sized _new_and_alloc and
13942         _copy. Fixes #346663.
13943
13944 2006-07-05  Wim Taymans  <wim@fluendo.com>
13945
13946         * libs/gst/base/gstbasetransform.c:
13947         (gst_base_transform_prepare_output_buffer),
13948         (gst_base_transform_buffer_alloc),
13949         (gst_base_transform_handle_buffer):
13950         Make sure the buffer we pass to transform_ip has a refcount of
13951         1 and thus is writable. Fixes #343196
13952
13953 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13954
13955         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13956         (gst_file_src_init), (gst_file_src_set_property),
13957         (gst_file_src_get_property), (gst_file_src_map_region):
13958         * plugins/elements/gstfilesrc.h:
13959         Add "sequential" property, off by default, to use madvise and hint
13960         to the kernel that sequential access is desired.
13961         Touch all retrieved pages by default to ensure they are pulled
13962         into memory. (Closes #345720)
13963
13964 2006-07-03  Wim Taymans  <wim@fluendo.com>
13965
13966         * docs/design/part-block.txt:
13967         * docs/design/part-dynamic.txt:
13968         Small docs updates.
13969
13970 2006-07-03  Wim Taymans  <wim@fluendo.com>
13971
13972         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13973         (gst_caps_unref), (gst_static_caps_get),
13974         (gst_caps_append_structure):
13975         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13976         Use GSlice when the glib we build against is >= 2.10
13977
13978 2006-07-03  Wim Taymans  <wim@fluendo.com>
13979
13980         * gst/gstelement.c: (gst_element_pads_activate):
13981         Small cleanup in pad activation code.
13982
13983 2006-07-03  Wim Taymans  <wim@fluendo.com>
13984
13985         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13986
13987         * gst/gst-i18n-app.h:
13988         * gst/gst-i18n-lib.h:
13989         * tools/gst-inspect.c: (print_signal_info):
13990         The attached patch will make the inclusion of gettext.h unconditional in
13991         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13992         libintl.h in tools/gst-inspect.c.
13993         This allows use of --disable-nls again and fixes #344642.
13994
13995 2006-07-03  Edward Hervey  <edward@fluendo.com>
13996
13997         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13998         Implement pad blocking on events according to part-block.txt.
13999         More comments on behaviour.
14000         * tests/check/gst/gstevent.c: (test_event):
14001         Send event to peer pad of blocked pad (else it will block).
14002
14003 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14004
14005         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14006         (gst_check_run_suite):
14007           if we get the wrong message, give us the types as string
14008         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14009           Fix a translatable
14010         * tests/check/elements/filesrc.c: (GST_START_TEST):
14011           add a test for trying to open a non-existing file
14012
14013 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14014
14015         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14016           add a test for adding self
14017
14018 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14019
14020         * libs/gst/check/gstcheck.h:
14021           add some assert_ as alias for fail_unless_*
14022         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14023           increase test coverage
14024
14025 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14026
14027         * Makefile.am:
14028           include lcov.mak for lcov coverage generation
14029         * tools/Makefile.am:
14030           add to CLEANFILES
14031
14032 2006-07-02  Edward Hervey  <edward@fluendo.com>
14033
14034         * tests/check/elements/.cvsignore:
14035         moaping
14036
14037 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14038
14039         * configure.ac:
14040           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14041         * tests/check/Makefile.am:
14042           clean up gcov files
14043
14044 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14045
14046         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14047           remove gst_caps_simplify; it was not declared and not used
14048           and deprecated in 0.8
14049
14050 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14051
14052         * docs/faq/gst-uninstalled:
14053           don't put empty paths on PYTHONPATH
14054         * docs/gst/gstreamer-sections.txt:
14055           remove some symbols that are not there
14056
14057 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14058
14059         * gst/gstcaps.c: (gst_caps_compare_structures):
14060           whitespace fixes
14061         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14062         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14063           add more tests
14064
14065 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14066
14067         * libs/gst/dataprotocol/Makefile.am:
14068           build dataprotocol test by linking to the lib, instead of
14069           compiling the source, so we get coverage
14070         * tests/check/Makefile.am:
14071         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14072         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14073           add a test for filesrc
14074
14075 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14076
14077         * tests/check/gst/gststructure.c: (GST_START_TEST),
14078         (gst_structure_suite):
14079           Push coverage from 59.04% to 70.00%
14080
14081 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14082
14083         * tests/check/Makefile.am:
14084           gst-inspect every element; this makes sure that we also get
14085           coverage on element's get/set functions
14086
14087 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14088
14089         * configure.ac:
14090           set CFLAGS and friends to -O0 if gcov is being used
14091           add GCOV LIBS
14092         * gst/Makefile.am:
14093         * libs/gst/base/Makefile.am:
14094         * libs/gst/check/Makefile.am:
14095         * libs/gst/controller/Makefile.am:
14096         * libs/gst/dataprotocol/Makefile.am:
14097         * libs/gst/net/Makefile.am:
14098         * plugins/elements/Makefile.am:
14099         * plugins/indexers/Makefile.am:
14100           add makefile rules to generate gcov data and clean up
14101         * tests/check/Makefile.am:
14102           add a coverage target that generates an html overview
14103           of coverage data
14104
14105 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14106
14107         * tests/check/elements/fakesink.c:
14108         * tests/check/elements/fakesrc.c:
14109         * tests/check/elements/fdsrc.c:
14110         * tests/check/elements/identity.c:
14111         * tests/check/generic/sinks.c: (gst_sinks_suite):
14112         * tests/check/generic/states.c:
14113         * tests/check/gst/gst.c:
14114         * tests/check/gst/gstabi.c:
14115         * tests/check/gst/gstbin.c:
14116         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14117         * tests/check/gst/gstbus.c: (gst_bus_suite):
14118         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14119         * tests/check/gst/gstelement.c:
14120         * tests/check/gst/gstevent.c: (gst_event_suite):
14121         * tests/check/gst/gstghostpad.c:
14122         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14123         * tests/check/gst/gstmessage.c: (gst_message_suite):
14124         * tests/check/gst/gstminiobject.c:
14125         * tests/check/gst/gstobject.c:
14126         * tests/check/gst/gstpad.c:
14127         * tests/check/gst/gstpipeline.c:
14128         * tests/check/gst/gstplugin.c:
14129         * tests/check/gst/gstquery.c: (gst_query_suite):
14130         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14131         * tests/check/gst/gststructure.c:
14132         * tests/check/gst/gstsystemclock.c:
14133         * tests/check/gst/gsttag.c:
14134         * tests/check/gst/gsttask.c: (gst_task_suite):
14135         * tests/check/gst/gstutils.c:
14136         * tests/check/gst/gstvalue.c:
14137         * tests/check/libs/adapter.c:
14138         * tests/check/libs/basesrc.c:
14139         * tests/check/libs/collectpads.c:
14140         * tests/check/libs/controller.c:
14141         * tests/check/libs/gdp.c: (gst_dp_suite):
14142         * tests/check/libs/gstnetclientclock.c:
14143         * tests/check/libs/gstnettimeprovider.c:
14144         * tests/check/libs/libsabi.c: (libsabi_suite):
14145         * tests/check/libs/typefindhelper.c:
14146         * tests/check/pipelines/cleanup.c:
14147         * tests/check/pipelines/parse-launch.c:
14148         * tests/check/pipelines/simple-launch-lines.c:
14149         * tests/check/pipelines/stress.c: (stress_suite):
14150           use the new macro
14151
14152 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14153
14154         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14155         * libs/gst/check/gstcheck.h:
14156           create a macro and function so that the simple unit test
14157           case can be just one macro to create main()
14158
14159 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14160
14161         * gst/gstbin.c: (gst_bin_restore_thyself):
14162         * gst/gstxml.c: (gst_xml_make_element):
14163           Fix deserialisation from XML. Set parent manually
14164           instead of using gst_bin_add(), since gst_bin_add()
14165           will unlink all pads of the element being added.
14166           Fixes #341667.
14167
14168 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14169
14170         Patch by: Peter Kjellerstedt <pkj at axis com>
14171
14172         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14173           Fix missing g_strdup() and double free when using the
14174           --gst-plugin-load command line option (#346097).
14175
14176 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14177
14178         * gst/gstinfo.c:
14179           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14180
14181         * libs/gst/net/gstnetclientclock.c:
14182         * libs/gst/net/gstnettimeprovider.c:
14183           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14184
14185 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14186
14187         * docs/manual/advanced-dataaccess.xml:
14188           Fix buffer probe example compilation in
14189           ADM (#345708).
14190         
14191 2006-06-22  Edward Hervey  <edward@fluendo.com>
14192
14193         * gst/gstelement.c: (gst_element_pads_activate):
14194         We need to deactivate src pads first and then sink pads.
14195         The reason is the src pads might be blocking while holding the streaming
14196         lock, so we need to deactivate them first so that deactivating the sink
14197         pads doesn't block (since it will require the streaming lock).
14198
14199 2006-06-22  Wim Taymans  <wim@fluendo.com>
14200
14201         * libs/gst/base/gstbasetransform.c:
14202         (gst_base_transform_buffer_alloc):
14203         Forgot to remove two unneeded unrefs.
14204         Simplify a check _is_equal allready checks the obvious case.
14205
14206 2006-06-22  Wim Taymans  <wim@fluendo.com>
14207
14208         * docs/design/part-block.txt:
14209         Some docs about what pad_block should do.
14210
14211 2006-06-22  Wim Taymans  <wim@fluendo.com>
14212
14213         * gst/gstcaps.c: (gst_caps_replace):
14214         Fix crasher when passed NULL. Doc clarification.
14215         Optimize for the trivial case.
14216
14217         * gst/gstpipeline.c: (gst_pipeline_change_state):
14218         Small cleanups.
14219
14220         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14221         Small documentation cleanup.
14222
14223         * libs/gst/base/gstbasetransform.c:
14224         (gst_base_transform_buffer_alloc):
14225         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14226         is what we need and it avoids a whole lot of redundant 
14227         refcount operations.
14228
14229 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14230
14231         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14232
14233         * docs/manual/advanced-dataaccess.xml:
14234           Fix 'Embedding static elements' section to use
14235           GST_PLUGIN_DEFINE_STATIC (#345607).
14236
14237 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14238
14239         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14240           Attempt to 'fix' spuriously failing test case: it seems like the
14241           timeout of half a second is simply too small when the system is under
14242           load otherwise, and the timeout doesn't really seem to serve any
14243           particular purpose here. Give the pipeline a few seconds to preroll
14244           first, and then give it another half a second to go from PAUSED to
14245           PLAYING and marshal the message into the main thread.
14246
14247 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14248
14249         * tools/gst-feedback-m.m:
14250           Don't only use unversioned tools, try versioned tools as well
14251           (#345086).
14252
14253 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14254
14255         * gst/gstbus.c: (gst_bus_class_init):
14256           Fix some typos, make docs more explicit.
14257
14258 2006-06-20  Wim Taymans  <wim@fluendo.com>
14259
14260         * tests/check/gst/gstghostpad.c: (block_callback),
14261         (GST_START_TEST), (gst_ghost_pad_suite):
14262         Added some more ghostpad tests, mainly blocking
14263         and probes.
14264
14265 2006-06-16  Wim Taymans  <wim@fluendo.com>
14266
14267         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14268         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14269         (gst_file_sink_event), (gst_file_sink_render):
14270         * plugins/elements/gstfilesink.h:
14271         Check if we can seek in the file instead of assuming
14272         we always can. Post an error when we are asked to seek in a
14273         non-seekable file (like a fifo). Fixes #343312.
14274         Some cleanups.
14275
14276 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14277
14278         * tools/gst-launch.1.in:
14279           Un-garble (fourcc) bit in filtered caps section.
14280
14281 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14282
14283         * docs/manual/advanced-autoplugging.xml:
14284         * docs/manual/basics-helloworld.xml:
14285         * docs/manual/highlevel-components.xml:
14286           Don't leak bus reference in sample code.
14287
14288 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14289
14290         * autogen.sh:
14291           Add default for new --enable-plugin-docs switch.
14292
14293         * configure.ac:
14294           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14295           Fixes #344039.
14296
14297         * docs/Makefile.am:
14298           Use new ENABLE_PLUGIN_DOCS conditional.
14299
14300 2006-06-14  Wim Taymans  <wim@fluendo.com>
14301
14302         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14303         Make it clear with a FIXME and a real define what the #if 0
14304         previously disabled.
14305
14306 2006-06-14  Wim Taymans  <wim@fluendo.com>
14307
14308         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14309         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14310         * libs/gst/base/gstbasetransform.c:
14311         (gst_base_transform_sink_eventfunc):
14312         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14313         Don't randomly and silently reset a segment when the format 
14314         changes as this is a bug somewhere upstream. Fixes #330379.
14315
14316 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14317
14318         Patch by: Wouter Paesen  <wouter at kangaroot net>
14319
14320         * libs/gst/controller/gstcontroller.c:
14321         (gst_controlled_property_new):
14322           Fix controlling of float properties (#344849).
14323
14324         * tests/check/libs/controller.c:
14325         (gst_test_mono_source_get_property),
14326         (gst_test_mono_source_set_property),
14327         (gst_test_mono_source_class_init), (GST_START_TEST):
14328           While we're at it, add some float stuff to unit test.
14329
14330 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14331
14332         * docs/README:
14333         * docs/images/gdp-header.svg:
14334           add a gdp image
14335         * docs/libs/Makefile.am:
14336         * docs/libs/gdp-header.png:
14337         * libs/gst/dataprotocol/dataprotocol.c:
14338           add it to the API docs
14339         * docs/manual/intro-motivation.xml:
14340           fix typo
14341
14342 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14343
14344         * gst/gst.c: (scan_and_update_registry), (init_post):
14345           If the fork()'ed child process can't write the updated registry cache
14346           file to disk for some reason, make it exit with a failure exit code,
14347           so that the parent can then re-scan the plugins itself and update the
14348           registry structures in memory and work with that (rather than failing
14349           when creating elements because seemingly no plugins are available).
14350           Refactor registry scanning code into separate function for this and
14351           also separate fork() and non-fork() code paths. Fixes #344748.
14352
14353 2006-06-13  Wim Taymans  <wim@fluendo.com>
14354
14355         * docs/manual/advanced-dataaccess.xml:
14356         Fix wrong PluginDesc. Fixes #344755.
14357
14358 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14359
14360         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14361           Fix silly bug that prevented us from creating
14362           ~/.gstreamer-0.10 and writing the registry in one
14363           go (the first call to g_mkstemp() would overwrite the
14364           placeholder in the template string, so the second call
14365           to g_mkstemp() after creating the missing directory
14366           would then error out with 'invalid argument').
14367
14368 2006-06-13  Edward Hervey  <edward@fluendo.com>
14369
14370         * gst/gst.c: (init_post):
14371         Free string.
14372
14373 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14374
14375         * gst/glib-compat-private.h:
14376         * gst/glib-compat.c:
14377         * gst/glib-compat.h:
14378         * gst/gstvalue.c: (gst_value_serialize_flags):
14379           remove GLib 2.6 compatibility code
14380
14381 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14382
14383         * gst/parse/Makefile.am:
14384           Fix build with 'make -j N' even more (#340016).
14385
14386 2006-06-12  Wim Taymans  <wim@fluendo.com>
14387
14388         * docs/gst/gstreamer-sections.txt:
14389         Fix docs.
14390
14391 2006-06-12  Wim Taymans  <wim@fluendo.com>
14392
14393         * gst/gstsegment.c: (gst_segment_set_duration),
14394         (gst_segment_set_last_stop), (gst_segment_set_seek),
14395         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14396         (gst_segment_to_running_time), (gst_segment_clip):
14397         Use G_UNLIKELY to help the compiler a bit.
14398
14399 2006-06-12  Wim Taymans  <wim@fluendo.com>
14400
14401         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14402
14403         * gst/gstevent.c: (gst_event_get_type):
14404         * gst/gstmessage.c:
14405         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14406         (gst_pad_push):
14407         constify quark registration strings. Fixes #344115
14408         Avoid unneeded type checking is _pad_push() by internally
14409         calling gst_pad_chain_unchecked().
14410
14411 2006-06-12  Wim Taymans  <wim@fluendo.com>
14412
14413         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14414         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14415         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14416         (gst_buffer_is_span_fast), (gst_buffer_span):
14417         Init _type for consistency.
14418         Use _FLAGS macro to avoid type check.
14419         Avoid unneeded type checks in subbufer code.
14420
14421 2006-06-12  Wim Taymans  <wim@fluendo.com>
14422
14423         * gst/gst.c: (gst_debug_help):
14424         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14425         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14426         (gst_plugin_feature_list_free):
14427         * gst/gstregistry.c: (gst_registry_add_plugin),
14428         (gst_registry_add_feature), (gst_registry_plugin_filter),
14429         (gst_registry_feature_filter), (gst_registry_find_plugin),
14430         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14431         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14432         * gst/gstregistryxml.c: (load_feature),
14433         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14434         * gst/gstminiobject.c: (gst_mini_object_unref),
14435         (gst_mini_object_replace), (gst_value_mini_object_free),
14436         (gst_value_mini_object_copy):
14437         Use _CAST macros to avoid unneeded type checking.
14438         Added some more G_UNLIKELY.
14439
14440 2006-06-12  Wim Taymans  <wim@fluendo.com>
14441
14442         * gst/gstbuffer.h:
14443         Avoid unneeded type checking.
14444         API: GST_BUFFER_IS_DISCONT
14445
14446         * gst/gstminiobject.h:
14447         Avoid type check in flag accessor.
14448
14449         * gst/gstelementfactory.h:
14450         * gst/gstplugin.h:
14451         * gst/gstpluginfeature.h:
14452         Add _CAST macros.
14453         API: GST_ELEMENT_FACTORY_CAST
14454         API: GST_PLUGIN_CAST
14455         API: GST_PLUGIN_FEATURE_CAST
14456
14457 2006-06-12  Wim Taymans  <wim@fluendo.com>
14458
14459         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14460         (gst_object_unref):
14461         Add G_UNLIKELY in type registration.
14462         Avoid type check in _ref/_unref since that is also
14463         done in glib.
14464
14465 2006-06-12  Wim Taymans  <wim@fluendo.com>
14466
14467         * gst/gsterror.c: (gst_g_error_get_type):
14468         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14469         (gst_static_pad_template_get_type):
14470         * gst/gsttaglist.c: (gst_tag_list_get_type):
14471         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14472         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14473         * gst/gsturi.c: (gst_uri_handler_get_type):
14474         * gst/gstvalue.c: (gst_date_get_type):
14475         * gst/gstxml.c: (gst_xml_get_type):
14476         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14477         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14478         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14479         Add G_UNLIKELY in type registration.
14480
14481 2006-06-12  Wim Taymans  <wim@fluendo.com>
14482
14483         * tools/gst-inspect.c: (print_signal_info):
14484         Properly print enum values.
14485
14486 2006-06-12  Wim Taymans  <wim@fluendo.com>
14487
14488         * gst/gstinfo.c: (gst_debug_set_active),
14489         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14490         * gst/gstinfo.h:
14491         Add some G_[UN]LIKELY.
14492         Maintain __gst_debug_min to avoid formatting the arguments of
14493         debug messages that will be dropped anyway to avoid a lot of 
14494         overhead from the debugging system.
14495
14496 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14497
14498         * po/POTFILES.in:
14499         * po/POTFILES.skip:
14500           add missing files containing translatable strings, tell intltool about
14501           one exception
14502
14503 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14504
14505         * tests/check/libs/.cvsignore:
14506         add test-binary to ignore list
14507
14508 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14509
14510         * docs/libs/gstreamer-libs-docs.sgml:
14511         reorder (put dp into a chapter) and indent
14512
14513 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14514
14515         * configure.ac:
14516           back to HEAD
14517
14518 === release 0.10.8 ===
14519
14520 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14521
14522         * configure.ac:
14523           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14524
14525 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14526
14527         * gst/gst.c: (init_post):
14528           move pid declaration to declaration block
14529
14530 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14531
14532         * gst/gst.c: (init_post):
14533           use _exit() instead of exit() in our forked child; this ensures
14534           that none of the registered exit handlers from whatever is using
14535           GStreamer get executed.  This fixes gnome-mixer-applet failing
14536           to load, because ORBit would shut down.
14537           Spotted by: Edward Hervey  <edward@fluendo.com>
14538           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14539           Fixes #344474
14540
14541 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14542
14543         * configure.ac:
14544           back to TRUNK
14545
14546 === release 0.10.7 ===
14547
14548 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14549
14550         * configure.ac:
14551           releasing 0.10.7, "Soepeke, ik zie ou"
14552
14553 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14554
14555         * configure.ac:
14556         * po/af.po:
14557         * po/az.po:
14558         * po/bg.po:
14559         * po/ca.po:
14560         * po/cs.po:
14561         * po/de.po:
14562         * po/en_GB.po:
14563         * po/fr.po:
14564         * po/it.po:
14565         * po/nb.po:
14566         * po/nl.po:
14567         * po/ru.po:
14568         * po/sq.po:
14569         * po/sr.po:
14570         * po/sv.po:
14571         * po/tr.po:
14572         * po/uk.po:
14573         * po/vi.po:
14574         * po/zh_CN.po:
14575         * po/zh_TW.po:
14576         * win32/common/config.h:
14577           0.10.6.2 prerelease
14578
14579 2006-06-07  Wim Taymans  <wim@fluendo.com>
14580
14581         * gst/gstindex.c: (gst_index_gtype_resolver):
14582         * tools/gst-xmlinspect.c: (print_plugin_info):
14583         Fix leak spotted by coverity checker. Fixes #343827
14584         Fix another other leak found by paolo borelli.
14585
14586 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14587
14588         * libs/gst/dataprotocol/dataprotocol.c:
14589         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14590         (gst_dp_version_get_type), (gst_dp_init),
14591         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14592         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14593         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14594         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14595         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14596         (gst_dp_packetizer_free):
14597         * libs/gst/dataprotocol/dataprotocol.h:
14598           API: add a GstDPPacketizer object, and create/free functions
14599           API: add GstDPVersion enum
14600           Add 1.0 event function that uses the string serialization
14601           Serialize more useful buffer flags
14602           Fixes #343988
14603
14604 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14605
14606         * tests/check/Makefile.am:
14607         * tests/check/gst/gstabi.c:
14608         * tests/check/gst/struct_ppc64.h:
14609         * tests/check/libs/libsabi.c:
14610         * tests/check/libs/struct_ppc64.h:
14611           add ppc64 structure sizes
14612
14613 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14614
14615         * tests/check/Makefile.am:
14616         * tests/check/gst/gstabi.c:
14617         * tests/check/gst/struct_x86_64.h:
14618         * tests/check/libs/libsabi.c:
14619         * tests/check/libs/struct_x86_64.h:
14620           generate and add structure size lists for x86_64
14621
14622 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14623
14624         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14625         * libs/gst/check/gstcheck.h:
14626           factor out the method from tests that checks size of structures,
14627           and add code to generate the header containing these sizes
14628         * tests/check/gst/gstabi.c: (GST_START_TEST):
14629         * tests/check/gst/struct_i386.h:
14630         * tests/check/libs/libsabi.c: (GST_START_TEST):
14631         * tests/check/libs/struct_i386.h:
14632           use it
14633
14634 2006-06-06  Michael Smith  <msmith@fluendo.com>
14635
14636         * gst/gstsegment.h:
14637           Don't use c++-style comments, fixes #343929
14638
14639 2006-06-05  Edward Hervey  <edward@fluendo.com>
14640
14641         * gst/gst.c:
14642         plugin_paths is not used if we build without registry support.
14643
14644         * gst/gstsegment.c: (gst_segment_copy): 
14645         _copy() was always returning NULL...
14646
14647 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14648
14649         * libs/gst/dataprotocol/dataprotocol.c:
14650         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14651         (gst_dp_packet_from_event):
14652           factor out CRC code
14653
14654 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14655
14656         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14657           make sure we unset caps
14658
14659 2006-06-02  Michael Smith  <msmith@fluendo.com>
14660
14661         * libs/gst/check/gstcheck.c: (gst_check_init),
14662         (gst_check_chain_func):
14663         * libs/gst/check/gstcheck.h:
14664           Add a cond/mutex to the check support lib, signal this whenever we
14665           add to the buffers list. This will allow tests to not busy-wait on
14666           the buffer-list.
14667
14668 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14669
14670         * libs/gst/dataprotocol/dataprotocol.c:
14671         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14672         (gst_dp_packet_from_event):
14673           factor out some common header init code
14674
14675 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14676
14677         * docs/libs/gstreamer-libs-sections.txt:
14678         * docs/libs/tmpl/gstdataprotocol.sgml:
14679         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14680         * libs/gst/dataprotocol/dataprotocol.h:
14681           API: make gst_dp_crc() public
14682
14683 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14684
14685         * plugins/indexers/gstindexers.c: (plugin_init):
14686         conditionally register fileindexer (fixes #343598)
14687
14688 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14689
14690         * gst/gsttagsetter.h:
14691         Can't cast ifaces to a class
14692
14693         * libs/gst/net/gstnetclientclock.h:
14694         * libs/gst/net/gstnettimeprovider.h:
14695         * plugins/elements/gstfakesink.h:
14696         * plugins/elements/gstfakesrc.h:
14697         * plugins/elements/gstfdsink.h:
14698         * plugins/elements/gstfdsrc.h:
14699         * plugins/elements/gstfilesink.h:
14700         * plugins/elements/gstfilesrc.h:
14701         * plugins/elements/gstidentity.h:
14702         * plugins/elements/gstqueue.h:
14703         * plugins/elements/gsttee.h:
14704         * plugins/indexers/gstfileindex.c:
14705         * plugins/indexers/gstmemindex.c:
14706         * tests/old/examples/plugins/example.h:
14707         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14708
14709 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14710
14711         * libs/gst/dataprotocol/dataprotocol.c:
14712         (gst_dp_header_from_buffer):
14713           make sure we zero the whole ABI-compatible area
14714
14715 2006-06-01  Wim Taymans  <wim@fluendo.com>
14716
14717         Patch by: Alessandro Decina <alessandro at nnva dot org>
14718
14719         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14720         Make sure the EOS flag is cleared from pads after a flush
14721         or stop. Fixes #343538.
14722
14723         * tests/check/libs/collectpads.c: (GST_START_TEST),
14724         (gst_collect_pads_suite):
14725         Added test for collectpads reusage after EOS.
14726
14727 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14728
14729         * gst/gst.c:
14730          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14731         * win32/common/libgstbase.def:
14732          export gst_collect_pads_set_flushing
14733         * win32/common/libgstreamer.def:
14734          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14735          gst_value_fraction_multiply
14736         * win32/vs6/gst_inspect.dsp:
14737          add a link to intl.lib
14738
14739 2006-05-30  Wim Taymans  <wim@fluendo.com>
14740
14741         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14742         (gst_collect_pads_chain):
14743         Handle the case where a pad is removed from the collection
14744         that could cause the other pads to become collectable.
14745
14746 2006-05-30  Wim Taymans  <wim@fluendo.com>
14747
14748         * gst/gstelement.c:
14749         Clarify the use of _release_request_pad() and
14750         _get_request_pad() a bit better.
14751
14752         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14753         (gst_adapter_take_buffer):
14754         Fix some doc and comment typos.
14755
14756 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14757
14758         * docs/gst/gstreamer-sections.txt:
14759         * docs/libs/gstreamer-libs-sections.txt:
14760           add declared symbols
14761
14762 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14763
14764         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14765         Add debug that can be enabled using a #define at the top of the file,
14766         for dumping stats about how late/early we were when waking up from
14767         waiting on the clock.
14768
14769 2006-05-30  Wim Taymans  <wim@fluendo.com>
14770
14771         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14772         When rebuilding the pad list, don't leak the previous list.
14773
14774 2006-05-30  Wim Taymans  <wim@fluendo.com>
14775
14776         Patch by: Lutz Mueller <lutz at topfrose dot de>
14777
14778         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14779         (gst_base_src_get_query_types), (gst_base_src_update_length):
14780         Publish supported query types.
14781         Update last_stop field in get_range mode so the position
14782         query works. Fixes #342321.
14783
14784 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14785
14786         * docs/gst/gstreamer-sections.txt:
14787         * gst/gsttaglist.c: (_gst_tag_initialize):
14788         * gst/gsttaglist.h:
14789           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14790
14791 2006-05-30  Wim Taymans  <wim@fluendo.com>
14792
14793         Patch by: Alessandro Decina <alessandro at nnva dot org>
14794
14795         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14796         Unlock mutex when removing an unknown pad.
14797         Fixes #343334.
14798
14799         * tests/check/Makefile.am:
14800         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14801         (push_event), (setup), (teardown), (GST_START_TEST),
14802         (gst_collect_pads_suite), (main):
14803         Added collecpads check, disabled for now as check crashes for
14804         some reason.
14805
14806 2006-05-29  Wim Taymans  <wim@fluendo.com>
14807
14808         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14809         Don't leak pads lists.
14810
14811 2006-05-29  Wim Taymans  <wim@fluendo.com>
14812
14813         * docs/libs/gstreamer-libs-sections.txt:
14814         * libs/gst/base/gstcollectpads.c:
14815         (gst_collect_pads_set_flushing_unlocked),
14816         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14817         (gst_collect_pads_stop):
14818         * libs/gst/base/gstcollectpads.h:
14819         API: gst_collect_pads_set_flushing()
14820         Added api to set the pads to flushing, useful for seeking
14821         code in elements using collectpads.
14822         Clear segment when receiving a flush.
14823
14824 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14825
14826         * gst/gst.c: (add_path_func), (init_post):
14827           Don't scan registry paths passed via --gst-plugin-path immediately
14828           (will crash, because absolutely nothing is set up and no types are
14829           registered etc.); do this later in init_post(). Fixes #343057.
14830
14831 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14832
14833         * gst/gst.c: (init_post):
14834           if we have fork, fork while reading/rebuilding the registry
14835           so the parent doesn't take the hit of having all plugins loaded
14836           in memory.  Fixes #342777.
14837         * configure.ac:
14838           Check if we have fork()
14839         * win32/common/config.h.in:
14840           no fork() on win32
14841
14842 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14843
14844         * plugins/elements/gstelements.c:
14845         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14846         (gst_file_src_init), (gst_file_src_set_property),
14847         (gst_file_src_get_property), (gst_file_src_start):
14848         * plugins/elements/gstfilesrc.h:
14849           API: GstFileSrc::use-mmap
14850
14851         Add a use-mmap property to enable easier testing of all code paths.
14852         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14853         in the absence of gnomevfssrc. (Closes #340501)
14854
14855 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14856
14857         * tools/gst-inspect.c:
14858         Add missing include, removes warning of ngettext not being defined on
14859         some arches.
14860
14861 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14862
14863         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14864         Handle NULL input and output pointers silently as a failed conversion,
14865         rather than g_warnings.
14866
14867 2006-05-25  Wim Taymans  <wim@fluendo.com>
14868
14869         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14870         Initialize variable before using. Fixes #342820.
14871
14872 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14873
14874         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14875           Fix off-by-one bug that would only allow peeks of N-1 bytes
14876           from the start even if the buffer to typefind on contains
14877           in fact N bytes of data (makes vorbis typefinding from a
14878           vorbis identification header buffer work).
14879
14880         * tests/check/Makefile.am:
14881         * tests/check/libs/.cvsignore:
14882         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14883         (gst_typefindhelper_suite), (main), (foobar_typefind),
14884         (plugin_init):
14885           Add very basic unit test for gst_type_find_helper_for_buffer()
14886           that checks for the problem fixed above.
14887
14888 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14889
14890         * tools/gst-inspect.c: (print_interfaces),
14891         (print_element_properties_info), (print_element_list), (main):
14892           add more translatable strings
14893
14894 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14895
14896         Patch by: Julien Moutte  <julien at moutte net>
14897
14898         * docs/gst/gstreamer-sections.txt:
14899           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14900           
14901         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14902         (gst_fake_sink_preroll):
14903         * plugins/elements/gstfakesink.h:
14904           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14905
14906 2006-05-23  Wim Taymans  <wim@fluendo.com>
14907
14908         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14909         * gst/gstpad.h:
14910         Added _CUSTOM error and success GstFlowReturn that can be
14911         used be elements internally. 
14912         Added macro to check for SUCCESS flowreturns.
14913         API: GST_FLOW_CUSTOM_SUCCESS
14914         API: GST_FLOW_CUSTOM_ERROR
14915         API: GST_FLOW_IS_SUCCESS
14916
14917         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14918         Added check for GstFlowReturn sanity.
14919
14920 2006-05-23  Wim Taymans  <wim@fluendo.com>
14921
14922         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14923
14924         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14925         (gst_collect_pads_event):
14926         clear/reset segment info in FLUSH_STOP.
14927         Fixes #336929.
14928
14929 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14930
14931         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14932         (gst_collect_pads_check_collected):
14933         Flush queued buffer on _stop(), fixes playing again (#342454)
14934
14935 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14936
14937         * tests/check/gst/gststructure.c: (GST_START_TEST),
14938         (gst_structure_suite):
14939           add a test for a complete structure
14940
14941 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14942
14943         * docs/faq/developing.xml:
14944         * docs/faq/faq.xml:
14945         * docs/faq/troubleshooting.xml:
14946         * docs/faq/using.xml:
14947           Some minor FAQ updates that won't change the fact that
14948           our FAQ is badly structured, full of information hardly
14949           anyone new to GStreamer needs to know and lacking lots
14950           of information people constantly ask for.
14951           
14952 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14953
14954         * gst/gstpad.c: (gst_pad_set_caps):
14955           Short-circuit gst_pad_set_caps if setting the existing
14956           caps pointer again, and avoid printing debug and 
14957           reffing/unreffing the caps.
14958
14959         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14960           There's actually no need to set the caps before pushing -
14961           the acceptcaps method will handle it anyway.
14962
14963 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14964
14965         * docs/gst/gstreamer-sections.txt:
14966         * win32/common/libgstreamer.def:
14967         * gst/gstutils.c: (gst_element_seek_simple):
14968         * gst/gstutils.h:
14969           API: add gst_element_seek_simple() (#342238).
14970
14971 2006-05-18  Edward Hervey  <edward@fluendo.com>
14972
14973         * gst/gsttypefind.c: (gst_type_find_get_type):
14974         * gst/gsttypefind.h:
14975         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14976         registered for GstTypeFind pointers. This allows wrapping the structure
14977         in bindings (i.e. gst-python).
14978
14979 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14980
14981         * gst/gsttagsetter.c:
14982           Docs additions and fixes (see #339918).
14983
14984 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14985
14986         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14987         The caps intersection algorithm can produce multiple copies of the
14988         caps. Until that is fixed, we need to simplify the result to be
14989         sure whether the allowed caps are fixed or not.
14990
14991         * plugins/elements/gstqueue.c: (gst_queue_init),
14992         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14993         (gst_queue_push_one):
14994         Proxied buffer alloc should not set the caps on the source pad.
14995         When pushing buffers, we always accept the caps change that triggers.
14996         This prevents negotiation errors caused by caps changing mid-stream 
14997         and then being refused on our source pad (because upstream is now
14998         refusing those caps).
14999
15000 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15001
15002         * tests/examples/helloworld/helloworld.c: (main):
15003           Must plug audioconvert and audioresample between decoder
15004           and audio sink.
15005
15006 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15007
15008         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15009         (load_feature), (load_plugin):
15010         Allow empty strings for some of the plugin fields so we don't 
15011         drop valid plugin entries that were written out correctly
15012         (Fixes #341479)
15013
15014 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15015         
15016         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15017           Use g_remove and g_rename instead of remove and rename that don't 
15018           handle utf8 characters. rename was failing for users who had specific
15019           characters in their name then the registry was built at each 
15020           gstreamer init.
15021         * win32/vs6/gst_inspect.dsp:
15022         * win32/vs6/gst_launch.dsp:
15023         * win32/vs6/libgstbase.dsp:
15024         * win32/vs6/libgstcoreelements.dsp:
15025         * win32/vs6/libgstreamer.dsp:
15026           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15027           build of libgstreamer and clean unused libraries in projects link 
15028           settings.
15029
15030 2006-05-17  Edward Hervey  <edward@fluendo.com>
15031
15032         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15033         The queue is not responsible for pushing an EOS when receiving a fatal
15034         flow error. It's up to the real element driving the pipeline to do that.
15035
15036 2006-05-16  Edward Hervey  <edward@fluendo.com>
15037
15038         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15039         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15040         buffer returned a fatal error. It should just send an EOS and stop
15041         its task.
15042         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15043         when pushing buffers on the queue and will be able to handle the event.
15044
15045 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15046
15047         * docs/manual/basics-bins.xml:
15048         * docs/manual/basics-init.xml:
15049           Fix typos and minor errors in sample code (#341856).
15050
15051 2006-05-16  Wim Taymans  <wim@fluendo.com>
15052
15053         * docs/design/part-qos.txt:
15054         Fix indexes in formulas to make more sense.
15055
15056 2006-05-15  Wim Taymans  <wim@fluendo.com>
15057
15058         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15059         Don't report POSITION based on clock time if sync is
15060         disabled in a sink.
15061
15062 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15063
15064         * gst/gstobject.h:
15065           Add cast to make compiler happy - refcount variable was a gint
15066           in GstObject but is a guint in GObject and g_atomic_int_get()
15067           wants a gint *.
15068
15069 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15070
15071         * gst/parse/Makefile.am:
15072           chain commands using &&, which also makes parallel make work
15073
15074 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15075
15076         * docs/gst/gstreamer-sections.txt:
15077         * gst/gstevent.c:
15078         * gst/gstevent.h:
15079         * gst/gstmessage.h:
15080           Minor docs fixes.
15081
15082 === release 0.10.6 ===
15083
15084 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15085
15086         * configure.ac:
15087           releasing 0.10.6, "Take the cannoli"
15088
15089 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15090
15091         * tools/gst-launch.c: (print_tag):
15092           Fix use of uninitialized variable in the hypothetical
15093           case that some broken plugin creates a GST_TAG_IMAGE
15094           tag containing a NULL buffer (#341667).
15095
15096 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15097
15098         * tools/gst-launch.c: (print_tag):
15099           Print something more intelligible for image tags when
15100           using the -t switch (#341556).
15101
15102 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15103
15104         * Makefile.am:
15105           updates for win32
15106         * configure.ac:
15107           define GST_MAJORMINOR so we have it available in win32/common/config.h
15108           Possibly remove it from our Makefile.am files later
15109         * win32/common/config.h:
15110         * win32/common/config.h.in:
15111           added GST_MAJORMINOR
15112         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15113         * win32/common/gstversion.h:
15114           updated
15115
15116 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15117
15118         * win32/MANIFEST:
15119           Update win32 files listing.
15120         * win32/common/gstversion.h:
15121           Add GST_MAJORMINOR definition.
15122         * win32/common/libgstreamer.def:
15123           Add new exported functions.
15124           
15125 2006-05-12  Michael Smith  <msmith@fluendo.com>
15126
15127         * gst/gstplugin.c: (gst_plugin_load_file):
15128           If an so file has no plugin entry point, unload the module.
15129
15130 2006-05-11  Wim Taymans  <wim@fluendo.com>
15131
15132         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15133         (gst_queue_set_property):
15134         Don't forget to signal the _chain or _loop function 
15135         when the queue size or thresholds change since that might
15136         cause them to make progres again.
15137
15138 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15139
15140         * gst/gstclock.c: (gst_clock_class_init):
15141         * gst/gstindex.c: (gst_index_class_init):
15142         * gst/gstobject.c: (gst_object_class_init):
15143         * gst/gstpad.c: (gst_pad_class_init):
15144         * gst/gstpipeline.c: (gst_pipeline_class_init):
15145         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15146         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15147         * libs/gst/base/gstbasetransform.c:
15148         (gst_base_transform_class_init):
15149         * libs/gst/net/gstnetclientclock.c:
15150         (gst_net_client_clock_class_init):
15151         * libs/gst/net/gstnettimeprovider.c:
15152         (gst_net_time_provider_class_init):
15153         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15154         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15155         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15156         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15157         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15158         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15159         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15160         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15161         * plugins/elements/gsttee.c: (gst_tee_class_init):
15162         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15163         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15164           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15165
15166 2006-05-11  Wim Taymans  <wim@fluendo.com>
15167
15168         * gst/gstbuffer.c: (_gst_buffer_initialize):
15169         Register subbufer along with the buffer type so that
15170         it does not accidentally gets registered from N
15171         different streaming threads in a non threadsafe way.
15172
15173 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15174
15175         * gst/gstbuffer.h:
15176         * gst/gstevent.h:
15177         * gst/gstmessage.h:
15178           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15179           gst_event_ref() and gst_message_ref() functions again
15180           (ugly hack, please do fix if there's a better way besides
15181           overrides.txt, which doesn't seem to work).
15182
15183 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15184
15185         * libs/gst/check/gstcheck.h:
15186           add an assert for setting state to avoid lots of repetitive code
15187           in the future
15188
15189 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15190
15191         * gst/gstvalue.c: (gst_value_serialize_flags):
15192           fix a leak if no flags are set
15193         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15194           fix leak in tests
15195
15196 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15197
15198         * docs/manual/basics-pads.xml:
15199           Expand a bit on caps and filtered links and update
15200           examples that were still using the no longer existing
15201           gst_pad_link_filtered() (#338206).
15202
15203 2006-05-10  Wim Taymans  <wim@fluendo.com>
15204
15205         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15206         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15207         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15208         (gst_collect_pads_stop):
15209         * libs/gst/base/gstcollectpads.h:
15210         No need to call _stop in _finalize.
15211         Iterate the main pad list in _finalize.
15212         Added some more debug.
15213         Free lists and data in the right order.
15214         Also free data whem doing _remove_pad when stopped for
15215         backward compatibility protect ::started with PAD_LOCK as
15216         well.
15217
15218 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15219
15220         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15221         (gst_structure_parse_value):
15222           add some comments
15223           rename a method so that it actually says what it does better
15224
15225 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15226
15227         * gst/gstevent.c: (_gst_event_initialize):
15228         * gst/gstformat.c: (_gst_format_initialize):
15229           make sure some essential types used by events are registered
15230           as part of gst_init()
15231         * gst/gstvalue.c: (gst_value_serialize_flags):
15232           if no flags are set, serialize them to a value that represents NONE
15233           so that deserializing them works
15234         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15235           add tests for serialization and deserialization of flags
15236
15237 2006-05-10  Wim Taymans  <wim@fluendo.com>
15238
15239         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15240         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15241         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15242         (gst_collect_pads_event), (gst_collect_pads_chain):
15243         Update docs.
15244         Better debug info.
15245         Catch and return errors from the collect function
15246         Refuse data on eos pads.
15247
15248 2006-05-10  Edward Hervey  <edward@fluendo.com>
15249
15250         * gst/gstinterface.h:
15251         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15252         GInterface type checking.
15253         They were previously using non-defined macros.
15254
15255 2006-05-09  Wim Taymans  <wim@fluendo.com>
15256
15257         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15258         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15259         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15260         (gst_collect_pads_start), (gst_collect_pads_stop),
15261         (gst_collect_pads_peek), (gst_collect_pads_pop),
15262         (gst_collect_pads_available), (gst_collect_pads_read),
15263         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15264         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15265         (gst_collect_pads_chain):
15266         * libs/gst/base/gstcollectpads.h:
15267         Clean up the mess that is collectpads, add comments and
15268         FIXMEs where needed.
15269         Maintain a separate pad list so we can add pads while
15270         collecting the other ones. For this we need a new separate 
15271         lock (see comics).
15272         Fix memory leak in finalize.
15273         Refactor some weird code to set/unset pad flushing flags, mark
15274         with comments.
15275         Don't crash in _available, _read, _flush when we're EOS.
15276
15277         * tests/check/libs/.cvsignore:
15278         Ignore adapter check binary.
15279
15280 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15281
15282         * gst/gstindex.c: (gst_index_resolver_get_type):
15283         * plugins/elements/gstfakesink.c:
15284         (gst_fake_sink_state_error_get_type):
15285         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15286         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15287         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15288           Const-ify GEnumValue arrays.
15289
15290 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15291
15292         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15293           Add test case for flags + gst_buffer_make_metadata_writable().
15294
15295 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15296
15297         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15298           gst_buffer_make_metadata_writable() should maintain the
15299           buffer flags (those that make sense at least) (see #340859).
15300
15301 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15302
15303         * tools/gst-inspect.c:
15304         * tools/gst-launch.c:
15305         * tools/gst-typefind.c:
15306         * tools/gst-xmlinspect.c:
15307         * tools/tools.h:
15308           Fix up includes: need to include stdlib.h in tools.h for exit().
15309
15310 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15311
15312         * gst/gsttaglist.c: (_gst_tag_initialize):
15313         * gst/gsttaglist.h:
15314           API: add GST_TAG_IMAGE tag (#340721).
15315
15316 2006-05-08  Wim Taymans  <wim@fluendo.com>
15317
15318         * gst/gstquery.c:
15319         Added some docs for the segment query.
15320
15321 2006-05-08  Wim Taymans  <wim@fluendo.com>
15322
15323         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15324         (gst_base_src_loop), (gst_base_src_change_state):
15325         Always push non-flushing serialized events in the streaming 
15326         thread.
15327
15328 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15329
15330         * gst/gsterror.c: (_gst_stream_errors_init):
15331           Add a missing error string.
15332
15333 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15334
15335         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15336         Add applied_rate to the debug
15337
15338         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15339         Copy applied_rate into the outgoing NEWSEGMENT event
15340
15341 2006-05-08  Wim Taymans  <wim@fluendo.com>
15342
15343         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15344
15345         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15346         (gst_base_sink_change_state):
15347         call ::unlock before taking the PREROLL_LOCK so we can safely
15348         handle elements that lock in ::render.
15349         Fixes #340174.
15350
15351 2006-05-08  Edward Hervey  <edward@fluendo.com>
15352
15353         * autogen.sh: (CONFIGURE_DEF_OPT): 
15354         Darwin's libtoolize is in fact called glibtoolize.
15355         Adding glibtoolize to the list of accepted names for libtoolize.
15356
15357 2006-05-08  Wim Taymans  <wim@fluendo.com>
15358
15359         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15360         Unify error handling, don't post an error message
15361         when a push() returns EOS but perform our normal EOS
15362         handling code. Fixes #340772.
15363
15364 2006-05-08  Wim Taymans  <wim@fluendo.com>
15365
15366         * docs/design/part-overview.txt:
15367         Make upsteam/downstream concepts more clear.
15368         Give an example of serialized/non-serialized events.
15369
15370         * docs/design/part-events.txt:
15371         * docs/design/part-streams.txt:
15372         Mention applied_rate.
15373
15374         * docs/design/part-trickmodes.txt:
15375         Mention applied rate, flesh out some more use cases.
15376
15377         * gst/gstevent.c: (gst_event_new_new_segment),
15378         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15379         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15380         (gst_event_parse_tag), (gst_event_new_buffer_size),
15381         (gst_event_parse_buffer_size), (gst_event_new_qos),
15382         (gst_event_parse_qos), (gst_event_parse_seek),
15383         (gst_event_new_navigation):
15384         * gst/gstevent.h:
15385         Add applied_rate field to NEWSEGMENT event.
15386         API: gst_event_new_new_segment_full()
15387         API: gst_event_parse_new_segment_full()
15388
15389         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15390         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15391         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15392         * gst/gstsegment.h:
15393         Add applied_rate to GstSegment structure.
15394         Make calculation of stream_time and running_time more correct
15395         wrt rate/applied_rate.
15396         Add some more docs.
15397         API: GstSegment::applied_rate field
15398         API: gst_segment_set_newsegment_full();
15399
15400         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15401         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15402         * libs/gst/base/gstbasetransform.c:
15403         (gst_base_transform_sink_eventfunc),
15404         (gst_base_transform_handle_buffer):
15405         Parse and use applied_rate in the GstSegment field.
15406
15407         * tests/check/gst/gstevent.c: (GST_START_TEST):
15408         Add check for applied_rate field.
15409
15410         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15411         (gstsegments_suite):
15412         Add more checks for various GstSegment operations.
15413
15414 2006-05-08  Wim Taymans  <wim@fluendo.com>
15415
15416         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15417         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15418         (gst_base_sink_get_position), (gst_base_sink_change_state):
15419         Store the sync time of the buffer end position separatly in a
15420         new variable eos_rtime so we can properly sync the EOS event.
15421         Fixes #340697.
15422         Fix the docs for gst_base_sink_set_qos_enabled().
15423         Don't set segment start to invalid value when we receive a 
15424         non TIME newsegment.
15425         get closer to handling position reporting for negative rates 
15426         correctly.
15427
15428 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15429
15430         * gst/gstcaps.c:
15431         Docs about how to print caps for debug purposes.
15432
15433         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15434         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15435
15436 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15437
15438         * gst/gstelement.c:
15439           use full enum names and preprend a '%' in docs strings to make recent 
15440           gtk-doc turn that into a link
15441
15442 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15443
15444         * docs/manual/basics-bins.xml:
15445         * docs/manual/basics-bus.xml:
15446         * docs/manual/basics-pads.xml:
15447           Some typo fixes, some additions, some clarifications. 
15448
15449 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15450
15451         * tools/gst-inspect.c: (main):
15452         * tools/gst-launch.c: (main):
15453         * tools/gst-run.c: (main):
15454         * tools/gst-typefind.c: (main):
15455         * tools/gst-xmlinspect.c: (main):
15456           Use the string passed to g_option_context_new() for
15457           what it's intended for - the program name is already
15458           printed elsewhere.
15459
15460 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15461
15462         * tools/Makefile.am:
15463         * tools/gst-inspect.c: (main):
15464         * tools/gst-launch.c: (main):
15465         * tools/gst-xmlinspect.c: (main):
15466         * tools/tools.h:
15467           Add back --version command line option (#340460).
15468
15469         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15470           Add --version option and use GOption for argument parsing; refactor a
15471           bit; accept directories as arguments and recurse into them; lastly,
15472           print a decent error message when things go wrong.
15473
15474 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15475
15476         * docs/manual/basics-bins.xml:
15477         Don't mention GstThread (#340611)
15478         * docs/manual/basics-elements.xml:
15479         Update link to GObject tutorial (#340607)
15480         
15481 2006-05-05  Wim Taymans  <wim@fluendo.com>
15482
15483         * gst/gstbuffer.h:
15484         * gst/gstminiobject.c:
15485         Add note about refcounting and miniobject/buffer writeability
15486         to docs. Fixes #340604
15487
15488         * gst/gstelementfactory.h:
15489         Added some explanation about @klass.
15490
15491 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15492
15493         * docs/manual/intro-motivation.xml:
15494         * docs/manual/manual.xml:
15495         Avoid CORBA & Bonobo references (#340598)
15496
15497 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15498
15499         * docs/manual/basics-bus.xml:
15500         * docs/manual/basics-pads.xml:
15501         Fix up some inaccuracies and omissions (#340609)
15502         
15503 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15504
15505         * gst/gstghostpad.c:
15506           Small typo in docs (#340625)
15507
15508 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15509
15510         * gst/parse/Makefile.am:
15511           Make 'make -j' proof (see #340698).
15512
15513 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15514
15515         * configure.ac:
15516           Require GLib-2.8 here as well.
15517
15518 2006-05-05  Wim Taymans  <wim@fluendo.com>
15519
15520         * gst/glib-compat.c:
15521         * gst/gst.c: (init_pre):
15522         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15523         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15524         (gst_object_dispatch_properties_changed):
15525         * gst/gstobject.h:
15526         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15527         * gst/gststructure.c: (gst_structure_set_valist):
15528         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15529         Remove pre glib2.8 compatibility, fixes #340508
15530
15531 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15532
15533         * gst/gsttaglist.h:
15534           Mention type of tags in doc blurbs.
15535
15536 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15537
15538         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15539         (gst_pad_configure_src), (gst_pad_push):
15540         Restore acceptcaps checking behaviour now that good plugins have
15541         been released.
15542
15543 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15544
15545         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15546
15547         * gst/gst.c:
15548         * gst/gstbus.c:
15549         * gst/gstclock.c:
15550         * gst/gstevent.c:
15551         * gst/gstformat.c:
15552         * gst/gstmessage.c:
15553         * gst/gstparse.c:
15554         * gst/gstquery.c:
15555         * gst/gstutils.c:
15556         * gst/parse/Makefile.am:
15557         * libs/gst/base/gstadapter.c:
15558         * libs/gst/base/gstbasesrc.c:
15559         * libs/gst/base/gstpushsrc.c:
15560         * libs/gst/base/gsttypefindhelper.c:
15561         * plugins/elements/gstfakesrc.c:
15562         * plugins/elements/gstidentity.c:
15563           Make sure gstprivate.h and/or config.h are
15564           always included first, otherwise some of our
15565           defines (like _FILE_OFFSET_BITS) might be
15566           redefined in the system headers. Fixes build
15567           on opensolaris (#340016).
15568
15569 2006-05-04  Wim Taymans  <wim@fluendo.com>
15570
15571         * docs/libs/gstreamer-libs-sections.txt:
15572         API: addition: gst_adapter_take_buffer()
15573         
15574         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15575         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15576         (gst_adapter_available_fast):
15577         * libs/gst/base/gstadapter.h:
15578         Prepare for optimizing the hell out of this hugely inefficient
15579         piece of code. 
15580         Added gst_adapter_take_buffer() so we can at least start thinking
15581         about subbuffering and merging.
15582         Added some comments.
15583
15584         * tests/check/Makefile.am:
15585         * tests/check/libs/adapter.c: (GST_START_TEST),
15586         (gst_adapter_suite), (main):
15587         Added GstAdapter check.
15588
15589 2006-05-04  Wim Taymans  <wim@fluendo.com>
15590
15591         * docs/design/part-overview.txt:
15592         Fix some typos, add blurb about buffer flags.
15593
15594 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15595
15596         * docs/libs/gstreamer-libs-sections.txt:
15597           make sure GstBaseTransformClass shows up in the docs
15598         * libs/gst/base/gstbasetransform.c:
15599         * libs/gst/base/gstbasetransform.h:
15600           move docs so gtk-doc picks it up now
15601
15602 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15603
15604         * docs/libs/gstreamer-libs-sections.txt:
15605           add missing symbols to docs
15606
15607 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15608
15609         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15610           back out the newsegment handling change, see #340060 for ongoing
15611           discussion
15612
15613 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15614
15615         * tools/gst-run.c: (get_candidates), (main):
15616           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15617           work); fix typo in error message. Fixes #340079.
15618
15619 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15620
15621         * common/Makefile.am:
15622         * docs/Makefile.am:
15623         * docs/faq/Makefile.am:
15624         * docs/gst/Makefile.am:
15625         * docs/libs/Makefile.am:
15626         * docs/manual/Makefile.am:
15627         * docs/plugins/Makefile.am:
15628         * docs/pwg/Makefile.am:
15629         * docs/slides/Makefile.am:
15630         * docs/upload.mak:
15631         * common/upload.mak:
15632           move upload.mak to common
15633
15634 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15635
15636         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15637           add more asserts on refcounts
15638           do more cleanup at end of tests
15639           fix test leaks showing in FC5
15640
15641 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15642
15643         * plugins/elements/gsttypefindelement.c:
15644         (gst_type_find_element_handle_event):
15645         reverted wrong change and reflowed code to avoid others falling into
15646         this trap
15647
15648 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15649
15650         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15651           fix changelog entry about last collectpads change,
15652           add notes about proper fix
15653
15654 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15655
15656         * gst/gst.c:
15657         * gst/gstregistry.c: (gst_registry_scan_path_level),
15658         (gst_registry_scan_path):
15659         * gst/gstregistry.h:
15660           only write out registry if it has changed, fixes #338339
15661
15662 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15663
15664         * gst/gstbin.c:
15665         * gst/gstpipeline.c:
15666         * plugins/elements/gstcapsfilter.c:
15667         * plugins/elements/gstfakesink.c:
15668         * plugins/elements/gstfakesrc.c:
15669         * plugins/elements/gstfdsink.c:
15670         * plugins/elements/gstfdsrc.c:
15671         * plugins/elements/gstfilesink.c:
15672         * plugins/elements/gstfilesrc.c:
15673         * plugins/elements/gstidentity.c:
15674         * plugins/elements/gstqueue.c:
15675         * plugins/elements/gsttee.c:
15676         * plugins/elements/gsttypefindelement.c:
15677         (gst_type_find_element_handle_event):
15678           make GstElementDetails const
15679
15680 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15681
15682         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15683         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15684         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15685           more detailed debug and formatting cleanup,
15686           forward newsegments to src-pad (so that e.g. adder not eats them)
15687
15688 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15689
15690         * gst/gstutils.c: (gst_element_link_pads):
15691           cleanup double code
15692
15693 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15694
15695         * libs/gst/controller/gstcontroller.c:
15696         (gst_controller_sync_values):
15697           some little tuning
15698         * tests/check/libs/controller.c: (GST_START_TEST),
15699         (gst_controller_suite):
15700           a new test for live value handling
15701
15702 2006-04-28  Wim Taymans  <wim@fluendo.com>
15703
15704         * gst/gstutils.c: (push_and_ref):
15705         Added some more docs.
15706         Fix refcount issue whith gst_element_found_tags() helper 
15707         function. Fixes #338335
15708
15709         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15710         Added testsuite for gst_element_found_tags().
15711
15712 2006-04-28  Michael Smith  <msmith@fluendo.com>
15713
15714         * gst/gstvalue.c: (gst_value_serialize_flags):
15715           Avoid NULL dereference when trying to serialize flags containing
15716           invalid values.
15717
15718 2006-04-28  Michael Smith  <msmith@fluendo.com>
15719
15720         * plugins/elements/gsttypefindelement.c:
15721         (gst_type_find_element_handle_event):
15722           If we get EOS before any data is accumulated, don't use
15723           uninitialised local variables.
15724
15725 2006-04-28  Michael Smith  <msmith@fluendo.com>
15726
15727         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15728         (gst_dp_event_from_packet):
15729           Fixes in reading/writing events over GDP (not currently used?) - 
15730           dereferencing NULL events for unknown/invalid event types, memory
15731           leak, and change g_warning to GST_WARNING.
15732
15733 2006-04-28  Wim Taymans  <wim@fluendo.com>
15734
15735         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15736         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15737         (gst_base_sink_get_position), (gst_base_sink_change_state):
15738         When frame dropping is enabled, we should not ignore frames
15739         without a duration.
15740         Update some documentation.
15741
15742 2006-04-28  Wim Taymans  <wim@fluendo.com>
15743
15744         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15745         (gst_base_src_send_event), (gst_base_src_change_state):
15746         Documentation updates.
15747
15748 2006-04-28  Wim Taymans  <wim@fluendo.com>
15749
15750         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15751         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15752         handle EAGAIN, EINTR and short writes correctly. Also clean
15753         up some error cases, avoid a deadlock on bad file descriptors and
15754         use GST_DEBUG_OBJECT.
15755         Fixes #339843
15756
15757 2006-04-28  Wim Taymans  <wim@fluendo.com>
15758
15759         * gst/gstvalue.c: (gst_value_serialize_buffer),
15760         (gst_value_deserialize_buffer):
15761         Don't try to serialize a GValue with a NULL buffer. 
15762         Fixes #339821.
15763
15764         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15765         Added check for serialisation of NULL buffers.
15766
15767 2006-04-28  Wim Taymans  <wim@fluendo.com>
15768
15769         * gst/gstminiobject.c: (gst_value_take_mini_object):
15770         Taking a NULL miniobject is valid, fix the case where
15771         we try to unref the NULL miniobject.
15772
15773 2006-04-28  Wim Taymans  <wim@fluendo.com>
15774
15775         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15776
15777         * gst/gstbin.c: (gst_bin_handle_message_func):
15778         Update docs.
15779         Don't leak bin refcount when a state recalc is
15780         in progress and we delay another one #339808.
15781
15782 2006-04-28  Wim Taymans  <wim@fluendo.com>
15783
15784         * docs/design/part-TODO.txt:
15785         Mention QoS as an ongoing work item.
15786
15787         * docs/design/part-buffering.txt:
15788         New doc about buffering that needs to be fleshed out
15789         at some point.
15790
15791         * docs/design/part-qos.txt:
15792         More QoS policy for decoders/demuxers/transforms
15793
15794         * docs/design/part-trickmodes.txt:
15795         Small update.
15796
15797 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15798
15799         * configure.ac:
15800           back to HEAD
15801
15802 === release 0.10.5 ===
15803
15804 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15805
15806         * configure.ac:
15807           releasing 0.10.5, "Fogo"
15808
15809 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15810
15811         patch by: Wim Taymans
15812
15813         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15814         (gst_pad_configure_src), (gst_pad_push):
15815         * gst/gstpipeline.c: (gst_pipeline_init):
15816           Fix internal data flow errors.  Fixes #338711.
15817
15818 2006-04-12  Wim Taymans  <wim@fluendo.com>
15819
15820         * tests/check/gst/gstelement.c: (GST_START_TEST):
15821         Don't leak the factory.
15822
15823 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15824
15825         * configure.ac:
15826         * win32/common/config.h:
15827           prerelease
15828
15829 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15830
15831         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15832         (gst_controller_unset_all):
15833           Free allocated GstTimedValues when freeing list nodes.
15834           Should fix leaks 'make check-valgrind' complains about.
15835
15836         * win32/common/libgstcontroller.def:
15837           Add gst_controller_unset_all.
15838
15839 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15840
15841         * docs/libs/gstreamer-libs-sections.txt:
15842         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15843         (gst_controller_unset_all):
15844         * libs/gst/controller/gstcontroller.h:
15845         API: Added new method gst_controller_unset_all()
15846         fixed gst_controller_unset()
15847         * tests/check/libs/controller.c: (GST_START_TEST),
15848         (gst_controller_suite):
15849         Added two testcases for new and fixed method
15850
15851 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15852
15853         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15854           MSG_DONTWAIT is not defined on Cygwin, so work
15855           around that (fixes #317048).
15856           
15857 2006-04-11  Wim Taymans  <wim@fluendo.com>
15858
15859         * gst/gstelementfactory.c: (gst_element_register),
15860         (gst_element_factory_create), (gst_element_factory_make):
15861         Some cleanups.
15862         Fixed a FIXME.
15863         Updated docs (Fixes #131079)
15864
15865         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15866         Small cleanups.
15867
15868         * tests/check/gst/gstelement.c: (GST_START_TEST),
15869         (gst_element_suite):
15870         Added testcase for elementfactory class field.
15871
15872 2006-04-10  Wim Taymans  <wim@fluendo.com>
15873
15874         * gst/gstsegment.c:
15875         Added some more docs.
15876
15877         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15878         (gst_base_sink_reset_qos):
15879         Calculate more accurate rate values.
15880
15881 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15882
15883         * gst/gst_private.h:
15884           add a new #ifdef to use __declspec(dllimport) only for
15885           other modules and not for gstreamer core
15886         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15887           use gst_guint64_to_gdouble for conversion
15888         * win32/common/libgstreamer.def:
15889           add new exported functions
15890         * win32/vs6/gst_inspect.dsp:
15891         * win32/vs6/gst_launch.dsp:
15892         * win32/vs6/libgstbase.dsp:
15893         * win32/vs6/libgstcontroller.dsp:
15894         * win32/vs6/libgstcoreelements.dsp:
15895         * win32/vs6/libgstdataprotocol.dsp:
15896         * win32/vs6/libgstnet.dsp:
15897           update project files
15898
15899 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15900
15901         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15902         * gst/gstclock.c: (gst_clock_class_init):
15903         * gst/gstelement.c: (gst_element_class_init):
15904         * gst/gstindex.c: (gst_index_class_init):
15905         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15906         * gst/gstobject.c: (gst_object_class_init),
15907         (gst_signal_object_class_init):
15908         * gst/gstpad.c: (gst_pad_class_init):
15909         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15910         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15911         * gst/gstregistry.c: (gst_registry_class_init):
15912         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15913         * gst/gsttask.c: (gst_task_class_init):
15914         * gst/gstxml.c: (gst_xml_class_init):
15915         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15916         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15917         (gst_base_src_loop):
15918         * libs/gst/controller/gstcontroller.c:/
15919         (_gst_controller_class_init):
15920         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15921         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15922         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15923         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15924         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15925         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15926
15927 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15928
15929         * gst/gstpad.c: (gst_pad_link):
15930           Must set peer pads before calling the link function, otherwise
15931           a task started from a link function might get a flow-not-linked
15932           result when trying to push because the other thread where the
15933           linking happens hasn't had a chance to set the peers yet. This
15934           might happen for example when a queue gets linked to a downstream
15935           element, as queue starts a streaming task when its source pad
15936           gets linked. Happens in real life when playing back flac/musepack
15937           files in playbin (#332390).
15938           
15939 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15940
15941         * gst/gstindex.h:
15942         * gst/gstxml.h:
15943         * libs/gst/base/gstadapter.h:
15944         * libs/gst/base/gstbasesink.h:
15945         * libs/gst/base/gstbasesrc.h:
15946         * libs/gst/base/gstbasetransform.h:
15947         * libs/gst/base/gstcollectpads.h:
15948         * libs/gst/base/gstpushsrc.h:
15949         Fix broken GObject macros
15950
15951 2006-04-07  Wim Taymans  <wim@fluendo.com>
15952
15953         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15954         Initialize start and stop times, thanks valgrind.
15955
15956 2006-04-07  Wim Taymans  <wim@fluendo.com>
15957
15958         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15959         Be a bit nicer to badly behaving upstream elements that expect
15960         us to deal with non TIME segments and timestamps (such as fakesrc
15961         in the testsuite).
15962
15963 2006-04-07  Wim Taymans  <wim@fluendo.com>
15964
15965         * gst/gstbus.c:
15966         Small documentation clarification about the signal watch.
15967
15968         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15969         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15970         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15971         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15972         (gst_base_sink_get_position_last),
15973         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15974         Convert and store timestamps in stream time and running time, the
15975         raw timestamps are not useful, also document this better.
15976         Use different window sizes for good and bad QoS observations so
15977         we react to badness a little quicker.
15978         Keep track of the amount of rendered and dropped buffers.
15979         Send QoS timestamps in running time.
15980
15981         * libs/gst/base/gstbasetransform.c:
15982         (gst_base_transform_sink_eventfunc),
15983         (gst_base_transform_handle_buffer):
15984         Compare QoS timestamps against running time.
15985
15986 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15987
15988         * gst/gstpad.c:
15989           Typo fixes in docs.
15990
15991 2006-04-06  Michael Smith  <msmith@fluendo.com>
15992
15993         * gst/gstpad.c: (gst_pad_set_property):
15994           Use g_value_get_object() instead of g_value_dup_gst_object(),
15995           to avoid double-reffing the pad template (which we then sink,
15996           so this worked previously if (and only if) the pad template
15997           was floating.
15998
15999         * gst/gstpadtemplate.c: (gst_pad_template_init),
16000         (gst_pad_template_pad_created):
16001           Never return floating references to pad templates, create
16002           them as initially-sunken.
16003
16004           Document an extra function (and make this stop sinking our
16005           pad template, since that is now guaranteed to do nothing,
16006           since we created it sunken).
16007
16008         * gst/gstghostpad.c:
16009           Fix docs typo.
16010
16011 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16012
16013         * gst/gstinfo.c: (__gst_in_valgrind):
16014           Add some newlines.
16015
16016         * plugins/elements/gsttypefindelement.c:
16017         (gst_type_find_element_chain):
16018           Don't leak buffer caps.
16019
16020 2006-04-06  Michael Smith  <msmith@fluendo.com>
16021
16022         * gst/parse/grammar.y:
16023           Fix a leak in parse-launch for any source-or-sink named element 
16024           references used.
16025
16026         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16027           Unref the pipeline if it exists after we've failed parsing.
16028
16029 2006-04-05  Michael Smith  <msmith@fluendo.com>
16030
16031         * gst/gstpipeline.c: (gst_pipeline_init):
16032           When we create a pipeline bus, initially create it in flushing mode.
16033           Fixes leaks in at least one test, and makes a new pipeline work the
16034           same as one that has gone to READY and then back to NULL.
16035
16036         * gst/gstelement.c:
16037           Typo fix in docs.
16038
16039 2006-04-05  Michael Smith  <msmith@fluendo.com>
16040
16041         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16042           Unref a pad we reffed.
16043         * tests/check/gst/gstutils.c: (GST_START_TEST):
16044           Unref bins
16045
16046 2006-04-05  Michael Smith  <msmith@fluendo.com>
16047
16048         * gst/gstquery.c: (gst_query_set_formats),
16049         (gst_query_set_formatsv):
16050           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16051
16052 2006-04-05  Michael Smith  <msmith@fluendo.com>
16053
16054         * tests/check/generic/sinks.c: (GST_START_TEST):
16055           Fix a variety of memleaks in sinks check, which are only sometimes 
16056           shown by running the tests under valgrind (weird?).
16057
16058 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16059
16060         * docs/version.entities.in:
16061           Fix the substituted entity name after thomas' changes on the
16062           weekend.
16063
16064 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16065
16066         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16067         VALGRIND_PRINTF
16068         
16069 2006-04-05  Andy Wingo  <wingo@pobox.com>
16070
16071         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16072
16073         * libs/gst/base/gstbasetransform.c
16074         (gst_base_transform_sink_eventfunc): When resetting our segment on
16075         FLUSH_STOP, also update the flag saying we haven't seen a
16076         newsegment.
16077
16078 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16079
16080         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16081
16082         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16083         (gst_plugin_check_license):
16084           minor clean-ups: G_DEFINE_TYPE already takes care of the
16085           parent_class stuff, no need to do it twice. Mark array of
16086           license strings as constant. (#337103)
16087           
16088 2006-04-04  Michael Smith  <msmith@fluendo.com>
16089
16090         * tools/gst-inspect.c: (print_element_list):
16091           Free the right plugin list; fixes a memory leak.
16092
16093 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16094
16095         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16096
16097         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16098           Don't error out on empty buffers (#336945).
16099           
16100 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16101
16102         * docs/libs/gstreamer-libs-sections.txt:
16103         * gst/gsttaglist.c:
16104         * libs/gst/base/gstbasesink.c:
16105         * libs/gst/base/gstbasesink.h:
16106         * libs/gst/base/gstbasesrc.c:
16107         * libs/gst/base/gstbasesrc.h:
16108           Documentation updates. Make BaseSink and BaseSrc docs contain the
16109           class structure so that people can actually see the prototypes for
16110           virtual functions they're supposed to be overriding.
16111
16112 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16113
16114         * plugins/elements/gsttypefindelement.c:
16115         (gst_type_find_element_chain):
16116           More debug info; when skipping typefinding, send cached
16117           events in all cases.
16118
16119 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16120
16121         * configure.ac:
16122           use new AS_VERSION and AS_NANO macros
16123         * gst/gst-i18n-lib.h:
16124         * gst/gst.c:
16125         * gst/gsterror.c:
16126         * gst/gstversion.h.in:
16127         * win32/common/config.h:
16128         * win32/common/config.h.in:
16129           update accordingly
16130
16131 2006-03-31  Michael Smith  <msmith@fluendo.com>
16132
16133         * plugins/elements/gsttypefindelement.c:
16134         (gst_type_find_element_chain):
16135           Do not typefind content if the buffers already have caps.
16136           Neccesary for icydemux (#333657), and the right thing to do anyway.
16137
16138 2006-03-30  Wim Taymans  <wim@fluendo.com>
16139
16140         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16141         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16142         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16143         (gst_base_sink_record_qos_observation),
16144         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16145         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16146         (gst_base_sink_change_state):
16147         More QoS measurements as described in the design doc.
16148         Get rid of ringbuffer with observations, running average is
16149         more simple and equally good.
16150         Calculates valid proportion now.
16151         Added beginning of flood measurement.
16152
16153 2006-03-29  Wim Taymans  <wim@fluendo.com>
16154
16155         * docs/design/part-qos.txt:
16156         * gst/gstclock.c:
16157         Small documentation updates and additions.
16158
16159 2006-03-29  Wim Taymans  <wim@fluendo.com>
16160
16161         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16162         (gst_base_src_send_event), (gst_base_src_loop),
16163         (gst_base_src_change_state):
16164         Perform the EOS logic when we reach the segment stop position.
16165         Fix compilation on gcc4.1
16166
16167 2006-03-29  Wim Taymans  <wim@fluendo.com>
16168
16169         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16170
16171         * plugins/elements/gstqueue.c: (gst_queue_init),
16172         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16173         (gst_queue_set_property):
16174         * plugins/elements/gstqueue.h:
16175         In queue, when EOS is received, if minimum threshold > max_size -
16176         current_level, there is chance that queue blocks forever in conditional
16177         item del wait. This is because the queue is not emptied completely due
16178         to minimum threshold.  Here is another approach. Instead of setting
16179         cur_levels to max in EOS, just zero all minimum threshold levels. This
16180         should make sure that queue gives out all data. When going to READY
16181         (stop) state, just reset the original minimum threshold levels.
16182         Fixes #336336.
16183
16184 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16185
16186         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16187         (gst_type_find_element_handle_event),
16188         (gst_type_find_element_send_cached_events),
16189         (gst_type_find_element_change_state):
16190         * plugins/elements/gsttypefindelement.h:
16191           When typefinding is done in push mode, we should cache
16192           events we receive during typefinding instead of just
16193           dropping them (e.g. newsegment, custom events from
16194           dvdreadsrc etc.) and then send them out once we've
16195           determined the type of the stream (and decodebin
16196           has had a chance to plug in a decoder/demuxer).
16197           
16198 2006-03-27  Wim Taymans  <wim@fluendo.com>
16199
16200         * docs/design/part-qos.txt:
16201         First QoS ideas.
16202
16203 2006-03-27  Wim Taymans  <wim@fluendo.com>
16204
16205         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16206
16207         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16208         (gst_base_src_send_event), (gst_base_src_change_state):
16209         Handle element seek correctly when we are streaming.
16210         Fixes #326998.
16211
16212 2006-03-24  Michael Smith  <msmith@fluendo.com>
16213
16214         * docs/faq/gst-uninstalled:
16215           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16216           allow you to correctly run intalled applications built against old 
16217           core, using plugins that require updated core (e.g. running
16218           installed totem against a full uninstalled gstreamer stack)
16219
16220 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16221
16222         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16223         more debug details
16224
16225 2006-03-24  Wim Taymans  <wim@fluendo.com>
16226
16227         * docs/gst/gstreamer-sections.txt:
16228         Rearrange the order of the methods so that related methods
16229         are grouped together in sections.
16230
16231 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16232
16233         * gst/gstelement.c:
16234           Little clarification in the docs
16235
16236 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16237
16238         * docs/README:
16239         formatting fix
16240         * plugins/elements/gstidentity.c:
16241         * plugins/elements/gstqueue.c:
16242         * plugins/elements/gsttee.c:
16243         * plugins/elements/gsttypefindelement.c:
16244         GST_ELEMENT_DETAILS formatting
16245
16246 2006-03-24  Wim Taymans  <wim@fluendo.com>
16247
16248         * libs/gst/base/gstbasesink.h:
16249         Only add fields, not insert or we break ABI.
16250
16251 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16252
16253         * win32/common/libgstbase.def:
16254         * win32/common/libgstreamer.def:
16255           Update, add recently added functions.
16256
16257 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16258
16259         * docs/gst/gstreamer-sections.txt:
16260         * gst/gstutils.c: (gst_pad_query_peer_position),
16261         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16262         * gst/gstutils.h:
16263           API: add some new utility functions:
16264            - gst_pad_query_peer_position()
16265            - gst_pad_query_peer_duration()
16266            - gst_pad_query_peer_convert()
16267           
16268 2006-03-23  Wim Taymans  <wim@fluendo.com>
16269
16270         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16271         (gst_base_sink_init), (gst_base_sink_finalize),
16272         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16273         (gst_base_sink_set_property), (gst_base_sink_get_property),
16274         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16275         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16276         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16277         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16278         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16279         (gst_base_sink_preroll_object), (gst_base_sink_event),
16280         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16281         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16282         (gst_base_sink_query), (gst_base_sink_change_state):
16283         Decouple max-lateness and the fact that QoS messages are generated
16284         with a new property (qos).
16285         added API: GstBaseSink::async_play()
16286         Add vmethod so subclasses can be notified of ASYNC playing
16287         state changes.
16288         Collect timestamp start and stop to report better current
16289         position in EOS/PLAYING/PAUSED/READY/NULL.
16290         Refactor QoS/frame dropping and other measurements.
16291         API: GstBaseSrc::qos
16292         Fixes #326311
16293
16294         * libs/gst/base/gstbasesink.h:
16295         Added Private struct.
16296         API: gst_base_sink_set_qos_enabled()
16297         API: gst_base_sink_is_qos_enabled()
16298
16299 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16300
16301         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16302           If compiling against GLib-2.8 or newer, try to read the
16303           registry file using GMappedFile first before falling back
16304           to fopen() + fread() (#332151).
16305
16306 2006-03-22  Wim Taymans  <wim@fluendo.com>
16307
16308         * gst/gstinfo.c: (gst_debug_set_active),
16309         (gst_debug_category_set_threshold):
16310         Disable debugging unless explicitly activated.
16311         Fixes #335480.
16312
16313 2006-03-22  Wim Taymans  <wim@fluendo.com>
16314
16315         * gst/gstelement.c: (gst_element_set_locked_state),
16316         (gst_element_dispose):
16317         Cleanup the error case.
16318
16319         * gst/gstobject.c: (gst_object_dispose):
16320         print a critical when some object was disposed with
16321         a parent, also revive the object since it might
16322         crash the parent.
16323
16324 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16325
16326         * tools/gst-launch.1.in:
16327           Fix another typo.
16328
16329 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16330
16331         * configure.ac:
16332         * tests/check/Makefile.am:
16333           disable some tests when we don't have a registry
16334         * tests/check/gst/gstutils.c: (gst_utils_suite):
16335           don't build the part that needs parsing
16336
16337 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16338
16339         * gst/Makefile.am
16340         * tests/examples/Makefile.am:
16341           fix --disable-parse build
16342
16343 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16344
16345         * tools/gst-feedback.1.in:
16346           Fix typo: s/feeback/feedback/ (#133494).
16347
16348 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16349
16350         * tools/Makefile.am:
16351         * tools/gst-launch.1.in:
16352           Add FILES section and correct entry about GST_REGISTRY_PATH
16353           environment variable (#133495; #133494).
16354
16355 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16356
16357         * tools/Makefile.am:
16358         * tools/gst-md5sum.1.in:
16359         * tools/gst-md5sum.c:
16360           Remove gst-md5sum and man page (the md5sink element
16361           required was removed ages ago)
16362
16363 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16364
16365         * gst/gststructure.c: (gst_structure_id_set_value):
16366           Make sure that string fields in structures/taglists
16367           contain valid UTF-8 - we don't want to pass rubbish to
16368           applications because of a buggy plugin (cp. #334167).
16369
16370 2006-03-21  Edward Hervey  <edward@fluendo.com>
16371
16372         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16373         (gst_bin_handle_message_func):
16374         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16375         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16376         (gst_element_set_bus_func):
16377         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16378         * gst/gstminiobject.c: (gst_value_set_mini_object),
16379         (gst_value_take_mini_object):
16380         * gst/gstpad.c: (gst_pad_set_pad_template):
16381         * gst/gstpipeline.c: (gst_pipeline_dispose),
16382         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16383         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16384         (gst_collect_pads_chain):
16385         * libs/gst/net/gstnettimeprovider.c:
16386         (gst_net_time_provider_set_property):
16387         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16388         It's in fact all issues with gst_*object_replace().
16389
16390 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16391
16392         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16393         
16394         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16395         * pkgconfig/gstreamer-check.pc.in:
16396           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16397
16398 2006-03-21  Edward Hervey  <edward@fluendo.com>
16399
16400         * gst/gstbuffer.h:
16401         * gst/gstevent.h:
16402         * gst/gstmessage.h:
16403         gst_[buffer|event|message]_ref() macros are replaced by a static
16404         inline functions because gcc-4.1 will about if the return value
16405         isn't used.
16406         * tests/check/gst/gstevent.c: (event_probe):
16407         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16408
16409 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16410
16411         * gst/gstutils.h:
16412         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16413         the type' case. (Closes: #335195 for now). In the future, when we
16414         depend on GLib 2.10, we could also intern the type name using
16415         g_intern_static_string()
16416
16417 2006-03-20  Wim Taymans  <wim@fluendo.com>
16418
16419         * gst/gstbin.c: (gst_bin_handle_message_func),
16420         (bin_query_max_init), (bin_query_position_fold),
16421         (bin_query_position_done), (gst_bin_query):
16422         Position query should also take max of all streams.
16423
16424 2006-03-20  Wim Taymans  <wim@fluendo.com>
16425
16426         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16427         (gst_fake_src_finalize):
16428         Fix leaks in fakesrc.
16429
16430         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16431         Fix leaks in the testcase.
16432
16433 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16434
16435         * gst/gst_private.h:
16436           add win32 specific import decoration(__declspec(dllimport)) 
16437           for all extern GstDebugCategory * variables
16438         * win32/common/libgstbase.def:
16439         * win32/common/libgstcontroller.def:
16440         * win32/common/libgstreamer.def:
16441           Add some exports, remove empty lines
16442         * win32/common/libgstdataprotocol.def:
16443         * win32/common/libgstdataprotocol.dsp:
16444         * win32/common/libgstnet.def:
16445         * win32/common/libgstnet.dsp:
16446           new project files and exportation files added
16447         
16448 2006-03-19  Wim Taymans  <wim@fluendo.com>
16449
16450         * tests/check/libs/basesrc.c: (eos_event_counter):
16451         Use proper return value for probe.
16452
16453 2006-03-17  Wim Taymans  <wim@fluendo.com>
16454
16455         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16456         (gst_pad_push):
16457         Don't leak buffers, caps and pads on negotiation errors.
16458
16459 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16460
16461         * docs/faq/cvs.xml:
16462         * docs/faq/dependencies.xml:
16463         * docs/faq/developing.xml:
16464         * docs/faq/faq.xml:
16465         * docs/faq/general.xml:
16466         * docs/faq/getting.xml:
16467         * docs/faq/legal.xml:
16468         * docs/faq/troubleshooting.xml:
16469         * docs/faq/using.xml:
16470         Faq review and update.
16471
16472 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16473
16474         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16475         (gst_pad_push):
16476         Don't pound the cpu to pieces by checking get_caps when accept_caps
16477         is called with the same caps as the pad already has.
16478         Use GST_DEBUG_OBJECT when outputting caps change information.
16479
16480 2006-03-15  Wim Taymans  <wim@fluendo.com>
16481
16482         * gst/gstclock.c: (gst_clock_class_init):
16483         Fix docs.
16484
16485 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16486
16487         * gst/gstbuffer.h:
16488         Documentation fix.
16489
16490         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16491         (gst_pad_accept_caps), (gst_pad_configure_sink),
16492         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16493         Make the default acceptcaps behaviour be to check the requested 
16494         caps against the gst_pad_get_caps output. 
16495
16496         Ensure that gst_pad_accept_caps is used to check caps when a pad
16497         doesn't have a setcaps function, so that pads automatically refuse 
16498         caps that they don't allow in their pad template. (Fixes #332986)
16499
16500         When a buffer with attached caps is pushed, ensure that the source 
16501         pad receives those caps even if the element didn't call
16502         gst_pad_set_caps first.
16503
16504 2006-03-15  Wim Taymans  <wim@fluendo.com>
16505
16506         * libs/gst/base/gstadapter.c:
16507         Add some docs.
16508
16509 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16510
16511         * win32/common/libgstbase.def:
16512         * win32/common/libgstcontroller.def:
16513         * win32/common/libgstreamer.def:
16514           Add a whole bunch of missing functions (#334434).
16515
16516 2006-03-14  Wim Taymans  <wim@fluendo.com>
16517
16518         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16519         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16520         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16521         Better debug info when we receive a segment event.
16522         Reorganize a bit so we can pass the get_times() results around.
16523         Use the segment format when calculating the running time.
16524         Don't do QoS is sync is disabled or we have no clock or the
16525         element does not want us to sync to the clock.
16526         Don't drop buffers if QoS is disabled for now.
16527
16528 2006-03-14  Wim Taymans  <wim@fluendo.com>
16529
16530         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16531         Marked the stats property as unimplemented so people don't get
16532         wild ideas.
16533         Add debug message when regression goes wrong.
16534         Added some more docs.
16535
16536 2006-03-14  Wim Taymans  <wim@fluendo.com>
16537
16538         * gst/gstsegment.c: (gst_segment_to_stream_time):
16539         Return correct return type in case of errors.
16540
16541 2006-03-14  Wim Taymans  <wim@fluendo.com>
16542
16543         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16544           Don't segfault on invalid formats.
16545
16546 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16547
16548         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16549           Can't use gst_segment_to_running_time() when the segment
16550           is not in GST_TIME_FORMAT (like with filesink, for example).
16551           Stops flac encoding pipelines from spewing critical warnings
16552           at EOS (#331248).
16553           
16554 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16555
16556         * gst/gstpipeline.c: (gst_pipeline_class_init):
16557           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16558
16559         * plugins/elements/gsttypefindelement.c:
16560         (gst_type_find_element_handle_event):
16561           Don't try to typefind empty streams.
16562
16563 2006-03-14  Wim Taymans  <wim@fluendo.com>
16564
16565         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16566         (gst_base_sink_do_qos):
16567         Separate QoS calculation.
16568         Only drop buffers when lateness is bigger than the 
16569         duration of the buffer.
16570
16571 2006-03-13  Wim Taymans  <wim@fluendo.com>
16572
16573         * gst/gstpipeline.c: (gst_pipeline_set_property),
16574         (gst_pipeline_get_property), (do_pipeline_seek),
16575         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16576         (gst_pipeline_get_delay):
16577         Don't deadlock when reading properties.
16578
16579 2006-03-13  Wim Taymans  <wim@fluendo.com>
16580
16581         * libs/gst/base/gstbasetransform.c:
16582         (gst_base_transform_class_init), (gst_base_transform_init),
16583         (gst_base_transform_sink_event),
16584         (gst_base_transform_sink_eventfunc),
16585         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16586         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16587         (gst_base_transform_set_property),
16588         (gst_base_transform_get_property),
16589         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16590         (gst_base_transform_set_qos_enabled),
16591         (gst_base_transform_is_qos_enabled):
16592         * libs/gst/base/gstbasetransform.h:
16593         Make basetransform virtual method for src events too.
16594         Handle QOS in basetransform.
16595         API: gst_base_transform_update_qos()
16596         API: gst_base_transform_set_qos_enabled()
16597         API: gst_base_transform_is_qos_enabled()
16598
16599 2006-03-13  Wim Taymans  <wim@fluendo.com>
16600
16601         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16602         (gst_base_sink_do_sync):
16603         Small cleanups.
16604         Use QOS debug category.
16605
16606 2006-03-13  Wim Taymans  <wim@fluendo.com>
16607
16608         * plugins/elements/gstqueue.c:
16609         Very small doc update.
16610
16611 2006-03-13  Wim Taymans  <wim@fluendo.com>
16612
16613         * gst/gst_private.h:
16614         * gst/gstinfo.c: (_gst_debug_init):
16615         Added QOS debug category
16616
16617 2006-03-13  Wim Taymans  <wim@fluendo.com>
16618
16619         * docs/gst/gstreamer-sections.txt:
16620         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16621         * gst/gstbin.h:
16622         * gst/gstbus.c: (gst_bus_class_init):
16623         * gst/gstbus.h:
16624         * gst/gstclock.c:
16625         * gst/gstelement.c: (gst_element_set_locked_state):
16626         * gst/gstsegment.c:
16627         Documentation updates.
16628
16629         * gst/gstpipeline.c: (gst_pipeline_get_type),
16630         (gst_pipeline_class_init), (gst_pipeline_init),
16631         (gst_pipeline_dispose), (gst_pipeline_set_property),
16632         (gst_pipeline_get_property), (do_pipeline_seek),
16633         (gst_pipeline_send_event), (gst_pipeline_change_state),
16634         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16635         (gst_pipeline_get_delay):
16636         * gst/gstpipeline.h:
16637         Added methods for setting the delay.
16638         API: gst_pipeline_set_delay()
16639         API: gst_pipeline_get_delay()
16640         Add pipeline debug category
16641         Various cleanups.
16642         Updated docs.
16643         Don't reset stream time when seek failed.
16644
16645 2006-03-13  Wim Taymans  <wim@fluendo.com>
16646
16647         * docs/design/draft-klass.txt:
16648         * docs/design/part-clocks.txt:
16649         * docs/design/part-events.txt:
16650         * docs/design/part-gstbin.txt:
16651         * docs/design/part-gstpipeline.txt:
16652         * docs/design/part-messages.txt:
16653         * docs/design/part-negotiation.txt:
16654         * docs/design/part-overview.txt:
16655         * docs/design/part-preroll.txt:
16656         * docs/design/part-seeking.txt:
16657         * docs/design/part-states.txt:
16658         * docs/design/part-streams.txt:
16659         Documentation updates.
16660
16661 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16662
16663         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16664         us to leak strings...
16665
16666 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16667
16668         * libs/gst/net/gstnettimeprovider.c:
16669           fix docs
16670         * win32/common/config.h:
16671           update
16672
16673 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16674
16675         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16676
16677         * configure.ac:
16678           Don't check for libgnomeui (leftover from old examples
16679           that aren't built or disted any longer) (#334303).
16680           
16681 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16682
16683         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16684         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16685           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16686           there's no space left on the device.
16687
16688 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16689
16690         * gst/gstclock.h:
16691           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16692           to cast the input to GstClockTime before comparing with
16693           another GstClockTime value.
16694
16695 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16696
16697         * configure.ac:
16698           back to trunk
16699
16700 === release 0.10.4 ===
16701
16702 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16703
16704         * configure.ac:
16705           releasing 0.10.4, "Light"
16706
16707 2006-03-10  Michael Smith  <msmith@fluendo.com>
16708
16709         * libs/gst/dataprotocol/dataprotocol.c:
16710           Fix docs for dataprocotol to not get the return types completely
16711           wrong for a few functions.
16712
16713 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16714
16715         * docs/gst/gstreamer-sections.txt:
16716         * gst/gstpipeline.c: (gst_pipeline_class_init),
16717         (gst_pipeline_init), (gst_pipeline_set_property),
16718         (gst_pipeline_get_property), (gst_pipeline_change_state),
16719         (gst_pipeline_set_auto_flush_bus),
16720         (gst_pipeline_get_auto_flush_bus):
16721         * gst/gstpipeline.h:
16722           Add new API: gst_pipeline_set_auto_flush_bus() and
16723           gst_pipeline_get_auto_flush_bus() to disable automatic
16724           flushing of the pipeline's GstBus when going from READY
16725           to NULL state (#332045).
16726
16727 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16728
16729         * docs/gst/gstreamer-sections.txt:
16730         * gst/gsturi.c: (gst_uri_has_protocol):
16731         * gst/gsturi.h:
16732            Add new API: gst_uri_has_protocol() (#333779).
16733
16734 2006-03-09  Wim Taymans  <wim@fluendo.com>
16735
16736         * gst/gstclock.c: (gst_clock_entry_new),
16737         (gst_clock_id_compare_func), (gst_clock_id_wait),
16738         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16739         (gst_clock_init), (gst_clock_get_internal_time),
16740         (gst_clock_set_master), (do_linear_regression),
16741         (gst_clock_add_observation), (gst_clock_set_property):
16742         * gst/gstclock.h:
16743         Review docs.
16744         Small cleanups.
16745         Fix a possible segfault when the window-size is made smaller.
16746         Calculate jitter before performing the clock wait. Ideally
16747         the clock implementation should calculate jitter but we need
16748         API breakage for that.
16749
16750         * gst/gstsystemclock.c: (gst_system_clock_init):
16751         Docs review.
16752         
16753         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16754         Remove leftover else
16755
16756         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16757         (gst_systemclock_suite):
16758         Added check to test GST_CLOCK_DIFF.
16759
16760 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16761
16762         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16763         (gst_type_find_helper_get_range):
16764           If we are provided with the size, we should implement
16765           GstTypeFind::get_length, so that typefind functions who
16766           want to can actually peek at the middle of a file.
16767
16768 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16769
16770         * docs/manual/advanced-dataaccess.xml:
16771           Add some very very basic error checking.
16772
16773         * docs/pwg/appendix-checklist.xml:
16774           Some updates to the list of things to check when writing an element.
16775
16776 2006-03-08  Wim Taymans  <wim@fluendo.com>
16777
16778         * docs/design/part-element-transform.txt:
16779         Added some docs about the design of tranform elements.
16780
16781         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16782         (gst_base_src_loop), (gst_base_src_change_state):
16783         Mark buffers with the DISCONT flag.
16784
16785 2006-03-08  Michael Smith  <msmith@fluendo.com>
16786
16787         * gst/gstregistry.h:
16788         * gst/gstregistryxml.c: (gst_registry_save),
16789         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16790         (gst_registry_xml_save_pad_template),
16791         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16792         (gst_registry_xml_write_cache):
16793           Rewrite registry-saving to avoid race conditions and check for
16794           failed writes.
16795
16796 2006-03-08  Wim Taymans  <wim@fluendo.com>
16797
16798         * libs/gst/base/gstbasetransform.c:
16799         (gst_base_transform_transform_caps),
16800         (gst_base_transform_transform_size),
16801         (gst_base_transform_prepare_output_buffer),
16802         (gst_base_transform_get_unit_size),
16803         (gst_base_transform_buffer_alloc),
16804         (gst_base_transform_handle_buffer),
16805         (gst_base_transform_change_state):
16806         Cleanups, separate normal flow from errors, add sensible
16807         DEBUG lines.
16808         Don't try to renegotiate when allocating an output buffer.
16809         Also copy DISCONT buffer flag when copying a buffer.
16810         Reset the transform after we finish streaming, not during.
16811
16812 2006-03-08  Wim Taymans  <wim@fluendo.com>
16813
16814         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16815         Use last buffer timestamp in qos message.
16816
16817 2006-03-07  Wim Taymans  <wim@fluendo.com>
16818
16819         Patch by: Christophe Fergeau
16820
16821         * docs/pwg/advanced-tagging.xml:
16822         * docs/pwg/building-pads.xml:
16823           fixes #333416
16824
16825 2006-03-07  Wim Taymans  <wim@fluendo.com>
16826
16827         * docs/libs/gstreamer-libs-sections.txt:
16828         Added basesink new methods.
16829
16830         * gst/gstevent.c:
16831         * gst/gstevent.h:
16832         Docs updates. Flesh out the QoS docs.
16833
16834         * libs/gst/base/gstadapter.c:
16835         Small doc clarification about ownership and flushing.
16836
16837         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16838         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16839         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16840         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16841         * libs/gst/base/gstbasesink.h:
16842         API additions: 
16843         Added new methods to allow subclass to control max-lateness 
16844         and sync.
16845         Generate very basic QoS events based on last sync observation.
16846         Updated docs, fix typo, added some QoS blurb.
16847
16848         * libs/gst/base/gstbasesrc.c:
16849         Remove obsolete _get_state() calls from docs.
16850
16851 2006-03-07  Wim Taymans  <wim@fluendo.com>
16852
16853         * docs/libs/gstreamer-libs-sections.txt:
16854         * libs/gst/base/gstbasetransform.h:
16855         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16856         Fix docs for GstBaseSrc.
16857
16858 2006-03-07  Wim Taymans  <wim@fluendo.com>
16859
16860         * docs/gst/gstreamer-sections.txt:
16861         * gst/gstbuffer.h:
16862         * gst/gstvalue.c:
16863         * libs/gst/base/gstbasetransform.h:
16864         Small documentation fixes.
16865
16866 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16867
16868         * gst/gstvalue.c:
16869           Document thread-unsafety of gst_value_register_foo_func()
16870           when used at the same time as gst_value_foo() (#322628).
16871
16872 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16873
16874         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16875         (gst_push_src_check_get_range):
16876           Push sources don't support pull mode by default.
16877
16878 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16879
16880         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16881         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16882         (gst_base_src_default_check_get_range):
16883         * libs/gst/base/gstbasesrc.h:
16884           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16885           provide default implementation, and rename
16886           gst_base_src_check_get_range() to
16887           gst_base_src_pad_check_get_range() for clarity.
16888
16889 2006-03-06  Wim Taymans  <wim@fluendo.com>
16890
16891         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16892         Make property overridable.
16893
16894 2006-03-06  Wim Taymans  <wim@fluendo.com>
16895
16896         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16897         (gst_base_sink_init), (gst_base_sink_set_property),
16898         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16899         * libs/gst/base/gstbasesink.h:
16900         API addition: Make max-lateness a property.
16901
16902 2006-03-06  Wim Taymans  <wim@fluendo.com>
16903
16904         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16905         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16906         Don't ever draw a frame that is >10ms late.
16907
16908 2006-03-06  Michael Smith  <msmith@fluendo.com>
16909
16910         * gst/gstmessage.c: (_gst_message_copy):
16911           When copying a message, set the parent_refcount of the enclosed
16912           structure to point at the copy, not the original message.
16913
16914 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16915
16916         Patch by: Christophe Fergeau
16917
16918         * gst/gstutils.h:
16919           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16920           usable in c++ code (#333417)
16921
16922 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16923
16924         * gst/gstclock.h:
16925           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16926
16927 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16928
16929         * libs/gst/base/gstbasetransform.c:
16930         (gst_base_transform_transform_caps):
16931           Make sure caps are writable before passing them to
16932           gst_caps_append().
16933
16934 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16935
16936         * gst/gsterror.h:
16937           Fix some minor docs errors.
16938
16939 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16940
16941           Patch by: Ross Burton <ross at burtonini dot com>
16942
16943         * gst/gsterror.c: (_gst_resource_errors_init):
16944         * gst/gsterror.h:
16945           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16946
16947 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16948
16949         * gst/gst.c:
16950         Add a check and output a g_warning when GStreamer is built
16951         against GLib 2.6 but running against 2.8 or higher, and vice 
16952         versa. (Closes: #323542)
16953
16954 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16955
16956         * gst/parse/parse.l:
16957           Commit patch for parse_launch syntax from #331255. Removes 
16958           support for quoted strings and mimetypes when writing filtered 
16959           caps. See the bug report for more details - I'm pretty sure this
16960           obscure feature is not in use by _anyone_ anywhere.
16961
16962           With this simple change, the size of the gstreamer.so here 
16963           drops from 2193KB to 1565KB.
16964
16965 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16966
16967         * plugins/elements/gsttypefindelement.h:
16968         * plugins/elements/gsttypefindelement.c:
16969         (gst_type_find_element_src_event), (start_typefinding),
16970         (stop_typefinding), (gst_type_find_element_handle_event),
16971         (gst_type_find_element_chain),
16972         (gst_type_find_element_chain_do_typefinding):
16973           Use gst_type_find_helper_for_buffer() for chain-based
16974           typefinding.
16975
16976 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16977
16978         * plugins/elements/gsttypefindelement.c:
16979         (gst_type_find_element_class_init),
16980         (gst_type_find_element_set_property),
16981         (gst_type_find_element_get_property):
16982           Deprecate "maximum" property (not only was it only taken into
16983           account for typefinding in push-mode anyway, it also was never
16984           actually possible to set it in the first place because the
16985           property was registered with the numeric property ID for the
16986           "minimum" property). Register "maximum" property correctly,
16987           for the sake of future copy'n'pasters. Remove some cruft
16988           from property get/set functions.
16989
16990 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16991
16992         * plugins/elements/gsttypefindelement.c:
16993         (gst_type_find_element_activate):
16994           Use gst_type_find_helper_get_range() here, so we
16995           can honour the "minimum" property and also emit
16996           the signal with the correct probability of the found caps.
16997
16998 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16999
17000         * docs/libs/gstreamer-libs-sections.txt:
17001         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17002         (helper_find_suggest), (gst_type_find_helper_get_range),
17003         (gst_type_find_helper):
17004         * libs/gst/base/gsttypefindhelper.h:
17005           New API: gst_type_find_helper_get_range() (#333042).
17006
17007 2006-03-02  Michael Smith  <msmith@fluendo.com>
17008
17009         * gst/gstregistryxml.c: (load_feature):
17010           Asserting on a failure to read part of the registry is Not Cool.
17011           Just log a warning and return NULL (which is already handled)
17012
17013 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17014
17015         * win32/common/libgstbase.def:
17016           added export of gst_type_find_helper_for_buffer
17017         * win32/common/libgstbase.def:
17018           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17019           gst_ghost_pad_get_target
17020
17021 2006-02-28  Wim Taymans  <wim@fluendo.com>
17022
17023         * docs/design/draft-klass.txt:
17024         We use Filter now.
17025         Added Connector to mark elements that are only used to
17026         allow pipeline connections.
17027         Moved Debug to extra feature since most of them are 
17028         functionally something else.
17029
17030 2006-02-28  Wim Taymans  <wim@fluendo.com>
17031
17032         * docs/design/draft-klass.txt:
17033         Some updates and clarifications.
17034
17035 2006-02-28  Wim Taymans  <wim@fluendo.com>
17036
17037         * docs/design/draft-klass.txt:
17038         Proposal for klass field values.
17039
17040         * docs/design/part-streams.txt:
17041         Start of a doc describing stream anatomy.
17042
17043 2006-02-28  Wim Taymans  <wim@fluendo.com>
17044
17045         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17046         Help the compiler a bit with type registration.
17047         Use existing forward cod path instead of duplicating it when 
17048         handling a message.
17049         
17050         * gst/gstbus.c: (gst_bus_get_type):
17051         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17052         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17053         * gst/gstclock.c: (gst_clock_get_type):
17054         * gst/gstelement.c: (gst_element_get_type),
17055         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17056         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17057         * gst/gstminiobject.c: (gst_mini_object_get_type):
17058         * gst/gstpad.c: (gst_pad_get_type):
17059         * gst/gstsegment.c: (gst_segment_get_type):
17060         * gst/gststructure.c: (gst_structure_get_type):
17061         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17062         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17063         * gst/gstvalue.c:
17064         Help compiler with type registration.
17065
17066         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17067         Small doc update.
17068
17069 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17070
17071         * plugins/elements/gsttypefindelement.c:
17072         (gst_type_find_element_handle_event):
17073           When we get an EOS event and have not found a type yet
17074           (most likely because we had not yet accumulated
17075           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17076           type given the data we have so far. Fixes typefinding
17077           for very short streams again, most notably quicktime
17078           redirections as used on Apple's trailer site (#331701).
17079
17080 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17081
17082         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17083         (gst_type_find_helper):
17084           Try typefinding factories with the highest rank first.
17085
17086 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17087
17088         * docs/libs/gstreamer-libs-docs.sgml:
17089         * docs/libs/gstreamer-libs-sections.txt:
17090         * libs/gst/base/gsttypefindhelper.c:
17091           Add section for typefind helper and add documentation
17092           for the old and the new function.
17093
17094 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17095
17096         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17097         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17098         (gst_type_find_helper_for_buffer):
17099         * libs/gst/base/gsttypefindhelper.h:
17100           New API: gst_type_find_helper_for_buffer() (#332723).
17101           
17102 2006-02-27  Michael Smith  <msmith@fluendo.com>
17103
17104         Patch by: Loïc Minier
17105
17106         * configure.ac:
17107         * docs/Makefile.am:
17108         * docs/slides/Makefile.am:
17109           prevent CVS directories getting disted.
17110
17111 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17112
17113         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17114           Use the REFCOUNTING category for caps refcounting.
17115           
17116 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17117
17118         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17119           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17120
17121 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17122
17123         * plugins/elements/gsttypefindelement.c:
17124         (gst_type_find_element_activate):
17125           Use gst_pad_check_pull_range() before _activate_pull()
17126           to avoid unnecessary open/close (see #331690).
17127
17128 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17129
17130         * gst/gstutils.c:
17131           Docs enhancement: make it crystal clear what the
17132           gst_pad_add_*_probe() callbacks should look like.
17133
17134 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17135
17136         * libs/gst/base/gstbasesrc.c:
17137           Document how applications can stop recording from
17138           live sources (see #330996).
17139
17140 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17141
17142         * tests/check/Makefile.am:
17143         * tests/check/libs/basesrc.c: (eos_event_counter),
17144         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17145         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17146         (gst_basesrc_suite), (main):
17147           ... and add some tests for the base source EOS stuff.
17148
17149 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17150
17151         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17152           Test case originally showed the problem fixed below,
17153           but was then amended. Add checks back at the place
17154           where they used to be.
17155
17156 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17157
17158         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17159         (gst_base_src_init), (gst_base_src_loop),
17160         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17161         (gst_base_src_change_state):
17162         * libs/gst/base/gstbasesrc.h:
17163           Don't unconditionally send EOS when going from PAUSED to
17164           READY state, esp. make sure we don't send two EOS events
17165           in some cases (e.g. one when reaching EOS and one when
17166           going from PAUSED to READY). Also, we don't want to send
17167           EOS events when operating in pull mode. However, we do
17168           want to send an EOS event when shutting down a live
17169           source explicitly, for example (fixes #330996).
17170           
17171 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17172
17173         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17174           Update src->read_position after a seek when not using mmap.
17175           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17176
17177 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17178
17179         * gst/Makefile.am:
17180         * gst/gstparse.h:
17181         * gst/gstutils.c:
17182         * gst/gstutils.h:
17183         Make things work with --disable-parse as they do with 
17184         --disable-load-save - the symbols involved disappear, but the
17185         header is still installed and GST_DISABLE_PARSE is included via
17186         gstconfig.h
17187
17188 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17189
17190         * libs/gst/base/gstbasetransform.c:
17191         (gst_base_transform_change_state): Fix a stupid bug. I was 
17192         sure I compiled that.
17193
17194 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17195
17196         * gst/gstpad.c: (gst_pad_set_blocked_async):
17197         * gst/gstutils.c: (gst_pad_add_data_probe),
17198         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17199         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17200         (gst_pad_remove_buffer_probe): Make those function act on the
17201         ghostpad target when it's a ghostpad. (Closes #331727)
17202
17203 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17204
17205         * libs/gst/base/gstbasetransform.c:
17206         (gst_base_transform_change_state): Make basetransform reusable.
17207         (Closes #331898)
17208
17209 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17210
17211         * docs/random/release:
17212         Move the current documentation of how to do a release to the top
17213         of the file.
17214
17215         * gst/gstbin.c: (gst_bin_class_init),
17216         (gst_bin_handle_message_func):
17217         Allow multiple state-recalculation threads. (Closes #328873)
17218
17219 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17220
17221         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17222         * gst/gstpad.c: (gst_pad_set_event_function),
17223         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17224         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17225         2 strings. You can't use the STR_NULL macro on that.
17226
17227 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17228
17229         * gst/gstpad.c: (gst_pad_set_event_function),
17230         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17231         (gst_pad_set_getcaps_function)
17232         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17233           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17234           So now, we can use --gst-debug-level=5 on Windows
17235         * win32/common/libgstcontroller.def:
17236           Added export of gst_controller_init
17237         * win32/vs6/libgstcontroller.dsp:
17238           Fixed Release post build configuration
17239
17240 2006-02-17  Wim Taymans  <wim@fluendo.com>
17241
17242         * tests/check/gst/gstquery.c: (GST_START_TEST):
17243         Added another check.
17244
17245 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17246
17247         * plugins/elements/gsttypefindelement.c: (find_peek):
17248           We can do peeks at non-zero offsets, as long as they
17249           fall within the buffer we have.
17250
17251 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17252
17253         * tests/check/Makefile.am:
17254         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17255         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17256         (parse_suite), (main):
17257           Add testsuite for parse launch syntax
17258
17259 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17260
17261         * plugins/elements/gsttypefindelement.c:
17262         (gst_type_find_element_chain):
17263           When typefinding is unsuccessful in the chain function, don't
17264           error out immediately. Only error out with NO_CAPS_FOUND if
17265           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17266           otherwise simply wait for more data so we can try typefinding
17267           again with more data later. Also, don't attempt to typefind
17268           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17269           this should improve typefinding from network sources where the
17270           size of the first buffer can be somewhat random.
17271
17272 2006-02-14  Wim Taymans  <wim@fluendo.com>
17273
17274         * docs/gst/gstreamer-sections.txt:
17275         * gst/gstpadtemplate.c:
17276         * gst/gstpadtemplate.h:
17277         Fix padtemplate docs, fixes #328805.
17278
17279 2006-02-14  Wim Taymans  <wim@fluendo.com>
17280
17281         * tools/gst-launch.c: (main):
17282         NO_PREROLL is not an ERROR so don't send confusing messages
17283         to the user.
17284
17285 2006-02-14  Wim Taymans  <wim@fluendo.com>
17286
17287         Patch by: Torsten Schoenfeld
17288
17289         * gst/gstregistry.c: (gst_registry_get_default),
17290         (_gst_registry_cleanup):
17291         Protect default registry with lock and ref/sink it.
17292         Fixes #324818
17293
17294 2006-02-14  Wim Taymans  <wim@fluendo.com>
17295
17296         * gst/gstbuffer.c:
17297         * gst/gstquery.c: (gst_query_list_add_format),
17298         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17299         (gst_query_parse_formats_nth):
17300         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17301         Docs fixes.
17302
17303 2006-02-14  Wim Taymans  <wim@fluendo.com>
17304
17305         * docs/gst/gstreamer-sections.txt:
17306         Reworked query docs.
17307
17308         * gst/gstquery.c: (gst_query_new_formats),
17309         (gst_query_list_add_format), (gst_query_set_formats),
17310         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17311         (gst_query_parse_formats_nth):
17312         * gst/gstquery.h:
17313         Flesh out formats query, added some new methods.
17314         Fix part of #324398.
17315
17316         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17317         Added query creation tests.
17318
17319 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17320
17321         * gst/gstpad.c: (fixate_value):
17322         Add a default fixation for fraction lists.
17323
17324 2006-02-13  Wim Taymans  <wim@fluendo.com>
17325
17326         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17327         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17328         (gst_task_join):
17329         * gst/gsttask.h:
17330         Detect and warn for obvious deadlocks. fixes #320340
17331         Fix error case where lock was not released.
17332
17333         * tests/check/Makefile.am:
17334         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17335         (task_func), (gst_element_suite), (main):
17336         Add task check.
17337
17338 2006-02-13  Wim Taymans  <wim@fluendo.com>
17339
17340         * docs/gst/gstreamer-sections.txt:
17341         * gst/gstbus.c:
17342         Add new functions to docs.
17343
17344 2006-02-13  Wim Taymans  <wim@fluendo.com>
17345
17346         * docs/design/part-TODO.txt:
17347         Updated TODO list, basesrc supports seeking to non-bytes
17348         formats.
17349
17350         * docs/design/part-element-sink.txt:
17351         Update docs.
17352
17353         * gst/gstbin.c: (bin_replace_message),
17354         (gst_bin_handle_message_func):
17355         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17356         * gst/gstevent.c: (gst_event_finalize):
17357         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17358         (gst_pad_send_event):
17359         Use shiny new _TYPE_NAME macros.
17360
17361         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17362         Move debug statement up.
17363
17364         * gst/gstelement.c: (gst_element_set_locked_state):
17365         Add some debugging.
17366
17367 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17368
17369         * docs/gst/gstreamer-sections.txt:
17370         * gst/gstmessage.h:
17371         * gst/gstquery.h:
17372           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17373           macros (#330906). Also, document the already existing
17374           GST_QUERY_TYPE macro.
17375
17376 2006-02-13  Wim Taymans  <wim@fluendo.com>
17377
17378         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17379         (event_probe), (GST_START_TEST):
17380         Only events up to the pipeline EOS are counted, there are
17381         some more when going to NULL currently which we don't care
17382         about for now.
17383
17384 2006-02-13  Wim Taymans  <wim@fluendo.com>
17385
17386         * gst/gstpad.c: (gst_pad_send_event):
17387         Correctly check flushing and emit probes. fixes #330125
17388
17389 2006-02-10  Andy Wingo  <wingo@pobox.com>
17390
17391         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17392         structure.
17393         (gst_bus_init): Cache the location of the private data in the
17394         instance structure.
17395         (gst_bus_enable_sync_message_emission) 
17396         (gst_bus_disable_sync_message_emission): Implement new public
17397         functions.
17398         (gst_bus_post): Emit the sync-message signal if the user asked for
17399         it. Fixes #330684.
17400
17401         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17402         location of the bus-private structure.
17403         (gst_bus_enable_sync_message_emission)
17404         (gst_bus_disable_sync_message_emission): API addition
17405
17406 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17407
17408         Patch by: Vincent Torri
17409
17410         * docs/pwg/building-boiler.xml:
17411         PWG patch from #326800
17412
17413 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17414
17415         * configure.ac:
17416         * docs/Makefile.am:
17417         * docs/design/Makefile.am:
17418           Dist design docs.
17419
17420 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17421
17422         * configure.ac:
17423           back to CVS
17424
17425 === release 0.10.3 ===
17426
17427 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17428
17429         * configure.ac:
17430           releasing 0.10.3, "Like a virgin"
17431
17432 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17433
17434         * configure.ac:
17435           2nd prerelease of 0.10.3
17436           Bump libtool versioning.
17437
17438 2006-02-07  Andy Wingo  <wingo@pobox.com>
17439
17440         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17441         update last_stop if we're in TIME format and the timestamp is
17442         valid.
17443
17444         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17445         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17446         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17447         If we get a new newsegment with a different format, adapt
17448         accordingly.
17449
17450         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17451         of 0. Not a problem, really.
17452
17453         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17454         warn if sync=true.
17455
17456 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17457
17458         * configure.ac:
17459           Prelease of 0.10.3
17460
17461 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17462
17463         * win32/vs7:
17464           project files updated to the default vs7 configuration
17465         * win32/common/libgstbase.def:
17466         * win32/common/libgstreamer.def:
17467           added new symbols,
17468           removed empty lines,
17469           sorted all exported symbols alphabetically
17470         * win32/common/dirent.c:
17471         * win32/common/dirent.h:
17472         * win32/common/gchar.h:
17473           use windows line end.
17474           
17475 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17476
17477         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17478           Send EOS event when stopping.
17479
17480 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17481
17482         * docs/README:
17483           Tell folks what to do if the plugin-foobar.xml file
17484           hasn't been generated for a newly-added plugin.
17485
17486 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17487
17488         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17489         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17490         (gst_collect_pads_start), (gst_collect_pads_stop),
17491         (gst_collect_pads_event): Collectpads now holds a reference
17492         to the GstPad that was added. Indeed we don't want to look
17493         at pads that might just go away with no warning...
17494
17495 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17496
17497         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17498         (gst_collect_pads_start), (gst_collect_pads_stop),
17499         (gst_collect_pads_event), (gst_collect_pads_chain):
17500         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17501         Mark Nauwelaerts's patch on bug #328491.
17502
17503 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17504
17505         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17506         (gst_utils_suite):
17507           Add some simple tests for gst_parse_bin_from_description() and
17508           gst_bin_find_unconnected_pad() (#329069).
17509
17510 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17511
17512         * tools/gst-launch.c: (event_loop), (main):
17513           Catch errors during preroll (#320084).
17514
17515 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17516
17517         * plugins/elements/gsttypefindelement.c:
17518         (gst_type_find_element_activate):
17519           Post TYPE_NOT_FOUND error message when typefinding
17520           is unsuccessful in the activate function as well.
17521
17522 2006-02-02  Wim Taymans  <wim@fluendo.com>
17523
17524         * docs/design/part-element-sink.txt:
17525         Updated doc.
17526
17527 2006-02-02  Wim Taymans  <wim@fluendo.com>
17528
17529         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17530         (gst_base_sink_render_object),
17531         (gst_base_sink_queue_object_unlocked):
17532         Only keep track of prerollable items when we are 
17533         prerolling.
17534         Before rendering after preroll, always check if we
17535         have queued items.
17536         Added some more debugging.
17537
17538 2006-02-02  Wim Taymans  <wim@fluendo.com>
17539
17540         * gst/gstelement.c: (gst_element_continue_state),
17541         (gst_element_set_state_func), (gst_element_change_state):
17542         Fixed #326576, been running this for quite some time with
17543         no regressions at all.
17544
17545 2006-02-02  Wim Taymans  <wim@fluendo.com>
17546
17547         * common/gst.supp:
17548         Added more suppressions
17549
17550 2006-02-02  Wim Taymans  <wim@fluendo.com>
17551
17552         * docs/design/part-element-sink.txt:
17553         Updated document.
17554
17555         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17556         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17557         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17558         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17559         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17560         (gst_base_sink_preroll_object),
17561         (gst_base_sink_queue_object_unlocked),
17562         (gst_base_sink_queue_object), (gst_base_sink_event),
17563         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17564         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17565         (gst_base_sink_get_position), (gst_base_sink_change_state):
17566         * libs/gst/base/gstbasesink.h:
17567         Totally refactored matching the design doc.
17568         Use two segments, one to clip incomming buffers and another to
17569         perform sync.
17570         Handle queueing correctly, bypass the queue when playing.
17571         Make EOS cancelable.
17572         Handle errors correctly when operating in pull based mode.
17573
17574         * tests/check/elements/fakesink.c: (GST_START_TEST),
17575         (fakesink_suite):
17576         Added new check for sinks.
17577
17578 2006-02-02  Wim Taymans  <wim@fluendo.com>
17579
17580         * gst/gstsegment.c: (gst_segment_clip):
17581         No reason to refuse to clip when start == -1
17582
17583 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17584
17585         * docs/README:
17586         * docs/manual/intro-basics.xml:
17587         * docs/manual/intro-preface.xml:
17588         * docs/manual/manual.xml:
17589         * docs/pwg/advanced-dparams.xml:
17590         * docs/pwg/intro-basics.xml:
17591         * docs/pwg/intro-preface.xml:
17592         * docs/pwg/pwg.xml:
17593           describe dparams (controller) for plugins
17594           unify docs a little more
17595
17596 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17597
17598         * docs/gst/gstreamer-sections.txt:
17599         * gst/gstutils.c: (element_find_unconnected_pad),
17600         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17601         * gst/gstutils.h:
17602           Add new API: gst_parse_bin_from_description() and
17603           gst_bin_find_unconnected_pad() (#329069).
17604
17605 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17606
17607         * docs/manual/README:
17608           uncover a nasty detail of the docs build
17609
17610 2006-01-31  Wim Taymans  <wim@fluendo.com>
17611
17612         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17613         Don't cache duration messages if we're not going to use or
17614         free them.
17615
17616 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17617
17618         * docs/manual/advanced-dparams.xml:
17619         * docs/pwg/advanced-dparams.xml:
17620           more dparam docs
17621         * gst/gstindex.c:
17622           fix docs
17623         * libs/gst/controller/lib.c: (gst_controller_init):
17624           init just once
17625
17626 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17627
17628         * gst/gstelement.c: (gst_element_message_full):
17629           also show file/line/func if no additional debug was given
17630
17631 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17632         
17633         * win32/vs7/grammar.vcproj:
17634           activate copy of autogenerated files for Release mode
17635
17636 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17637         
17638         * win32/common/libgstreamer.def:
17639           export gst_value_compare
17640
17641 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17642
17643         * plugins/elements/Makefile.am:
17644         * plugins/elements/gstelements.c:
17645         * plugins/elements/gstfdsink.c: (_do_init),
17646         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17647         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17648         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17649         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17650         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17651         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17652         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17653         * plugins/elements/gstfdsink.h:
17654         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17655
17656 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17657
17658         * docs/manual/advanced-dparams.xml:
17659           describe controller
17660         * docs/manual/advanced-position.xml:
17661         * docs/manual/basics-init.xml:
17662         * docs/manual/manual.xml:
17663         * docs/manual/titlepage.xml:
17664         * docs/pwg/pwg.xml:
17665         * docs/pwg/titlepage.xml:
17666           cleanup xml (more to come)
17667         * libs/gst/controller/gstcontroller.c:
17668           fix typo
17669
17670 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17671         
17672         * win32/vs6/grammar.dsp:
17673           add autogen of gstmarshal.c,h for Release mode
17674                 
17675 2006-01-30  Wim Taymans  <wim@fluendo.com>
17676
17677         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17678         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17679         (gst_base_sink_handle_object), (gst_base_sink_event),
17680         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17681         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17682         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17683         (gst_base_sink_deactivate), (gst_base_sink_activate),
17684         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17685         (gst_base_sink_query), (gst_base_sink_change_state):
17686         Basesink cleanups, remove some old code.
17687         Handle the case where a subclass can preroll in the render
17688         method (mostly audiosinks).
17689         Handle more events.
17690         Remove some locks around variables that are now protected
17691         with the PREROLL_LOCK (clock_id, flushing, ..).
17692         Optimize position query some more, do correct locking.
17693         Remove old code to push queue in state change, this is not
17694         needed anymore since preroll blocks on all prerollable items 
17695         now.
17696         Almost implemented as described in design doc.
17697
17698 2006-01-30  Wim Taymans  <wim@fluendo.com>
17699
17700         * tests/check/gst/gstbin.c: (GST_START_TEST):
17701         Wait for refcount to settle down before checking.
17702
17703 2006-01-30  Wim Taymans  <wim@fluendo.com>
17704
17705         * docs/design/part-element-sink.txt:
17706         Pseudo code overview of desired sink behaviour regarding
17707         preroll.
17708
17709 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17710         * win32/vs6/grammar.dsp:
17711           fix some bugs in Release mode for autogenerated files
17712                 
17713 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17714         * win32/common/libgstbase.def:
17715         * win32/common/libgstreamer.def:
17716           export some new symbols: gst_base_src_set_format,
17717           gst_iterator_next, gst_structure_set_valist
17718
17719 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17720
17721         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17722         Set pad functions unconditionally. Fixes #329105.
17723
17724 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17725         * win32/vs8:
17726           add vs8 project files created by Sergey Scobich
17727
17728 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17729
17730         * gst/gstutils.c: (gst_element_unlink_pads):
17731         Don't leak pad references.
17732
17733         * tests/check/elements/fakesink.c: (GST_START_TEST):
17734         * tests/check/generic/sinks.c: (GST_START_TEST):
17735         * tests/check/generic/states.c: (GST_START_TEST):
17736         * tests/check/gst/gstbin.c: (GST_START_TEST):
17737         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17738         * tests/check/gst/gstelement.c: (GST_START_TEST):
17739         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17740         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17741         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17742         Fix a bunch of leaks. Make generic/sinks.c
17743         use a bit less cpu by slowing the buffer rate
17744         between fakesrc and fakesink.
17745         
17746 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17747         * gst/gstcaps.c:
17748         * gst/gstelement.c: (gst_element_send_event):
17749         * gst/gstevent.c:
17750         * gst/gstinfo.c:
17751         * gst/gstiterator.c:
17752         * gst/gstiterator.h:
17753         * gst/gstpad.c: (gst_pad_send_event):
17754         * gst/gststructure.c:
17755         * gst/gsturi.c:
17756         * gst/gstutils.c:
17757         * gst/gstvalue.c:
17758         * libs/gst/base/gstadapter.c:
17759           doc fixes, to link to function, just write gst_cool_function(), don't
17760           prefix with '#'
17761
17762 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17763
17764         * plugins/elements/gsttee.c: (gst_tee_do_push),
17765         (gst_tee_handle_buffer):
17766         Always prefer an actual return value from a src
17767         pad in place of NOT_LINKED. This means we return
17768         WRONG_STATE when all src pads are WRONG_STATE
17769         instead of NOT_LINKED.
17770
17771         Lock when replacing the last message to prevent
17772         racing with the get_property method.
17773
17774         Add debug output
17775
17776 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17777
17778         * tests/check/Makefile.am:
17779         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17780         (main):
17781         Add a very simple check that should have caught the memleak I fixed
17782         last night (if not for the slice allocator hiding it)
17783
17784 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17785
17786         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17787         (gst_bin_remove_func), (gst_bin_handle_message_func),
17788         (bin_query_duration_fold), (bin_query_generic_fold):
17789         Clean up references to the clock provider when disposed or when
17790         handling a clock-lost message from it.
17791
17792         Unref sinks when performing a query via gst_iterator_fold, as the
17793         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17794
17795         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17796         (gst_clock_set_master):
17797         Drop our reference to the master clock, if any, when we are disposed.
17798
17799         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17800         Chain up in dispose. 
17801
17802 2006-01-26  Wim Taymans  <wim@fluendo.com>
17803
17804         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17805         Add some debugging.
17806
17807 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17808
17809         * plugins/elements/gsttee.c: (gst_tee_do_push),
17810         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17811         handles pad being NOT_LINKED or in WRONG_STATE.
17812
17813 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17814
17815         * win32/MANIFEST:
17816           more updating
17817
17818 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17819
17820         * win32/MANIFEST:
17821           remove obsolete entry
17822
17823 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17824
17825         * docs/gst/gstreamer-sections.txt:
17826         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17827         (gst_bin_iterate_sources), (gst_bin_send_event):
17828         * gst/gstbin.h:
17829         * gst/gstelement.c: (gst_element_send_event):
17830         * gst/gstevent.c:
17831         * gst/gstpad.c: (gst_pad_send_event):
17832           added code for downstream events, reviewed docs in gstevent.c
17833
17834 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17835
17836         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17837         We only query position using the clock in the playing state.
17838         Query peer in the other cases.
17839         * win32/common/config.h: Updates.
17840
17841 2006-01-24  Wim Taymans  <wim@fluendo.com>
17842
17843         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17844         A clock entry that is scheduled for the exact time of the
17845         clock is still in time.
17846
17847         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17848         (gst_base_sink_do_sync):
17849         Add some more debug info.
17850
17851 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17852
17853         * win32/vs7:
17854           Add new vs7 project files and solution.
17855
17856 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17857
17858         * win32/vs7:
17859           all files removed as they were out-dated.
17860
17861 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17862
17863         * docs/random/release:
17864           update notes
17865         * gst/gstbin.c: (gst_bin_init):
17866         * gst/gstbus.c: (gst_bus_new):
17867         * gst/gstbus.h:
17868         * gst/gstpipeline.c: (gst_pipeline_init):
17869           use gst_bus_new(), improve logging, fix docs
17870         * win32/common/config.h:
17871           update for cvs build
17872
17873 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17874
17875         * autogen.sh:
17876           up required version of automake to 1.7
17877
17878 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17879
17880         * win32/common/libgstreamer.def:
17881           export gst_buffer_is_metadata_writable
17882
17883 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17884
17885         * docs/gst/gstreamer-sections.txt:
17886         * gst/gstevent.h:
17887           Add gst_event_replace() (#327001)
17888
17889 2006-01-20  Wim Taymans  <wim@fluendo.com>
17890
17891         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17892         Make it actually compile too..
17893
17894 2006-01-20  Wim Taymans  <wim@fluendo.com>
17895
17896         * gst/gstcaps.c:
17897         Clarify behaviour of _is_equal() when passing NULL parameters.
17898
17899         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17900         (gst_pad_set_caps):
17901         Cleanups. Don't unref NULL caps.
17902         When setting the same caps, protect caps of the pad with
17903         proper lock.
17904         Use full functionality of _is_equal() when comparing caps.
17905
17906 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17907
17908         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17909         Don't loop infinitely if there are no buffers to present. Partially
17910         fixes #327197, but collectpads is just broken for reusing elements
17911         to do multiple encodes atm.
17912
17913 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17914
17915         * tools/gst-inspect.c: (print_element_features):
17916         * tools/gst-xmlinspect.c: (main):
17917         URL_HANDLER is not a plugin feature we can search for in
17918         the registry.
17919
17920 2006-01-19  Edward Hervey  <edward@fluendo.com>
17921
17922         * gst/gstelement.c: (gst_element_pads_activate): 
17923         When activating, do src pads first, then sink pads.
17924         When de-activating, do sink pads first, then src pads.
17925
17926 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17927
17928         * docs/gst/gstreamer-sections.txt:
17929         Add gst_index_add_associationv to the docs
17930
17931 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17932
17933         * gst/gstevent.c:
17934           Fix docs typo
17935
17936         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17937         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17938           Do some refactoring. Doesn't actually change functionality,
17939           but makes landing the DRAIN event easier later.
17940
17941 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17942
17943         * docs/pwg/advanced-scheduling.xml:
17944           Update from 0.9.x to 0.10 API and make example a bit
17945           clearer.
17946
17947 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17948
17949         * docs/gst/gstreamer-sections.txt:
17950         Add gst_buffer_(is|make)_metadata_writable methods.
17951
17952 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17953
17954         * docs/design/part-sparsestreams.txt:
17955         Update sparse streams doc, hopefully for greater clarity
17956
17957 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17958
17959         * docs/design/part-events.txt:
17960         Remove mention of FILLER events.
17961         Add DRAIN event.
17962
17963         * docs/design/part-sparsestreams.txt:
17964         Write some things about using NEWSEGMENT to keep sparse streams
17965         flowing.
17966
17967 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17968
17969         * gst/gstbin.c: (gst_bin_dispose):
17970           Guard gst_object_unref call against a NULL object (dispose
17971           can theoretically be called multiple times).
17972           
17973 2006-01-18  Wim Taymans  <wim@fluendo.com>
17974
17975         * gst/gstbin.c: (gst_bin_element_set_state):
17976         * gst/gstclock.c: (gst_clock_id_wait):
17977         Added some more debug info.
17978
17979         * libs/gst/base/gstadapter.c:
17980         Added more docs.
17981
17982         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17983         (gst_base_sink_do_sync), (gst_base_sink_chain):
17984         Added some comments.
17985
17986 2006-01-18  Wim Taymans  <wim@fluendo.com>
17987
17988         * tests/check/Makefile.am:
17989         * tests/check/elements/fakesink.c: (chain_async_buffer),
17990         (chain_async), (chain_async_return), (GST_START_TEST),
17991         (fakesink_suite), (main):
17992         Added fakesink test that checks prerolling and clipping
17993         behaviour.
17994
17995         * tests/check/gst/gstutils.c: (GST_START_TEST):
17996         Make check run faster so that buildbots don't timeout.
17997
17998 2006-01-18  Wim Taymans  <wim@fluendo.com>
17999
18000         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18001         (gst_base_sink_do_sync):
18002         Some cleanups.
18003         When the sink finishes blocking on the preroll buffer, it can
18004         immediatly render it instead of rendering when the next buffer
18005         arrives.
18006
18007 2006-01-18  Wim Taymans  <wim@fluendo.com>
18008
18009         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18010         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18011         (gst_base_sink_chain):
18012         Small cleanups.
18013         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18014         Don't store _last_stop if the buffer is dropped.
18015
18016 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18017
18018         * plugins/elements/gsttypefindelement.c:
18019         (gst_type_find_element_class_init):
18020           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18021           object method handler that sets the caps on the pad and we want
18022           that to happen before we emit the signal (fixes e.g. feeding a
18023           plain text file to decodebin).
18024
18025 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18026
18027         * gst/gstplugin.c: Add MPL and Proprietary as license options
18028
18029 2006-01-18  Andy Wingo  <wingo@pobox.com>
18030
18031         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18032         symbol was exported before, it appears this was just an oversight.
18033         Fixes #168703.
18034         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18035
18036         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18037         prototype to gint. OK since this prototype was not in the header.
18038
18039 2006-01-17  Andy Wingo  <wingo@pobox.com>
18040
18041         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18042         registry while we remove plugins.
18043
18044         * tools/gst-inspect.c (print_element_info): Don't unref the
18045         factory arg, that should be the responsibility of whatever code
18046         received the ref. Fixes a double-free when called from
18047         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18048         (main): Unref the factory if we have one.
18049         (print_element_list): No change -- relies on the
18050         plugin_feature_list_free to free the list of features.
18051
18052 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18053
18054         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18055         (gst_buffer_make_metadata_writable):
18056         * gst/gstbuffer.h:
18057         * libs/gst/base/gstbasetransform.c:
18058         (gst_base_transform_prepare_output_buf):
18059         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18060         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18061           Replace gst_buffer_(make|is)_metadata_writable patch now
18062           that the release is out.
18063
18064 2006-01-17  Andy Wingo  <wingo@pobox.com>
18065
18066         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18067         in the present tense without reference to versions.
18068
18069         * gst/gstregistry.c (gst_registry_add_plugin)
18070         (gst_registry_remove_plugin, gst_registry_remove_feature)
18071         (gst_registry_find_feature, gst_registry_get_feature_list)
18072         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18073         (gst_registry_lookup, gst_registry_scan_path)
18074         (_gst_registry_remove_cache_plugins)
18075         (gst_registry_get_feature_list_by_plugin): Add argument
18076         validation.
18077
18078 === release 0.10.2 ===
18079
18080 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18081
18082         * configure.ac:
18083           releasing 0.10.2, "If man is five"
18084
18085 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18086
18087         * gst/gstbuffer.c:
18088         * gst/gstbuffer.h:
18089         * libs/gst/base/gstbasetransform.c:
18090         (gst_base_transform_prepare_output_buf):
18091         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18092         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18093           Back out patch until after the release.
18094
18095 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18096
18097         * gst/gstminiobject.c:
18098           Spelling fix in docs.
18099         * ChangeLog - remove conflict indicator
18100
18101 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18102
18103         Reviewed By: Andy Wingo
18104
18105         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18106         (gst_buffer_make_metadata_writable):
18107         * gst/gstbuffer.h:
18108           Add gst_buffer_(is|make)_metadata_writable as analogues of
18109           gst_buffer_(is|make)_writable.
18110
18111         * libs/gst/base/gstbasetransform.c:
18112         (gst_base_transform_prepare_output_buf):
18113         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18114           Use name gst_buffer_(is|make)_metadata_writable functions.
18115
18116         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18117           Test gst_buffer_(is|make)_metadata_writable
18118         
18119           (Closes: #324162)
18120
18121 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18122
18123         * docs/manual/Makefile.am:
18124           don't do parallel make
18125         * configure.ac:
18126           AC_SUBST HOST_CPU
18127         * win32/common/config.h.in:
18128           add generations for HOST_CPU and GST_MAJORMINOR
18129         * win32/common/config.h:
18130           commit generated result
18131
18132 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18133
18134         * docs/manual/appendix-integration.xml:
18135           Update GNOME integration section to use gst_init_get_option_group()
18136           instead of the old popt stuff (#322911). Also, GNOME applications
18137           should  now use gconf*sink and gconf*src instead of the old gconf
18138           helper lib we had.
18139
18140 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18141
18142
18143         * docs/gst/gstreamer-docs.sgml:
18144         * docs/gst/gstreamer-sections.txt:
18145         * docs/libs/gstreamer-libs-sections.txt:
18146           add new API entries to the docs
18147         * libs/gst/controller/Makefile.am:
18148         * libs/gst/controller/gstcontroller.c:
18149         * libs/gst/controller/gstcontroller.h:
18150         * libs/gst/controller/gstcontrollerprivate.h:
18151         * libs/gst/controller/gsthelper.c:
18152         * libs/gst/controller/gstinterpolation.c:
18153           move private structs to private header
18154         * po/README:
18155           gstreamer-0.7 -> gstreamer-0.10
18156         * tests/check/libs/struct_i386.h:
18157           remove private structs
18158
18159 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18160
18161         * plugins/indexers/Makefile.am:
18162           Fixes as part of #317048
18163
18164 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18165
18166         * plugins/indexers/Makefile.am:
18167           fix #316086 - compilation when mmap is missing
18168
18169 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18170
18171         * libs/gst/base/gstbasesink.c:
18172           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18173           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18174         * win32/common/config.h:
18175           added some defines GST_MAJORMINOR and HOST_CPU
18176         * win32/common/libgstbase.def:
18177         * win32/common/libgstreamer.def:
18178           added some exported functions.
18179
18180 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18181
18182         * libs/gst/controller/gstcontroller.c:
18183         (gst_controlled_property_set_interpolation_mode),
18184         (gst_controlled_property_new):
18185         * libs/gst/controller/gstcontroller.h:
18186         * libs/gst/controller/gstinterpolation.c:
18187         (interpolate_none_get_string_value_array):
18188           make G_TYPE_STRING controlable
18189
18190 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18191
18192         * tools/README:
18193         * tools/gst-feedback.1.in:
18194         * tools/gst-inspect.1.in:
18195         * tools/gst-launch.1.in:
18196         * tools/gst-md5sum.1.in:
18197         * tools/gst-typefind.1.in:
18198         * tools/gst-xmlinspect.1.in:
18199         * tools/gst-xmllaunch.1.in:
18200           cleanup man-pages, remove reference to gst-register, document env-vars
18201
18202 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18203
18204         * gst/gstbuffer.c: (gst_buffer_span):
18205           gst_buffer_span should copy the timestamp of the first buffer
18206           if they were both originally overlapping subbuffers of the 
18207           same parent, using the same logic as the 'slow copy' case.
18208
18209 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18210
18211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18212           Need to awaken ALL the pads when we pop a buffer, otherwise
18213           collectpads only works when there is 2 input streams.
18214
18215 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18216
18217         * docs/random/ensonic/media-device-daemon.txt:
18218           more ideas (dbus)
18219         * gst/gstbuffer.c:
18220           fix doc example, add clarification
18221         * tools/gst-launch.1.in:
18222           add initial info about GST_PLUGIN_PATH, needs more work
18223
18224 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18225
18226         * docs/manual/basics-bins.xml:
18227         * docs/manual/basics-elements.xml:
18228         * docs/manual/intro-basics.xml:
18229           Some more minor docs additions and updates.
18230
18231 2006-01-11  Wim Taymans  <wim@fluendo.com>
18232
18233         * docs/manual/basics-bins.xml:
18234         * docs/manual/basics-elements.xml:
18235         Some small fixes as pointed out by Ser-ver on IRC.
18236
18237 2006-01-10  Edward Hervey  <edward@fluendo.com>
18238
18239         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18240         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18241         the single-segment mode.
18242
18243 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18244
18245         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18246
18247         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18248         (gst_base_src_perform_seek), (gst_base_src_send_event),
18249         (gst_base_src_set_property), (gst_base_src_get_property),
18250         (gst_base_src_loop), (gst_base_src_start),
18251         (gst_base_src_activate_push):
18252         * libs/gst/base/gstbasesrc.h:
18253           Name (private) union; makes Sun's Forte compiler happy (#324900).
18254
18255 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18256
18257         * README:
18258           gst-register is gone.
18259
18260 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18261
18262         * gst/gstvalue.c: (_gst_value_initialize):
18263           make the G_TYPE_DATE instantiation work if debug is disabled
18264
18265 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18266
18267         * gst/gstmessage.c: (gst_message_parse_tag),
18268         (gst_message_parse_error), (gst_message_parse_warning):
18269           Don't crash when return location for error/warning debug
18270           string is NULL; add fact that return locations can be
18271           NULL to docs where appropriate.
18272
18273 2006-01-05  Wim Taymans  <wim@fluendo.com>
18274
18275         * gst/gstplugin.c: (gst_plugin_load_file):
18276         Replace strdup by g_strdup.
18277
18278 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18279
18280         * docs/pwg/advanced-types.xml:
18281           fix doc borkage
18282
18283 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18284
18285         submitted by: Abel Cheung
18286
18287         * po/LINGUAS:
18288         * po/zh_TW.po:
18289           Added Chinese (traditional) translation
18290
18291 2006-01-04  Wim Taymans  <wim@fluendo.com>
18292
18293         * docs/manual/basics-pads.xml:
18294         * docs/plugins/Makefile.am:
18295         * docs/plugins/gstreamer-plugins-docs.sgml:
18296         * docs/plugins/gstreamer-plugins-sections.txt:
18297         * docs/pwg/advanced-clock.xml:
18298         * docs/pwg/advanced-scheduling.xml:
18299         * docs/pwg/advanced-types.xml:
18300         * plugins/elements/gstfdsink.c:
18301         * plugins/elements/gstfdsrc.c:
18302         * plugins/elements/gstfdsrc.h:
18303         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18304         * plugins/elements/gstidentity.h:
18305         * plugins/elements/gstqueue.h:
18306         * plugins/elements/gsttee.c:
18307         * plugins/elements/gsttee.h:
18308         * plugins/elements/gsttypefindelement.c:
18309         (gst_type_find_element_class_init):
18310         * plugins/elements/gsttypefindelement.h:
18311         Small updates to various docs.
18312         Added core plugins to docs.
18313
18314 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18315
18316         * common/gst.supp:
18317           add a suppression for liboil's uninitialized variable
18318
18319 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18320
18321         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18322
18323         * gst/gstutils.h:
18324           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18325           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18326           compiler switch is being used (#325429).
18327
18328 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18329
18330         * gst/gstbin.c: (gst_bin_query):
18331           Disable duration query caching in bins until it gets
18332           fixed (see #324807).
18333
18334 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18335
18336         * tools/gst-inspect.c: (print_element_properties_info):
18337           Handle properties of POINTER and BOXED type.
18338
18339 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18340
18341         * gst/gst.c: (init_post):
18342           Init tags stuff and some other things before loading
18343           any static plugins (there may be other static plugins
18344           than just the GStreamer ones, and they may want to
18345           register their own tags or formats or whatever, and
18346           preferably without segfaulting).
18347
18348         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18349           Print at least a warning in the debug logs if we drop a
18350           query just because we don't know how to adjust the value
18351           in the particular format.
18352
18353 2005-12-24  David Schleef  <ds@schleef.org>
18354
18355         * tools/gstreamer-completion:
18356           Replacement for gst-complete written in sh and sed.  Only
18357           completes names of features, but that's 90% of what I want
18358           it for.  Properties are not available in registry.xml.  (Maybe
18359           they should be...)
18360
18361 === release 0.10.1 ===
18362
18363 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18364
18365         * configure.ac:
18366           releasing 0.10.1, "Nollaig chridheil"
18367
18368 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18369
18370         * docs/faq/cvs.xml:
18371           Add missing quote, should be make ERROR_CFLAGS="".
18372
18373 2005-12-20  Wim Taymans  <wim@fluendo.com>
18374
18375         * docs/design/part-trickmodes.txt:
18376         More documentation on trickmodes.
18377
18378 2005-12-20  Edward Hervey  <edward@fluendo.com>
18379
18380         * gst/gstcaps.c: (gst_static_caps_get_type):
18381         * gst/gstcaps.h:
18382           API addition: GST_TYPE_STATIC_CAPS
18383         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18384         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18385         * gst/gstpadtemplate.h:
18386           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18387         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18388         bindings.
18389
18390 2005-12-18  Wim Taymans  <wim@fluendo.com>
18391
18392         * libs/gst/base/gstadapter.c:
18393         * libs/gst/base/gstadapter.h:
18394         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18395         (gst_base_sink_get_position):
18396         * libs/gst/base/gstbasesink.h:
18397         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18398         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18399         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18400         (gst_base_src_send_event), (gst_base_src_update_length),
18401         (gst_base_src_get_range), (gst_base_src_loop),
18402         (gst_base_src_start):
18403         * libs/gst/base/gstbasesrc.h:
18404         * libs/gst/base/gstbasetransform.h:
18405         * libs/gst/base/gstcollectpads.h:
18406         * libs/gst/base/gstpushsrc.c:
18407         * libs/gst/base/gstpushsrc.h:
18408         * libs/gst/dataprotocol/dataprotocol.c:
18409         * libs/gst/dataprotocol/dataprotocol.h:
18410         * libs/gst/net/gstnetclientclock.h:
18411         * libs/gst/net/gstnettimeprovider.h:
18412         Documentation updates.
18413
18414 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18415
18416         * docs/manual/basics-helloworld.xml:
18417           Remove superfluous closing bracket in helloworld example.
18418
18419 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18420
18421         * tools/gst-launch.1.in:
18422           Update gst-launch man page; add a section with useful
18423           environment variables. Fixes #323882.
18424
18425 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18426
18427         * gst/gst.c:
18428         * gst/gst_private.h:
18429           change some char* into char[]
18430
18431 2005-12-16  Wim Taymans  <wim@fluendo.com>
18432
18433         * gst/gstregistryxml.c: (load_feature):
18434         Cleanups.
18435         Don't use g_object_unref on GstObjects so that we avoid
18436         leaks on unsafe glibs.
18437
18438 2005-12-16  Wim Taymans  <wim@fluendo.com>
18439
18440         * gst/gstbin.c: (gst_bin_recalc_state):
18441         Small doc updates.
18442
18443 2005-12-16  Wim Taymans  <wim@fluendo.com>
18444
18445         * common/check.mak:
18446         Added make forever target for check.
18447
18448 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18449
18450         * gst/gst.c: (init_post):
18451           make the registry cache file HOST_CPU-dependent
18452
18453 2005-12-16  Andy Wingo  <wingo@pobox.com>
18454
18455         * plugins/elements/gstbufferstore.c
18456         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18457         return value.
18458
18459         * tests/check/gst/gstobject.c
18460         (test_fake_object_name_threaded_unique): Pay attention to
18461         g_list_sort return value.
18462
18463 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18464
18465         * tools/gst-feedback-m.m:
18466           Update for 0.9/0.10 (fixes #323870).
18467
18468 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18469
18470         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18471           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18472           
18473         * tests/check/gst/gstminiobject.c: (my_foo_init),
18474         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18475         (test_value_collection), (gst_mini_object_suite):
18476           Add test to ensure refcounts end up as expected when passing
18477           GstMiniObjects through g_object_get() and g_object_set().
18478
18479 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18480
18481         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18482         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18483         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18484         of collectpads. This version removes a lot of races without
18485         touching API/ABI. Yay !
18486
18487 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18488
18489         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18490           Don't allow activation of a srcpad in pull_range if it has no
18491           getrange function.
18492           Change some debug statements to be a little clearer
18493
18494         * plugins/elements/gsttypefindelement.c:
18495         (gst_type_find_handle_src_query):
18496           Check that we have a peer before executing queries thereupon.
18497
18498         * tests/examples/metadata/read-metadata.c: (message_loop):
18499           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18500           immediately return us any available message with 0 timeout.
18501
18502 2005-12-12  Michael Smith  <msmith@fluendo.com>
18503
18504         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18505           Don't unref factories after calling them.
18506         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18507         * plugins/elements/gsttypefindelement.c:
18508         (gst_type_find_element_chain):
18509           Free lists of factories after using them. Fixing typefinding memory
18510           leaks.
18511
18512 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18513
18514         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18515         (gst_plugin_feature_load):
18516           more meaningful debug output
18517         * configure.ac:
18518         * tests/Makefile.am:
18519         * tests/old/examples/Makefile.am:
18520           make make distcheck happy again
18521
18522 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18523
18524         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18525           Catch the special case where we are operating chain-based,
18526           but the downstream peer pad has no chain function. Emit a
18527           custom error message in this case instead of letting the
18528           core generate one implying that this is some sort of core
18529           bug. It's not, it just means that whatever got plugged
18530           into the pipeline downstream when we announced the type
18531           can only operate pull-based, while our source can only
18532           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18533           Error string has not been marked for translation yet, as
18534           it probably needs some more work first.
18535
18536         (gst_type_find_element_get_best_possibility):
18537           Add helper function to find the best of all available
18538           found possibilities that qualify given the min. threshold.
18539
18540         (gst_type_find_element_handle_event):
18541           Fix the case where we get an EOS while still in TYPEFIND
18542           mode (we want to chose the best of all possible types,
18543           not just the first type that happens to be in our unsorted
18544           list of possible types).
18545
18546         (gst_type_find_element_chain):
18547           Make sure we return GST_FLOW_ERROR when we errored out
18548           in stop_typefinding(); also, don't just find the best of
18549           all found type entries and then use the last examined
18550           type entry, but actually use the best entry.
18551
18552 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18553
18554         * tests/examples/typefind/typefind.c: (type_found):
18555         * tests/examples/xml/runxml.c: (xml_loaded):
18556           More gcc4 fixes and a mem leak fix.
18557
18558 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18559
18560         * tests/examples/xml/createxml.c: (object_saved):
18561           gcc 4 fixes
18562
18563 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18564
18565         * tests/Makefile.am:
18566           enable the examples even more
18567
18568 2005-12-12  Andy Wingo  <wingo@pobox.com>
18569
18570         * libs/gst/net/gstnettimeprovider.c
18571         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18572         (gst_net_time_provider_set_property)
18573         (gst_net_time_provider_get_property):
18574         API addition: Export "active" as a GObject property.
18575         (gst_net_time_provider_thread): Only respond to time queries if
18576         the time provider is active.
18577
18578         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18579         NetTimeProvider, preserving binary compat.
18580
18581 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18582
18583         * tests/examples/controller/audio-example.c: (main):
18584         * tests/examples/launch/Makefile.am:
18585           convert comments again
18586
18587 2005-12-12  Wim Taymans  <wim@fluendo.com>
18588
18589         * libs/gst/base/gstpushsrc.c:
18590         Fix typo.
18591
18592 2005-12-12  Wim Taymans  <wim@fluendo.com>
18593
18594         * docs/libs/gstreamer-libs-sections.txt:
18595         Added new symbol to docs.
18596
18597         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18598         (gst_base_src_init), (gst_base_src_set_format),
18599         (gst_base_src_default_query), (gst_base_src_query),
18600         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18601         (gst_base_src_perform_seek), (gst_base_src_send_event),
18602         (gst_base_src_default_event), (gst_base_src_event_handler),
18603         (gst_base_src_set_property), (gst_base_src_get_property),
18604         (gst_base_src_wait), (gst_base_src_do_sync),
18605         (gst_base_src_update_length), (gst_base_src_get_range),
18606         (gst_base_src_check_get_range), (gst_base_src_loop),
18607         (gst_base_src_default_negotiate), (gst_base_src_start),
18608         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18609         (gst_base_src_change_state):
18610         * libs/gst/base/gstbasesrc.h:
18611         Implement seeking to other formats than _BYTES.
18612         Implement more seeking methods correctly.
18613         Doc updates.
18614         Added query vmethod.
18615         Added do_seek vmethod to make life easier for subclasses
18616         when seeking.
18617         API addition: gst_base_src_set_format()
18618
18619 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18620
18621         * tests/examples/Makefile.am:
18622           added that too
18623
18624 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18625
18626         * configure.ac:
18627         * docs/random/ensonic/media-device-daemon.txt:
18628         * tests/examples/controller/.cvsignore:
18629         * tests/examples/controller/Makefile.am:
18630         * tests/examples/controller/audio-example.c: (main):
18631         * tests/examples/helloworld/.cvsignore:
18632         * tests/examples/helloworld/Makefile.am:
18633         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18634         * tests/examples/launch/.cvsignore:
18635         * tests/examples/launch/Makefile.am:
18636         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18637         * tests/examples/metadata/.cvsignore:
18638         * tests/examples/metadata/Makefile.am:
18639         * tests/examples/metadata/read-metadata.c: (message_loop),
18640         (make_pipeline), (print_tag), (main):
18641         * tests/examples/queue/.cvsignore:
18642         * tests/examples/queue/Makefile.am:
18643         * tests/examples/queue/queue.c: (event_loop), (main):
18644         * tests/examples/typefind/.cvsignore:
18645         * tests/examples/typefind/Makefile.am:
18646         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18647         (main):
18648         * tests/examples/xml/.cvsignore:
18649         * tests/examples/xml/Makefile.am:
18650         * tests/examples/xml/createxml.c: (object_saved), (main):
18651         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18652         * tests/old/examples/Makefile.am:
18653         * tests/old/examples/TODO:
18654         * tests/old/examples/controller/.cvsignore:
18655         * tests/old/examples/controller/Makefile.am:
18656         * tests/old/examples/controller/audio-example.c:
18657         * tests/old/examples/helloworld/.cvsignore:
18658         * tests/old/examples/helloworld/Makefile.am:
18659         * tests/old/examples/helloworld/helloworld.c:
18660         * tests/old/examples/launch/.cvsignore:
18661         * tests/old/examples/launch/Makefile.am:
18662         * tests/old/examples/launch/mp3parselaunch.c:
18663         * tests/old/examples/launch/mp3play:
18664         * tests/old/examples/manual/Makefile.am:
18665         * tests/old/examples/metadata/Makefile.am:
18666         * tests/old/examples/metadata/read-metadata.c:
18667         * tests/old/examples/queue/.cvsignore:
18668         * tests/old/examples/queue/Makefile.am:
18669         * tests/old/examples/queue/queue.c:
18670         * tests/old/examples/typefind/.cvsignore:
18671         * tests/old/examples/typefind/Makefile.am:
18672         * tests/old/examples/typefind/typefind.c:
18673         * tests/old/examples/xml/.cvsignore:
18674         * tests/old/examples/xml/Makefile.am:
18675         * tests/old/examples/xml/createxml.c:
18676         * tests/old/examples/xml/runxml.c:
18677           applied some simple fixing to some examples
18678           re-enabled the working examples
18679
18680 2005-12-12  Wim Taymans  <wim@fluendo.com>
18681
18682         * gst/gstsegment.c: (gst_segment_init),
18683         (gst_segment_set_last_stop), (gst_segment_set_seek),
18684         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18685         (gst_segment_to_running_time):
18686         Added more documentation.
18687         Make sure the last_pos value is updated properly.
18688         Make sure to_stream_time and to_running_time don't
18689         operate on wrong values.
18690
18691         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18692         Update check.
18693
18694 2005-12-12  Michael Smith  <msmith@fluendo.com>
18695
18696         * plugins/elements/gsttypefindelement.c: (free_entry),
18697         (gst_type_find_element_chain):
18698           Now that we're not leaking factories, make sure we keep references
18699           to them while we need them.
18700
18701 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18702
18703         * tests/check/gst/struct_i386.h:
18704           ifdef out the XML structs
18705
18706 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18707
18708         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18709           floor is not needed, F is always positive; this obviates the
18710           need for adding -lm when building without libxml
18711
18712 2005-12-12  Wim Taymans  <wim@fluendo.com>
18713
18714         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18715         Take current playback rate into account when reporting
18716         the position.
18717
18718 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18719
18720         * docs/manual/mime-world.fig:
18721           Let's try this again, this time with a file that is
18722           actually in XFig format.
18723
18724 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18725
18726         * docs/manual/mime-world.fig:
18727           Add audioconvert element to diagram so that it
18728           matches the text and the code (fixes #319526).
18729
18730 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18731
18732         * docs/pwg/building-chainfn.xml:
18733         * docs/pwg/building-pads.xml:
18734         * docs/pwg/building-state.xml:
18735         * docs/pwg/other-source.xml:
18736           Update state change stuff for 0.10 (fixes #322969).
18737
18738 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18739
18740         * docs/manual/advanced-dataaccess.xml:
18741         * docs/manual/appendix-checklist.xml:
18742         * docs/manual/appendix-programs.xml:
18743         * docs/manual/basics-pads.xml:
18744         * docs/manual/highlevel-components.xml:
18745         * docs/manual/manual.xml:
18746           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18747           add converters in front of pipelines; remove curly
18748           brackets for threads stuff, they no longer exist; use
18749           GST_TYPE_FRACTION for framerates; update some pieces of
18750           code to 0.10, but there's plenty more to do.
18751
18752         * docs/manual/appendix-porting.xml:
18753           Expand on asynchroneous state changes; s/0.9/0.10/;
18754           mention disappearance of gst_init_get_popt_table()
18755           (fixes #322916).
18756
18757 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18758
18759         * docs/faq/using.xml:
18760           Spider no longer exists, and neither does gst-launch-ext.
18761           Update examples to use decodebin and playbin and put
18762           converters in front of sinks (fixes #323726).
18763
18764 2005-12-09  Michael Smith  <msmith@fluendo.com>
18765
18766         * plugins/elements/gsttypefindelement.c: (find_peek),
18767         (gst_type_find_element_chain):
18768           Fix leaking element factories in typefinding.
18769           Fix problem where we forgot about a probable type on non-seekable
18770           files, and thus later mis-typefound it.
18771
18772 2005-12-09  Michael Smith  <msmith@fluendo.com>
18773
18774         * common/m4/gst-makecontext.m4:
18775         * common/m4/gst-mcsc.m4:
18776         * configure.ac:
18777         * win32/common/config.h:
18778         * win32/common/config.h.in:
18779           Remove makecontext stuff; not used in 0.10 and causes problems on
18780           HPUX according to bug #322441
18781
18782 2005-12-07  Wim Taymans  <wim@fluendo.com>
18783
18784         * tests/check/Makefile.am:
18785         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18786         (main):
18787         * tests/check/libs/struct_i386.h:
18788         Added ABI check for libs
18789
18790 2005-12-07  Wim Taymans  <wim@fluendo.com>
18791
18792         * tests/check/Makefile.am:
18793         And add the struct_i386.h to dist.
18794
18795 2005-12-07  Wim Taymans  <wim@fluendo.com>
18796
18797         * tests/check/Makefile.am:
18798         * tests/check/gst/.cvsignore:
18799         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18800         (main):
18801         * tests/check/gst/struct_i386.h:
18802         Added check for ABI compatibility.
18803
18804 2005-12-07  Wim Taymans  <wim@fluendo.com>
18805
18806         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18807         (gst_fake_src_get_times), (gst_fake_src_create):
18808         Fix broken sync option, fixes #323259
18809
18810 2005-12-07  Wim Taymans  <wim@fluendo.com>
18811
18812         * gst/gstbuffer.c:
18813         Small docs update.
18814
18815         * gst/gstcaps.c: (gst_caps_is_equal):
18816         Don't assert on NULL <--> X. Fixes #323260
18817
18818         * gst/gstminiobject.c: (gst_mini_object_replace):
18819         If we're doing atomic operations, we might just as well use
18820         the proper way to get an atomic pointer.
18821
18822         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18823         Clean up debugging.
18824
18825 2005-12-07  Michael Smith  <msmith@fluendo.com>
18826
18827         * gst/parse/grammar.y:
18828           Remove handling of { } for threads.
18829
18830 2005-12-06  David Schleef  <ds@schleef.org>
18831
18832         * libs/gst/base/gstbasetransform.c: speling fix.
18833
18834 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18835
18836         * docs/libs/tmpl/gstdataprotocol.sgml:
18837         * docs/random/omega/testing/gstobject.c:
18838         * gst/gst.c:
18839         * gst/gstclock.c:
18840         * gst/gstelement.c:
18841         * gst/gstelementfactory.c:
18842         * gst/gsterror.c:
18843         * gst/gstevent.c:
18844         * gst/gstghostpad.c:
18845         * gst/gstinfo.c:
18846         * gst/gstpadtemplate.c:
18847         * gst/gstregistryxml.c:
18848         * gst/gsttaglist.c:
18849         * gst/gsttagsetter.c:
18850         * gst/gsttypefind.c:
18851         * gst/gstvalue.c:
18852         * libs/gst/base/gstbasesrc.c:
18853         * libs/gst/net/gstnetclientclock.c:
18854         * libs/gst/net/gstnettimeprovider.c:
18855         * plugins/elements/gstfakesrc.c:
18856         * plugins/elements/gstfdsrc.c:
18857         * plugins/elements/gstfilesrc.c:
18858         * plugins/elements/gstidentity.c:
18859         * plugins/elements/gstqueue.c:
18860         * plugins/elements/gsttypefindelement.c:
18861         * plugins/indexers/gstfileindex.c:
18862         * plugins/indexers/gstmemindex.c:
18863         * tests/check/gst/gsttag.c:
18864         * tests/old/examples/cutter/cutter.c:
18865         * tests/old/examples/mixer/mixer.c:
18866         * tests/old/examples/xml/runxml.c: (main):
18867         * tests/old/testsuite/caps/normalisation.c:
18868         * tests/old/testsuite/debug/global.c:
18869         * tests/old/testsuite/parse/parse1.c:
18870         * tools/gst-xmlinspect.c:
18871         * win32/common/dirent.c:
18872           expand tabs
18873
18874 === release 0.10.0 ===
18875
18876 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18877
18878         * configure.ac:
18879           releasing 0.10.0, "Maroilles"
18880
18881 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18882
18883         submitted by: Funda Wang <fundawang@linux.net.cn>
18884
18885         * po/LINGUAS:
18886         * po/zh_CN.po:
18887           added Chinese (Traditional) translation
18888
18889 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18890
18891         * docs/gst/gstreamer-sections.txt:
18892         * docs/libs/tmpl/gstdataprotocol.sgml:
18893         * docs/random/thomasvs/TODO:
18894         * gst/gstutils.c:
18895         * gst/gstutils.h:
18896           fix docs
18897
18898 2005-12-05  Andy Wingo  <wingo@pobox.com>
18899
18900         patch by: Wim Taymans <wim@fluendo.com>
18901
18902         * libs/gst/base/gstbasetransform.c
18903         (gst_base_transform_prepare_output_buf)
18904         (gst_base_transform_buffer_alloc):
18905         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18906         alloc_buffer_and_set_caps.
18907
18908         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18909         set_caps on the source pad.
18910         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18911         alloc_buffer used to do. Fixes #322874.
18912
18913         * docs/gst/gstreamer-sections.txt: 
18914         * docs/design/part-negotiation.txt: 
18915         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18916         changes.
18917
18918 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18919
18920         patch by: Sebastien Moutte
18921
18922         * win32/MANIFEST:
18923         * win32/common/config.h.in:
18924         * win32/vs6/libgstcontroller.dsp:
18925           win32 build fixes
18926
18927 2005-12-05  Wim Taymans  <wim@fluendo.com>
18928
18929         * gst/gstcaps.c: (gst_caps_is_equal):
18930         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18931         (gst_fake_src_create):
18932         Back out previous code changes, leave doc updates, file bugs 
18933         instead. 
18934
18935 2005-12-05  Wim Taymans  <wim@fluendo.com>
18936
18937         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18938         (gst_fake_src_get_times), (gst_fake_src_create):
18939         * plugins/elements/gstfakesrc.h:
18940         Fix broken sync code.
18941
18942 2005-12-05  Wim Taymans  <wim@fluendo.com>
18943
18944         * gst/gstcaps.c: (gst_caps_is_equal):
18945         Comparing NULL against !NULL yields different caps, not a
18946         failure.
18947
18948 2005-12-05  Wim Taymans  <wim@fluendo.com>
18949
18950         * gst/gstpipeline.c:
18951         Fix small typo in docs.
18952
18953 2005-12-05  Andy Wingo  <wingo@pobox.com>
18954
18955         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18956
18957         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18958         registries/plugins with a MAJORMINOR one.
18959         (plugin_desc): Rename library from gstcoreleements to
18960         staticelements. Fixes #323222.
18961
18962 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18963
18964         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18965           Change debug category to 'collectpads' from 'collect_pads'
18966           (fixes #323250).
18967
18968 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18969
18970         patch by: Sebastien Moutte
18971
18972         * libs/gst/controller/gstinterpolation.c:
18973           use convert function for uint64/double
18974         * win32/vs6/libgstcontroller.dsp:
18975           link to GLib
18976
18977 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18978
18979         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18980         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18981         * gst/gstutils.h:
18982         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18983           add tests that seem to show that the guint64/gdouble conversions
18984           are correct.
18985
18986 2005-12-02  Wim Taymans  <wim@fluendo.com>
18987
18988         * gst/gstregistry.c: (gst_registry_add_path):
18989         * gst/gstregistry.h:
18990         * gst/gstregistryxml.c:
18991         Fix docs again.
18992
18993 2005-12-02  Wim Taymans  <wim@fluendo.com>
18994
18995         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18996         (gst_util_uint64_scale_int):
18997         Small cleanup.
18998
18999         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19000         Add debug log line.
19001
19002         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19003         Add FIXME.
19004
19005 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19006
19007         * win32/MANIFEST:
19008         * win32/common/config.h:
19009         * win32/vs6/gstreamer.dsw:
19010         * win32/vs6/libgstcoreelements.dsp:
19011         * win32/vs6/libgstelements.dsp:
19012           renamed core elements plugin
19013
19014 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19015
19016         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19017         (get_candidates):
19018           do piece-wise major/minor comparison so 0.9 < 0.10
19019           also allow .exe extensions for tools
19020
19021 2005-12-02  Michael Smith  <msmith@fluendo.com>
19022
19023         * gst/gst.c:
19024           Escape a % to make gtkdoc happier; bug 322958.
19025
19026 === release 0.9.7 ===
19027
19028 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19029
19030         * configure.ac:
19031           releasing 0.9.7, "My Dog Has No Nose"
19032
19033 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19034
19035         * common/gst-xmlinspect.py:
19036         * configure.ac:
19037         * docs/libs/tmpl/gstdataprotocol.sgml:
19038         * docs/random/release:
19039         * po/af.po:
19040         * po/az.po:
19041         * po/bg.po:
19042         * po/ca.po:
19043         * po/cs.po:
19044         * po/de.po:
19045         * po/en_GB.po:
19046         * po/fr.po:
19047         * po/it.po:
19048         * po/nb.po:
19049         * po/nl.po:
19050         * po/ru.po:
19051         * po/sq.po:
19052         * po/sr.po:
19053         * po/sv.po:
19054         * po/tr.po:
19055         * po/uk.po:
19056         * po/vi.po:
19057         * win32/common/config.h:
19058         * win32/common/config.h.in:
19059         * win32/vs6/gst_inspect.dsp:
19060         * win32/vs6/gst_launch.dsp:
19061         * win32/vs6/libgstbase.dsp:
19062         * win32/vs6/libgstelements.dsp:
19063         * win32/vs6/libgstreamer.dsp:
19064         * win32/vs7/GStreamer.vcproj:
19065         * win32/vs7/gst-inspect.vcproj:
19066         * win32/vs7/gst-launch.vcproj:
19067         * win32/vs7/libgstbase.vcproj:
19068           bump GST_MAJORMINOR to 0.10
19069           reset libtool version
19070
19071 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19072
19073         * po/LINGUAS:
19074         * po/bg.po:
19075           Added Bulgarian translation by (Alexander Shopov)
19076
19077 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19078
19079         * tests/check/gst/gstplugin.c:
19080           fix test
19081
19082 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19083
19084         * common/gst-xmlinspect.py:
19085         * common/gtk-doc-plugins.mak:
19086         * configure.ac:
19087         * docs/Makefile.am:
19088         * docs/gst/Makefile.am:
19089         * docs/gst/gstreamer-docs.sgml:
19090         * docs/gst/gstreamer-sections.txt:
19091         * docs/gst/gstreamer.types:
19092         * docs/gst/gstreamer.types.in:
19093         * docs/plugins/Makefile.am:
19094         * docs/plugins/gstreamer-plugins-docs.sgml:
19095         * docs/plugins/gstreamer-plugins-sections.txt:
19096         * docs/plugins/gstreamer-plugins.types:
19097         * docs/plugins/inspect.stamp:
19098         * docs/plugins/inspect/plugin-coreelements.xml:
19099         * docs/plugins/inspect/plugin-coreindexers.xml:
19100         * docs/plugins/scanobj-build.stamp:
19101         * gstreamer.spec.in:
19102         * plugins/elements/Makefile.am:
19103         * plugins/elements/gstelements.c:
19104         * plugins/elements/gstfakesink.c:
19105         * plugins/elements/gstfakesrc.c:
19106         * plugins/elements/gstfilesink.c:
19107         * plugins/elements/gstfilesrc.c:
19108         * plugins/elements/gstqueue.c:
19109         * plugins/indexers/Makefile.am:
19110         * plugins/indexers/gstindexers.c:
19111           document core plugins in a separate document just like all the
19112           others
19113           rename these plugins to something starting with core
19114
19115 2005-12-01  Andy Wingo  <wingo@pobox.com>
19116
19117         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19118         padding here before, but it missed the commit.
19119
19120 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19121
19122         * libs/gst/controller/gstinterpolation.c:
19123           whitespace prices have crashed, we should feel free to use some now
19124           use gst_guint64_to_gdouble
19125
19126 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19127
19128         * libs/gst/controller/gstcontroller.c:
19129         * libs/gst/controller/gsthelper.c:
19130         * libs/gst/controller/gstinterpolation.c:
19131         * libs/gst/controller/lib.c:
19132           wrap config.h include
19133
19134 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19135
19136         * docs/gst/gstreamer-sections.txt:
19137           update docs
19138
19139 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19140
19141         * plugins/elements/gstelements.c:
19142         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19143         (gst_fd_sink__class_init), (gst_fd_sink__init),
19144         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19145         (gst_fd_sink__get_property):
19146         * plugins/elements/gstfdsink.h:
19147         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19148         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19149         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19150         (gst_fd_src_unlock), (gst_fd_src_set_property),
19151         (gst_fd_src_get_property), (gst_fd_src_create),
19152         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19153         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19154         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19155         (gst_fd_src_uri_handler_init):
19156         * plugins/elements/gstfdsrc.h:
19157         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19158           more anal cleanup
19159
19160 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19161
19162         * docs/gst/Makefile.am:
19163         * docs/gst/gstreamer.types.in:
19164         * gst/Makefile.am:
19165           fix the docs build
19166
19167 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19168
19169         * configure.ac:
19170         * gst/Makefile.am:
19171         * gst/gst.c:
19172         * gst/gstplugin.h:
19173         * gst/gstregistry.h:
19174         * tests/benchmarks/complexity.c:
19175         * tests/benchmarks/mass-elements.c:
19176         * tests/check/Makefile.am:
19177         * tools/Makefile.am:
19178         * tools/gst-inspect.c:
19179         * tools/gst-xmlinspect.c:
19180           various fixes to make
19181           --disable-nls --disable-registry --disable-loadsave
19182           --disable-parse --disable-gst-debug
19183           work and get the core .so down to 360444 bytes after stripping
19184
19185 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19186
19187         * Makefile.am:
19188         * configure.ac:
19189           descend into tests
19190         * docs/random/thomasvs/TODO:
19191         * tests/Makefile.am:
19192         * tests/README:
19193           add a README
19194
19195 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19196
19197         * win32/GStreamer.vcproj:
19198         * win32/MANIFEST:
19199         * win32/Makefile:
19200         * win32/Makefile.inspect:
19201         * win32/Makefile.launch:
19202         * win32/Makefile.register:
19203         * win32/README.txt:
19204         * win32/gst-inspect.vcproj:
19205         * win32/gst-launch.vcproj:
19206         * win32/gst-register.vcproj:
19207         * win32/gstelements.vcproj:
19208         * win32/gstgetbits.def:
19209         * win32/gstgetbits.vcproj:
19210         * win32/gstreamer-dbg.def:
19211         * win32/gstreamer.def:
19212         * win32/libgstbase.def:
19213         * win32/libgstbase.vcproj:
19214         * win32/link_oldruntime.c:
19215         * win32/mman.c:
19216         * win32/mman.h:
19217         * win32/mman.inl:
19218         * win32/msvc71.sln:
19219           move even more stuff, win32/ is nice and clean now
19220
19221 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19222
19223         * libs/gst/control/.cvsignore:
19224         * win32/MANIFEST:
19225         * win32/config.h:
19226         * win32/dirent.c:
19227         * win32/dirent.h:
19228         * win32/gstbytestream.def:
19229         * win32/gstbytestream.vcproj:
19230         * win32/gstconfig.h:
19231         * win32/gstenumtypes.c:
19232         * win32/gstenumtypes.h:
19233         * win32/gstoptimalscheduler.vcproj:
19234         * win32/gstversion.h:
19235         * win32/gtchar.h:
19236         * win32/testsuite/bins.vcproj:
19237         * win32/testsuite/bytestream.vcproj:
19238         * win32/testsuite/caps.vcproj:
19239         * win32/testsuite/cleanup.vcproj:
19240         * win32/testsuite/clock.vcproj:
19241         * win32/testsuite/debug.vcproj:
19242         * win32/testsuite/dlopen.vcproj:
19243         * win32/testsuite/dynparams.vcproj:
19244         * win32/testsuite/elements.vcproj:
19245         * win32/testsuite/ghostpads.vcproj:
19246         * win32/testsuite/indexers.vcproj:
19247         * win32/testsuite/negotiation.vcproj:
19248         * win32/testsuite/parse.vcproj:
19249         * win32/testsuite/plugin.vcproj:
19250         * win32/testsuite/refcounting.vcproj:
19251         * win32/testsuite/schedulers.vcproj:
19252         * win32/testsuite/states.vcproj:
19253         * win32/testsuite/tags.vcproj:
19254         * win32/testsuite/threads.vcproj:
19255           remove old win32 stuff that isn't maintained and should be
19256           reorganized
19257
19258 2005-11-30  Andy Wingo  <wingo@pobox.com>
19259
19260         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19261         loading the gst.interfaces python module bork.
19262
19263         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19264         available since GLib 2.2. Fixes #318031.
19265
19266 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19267
19268         * Makefile.am:
19269         * check/.cvsignore:
19270         * check/Makefile.am:
19271         * check/elements/.cvsignore:
19272         * check/elements/fakesrc.c:
19273         * check/elements/fdsrc.c:
19274         * check/elements/identity.c:
19275         * check/generic/.cvsignore:
19276         * check/generic/states.c:
19277         * check/gst-libs/.cvsignore:
19278         * check/gst-libs/controller.c:
19279         * check/gst-libs/gdp.c:
19280         * check/gst/.cvsignore:
19281         * check/gst/capslist.h:
19282         * check/gst/gst.c:
19283         * check/gst/gstbin.c:
19284         * check/gst/gstbuffer.c:
19285         * check/gst/gstbus.c:
19286         * check/gst/gstcaps.c:
19287         * check/gst/gstelement.c:
19288         * check/gst/gstevent.c:
19289         * check/gst/gstghostpad.c:
19290         * check/gst/gstiterator.c:
19291         * check/gst/gstmessage.c:
19292         * check/gst/gstminiobject.c:
19293         * check/gst/gstobject.c:
19294         * check/gst/gstpad.c:
19295         * check/gst/gstpipeline.c:
19296         * check/gst/gstplugin.c:
19297         * check/gst/gstsegment.c:
19298         * check/gst/gststructure.c:
19299         * check/gst/gstsystemclock.c:
19300         * check/gst/gsttag.c:
19301         * check/gst/gstutils.c:
19302         * check/gst/gstvalue.c:
19303         * check/net/.cvsignore:
19304         * check/net/gstnetclientclock.c:
19305         * check/net/gstnettimeprovider.c:
19306         * check/pipelines/.cvsignore:
19307         * check/pipelines/cleanup.c:
19308         * check/pipelines/simple_launch_lines.c:
19309         * check/pipelines/stress.c:
19310         * check/states/.cvsignore:
19311         * check/states/sinks.c:
19312         * configure.ac:
19313         * examples/Makefile.am:
19314         * examples/appreader/.cvsignore:
19315         * examples/appreader/Makefile.am:
19316         * examples/appreader/appreader.c:
19317         * examples/controller/.cvsignore:
19318         * examples/controller/Makefile.am:
19319         * examples/controller/audio-example.c:
19320         * examples/cutter/.cvsignore:
19321         * examples/cutter/Makefile.am:
19322         * examples/cutter/cutter.c:
19323         * examples/cutter/cutter.h:
19324         * examples/events/Makefile.am:
19325         * examples/events/seek.c:
19326         * examples/helloworld/.cvsignore:
19327         * examples/helloworld/Makefile.am:
19328         * examples/helloworld/helloworld.c:
19329         * examples/helloworld2/.cvsignore:
19330         * examples/helloworld2/Makefile.am:
19331         * examples/helloworld2/helloworld2.c:
19332         * examples/launch/.cvsignore:
19333         * examples/launch/Makefile.am:
19334         * examples/launch/mp3parselaunch.c:
19335         * examples/launch/mp3play:
19336         * examples/manual/.cvsignore:
19337         * examples/manual/Makefile.am:
19338         * examples/manual/extract.pl:
19339         * examples/metadata/Makefile.am:
19340         * examples/metadata/read-metadata.c:
19341         * examples/mixer/.cvsignore:
19342         * examples/mixer/Makefile.am:
19343         * examples/mixer/mixer.c:
19344         * examples/mixer/mixer.h:
19345         * examples/pingpong/.cvsignore:
19346         * examples/pingpong/Makefile.am:
19347         * examples/pingpong/pingpong.c:
19348         * examples/plugins/.cvsignore:
19349         * examples/plugins/Makefile.am:
19350         * examples/plugins/example.c:
19351         * examples/plugins/example.h:
19352         * examples/pwg/.cvsignore:
19353         * examples/pwg/Makefile.am:
19354         * examples/pwg/extract.pl:
19355         * examples/queue/.cvsignore:
19356         * examples/queue/Makefile.am:
19357         * examples/queue/queue.c:
19358         * examples/queue2/.cvsignore:
19359         * examples/queue2/Makefile.am:
19360         * examples/queue2/queue2.c:
19361         * examples/queue3/.cvsignore:
19362         * examples/queue3/Makefile.am:
19363         * examples/queue3/queue3.c:
19364         * examples/queue4/.cvsignore:
19365         * examples/queue4/Makefile.am:
19366         * examples/queue4/queue4.c:
19367         * examples/retag/.cvsignore:
19368         * examples/retag/Makefile.am:
19369         * examples/retag/retag.c:
19370         * examples/retag/transcode.c:
19371         * examples/thread/.cvsignore:
19372         * examples/thread/Makefile.am:
19373         * examples/thread/thread.c:
19374         * examples/typefind/.cvsignore:
19375         * examples/typefind/Makefile.am:
19376         * examples/typefind/typefind.c:
19377         * examples/xml/.cvsignore:
19378         * examples/xml/Makefile.am:
19379         * examples/xml/createxml.c:
19380         * examples/xml/runxml.c:
19381         * tests/Makefile.am:
19382         * tests/check/Makefile.am:
19383         * testsuite/.cvsignore:
19384         * testsuite/Makefile.am:
19385         * testsuite/Rules:
19386         * testsuite/caps/.cvsignore:
19387         * testsuite/caps/Makefile.am:
19388         * testsuite/caps/app_fixate.c:
19389         * testsuite/caps/audioscale.c:
19390         * testsuite/caps/caps.c:
19391         * testsuite/caps/caps.h:
19392         * testsuite/caps/caps_strings:
19393         * testsuite/caps/compatibility.c:
19394         * testsuite/caps/deserialize.c:
19395         * testsuite/caps/enumcaps.c:
19396         * testsuite/caps/eratosthenes.c:
19397         * testsuite/caps/filtercaps.c:
19398         * testsuite/caps/fixed.c:
19399         * testsuite/caps/fraction-convert.c:
19400         * testsuite/caps/fraction-multiply-and-zero.c:
19401         * testsuite/caps/intersect2.c:
19402         * testsuite/caps/intersection.c:
19403         * testsuite/caps/normalisation.c:
19404         * testsuite/caps/random.c:
19405         * testsuite/caps/renegotiate.c:
19406         * testsuite/caps/sets.c:
19407         * testsuite/caps/simplify.c:
19408         * testsuite/caps/string-conversions.c:
19409         * testsuite/caps/structure.c:
19410         * testsuite/caps/subtract.c:
19411         * testsuite/caps/union.c:
19412         * testsuite/debug/.cvsignore:
19413         * testsuite/debug/Makefile.am:
19414         * testsuite/debug/category.c:
19415         * testsuite/debug/commandline.c:
19416         * testsuite/debug/global.c:
19417         * testsuite/debug/output.c:
19418         * testsuite/debug/printf_extension.c:
19419         * testsuite/dlopen/.cvsignore:
19420         * testsuite/dlopen/Makefile.am:
19421         * testsuite/dlopen/dlopen_gst.c:
19422         * testsuite/dlopen/loadgst.c:
19423         * testsuite/elements/.cvsignore:
19424         * testsuite/elements/Makefile.am:
19425         * testsuite/elements/gst-inspect-check.in:
19426         * testsuite/elements/struct_i386.h:
19427         * testsuite/elements/struct_size.c:
19428         * testsuite/indexers/.cvsignore:
19429         * testsuite/indexers/Makefile.am:
19430         * testsuite/indexers/cache1.c:
19431         * testsuite/indexers/indexdump.c:
19432         * testsuite/parse/.cvsignore:
19433         * testsuite/parse/Makefile.am:
19434         * testsuite/parse/parse1.c:
19435         * testsuite/parse/parse2.c:
19436         * testsuite/plugin/.cvsignore:
19437         * testsuite/plugin/Makefile.am:
19438         * testsuite/plugin/README:
19439         * testsuite/plugin/dynamic.c:
19440         * testsuite/plugin/linked.c:
19441         * testsuite/plugin/loading.c:
19442         * testsuite/plugin/registry.c:
19443         * testsuite/plugin/static.c:
19444         * testsuite/plugin/static2.c:
19445         * testsuite/plugin/testplugin.c:
19446         * testsuite/plugin/testplugin2.c:
19447         * testsuite/plugin/testplugin2_s.c:
19448         * testsuite/plugin/testplugin_s.c:
19449         * testsuite/refcounting/.cvsignore:
19450         * testsuite/refcounting/Makefile.am:
19451         * testsuite/refcounting/bin.c:
19452         * testsuite/refcounting/element.c:
19453         * testsuite/refcounting/element_pad.c:
19454         * testsuite/refcounting/mainloop.c:
19455         * testsuite/refcounting/mem.c:
19456         * testsuite/refcounting/mem.h:
19457         * testsuite/refcounting/object.c:
19458         * testsuite/refcounting/pad.c:
19459         * testsuite/refcounting/sched.c:
19460         * testsuite/refcounting/thread.c:
19461         * testsuite/states/.cvsignore:
19462         * testsuite/states/Makefile.am:
19463         * testsuite/states/bin.c:
19464         * testsuite/states/locked.c:
19465         * testsuite/states/parent.c:
19466         * testsuite/threads/.cvsignore:
19467         * testsuite/threads/159566.c:
19468         * testsuite/threads/159852.c:
19469         * testsuite/threads/Makefile.am:
19470         * testsuite/threads/queue.c:
19471         * testsuite/threads/signals.c:
19472         * testsuite/threads/staticrec.c:
19473         * testsuite/threads/thread.c:
19474         * testsuite/threads/threadb.c:
19475         * testsuite/threads/threadc.c:
19476         * testsuite/threads/threadd.c:
19477         * testsuite/threads/threade.c:
19478         * testsuite/threads/threadf.c:
19479         * testsuite/threads/threadg.c:
19480         * testsuite/threads/threadh.c:
19481         * testsuite/threads/threadi.c:
19482           move all of these under tests
19483
19484 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19485
19486         * configure.ac:
19487         * tests/Makefile.am:
19488           fix distcheck
19489
19490 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19491
19492         * docs/gst/gstreamer-sections.txt:
19493         * tests/sched/.cvsignore:
19494         * tests/sched/Makefile.am:
19495         * tests/sched/cases/(fs-fs).xml:
19496         * tests/sched/cases/(fs-i-fs).xml:
19497         * tests/sched/cases/(fs-i-i-fs).xml:
19498         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19499         * tests/sched/dynamic-pipeline.c:
19500         * tests/sched/interrupt1.c:
19501         * tests/sched/interrupt2.c:
19502         * tests/sched/interrupt3.c:
19503         * tests/sched/runtestcases:
19504         * tests/sched/runxml.c:
19505         * tests/sched/sched-stress.c:
19506         * tests/sched/sort.c:
19507         * tests/sched/testcases:
19508         * tests/sched/testcases1.tc:
19509         * tests/seeking/.cvsignore:
19510         * tests/seeking/Makefile.am:
19511         * tests/seeking/seeking1.c:
19512         * tests/threadstate/.cvsignore:
19513         * tests/threadstate/Makefile.am:
19514         * tests/threadstate/test1.c:
19515         * tests/threadstate/test2.c:
19516         * tests/threadstate/threadstate1.c:
19517         * tests/threadstate/threadstate2.c:
19518         * tests/threadstate/threadstate3.c:
19519         * tests/threadstate/threadstate4.c:
19520         * tests/threadstate/threadstate5.c:
19521           remove obsolete tests
19522         * configure.ac:
19523         * tests/bench-complexity.scm:
19524         * tests/bench-mass_elements.scm:
19525         * tests/complexity.c:
19526         * tests/complexity.gnuplot:
19527         * tests/instantiate/.cvsignore:
19528         * tests/instantiate/Makefile.am:
19529         * tests/instantiate/caps.c:
19530         * tests/mass_elements.c:
19531         * tests/network-clock-utils.scm:
19532         * tests/network-clock.scm:
19533         * tests/plot-data:
19534         First pass at cleaning up tests/ dir before moving the rest
19535         Combined with CVS surgery
19536
19537 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19538
19539         * po/POTFILES.in:
19540           queue has moved, update
19541
19542 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19543
19544         * docs/gst/gstreamer-sections.txt:
19545           remove double entries from the docs
19546         * gst/gst_private.h:
19547         * gst/gstinfo.c: (_gst_debug_init):
19548           remove the THREAD debug category
19549         * gst/Makefile.am:
19550         * gst/gstqueue.c:
19551         * gst/gstqueue.h:
19552         * docs/gst/gstreamer.types:
19553         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19554         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19555           completely move queue and fix up debugging categories
19556
19557 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19558
19559         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19560           make initialization portable, using LL is not
19561
19562 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19563
19564         * win32/common/gstconfig.h:
19565           add large padding
19566
19567 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19568
19569         * win32/common/libgstreamer.def:
19570           rename symbols; sort base section
19571
19572 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19573
19574         * gst/gstclock.c: (do_linear_regression):
19575           remove crack non-portable handrolled DEBUG macro
19576
19577 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19578
19579         * docs/random/release:
19580           update notes
19581         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19582         (gst_object_flags_get_type), (register_gst_bin_flags),
19583         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19584         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19585         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19586         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19587         (gst_caps_flags_get_type), (register_gst_clock_return),
19588         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19589         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19590         (gst_clock_flags_get_type), (register_gst_state),
19591         (gst_state_get_type), (register_gst_state_change_return),
19592         (gst_state_change_return_get_type), (register_gst_state_change),
19593         (gst_state_change_get_type), (register_gst_element_flags),
19594         (gst_element_flags_get_type), (register_gst_core_error),
19595         (gst_core_error_get_type), (register_gst_library_error),
19596         (gst_library_error_get_type), (register_gst_resource_error),
19597         (gst_resource_error_get_type), (register_gst_stream_error),
19598         (gst_stream_error_get_type), (register_gst_event_type_flags),
19599         (gst_event_type_flags_get_type), (register_gst_event_type),
19600         (gst_event_type_get_type), (register_gst_seek_type),
19601         (gst_seek_type_get_type), (register_gst_seek_flags),
19602         (gst_seek_flags_get_type), (register_gst_format),
19603         (gst_format_get_type), (register_gst_index_certainty),
19604         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19605         (gst_index_entry_type_get_type),
19606         (register_gst_index_lookup_method),
19607         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19608         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19609         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19610         (gst_index_flags_get_type), (register_gst_debug_level),
19611         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19612         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19613         (gst_iterator_result_get_type), (register_gst_iterator_item),
19614         (gst_iterator_item_get_type), (register_gst_message_type),
19615         (gst_message_type_get_type), (register_gst_mini_object_flags),
19616         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19617         (gst_pad_link_return_get_type), (register_gst_flow_return),
19618         (gst_flow_return_get_type), (register_gst_activate_mode),
19619         (gst_activate_mode_get_type), (register_gst_pad_direction),
19620         (gst_pad_direction_get_type), (register_gst_pad_flags),
19621         (gst_pad_flags_get_type), (register_gst_pad_presence),
19622         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19623         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19624         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19625         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19626         (gst_plugin_flags_get_type), (register_gst_rank),
19627         (gst_rank_get_type), (register_gst_query_type),
19628         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19629         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19630         (gst_tag_flag_get_type), (register_gst_task_state),
19631         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19632         (gst_alloc_trace_flags_get_type),
19633         (register_gst_type_find_probability),
19634         (gst_type_find_probability_get_type), (register_gst_uri_type),
19635         (gst_uri_type_get_type), (register_gst_parse_error),
19636         (gst_parse_error_get_type):
19637         * win32/common/gstenumtypes.h:
19638         * win32/common/gstversion.h:
19639           update visual studio generated files
19640
19641 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19642
19643         * win32/vs6/libgstbase.dsp:
19644         * win32/vs6/libgstelements.dsp:
19645           update project files for new locations
19646
19647 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19648
19649         * Makefile.am:
19650           remove some files
19651         * README:
19652           reinstate and update
19653         * DEVEL:
19654         * REQUIREMENTS:
19655           removed
19656         * LICENSE:
19657         * docs/random/LICENSE:
19658           moved to random
19659
19660 2005-11-30  Edward Hervey  <edward@fluendo.com>
19661
19662         * gst/gsttypefind.c: (gst_type_find_register):
19663         * gst/gsttypefind.h:
19664         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19665         (gst_type_find_factory_dispose):
19666         * gst/gsttypefindfactory.h:
19667         Fix memory leak in GstTypeFindFactory.
19668
19669 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19670
19671         * gst/gst.c:
19672         * plugins/elements/Makefile.am:
19673         * plugins/elements/gstelements.c:
19674         * plugins/elements/gstqueue.c:
19675           move queue from core to the elements plugin
19676
19677 2005-11-29  Andy Wingo  <wingo@pobox.com>
19678
19679         * libs/gst/base/gstbasetransform.h: 
19680         * libs/gst/base/gstbasesrc.h: 
19681         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19682
19683         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19684         of pointers by which to pad very extensible base classes (like the
19685         ones in libs/gst/base).
19686
19687 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19688
19689         * docs/gst/gstreamer-docs.sgml:
19690         * docs/gst/gstreamer-sections.txt:
19691         * docs/libs/gstreamer-libs-docs.sgml:
19692         * docs/libs/gstreamer-libs-sections.txt:
19693           moving documentation from core to lib
19694
19695 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19696
19697         * check/Makefile.am:
19698         * configure.ac:
19699         * docs/gst/Makefile.am:
19700         * gst/Makefile.am:
19701         * gst/base/.cvsignore:
19702         * gst/base/Makefile.am:
19703         * gst/base/README:
19704         * gst/base/gstadapter.c:
19705         * gst/base/gstadapter.h:
19706         * gst/base/gstbasesink.c:
19707         * gst/base/gstbasesink.h:
19708         * gst/base/gstbasesrc.c:
19709         * gst/base/gstbasesrc.h:
19710         * gst/base/gstbasetransform.c:
19711         * gst/base/gstbasetransform.h:
19712         * gst/base/gstcollectpads.c:
19713         * gst/base/gstcollectpads.h:
19714         * gst/base/gstpushsrc.c:
19715         * gst/base/gstpushsrc.h:
19716         * gst/base/gsttypefindhelper.c:
19717         * gst/base/gsttypefindhelper.h:
19718         * gst/check/Makefile.am:
19719         * gst/check/gstcheck.c:
19720         * gst/check/gstcheck.h:
19721         * gst/net/Makefile.am:
19722         * gst/net/gstnet.h:
19723         * gst/net/gstnetclientclock.c:
19724         * gst/net/gstnetclientclock.h:
19725         * gst/net/gstnettimepacket.c:
19726         * gst/net/gstnettimepacket.h:
19727         * gst/net/gstnettimeprovider.c:
19728         * gst/net/gstnettimeprovider.h:
19729         * libs/gst/Makefile.am:
19730         * libs/gst/base/Makefile.am:
19731         * libs/gst/base/gstbasetransform.c:
19732         * libs/gst/check/Makefile.am:
19733         * plugins/elements/Makefile.am:
19734         * po/POTFILES.in:
19735           CVS surgery + support to move base, check, and net out of gst
19736           and into libs/gst
19737
19738 2005-11-29  Andy Wingo  <wingo@pobox.com>
19739
19740         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19741
19742         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19743         padding.
19744
19745         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19746
19747         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19748
19749         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19750
19751         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19752         padding; reduces object size by about 30%. We don't expect
19753         anything else to go into gstobject.
19754
19755         * gst/gstminiobject.h (struct _GstMiniObject)
19756         (struct _GstMiniObjectClass): Only one pointer of padding; the
19757         payload is only a pointer and two ints anyway. For the class there
19758         are only two methods as well.
19759         
19760         * gst/gstelement.h (struct _GstElementClass): Removed
19761         the state_changed signal callback, it is not used.
19762
19763 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19764
19765         * docs/gst/gstreamer.types:
19766           fix includes, though they are a little dinky
19767
19768 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19769
19770         * check/Makefile.am:
19771           look in the right place for elements, a lot more chance of
19772           success
19773         * gst/Makefile.am:
19774           remove indexers and elements subdirs
19775         * plugins/Makefile.am:
19776           make indexers conditional
19777
19778 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19779
19780         * Makefile.am:
19781         * configure.ac:
19782         * plugins/elements/Makefile.am:
19783         * plugins/elements/gstcapsfilter.c:
19784         * plugins/elements/gstfilesink.c:
19785         * plugins/elements/gstfilesrc.c:
19786         * plugins/elements/gstidentity.c:
19787         * plugins/indexers/Makefile.am:
19788           do CVS surgery and related build fixery to move elements
19789           and indexers in a new gstreamer/plugins directory, out of the
19790           gst/ directory
19791
19792 2005-11-29  Andy Wingo  <wingo@pobox.com>
19793
19794         * check/Makefile.am:
19795         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19796         * pkgconfig/gstreamer-net.pc.in:
19797         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19798         #322257.
19799
19800 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19801
19802         * tools/Makefile.am:
19803         * tools/gst-complete.1.in:
19804         * tools/gst-complete.c:
19805         * tools/gst-compprep.1.in:
19806         * tools/gst-compprep.c:
19807           removing -compprep and -complete
19808
19809 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19810
19811         * gst/gstevent.c: (gst_event_new_new_segment),
19812         (gst_event_parse_new_segment):
19813         * gst/gstevent.h:
19814           fix #320529 - clean up new_segment API and structure.
19815           Let's hope everyone was using the methods, and not the structure.
19816
19817 2005-11-29  Edward Hervey  <edward@fluendo.com>
19818
19819         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19820         (gst_base_sink_event), (gst_base_sink_do_sync),
19821         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19822         Properly handle non GST_FORMAT_TIME segment
19823         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19824         Properly handle non GST_FORMAT_TIME segment
19825         * gst/gstsegment.c:
19826         This function is valid if the accumulator is 0 and the format
19827         is different from the requested format.
19828         
19829 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19830
19831         * docs/gst/gstreamer-sections.txt:
19832         Add gst_query_new_seeking and gst_query_parse_seeking to the
19833         docs.
19834
19835 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19836
19837         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19838           Treat a pad alloc with new caps the same as if we were not
19839           negotiated, in order to allow a changing upstream output
19840           to produce a new format of data.
19841
19842 2005-11-29  Edward Hervey  <edward@fluendo.com>
19843
19844         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19845         (gst_base_transform_event), (gst_base_transform_eventfunc):
19846         The event virtual method is now properly implemented, with a default
19847         handler
19848         Sub classes should call the parent_class event method. They should
19849         return FALSE if they had a problem handling the given event, or don't
19850         want GstBaseTransform to send that even downstream
19851         * gst/elements/gstidentity.c: (gst_identity_class_init),
19852         (gst_identity_init), (gst_identity_event),
19853         (gst_identity_transform_ip), (gst_identity_set_property),
19854         (gst_identity_get_property):
19855         * gst/elements/gstidentity.h:
19856         Added the single-segment boolean property.
19857         If set to TRUE, it will output a single segment of data, starting from
19858         0, will eat up all incoming newsegment, and modify the timestamp of the
19859         buffers accordingly
19860
19861 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19862
19863         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19864           Don't ref NULL target pad (#322751). Improve docs.
19865
19866 2005-11-29  Michael Smith  <msmith@fluendo.com>
19867
19868         * gst/gstregistryxml.c: (load_plugin):
19869           Don't crash if we failed to load a feature from a plugin. 
19870
19871 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19872
19873         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19874         (GST_START_TEST):
19875           use more check API and less GLib API
19876
19877 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19878
19879         * Makefile.am:
19880           don't run checks if we don't have check
19881         * common/check.mak:
19882           remove the registry when running make torture
19883         * docs/gst/gstreamer-sections.txt:
19884           remove second multiply
19885         * gst/gstqueue.c: (gst_queue_loop):
19886           fix a compile warning when disabling debug
19887
19888 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19889
19890         * gst/gstinfo.h:
19891         Hey! Let's print the pad name if the pointer != NULL instead
19892         of when it == NULL :-)
19893
19894 2005-11-28  Wim Taymans  <wim@fluendo.com>
19895
19896         * check/gst/gstutils.c: (GST_START_TEST):
19897         Updated check, add some scaling accuracy checking code.
19898
19899         * gst/gstutils.c: (gst_util_div128_64),
19900         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19901         (gst_util_uint64_scale_int):
19902         Fix 6 times faster division code. Optimize for common 
19903         1/1 and less common X/1 cases.
19904
19905 2005-11-28  Wim Taymans  <wim@fluendo.com>
19906
19907         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19908         More checks.
19909
19910         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19911         (do_linear_regression), (gst_clock_add_observation):
19912         Cleanups.
19913         Release lock when the clock cannot be slaved.
19914         Catch the case where the regression returned an invalid denominator.
19915
19916         * gst/gstutils.c: (gst_util_div128_64_iterate),
19917         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19918         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19919         Add protentially more performant non-iterative 128/64 divide function
19920         that unfortunatly does not work yet.
19921         Shortcut the trivial 0/X = 0 case.
19922         Remove the warnings on overflow.
19923
19924 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19925
19926         * gst/gstplugin.c: (gst_plugin_register_func):
19927           everything causing a plugin not to load should be at least a WARNING
19928
19929 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19930
19931         * docs/random/ensonic/dparams.txt:
19932           some TODOs for the next dev cycle
19933         * libs/gst/controller/gstcontroller.c:
19934         (gst_controlled_property_set_interpolation_mode),
19935         (gst_controlled_property_new):
19936         * libs/gst/controller/gstcontroller.h:
19937           use base type to assign acccessor functions
19938
19939 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19940
19941         * check/Makefile.am:
19942         Oops, that should have been top_srcdir
19943
19944 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19945
19946         * check/Makefile.am:
19947         * check/elements/fdsrc.c: (GST_START_TEST):
19948         Use a cmdline define to specify the location of a file to use for
19949         testing, to avoid breaking distcheck.
19950
19951 2005-11-28  Andy Wingo  <wingo@pobox.com>
19952
19953         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19954
19955 2005-11-28  Edward Hervey  <edward@fluendo.com>
19956
19957         * tools/gst-launch.c: (main):
19958         Clarify the output strings, makes it easier to translate.
19959         Fixes #322626
19960
19961 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19962
19963         * gst/Makefile.am:
19964           don't try and build net if we don't even have <sys/socket.h>
19965
19966 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19967
19968         * check/Makefile.am:
19969         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19970         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19971           Add tests for fdsrc seekability
19972
19973         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19974         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19975         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19976         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19977         * gst/elements/gstfdsrc.h:
19978           fdsrc should not be a 'live' source.
19979           Implement seeking on seekable fd's.
19980
19981         * gst/gstquery.c: (gst_query_new_seeking),
19982         (gst_query_parse_seeking):
19983         * gst/gstquery.h:
19984           Implement SEEKING query functions: 
19985             *_new_seeking and *_parse_seeking
19986
19987 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19988
19989         * gst/gstelement.c: (gst_element_dispose):
19990           don't loop forever
19991
19992         * gst/gstiterator.c:
19993         * gst/gststructure.c:
19994           doc fixes
19995
19996         * libs/gst/controller/gstcontroller.c:
19997         (gst_controlled_property_set_interpolation_mode):
19998         * libs/gst/controller/gstcontroller.h:
19999         * libs/gst/controller/gstinterpolation.c:
20000         (interpolate_none_get_enum_value_array):
20001           support controlling enums
20002
20003 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20004
20005         * gst/gstvalue.c:
20006           Improve documentation for gst_value_union().
20007
20008         * gst/gstvalue.h:
20009           Change return value for union, intersect and subtract functions
20010           from gint to gboolean.
20011
20012 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20013
20014         * gst/gstvalue.c: (gst_value_serialize_any_list),
20015         (gst_value_transform_any_list_string),
20016         (gst_value_deserialize_list), (gst_value_deserialize_array),
20017         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20018         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20019         (gst_value_set_fraction_range_full),
20020         (gst_value_deserialize_fraction_range),
20021         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20022         (gst_value_deserialize_boolean),
20023         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20024         (gst_value_serialize_float), (gst_value_deserialize_float),
20025         (gst_string_wrap), (gst_value_deserialize_string),
20026         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20027         (gst_value_union_int_range_int_range),
20028         (gst_value_intersect_int_range_int_range),
20029         (gst_value_intersect_double_range_double_range),
20030         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20031         (gst_value_subtract_int_range_int_range),
20032         (gst_value_subtract_double_double_range),
20033         (gst_value_subtract_double_range_double_range),
20034         (gst_value_deserialize_fraction):
20035         * gst/gstvalue.h:
20036           Use gint, gdouble and gchar in our API instead of int, double and
20037           char (and make usage in gstvalue.c more consistent).
20038
20039 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20040
20041         * check/Makefile.am:
20042         * libs/gst/controller/Makefile.am:
20043         * libs/gst/dataprotocol/Makefile.am:
20044           fix up Makefile.am and remove GST_ENABLE_NEW
20045
20046 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20047
20048         * configure.ac:
20049         * gst/Makefile.am:
20050         * gst/base/Makefile.am:
20051         * gst/check/Makefile.am:
20052         * gst/elements/Makefile.am:
20053         * gst/net/Makefile.am:
20054           update LDFLAGS use some more
20055
20056 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20057
20058         * common/m4/gst-doc.m4:
20059           Fixes #312589
20060
20061 2005-11-26  Edward Hervey  <edward@fluendo.com>
20062
20063         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20064         This shouldn't issue a g_warning since it returns NULL if it
20065         couldn't find the plugin, and all functions using this behave
20066         properly on a NULL return. Switching to a GST_WARNING.
20067
20068 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20069
20070         * gst/gstbin.c: (gst_bin_handle_message_func):
20071         Don't leak clock messages.
20072
20073 2005-11-25  Wim Taymans  <wim@fluendo.com>
20074
20075         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20076         (gst_util_uint64_scale_int):
20077         Optimisations, remove unneeded vars.
20078
20079 2005-11-25  Wim Taymans  <wim@fluendo.com>
20080
20081         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20082         Added more checks for the high precision uint64 cases.
20083
20084         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20085         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20086         Implement high precision (guint64 * guint64) / guint64.
20087
20088 2005-11-24  Wim Taymans  <wim@fluendo.com>
20089
20090         * gst/base/gstbasesrc.c: (gst_base_src_query):
20091         Fix wrong percentage query.
20092
20093         * gst/gstutils.c: (gst_util_uint64_scale),
20094         (gst_util_uint64_scale_int):
20095         Add some more common cases that can be handled 
20096         efficiently to _scale.
20097
20098 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20099
20100         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20101         (gst_mini_object_suite):
20102           don't use check calls from threads; check probably isn't
20103           threadsafe and using a lock to make it threadsafe would
20104           defeat the purpose of this check
20105         * gst/check/gstcheck.c:
20106         * gst/check/gstcheck.h:
20107           use GST_DEBUG some more
20108
20109 2005-11-24  Wim Taymans  <wim@fluendo.com>
20110
20111         * gst/gstutils.c: (gst_util_uint64_scale),
20112         (gst_util_uint64_scale_int):
20113         Chain trivial case to _scale_int.
20114
20115 2005-11-24  Wim Taymans  <wim@fluendo.com>
20116
20117         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20118         Added test for scaling.
20119
20120         * gst/gstclock.h:
20121         Small doc fix.
20122
20123         * gst/gstutils.c: (gst_util_uint64_scale_int):
20124         Implemented high precision scaling code.
20125
20126 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20127
20128         * gst/gstinfo.h:
20129           do not crash on pad==NULL
20130
20131 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20132
20133         Patch by: Stefan Kost
20134
20135         * common/gtk-doc.mak:
20136         * docs/gst/Makefile.am:
20137         * docs/libs/Makefile.am:
20138           Fix distcheck issues for the libraries docs build
20139           Closes #319599.
20140
20141 2005-11-24  Michael Smith <msmith@fluendo.com>
20142
20143         * docs/manual/basics-helloworld.xml:
20144           Fix bug #315027: memory leak in example code in docs.
20145
20146 2005-11-24  Michael Smith <msmith@fluendo.com>
20147
20148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20149           Unlock the PREROLL_LOCK in a failure case.
20150
20151 2005-11-24  Wim Taymans  <wim@fluendo.com>
20152
20153         * docs/gst/gstreamer-sections.txt:
20154         * gst/base/gstadapter.h:
20155         * gst/base/gstbasesink.h:
20156         * gst/base/gstbasesrc.h:
20157         * gst/base/gstbasetransform.h:
20158         * gst/base/gstpushsrc.h:
20159         * gst/elements/gstfakesink.h:
20160         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20161         * gst/elements/gstfakesrc.h:
20162         * gst/elements/gstfilesink.h:
20163         * gst/elements/gstfilesrc.h:
20164         * gst/gst.c:
20165         * gst/gstbin.c:
20166         * gst/gstbuffer.c: (_gst_buffer_copy):
20167         * gst/gstbus.h:
20168         * gst/gstcaps.c:
20169         * gst/gstchildproxy.c:
20170         * gst/gstclock.c:
20171         * gst/gstelement.c:
20172         * gst/gstelementfactory.c:
20173         * gst/gstelementfactory.h:
20174         * gst/gstevent.c:
20175         * gst/gstghostpad.h:
20176         * gst/gstindex.h:
20177         * gst/gstinterface.h:
20178         * gst/gstminiobject.c:
20179         * gst/gstminiobject.h:
20180         * gst/gstpad.c:
20181         * gst/gstpad.h:
20182         * gst/gstpadtemplate.h:
20183         * gst/gstpipeline.h:
20184         * gst/gstpluginfeature.h:
20185         * gst/gstquery.h:
20186         * gst/gstqueue.h:
20187         * gst/gsttaglist.c:
20188         * gst/gsttaglist.h:
20189         * gst/gsttagsetter.c:
20190         * gst/gsttagsetter.h:
20191         * gst/gsttrace.c:
20192         * gst/gsttrace.h:
20193         * gst/gsttypefind.h:
20194         * gst/gsturi.h:
20195         * gst/gstvalue.c:
20196         * gst/net/gstnetclientclock.c:
20197         * gst/net/gstnetclientclock.h:
20198         * gst/net/gstnettimepacket.c:
20199         * gst/net/gstnettimeprovider.c:
20200         * gst/net/gstnettimeprovider.h:
20201         Doc fixes.
20202
20203 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20204
20205         * configure.ac: back to HEAD
20206
20207 === release 0.9.6 ===
20208
20209 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20210
20211         * configure.ac:
20212           releasing 0.9.6, "Always On Time"
20213
20214 2005-11-23  Wim Taymans  <wim@fluendo.com>
20215
20216         * docs/gst/gstreamer-sections.txt:
20217         * gst/glib-compat.c:
20218         * gst/gsttagsetter.c:
20219         * gst/gstvalue.c:
20220         * gst/net/gstnetclientclock.c:
20221         * gst/net/gstnettimepacket.h:
20222         Doc updates.
20223
20224 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20225
20226         * docs/faq/using.xml:
20227         * docs/libs/tmpl/gstcontrol.sgml:
20228         * docs/manual/advanced-dparams.xml:
20229         * docs/manual/appendix-checklist.xml:
20230         * docs/manual/basics-elements.xml:
20231         * docs/pwg/other-source.xml:
20232         * docs/random/moving-plugins:
20233         * gst/gstpad.c:
20234         * tools/gst-launch.1.in:
20235           remove mentions of sinesrc
20236
20237 2005-11-23  Michael Smith <msmith@fluendo.com>
20238
20239         * docs/gst/gstreamer-sections.txt:
20240           Update for new API and API changes.
20241         * gst/gstobject.h:
20242           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20243         * gst/gstvalue.c:
20244           Documentation typo fix.
20245         * gst/net/gstnettimepacket.c:
20246           Documentation fixes for arguments.
20247
20248 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20249
20250         * gst/gststructure.c: (gst_structure_get_fraction),
20251         (gst_structure_parse_value),
20252         (gst_structure_fixate_field_nearest_fraction):
20253         * gst/gststructure.h:
20254         * gst/gstutils.c: (gst_util_uint64_scale_int):
20255         * gst/gstutils.h:
20256         * scripts/update-funcnames:
20257         API Changes. 
20258         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20259         Make gst_structure_fixate_field_nearest_fraction take a numerator
20260         and denominator argument instead of a GValue
20261         add gst_structure_get_fraction helper function.
20262
20263 2005-11-23  Wim Taymans  <wim@fluendo.com>
20264
20265         * docs/design/part-TODO.txt:
20266         Update TODO.
20267
20268         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20269         * gst/net/gstnetclientclock.h:
20270         Use parent fields for timeout and window_size.
20271
20272 2005-11-23  Andy Wingo  <wingo@pobox.com>
20273
20274         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20275         rate_num/rate_denom change.
20276
20277         * gst/net/gstnetclientclock.c
20278         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20279         OBJECT_LOCK. Don't call add_observation with the lock.
20280
20281         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20282         fraction.
20283         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20284         rate fraction.
20285         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20286         deal with rate as a fraction whose numerator and denominator are
20287         GstClockTime values.
20288         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20289         master; the other fields are protected by the SLAVE_LOCK.
20290         (do_linear_regression): Note that this must be called with the
20291         SLAVE_LOCK.
20292         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20293         OBJECT_LOCK. Call set_calibration instead of touching the
20294         variables directly.
20295         (gst_clock_set_property, gst_clock_get_property): Protect
20296         master/slave parameters with the SLAVE_LOCK.
20297
20298         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20299         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20300         note that all of the instance variables that add_observation and
20301         the set_master functions use are protected by that lock and not
20302         the OBJECT_LOCK.
20303         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20304
20305         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20306         the caller to take the object lock.
20307
20308 2005-11-23  Wim Taymans  <wim@fluendo.com>
20309
20310         * gst/gsterror.c: (_gst_core_errors_init):
20311         * gst/gsterror.h:
20312         Add error for clock stuff.
20313
20314         * gst/gstpipeline.c: (gst_pipeline_change_state),
20315         (gst_pipeline_set_clock):
20316         Post clock error when clock cannot be used in a pipeline.
20317
20318 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20319
20320         * docs/gst/gstreamer-sections.txt:
20321           make two symbols from gstinfo private for the docs
20322         * gst/base/gstcollectpads.h:
20323         * gst/gstutils.c:
20324           fix doc typos, update docs
20325
20326 2005-11-22  Wim Taymans  <wim@fluendo.com>
20327
20328         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20329         (gst_base_sink_wait), (gst_base_sink_do_sync),
20330         (gst_base_sink_handle_event):
20331         * gst/base/gstbasesink.h:
20332         No need to store the clock, the parent element class already
20333         has it.
20334
20335         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20336         Updates for clock_set returning a gboolean
20337
20338         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20339         (gst_clock_id_wait_async), (gst_clock_class_init),
20340         (gst_clock_init), (gst_clock_finalize),
20341         (gst_clock_get_internal_time), (gst_clock_get_time),
20342         (gst_clock_slave_callback), (gst_clock_set_master),
20343         (gst_clock_get_master), (do_linear_regression),
20344         (gst_clock_add_observation), (gst_clock_set_property),
20345         (gst_clock_get_property):
20346         * gst/gstclock.h:
20347         Implement master/slave. When setting a clock as a slave, a
20348         periodic timeout is scheduled to sample master and slave times.
20349         Then the slave clock is recalibrated to match offset and rate
20350         of the master clock.
20351         Update logging a bit.
20352         Add flag so that a clock can state that is cannot be slaved to
20353         another clock.
20354
20355         * gst/gstelement.c: (gst_element_set_clock):
20356         * gst/gstelement.h:
20357         The set clock returns a gboolean for when an element cannot
20358         deal with the selected clock in the pipeline. 
20359
20360         * gst/gstpipeline.c: (gst_pipeline_change_state),
20361         (gst_pipeline_set_clock):
20362         * gst/gstpipeline.h:
20363         Handle the case where the selected clock cannot be set on
20364         the pipeline.
20365
20366         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20367         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20368         (gst_net_client_clock_set_property),
20369         (gst_net_client_clock_get_property),
20370         (gst_net_client_clock_observe_times):
20371         * gst/net/gstnetclientclock.h:
20372         Use regression code in GstClock parent, remove duplicated
20373         functionality.
20374
20375 2005-11-22  Michael Smith <msmith@fluendo.com>
20376
20377         * gst/gstutils.c: (gst_util_clock_time_scale):
20378         * gst/gstutils.h:
20379         * docs/gst/gstreamer-sections.txt:
20380           Rename method to have extra underscore.
20381
20382 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20383
20384         * gst/elements/Makefile.am:
20385         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20386         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20387         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20388         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20389         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20390         * gst/elements/gstfakesrc.h:
20391         * gst/gstqueue.c: (queue_leaky_get_type):
20392           correctly fix GEnumValues so that nick is the short lowercase
20393           dashed tag
20394         * tools/gst-inspect.c: (print_element_properties_info):
20395           also show the nick, since it's useful to use from parse_launch
20396           syntax
20397           Fixes #322139
20398
20399 2005-11-22  Michael Smith <msmith@fluendo.com>
20400
20401         * gst/gstutils.c: (gst_util_clocktime_scale):
20402         * gst/gstutils.h:
20403         * docs/gst/gstreamer-sections.txt:
20404           Add util method for scaling a clocktime by a fraction. Useful 
20405           implementation is left as an exercise for the reader.
20406
20407 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20408
20409         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20410         If needed, allocate storage in the destination value during
20411         collection.
20412
20413 2005-11-22  Edward Hervey  <edward@fluendo.com>
20414
20415         * docs/gst/gstreamer-sections.txt:
20416         * gst/Makefile.am:
20417         * gst/gst.h:
20418         * gst/gsturitype.c:
20419         * gst/gsturitype.h:
20420         * gst/gstutils.c: (gst_util_set_object_arg):
20421         * tools/gst-compprep.c: (main):
20422         * tools/gst-inspect.c: (print_element_properties_info):
20423         Removed GstURI, closes bug #321061
20424
20425 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20426
20427         * check/gst/gststructure.c: (GST_START_TEST):
20428         * gst/gststructure.c: (gst_structure_parse_value):
20429           Oops, broke automatic string type parsing.
20430           Add a test to catch it in future.
20431
20432 2005-11-22  Andy Wingo  <wingo@pobox.com>
20433
20434         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20435         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20436         Actually rename the function implementations. Grr.
20437
20438 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20439
20440         * check/gst/capslist.h:
20441           Comment test cases
20442         * check/gst/gststructure.c: (GST_START_TEST),
20443         (gst_structure_suite):
20444           Test automatic value type detection in gst_structure_from_string.
20445         * gst/gststructure.c: (gst_structure_parse_value):
20446           Add fraction as a type we try and guess automatically in
20447           caps/structure strings.
20448
20449 2005-11-22  Andy Wingo  <wingo@pobox.com>
20450
20451         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20452
20453         * gst/gsttagsetter.h:
20454         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20455         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20456         (gst_tag_setter_add_tag_valist)
20457         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20458         _add_values, _add_valist, and _add_valist_values. Since this is an
20459         interface the function suffixes should be more explicit so
20460         language binding don't end up with element.add_valist ->
20461         gst_tag_setter_add_valist, for example. Fixes #322069.
20462
20463 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20464
20465         * check/gst/gstcaps.c: (GST_START_TEST):
20466           Extend caps string tests to check that a caps to string
20467           conversion is reversible and produces the same caps.
20468
20469         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20470           Output "fraction" as the generic type fraction range, so caps
20471           serialisation and deserialisation works.
20472         * check/gst/capslist.h:
20473         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20474           Support 'MIN' and 'MAX' for deserialising fractions.
20475
20476 2005-11-22  Andy Wingo  <wingo@pobox.com>
20477
20478         * gst/gstevent.h (gst_event_new_new_segment)
20479         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20480         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20481         Renamed from *_newsegment, *_buffersize, *_notarget.
20482
20483         * scripts/update-funcnames: New script, performs the changes
20484         listed above.
20485
20486 2005-11-22  Wim Taymans  <wim@fluendo.com>
20487
20488         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20489         Make sure the GstFlowReturn is returned.
20490
20491         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20492         (gst_bus_add_signal_watch):
20493         * gst/gstbus.h:
20494         add gst_bus_add_signal_watch_full.
20495
20496         * gst/gstplugin.c: (gst_plugin_load_file):
20497         Small style cleanup.
20498
20499 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20500
20501         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20502           Block the fakesrc srcpad when we send an event, to avoid
20503           contention on the stream_lock causing random test failures.
20504
20505 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20506
20507         * check/gst/gstvalue.c: (GST_START_TEST):
20508         * gst/gstvalue.c: (gst_value_fraction_subtract):
20509           Fix subtraction.
20510
20511 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20512
20513         * gst/gst.h:
20514           include "gstchildproxy.h"
20515         * gst/gstchildproxy.h:
20516         * libs/gst/controller/gstcontroller.h:
20517           use G_GNUC_NULL_TERMINATED
20518
20519 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20520
20521         * check/gst/capslist.h:
20522         * check/gst/gstcaps.c: (GST_START_TEST):
20523         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20524         * gst/gststructure.c: (gst_structure_parse_range),
20525         (gst_structure_fixate_field_nearest_fraction):
20526         * gst/gststructure.h:
20527         * gst/gstvalue.c: (gst_value_init_fraction_range),
20528         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20529         (gst_value_collect_fraction_range),
20530         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20531         (gst_value_set_fraction_range_full),
20532         (gst_value_get_fraction_range_min),
20533         (gst_value_get_fraction_range_max),
20534         (gst_value_serialize_fraction_range),
20535         (gst_value_transform_fraction_range_string),
20536         (gst_value_compare_fraction_range),
20537         (gst_value_deserialize_fraction_range),
20538         (gst_value_intersect_fraction_fraction_range),
20539         (gst_value_intersect_fraction_range_fraction_range),
20540         (gst_value_subtract_fraction_fraction_range),
20541         (gst_value_subtract_fraction_range_fraction),
20542         (gst_value_subtract_fraction_range_fraction_range),
20543         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20544         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20545         (gst_value_transform_string_fraction), (_gst_value_initialize):
20546         * gst/gstvalue.h:
20547           Implement fraction ranges and extend GstFraction to support
20548           arithmetic subtraction, as well as deserialization from integer
20549           strings such as "100"
20550           Add a testsuite as for int and double range set operations
20551
20552 2005-11-21  Andy Wingo  <wingo@pobox.com>
20553
20554         * gst/gsttaglist.h: 
20555         * gst/gstcaps.h: 
20556         * gst/gststructure.h: Add glib-compat.h.
20557
20558 2005-11-21  Wim Taymans  <wim@fluendo.com>
20559
20560         * gst/gstbin.c: (gst_bin_change_state_func):
20561         Fix for #321595
20562
20563 2005-11-21  Wim Taymans  <wim@fluendo.com>
20564
20565         * gst/gstsegment.h:
20566         And add a nice define too.
20567
20568 2005-11-21  Wim Taymans  <wim@fluendo.com>
20569
20570         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20571         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20572         (gst_segment_set_duration), (gst_segment_set_last_stop),
20573         (gst_segment_set_seek), (gst_segment_set_newsegment),
20574         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20575         (gst_segment_clip):
20576         * gst/gstsegment.h:
20577         Make binding friendly.
20578
20579 2005-11-21  Andy Wingo  <wingo@pobox.com>
20580
20581         * gst/gsttagsetter.h: 
20582         * gst/gsttaglist.h: 
20583         * gst/gststructure.h: 
20584         * gst/gstcaps.h: 
20585         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20586         #319940.
20587
20588         * gst/gsterror.c (_gst_core_errors_init):
20589         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20590         category.
20591
20592         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20593         (noinst_HEADERS): noinst the -private.
20594
20595 2005-11-21  Michael Smith <msmith@fluendo.com>
20596
20597         * gst/gstplugin.h:
20598         * gst/gstregistry.h:
20599           Remove unimplemented declarations for which we can see no sensible
20600           use.
20601
20602 2005-11-21  Andy Wingo  <wingo@pobox.com>
20603
20604         * gst/gst.h: Include glib-compat.h.
20605
20606         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20607
20608         * gst/glib-compat.c: Include the public and the private header.
20609
20610         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20611
20612         * gst/gstvalue.c: 
20613         * gst/gstpad.c: 
20614         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20615
20616         * check/gst/gstevent.c (create_custom_events): Check that
20617         FLUSH_STOP is serialized.
20618
20619         * check/elements/identity.c (event_func): 
20620         * check/elements/fakesrc.c (event_func): No stream lock, the core
20621         takes it.
20622
20623         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20624         stream lock taking, yay.
20625
20626         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20627         ensure that core takes the stream lock.
20628
20629         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20630         lock name change.
20631
20632         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20633         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20634         it already. For the flush start we do take it though so we get the
20635         right preroll state change messages.
20636
20637         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20638         the stream lock here, the core does it for us.
20639
20640         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20641         GST_STREAM_GET_LOCK.
20642         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20643         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20644         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20645         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20646         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20647         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20648
20649         * gst/gstpad.c: Update for stream lock name change.
20650
20651         * gst/base/gstbasesink.c: Update for preroll lock name change.
20652
20653 2005-11-21  Wim Taymans  <wim@fluendo.com>
20654
20655         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20656         (gst_clock_get_master):
20657         * gst/gstclock.h:
20658         * gst/gstsystemclock.c: (gst_system_clock_init):
20659         Convert Clock flags to object flags.
20660         Added methods to manage master/slave clocks.
20661
20662 2005-11-21  Wim Taymans  <wim@fluendo.com>
20663
20664         * check/gst/gstsegment.c: (GST_START_TEST):
20665         * docs/design/part-TODO.txt:
20666         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20667         (gst_base_sink_event), (gst_base_sink_do_sync),
20668         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20669         (gst_base_sink_query), (gst_base_sink_change_state):
20670         * gst/base/gstbasesink.h:
20671         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20672         (gst_base_src_default_newsegment),
20673         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20674         (gst_base_src_get_range), (gst_base_src_loop),
20675         (gst_base_src_change_state):
20676         * gst/base/gstbasesrc.h:
20677         * gst/base/gstbasetransform.c:
20678         (gst_base_transform_prepare_output_buf),
20679         (gst_base_transform_event), (gst_base_transform_change_state):
20680         * gst/base/gstbasetransform.h:
20681         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20682         (gst_collect_pads_event):
20683         * gst/base/gstcollectpads.h:
20684         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20685         (gst_fake_src_create):
20686         * gst/elements/gstfakesrc.h:
20687         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20688         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20689         (gst_segment_set_last_stop), (gst_segment_set_seek),
20690         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20691         (gst_segment_to_running_time), (gst_segment_clip):
20692         * gst/gstsegment.h:
20693         More segment updates, replace code in plugins with segment
20694         helper functions.
20695
20696 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20697
20698         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20699         Don't ignore sscanf results
20700
20701 2005-11-21  Andy Wingo  <wingo@pobox.com>
20702
20703         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20704
20705         * *.h:
20706         * *.c: Ran scripts/update-macros. Oh yes.
20707
20708         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20709         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20710         GST_GET_LOCK, etc.
20711
20712         * scripts/update-macros: New script. Run it on your files to
20713         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20714         well.
20715
20716 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20717
20718         * docs/gst/Makefile.am:
20719         * docs/gst/gstreamer-docs.sgml:
20720         * docs/gst/gstreamer-sections.txt:
20721         * docs/gst/gstreamer.types:
20722         * gst/gstinfo.h:
20723           more docs fixes, add new api to the docs
20724
20725 2005-11-21  Andy Wingo  <wingo@pobox.com>
20726
20727         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20728         state_broadcast call.
20729
20730         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20731
20732 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20733
20734         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20735         function calls for arrays.
20736
20737 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20738
20739         * docs/random/ensonic/media-device-daemon.txt:
20740           wild idea, can this be done?
20741         * docs/gst/gstreamer-sections.txt:
20742         * gst/gsterror.h:
20743         * gst/gstfilter.c:
20744         * gst/gstfilter.h:
20745         * gst/gstplugin.h:
20746         * gst/gstpluginfeature.c:
20747         * gst/gsttrace.c:
20748         * gst/gstvalue.c:
20749         * gst/gstvalue.h:
20750           doc fixes and additions
20751
20752 2005-11-21  Andy Wingo  <wingo@pobox.com>
20753
20754         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20755         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20756         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20757         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20758         private to the basesrc implementation.
20759
20760         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20761         behalf of event function if necessary. It should no longer be
20762         necessary to take the stream lock in pad's event functions. Fixes
20763         #320299.
20764
20765 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20766         * docs/gst/gstreamer-sections.txt:
20767         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20768         (gst_structure_fixate_field_nearest_double),
20769         (gst_structure_fixate_field_boolean):
20770         * gst/gststructure.h:
20771         * win32/common/libgstreamer.def:
20772         * win32/gstreamer.def:
20773
20774         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20775         (#322027)
20776
20777 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20778
20779         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20780         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20781         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20782         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20783         (gst_fdsrc_uri_handler_init):
20784         * gst/elements/gstfdsrc.h:
20785           Port fd:// URI handler from 0.8 to fdsrc
20786
20787 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20788
20789         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20790         (gst_value_serialize_fourcc):
20791         * gst/gstvalue.h:
20792           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20793           consistent with our other format defines (#320324).
20794
20795 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20796
20797         * gst/gstvalue.c: (gst_value_is_fixed):
20798           Revert previous commit. Value lists are by definition
20799           not fixed, as they are a list of possible values.
20800
20801 2005-11-21  Andy Wingo  <wingo@pobox.com>
20802
20803         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20804         during the stable series if we need it. Fixes #319178.
20805
20806         * gst/gstevent.c (gst_event_new_filler): Removed.
20807
20808         * check/gst/gstevent.c: Update comment about filler events.
20809
20810 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20811
20812         * gst/gstvalue.c: (gst_value_is_fixed):
20813           Should handle both value arrays and value lists.
20814
20815 2005-11-21  Andy Wingo  <wingo@pobox.com>
20816
20817         patch by: Alessandro Dessina <alessandro nnva org>
20818
20819         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20820         functions to access arrays. Fixes #321962.
20821
20822 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20823
20824         * docs/gst/gstreamer.types:
20825           gst_collectpads_get_type => gst_collect_pads_get_type.
20826           
20827         * gst/base/gstbasetransform.c:
20828           Remove unused SIGNAL_HANDOFF enum.
20829
20830 2005-11-21  Andy Wingo  <wingo@pobox.com>
20831
20832         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20833         the event type (upstream, downstream, serialized). Renamed
20834         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20835         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20836         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20837
20838         * gst/gstevent.c: Update for new CUSTOM event names.
20839
20840         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20841
20842         * gst/gstevent.h:
20843         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20844         bug #319392.
20845
20846 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20847
20848         * docs/gst/gstreamer-sections.txt:
20849         * win32/common/libgstbase.def:
20850         * win32/libgstbase.def:
20851         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20852         (gst_collect_pads_class_init), (gst_collect_pads_init),
20853         (gst_collect_pads_finalize), (gst_collect_pads_new),
20854         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20855         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20856         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20857         (gst_collect_pads_start), (gst_collect_pads_stop),
20858         (gst_collect_pads_peek), (gst_collect_pads_pop),
20859         (gst_collect_pads_available), (gst_collect_pads_read),
20860         (gst_collect_pads_flush), (gst_collect_pads_event),
20861         (gst_collect_pads_chain):
20862         * gst/base/gstcollectpads.h:
20863           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20864           unimplemented functions as unimplemented. Add padding to
20865           GstCollectData. (#320766, #320423)
20866
20867 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20868
20869         * gst/gstmessage.c:
20870           Improve docs for DURATION message (usage of duration parameter)
20871           (#320113)
20872
20873 2005-11-20  Wim Taymans  <wim@fluendo.com>
20874
20875         * check/Makefile.am:
20876         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20877         (main):
20878         * gst/Makefile.am:
20879         * gst/gst.h:
20880         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20881         (gst_segment_set_seek), (gst_segment_set_newsegment),
20882         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20883         (gst_segment_clip):
20884         * gst/gstsegment.h:
20885         Added segment helper structure and methods. Not fully implemented
20886         yet.
20887         Added segment check.
20888
20889 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20890
20891         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20892           Add a deserialisation test for fractions
20893         * examples/metadata/read-metadata.c: (message_loop),
20894         (make_pipeline), (main):
20895           Fix up metadata reading sample.
20896         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20897           Debug format fix
20898         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20899           Don't try and fixate empty caps
20900         * gst/gst_private.h:
20901           Wrap in G_BEGIN_DECLS/G_END_DECLS
20902         * gst/gstvalue.c: (gst_value_collect_fraction),
20903         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20904         (gst_value_transform_string_fraction),
20905         (gst_value_compare_fraction):
20906           Add some extra guards to ensure that we don't end up 
20907           with an invalid denominator of 0 in a gstfraction and
20908           that fractions always get reduced.
20909
20910 2005-11-20  Wim Taymans  <wim@fluendo.com>
20911
20912         * docs/gst/gstreamer-sections.txt:
20913         * gst/gstbuffer.h:
20914         * gst/gstelement.c:
20915         * gst/gstformat.c:
20916         * gst/gstformat.h:
20917         * gst/gstindex.h:
20918         * gst/gstquery.c:
20919         * gst/gstquery.h:
20920         * gst/gstvalue.c:
20921         Doc fixes.
20922
20923 2005-11-20  Wim Taymans  <wim@fluendo.com>
20924
20925         * docs/design/part-TODO.txt:
20926         * gst/gstcaps.h:
20927         Make a proper enum of the flag.
20928
20929 2005-11-19  Wim Taymans  <wim@fluendo.com>
20930
20931         * docs/design/part-TODO.txt:
20932         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20933         (gst_format_to_quark), (gst_format_register):
20934         * gst/gstformat.h:
20935         * gst/gstquery.c: (_gst_query_initialize),
20936         (gst_query_type_get_name), (gst_query_type_to_quark),
20937         (gst_query_type_register):
20938         * gst/gstquery.h:
20939         Add type to quark and type to string conversions.
20940
20941 2005-11-19  Andy Wingo  <wingo@pobox.com>
20942
20943         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20944         #320097.
20945
20946 2005-11-19  Wim Taymans  <wim@fluendo.com>
20947
20948         * docs/design/part-TODO.txt:
20949         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20950         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20951         (gst_bin_handle_message_func):
20952         * gst/gstbin.h:
20953         Make message handling overridable.
20954
20955 2005-11-19  Andy Wingo  <wingo@pobox.com>
20956
20957         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20958
20959         * gst/gstclock.h:
20960         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20961         be a GstClockTime.
20962         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20963         is a GstClockTime. Fixes #321710.
20964
20965         * gst/gstclock.h (GstClock): Remove offset property. Add
20966         internal_calibration and external_calibration. Fix padding. Pad
20967         also by GstClockTime so we don't run into problems.
20968
20969         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20970         (gst_clock_get_rate_offset): Remove.
20971         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20972
20973         * gst/gstutils.h:
20974         * gst/gstutils.c (g_static_rec_cond_wait)
20975         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20976
20977         * gst/gstbin.c: Remove terrible continue_state prototype.
20978
20979         * gst/gstelement.h (gst_element_continue_state): Make public.
20980
20981         * gst/gstelement.h:
20982         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20983         by continue_state. Fixes #319389.
20984
20985         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20986         Really fixes #168438. However I don't see anywhere where the
20987         filter function is called... stupid GStreamer...
20988         
20989         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20990         don't have a dispose function, so it won't get called when the
20991         object is unreffed, but oh well!
20992
20993         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20994         allows a destroy function to be set so user_data can be freed.
20995         Fixes #168438.
20996         (gst_index_set_filter): Call gst_index_set_filter_full.
20997
20998         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20999
21000         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21001         string should produce an error, given the lack of a way to
21002         represent NULL strings. Fixes #165650.
21003         
21004         * gst/gstvalue.h: 
21005         * gst/gstvalue.c (gst_value_array_append_value) 
21006         (gst_value_array_prepend_value, gst_value_array_get_size) 
21007         (gst_value_array_get_value): New API, copied from
21008         gst_value_list_*, only operates on arrays.
21009         (gst_value_list_append_value, gst_value_list_prepend_value) 
21010         (gst_value_list_concat, gst_value_list_get_size) 
21011         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21012
21013         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21014         init_list, because it works on both.
21015         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21016         (gst_value_copy_list_or_array): Renamed from copy_list.
21017         (gst_value_free_list_or_array): Renamed from free_list.
21018         (gst_value_collect_list_or_array): Renamed from collect_list.
21019         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21020         (gst_value_list_or_array_peek_pointer): Renamed from
21021         list_peek_pointer.
21022         (_gst_value_array_value_table, _gst_value_list_value_table):
21023         Update value table functions.
21024         (gst_value_compare_list_or_array): Renamed from compare_list.
21025
21026         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21027         some constness.
21028
21029         * gst/gsttaglist.c:
21030         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21031         GstTagList*. Fixes #143472.
21032
21033         * gst/gststructure.h: Clarify what the foreach/map functions can
21034         or can't do to their arguments.
21035
21036 2005-11-18  Wim Taymans  <wim@fluendo.com>
21037
21038         * gst/gstclock.c: (gst_clock_set_calibration),
21039         (gst_clock_get_calibration):
21040         Doc and API fixes.
21041         Calibration can be set with internal time equal to current
21042         internal time too.
21043
21044 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21045
21046         * gst/gsterror.c:
21047         * gst/gsterror.h:
21048           document
21049
21050 2005-11-18  Andy Wingo  <wingo@pobox.com>
21051
21052         * configure.ac: 
21053         * pkgconfig/gstreamer-net.pc.in:
21054         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21055         * pkgconfig/Makefile.am: Add net pkgconfig files.
21056
21057 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21058
21059         * gst/gstcaps.c:
21060         * gst/gstghostpad.c:
21061         * gst/gsttrace.c:
21062         * gst/gstvalue.c:
21063         * gst/gstvalue.h:
21064           docs fixes
21065
21066 2005-11-18  Andy Wingo  <wingo@pobox.com>
21067
21068         * gst/net/gstnetclientclock.c: Turn off debugging.
21069
21070         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21071         times connverge somewhat. Can't make a real test.
21072
21073         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21074         integer arithmetic. Return the minimum of the domain, which can be
21075         set as "internal" for gst_clock_set_calibration.
21076         (gst_net_client_clock_observe_times): Call _set_calibration.
21077         (gst_net_client_clock_new): Call _set_calibration instead of
21078         rate_offset.
21079
21080         * check/net/gstnetclientclock.c (test_functioning): Use the right
21081         adjustment api.
21082
21083         * gst/gstclock.h:
21084         * gst/gstclock.c (gst_clock_get_calibration) 
21085         (gst_clock_set_calibration): New functions, obsolete the ones I
21086         added yesterday. Doh. Precision issues mean we have to extrapolate
21087         from a point in the more recent past than 1970.
21088         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21089         obsolete.
21090         (gst_clock_adjust_unlocked): Use the right calibration data.
21091
21092 2005-11-18  Edward Hervey  <edward@fluendo.com>
21093
21094         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21095         Also reset the ->current_* values in READY->PAUSED
21096
21097 2005-11-18  Andy Wingo  <wingo@pobox.com>
21098
21099         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21100         Whoops, check the right fd. Also add some debugging.
21101         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21102         (do_linear_regression): Add a crapload of debugging. Subtract off
21103         the minimum values from the input series to discard unneeded bits.
21104         Use only int arithmetic. There is still double arithmetic when
21105         calculating the intercept that needs fixing. Return boolean to
21106         indicate success; FALSE would mean the domain or range is too
21107         great. Still needs fixes.
21108
21109 2005-11-18  Wim Taymans  <wim@fluendo.com>
21110
21111         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21112         For the current position in stream time, we need to subtract
21113         accumulated time.
21114         
21115         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21116         Release lock before calling the callback function of async
21117         entries.
21118
21119 2005-11-18  Andy Wingo  <wingo@pobox.com>
21120
21121         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21122         Port goes all the way to MAXUINT16.
21123
21124         * gst/net/gstnettimeprovider.c: Make the port range the same as
21125         for the kernel: 0 assigns, otherwise ports are less than
21126         MAXUINT16.
21127
21128         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21129         port change.
21130
21131         * check/net/gstnetclientclock.c (test_functioning): Add the start
21132         of another test. 
21133
21134 2005-11-18  Wim Taymans  <wim@fluendo.com>
21135
21136         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21137         (gst_bin_remove_func), (bin_bus_handler):
21138         * gst/gstbin.h:
21139         Removing a clock provider from a bin, triggers a clock lost message
21140         so that a new clock will be selected.
21141         Adding a clock to a bin triggers a clock provider message.
21142         Make sure we reselect a clock when we received a clock lost message.
21143         Keep a reference to the element that provided the clock.
21144
21145 2005-11-18  Andy Wingo  <wingo@pobox.com>
21146
21147         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21148         the clock initially so it produces values around the base time.
21149         (gst_net_client_clock_class_init): Typo fix.
21150         (gst_net_client_clock_thread): Add note on when the socket gets
21151         closed.
21152
21153 2005-11-17  Wim Taymans  <wim@fluendo.com>
21154
21155         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21156         Free remote and local time arrays.
21157
21158 2005-11-17  Wim Taymans  <wim@fluendo.com>
21159
21160         * gst/net/gstnetclientclock.c: (do_linear_regression),
21161         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21162         Fix compilation, uninitialized vars and a forgotten continue.
21163
21164 2005-11-17  Andy Wingo  <wingo@pobox.com>
21165
21166         * check/Makefile.am (check_PROGRAMS): 
21167         * check/net/gstnetclientclock.c: Add a most minimal test for the
21168         net client clock. More to come later.
21169
21170         * gst/net/gstnet.h: 
21171         * gst/net/Makefile.am: Add netclientclock.
21172
21173         * gst/net/gstnetclientclock.h:
21174         * gst/net/gstnetclientclock.c: New files, implement an untested
21175         GstClock that takes its time from a network time provider.
21176         Implements the algorithm in network-clock.scm.
21177
21178         * tests/network-clock.scm (*window-size*): Rename from
21179         *queue-length*.
21180         * tests/network-clock.scm (network-time): 
21181         * tests/network-clock-utils.scm (q-push): Update callers.
21182
21183 2005-11-17  Wim Taymans  <wim@fluendo.com>
21184
21185         * gst/gstbin.c: (gst_bin_provide_clock_func),
21186         (gst_bin_sort_iterator_new):
21187         And unref the child too..
21188
21189 2005-11-17  Wim Taymans  <wim@fluendo.com>
21190
21191         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21192         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21193         Refactor the sort iterator so it can be used while holding the
21194         LOCK too.
21195         Make clock selection select a clock closest to the source.
21196
21197 2005-11-17  Michael Smith <msmith@fluendo.com>
21198
21199         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21200         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21201         * gst/gstclock.h:
21202           Anonymous structs are a gcc (and some other compilers) extension, so
21203           don't use them. Since this is only for ABI-compatibility, and our
21204           API/ABI freeze is over in a few days, this whole thing will only
21205           last a few days, so don't bother trying to think up a meaningful
21206           name for the struct.
21207
21208 2005-11-17  Andy Wingo  <wingo@pobox.com>
21209
21210         * gst/gstclock.h (GstClock): Add rate and offset properties,
21211         preserving ABI stability. Add rate/offset accessors. Will file bug
21212         for the freeze break.
21213
21214         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21215         and offset, trying to keep precision and avoiding
21216         underflow/overflow.
21217         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21218         functions. Make gst_clock_set_time_adjust obsolete.
21219         (gst_clock_set_time_adjust): Note that this function is obsolete.
21220         Will file bug soon.
21221
21222         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21223         greppable by using GST_PADDING-1+1.
21224
21225 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21226
21227         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21228
21229         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21230           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21231
21232         * gst/gstpadtemplate.h:
21233         * gst/gstpluginfeature.h:
21234           Don't use c++ style comments in headers (#321638).
21235
21236 2005-11-16  Andy Wingo  <wingo@pobox.com>
21237
21238         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21239         buffer.
21240
21241         * check/net/gstnettimeprovider.c: Check to see that the time
21242         provider actually provides times. Works, yo!
21243
21244 2005-11-16  Wim Taymans  <wim@fluendo.com>
21245
21246         * check/Makefile.am:
21247         Enable more tests.
21248
21249         * check/elements/fakesrc.c: (GST_START_TEST):
21250         Set element to NULL before disposing it.
21251
21252 2005-11-16  Andy Wingo  <wingo@pobox.com>
21253
21254         * gst/net/Makefile.am:
21255         * gst/net/gstnet.h:
21256         * gst/net/gstnettimeprovider.c: 
21257         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21258         provider, include it from gstnet.h, and add it to the build.
21259
21260         * gst/net/gstnettimepacket.h: 
21261         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21262         sending and receiving.
21263
21264 2005-11-16  Wim Taymans  <wim@fluendo.com>
21265
21266         * check/Makefile.am:
21267         Enable valgrind check.
21268
21269         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21270         (gst_fake_src_alloc_buffer):
21271         Fix memleak.
21272
21273 2005-11-16  Wim Taymans  <wim@fluendo.com>
21274
21275         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21276         Call parent finalize too.
21277
21278 2005-11-16  Wim Taymans  <wim@fluendo.com>
21279
21280         * check/Makefile.am:
21281         Enable valgrind check that should work fine now.
21282
21283         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21284         * gst/gstqueue.c: (gst_queue_init):
21285         Fix memleaks in pad allocation.
21286
21287 2005-11-16  Andy Wingo  <wingo@pobox.com>
21288
21289         * gst/net/Makefile.am:
21290         * gst/net/gstnet.h: New part of core to hold network elements and
21291         objects. Put in core because it exposes API that applications want
21292         to use. The library is named libgstnet-tempname right now because
21293         of the existing libgstnet in gst-plugins-base. Solution is
21294         probably to rename the one in plugins-base; will file a bug for
21295         the freeze break.
21296
21297         * gst/net/gstnettimeprovider.c: 
21298         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21299         get_time call over the network.
21300
21301         * configure.ac: 
21302         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21303
21304         * check/Makefile.am:
21305         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21306         get additions shortly.
21307
21308 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21309
21310         * gst/gstpad.c: (gst_pad_new_from_static_template):
21311         * gst/gstpad.h:
21312           add gst_pad_new_from_static_template functions
21313         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21314         (gst_check_setup_sink_pad):
21315         * gst/elements/gsttee.c: (gst_tee_init):
21316           and use them
21317
21318 2005-11-16  Wim Taymans  <wim@fluendo.com>
21319
21320         * gst/gstpad.c: (gst_pad_pause_task):
21321         Removed warning, it's not really an error either.
21322
21323 2005-11-16  Wim Taymans  <wim@fluendo.com>
21324
21325         * gst/base/gstbasetransform.c:
21326         (gst_base_transform_prepare_output_buf),
21327         (gst_base_transform_event):
21328         Check if the caps are NULL, this can happen if the element
21329         is shutting down and the pad caps are set to NULL.
21330
21331 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21332
21333         * gst/elements/gsttee.c: (gst_tee_init):
21334           fix pad template leak in tee
21335
21336 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21337
21338         * gst/glib-compat.c: (g_value_dup_gst_object):
21339         * gst/glib-compat.h:
21340         * gst/gstpad.c: (gst_pad_set_property):
21341           use gst_object_ref when setting the pad template; this will
21342           trigger the pad template leaks on GLib 2.6 and the slaves
21343
21344 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21345
21346         * gst/glib-compat.c: (gst_flags_get_first_value):
21347         * gst/glib-compat.h:
21348         * gst/gstregistryxml.c:
21349           remove functions copied from GLib 2.6
21350
21351 2005-11-16  Michael Smith <msmith@fluendo.com>
21352
21353         * gst/Makefile.am:
21354           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21355           do, but only breaks with newer valgrind versions. We're not a
21356           valgrind tool, we have no link-time dependencies on libcoregrind.
21357
21358 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21359
21360         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21361           some debug changes
21362         * gst/gstmessage.h:
21363           typo fixes
21364
21365 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21366
21367         * gst/base/gstbasesrc.c: (gst_base_src_init):
21368         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21369         * gst/gstqueue.c: (gst_queue_init):
21370         * gst/gstregistryxml.c: (load_feature):
21371           Revert all these unrefs, they don't even pass make check !
21372
21373 2005-11-15  Johan Dahlin  <johan@gnome.org>
21374
21375         * gst/base/gstbasesrc.c: (gst_base_src_init):
21376         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21377         * gst/gstqueue.c: (gst_queue_init): 
21378         Free pad templates, fixes a couple of leaks.
21379
21380 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21381
21382         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21383
21384         * gst/gstpad.c: (gst_pad_get_property):
21385           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21386           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21387           (#321452)
21388
21389 2005-11-15  Wim Taymans  <wim@fluendo.com>
21390
21391         * gst/gstevent.c:
21392         Small doc update.
21393
21394 2005-11-15  Andy Wingo  <wingo@pobox.com>
21395
21396         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21397
21398         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21399         using GST_CLOCK_TIME_NONE to disable base time management.
21400         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21401         time if it was NONE before.
21402         (gst_pipeline_change_state): Only munge the base time if
21403         stream_time != GST_CLOCK_TIME_NONE.
21404
21405         * check/gst/gstpipeline.c (test_base_time): Punt around the
21406         problem of the probe not being called, because that's not the
21407         issue I'm looking at. Add a check that setting stream_time to NONE
21408         disables base time management.
21409         
21410 2005-11-15  Wim Taymans  <wim@fluendo.com>
21411
21412         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21413         segment_stop == -1 at startup.
21414
21415         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21416         (gst_base_transform_change_state):
21417         Init segment values at start.
21418
21419 2005-11-15  Wim Taymans  <wim@fluendo.com>
21420
21421         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21422         0 segment values are 0 in any format.
21423
21424         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21425         * gst/base/gstbasetransform.h:
21426         Parse newsegment correctly in basetransform
21427
21428         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21429         Sync to clock using updated segment values.
21430
21431 2005-11-15  Andy Wingo  <wingo@pobox.com>
21432
21433         * check/gst/gstpipeline.c (test_base_time): Add check that the
21434         base time and stream time are reset correctly.
21435
21436 2005-11-15  Wim Taymans  <wim@fluendo.com>
21437
21438         * docs/design/part-TODO.txt:
21439         Some more TODO items.
21440
21441 2005-11-15  Andy Wingo  <wingo@pobox.com>
21442
21443         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21444         error if the user selected "no clock" as the clocking method.
21445
21446         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21447         timestamps with live capture.
21448
21449         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21450         is 0 but we are a live source, timestamp the buffers using the
21451         element's clock.
21452
21453 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21454
21455         * docs/gst/gstreamer-sections.txt:
21456         * gst/gsterror.c:
21457         * gst/gstghostpad.c:
21458         * gst/gstobject.h:
21459         * gst/gstxml.c:
21460           more section docs
21461
21462 2005-11-14  Wim Taymans  <wim@fluendo.com>
21463
21464         * common/gst.supp:
21465           add suppressions from Wim's Debian machine
21466
21467 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21468
21469         * common/gst.supp:
21470           add suppressions from Andy's AMD64 Ubuntu machine
21471
21472 2005-11-14  Andy Wingo  <wingo@pobox.com>
21473
21474         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21475         STATE_LOCK not necessary. Fixes #311489.
21476
21477         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21478         #305291.
21479
21480         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21481         this function is not implemented.
21482
21483 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21484
21485         * gst/base/gstbasetransform.c:
21486         (gst_base_transform_prepare_output_buf):
21487         Ref the source pad caps while we need them.
21488         Fixes (#321386)
21489
21490 2005-11-11  Wim Taymans  <wim@fluendo.com>
21491
21492         * docs/gst/gstreamer-sections.txt:
21493         Added some docs for GstCollectData.
21494
21495         * gst/base/gstadapter.c:
21496         Some small code example fix.
21497
21498         * gst/base/gstcollectpads.c:
21499         * gst/base/gstcollectpads.h:
21500         Document some more.
21501
21502 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21503
21504         * configure.ac: back to HEAD
21505
21506 === release 0.9.5 ===
21507
21508 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21509
21510         * configure.ac:
21511           releasing 0.9.5, "Bike Lunch Day"
21512
21513 2005-11-11  Wim Taymans  <wim@fluendo.com>
21514
21515         * gst/gstbuffer.c: (_gst_buffer_copy):
21516         Copy more flags.
21517
21518         * gst/gstcaps.c: (gst_caps_is_equal):
21519         Fix some docs.
21520         Make _is_equal fast in the trivial cases.
21521
21522         * gst/gstminiobject.c:
21523         * gst/gstminiobject.h:
21524         More docs. Spifify .h file.
21525
21526         * gst/gstutils.c:
21527         Small doc update.
21528
21529 2005-11-11  Wim Taymans  <wim@fluendo.com>
21530
21531         * gst/base/gstbasetransform.c:
21532         (gst_base_transform_prepare_output_buf),
21533         (gst_base_transform_handle_buffer):
21534         Small cleanups.
21535         If we're processing a buffer and need to allocate an output
21536         buffer, we cannot accept a format change. If we did get a 
21537         format change, we have to alloc a buffer ourselves of the 
21538         right size.
21539
21540 2005-11-11  Wim Taymans  <wim@fluendo.com>
21541
21542         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21543         While checking the flag for reentrancy in the gstcaps function
21544         is nice to detect recursive invocations, it also makes it 
21545         impossible to call getcaps from multiple threads, which must be
21546         possible. So, checking for recursive calls has to go.
21547
21548 2005-11-11  Michael Smith <msmith@fluendo.com>
21549
21550         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21551           Don't sync on buffers that fall partially outside our current
21552           segment. Prevents an assertion failure/abort playing some files.
21553
21554 2005-11-10  Andy Wingo  <wingo@pobox.com>
21555
21556         * check/gst/gstbin.c (test_message_state_changed_children): Style
21557         fix..
21558
21559         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21560         gst_bus_poll with the signal watch. Ensures that poll and a signal
21561         watch see the same messages.
21562
21563         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21564         a poll and a watch at the same time get the same messages.
21565
21566 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21567
21568         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21569         * gst/gstcaps.c: (gst_caps_intersect):
21570           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21571           and it's not needed.
21572
21573 2005-11-10  Wim Taymans  <wim@fluendo.com>
21574
21575         * docs/design/part-TODO.txt:
21576         Updated todo.
21577
21578 2005-11-10  Wim Taymans  <wim@fluendo.com>
21579
21580         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21581         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21582         (gst_base_src_do_sync), (gst_base_src_get_range):
21583         Implement clock sync in base class.
21584
21585 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21586
21587         patch by: Tim-Philipp Müller <tim at centricular dot net>
21588
21589         * gst/gststructure.c: (gst_structure_parse_field),
21590         (gst_structure_from_string):
21591           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21592           so that gst_parse_launch() can deal with spaces in filtered link
21593           caps (fixes #164479)
21594         * check/gst/capslist.h:
21595         * check/gst/gststructure.c: (GST_START_TEST):
21596           add unit tests for this change
21597
21598 2005-11-10  Wim Taymans  <wim@fluendo.com>
21599
21600         * docs/gst/gstreamer-sections.txt:
21601         * gst/gstelement.c:
21602         * gst/gstelement.h:
21603         Fix docs, move some STATE macros to private.
21604
21605 2005-11-10  Wim Taymans  <wim@fluendo.com>
21606
21607         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21608         Added check for bug #317341
21609
21610         * gst/gstbuffer.c:
21611         * gst/gstbuffer.h:
21612         Some more spiffifying.
21613
21614         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21615         Call peer linkfunction if we are a source pad. Totally fixes
21616         #317341
21617
21618         * gst/gstpad.c:
21619         Update docs, source pads should call the peer linkfunction
21620         so they can atomically perform the pad link.
21621
21622 2005-11-09  Wim Taymans  <wim@fluendo.com>
21623
21624         * gst/gstbuffer.c:
21625         * gst/gstbuffer.h:
21626         Uber-spiffy-spiffify some more.
21627
21628 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21629
21630         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21631         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21632         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21633         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21634         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21635         * gst/gstpad.c: (gst_pad_init):
21636           Use GST_DEBUG_FUNCPTR() more extensively.
21637
21638 2005-11-09  Wim Taymans  <wim@fluendo.com>
21639
21640         * gst/gstobject.c: (gst_object_class_init):
21641         * gst/gstobject.h:
21642         Documentation fixes.
21643
21644 2005-11-09  Edward Hervey  <edward@fluendo.com>
21645
21646         * gst/gsttypefindfactory.c:
21647         Fix docs.
21648         
21649 2005-11-09  Edward Hervey  <edward@fluendo.com>
21650
21651         * gst/base/gsttypefindhelper.c:
21652         * gst/gsttypefind.c:
21653         * gst/gsttypefind.h:
21654         Fix docs.
21655
21656 2005-11-09  Wim Taymans  <wim@fluendo.com>
21657
21658         * gst/gstiterator.c:
21659         Fix revision data.
21660
21661         * gst/gsttask.c:
21662         * gst/gsttask.h:
21663         Fix docs.
21664
21665 2005-11-09  Wim Taymans  <wim@fluendo.com>
21666
21667         * gst/gstevent.h:
21668         * gst/gsturi.h:
21669         Fix docs.
21670
21671 2005-11-09  Wim Taymans  <wim@fluendo.com>
21672
21673         * docs/gst/gstreamer-sections.txt:
21674         Moved the message async delivery private lock and cond
21675         to the private section.
21676
21677         * gst/gstmessage.c:
21678         * gst/gstmessage.h:
21679         Fixed docs.
21680
21681 2005-11-09  Edward Hervey  <edward@fluendo.com>
21682
21683         * docs/gst/gstreamer-sections.txt:
21684         * gst/gsturi.c:
21685         * gst/gsturi.h:
21686         Document GstURIHandler
21687
21688 2005-11-09  Wim Taymans  <wim@fluendo.com>
21689
21690         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21691         (gst_iterator_find_custom):
21692         * gst/gstiterator.h:
21693         Fix iterator docs.
21694
21695 2005-11-09  Wim Taymans  <wim@fluendo.com>
21696
21697         * gst/gstbin.h:
21698         Document another field.
21699
21700         * gst/gststructure.c:
21701         * gst/gststructure.h:
21702         Document.
21703
21704 2005-11-09  Wim Taymans  <wim@fluendo.com>
21705
21706         * gst/gstbin.h:
21707         Documented structs.
21708
21709 2005-11-09  Wim Taymans  <wim@fluendo.com>
21710
21711         * docs/gst/gstreamer-sections.txt:
21712         Added some new macros.
21713
21714         * gst/gstclock.c:
21715         * gst/gstclock.h:
21716         * gst/gstobject.h:
21717         Docs updates.
21718
21719 2005-11-09  Wim Taymans  <wim@fluendo.com>
21720
21721         * docs/design/part-TODO.txt:
21722         Some more items for the TODO
21723
21724         * gst/gstcaps.c:
21725         * gst/gstcaps.h:
21726         Document GstCaps.
21727
21728 2005-11-09  Andy Wingo  <wingo@pobox.com>
21729
21730         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21731         to work on something else now tho...
21732
21733         * gst/base/gstadapter.c: More adapter docs.
21734
21735         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21736         (gst_file_sink_stop): New functions, replace the state change
21737         handler.
21738         (gst_file_sink_class_init): Hook up the start and stop functions.
21739         (gst_file_sink_base_init): Don't set the state change handler any
21740         more. It was a bit ugly too, being set from here...
21741         (gst_file_sink_get_property, gst_file_sink_set_property):
21742         Cleanups...
21743         (gst_file_sink_set_location): More robust check that doesn't call
21744         GST_STATE. Ugggggg.
21745
21746 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21747
21748         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21749           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21750
21751 2005-11-08  Wim Taymans  <wim@fluendo.com>
21752
21753         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21754         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21755         (gst_base_sink_chain), (gst_base_sink_change_state):
21756         * gst/base/gstbasesink.h:
21757         * gst/base/gstbasesrc.h:
21758         * gst/gstelement.h:
21759         * gst/gstevent.h:
21760         Avoid excessive typechecking in macros.
21761
21762         * gst/gstminiobject.c: (gst_mini_object_get_type),
21763         (gst_mini_object_init), (gst_mini_object_new),
21764         (gst_mini_object_free):
21765         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21766         (gst_object_finalize):
21767         Remove cruft code, optimize alloc_trace.
21768
21769 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21770
21771         * docs/faq/gst-uninstalled:
21772           fix up PS1 for systems that try to reset it
21773
21774 2005-11-07  Wim Taymans  <wim@fluendo.com>
21775
21776         * gst/base/gstbasesrc.c: (gst_base_src_init),
21777         (gst_base_src_get_range):
21778         Set the segment_end to -1 initially. Fixed typefind.
21779
21780 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21781
21782         * gst/base/gstadapter.c:
21783           Debug category should be 'adapter', not 'GstAdapter'.
21784           
21785         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21786         (gst_collectpads_class_init), (gst_collectpads_init),
21787         (gst_collectpads_peek), (gst_collectpads_pop),
21788         (gst_collectpads_event), (gst_collectpads_chain):
21789           Add debug category and some debugging output. Use boilerplate
21790           macros. Remove some extraneous words from docs.
21791
21792 2005-11-05  Andy Wingo  <wingo@pobox.com>
21793
21794         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21795         macro.
21796
21797 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21798
21799         * docs/gst/gstreamer-sections.txt:
21800         * gst/gstcaps.h:
21801         * gst/gstinfo.c:
21802         * gst/gstminiobject.h:
21803         * gst/gstobject.h:
21804         * gst/gstutils.h:
21805           more docs added
21806
21807 2005-11-04  Wim Taymans  <wim@fluendo.com>
21808
21809         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21810         Small update to stop at the configured segment_end
21811         position.
21812
21813 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21814
21815         * gst/gstregistry.c:
21816         * gst/gstregistry.h:
21817           added missing docs
21818
21819 2005-11-04  Edward Hervey  <edward@fluendo.com>
21820
21821         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21822         Check if we are doing a segment seek and have arrived at the
21823         end of that segment.
21824
21825 2005-11-04  Wim Taymans  <wim@fluendo.com>
21826
21827         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21828         Don't leak a mutex unlock in case of an error.
21829
21830         * gst/gstbus.h:
21831         Doc fixes.
21832
21833 2005-11-04  Wim Taymans  <wim@fluendo.com>
21834
21835         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21836         (gst_bus_post):
21837         Get the context to wake up only once.
21838
21839 2005-11-03  Wim Taymans  <wim@fluendo.com>
21840
21841         * check/states/sinks.c: (GST_START_TEST):
21842         Uncomment fixed check.
21843
21844         * docs/design/part-TODO.txt:
21845         Updated TODO.
21846
21847         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21848         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21849         (gst_base_sink_get_position):
21850         If we are going to PLAYING, post the right pending state
21851         when we post the intermediate paused message.
21852
21853         * gst/gstelement.c: (gst_element_continue_state),
21854         (gst_element_set_state_func), (gst_element_change_state):
21855         Don't post state changes that were between the same state
21856         and were not ASYNC.
21857
21858 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21859
21860         * docs/gst/gstreamer-sections.txt:
21861         * gst/gstcaps.h:
21862         * gst/gstinfo.c:
21863         * gst/gstminiobject.h:
21864         * gst/gstobject.h:
21865         * gst/gstutils.h:
21866           more docs and doc style fixes
21867
21868 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21869
21870         * docs/gst/gstreamer-sections.txt:
21871         * gst/gstelement.c:
21872         * gst/gstminiobject.c:
21873         doc fixes
21874
21875 2005-11-03  Andy Wingo  <wingo@pobox.com>
21876
21877         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21878         state-changed messages actually have the right order and the right
21879         values.
21880
21881 2005-11-03  Wim Taymans  <wim@fluendo.com>
21882
21883         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21884         Added some more checks. Specifically the case where NO_PREROLL
21885         elements are in the pipeline.
21886
21887         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21888         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21889         (gst_base_sink_get_position):
21890         Post READY->PAUSED state change messages too.
21891         Fix bug where VOID was posted as pending state...
21892
21893         * gst/gstbin.c: (gst_bin_recalc_state):
21894         use _element_continue_state() to continue the state change.
21895
21896         * gst/gstelement.c: (gst_element_continue_state),
21897         (gst_element_commit_state), (gst_element_set_state_func),
21898         (gst_element_change_state), (gst_element_change_state_func):
21899         Lots of state change cleanups, assign the STATE_RETURN in
21900         a new continue_state() function that also propagates the
21901         last return value from a state change to the app.
21902         Update some debug statements with proper category.
21903
21904 2005-11-03  Wim Taymans  <wim@fluendo.com>
21905
21906         * docs/design/part-events.txt:
21907         * docs/design/part-gstpipeline.txt:
21908         * docs/design/part-messages.txt:
21909         * docs/design/part-overview.txt:
21910         * docs/design/part-seeking.txt:
21911         * docs/design/part-states.txt:
21912         * docs/design/part-trickmodes.txt:
21913         * docs/manual/advanced-position.xml:
21914         Small docs updates.
21915
21916         * gst/gstobject.h:
21917         People think !! is ugly, this looks better.
21918
21919         * gst/gstpad.c: (gst_pad_set_blocked_async):
21920         Remove !! since it's fixed elsewhere now.
21921
21922 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21923
21924         * gst/gstminiobject.h:
21925         * gst/gstobject.h:
21926           Add !! to _FLAG_IS_SET macros to make the result boolean.
21927
21928 2005-11-03  Edward Hervey  <edward@fluendo.com>
21929
21930         * gst/gstpad.c: (gst_pad_set_blocked_async):
21931         comparing a flag and a gboolean rarely returns coherent results...
21932         Added two characters (!!) to make that work correctly.
21933         
21934 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21935
21936         * gst/gstbus.c: (gst_bus_class_init):
21937           Fix some typos.
21938           
21939         * gst/gstqueue.c: (gst_queue_loop):
21940           Don't assume a miniobject that isn't a buffer is an
21941           event (it could be that there is a refcounting
21942           problem somewhere and the pointer is stale and
21943           refers to an already destroyed miniobject).
21944
21945 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21946
21947         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21948
21949 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21950
21951         * docs/manual/advanced-position.xml:
21952           Update seek example and explanations to current 0.9 API.
21953
21954         * gst/elements/gsttypefindelement.c:
21955         (gst_type_find_element_activate):
21956           Remove FIXME comment now that the found caps
21957           are unreffed.
21958
21959 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21960
21961         * gst/gstregistryxml.c: (load_feature):
21962           Add another GST_STR_NULL instance
21963
21964 2005-11-02  Edward Hervey  <edward@fluendo.com>
21965
21966         * gst/gstpad.c: (handle_pad_block):
21967         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21968         
21969 2005-11-02  Wim Taymans  <wim@fluendo.com>
21970
21971         * gst/gstbin.c:
21972         Fix typo in docs.
21973
21974         * gst/gstelement.c: (gst_element_commit_state):
21975         Remove unused value.
21976
21977         * gst/gstiterator.c:
21978         Mention that the returned element is reffed in the docs.
21979
21980 2005-11-02  Wim Taymans  <wim@fluendo.com>
21981
21982         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21983         (gst_pad_push), (gst_pad_push_event):
21984         Unlock blocked pads when they are flushed.
21985
21986 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21987
21988         * docs/README:
21989         * docs/gst/gstreamer-sections.txt:
21990         * gst/gstbin.c:
21991           doc updates
21992         * gst/gstregistry.c: (gst_registry_scan_path_level):
21993           fix for a nasty little missed situation where an installed plug-in
21994           which was in the cache did not get overridden by an uninstalled one
21995           which was earlier in the plugin path because the newly created plugin
21996           for the uninstalled one (not in the registry) didn't get its
21997           ->registered set to TRUE
21998
21999 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22000
22001         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22002         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22003         (gst_collectpads_is_active), (gst_collectpads_collect),
22004         (gst_collectpads_collect_range), (gst_collectpads_start),
22005         (gst_collectpads_stop), (gst_collectpads_peek),
22006         (gst_collectpads_pop), (gst_collectpads_available),
22007         (gst_collectpads_read), (gst_collectpads_flush):
22008           Guard public API with assertions.
22009         
22010         * gst/gstpad.c:
22011           Fix docs for gst_pad_set_link_function().
22012
22013 2005-11-02  Johan Dahlin  <johan@gnome.org>
22014
22015         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22016         Unref found_caps after we used it.
22017
22018 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22019
22020         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22021           Don't try to ref NULL.
22022
22023 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22024
22025         * win32/common/config.h.in:
22026           provide a GST_FUNCTION that just gives a string for now
22027
22028 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22029
22030         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22031         (gst_object_flags_get_type), (register_gst_bin_flags),
22032         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22033         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22034         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22035         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22036         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22037         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22038         (gst_clock_flags_get_type), (register_gst_state),
22039         (gst_state_get_type), (register_gst_state_change_return),
22040         (gst_state_change_return_get_type), (register_gst_state_change),
22041         (gst_state_change_get_type), (register_gst_element_flags),
22042         (gst_element_flags_get_type), (register_gst_core_error),
22043         (gst_core_error_get_type), (register_gst_library_error),
22044         (gst_library_error_get_type), (register_gst_resource_error),
22045         (gst_resource_error_get_type), (register_gst_stream_error),
22046         (gst_stream_error_get_type), (register_gst_event_type),
22047         (gst_event_type_get_type), (register_gst_seek_type),
22048         (gst_seek_type_get_type), (register_gst_seek_flags),
22049         (gst_seek_flags_get_type), (register_gst_format),
22050         (gst_format_get_type), (register_gst_index_certainty),
22051         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22052         (gst_index_entry_type_get_type),
22053         (register_gst_index_lookup_method),
22054         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22055         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22056         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22057         (gst_index_flags_get_type), (register_gst_debug_level),
22058         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22059         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22060         (gst_iterator_result_get_type), (register_gst_iterator_item),
22061         (gst_iterator_item_get_type), (register_gst_message_type),
22062         (gst_message_type_get_type), (register_gst_mini_object_flags),
22063         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22064         (gst_pad_link_return_get_type), (register_gst_flow_return),
22065         (gst_flow_return_get_type), (register_gst_activate_mode),
22066         (gst_activate_mode_get_type), (register_gst_pad_direction),
22067         (gst_pad_direction_get_type), (register_gst_pad_flags),
22068         (gst_pad_flags_get_type), (register_gst_pad_presence),
22069         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22070         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22071         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22072         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22073         (gst_plugin_flags_get_type), (register_gst_rank),
22074         (gst_rank_get_type), (register_gst_query_type),
22075         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22076         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22077         (gst_tag_flag_get_type), (register_gst_task_state),
22078         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22079         (gst_alloc_trace_flags_get_type),
22080         (register_gst_type_find_probability),
22081         (gst_type_find_probability_get_type), (register_gst_uri_type),
22082         (gst_uri_type_get_type), (register_gst_parse_error),
22083         (gst_parse_error_get_type):
22084         * win32/common/gstversion.h:
22085           update win32 copies
22086
22087 2005-11-01  Luca Ognibene  <luogni@tin.it>
22088
22089         * gst/gst.c:
22090           fix docs. popt is dead, long live GOption.
22091
22092 2005-10-31  Wim Taymans  <wim@fluendo.com>
22093
22094         * gst/gstbuffer.h:
22095         Small doc fix.
22096
22097 2005-10-31  Andy Wingo  <wingo@pobox.com>
22098
22099         * Boo!
22100
22101         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22102
22103         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22104         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22105         the possibility of deadlocks here if code calling notify() or
22106         set() has a lock that can be taken in another notify handler (ABBA
22107         with class lock and e.g. python GIL state lock).
22108
22109 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22110
22111         * gst/gstbus.c: Doc updates.
22112
22113 2005-10-28  Wim Taymans  <wim@fluendo.com>
22114
22115         * docs/design/part-TODO.txt:
22116         * gst/gstiterator.c:
22117         * gst/gstsystemclock.c:
22118         * gst/gstsystemclock.h:
22119         Doc updates.
22120
22121 2005-10-28  Edward Hervey  <edward@fluendo.com>
22122
22123         * docs/gst/gstreamer-docs.sgml:
22124         * docs/gst/gstreamer-sections.txt:
22125         the GstURIType documentation page is private, it only defines GstURIType
22126         which should be defined in the GstURIHandler page
22127         
22128 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22129
22130         * gst/gstbin.c: (gst_bin_class_init):
22131         * gst/gstbin.h:
22132         * gst/gstutils.c:
22133         Documentation updates.
22134
22135 2005-10-28  Wim Taymans  <wim@fluendo.com>
22136
22137         * docs/gst/gstreamer-sections.txt:
22138         * gst/gstclock.c:
22139         * gst/gstclock.h:
22140         Documented the clocks.
22141
22142 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22143
22144         * docs/gst/gstreamer-sections.txt:
22145           move some macros to private sections
22146         * gst/gstminiobject.c:
22147         * gst/gstminiobject.h:
22148           add descriptions provided by ds and some more
22149         * gst/gstpad.h:
22150           mark macro as to be removed
22151
22152 2005-10-28  Wim Taymans  <wim@fluendo.com>
22153
22154         * docs/design/part-TODO.txt:
22155         Add an item to TODO.
22156
22157         * gst/gstiterator.c: (gst_iterator_fold),
22158         (gst_iterator_find_custom):
22159         * gst/gstiterator.h:
22160         Add iterator docs.
22161
22162 2005-10-28  Wim Taymans  <wim@fluendo.com>
22163
22164         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22165         (gst_base_transform_init):
22166         Don't leak class.
22167
22168         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22169         An EOS event marks the queue as completely filled.
22170
22171 2005-10-27  Wim Taymans  <wim@fluendo.com>
22172
22173         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22174         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22175         Some more debugging.
22176
22177         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22178         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22179         (gst_base_transform_event), (gst_base_transform_getrange),
22180         (gst_base_transform_chain):
22181         * gst/base/gstbasetransform.h:
22182         Fix debugging,
22183         Protect transform and concurrent buffer alloc with a new lock.
22184         Try not to break ABI/API.
22185
22186 2005-10-27  Wim Taymans  <wim@fluendo.com>
22187
22188         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22189         (gst_base_src_init), (gst_base_src_query),
22190         (gst_base_src_default_newsegment),
22191         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22192         (gst_base_src_send_event), (gst_base_src_event_handler),
22193         (gst_base_src_pad_get_range), (gst_base_src_loop),
22194         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22195         (gst_base_src_start), (gst_base_src_deactivate),
22196         (gst_base_src_activate_push), (gst_base_src_change_state):
22197         Move some stuff around and cleanup things.
22198
22199 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22200
22201         * gst/base/gstbasesrc.c: (gst_base_src_query):
22202           Add missing break statements.
22203
22204 2005-10-27  Wim Taymans  <wim@fluendo.com>
22205
22206         * check/gst/gstbin.c: (GST_START_TEST):
22207         An extra refcount is taken in basesrc.
22208
22209         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22210         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22211         (gst_base_src_loop):
22212         Small cleanups, check for flushing after being unlocked from the 
22213         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22214         Don't send out EOS when going to READY.
22215
22216 2005-10-27  Wim Taymans  <wim@fluendo.com>
22217
22218         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22219         (gst_base_sink_get_position):
22220         Some more debug.
22221
22222         * gst/gstbin.c: (message_check), (bin_replace_message),
22223         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22224         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22225         (bin_query_duration_init), (bin_query_duration_fold),
22226         (bin_query_duration_done), (bin_query_generic_fold),
22227         (gst_bin_query):
22228         * tools/gst-launch.c: (main):
22229         Remove old option.
22230
22231 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22232
22233         * examples/controller/audio-example.c: (main):
22234         * examples/queue/queue.c: (event_loop):
22235         * gst/base/gstbasetransform.h:
22236         * gst/gstelement.c: (gst_element_send_event):
22237         * gst/gstevent.h:
22238         * gst/gstpad.c: (gst_pad_send_event):
22239           fixing examples
22240           fixing docs typos
22241           changing log priority in error situations
22242
22243 2005-10-25  Wim Taymans  <wim@fluendo.com>
22244
22245         * gst/gstbin.c: (message_check), (bin_replace_message),
22246         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22247         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22248         (bin_query_duration_init), (bin_query_duration_fold),
22249         (bin_query_duration_done), (bin_query_generic_fold),
22250         (gst_bin_query):
22251         Some doc and debug updates.
22252         Cache previously requested query DURATION for speed. invalidate
22253         cached duration if element posts a DURATION message.
22254
22255 2005-10-25  Wim Taymans  <wim@fluendo.com>
22256
22257         * docs/design/part-TODO.txt:
22258         Update TODO.
22259
22260         * gst/gstbin.c: (message_check), (bin_replace_message),
22261         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22262         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22263         (bin_query_duration_init), (bin_query_duration_fold),
22264         (bin_query_duration_done), (bin_query_generic_fold),
22265         (gst_bin_query):
22266         Handle SEGMENT_START/DONE messages correctly.
22267         More evolved query algorithm that handles duration queries
22268         correctly.
22269
22270         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22271         (gst_element_get_state_func), (gst_element_abort_state),
22272         (gst_element_commit_state), (gst_element_lost_state):
22273         Some more debugging.
22274
22275         * gst/gstmessage.h:
22276         Added doc.
22277
22278 2005-10-25  Wim Taymans  <wim@fluendo.com>
22279
22280         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22281         Don't use invalid stream_time.
22282
22283         * gst/gstevent.c: (gst_event_new_newsegment):
22284         stream_time in newsegment cannot be undefined.
22285
22286 2005-10-24  Wim Taymans  <wim@fluendo.com>
22287
22288         * gst/gstbus.c:
22289         Doc fix.
22290
22291         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22292         (gst_queue_loop):
22293         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22294
22295 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22296
22297         * docs/libs/tmpl/gstdparam.sgml:
22298         * docs/libs/tmpl/gstdplinint.sgml:
22299         * docs/libs/tmpl/gstdpman.sgml:
22300         * docs/libs/tmpl/gstdpsmooth.sgml:
22301         * docs/libs/tmpl/gstunitconvert.sgml:
22302           these are obsolete
22303
22304 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22305
22306         * configure.ac:
22307           back to HEAD
22308
22309 === release 0.9.4 ===
22310
22311 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22312
22313         * configure.ac:
22314           releasing 0.9.4, "Tyrannosaurus Rex"
22315
22316 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22317
22318         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22319         (gst_file_sink_get_current_offset):
22320           Use fseeko() and ftello() if available. When falling back on
22321           lseek() to get the current offset, fflush() first to make sure
22322           everything is up-to-date and we get the right offset.
22323
22324 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22325
22326         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22327         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22328         * gst/gsterror.c: (_gst_stream_errors_init):
22329         * gst/gsterror.h:
22330         * gst/gstqueue.c: (gst_queue_loop):
22331         * po/POTFILES.in:
22332           remove prematurely added error category and clean up the instances
22333
22334 2005-10-21  Wim Taymans  <wim@fluendo.com>
22335
22336         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22337         (gst_base_sink_get_position), (gst_base_sink_query),
22338         (gst_base_sink_change_state):
22339         Simply set the right flag when going to playing, that's all
22340         we need to do instead of calling a function inside the object
22341         lock (that could take the lock as well and deadlock)
22342
22343 2005-10-21  Wim Taymans  <wim@fluendo.com>
22344
22345         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22346         (gst_base_src_loop):
22347         Don't warn, the peer element knows what to do best when
22348         the seek failed, it might try something else.
22349
22350 2005-10-21  Wim Taymans  <wim@fluendo.com>
22351
22352         * gst/base/gstbasesrc.c: (gst_base_src_init),
22353         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22354         Fix seeking.
22355
22356 2005-10-21  Wim Taymans  <wim@fluendo.com>
22357
22358         * docs/design/part-segments.txt:
22359         More docs.
22360
22361         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22362         Correctly set caps, even on the subbufer.
22363
22364 2005-10-21  Wim Taymans  <wim@fluendo.com>
22365
22366         * docs/gst/gstreamer-docs.sgml:
22367         * docs/gst/gstreamer-sections.txt:
22368         * gst/gstelement.h:
22369         * gst/gstevent.c:
22370         * gst/gstevent.h:
22371         * gst/gstmessage.h:
22372         * gst/gstpad.h:
22373         * gst/gstparse.h:
22374         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22375         * gst/gsttask.h:
22376         * gst/gstutils.c:
22377         * gst/gstutils.h:
22378         And 2% more doc coverage.
22379
22380 2005-10-21  Andy Wingo  <wingo@pobox.com>
22381
22382         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22383         position reporting.
22384
22385 2005-10-20  Wim Taymans  <wim@fluendo.com>
22386
22387         * gst/gsterror.c: (gst_error_get_message):
22388         * gst/gstparse.h:
22389         * gst/gstquery.h:
22390         * gst/gststructure.c:
22391         * gst/gsttrace.c:
22392         * gst/gstutils.c:
22393         More docs.
22394
22395 2005-10-20  Wim Taymans  <wim@fluendo.com>
22396
22397         * gst/gstbuffer.h:
22398         * gst/gstpad.c:
22399         * gst/gstparse.c:
22400         Another 1% more coverage.
22401
22402 2005-10-20  Wim Taymans  <wim@fluendo.com>
22403
22404         * docs/gst/gstreamer-sections.txt:
22405         * gst/gstelement.c: (gst_element_get_state_func),
22406         (gst_element_abort_state), (gst_element_commit_state),
22407         (gst_element_lost_state):
22408         * gst/gstevent.h:
22409         * gst/gstquery.c: (gst_query_set_position),
22410         (gst_query_parse_position), (gst_query_set_duration),
22411         (gst_query_parse_duration), (gst_query_new_convert):
22412         * gst/gstutils.c:
22413         Yay! 1% more docs coverage.
22414
22415 2005-10-20  Wim Taymans  <wim@fluendo.com>
22416
22417         * gst/gstpad.h:
22418         * gst/gstquery.c: (gst_query_set_position),
22419         (gst_query_parse_position), (gst_query_set_duration),
22420         (gst_query_parse_duration), (gst_query_new_convert):
22421         * gst/gstquery.h:
22422         * gst/gstutils.c: (gst_element_query_convert):
22423         * gst/gstutils.h:
22424         Docs and consistency fixes.
22425
22426 2005-10-20  Wim Taymans  <wim@fluendo.com>
22427
22428         * gst/gsttask.c:
22429         * gst/gsttask.h:
22430         More docs.
22431
22432 2005-10-20  Wim Taymans  <wim@fluendo.com>
22433
22434         * gst/gstbin.c: (message_check), (bin_replace_message),
22435         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22436         (update_degree), (gst_bin_sort_iterator_next),
22437         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22438         Reworked the message handling a bit, cache the messages instead of
22439         only the senders. alows us to do more in the future.
22440
22441 2005-10-20  Wim Taymans  <wim@fluendo.com>
22442
22443         * docs/design/part-TODO.txt:
22444         Update TODO
22445
22446         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22447         (gst_base_sink_query):
22448         Don't use clock time to report position when in EOS.
22449
22450 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22451
22452         * tools/gst-inspect.c: (print_interfaces),
22453         (print_element_properties_info), (print_element_info):
22454           Fix interface output with gst-inspect -a; don't print
22455           newlines after double/float properties.
22456
22457 2005-10-20  Wim Taymans  <wim@fluendo.com>
22458
22459         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22460         (gst_base_sink_query):
22461         Speed up current position calculation.
22462
22463         * gst/base/gstbasesrc.c: (gst_base_src_query),
22464         (gst_base_src_default_newsegment):
22465         Correctly set stream position in newsegment.
22466
22467         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22468         (update_degree), (gst_bin_sort_iterator_next),
22469         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22470         * gst/gstmessage.c: (gst_message_new_custom):
22471         Clean up debugging info
22472
22473         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22474         (gst_queue_loop), (gst_queue_handle_src_query):
22475         Pause task faster.
22476
22477 2005-10-19  Wim Taymans  <wim@fluendo.com>
22478
22479         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22480         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22481         Fix query handling again.
22482
22483 2005-10-19  Wim Taymans  <wim@fluendo.com>
22484
22485         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22486         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22487         * gst/base/gstbasesrc.c: (gst_base_src_query):
22488         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22489         * gst/elements/gsttypefindelement.c:
22490         (gst_type_find_handle_src_query), (find_element_get_length),
22491         (gst_type_find_element_activate):
22492         API change fix.
22493
22494         * gst/gstquery.c: (gst_query_new_position),
22495         (gst_query_set_position), (gst_query_parse_position),
22496         (gst_query_new_duration), (gst_query_set_duration),
22497         (gst_query_parse_duration), (gst_query_set_segment),
22498         (gst_query_parse_segment):
22499         * gst/gstquery.h:
22500         Bundling query position/duration is not a good idea since duration
22501         does not change much and we don't want to recalculate it for every
22502         position query, so they are separated again..
22503         Base value in segment query is not needed.
22504
22505         * gst/gstqueue.c: (gst_queue_handle_src_query):
22506         * gst/gstutils.c: (gst_element_query_position),
22507         (gst_element_query_duration), (gst_pad_query_position),
22508         (gst_pad_query_duration):
22509         * gst/gstutils.h:
22510         Updates for query API change.
22511         Added some docs here and there.
22512
22513 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22514
22515         * check/gst/gstbin.c: (GST_START_TEST):
22516         * check/gst/gstghostpad.c: (GST_START_TEST):
22517         * check/pipelines/cleanup.c: (GST_START_TEST):
22518           wait on thread to die so we can check refcount correctly
22519
22520 2005-10-18  Wim Taymans  <wim@fluendo.com>
22521
22522         * check/pipelines/stress.c: (GST_START_TEST):
22523         Make check a little more time consuming.
22524
22525 2005-10-18  Wim Taymans  <wim@fluendo.com>
22526
22527         * check/Makefile.am:
22528         * check/pipelines/stress.c: (GST_START_TEST),
22529         (simple_launch_lines_suite), (main):
22530         Small state change torture test.
22531
22532         * docs/design/part-states.txt:
22533         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22534         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22535         (gst_base_sink_change_state):
22536         Never take state lock from streaming thread, clean up ugly
22537         hacks. Unfortunatly core does not yet support nice ways to
22538         async commit state.
22539         
22540         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22541         (bin_bus_handler):
22542         Start state recalc if a STATE_DIRTY message is posted, but only
22543         on the toplevel bin.
22544
22545         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22546         (gst_element_get_state_func), (gst_element_abort_state),
22547         (gst_element_commit_state), (gst_element_lost_state),
22548         (gst_element_set_state_func), (gst_element_change_state):
22549         * gst/gstelement.h:
22550         State variables are now protected with the LOCK, the state
22551         lock is only used to serialize _set_state().
22552
22553 2005-10-18  Wim Taymans  <wim@fluendo.com>
22554
22555         * check/gst/gstbin.c: (GST_START_TEST):
22556         * check/gst/gstmessage.c: (GST_START_TEST):
22557         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22558         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22559         (bin_bus_handler):
22560         * gst/gstelement.c: (gst_element_abort_state),
22561         (gst_element_commit_state), (gst_element_lost_state):
22562         * gst/gstmessage.c: (gst_message_new_state_changed),
22563         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22564         (gst_message_new_segment_done), (gst_message_new_duration),
22565         (gst_message_parse_state_changed),
22566         (gst_message_parse_segment_start),
22567         (gst_message_parse_segment_done), (gst_message_parse_duration):
22568         * gst/gstmessage.h:
22569         * tools/gst-launch.c: (event_loop):
22570         Seriously, this is better than a previous commit as we only need
22571         to notify the fact that an element changed state in a streaming
22572         thread, marking the state of the parents dirty, hence the 
22573         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22574         message.
22575
22576 2005-10-18  Wim Taymans  <wim@fluendo.com>
22577
22578         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22579         (gst_bin_recalc_func):
22580         * gst/gstelement.c: (gst_element_set_clock),
22581         (gst_element_abort_state), (gst_element_lost_state):
22582         Cleanups, prepare for state change fixes.
22583
22584 2005-10-18  Wim Taymans  <wim@fluendo.com>
22585
22586         * gst/gstbin.h:
22587         * gst/gstelement.c: (gst_element_class_init),
22588         (gst_element_set_state), (gst_element_set_state_func):
22589         * gst/gstelement.h:
22590         Pending ABI changes.
22591         GThreadPool in GstBinClass to monitor async state changes.
22592         state_cookie in GstElement to detect concurrent gst/set state.
22593         set_state is now virtual too in case a very complicated element
22594         has to be constructed.
22595
22596 2005-10-18  Wim Taymans  <wim@fluendo.com>
22597
22598         * check/gst/gstbin.c: (GST_START_TEST):
22599         * check/gst/gstmessage.c: (GST_START_TEST):
22600         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22601         * gst/gstbin.c: (bin_bus_handler):
22602         * gst/gstelement.c: (gst_element_commit_state),
22603         (gst_element_lost_state):
22604         * gst/gstmessage.c: (gst_message_new_state_changed),
22605         (gst_message_new_segment_start), (gst_message_new_segment_done),
22606         (gst_message_new_duration), (gst_message_parse_state_changed),
22607         (gst_message_parse_segment_start),
22608         (gst_message_parse_segment_done), (gst_message_parse_duration):
22609         * gst/gstmessage.h:
22610         * tools/gst-launch.c: (event_loop):
22611         Make messages future proof.
22612         state-change gets a flag if it was a message comming from the
22613         streaming thread.
22614         segment-start/stop can also be specified in other formats.
22615         A message to notify an app that a pipeline changed playback 
22616         duration.
22617         Also fix a GstMessage leak in -launch
22618
22619 2005-10-18  Andy Wingo  <wingo@pobox.com>
22620
22621         * gst/gstelement.c (gst_element_dispose): More helpful message.
22622
22623 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22624
22625         reviewed by: <delete if not using a buddy>
22626
22627         * common/gtk-doc.mak:
22628
22629 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22630
22631         * gst/gstregistry.c: (gst_registry_scan_path_level):
22632           unref a plug-in we get that was already initialized
22633
22634 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22635
22636         * docs/gst/gstreamer-sections.txt:
22637         * docs/libs/gstreamer-libs-sections.txt:
22638         * gst/gstelement.h:
22639           add new api entries
22640           hide internal macro
22641
22642 2005-10-17  Andy Wingo  <wingo@pobox.com>
22643
22644         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22645         cleanup.
22646
22647         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22648
22649         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22650
22651         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22652         (gst_element_get_state_func): Better debug message.
22653         (gst_element_commit_state): s/INFO/DEBUG/.
22654         (gst_element_lost_state, gst_element_change_state): 
22655
22656         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22657         (gst_message_new_custom): s/INFO/LOG/.
22658
22659 2005-10-17  Michael Smith <msmith@fluendo.com>
22660
22661         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22662           Check if end time is valid using end time, not start time.
22663
22664 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22665
22666         * check/gst-libs/controller.c: (GST_START_TEST),
22667         (gst_controller_suite):
22668         * libs/gst/controller/gstcontroller.c:
22669         (gst_controlled_property_set_interpolation_mode):
22670         * libs/gst/controller/gstcontroller.h:
22671         * libs/gst/controller/gstinterpolation.c:
22672         * testsuite/controller/.cvsignore:
22673         * testsuite/controller/Makefile.am:
22674         * testsuite/controller/interpolator.c:
22675           merge controller testsuites
22676           fix broken tests
22677           remove mem-chunk from docs
22678
22679 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22680
22681         * gst/gstmemchunk.c:
22682         * gst/gstmemchunk.h:
22683         * gst/gsttrashstack.c:
22684         * gst/gsttrashstack.h:
22685           out.  get out.  you're fired.  to the Attic !
22686
22687 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22688
22689         * gst/gstcaps.c: (gst_caps_intersect):
22690           fix signedness issues in a (hopefully) correct way
22691         * gst/gstelement.c: (gst_element_pads_activate):
22692           some debugging
22693         * gst/gstobject.c: (gst_object_set_parent):
22694           some debugging
22695
22696 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22697
22698         * gst/gstvalue.h: Fix prototypes.
22699
22700 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22701
22702         * docs/gst/gstreamer-sections.txt:
22703         * gst/gst.c: (gst_version_string):
22704         * gst/gst.h:
22705         * gst/gstversion.h.in:
22706         * win32/common/libgstreamer.def:
22707           add gst_version_string ()
22708
22709 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22710
22711         * configure.ac:
22712           clean up further
22713         * gst/gst.c: (init_post):
22714         * win32/common/config.h.in:
22715           it's PLUGINDIR now
22716         * gst/gstcaps.c: (gst_caps_intersect):
22717           use gint64, the range could be bigger than a guint
22718
22719 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22720
22721         * gst/gstclock.h:
22722           document potential problem in 2038
22723
22724 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22725
22726         * gst/gstcaps.c: (gst_caps_intersect):
22727           Fix guint j diving under 0
22728
22729 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22730
22731         * configure.ac:
22732         * win32/common/config.h:
22733         * win32/common/config.h.in:
22734           check for process.h, declares getpid() on Windows
22735         * gst/gstinfo.c:
22736           include process.h if we have it
22737         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22738         * gst/gstmemchunk.h:
22739           fix signedness issues
22740         * win32/common/libgstreamer.def:
22741           fix get_type's
22742
22743 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22744
22745         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22746         fix. Because of unsigned ints, caps intersection was going nuts and
22747         trying to access structures with G_MAXUINT index. That fixes
22748         videotestsrc ! ffmpegcolorspace ! fakesink
22749         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22750         consistency.
22751
22752 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22753
22754         * configure.ac:
22755           use the gettext macro
22756         * gst/elements/gstelements.c:
22757         * gst/gst.c:
22758         * gst/indexers/gstindexers.c:
22759           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22760         * win32/common/config.h:
22761           updated config.h
22762         * win32/common/config.h.in:
22763           add the template to generate config.h
22764         * win32/common/gstenumtypes.c:
22765         * win32/common/gstversion.h:
22766           updated copies
22767
22768 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22769
22770         * gst/gst.c: (gst_version):
22771         * gst/gstversion.h.in:
22772           add the nano
22773
22774 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22775
22776         * gst/gstevent.h:
22777           Oops, add missing closing bracket.
22778
22779 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22780
22781         * configure.ac:
22782           use common m4's for argument checking
22783
22784 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22785
22786         * docs/gst/gstreamer-sections.txt:
22787         * gst/gstevent.h:
22788           Add GST_EVENT_TYPE_NAME() macro.
22789
22790 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22791
22792         * gst/gstinfo.c:
22793         * gst/gstpluginfeature.c:
22794         * gst/gsttask.c:
22795           privatize more symbols
22796
22797 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22798
22799         * configure.ac:
22800           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22801           everything that uses GStreamer API should have the includes
22802
22803 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22804
22805         * docs/gst/gstreamer-sections.txt:
22806         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22807         * gst/gstvalue.h:
22808           give each value a _get_type, removes the DATA exports
22809
22810 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22811
22812         * gst/gst.c:
22813         * gst/gst.h:
22814           remove _gst_registry_auto_load, not used anymore
22815         * gst/gstbin.c: (gst_bin_get_type):
22816         * gst/gstbin.h:
22817         * gst/gstelement.c: (gst_element_get_type):
22818         * gst/gstelement.h:
22819         * gst/gstobject.c: (gst_object_get_type):
22820         * gst/gstobject.h:
22821         * gst/gstpad.c: (gst_pad_get_type):
22822         * gst/gstpad.h:
22823           make _get_type functions similar, fixes data export from library
22824
22825 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22826
22827         * configure.ac:
22828           correctly make conditionals
22829         * gst/elements/Makefile.am:
22830         * gst/elements/gstelements.c:
22831           fix typo causing fdsrc not to build
22832
22833 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22834
22835         * testsuite/Makefile.am:
22836         * testsuite/bytestream/.cvsignore:
22837         * testsuite/bytestream/Makefile.am:
22838         * testsuite/bytestream/filepadsink.c:
22839         * testsuite/bytestream/gstbstest.c:
22840         * testsuite/bytestream/test1.c:
22841         * testsuite/bytestream/testfile1:
22842         * testsuite/caps/normalisation.c:
22843         * testsuite/caps/random.c: (main):
22844         * testsuite/cleanup/.cvsignore:
22845         * testsuite/cleanup/Makefile.am:
22846         * testsuite/cleanup/cleanup1.c:
22847         * testsuite/cleanup/cleanup2.c:
22848         * testsuite/cleanup/cleanup3.c:
22849         * testsuite/cleanup/cleanup4.c:
22850         * testsuite/cleanup/cleanup5.c:
22851         * testsuite/controller/interpolator.c:
22852         * testsuite/debug/printf_extension.c: (main):
22853         * testsuite/elements/tee.c:
22854         * testsuite/negotiation/.cvsignore:
22855         * testsuite/negotiation/Makefile.am:
22856         * testsuite/negotiation/pad_link.c:
22857         * testsuite/pad/Makefile.am:
22858         * testsuite/pad/chainnopull.c:
22859         * testsuite/pad/getnopush.c:
22860         * testsuite/pad/link.c:
22861         * testsuite/refcounting/sched.c: (create_pipeline):
22862         * testsuite/registry/Makefile.am:
22863         * testsuite/registry/gst-print-formats.c:
22864         * testsuite/schedulers/.cvsignore:
22865         * testsuite/schedulers/142183-2.c:
22866         * testsuite/schedulers/142183.c:
22867         * testsuite/schedulers/143777-2.c:
22868         * testsuite/schedulers/143777.c:
22869         * testsuite/schedulers/147713.c:
22870         * testsuite/schedulers/147819.c:
22871         * testsuite/schedulers/147894-2.c:
22872         * testsuite/schedulers/147894.c:
22873         * testsuite/schedulers/Makefile.am:
22874         * testsuite/schedulers/group_link.c:
22875         * testsuite/schedulers/queue_link.c:
22876         * testsuite/schedulers/relink.c:
22877         * testsuite/schedulers/unlink.c:
22878         * testsuite/schedulers/unref.c:
22879         * testsuite/schedulers/useless_iteration.c:
22880         * testsuite/states/bin.c:
22881           clean out/remove some stuff from the testsuite directories
22882
22883 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22884
22885         * configure.ac:
22886           check for some headers
22887         * gst/elements/Makefile.am:
22888         * gst/elements/gstelements.c:
22889           don't compile fdsrc without sys/socket.h
22890         * gst/indexers/Makefile.am:
22891         * gst/indexers/gstindexers.c: (plugin_init):
22892           don't compile fileindex without mmap
22893
22894 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22895
22896         * configure.ac:
22897           reorganize
22898           clean up
22899           document more
22900           remove cruft
22901         * check/Makefile.am:
22902         * docs/gst/Makefile.am:
22903         * examples/helloworld/Makefile.am:
22904         * gst/Makefile.am:
22905         * gst/base/Makefile.am:
22906         * gst/check/Makefile.am:
22907         * gst/elements/Makefile.am:
22908         * gst/indexers/Makefile.am:
22909         * gst/parse/Makefile.am:
22910         * libs/gst/controller/Makefile.am:
22911         * libs/gst/dataprotocol/Makefile.am:
22912         * examples/helloworld/helloworld.c: (event_loop):
22913           compile fixes, though it's not being compiled currently
22914
22915 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22916
22917         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22918           Add some simple tests for the new taglist date API.
22919
22920 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22921
22922         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22923         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22924           Beautify 'last-message' output: print 'none' for buffer timestamps
22925           and durations if none is set; improve alignment with next messages.
22926
22927 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22928
22929         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22930         * gst/gstpluginfeature.h:
22931         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22932         * gst/gstregistry.h:
22933         * docs/gst/gstreamer-sections.txt:
22934           Add new API to check plugin feature version requirements.
22935
22936         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22937           Some basic tests for the above.         
22938
22939 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22940
22941         * gst/gststructure.c: (gst_structure_to_string):
22942           guard against NULL printf - happens when for example
22943           a message structure with GstClock gets serialized
22944
22945 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22946
22947         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22948           Fix presumable copy'n'pasto.
22949
22950 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22951
22952         * gst/elements/gstfakesrc.h:
22953         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22954         * gst/elements/gsttypefindelement.c:
22955           fix some signedness
22956         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22957           I wonder if this could actually write +2GB files before
22958
22959 2005-10-13  Andy Wingo  <wingo@pobox.com>
22960
22961         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22962         Fix Timmeke Waymans bug.
22963         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22964         string of the proper length to gst_caps_from_string. There's a
22965         potential for, before this fix, that this could cause someone
22966         connecting over the network to cause a segfault if the payload is
22967         not NUL-terminated.
22968
22969 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22970
22971         * docs/design/draft-push-pull.txt:
22972         * docs/design/part-overview.txt:
22973         * docs/random/TODO-pre-0.9:
22974         * docs/random/old/ChangeLog.gstreamer:
22975         * gst/base/gstpushsrc.c:
22976         * gst/gstclock.c:
22977           fixed typos
22978
22979 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22980
22981         * gst/glib-compat.c: (gst_flags_get_first_value):
22982         * gst/glib-compat.h:
22983         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22984         (gst_value_compare_double), (gst_value_serialize_flags):
22985           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22986           infinite loop
22987
22988 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22989
22990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22991         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22992           fix up debugging
22993         * tools/gst-launch.c: (event_loop):
22994           print out clock nicely
22995
22996 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22997
22998         * docs/gst/gstreamer-sections.txt:
22999         * gst/gsttaglist.h:
23000         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23001         (gst_tag_list_get_date_index):
23002           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23003           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23004
23005 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23006
23007         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23008         (gst_collectpads_chain):
23009         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23010         in CollectData.
23011
23012 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23013
23014         * docs/gst/gstreamer-sections.txt:
23015         * gst/gst.c:
23016         * gst/gsterror.h:
23017         * tools/gst-inspect.c: (main):
23018         * tools/gst-launch.c: (main):
23019         * tools/gst-run.c: (main):
23020         * tools/gst-xmlinspect.c: (main):
23021           fix GOption context leaks
23022           doc fixes
23023
23024 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23025
23026         * gst/gstbus.c:
23027           use HAVE_UNISTD_H
23028         * win32/common/config.h:
23029           update config
23030         * win32/vs6/grammar.dsp:
23031         * win32/vs6/libgstelements.dsp:
23032         * win32/vs6/libgstreamer.dsp:
23033           update vs6 files
23034
23035 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23036
23037         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23038         * gst/base/gstbasesrc.c: (gst_base_src_query):
23039           fix more guint64<->gdouble conversions
23040
23041 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23042
23043         * Makefile.am:
23044           add win32-update target
23045         * win32/common/gstconfig.h:
23046         * win32/common/gstenumtypes.c:
23047         * win32/common/gstenumtypes.h:
23048         * win32/common/gstversion.h:
23049           add files that visual studio can't generate
23050
23051 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23052
23053         * Makefile.am:
23054           add a win32-update target
23055         * configure.ac:
23056
23057 2005-10-12  Wim Taymans  <wim@fluendo.com>
23058
23059         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23060         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23061         * gst/gstelement.c: (gst_element_commit_state),
23062         (gst_element_set_state):
23063         Protect flags with proper lock.
23064         unref provided cached clock in dispose.
23065
23066 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23067
23068         * gst/gst.c:
23069         * gst/gstminiobject.h:
23070         * gst/gstpad.h:
23071         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23072           removed unused flags from miniobject
23073           doc fixes
23074
23075 2005-10-12  Wim Taymans  <wim@fluendo.com>
23076
23077         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23078         (gst_file_sink_event), (gst_file_sink_render):
23079         Flush before seeking.
23080
23081 2005-10-12  Andy Wingo  <wingo@pobox.com>
23082
23083         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23084         always been the case.
23085
23086 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23087
23088         * check/gst/gstbin.c: (GST_START_TEST):
23089         * docs/gst/gstreamer-sections.txt:
23090         * gst/base/gstbasesink.c: (gst_base_sink_init):
23091         * gst/base/gstbasesrc.c: (gst_base_src_init),
23092         (gst_base_src_get_range), (gst_base_src_check_get_range),
23093         (gst_base_src_start), (gst_base_src_stop):
23094         * gst/base/gstbasesrc.h:
23095         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23096         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23097         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23098         (bin_bus_handler):
23099         * gst/gstbin.h:
23100         * gst/gstbuffer.h:
23101         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23102         * gst/gstbus.h:
23103         * gst/gstelement.c: (gst_element_is_locked_state),
23104         (gst_element_set_locked_state), (gst_element_commit_state),
23105         (gst_element_set_state):
23106         * gst/gstelement.h:
23107         * gst/gstindex.c: (gst_index_init):
23108         * gst/gstindex.h:
23109         * gst/gstminiobject.h:
23110         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23111         (gst_object_set_parent):
23112         * gst/gstobject.h:
23113         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23114         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23115         * gst/gstpad.h:
23116         * gst/gstpadtemplate.h:
23117         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23118         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23119         * gst/gstpipeline.h:
23120         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23121         (gst_file_index_commit):
23122         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23123         * testsuite/pad/link.c: (gst_test_src_init),
23124         (gst_test_filter_init), (gst_test_sink_init):
23125         * testsuite/states/locked.c: (main):
23126           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23127           moved bitshift from macro to enum definition
23128
23129 2005-10-12  Wim Taymans  <wim@fluendo.com>
23130
23131         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23132         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23133         (gst_file_sink_render):
23134         Some more debugging info.
23135
23136 2005-10-12  Wim Taymans  <wim@fluendo.com>
23137
23138         * docs/design/part-states.txt:
23139         * tools/gst-launch.c: (main):
23140         Some doc updates.
23141         Revert non-intentional change.
23142
23143 2005-10-12  Wim Taymans  <wim@fluendo.com>
23144
23145         * check/gst/gstbin.c: (GST_START_TEST):
23146         * check/gst/gstelement.c: (GST_START_TEST):
23147         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23148         * check/gst/gstghostpad.c: (GST_START_TEST):
23149         * check/gst/gstpipeline.c: (GST_START_TEST):
23150         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23151         * check/states/sinks.c: (GST_START_TEST):
23152         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23153         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23154         (gst_bin_remove_func), (gst_bin_get_state_func),
23155         (gst_bin_recalc_state), (gst_bin_change_state_func),
23156         (bin_bus_handler):
23157         * gst/gstelement.c: (gst_element_get_state_func),
23158         (gst_element_get_state), (gst_element_abort_state),
23159         (gst_element_commit_state), (gst_element_set_state),
23160         (gst_element_change_state), (gst_element_change_state_func):
23161         * gst/gstelement.h:
23162         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23163         (gst_pipeline_provide_clock_func):
23164         * gst/gstutils.c: (gst_element_link_pads_filtered):
23165         * tools/gst-launch.c: (main):
23166         * tools/gst-typefind.c: (main):
23167         Use GstClockTime in _get_state() instead of GTimeVal.
23168         Remove old code in gstutils.c
23169
23170 2005-10-12  Andy Wingo  <wingo@pobox.com>
23171
23172         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23173         removed.
23174
23175         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23176         there is no task. Shouldn't affect any code, as nothing in our
23177         plugins checks this return value.
23178         (gst_pad_stop_task): Also take the stream lock if the pad has no
23179         task. Docs updated.
23180
23181 2005-10-12  Wim Taymans  <wim@fluendo.com>
23182
23183         * gst/gstpad.c: (pre_activate), (post_activate),
23184         (gst_pad_activate_pull), (gst_pad_activate_push):
23185         Cleanup activation code. Reset old state if
23186         activation failed.
23187
23188 2005-10-12  Wim Taymans  <wim@fluendo.com>
23189
23190         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23191         (gst_base_sink_change_state):
23192         No need to prerol after receiving EOS.
23193
23194         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23195         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23196         * gst/elements/gstidentity.c: (gst_identity_event):
23197         Print events more verbosely.
23198
23199 2005-10-12  Wim Taymans  <wim@fluendo.com>
23200
23201         * check/Makefile.am:
23202         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23203         * check/states/sinks2.c:
23204         Moved sinks2 testcode in sinks check.
23205
23206         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23207         (gst_bin_remove_func), (gst_bin_recalc_state),
23208         (gst_bin_change_state_func), (bin_bus_handler):
23209         Fix potential race condition when _get_state() iterated over an
23210         ASYNC element right before it posted a state completion.
23211
23212         * gst/gstclock.h:
23213         Do proper cast here.
23214
23215         * gst/gstevent.c: (gst_event_new_newsegment),
23216         (gst_event_parse_newsegment):
23217         A playback rate of 0.0 is not allowed.
23218
23219 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23220
23221         * win32/common/config.h:
23222         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23223         (_trewinddir), (_ttelldir), (_tseekdir):
23224         * win32/common/dirent.h:
23225         * win32/common/gtchar.h:
23226         * win32/common/libgstbase.def:
23227         * win32/common/libgstreamer.def:
23228         * win32/vs6/grammar.dsp:
23229         * win32/vs6/gst_inspect.dsp:
23230         * win32/vs6/gst_launch.dsp:
23231         * win32/vs6/gstreamer.dsw:
23232         * win32/vs6/libgstbase.dsp:
23233         * win32/vs6/libgstelements.dsp:
23234         * win32/vs6/libgstreamer.dsp:
23235           Visual Studio 6 project files, and a new common directory.
23236           Phear.
23237
23238 2005-10-11  Wim Taymans  <wim@fluendo.com>
23239
23240         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23241         (gst_base_sink_do_sync), (gst_base_sink_query),
23242         (gst_base_sink_change_state):
23243         * gst/base/gstbasesink.h:
23244         Correctly parse newsegment info.
23245
23246 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23247
23248         * gst/gst.c: (init_post):
23249           split plugin paths correctly
23250
23251 2005-10-11  Wim Taymans  <wim@fluendo.com>
23252
23253         * check/gst/gstevent.c: (GST_START_TEST):
23254         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23255         (gst_base_sink_change_state):
23256         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23257         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23258         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23259         * gst/gstevent.c: (gst_event_new_newsegment),
23260         (gst_event_parse_newsegment):
23261         * gst/gstevent.h:
23262         Added extra flag to newsegment for future API freeze.
23263         Updated check and base elements.
23264
23265 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23266
23267         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23268         (gst_collectpads_add_pad), (gst_collectpads_pop),
23269         (gst_collectpads_event), (gst_collectpads_chain):
23270         * gst/base/gstcollectpads.h: Handle EOS correctly.
23271
23272 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23273
23274         * tools/gst-launch.c: (main):
23275           more null protecting
23276
23277 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23278
23279         * gst/gst-i18n-lib.h:
23280           check for ENABLE_NLS, not GETTEXT_PACKAGE
23281         * gst/gstregistry.c: (gst_registry_add_plugin),
23282         (gst_registry_scan_path_level),
23283         (_gst_registry_remove_cache_plugins):
23284           protect possibly NULL strings
23285         * gst/parse/types.h:
23286           config.h already included before
23287         * tools/gst-inspect.c: (main):
23288           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23289           check for ENABLE_NLS, not GETTEXT_PACKAGE
23290         * tools/gst-launch.c: (main):
23291           check for ENABLE_NLS, not GETTEXT_PACKAGE
23292
23293 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23294
23295         * configure.ac:
23296           if we don't have glib, fail before testing 2.8
23297         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23298           fix a leak, should fix plugins-base testsuite
23299
23300 2005-10-11  Andy Wingo  <wingo@pobox.com>
23301
23302         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23303         take the mode we're going to as an arg. Go head and set the mode
23304         and flushing flags now, so that if the activate function starts a
23305         thread all the flags will be in the right state.
23306         (post_activate): Renamed also. Just handle making sure streaming
23307         finishes for the deactivation case, and setting the deactivated
23308         mode.
23309         (gst_pad_set_active): Complain loudly if deactivation fails.
23310         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23311         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23312         remove the terrible hack.
23313
23314 2005-10-11  Wim Taymans  <wim@fluendo.com>
23315
23316         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23317         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23318         (gst_bin_recalc_state), (gst_bin_change_state_func),
23319         (gst_bin_dispose), (bin_bus_handler):
23320         * gst/gstbin.h:
23321         Prepare to make current EOS message queue more generic.
23322         Fix some typos.
23323
23324         * gst/gstevent.c: (gst_event_new_newsegment),
23325         (gst_event_parse_newsegment):
23326         * gst/gstevent.h:
23327         Rename base to stream_time.
23328
23329         * gst/gstmessage.h:
23330         Fix typo in docs.
23331
23332 2005-10-11  Wim Taymans  <wim@fluendo.com>
23333
23334         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23335         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23336         (gst_bin_change_state_func), (bin_bus_handler):
23337         * gst/gstbin.h:
23338         Work on proper clock selection.
23339
23340 2005-10-11  Edward Hervey  <edward@fluendo.com>
23341
23342         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23343         * libs/gst/controller/gstcontroller.h:
23344         Added GList* version of _remove_properties() in order to be able to wrap
23345         it in bindings.
23346
23347 2005-10-11  Wim Taymans  <wim@fluendo.com>
23348
23349         * docs/design/part-states.txt:
23350         Some more docs.
23351
23352         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23353         (gst_bin_change_state_func), (bin_bus_handler):
23354         Doc updates. Don't distribute the same clock over and over again.
23355
23356         * gst/gstclock.c:
23357         * gst/gstclock.h:
23358         Doc updates.
23359
23360         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23361         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23362         (gst_pad_send_event):
23363         * gst/gstpad.h:
23364         Make probe emission threadsafe again.
23365         Register quarks and move _get_name() from utils.
23366         Doc updates.
23367
23368         * gst/gstpipeline.c: (gst_pipeline_class_init),
23369         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23370         Only redistribute the clock of it changed.
23371
23372         * gst/gstsystemclock.h:
23373         Doc updates. 
23374
23375         * gst/gstutils.c:
23376         * gst/gstutils.h:
23377         Moved the _flow_get_name() to GstPad.
23378
23379 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23380
23381         * check/gst-libs/gdp.c: (GST_START_TEST):
23382         * check/gst/gstcaps.c: (GST_START_TEST):
23383         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23384         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23385         (gst_dp_packet_from_caps):
23386           fix more valgrind warnings before turning up the heat
23387
23388 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23389
23390         * gst/parse/grammar.y:
23391           some cleanup before the hacking
23392
23393 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23394
23395         * gst/base/gstbasesrc.c: (gst_base_src_query):
23396           use conversions
23397         * gst/gstutils.c: (gst_guint64_to_gdouble),
23398         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23399         * gst/gstutils.h:
23400           externalize, basesrc uses it
23401           obviously the implementation needs testing
23402
23403 2005-10-10  Wim Taymans  <wim@fluendo.com>
23404
23405         * tests/sched/Makefile.am:
23406         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23407         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23408
23409 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23410
23411         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23412           apparently converting from guint64 to double is not implemented
23413           on MSVC
23414
23415 2005-10-10  Wim Taymans  <wim@fluendo.com>
23416
23417         * check/Makefile.am:
23418         * check/generic/states.c: (GST_START_TEST):
23419         * check/gst/gstbin.c: (GST_START_TEST):
23420         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23421         * check/states/sinks.c: (GST_START_TEST):
23422         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23423         (main):
23424         Check fixes, use API as stated in design docs, remove hacks.
23425
23426         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23427         (gst_base_sink_change_state):
23428         Catch stopping our task while we're shutting down.
23429
23430         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23431         (gst_bin_remove_func), (gst_bin_get_state_func),
23432         (gst_bin_recalc_state), (gst_bin_change_state_func),
23433         (bin_bus_handler):
23434         * gst/gstbin.h:
23435         * gst/gstelement.c: (gst_element_init),
23436         (gst_element_get_state_func), (gst_element_abort_state),
23437         (gst_element_commit_state), (gst_element_lost_state),
23438         (gst_element_set_state), (gst_element_change_state),
23439         (gst_element_change_state_func):
23440         * gst/gstelement.h:
23441         New state change algorithm (see #318116)
23442
23443         * gst/gstpipeline.c: (gst_pipeline_class_init),
23444         (gst_pipeline_init), (gst_pipeline_set_property),
23445         (gst_pipeline_get_property), (do_pipeline_seek),
23446         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23447         * gst/gstpipeline.h:
23448         Remove crude state change hacks.
23449
23450         * gst/gstutils.h:
23451         Remove crude hacks.
23452
23453         * tools/gst-launch.c: (main):
23454         Fixes for state change. Needs some more work to fully use the
23455         new stuff.
23456
23457 2005-10-10  Andy Wingo  <wingo@pobox.com>
23458
23459         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23460
23461         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23462         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23463         issue.
23464
23465 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23466
23467         * gst/gstiterator.c: (gst_iterator_new):
23468           Fix my previous commit: GTypes passed to gst_iterator_new()
23469           can be fundamental types.
23470
23471 2005-10-10  Wim Taymans  <wim@fluendo.com>
23472
23473         * gst/gstelement.c: (gst_element_iterate_pad_list),
23474         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23475         (gst_element_iterate_sink_pads):
23476         Use src/sink pads lists for the respective iterators instead
23477         of filtering.
23478
23479 2005-10-10  Andy Wingo  <wingo@pobox.com>
23480
23481         Merged in popt removal + GOption addition patch from Ronald, bug
23482         #169772.
23483
23484         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23485         GstElement macros around, remove popt-related symbols, add goption
23486         stuff.
23487
23488         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23489         
23490         * docs/gst/Makefile.am:
23491         * docs/libs/Makefile.am: No POPT_CFLAGS.
23492         
23493         * examples/manual/Makefile.am:
23494         * docs/manual/basics-init.xml: Doc updates with an example.
23495         
23496         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23497         (gst_init), (parse_one_option), (parse_goption_arg):
23498         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23499         bit of hand merging and debugging to get the GOption stuff working
23500         tho.
23501         
23502         * tests/Makefile.am:
23503         * tools/Makefile.am:
23504         * tools/gst-inspect.c: (main):
23505         * tools/gst-launch.c: (main):
23506         * tools/gst-run.c: (main):
23507         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23508
23509 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23510
23511         * gst/gstiterator.c: (gst_iterator_new):
23512           Add assertions to make sure passed GType is likely to really
23513           be a GType (as the compiler won't catch it if the size and
23514           GType arguments get mixed up, see #318447).
23515
23516 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23517
23518         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23519
23520         * gst/gstbin.c: (gst_bin_iterate_sorted):
23521           Pass GType and size arguments to gst_iterator_new() in the right
23522           order (maybe we should make _new() take the GType as first argument
23523           just like _new_list()?) (#318447).
23524           
23525
23526 2005-10-10  Wim Taymans  <wim@fluendo.com>
23527
23528         * gst/gstelement.c: (gst_element_finalize):
23529         And free the GStaticRecMutex too
23530
23531 2005-10-10  Andy Wingo  <wingo@pobox.com>
23532
23533         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23534         Allocate and free the mutex properly.
23535
23536         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23537         New macros.
23538         (GstElement): The state_lock is now recursive. Rebuild your
23539         plugins, suckers. Old macros adapted.
23540
23541         * docs/gst/gstreamer-sections.txt: Doc updates.
23542
23543         * gst/gstutils.h:
23544         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23545         (g_static_rec_cond_wait): Ported from state changes patch, while
23546         we wait on bug #317802 to be solved in a well-distributed GLib.
23547
23548         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23549         gst_element_change_state, variable name changes.
23550         (gst_element_change_state): Split out of gst_element_set_state in
23551         preparation for the state change merge. Doesn't pay attention to
23552         the 'transition' argument.
23553         (gst_element_set_state): Updates, hopefully purely cosmetic.
23554         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23555         state change patch.
23556         (gst_element_get_state_func): Renamed from get_state, cosmetic
23557         changes.
23558
23559 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23560
23561         * gst/elements/gstelements.c:
23562         * win32/GStreamer.vcproj:
23563         * win32/config.h:
23564         * win32/dirent.c: (_tseekdir):
23565         * win32/gst-inspect.vcproj:
23566         * win32/gst-launch.vcproj:
23567         * win32/gstconfig.h:
23568         * win32/gstelements.vcproj:
23569         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23570         * win32/gstreamer.def:
23571         * win32/msvc71.sln:
23572           updates for the win32 build (patch from Sebastien Moutte)
23573
23574 2005-10-10  Andy Wingo  <wingo@pobox.com>
23575
23576         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23577         gst_bin_get_state, cleaned up (but no logic changes).
23578         (bin_element_is_sink): Comment updates.
23579         (sink_iterator_filter): Remove needless cast.
23580         (gst_bin_iterate_sinks): Doc update.
23581         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23582         cleaned up (but no logic changes).
23583
23584         * check/states/sinks.c (test_src_sink): Cleanups from the state
23585         change patch.
23586         (test_livesrc_sink): Sync on the state.
23587
23588         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23589         the state change patch.
23590
23591         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23592         change patch.
23593
23594         * check/gst/gstbin.c: Merge in some style fixes and additional
23595         checks from Wim's state change patch.
23596
23597 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23598
23599         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23600         (gst_type_find_helper):
23601           Check whether we have the requested data already in our list of
23602           cached buffers before pulling a new buffer; also make the buffer
23603           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23604
23605 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23606
23607         * gst/gstcaps.c:
23608         * gst/gstevent.c:
23609           doc updates
23610         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23611           don't use long long, it's not portable.  Replacing with
23612           gint64 seems to work; let's hope no skeletons fall out of the closet.
23613
23614 2005-10-10  Andy Wingo  <wingo@pobox.com>
23615
23616         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23617
23618 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23619
23620         * docs/gst/gstreamer-sections.txt:
23621         * gst/gstevent.c:
23622         * gst/gstevent.h:
23623         * gst/gstinfo.c:
23624         * gst/gstinfo.h:
23625         * gst/gstmessage.c: (gst_message_parse_state_changed):
23626         * gst/gstpad.c:
23627         * gst/gstpad.h:
23628           more docs, fix compilation
23629
23630 2005-10-09  Philippe Khalaf <burger@speedy.org>
23631         * gst/gstmessage.c:
23632           Fixed a few forgotten variables on previous commit
23633
23634 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23635
23636         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23637           Fix evil typefind crasher: getrange() might return a short
23638           buffer at the end of a file, but gst_type_find_peek() must
23639           either return the full data as requested or NULL, but
23640           never a short buffer.
23641
23642 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23643
23644         * gst/gstmessage.c: (gst_message_new_state_changed),
23645         (gst_message_parse_state_changed):
23646         * gst/gstmessage.h:
23647           don't use "new", it's a C++ keyword
23648
23649 2005-10-08  Wim Taymans  <wim@fluendo.com>
23650
23651         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23652         * gst/gstelement.c: (gst_element_post_message):
23653         * gst/gstpipeline.c: (gst_pipeline_change_state):
23654         Small docs and debug updates.
23655
23656 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23657
23658         * docs/gst/gstreamer-sections.txt:
23659         * gst/gstelementfactory.c:
23660         * gst/gstevent.c:
23661         * gst/gsttaglist.c:
23662           more docs
23663
23664 2005-10-08  Wim Taymans  <wim@fluendo.com>
23665
23666         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23667         (gst_bin_dispose), (bin_bus_handler):
23668         Fix typos, add comments.
23669         Clear EOS list when going to PAUSED from any direction and do it
23670         in a threadsafe way.
23671         Get base time in a threadsafe way too.
23672         Fix confusing debug in the change_state function.
23673         Various other small cleanups.
23674         
23675         * gst/gstelement.c: (gst_element_post_message):
23676         Fix very verbose bus posting code.
23677
23678         * gst/gstpipeline.c: (gst_pipeline_class_init),
23679         (gst_pipeline_set_property), (gst_pipeline_get_property),
23680         (gst_pipeline_change_state):
23681         Small ARG_ -> PROP_ cleanup
23682
23683 2005-10-08  Wim Taymans  <wim@fluendo.com>
23684
23685         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23686         Do a less CPU demanding EOS check because we can.
23687
23688 2005-10-08  Wim Taymans  <wim@fluendo.com>
23689
23690         * libs/gst/dataprotocol/dataprotocol.c:
23691         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23692         (gst_dp_packet_from_event):
23693         * libs/gst/dataprotocol/dataprotocol.h:
23694         * libs/gst/dataprotocol/dp-private.h:
23695         It's about time we bump the version number.
23696         Since event types don't fit in the guint8 anymore describing
23697         the payload type, make payload type 16 bits wide.
23698
23699 2005-10-08  Wim Taymans  <wim@fluendo.com>
23700
23701         * docs/design/part-TODO.txt:
23702         * docs/design/part-clocks.txt:
23703         * docs/design/part-events.txt:
23704         * docs/design/part-gstbin.txt:
23705         * docs/design/part-gstelement.txt:
23706         * docs/design/part-gstpipeline.txt:
23707         * docs/design/part-live-source.txt:
23708         * docs/design/part-messages.txt:
23709         * docs/design/part-overview.txt:
23710         * docs/design/part-states.txt:
23711         Many doc updates.
23712
23713 2005-10-08  Wim Taymans  <wim@fluendo.com>
23714
23715         * gst/gstevent.c:
23716         * gst/gstevent.h:
23717         Fix event quark registration.
23718         Add some space between events so we can insert them in the
23719         right groups.
23720
23721 2005-10-08  Wim Taymans  <wim@fluendo.com>
23722
23723         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23724         (gst_base_sink_handle_buffer):
23725         Better log message.
23726
23727         * gst/gstbus.h:
23728         * gst/gstelement.h:
23729         More docs.
23730
23731         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23732         (gst_queue_set_property), (gst_queue_get_property):
23733         * gst/gstqueue.h:
23734         Remove old unused properties.
23735
23736 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23737         * docs/gst/gstreamer-sections.txt:
23738         * gst/gstmessage.c:
23739         * gst/gstmessage.h:
23740         * gst/gstminiobject.c:
23741         * gst/gstminiobject.h:
23742         * gst/gstobject.h:
23743         * gst/gstpad.h:
23744         * gst/gstutils.h:
23745           lots of new docs and doc fixes
23746
23747 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23748
23749         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23750         * gst/gstplugin.h:
23751         * gst/gstregistry.c: (gst_registry_lookup_locked),
23752         (gst_registry_scan_path_level):
23753         * gst/gstregistryxml.c: (load_plugin):
23754           Only ever load one plugin for a given plugin basename.
23755           This ensures correct overriding of GST_PLUGIN_PATH over
23756           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23757           system installed plugins.
23758
23759 2005-10-08  Wim Taymans  <wim@fluendo.com>
23760
23761         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23762         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23763         Prepare for doing QOS.
23764
23765 2005-10-08  Wim Taymans  <wim@fluendo.com>
23766
23767         * check/gst/gstbin.c: (GST_START_TEST):
23768         * check/pipelines/cleanup.c: (GST_START_TEST):
23769         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23770         Allow new clock message too.
23771
23772 2005-10-08  Wim Taymans  <wim@fluendo.com>
23773
23774         * gst/gstmessage.c: (gst_message_new_error),
23775         (gst_message_new_warning), (gst_message_new_tag),
23776         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23777         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23778         (gst_message_new_segment_start), (gst_message_new_segment_done),
23779         (gst_message_parse_state_changed),
23780         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23781         (gst_message_parse_new_clock):
23782         * gst/gstmessage.h:
23783         Also carry the clock in question.
23784
23785 2005-10-08  Wim Taymans  <wim@fluendo.com>
23786
23787         * gst/gstmessage.c: (gst_message_new_custom),
23788         (gst_message_new_eos), (gst_message_new_error),
23789         (gst_message_new_warning), (gst_message_new_tag),
23790         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23791         (gst_message_new_new_clock), (gst_message_new_segment_start),
23792         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23793         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23794         * gst/gstmessage.h:
23795         Clean up.
23796         Added clock related messages.
23797
23798         * gst/gstpipeline.c: (gst_pipeline_change_state):
23799         Post message when the clock changed.
23800
23801         * tools/gst-launch.c: (event_loop):
23802         Print new clock.
23803
23804 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23805
23806         * tools/gst-inspect.c: (print_element_properties_info):
23807           Can't pass NULL strings to g_print() on windows.
23808
23809 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23810
23811         * docs/Makefile.am:
23812         * docs/gst/Makefile.am:
23813         * docs/gst/gstreamer-docs.sgml:
23814         * docs/gst/running.xml:
23815         * docs/version.entities.in:
23816           add a chapter on running GStreamer.
23817           document GST_DEBUG and GST_PLUGIN* env vars
23818
23819 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23820
23821         * Makefile.am:
23822           remove include dir
23823         * configure.ac:
23824           remove PLUGINS_BUILDDIR stuff
23825         * gst/gst.c: (init_post):
23826           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23827         * idiottest.mak:
23828           remove, it was condescending and not needed
23829
23830 2005-10-08  Wim Taymans  <wim@fluendo.com>
23831
23832         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23833         (gst_base_sink_handle_object), (gst_base_sink_event),
23834         (gst_base_sink_wait), (gst_base_sink_handle_event),
23835         (gst_base_sink_change_state):
23836         * gst/base/gstbasesink.h:
23837         Repost EOS message while going to PLAYING if still EOS.
23838         Make sure that when receiving a FLUSH_START we don't attempt
23839         to sync on the clock anymore.
23840
23841 2005-10-08  Wim Taymans  <wim@fluendo.com>
23842
23843         * tools/gst-launch.c: (event_loop):
23844         Better message printout.
23845
23846 2005-10-08  Wim Taymans  <wim@fluendo.com>
23847
23848         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23849         (gst_bin_child_proxy_get_children_count):
23850         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23851         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23852         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23853         (gst_child_proxy_set_valist):
23854         * gst/parse/grammar.y:
23855         Make ChildProxy threadsafe and fix mem leaks.
23856
23857 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23858
23859         * gst/gst.c: (init_post):
23860           debug the GST_PLUGIN_ env vars
23861
23862 2005-10-08  Wim Taymans  <wim@fluendo.com>
23863
23864         * check/gst/gstbin.c: (GST_START_TEST):
23865         * check/gst/gstmessage.c: (GST_START_TEST):
23866         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23867         * gst/gstelement.c: (gst_element_commit_state),
23868         (gst_element_lost_state):
23869         * gst/gstmessage.c: (gst_message_new_state_changed),
23870         (gst_message_parse_state_changed):
23871         * gst/gstmessage.h:
23872         * tools/gst-launch.c: (event_loop):
23873         Added extra field to STATE_CHANGE message with the pending
23874         state, which will be different from the new state soon.
23875
23876 2005-10-08  Wim Taymans  <wim@fluendo.com>
23877
23878         * gst/gstbus.c: (gst_bus_pop):
23879         * gst/gstclock.c:
23880         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23881         Small cleanups and doc updates.
23882
23883 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23884
23885         * gst/gst.c: (init_pre):
23886         * gst/gstbin.c: (gst_bin_add_func):
23887           log distributing clocks and base time
23888         * gst/gstregistry.c: (gst_registry_add_plugin),
23889         (gst_registry_scan_path_level), (gst_registry_scan_path):
23890           clean up the debugging output a little
23891         * gst/gstutils.c: (gst_element_state_get_name):
23892           warn about a memleak (I've actually seen this be used, though
23893           it was probably a bug)
23894
23895 2005-10-07  Wim Taymans  <wim@fluendo.com>
23896
23897         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23898         (gst_base_src_init), (gst_base_src_default_newsegment),
23899         (gst_base_src_newsegment), (gst_base_src_do_seek),
23900         (gst_base_src_loop), (gst_base_src_start):
23901         * gst/base/gstbasesrc.h:
23902         Make the newsegment event customizable by subclasses.
23903
23904 2005-10-07  Wim Taymans  <wim@fluendo.com>
23905
23906         * gst/gstevent.c: (gst_event_new_buffersize),
23907         (gst_event_parse_buffersize):
23908         * gst/gstevent.h:
23909         New event for future idea.
23910
23911 2005-10-07  Andy Wingo  <wingo@pobox.com>
23912
23913         * gst/gstelement.c (gst_element_post_message): Doc update.
23914
23915         * docs/gst/gstreamer-sections.txt: Update.
23916
23917         * gst/gstmessage.c (gst_message_new_application): Made into a
23918         function like honest API calls.
23919         (gst_message_new_element): New message type.
23920
23921         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23922
23923         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23924         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23925         times.
23926
23927         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23928         NO_PREROLL from gst_element_change_state to fall through.
23929
23930 2005-10-07  Wim Taymans  <wim@fluendo.com>
23931
23932         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23933         (gst_ghost_pad_do_activate_push):
23934         Activating a ghostpad with no internal pad in push mode
23935         is ok.
23936
23937 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23938
23939         * gst/gstobject.h:
23940           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23941           Fixes compilation on Windows.
23942
23943 2005-10-07  Michael Smith <msmith@fluendo.com>
23944
23945         * tools/gst-inspect.c:
23946           Print out feature and plugin count at the end when printing out
23947           all features.
23948
23949 2005-10-04  Michael Smith <msmith@fluendo.com>
23950
23951         * gst/gsterror.c: (_gst_stream_errors_init):
23952           Add another error string used in a few existing plugins.
23953
23954         * gst/gstplugin.c:
23955         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23956         * tools/gst-inspect.c: (print_element_info):
23957           When a feature disappears from a plugin (and the feature exists in
23958           the cached registry file), things went horribly wrong. This isn't a
23959           complete fix, we should actually be removing the 'missing' features
23960           from the features list when we load the actual plugin. That's not
23961           yet implemented. 
23962
23963 2005-10-04  Johan Dahlin  <johan@gnome.org>
23964
23965         * check/gst/gstiterator.c: (GST_START_TEST):
23966         * gst/gstbin.c: (gst_bin_iterate_elements),
23967         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23968         * gst/gstelement.c: (gst_element_iterate_pads):
23969         * gst/gstformat.c: (gst_format_iterate_definitions):
23970         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23971         (gst_iterator_new_list), (gst_iterator_filter):
23972         * gst/gstiterator.h:
23973         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23974         Add a GType to GstIterator, update callsites and tests.
23975
23976 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23977
23978         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23979           give events a chance to be handled by event probes when the pad
23980           is not linked
23981
23982 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23983
23984         * gst/gstevent.c: (gst_event_type_get_name),
23985         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23986         * gst/gstevent.h:
23987           add string representations for event types
23988
23989 2005-10-06  Wim Taymans  <wim@fluendo.com>
23990
23991         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23992         Don't use NULL pointers.
23993
23994 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23995
23996         * gst/gst_private.h:
23997         * gst/gstbus.c:
23998         * gst/gstelement.c:
23999         * gst/gstinfo.c:
24000         * gst/gstpluginfeature.c:
24001           widen the debug category in output to fit the biggest one we have
24002           add a bus category and use it
24003           play with the colors
24004           fix up some categories
24005
24006 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24007
24008         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24009           add push activation of sink ghost pads.
24010           Andye, please verify
24011
24012 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24013
24014         * gst/gstutils.c: (gst_element_link_pads):
24015           fix a bug in the case where neither element has a pad
24016         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24017           add a test for that case
24018
24019 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24020
24021         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24022           emit have-data before checking for peers.  This allows
24023           for probe handlers to connect elements.  This helps autopluggers.
24024         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24025         (gst_pad_suite):
24026           add six checks, linked/unlinked with no/true/false probe
24027
24028 2005-10-04  Wim Taymans  <wim@fluendo.com>
24029
24030         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24031         (gst_fake_sink_event), (gst_fake_sink_preroll),
24032         (gst_fake_sink_render), (gst_fake_sink_change_state):
24033         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24034         (gst_fake_src_get_property), (gst_fake_src_create),
24035         (gst_fake_src_stop):
24036         * gst/elements/gstidentity.c: (gst_identity_stop):
24037         Protect last_message with lock.
24038
24039 2005-10-04  Edward Hervey  <edward@fluendo.com>
24040
24041         * gst/gstformat.h: 
24042         Added precision in the comments for GST_FORMAT_DEFAULT
24043
24044 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24045
24046         * tools/gst-launch.c: (main):
24047           Don't try to run erroneous pipelines.
24048
24049 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24050
24051         * gst/gstbus.c: We don't need this header.
24052
24053 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24054
24055         * configure.ac:
24056           back to development
24057
24058 === release 0.9.3 ===
24059
24060 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24061
24062         * README:
24063         * configure.ac:
24064           Releasing 0.9.3, "Unregistered"
24065
24066 2005-10-03  Andy Wingo  <wingo@pobox.com>
24067
24068         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24069         whereby calling a pad's activatepush() function can start a thread
24070         that starts to push or pull before the pad gets the FLUSHING flag
24071         unset. Hack around it by holding the stream lock until the flag is
24072         set. Need to replace this with a proper solution. Together with
24073         the ghost pad fixes, this fixes mp3 playing/tagreading.
24074
24075         * docs/design/part-gstghostpad.txt: Add a note about activation of
24076         proxy pads outside of ghost pads.
24077
24078         * gst/gstghostpad.c: Implement the ghost pad activation design.
24079
24080 2005-10-02  Andy Wingo  <wingo@pobox.com>
24081
24082         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24083         It is volatile, after all.
24084
24085         * docs/design/part-gstghostpad.txt: Flesh out activation with
24086         ghost pads.
24087
24088         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24089         GST_DEBUG_FUNCPTR.
24090
24091 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24092
24093         * configure.ac:
24094           Fix (unused) AM_CONDITIONAL tests.
24095
24096 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24097
24098         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24099
24100         * gst/gstutils.c: (gst_pad_query_convert):
24101           Add assertion that makes sure src_val is >=0, just like
24102           gst_query_new_convert() has. (#315895)
24103
24104 2005-09-30  Edward Hervey  <edward@fluendo.com>
24105
24106         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24107         Let's not iterate pads we're not interested in, it avoids getting 
24108         sky-high refcounts on sinkpad.
24109
24110 2005-09-30  Wim Taymans  <wim@fluendo.com>
24111
24112         * gst/gstelement.c: (gst_element_set_state),
24113         (gst_element_change_state):
24114         Small tweak, element in ASYNC remains ASYNC.
24115
24116 2005-09-30  Wim Taymans  <wim@fluendo.com>
24117
24118         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24119         Only error is an error.
24120
24121         * gst/gstbin.c: (gst_bin_change_state):
24122         Better debugging.
24123
24124         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24125         Also call pad_block in pad alloc.
24126
24127         * gst/gstutils.c: (gst_flow_get_name):
24128         Better debugging.
24129
24130 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24131
24132         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24133         (gst_base_src_get_range):
24134           Fix documentation typos. Add some more debug info.
24135
24136 2005-09-29  David Schleef  <ds@schleef.org>
24137
24138         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24139           more end-user friendly.
24140         * tools/gst-inspect.c: (main): Check if command-line argument is
24141           a file and attempt to load that file as a plugin.
24142
24143 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24144
24145         * check/gst/gstbin.c:
24146         * check/states/sinks.c:
24147           fix tests for the new warning
24148         * check/gst/gstpipeline.c:
24149           add a test for pipeline and bus interaction
24150         * gst/gstelement.c:
24151           elements should be NULL if they get disposed; add a warning if not
24152
24153 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24154
24155         * gst/gstobject.c:
24156           for 2.6 refcounting, make debug log more correct by printing
24157           the actual refcounts at the time of swap (Wim)
24158
24159 2005-09-29  Andy Wingo  <wingo@pobox.com>
24160
24161         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24162         removes signal watches previously added via
24163         gst_bus_add_signal_watch.
24164         (gst_bus_add_signal_watch): Don't return the source id, just store
24165         it on the bus if there wasn't an id already.
24166
24167         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24168         add_signal_watch and remove_signal_watch.
24169
24170 2005-09-29  Edward Hervey  <edward@fluendo.com>
24171
24172         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24173         Better if we actually iterate the list :)
24174
24175 2005-09-29  Wim Taymans  <wim@fluendo.com>
24176
24177         * check/gst/gstbin.c: (GST_START_TEST):
24178         Change for new bus API.
24179
24180         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24181         (send_messages), (GST_START_TEST), (gstbus_suite):
24182         Change for new bus signal API.
24183
24184         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24185         (gst_bus_source_prepare), (gst_bus_source_check),
24186         (gst_bus_create_watch), (gst_bus_add_watch_full),
24187         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24188         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24189         * gst/gstbus.h:
24190         Remove support for multiple GSources operating on different
24191         message types as it is too complex and unneeded when using
24192         signals.
24193         Added support for receiving signals from the bus.
24194
24195 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24196
24197         * docs/libs/tmpl/gstdataprotocol.sgml:
24198         * docs/manual/advanced-dataaccess.xml:
24199         * gst/elements/gstcapsfilter.c:
24200         * gst/gstutils.c:
24201           rename filter-caps to caps property
24202
24203 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24204
24205         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24206           More robust fraction string parsing.
24207
24208         * docs/pwg/appendix-porting.xml:
24209           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24210
24211 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24212
24213         * gst/gstcaps.c: (gst_caps_do_simplify):
24214           Thou shalt not free a structure and then continue using it
24215           in the next loop iteration.
24216
24217         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24218         (gst_caps_suite):
24219           Add test case for caps simplification.
24220
24221 2005-09-29  Wim Taymans  <wim@fluendo.com>
24222
24223         * check/gst/gstbin.c: (GST_START_TEST):
24224         Oops.
24225
24226 2005-09-29  Wim Taymans  <wim@fluendo.com>
24227
24228         * check/gst/gstbin.c: (GST_START_TEST):
24229         Add bus to bin.
24230
24231         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24232         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24233         (find_element), (gst_bin_sort_iterator_next),
24234         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24235         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24236         (gst_bin_change_state), (gst_bin_dispose):
24237         A bin does not have a bus, it gets the bus from the parent.
24238
24239         * gst/gstelement.c: (gst_element_requires_clock),
24240         (gst_element_provides_clock), (gst_element_is_indexable),
24241         (gst_element_is_locked_state), (gst_element_change_state),
24242         (gst_element_set_bus_func):
24243         Small cleanups.
24244
24245         * gst/gstpipeline.c: (gst_pipeline_class_init),
24246         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24247         The pipeline provides a bus.
24248
24249 2005-09-28  Johan Dahlin  <johan@gnome.org>
24250
24251         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24252         gst_structure_get_enum instead of gst_structure_get_int
24253
24254         * gst/gststructure.c (gst_structure_get_enum): Impl.
24255
24256         * gst/gststructure.h (gst_structure_get_enum): Add
24257
24258         * docs/gst/gstreamer-sections.txt: Ditto
24259
24260         * gst/gstmessage.c (gst_message_new_state_changed): Use
24261         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24262         which does introspection.
24263         Reviewed by Christian Schaller
24264
24265 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24266
24267         * gst/gstinfo.c: (gst_debug_log_default):
24268           don't do dummy g_strdup()s
24269         * libs/gst/controller/gstcontroller.c:
24270         (on_object_controlled_property_changed),
24271         (gst_controlled_property_new), (gst_controller_new_valist),
24272         (gst_controller_new_list),
24273         (gst_controller_remove_properties_valist), (gst_controller_set),
24274         (gst_controller_get), (gst_controller_sync_values),
24275         (gst_controller_get_value_array), (_gst_controller_class_init),
24276         (gst_controller_get_type):
24277         * libs/gst/controller/gstcontroller.h:
24278         * libs/gst/controller/gstinterpolation.c:
24279         (gst_controlled_property_find_timed_value_node):
24280           convert // to /**/ comments
24281
24282 2005-09-28  Wim Taymans  <wim@fluendo.com>
24283
24284         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24285         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24286         (gst_bus_sync_signal_handler):
24287         * gst/gstbus.h:
24288         Added async-message and sync-message signals to the bus.
24289         Added helper BusFunc to emit signals for all posted messages.
24290
24291         * gst/gstmessage.c: (gst_message_type_get_name),
24292         (gst_message_type_to_quark), (gst_message_get_type):
24293         * gst/gstmessage.h:
24294         Register quarks for message names.
24295
24296 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24297
24298         * docs/libs/gstreamer-libs-sections.txt:
24299         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24300         (gst_controller_new_list):
24301         * libs/gst/controller/gstcontroller.h:
24302           added another constructor for language bindings
24303
24304 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24305
24306         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24307           add another check
24308         * gst/gstbus.c:
24309           add some doc
24310         * gst/gstinfo.c: (_gst_debug_init):
24311           slightly more readable color for refcount debugging
24312
24313 2005-09-28  Wim Taymans  <wim@fluendo.com>
24314
24315         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24316         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24317         (find_element), (gst_bin_sort_iterator_next),
24318         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24319         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24320         (gst_bin_change_state), (gst_bin_dispose):
24321         Small doc fixes. get_clock -> provide_clock.
24322
24323         * gst/gstelement.c: (gst_element_class_init),
24324         (gst_element_provides_clock), (gst_element_provide_clock),
24325         (gst_element_get_clock), (gst_element_commit_state),
24326         (gst_element_lost_state):
24327         * gst/gstelement.h:
24328         Make get/set_clock() symetric. Add provide_clock vmethod since
24329         that is actually what this function does.
24330
24331         * gst/gstpipeline.c: (gst_pipeline_class_init),
24332         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24333         (gst_pipeline_get_clock):
24334         get_clock -> provide_clock.
24335
24336 2005-09-28  Andy Wingo  <wingo@pobox.com>
24337
24338         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24339         lieu of real docs...
24340
24341         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24342
24343 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24344
24345         * gst/elements/gstcapsfilter.c:
24346         * gst/elements/gstfakesink.c:
24347         * gst/elements/gstfakesrc.c:
24348         * gst/elements/gstfdsink.c:
24349         * gst/elements/gstfdsrc.c:
24350         * gst/elements/gstfilesink.c:
24351         * gst/elements/gstfilesrc.c:
24352         * gst/elements/gstidentity.c:
24353         * gst/elements/gsttee.c:
24354         * gst/elements/gsttypefindelement.c:
24355           Make element details static.
24356
24357 2005-09-28  Wim Taymans  <wim@fluendo.com>
24358
24359         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24360         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24361         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24362         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24363         (gst_bin_change_state), (gst_bin_dispose):
24364         Some documentation updates.
24365         Clean up dispose handlers.
24366
24367         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24368         * gst/gstpad.c: (gst_pad_dispose):
24369         Clean up dispose handler.
24370
24371         * gst/gstpipeline.c: (gst_pipeline_change_state):
24372         Removed spurious UNLOCK.
24373
24374 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24375
24376         * docs/gst/gstreamer-sections.txt:
24377         * gst/base/gstbasesrc.h:
24378         * gst/gstelement.h:
24379         * gst/gstevent.h:
24380         * gst/gstobject.h:
24381         * gst/gstpad.h:
24382         * gst/gstpipeline.c:
24383         * gst/gstpipeline.h:
24384         * gst/gstutils.h:
24385         * gst/gstxml.h:
24386           added two new functions to the docs
24387                 documents all undocumented GstXXXFlags
24388                 completed some incomplete docs 
24389
24390 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24391
24392         * gst/gstbin.c: (gst_bin_dispose):
24393         * gst/gstelement.c: (gst_element_dispose):
24394           remove now useless and leaky resurrection code in dispose
24395         * gst/base/gstbasesrc.c: (gst_base_src_init):
24396         * gst/gstelementfactory.c: (gst_element_factory_create):
24397         * gst/gstobject.c: (gst_object_set_parent):
24398           add some debugging
24399
24400 2005-09-27  Wim Taymans  <wim@fluendo.com>
24401
24402         * docs/design/part-TODO.txt:
24403         Update TODO.
24404
24405         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24406         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24407         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24408         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24409         (gst_bin_change_state):
24410         * gst/gstelement.h:
24411         Remove element variable, we keep element info in the iterator now.
24412
24413 2005-09-27  Andy Wingo  <wingo@pobox.com>
24414
24415         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24416         values.
24417
24418 2005-09-27  Wim Taymans  <wim@fluendo.com>
24419
24420         * check/gst/gstbin.c: (GST_START_TEST):
24421         Enable check that works now.
24422
24423         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24424         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24425         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24426         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24427         (gst_bin_change_state):
24428         * gst/gstbin.h:
24429         Redid the state change algorithm using a topological sort algo.
24430         Handles all cases correctly.
24431         Exposed iterator for state change order.
24432
24433         * gst/gstelement.h:
24434         Temp storage for state changes. Need to get rid of this soon.
24435
24436 2005-09-27  Wim Taymans  <wim@fluendo.com>
24437
24438         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24439         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24440         (link_fold_func), (gst_pad_proxy_setcaps):
24441         Leak fixes, the fold functions need to unref the passed object and
24442         _get_parent_*() returns ref to parent.
24443
24444 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24445
24446         * check/gst/gstbuffer.c: (test_make_writable):
24447           Plug leak in test case and fix 'make check-valgrind'
24448
24449 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24450
24451         * gst/gstbuffer.c: (gst_subbuffer_init):
24452           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24453           works correctly in all circumstances (we could have just copied
24454           the parent buffer's readonly flag, but conceptually it seems
24455           cleaner to mark all subbuffers as read-only). (based on patch
24456           by Alessandro Decina, #314710).
24457         
24458         * check/gst/gstbuffer.c: (create_read_only_buffer),
24459         (test_make_writable), (test_subbuffer_make_writable),
24460         (gst_test_suite):
24461           Add some tests for gst_buffer_make_writable().
24462
24463 2005-09-27  Wim Taymans  <wim@fluendo.com>
24464
24465         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24466         use gst_object_has_ancestor().
24467
24468         * gst/gstobject.c: (gst_object_has_ancestor):
24469         * gst/gstobject.h:
24470         gst_object_has_ancestor() copied from gstbin.c as it is a
24471         useful function.
24472
24473         * tests/instantiate/create.c: (create_all_elements):
24474         * tests/lat.c: (handoff_src), (handoff_sink):
24475         * tests/sched/runxml.c: (main):
24476         * tests/seeking/seeking1.c: (main):
24477         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24478         (main):
24479         Fix compilation of some tests.
24480
24481 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24482
24483         * gst/gsterror.h:
24484           Remove comment. GST_TYPE_G_ERROR is here to stay,
24485           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24486           (#316961, #300610).
24487
24488 2005-09-26  Wim Taymans  <wim@fluendo.com>
24489
24490         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24491         Added check that shows error in state change order.
24492
24493 2005-09-26  Wim Taymans  <wim@fluendo.com>
24494
24495         * gst/gstbin.c: (gst_bin_change_state):
24496         Make state change function use 3 queues again, we were
24497         adding elements in the wrong order.
24498
24499         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24500         Some debug info,
24501
24502         * gst/gstpad.c: (gst_pad_dispose):
24503         Added some debug info first.
24504
24505 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24506
24507         * docs/design/draft-push-pull.txt:
24508         * docs/design/part-events.txt:
24509         * docs/design/part-overview.txt:
24510         * docs/design/part-scheduling.txt:
24511           Replace all _pull_region() with _pull_range()
24512           
24513 2005-09-26  Andy Wingo  <wingo@pobox.com>
24514
24515         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24516
24517         * check/gst-libs/controller.c: Update for controller api change.
24518
24519         * configure.ac: 
24520         * tests/Makefile.am:
24521         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24522         over by GLib bug 118439.
24523         
24524         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24525         routines to a function.
24526
24527         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24528
24529         * libs/gst/controller/gsthelper.c:
24530         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24531         (gst_object_sync_values): Renamed from sink_values. Ugh.
24532
24533         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24534
24535         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24536         Renamed from controller_key, as it is exported.
24537
24538         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24539
24540 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24541
24542         * gst/Makefile.am:
24543         * gst/gst.h:
24544         * gst/gstpad.h:
24545         * gst/gstpadtemplate.h:
24546         * gst/gstquery.c:
24547         * gst/gstquery.h:
24548         * gst/gstqueryutils.c:
24549         * gst/gstqueryutils.h:
24550           remove queryutils headers after moving the two used functions
24551           to gstquery.  also fixes build problem for gstsiddec
24552
24553 2005-09-26  Michael Smith <msmith@fluendo.com>
24554
24555         * tools/gst-launch.1.in:
24556         Correct documentation in manpage of debug syntax
24557
24558 2005-09-26  Wim Taymans  <wim@fluendo.com>
24559
24560         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24561         (gst_base_src_is_seekable), (gst_base_src_change_state):
24562         Some more debugging info.
24563
24564 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24565
24566         * docs/gst/gstreamer-sections.txt:
24567         * gst/base/gstbasetransform.h:
24568         * gst/gstindex.h:
24569           added more docs
24570
24571 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24572
24573         * docs/gst/.cvsignore:
24574         * docs/gst/tmpl/.cvsignore:
24575         * docs/gst/tmpl/gstpipeline.sgml:
24576         * docs/gst/tmpl/gstplugin.sgml:
24577         * gst/gstpipeline.c:
24578         * gst/gstplugin.c:
24579         * gst/gstplugin.h:
24580           inlined the last two docs files
24581           removed the tmpl directory from cvs (no more conflicts here!)
24582
24583 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24584
24585         * docs/gst/gstreamer-sections.txt:
24586         * docs/gst/tmpl/.cvsignore:
24587         * docs/gst/tmpl/gstpad.sgml:
24588         * docs/gst/tmpl/gstpadtemplate.sgml:
24589         * gst/Makefile.am:
24590         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24591         (gst_pad_finalize), (gst_pad_set_pad_template):
24592         * gst/gstpad.h:
24593         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24594         (gst_pad_template_class_init), (gst_pad_template_init),
24595         (gst_pad_template_dispose), (name_is_valid),
24596         (gst_static_pad_template_get), (gst_pad_template_new),
24597         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24598         (gst_pad_template_pad_created):
24599         * gst/gstpadtemplate.h:
24600           inlined two more docs
24601           factored gstpadtemplate out of gstpad
24602
24603 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24604
24605         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24606         (test_children_state_change_order_semi_sink):
24607           Fix test case: we can't rely on a fixed state change order when
24608           going from READY => PAUSED because the sink might commit its 
24609           new state first when the first buffer created by the source 
24610           reaches the sink before the source has finished its change state.
24611           (Test case still fails at times, see #316856, comment 5 onwards)
24612
24613 2005-09-24  Wim Taymans  <wim@fluendo.com>
24614
24615         * docs/design/part-events.txt:
24616         * docs/design/part-gstbus.txt:
24617         * docs/design/part-gstpipeline.txt:
24618         * docs/design/part-messages.txt:
24619         * docs/design/part-overview.txt:
24620         * docs/design/part-segments.txt:
24621         * gst/gstbin.c:
24622         * gst/gstbuffer.c:
24623         * gst/gstclock.c:
24624         * gst/gstelement.c:
24625         * gst/gstevent.c:
24626         * gst/gstfilter.c:
24627         * gst/gstiterator.c:
24628         Various documentation updates.
24629
24630 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24631
24632         * gst/gstclock.h:
24633           Well, that's embarassing.  Luckily we weren't using
24634           GST_CLOCK_DIFF anywhere.
24635
24636 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24637
24638         * common/gtk-doc.mak:
24639           don't fail on building XML, FC4 slave shows a bunch of doc
24640           missing bits that I don't get
24641         * gst/gstpad.c:
24642         * gst/gstpipeline.c:
24643         * gst/gststructure.c:
24644           some doc updates
24645
24646 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24647
24648         * docs/design/part-gstbin.txt:
24649         * docs/design/part-gstbus.txt:
24650         * gst/gstbus.c:
24651           Add blurb about how the bus goes into flushing mode and
24652           drops all messages when its bin goes from READY into NULL 
24653           state.
24654
24655 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24656
24657         * docs/gst/gstreamer-sections.txt:
24658         * gst/gststructure.c: (gst_structure_get_clock_time):
24659         * gst/gststructure.h:
24660           add a method to get a GstClockTime out of a structure
24661
24662 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24663
24664         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24665         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24666           Added test to check state change order in bins (can still be made
24667           to fail here under heavy disk load; bails out with 'Push on pad
24668           fakesink:sink0, but it was not activated in push mode').
24669
24670         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24671           Fix state change order when there is only a semi sink (#316856)
24672
24673         * gst/gstbus.c: (gst_bus_class_init):
24674           Use _class_peek_parent(), not _class_ref(); fix docs to say
24675           'default main context' instead of 'mainloop' where that is
24676           what's meant.
24677
24678         * gst/gstelement.c: (gst_element_commit_state),
24679         (gst_element_set_state):
24680           Fix typos in debug messages
24681
24682 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24683
24684         * docs/README:
24685         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24686         * gst/gstpluginfeature.c:
24687         * gst/gstutils.c:
24688           various doc updates
24689         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24690           change an assert into an error until it gets fixed properly
24691
24692 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24693
24694         * docs/gst/gstreamer-sections.txt:
24695         * docs/gst/tmpl/.cvsignore:
24696         * docs/gst/tmpl/gstelement.sgml:
24697         * docs/gst/tmpl/gstinfo.sgml:
24698         * docs/gst/tmpl/gstobject.sgml:
24699         * gst/gstelement.c:
24700         * gst/gstelement.h:
24701         * gst/gstinfo.c:
24702         * gst/gstinfo.h:
24703         * gst/gstobject.c: (gst_object_class_init):
24704         * gst/gstobject.h:
24705           inlined 3 more biiiig doc files and added some missing docs on the fly
24706
24707 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24708
24709         * check/gst/.cvsignore:
24710         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24711         * gst/gstregistryxml.c: (load_plugin),
24712         (gst_registry_xml_save_plugin):
24713           put back source in registry.  add checks for find_plugin.
24714         * testsuite/states/bin.c: (assert_state), (empty_bin),
24715         (test_adding_one_element), (main):
24716         * testsuite/states/locked.c: (main):
24717           some compile/run fixes
24718
24719 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24720
24721         * check/gst/gstvalue.c: (GST_START_TEST):
24722           fix leaks in the test itself
24723
24724 2005-09-22  Wim Taymans  <wim@fluendo.com>
24725
24726         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24727         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24728         (gst_base_sink_query):
24729         Prepare for more accurate position reporting and query
24730         handling.
24731
24732         * gst/gstelement.c: (gst_element_send_event),
24733         (gst_element_set_state):
24734         Add some comment.
24735
24736 2005-09-22  Wim Taymans  <wim@fluendo.com>
24737
24738         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24739         (gst_query_parse_segment):
24740         * gst/gstquery.h:
24741         More documentation.
24742         Add segment query for future use.
24743
24744 2005-09-22  Wim Taymans  <wim@fluendo.com>
24745
24746         * gst/gstbin.c: (gst_bin_add_func):
24747         Some more debug info.
24748
24749         * gst/gstelement.c: (gst_element_send_event):
24750         Simplify send_event
24751
24752         * gst/gstelement.h:
24753         Don't know how flags got broken.
24754
24755         * gst/gstquery.h:
24756         Added new query.
24757
24758 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24759
24760         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24761           Add simplistic test suite for GST_TYPE_DATE serialisation and
24762           deserialisation.
24763
24764 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24765
24766         * docs/gst/gstreamer-sections.txt:
24767         * gst/gststructure.c: (gst_structure_set_valist),
24768         (gst_structure_get_date):
24769         * gst/gststructure.h:
24770         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24771         (gst_date_copy), (gst_value_compare_date),
24772         (gst_value_serialize_date), (gst_value_deserialize_date),
24773         (gst_value_transform_date_string),
24774         (gst_value_transform_string_date), (_gst_value_initialize):
24775         * gst/gstvalue.h:
24776           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24777           bunch of utility functions along with a hack that checks that
24778           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24779           is required. Part of the grand scheme in #170777.
24780
24781 2005-09-22  Andy Wingo  <wingo@pobox.com>
24782
24783         * gst/gstconfig.h.in: Psych out gtk-doc.
24784
24785         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24786
24787         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24788
24789         * tools/gst-inspect.c (print_element_list): Plug some
24790         inconsequential leaks.
24791
24792         * gst/gstregistry.c (gst_registry_get_default): Doc.
24793
24794         * check/gst/gstplugin.c: 
24795         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24796         * gst/gstelementfactory.c (gst_element_factory_create): 
24797         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24798         refcount changes.
24799
24800         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24801         (gst_plugin_feature_load): Doc, don't eat refs.
24802
24803         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24804         (gst_plugin_list_free): Doc.
24805         (gst_plugin_load_file): Doc updates.
24806
24807         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24808         accessors returning refcounted objects, return a ref.
24809
24810         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24811         accessor for caps. IDEMPOTENCE. Oh yes.
24812
24813 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24814
24815         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24816
24817         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24818         (_gst_debug_register_funcptr):
24819           Add mutex to serialise access to the hash table with
24820           the function pointer => function name string mapping;
24821           make that hash table static scope (#316809).
24822
24823         * gst/registries/.cvsignore:
24824           Remove left-over file.
24825
24826 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24827
24828         * docs/pwg/appendix-porting.xml:
24829           And something about newsegment events and caps-on-buffers to
24830           the porting guide (feel free to improve).
24831
24832 2005-09-21  Andy Wingo  <wingo@pobox.com>
24833
24834         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24835         data and event probes on the same pad.
24836         (test_buffer_probe_once): Test that removing probes from within
24837         the probe functions works.
24838
24839 2005-09-21  Andy Wingo  <wingo@pobox.com>
24840
24841         * check/gst/gstutils.c: New file.
24842         (test_buffer_probe_n_times): A simple buffer probe test. More to
24843         come, foolios.
24844
24845         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24846         have-data::buffer, not have-data.
24847         (gst_pad_add_event_probe): Likewise for have-data::event.
24848         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24849         peer' isn't quite right yet though.
24850         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24851         (gst_pad_remove_data_probe): Change to take the guint handler_id
24852         as their arg, not the function+data, which is more glib-like.
24853
24854         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24855         the signal emission to indicate if the data is a buffer or an
24856         event.
24857         (gst_pad_get_type): Initialize buffer and event quarks.
24858         (gst_pad_class_init): have-data is now a detailed signal, yes it
24859         is.
24860
24861 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24862
24863         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24864         * gst/gstutils.c: (gst_util_set_value_from_string),
24865         (gst_util_set_object_arg):
24866           Don't put functional code in g_return_if_fail() or
24867           g_return_val_if_fail() statements, otherwise things will 
24868           break when G_DISABLE_CHECKS is defined during compilation.
24869
24870 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24871
24872         * docs/gst/tmpl/.cvsignore:
24873         * docs/gst/tmpl/gstvalue.sgml:
24874         * gst/gstvalue.c:
24875         * gst/gstvalue.h:
24876           inlied another one and added  some obvious docs
24877
24878 2005-09-21  Wim Taymans  <wim@fluendo.com>
24879
24880         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24881         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24882         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24883         (gst_fdsrc_get_property), (gst_fdsrc_create):
24884         * gst/elements/gstfdsrc.h:
24885         Properly implement fdsrc. Removed signal and timeout,
24886         better implemented somewhere else.
24887
24888 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24889
24890         * docs/gst/tmpl/.cvsignore:
24891         * docs/gst/tmpl/gstimplementsinterface.sgml:
24892         * gst/gstinterface.c:
24893           inlined more docs
24894
24895 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24896
24897         * docs/gst/gstreamer-sections.txt:
24898         * docs/gst/tmpl/.cvsignore:
24899         * docs/gst/tmpl/gstenumtypes.sgml:
24900           remove obsolete doc file
24901
24902 2005-09-21  David Schleef  <ds@schleef.org>
24903
24904         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24905         little beer, fix a little leak.
24906
24907 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24908
24909         * docs/gst/gstreamer-docs.sgml:
24910         * docs/gst/gstreamer-sections.txt:
24911         * docs/gst/tmpl/.cvsignore:
24912         * gst/Makefile.am:
24913         * gst/gst.h:
24914         * gst/gstbin.c:
24915         * gst/gstelement.h:
24916         * gst/gstindex.c: (gst_index_class_init):
24917         * gst/gstindex.h:
24918         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24919         (gst_index_factory_class_init), (gst_index_factory_init),
24920         (gst_index_factory_finalize), (gst_index_factory_new),
24921         (gst_index_factory_destroy), (gst_index_factory_find),
24922         (gst_index_factory_create), (gst_index_factory_make):
24923         * gst/gstindexfactory.h:
24924         * gst/gstpluginfeature.c:
24925         * gst/gstpluginfeature.h:
24926         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24927           more docs inlined, splitted gstindex.{c,h}
24928
24929 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24930
24931         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24932           fix a leak
24933
24934 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24935
24936         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24937           Set sync to FALSE by default.
24938
24939 2005-09-20  Wim Taymans  <wim@fluendo.com>
24940
24941         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24942         (gst_base_sink_init):
24943         Make sync property settable from subclass.
24944
24945         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24946         (gst_fake_sink_change_state):
24947         Set sync to FALSE by default.
24948
24949 2005-09-20  Wim Taymans  <wim@fluendo.com>
24950
24951         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24952         * tools/gst-launch.c: (main):
24953         The timeout handler should have lower priority than the source
24954         so we don't timeout before popping a message with 0 timeout.
24955         Dump error messages after failed state change.
24956
24957 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24958
24959         * tools/gst-inspect.c: (print_element_properties_info):
24960           Fix two typos.
24961
24962 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24963
24964         * check/gst/gstevent.c:
24965         * gst/elements/gstfakesink.c:
24966         * gst/elements/gstfakesink.h:
24967           remove the sync property from fakesink.
24968           has the side effect of setting sync TRUE
24969           for fakesink, which is a change.  Anyone who knows how
24970           to fix this nicely in a GObject-y way, feel free.
24971
24972 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24973
24974         * docs/gst/gstreamer-docs.sgml:
24975           remove probe refsection
24976
24977 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24978
24979         * check/Makefile.am:
24980           disable valgrinding the controller test again
24981         * docs/gst/gstreamer-sections.txt:
24982           update for api-changes
24983
24984 2005-09-20  Wim Taymans  <wim@fluendo.com>
24985
24986         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24987         (gst_base_sink_set_property), (gst_base_sink_get_property),
24988         (gst_base_sink_do_sync):
24989         * gst/base/gstbasesink.h:
24990         Added sync property to basesink to disable clock sync.
24991
24992 2005-09-20  Andy Wingo  <wingo@pobox.com>
24993
24994         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24995         eating the caller's refcount.
24996
24997         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24998         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24999         refcount.
25000
25001         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25002         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25003         of GLib 2.8 public, so we can know which refcount to check in
25004         tests.
25005
25006         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25007         (gst_object_init): Only set the gst refcount if we're going ahead
25008         with the refcount hack.
25009
25010 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25011
25012         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25013         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25014           more leaks plumbed, added more debug-logging
25015         * gst/gstmacros.h:
25016           whitespace fix
25017
25018 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25019
25020         * gst/gstmessage.c:
25021           remove include of gstmemchunk.h
25022
25023 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25024
25025         * gst/gstclock.c: (_gst_clock_id_free):
25026           Commit from the Political Party For More Atomic CVS Commits,
25027           so that people don't waste too much of their day fishing
25028           out obvious leaks out of massive commits.
25029           Oh, and fix a pretty damn obvious leak in the memchunk
25030           removal code.
25031
25032 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25033
25034         * check/Makefile.am:
25035         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25036           plug mem-leak, re-add to valgrindable tests
25037
25038 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25039
25040         * gst/gstplugin.h:
25041           unbreak the build for those who have chronic arthritis
25042           and typing "make check" is just too taxing on the hands
25043
25044 2005-09-20  Andy Wingo  <wingo@pobox.com>
25045
25046         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25047         really want it out, you should fix plugins at the same time.
25048
25049 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25050
25051         * configure.ac:
25052         * docs/gst/gstreamer-sections.txt:
25053         * gst/gstobject.c:
25054           added missing symbols to api docs
25055           disable ref-count hack if we have glib >= 2.8
25056
25057 2005-09-19  David Schleef  <ds@schleef.org>
25058
25059         * docs/gst/Makefile.am: Ignore a few more internal headers
25060         * docs/gst/gstreamer-docs.sgml: Remove old sections
25061         * docs/gst/gstreamer-sections.txt: Remove old sections
25062         * docs/gst/tmpl/gstobject.sgml: update
25063         * docs/gst/tmpl/gstplugin.sgml: update
25064         * docs/gst/tmpl/gstpluginfeature.sgml: update
25065         * docs/random/ds/0.9-suggested-changes: update.
25066         * gst/Makefile.am: remove memchunk and trashstack, since they're
25067           not used.
25068         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25069         * gst/gst.h: don't include some headers
25070         * gst/gstchildproxy.c: add gstmarshal.h
25071         * gst/gstclock.c: Don't use memchunks
25072         * gst/gstminiobject.c: Add some docs
25073         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25074         * gst/gstobject.h: same
25075         * gst/gstplugin.c: include gstmacros.h
25076         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25077         * gst/gstquery.c: don't use memchunks
25078         * gst/gstregistry.c: rename gst_registry_deinit()
25079         * gst/gstregistry.h: same
25080
25081 2005-09-19  David Schleef  <ds@schleef.org>
25082
25083         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25084         * docs/libs/gstreamer-libs-sections.txt:
25085         * docs/libs/tmpl/gstgetbits.sgml:
25086         * docs/libs/tmpl/gstputbits.sgml:
25087
25088 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25089
25090         * win32/gstenumtypes.c:
25091         * win32/gstenumtypes.h:
25092           Update.
25093
25094 2005-09-19  Wim Taymans  <wim@fluendo.com>
25095
25096         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25097         Automatically PAUSE and RESUME a pipeline when a flushing seek
25098         is performed.
25099
25100 2005-09-19  Andy Wingo  <wingo@pobox.com>
25101
25102         * gst/gstregistry.h: Spacing fixen.
25103
25104 2005-09-19  Wim Taymans  <wim@fluendo.com>
25105
25106         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25107         Handle state change failure more correctly.
25108
25109 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25110
25111         * check/Makefile.am:
25112         * check/pipelines/cleanup.c: (run_pipeline):
25113         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25114         (GST_START_TEST):
25115           enable cleanup again after fixing the leak
25116         * docs/README:
25117           some more info on docs
25118
25119 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25120
25121         * check/Makefile.am:
25122           re-enable tests now that leaks are plugged
25123         * check/gst/gst.c:
25124         * check/gst/gstbin.c:
25125         * check/gst/gstpipeline.c:
25126           add some more tests while fixing leaks
25127         * common/check.mak:
25128           make sure binaries are uptodate when valgrinding/gdbing
25129         * gst/gst.c:
25130         * gst/gstelementfactory.c:
25131           remove a ref too many, and add a FIXME for when we get
25132           round to disposing of classes
25133         * gst/gstplugin.c:
25134           fix the refcounting when loading a plugin from a file and
25135           the code pretends that the pointer is the same even though
25136           of course it can change
25137         * gst/gstpluginfeature.c:
25138           unref plugins marked cached (a bit confusing as a name)
25139           as the docs state should be done
25140           various doc additions to explain refcounting
25141         * gst/gstregistry.c:
25142         * gst/gstregistryxml.c:
25143           debugging
25144
25145 2005-09-19  Wim Taymans  <wim@fluendo.com>
25146
25147         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25148         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25149         (send_messages), (GST_START_TEST), (gstbus_suite):
25150         * check/gst/gstpipeline.c: (GST_START_TEST):
25151         * check/pipelines/cleanup.c: (run_pipeline):
25152         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25153         (GST_START_TEST):
25154         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25155         (gst_bus_source_check), (gst_bus_source_dispatch),
25156         (gst_bus_create_watch), (gst_bus_add_watch_full),
25157         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25158         * gst/gstbus.h:
25159         * tools/gst-launch.c: (event_loop):
25160         * tools/gst-md5sum.c: (event_loop):
25161         GstBusHandler -> GstBusFunc, return value has the same meaning as
25162         any other GSource (FALSE == remove source).
25163         _add_watch() and _add_watch_full() now take a MessageType mask to
25164         only handle specific types of messages.
25165         _poll() returns the GstMessage instead of the message type to avoid
25166         race conditions.
25167         _have_pending() takes a MessageType mask now too.
25168         Added testsuite for multiple bus watches.
25169         Fix testsuites and applications for new bus API.
25170
25171 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25172
25173         * check/Makefile.am:
25174           mark a bunch of the tests as to fix until we fix them
25175
25176 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25177
25178         * common/check.mak:
25179           use GST_PLUGIN settings for valgrind tests as well, so we're
25180           valgrinding the correct thing
25181         * gst/gst.c: (init_post):
25182           plug another leak
25183
25184 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25185
25186         * gst/gst.c: (init_post), (gst_deinit):
25187         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25188         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25189         * gst/gstindex.c: (gst_index_factory_class_init),
25190         (gst_index_factory_finalize):
25191         * gst/gstobject.c: (gst_object_dispose):
25192         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25193         (gst_plugin_load_file), (gst_plugin_desc_free):
25194         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25195         (gst_plugin_feature_finalize):
25196         * gst/gstregistry.c: (gst_registry_class_init),
25197         (gst_registry_init), (gst_registry_finalize),
25198         (gst_registry_get_default), (gst_registry_deinit):
25199         * gst/gstregistry.h:
25200         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25201           various cleanups and memleak plugging.  make valgrind is happy now.
25202
25203 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25204
25205         * common/check.mak:
25206           add a check-valgrind target
25207
25208 2005-09-18  David Schleef  <ds@schleef.org>
25209
25210         * tools/gst-inspect.c: Revert the GOption code.
25211
25212 2005-09-17  David Schleef  <ds@schleef.org>
25213
25214         * check/Makefile.am: Fix environment variables.
25215         * check/gst/gstplugin.c: Fix for API changes.
25216         * tools/gst-inspect.c: Fix for API changes.
25217         * tools/gst-xmlinspect.c: Fix for API changes.
25218         * gst/gstelementfactory.c:
25219         * gst/gstplugin.c:
25220         * gst/gstplugin.h:
25221         * gst/gstpluginfeature.c:
25222         * gst/gstpluginfeature.h:
25223         * gst/gstregistry.c:
25224         * gst/gstregistry.h:
25225         * gst/gstregistryxml.c:
25226         * gst/gsttypefind.c:
25227         * gst/gsttypefindfactory.c:
25228         * gst/indexers/gstfileindex.c:
25229         * gst/indexers/gstmemindex.c:
25230         * gst/schedulers/Makefile.am:
25231           Change registry to keep track of both plugins and features,
25232           removing the feature tracking from plugins themselves.
25233
25234 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25235
25236         * check/Makefile.am:
25237         * tools/gst-register.1.in:
25238           remove gst-register
25239
25240 2005-09-15  David Schleef  <ds@schleef.org>
25241
25242         * check/gst/gstplugin.c:
25243         * gst/gstelementfactory.c:
25244         * gst/gstplugin.c:
25245         * gst/gstpluginfeature.c:
25246         * gst/gstregistry.c:
25247           Getting tired of debugging.  Disabled all the unreffing of
25248           plugins and features, which fixes the segfaults, but of
25249           course leaks like crazy.  At least playbin works.
25250
25251 2005-09-15  David Schleef  <ds@schleef.org>
25252
25253         * check/gst/gstplugin.c: (register_check_elements),
25254         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25255         More testing
25256         * gst/elements/gsttypefindelement.c: Fix refcounting.
25257         * gst/gsttypefind.c:
25258         * gst/gsttypefindfactory.c:
25259         * gst/gsttypefindfactory.h:
25260
25261 2005-09-15  David Schleef  <ds@schleef.org>
25262
25263         * gst/gstindex.c: get refcounting correct.
25264         * gst/gstregistry.c: Handle the case where a feature/plugin is
25265           not found.
25266
25267 2005-09-15  David Schleef  <ds@schleef.org>
25268
25269         * check/Makefile.am:
25270         * check/gst/gstplugin.c: Add test
25271         * gst/gstplugin.c: Fix problems noticed by testsuite
25272         * gst/gstplugin.h:
25273         * gst/gstregistry.c: 
25274         * gst/gstregistry.h:
25275
25276 2005-09-15  David Schleef  <ds@schleef.org>
25277
25278         * gst/gstplugin.c: Implement semi-decent recounting and locking
25279           in plugins and plugin features.
25280         * gst/gstplugin.h:
25281         * gst/gstpluginfeature.c:
25282         * gst/gstpluginfeature.h:
25283         * gst/gstregistry.c:
25284
25285 2005-09-15  Michael Smith <msmith@fluendo.com>
25286
25287         * gst/gstregistry.c: (gst_registry_get_feature_list):
25288           Implement this. Makes oggdemux work; decodebin still broken.
25289
25290 2005-09-14  David Schleef  <ds@schleef.org>
25291
25292         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25293           #316076)
25294         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25295         * gst/check/Makefile.am:
25296         * libs/gst/controller/Makefile.am:
25297         * libs/gst/dataprotocol/Makefile.am:
25298
25299 2005-09-14  David Schleef  <ds@schleef.org>
25300
25301         * configure.ac: Remove getbits library.  Nothing uses it, and
25302           it should be in something like liboil if someone did want
25303           to use it.
25304         * libs/gst/Makefile.am:
25305         * libs/gst/getbits/Makefile.am:
25306         * libs/gst/getbits/gbtest.c:
25307         * libs/gst/getbits/getbits.c:
25308         * libs/gst/getbits/getbits.h:
25309         * libs/gst/getbits/gstgetbits_generic.c:
25310         * libs/gst/getbits/gstgetbits_i386.s:
25311         * libs/gst/getbits/gstgetbits_inl.h:
25312
25313 2005-09-14  David Schleef  <ds@schleef.org>
25314
25315         * gst/Makefile.am: Dist glib-compat.h
25316
25317 2005-09-14  David Schleef  <ds@schleef.org>
25318
25319         * configure.ac: Remove gst/registries, since it's no longer used.
25320         * gst/registries/Makefile.am:
25321         * gst/registries/gstlibxmlregistry.c:
25322         * gst/registries/gstlibxmlregistry.h:
25323         * gst/registries/gstxmlregistry.c:
25324         * gst/registries/gstxmlregistry.h:
25325         * gst/registries/registrytest.c:
25326
25327 2005-09-14  David Schleef  <ds@schleef.org>
25328
25329         * gst/glib-compat.h:
25330         * gst/gstregistryxml.c:
25331           Convergence is near.  Seriously.
25332
25333 2005-09-14  David Schleef  <ds@schleef.org>
25334
25335         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25336         * gst/glib-compat.h:
25337           Attempt #4 to appease the buildbots.
25338
25339 2005-09-14  David Schleef  <ds@schleef.org>
25340
25341         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25342           Attempt #3.
25343
25344 2005-09-14  David Schleef  <ds@schleef.org>
25345
25346         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25347         Attempt #2.
25348
25349 2005-09-14  David Schleef  <ds@schleef.org>
25350
25351         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25352           the new functions.
25353
25354 2005-09-14  David Schleef  <ds@schleef.org>
25355
25356         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25357         * gst/glib-compat.h: Add some functions that are in newer versions
25358           of glib than we care to require.
25359         * gst/gstregistryxml.c: Use them.
25360
25361 2005-09-14  David Schleef  <ds@schleef.org>
25362
25363         * po/POTFILES.in: remove gst-register.c
25364
25365 2005-09-14  David Schleef  <ds@schleef.org>
25366
25367         * docs/gst/gstreamer-docs.sgml:
25368         * docs/gst/gstreamer-sections.txt:
25369         * docs/gst/gstreamer.types:
25370         * docs/gst/tmpl/gstelement.sgml:
25371         * docs/gst/tmpl/gstplugin.sgml:
25372         * docs/gst/tmpl/gstpluginfeature.sgml:
25373           Documentation updates for registry changes.
25374
25375 2005-09-14  David Schleef  <ds@schleef.org>
25376
25377         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25378           because we don't require glib-2.8.
25379
25380 2005-09-14  David Schleef  <ds@schleef.org>
25381
25382         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25383           registries directory.
25384
25385 2005-09-14  David Schleef  <ds@schleef.org>
25386
25387         * check/Makefile.am:
25388         * check/generic/states.c:
25389         * gst/Makefile.am:
25390         * gst/gst.c:
25391         * gst/gst.h:
25392         * gst/gst_private.h:
25393         * gst/gstelementfactory.c:
25394         * gst/gstindex.c:
25395         * gst/gstinfo.c:
25396         * gst/gstplugin.c:
25397         * gst/gstplugin.h:
25398         * gst/gstpluginfeature.c:
25399         * gst/gstpluginfeature.h:
25400         * gst/gstregistry.c:
25401         * gst/gstregistry.h:
25402         * gst/gstregistrypool.c: remove
25403         * gst/gstregistrypool.h: remove
25404         * gst/gsttypefind.c:
25405         * gst/gsttypefindfactory.c:
25406         * gst/gsturi.c:
25407         * tools/Makefile.am:
25408         * tools/gst-compprep.c:
25409         * tools/gst-inspect.c:
25410         * tools/gst-register.c: remove
25411         * tools/gst-xmlinspect.c:
25412           Registry rewrite.  Changes registry from being a file created
25413           by a tool into a simple cache file created automatically by 
25414           libgstreamer.  Removed gst-register (because it's no longer
25415           needed).  Remove registry pools, because we only have one
25416           registry implementation (XML).  Fix up other subsystems as
25417           necessary.
25418
25419 2005-09-13  Michael Smith <msmith@fluendo.com>
25420
25421         * gst/gstconfig.h.in:
25422           Don't Use windows linking attributes for MinGW. Fixes #316157
25423
25424 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25425
25426         * gst/gstutils.c: (set_state_async_thread_func),
25427         (gst_element_set_state_async):
25428           Apparently people think it's better if this function doesn't
25429           try to set the state to whatever state was asked for on the first
25430           call to this function for any object.  Seriously.
25431
25432 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25433
25434         * check/gst/gstpipeline.c: (GST_START_TEST):
25435         * docs/gst/gstreamer-sections.txt:
25436         * gst/gstutils.c: (set_state_async_thread_func),
25437         (gst_element_set_state_async):
25438         * gst/gstutils.h:
25439           add a "gst_element_set_state_async" method that
25440           sets the state and starts a thread to make sure the state
25441           change completes as best as it can
25442
25443 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25444
25445         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25446           codify design+behaviour in testsuite after discussion
25447
25448 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25449
25450         * docs/gst/tmpl/gstelement.sgml:
25451         * docs/manual/appendix-quotes.xml:
25452           add a quote
25453         * gst/gstelement.c: (gst_element_set_state):
25454           add some debug
25455
25456 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25457
25458         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25459         (gst_base_transform_prepare_output_buf),
25460         (gst_base_transform_handle_buffer):
25461         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25462         (gst_capsfilter_prepare_buf):
25463           Remove the requirement for sub-classes to call the parent
25464           implementation of prepare_output_buffer with a wrapper function.
25465           
25466         * gst/gsttaglist.h:
25467         * gst/gsttagsetter.h:
25468           Fix #define wrapper
25469
25470 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25471
25472         * docs/gst/gstreamer-sections.txt:
25473           more doc cleanups
25474
25475 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25476
25477         * docs/gst/gstreamer-sections.txt:
25478         * docs/gst/tmpl/gstelement.sgml:
25479         * docs/gst/tmpl/gstplugin.sgml:
25480         * gst/gstminiobject.c:
25481         * gst/gstvalue.h:
25482           docs now stop throwing warnings
25483
25484 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25485
25486         * docs/gst/gstreamer-sections.txt:
25487         * docs/gst/gstreamer.types:
25488         * docs/gst/tmpl/gstpad.sgml:
25489         * docs/gst/tmpl/gsttypes.sgml:
25490         * gst/base/gstadapter.h:
25491         * gst/base/gstbasesink.h:
25492         * gst/base/gstbasesrc.h:
25493         * gst/gstbin.h:
25494         * gst/gstbuffer.h:
25495         * gst/gstbus.h:
25496         * gst/gstcaps.h:
25497         * gst/gstclock.h:
25498         * gst/gstelement.h:
25499         * gst/gstevent.h:
25500         * gst/gstmessage.h:
25501         * gst/gstpad.h:
25502         * gst/gststructure.c:
25503         * gst/registries/gstlibxmlregistry.h:
25504           various documentation fixes
25505
25506 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25507
25508         * docs/gst/gstreamer-sections.txt:
25509         * docs/gst/tmpl/gstvalue.sgml:
25510           rearrange gstvalue section
25511         * gst/gstutils.c: (gst_element_state_get_name):
25512           NONE -> VOID
25513         * gst/gstvalue.c: (_gst_value_initialize):
25514         * gst/gstvalue.h:
25515           doc updates
25516
25517 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25518
25519         * check/gst-libs/controller.c:
25520           Header include fix.
25521         * gst/base/gstbasetransform.c:
25522         (gst_base_transform_default_prepare_buf),
25523         (gst_base_transform_handle_buffer):
25524         * gst/base/gstbasetransform.h:
25525           Some more basetransform changes and fixes to enable sub-classes
25526           that modify buffer metadata only.
25527         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25528         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25529         (gst_capsfilter_prepare_buf):
25530           If the output pad has fixed allowed caps and input buffers 
25531           don't have any, set the fixed caps on outgoing buffers.
25532
25533 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25534         * check/elements/identity.c: (GST_START_TEST):
25535           Make the error a little clearer when the test fails because
25536           identity made a copy of the buffer.
25537         * docs/gst/gstreamer-sections.txt:
25538           New symbols in gstbasetransform.h
25539         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25540         (gst_base_transform_init), (gst_base_transform_transform_size),
25541         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25542         (gst_base_transform_default_prepare_buf),
25543         (gst_base_transform_get_unit_size),
25544         (gst_base_transform_buffer_alloc),
25545         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25546         (gst_base_transform_change_state),
25547         (gst_base_transform_set_passthrough),
25548         (gst_base_transform_set_in_place),
25549         (gst_base_transform_is_in_place):
25550         * gst/base/gstbasetransform.h:
25551           Change BaseTransform to separate in_place operate from same_caps
25552           output. in_place implies that the element can perform the transform
25553           on incoming buffers in-place, even if the caps on the output are
25554           different.
25555           Sub-class elements can now implement special buffer allocation
25556           methods for outgoing buffers if they wish to.
25557           Big documentation addition.
25558         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25559         * gst/elements/gstelements.c:
25560           Changes for basetransform modifications.
25561         * gst/elements/Makefile.am:
25562         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25563           Compile fix. Extra debug output.
25564
25565 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25566
25567         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25568         (gst_pad_suite):
25569           add tests for valid pad naming
25570         * gst/check/gstcheck.c: (gst_check_log_message_func),
25571         (gst_check_log_critical_func):
25572           add ASSERT_WARNING
25573           remove printing of code, it is fragile when the code contains
25574           % and the line number is enough info
25575         * gst/check/gstcheck.h:
25576         * gst/gstpad.c: (gst_pad_template_new):
25577           fix memleaks
25578
25579 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25580
25581         * configure.ac:
25582           say what CHECK flags we use
25583         * docs/libs/gstreamer-libs.types:
25584         * libs/gst/controller/Makefile.am:
25585         * libs/gst/controller/gst-controller.c:
25586         * libs/gst/controller/gst-controller.h:
25587         * libs/gst/controller/gst-helper.c:
25588         * libs/gst/controller/gst-interpolation.c:
25589         * libs/gst/controller/gstcontroller.c:
25590         * libs/gst/controller/gsthelper.c:
25591         * libs/gst/controller/gstinterpolation.c:
25592         * tools/gst-inspect.c: (print_plugin_info):
25593           we don't use dashes in header names
25594
25595 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25596
25597         * check/Makefile.am:
25598         * check/gst/.cvsignore:
25599         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25600         (gst_pipeline_suite), (main):
25601           adding a test for pipelines and state changes
25602         * gst/gstutils.c: (get_state_func):
25603           add some debugging
25604         * gstreamer.spec.in:
25605           fix up spec file
25606
25607 2005-09-08  Michael Smith <msmith@fluendo.com>
25608
25609         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25610         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25611         (gst_file_src_is_seekable), (gst_file_src_get_size),
25612         (gst_file_src_start):
25613         * gst/elements/gstfilesrc.h:
25614           Various fixes for unseekable, unmmapable, and non-normal files, so
25615           that fallback to read() rather than mmap() works.
25616         * gst/gstevent.c: (gst_event_new_newsegment):
25617           Allow newsegment events with segment_start == segment_end, as will
25618           correctly happen if you use filesrc on a zero-size file, for
25619           example.
25620
25621 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25622
25623         * gst/gstplugin.c: (gst_plugin_load_file):
25624           Call g_module_close when we don't load the module
25625
25626         * gst/registries/gstlibxmlregistry.c:
25627         (gst_xml_registry_get_property):
25628           Port leak fix from 0.8
25629
25630 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25631
25632         * docs/gst/gstreamer-docs.sgml:
25633         * docs/gst/tmpl/.cvsignore:
25634         * docs/gst/tmpl/gsttrace.sgml:
25635         * docs/gst/tmpl/gsttrashstack.sgml:
25636         * gst/Makefile.am:
25637         * gst/gst.h:
25638         * gst/gstelement.h:
25639         * gst/gstevent.h:
25640         * gst/gstmessage.c:
25641         * gst/gstmessage.h:
25642         * gst/gsttag.c:
25643         * gst/gsttag.h:
25644         * gst/gsttaginterface.c:
25645         * gst/gsttaginterface.h:
25646         * gst/gsttaglist.c:
25647         * gst/gsttaglist.h:
25648         * gst/gsttagsetter.c:
25649         * gst/gsttagsetter.h:
25650         * gst/gsttrace.c:
25651         * gst/gsttrace.h:
25652         * gst/gsttrashstack.c:
25653           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25654           inlined docs for gsttrace, gsttrashstack
25655
25656 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25657
25658         * gst/Makefile.am:
25659         * gst/elements/gstbufferstore.h:
25660         * gst/elements/gsttypefindelement.c:
25661         * gst/elements/gsttypefindelement.h:
25662         * gst/gst.h:
25663         * gst/gsttypefind.c:
25664         * gst/gsttypefind.h:
25665         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25666         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25667         (gst_type_find_factory_dispose),
25668         (gst_type_find_factory_unload_thyself),
25669         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25670         (gst_type_find_factory_get_caps),
25671         (gst_type_find_factory_get_extensions),
25672         (gst_type_find_factory_call_function):
25673         * gst/gsttypefindfactory.h:
25674         * gst/registries/gstlibxmlregistry.c:
25675         * gst/registries/gstxmlregistry.c:
25676           splitted gsttypefind into gsttypefind, gsttypefindfactory
25677
25678 2005-09-07  Andy Wingo  <wingo@pobox.com>
25679
25680         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25681         condition whereby the pad's task function is entered before the
25682         pad_mode variable was set.
25683
25684 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25685
25686         * gst/gstpad.c: (gst_pad_alloc_buffer):
25687           Catch misbehaving pad_alloc functions that don't
25688           set up caps and do it for them.
25689
25690 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25691
25692         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25693           test for pipe!=NULL
25694         * docs/gst/tmpl/.cvsignore:
25695         * docs/gst/tmpl/gstmemchunk.sgml:
25696         * docs/gst/tmpl/gstparse.sgml:
25697         * docs/gst/tmpl/gsttaglist.sgml:
25698         * docs/gst/tmpl/gsttagsetter.sgml:
25699         * docs/gst/tmpl/gsttypefind.sgml:
25700         * docs/gst/tmpl/gsttypefindfactory.sgml:
25701         * gst/gstmemchunk.c:
25702         * gst/gstparse.c:
25703         * gst/gsttag.c:
25704         * gst/gsttaginterface.c:
25705         * gst/gsttypefind.c:
25706         * gst/gsttypefind.h:
25707           inlined more docs
25708
25709 === release 0.9.2 ===
25710
25711 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25712
25713         * NEWS:
25714         * RELEASE:
25715         * configure.ac:
25716           releasing 0.9.2, "South"
25717
25718 2005-09-05  Andy Wingo  <wingo@pobox.com>
25719
25720         * gst/registries/gstxmlregistry.h:
25721         * gst/registries/gstxmlregistry.c: Um... resurrect...
25722         
25723         * gst/registries/gstxmlregistry.h:
25724         * gst/registries/gstxmlregistry.c: and update to newer API.
25725         Incidentally they should be a bit faster now that they don't have
25726         to parse the caps.
25727         
25728 2005-09-05  Andy Wingo  <wingo@pobox.com>
25729
25730         * gst/registries/gstxmlregistry.h:
25731         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25732         replaced by the libxml registry a while back
25733
25734 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25735
25736         * docs/gst/tmpl/gstplugin.sgml:
25737         * gst/elements/gstelements.c:
25738         * gst/gst.c:
25739         * gst/gstplugin.c: (gst_plugin_register_func),
25740         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25741         (gst_plugin_get_source):
25742         * gst/gstplugin.h:
25743         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25744         (gst_xml_registry_save_plugin):
25745         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25746         (gst_xml_registry_save_plugin):
25747         * tools/gst-inspect.c: (print_plugin_info):
25748           add a "source" plugin description field, to represent the source
25749           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25750           will set it to PACKAGE, which is automake's idea of the name of
25751           the source project.
25752
25753 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25754
25755         * Makefile.am:
25756         * autogen.sh:
25757         * configure.ac:
25758         * docs/Makefile.am:
25759         * docs/faq/Makefile.am:
25760         * docs/gst/tmpl/gstelement.sgml:
25761         * docs/gst/tmpl/gsttypes.sgml:
25762         * docs/htmlinstall.mak:
25763         * docs/manual/Makefile.am:
25764         * docs/pwg/Makefile.am:
25765           reorganize doc build a little
25766           split out docbook and gtk-doc stuff
25767           have two separate --enable's and enable them through autogen
25768           but disable by default in configure (to be similar to other
25769           projects)
25770         * gstreamer.spec.in:
25771           clean up docs install
25772         * po/af.po:
25773         * po/az.po:
25774         * po/ca.po:
25775         * po/cs.po:
25776         * po/de.po:
25777         * po/en_GB.po:
25778         * po/fr.po:
25779         * po/it.po:
25780         * po/nb.po:
25781         * po/nl.po:
25782         * po/ru.po:
25783         * po/sq.po:
25784         * po/sr.po:
25785         * po/sv.po:
25786         * po/tr.po:
25787         * po/uk.po:
25788         * po/vi.po:
25789           translation updates
25790
25791 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25792
25793         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25794           Add comment.
25795           
25796         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25797         (gst_fake_sink_change_state):
25798           Make state change function thread-safe.
25799           
25800         * gst/gstpad.c: (gst_pad_alloc_buffer):
25801           Set offset on generic buffer allocated by fallback.
25802
25803 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25804
25805         * docs/gst/gstreamer-sections.txt:
25806         * docs/gst/tmpl/gstelement.sgml:
25807         * gst/gstpad.c:
25808         * libs/gst/controller/gst-controller.c:
25809         (gst_controlled_property_set_interpolation_mode),
25810         (gst_controlled_property_new),
25811         (gst_controller_find_controlled_property):
25812          run the wingo-magic script against the docs
25813
25814 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25815
25816         * docs/gst/gstreamer-docs.sgml:
25817         * docs/gst/gstreamer-sections.txt:
25818         * docs/gst/tmpl/.cvsignore:
25819         * docs/gst/tmpl/gstelementdetails.sgml:
25820         * docs/gst/tmpl/gstelementfactory.sgml:
25821         * gst/gst.c:
25822         * gst/gstbus.c:
25823         * gst/gstelementfactory.c:
25824         * gst/gstelementfactory.h:
25825           merged elementdetails docs into elementfactory docs
25826           inlined both
25827
25828 2005-09-02  Andy Wingo  <wingo@pobox.com>
25829
25830         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25831         consider this enum an enum and not a flags.
25832
25833 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25834
25835         * docs/gst/gstreamer-docs.sgml:
25836         * docs/gst/tmpl/.cvsignore:
25837         * docs/gst/tmpl/gstghostpad.sgml:
25838         * docs/gst/tmpl/gstiterator.sgml:
25839         * docs/gst/tmpl/gstmacros.sgml:
25840         * docs/gst/tmpl/gstrealpad.sgml:
25841         * docs/gst/tmpl/gstregistry.sgml:
25842         * docs/gst/tmpl/gstregistrypool.sgml:
25843         * docs/gst/tmpl/gststructure.sgml:
25844         * docs/gst/tmpl/gstsystemclock.sgml:
25845         * docs/gst/tmpl/gsttrace.sgml:
25846         * gst/gstghostpad.c:
25847         * gst/gstmacros.h:
25848         * gst/gstmemchunk.c:
25849         * gst/gstmemchunk.h:
25850         * gst/gstqueue.c:
25851         * gst/gstregistry.c:
25852         * gst/gstregistrypool.c:
25853         * gst/gststructure.c:
25854         * gst/gstsystemclock.c:
25855           more docs inlined
25856
25857 2005-09-02  Andy Wingo  <wingo@pobox.com>
25858
25859         * gst/gstelement.h (GstState): Renamed from GstElementState,
25860         changed to be a normal enum instead of flags.
25861         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25862         munged to be GST_STATE_CHANGE_*.
25863         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25864         work with the new state representation.
25865         (GstStateChange): New enumeration of possible state transitions.
25866         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25867         (GstElementClass::change_state): Pass the GstStateChange along as
25868         an argument. Helps language bindings, so they don't have to use
25869         tricky lock-needing macros like GST_STATE_CHANGE ().
25870
25871         * scripts/update-states (file): New script. Run it on a file to
25872         update it for state naming and API changes. Updates files in
25873         place.
25874
25875         * All files updated for the new API.
25876
25877 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25878
25879         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25880         * gst/gstutils.c: (gst_util_set_value_from_string),
25881         (gst_util_set_object_arg):
25882           fix a bunch of unchecked return values
25883         * tools/gst-complete.c: (main):
25884         * gstreamer.spec.in:
25885           clean up a little
25886
25887 2005-09-01  Wim Taymans  <wim@fluendo.com>
25888
25889         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25890         (gst_base_sink_event), (gst_base_sink_do_sync),
25891         (gst_base_sink_handle_event):
25892         * gst/base/gstbasesink.h:
25893         Handle newsegments more correctly.
25894
25895         * gst/gstbus.c:
25896         Fix docs.
25897
25898         * gst/gstevent.c: (gst_event_new_newsegment):
25899         A newsegment cannot have a start_time of -1
25900
25901 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25902
25903         * win32/gstenumtypes.c:
25904         * win32/gstenumtypes.h:
25905           Update
25906
25907 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25908
25909         * libs/gst/controller/gst-controller.c:
25910         (gst_controlled_property_set_interpolation_mode),
25911         (gst_controlled_property_new):
25912          fixed boolean again
25913
25914 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25915
25916         * docs/faq/gst-uninstalled:
25917           add -good
25918         * gst/gstevent.c:
25919         * gst/gstevent.h:
25920           remove wrong docs
25921         * gst/gstutils.c: (gst_element_link_filtered):
25922         * gst/gstutils.h:
25923           add gst_element_link_filtered
25924
25925 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25926
25927         * docs/gst/gstreamer-docs.sgml:
25928         * docs/gst/gstreamer-sections.txt:
25929         * docs/gst/tmpl/.cvsignore:
25930         * docs/gst/tmpl/gsterror.sgml:
25931         * docs/gst/tmpl/gstfilter.sgml:
25932         * docs/gst/tmpl/gsturihandler.sgml:
25933         * docs/gst/tmpl/gsturitype.sgml:
25934         * docs/gst/tmpl/gstutils.sgml:
25935         * docs/gst/tmpl/gstxml.sgml:
25936         * gst/gsterror.c:
25937         * gst/gsterror.h:
25938         * gst/gstfilter.c:
25939         * gst/gsturi.c:
25940         * gst/gsturitype.c:
25941         * gst/gstutils.c:
25942         * gst/gstxml.c:
25943           inlined more docs, fixed double id-ref
25944
25945 2005-08-31  Wim Taymans  <wim@fluendo.com>
25946
25947         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25948         (gst_base_transform_handle_buffer):
25949         Passthrough elements don't need the caps as they don't care.
25950
25951 2005-08-31  Wim Taymans  <wim@fluendo.com>
25952
25953         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25954         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25955         Don't leak refcounts on buffers.
25956
25957 2005-08-31  Wim Taymans  <wim@fluendo.com>
25958
25959         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25960         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25961         (gst_base_transform_chain), (gst_base_transform_change_state):
25962         * gst/base/gstbasetransform.h:
25963         Handle the case where we are not negotiated more gracefully.
25964
25965 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25966
25967         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25968         (gst_file_src_map_region):
25969           Set READONLY flag on mmap'ed buffers, otherwise
25970           gst_buffer_make_writable() won't work properly (#314708).
25971
25972 2005-08-31  Wim Taymans  <wim@fluendo.com>
25973
25974         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25975         passthrough elements can even do inplace on non writable
25976         buffers (as they don't touch them).
25977
25978 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25979
25980         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25981         (gst_test_mono_source_set_property),
25982         (gst_test_mono_source_class_init), (GST_START_TEST),
25983         (gst_controller_suite):
25984           more tests (hehe I have the most)
25985         * gst/gstbus.c:
25986           describe popping messages whenusing mulltiple sources
25987         * libs/gst/controller/gst-controller.c:
25988         (gst_controlled_property_set_interpolation_mode),
25989         (gst_controlled_property_new):
25990         * libs/gst/controller/gst-controller.h:
25991         * libs/gst/controller/gst-interpolation.c:
25992           implement boolean properties
25993
25994 2005-08-31  Wim Taymans  <wim@fluendo.com>
25995
25996         * gst/gstminiobject.c: (gst_mini_object_ref):
25997         Cannot assert that the refcount has to be positive
25998         since a disposed object can be resurrected.
25999
26000 2005-08-31  Wim Taymans  <wim@fluendo.com>
26001
26002         * gst/gstpad.c: (gst_pad_init):
26003         Revert change, need to first fix badly behaving 
26004         apps.
26005
26006 2005-08-30  Wim Taymans  <wim@fluendo.com>
26007
26008         * check/elements/fakesrc.c: (setup_fakesrc):
26009         * check/elements/identity.c: (setup_identity):
26010         Activate pads before using them.
26011
26012 2005-08-30  Wim Taymans  <wim@fluendo.com>
26013
26014         * gst/base/gstadapter.c: (gst_adapter_flush):
26015         Flushing out 0 bytes is ok for this function.
26016
26017         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26018         no newsegment gives a warning and sets the start/stop to 
26019         invalid.
26020
26021         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26022         (gst_base_transform_set_passthrough):
26023         Some debug info.
26024
26025         * gst/gstminiobject.c: (gst_mini_object_ref):
26026         Check refcount here too.
26027
26028         * gst/gstpad.c: (gst_pad_init):
26029         Pads are initially flushing and refusing data.
26030
26031         * gst/gstutils.c: (gst_element_link_pads_filtered):
26032         When adding a capsfilter element make sure it has the
26033         same state as the parent bin.
26034
26035 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26036
26037         * docs/gst/tmpl/.cvsignore:
26038         * docs/gst/tmpl/gstformat.sgml:
26039         * docs/gst/tmpl/gstversion.sgml:
26040         * gst/gstbus.h:
26041         * gst/gstformat.c:
26042         * gst/gstformat.h:
26043         * gst/gstversion.h.in:
26044           more docs and two more inlined
26045
26046 2005-08-30  Wim Taymans  <wim@fluendo.com>
26047
26048         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26049         Don't sync to clock.
26050
26051 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26052
26053         * docs/gst/gstreamer-sections.txt:
26054           ultral33t func10ns deserve to appear in the docs actually
26055         * docs/gst/tmpl/.cvsignore:
26056         * docs/gst/tmpl/gstcompat.sgml:
26057         * docs/gst/tmpl/gstconfig.sgml:
26058         * gst/check/gstcheck.c:
26059         * gst/gstcompat.h:
26060         * gst/gstconfig.h.in:
26061           inlined more docs
26062
26063 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26064
26065         * docs/gst/tmpl/.cvsignore:
26066         * docs/gst/tmpl/gstquery.sgml:
26067         * docs/gst/tmpl/gstutils.sgml:
26068         * gst/gstquery.c:
26069         * gst/gstquery.h:
26070           inlined and extended docs
26071
26072 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26073
26074         * check/gst-libs/controller.c: (GST_START_TEST),
26075         (gst_controller_suite):
26076           more tests
26077         * docs/gst/tmpl/gstutils.sgml:
26078         * docs/libs/gstreamer-libs-sections.txt:
26079         * docs/libs/tmpl/gstdataprotocol.sgml:
26080           include path fixes
26081         * examples/controller/audio-example.c: (main):
26082           controller example works now
26083         * gst/gstclock.h:
26084           doc fixes
26085         * tools/gst-inspect.c: (print_element_properties_info):
26086           show param spec flags
26087
26088 2005-08-29  Andy Wingo  <wingo@pobox.com>
26089
26090         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26091
26092 2005-08-28  Andy Wingo  <wingo@pobox.com>
26093
26094         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26095         as having two arguments instead of just one. Allows superclasses
26096         to access information on subclasses -- see the terrible for() loop
26097         in gtype.c:g_type_create_instance for the reason why. All callers
26098         changed.
26099
26100 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26101
26102         * docs/design/part-messages.txt:
26103           update info
26104         * docs/gst/tmpl/.cvsignore:
26105         * docs/gst/tmpl/gstcaps.sgml:
26106         * docs/gst/tmpl/gstclock.sgml:
26107         * gst/gstbus.c:
26108         * gst/gstcaps.c:
26109         * gst/gstcaps.h:
26110         * gst/gstclock.c:
26111         * gst/gstclock.h:
26112         * gst/gstmessage.c:
26113           added descriptions for bus and message
26114           inline caps and clock docs
26115
26116 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26117
26118         * gst/gstmessage.c:
26119         * gst/gstmessage.h:
26120           doc fixes
26121
26122 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26123
26124         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26125           fix div-by-zero
26126
26127 2005-08-26  Andy Wingo  <wingo@pobox.com>
26128
26129         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26130         element_set_state's return val.
26131         (test_2_elements): Add test that's been disabled for months.
26132
26133         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26134         can-activate-pull properties.
26135
26136         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26137         can-activate-pull properties. Implement is_seekable so fakesrc can
26138         operate in pull mode.
26139
26140         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26141         properties.
26142         (gst_base_sink_activate, gst_base_sink_activate_pull)
26143         (gst_base_sink_activate_push): Make activation mode choosing work.
26144         Cleanups.
26145         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26146         is right. Make pull mode work. Post an eos before pausing in pull
26147         mode.
26148         (gst_base_sink_change_state): Pay attention to the core's
26149         change_state() return val.
26150         
26151         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26152         has-getrange properties. Cleanups.
26153         
26154         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26155         has_getrange and replace with can_activate_pull and
26156         can_activate_push.
26157
26158         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26159         locking comments. Remove has_loop, has_chain and replace with
26160         can_activate_pull and can_activate_push.
26161
26162 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26163
26164         * configure.ac:
26165         * examples/Makefile.am:
26166         * examples/metadata/Makefile.am:
26167         * examples/metadata/read-metadata.c: (message_loop),
26168         (have_pad_handler), (make_pipeline), (print_tag), (main):
26169           Add metadata reading example that loops over a list of filenames,
26170           dumping any tags found.
26171
26172         * gst/gstbus.c: (gst_bus_dispose):
26173         * gst/gstelement.c: (gst_element_dispose):
26174           Release a few potentially-held references in dispose.
26175
26176 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26177
26178         * docs/gst/tmpl/gstminiobject.sgml:
26179           do *not* add tmpl/*.sgml files to CVS!
26180
26181 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26182
26183         * libs/gst/bytestream/.cvsignore:
26184         * libs/gst/bytestream/Makefile.am:
26185         * libs/gst/bytestream/adapter.c:
26186         * libs/gst/bytestream/adapter.h:
26187         * libs/gst/bytestream/bytestream.c:
26188         * libs/gst/bytestream/bytestream.h:
26189         * libs/gst/bytestream/filepad.c:
26190         * libs/gst/bytestream/filepad.h:
26191           removing obsolete files
26192
26193 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26194
26195         * docs/gst/gstreamer-docs.sgml:
26196         * docs/libs/gstreamer-libs-docs.sgml:
26197           disabed additional index entries again, as this makes docs-gen just
26198           slow and they aren't useful yet
26199         * docs/libs/gstreamer-libs-sections.txt:
26200           little -section.txt cleanup for libs
26201
26202 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26203
26204         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26205         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26206           fix up some debugging
26207         (gst_base_transform_get_unit_size),
26208         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26209         (gst_base_transform_handle_buffer):
26210         * gst/base/gstbasetransform.h:
26211           handle and store timed NEWSEGMENT events so that subclasses that
26212           calculate time by counting samples have a segment_start time they
26213           need to add to their timestamps - see audioresample
26214
26215 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26216
26217         * gst/gstbin.h:
26218           removed ';' from the end of macro defs
26219         * docs/gst/gstreamer-docs.sgml:
26220         * docs/gst/gstreamer-sections.txt:
26221         * docs/gst/tmpl/.cvsignore:
26222         * gst/gstbus.h:
26223         * gst/gstelement.c: (gst_element_class_init),
26224         (gst_element_set_state), (activate_pads),
26225         (gst_element_save_thyself):
26226         * gst/gstevent.c: (gst_event_new_newsegment):
26227         * gst/gstevent.h:
26228         * gst/gstiterator.c:
26229         * gst/gstiterator.h:
26230         * gst/gstpad.c:
26231         * gst/gstprobe.h:
26232         * gst/gstutils.c: (gst_pad_query_convert):
26233         * gst/gstutils.h:
26234           fixed parameter name mismatches between source, header and docs
26235           added some more docs, resolved the last batch of unused elements in
26236           docs (now someone needs to doc them)
26237
26238 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26239
26240         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26241         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26242           don't walk through the plugins backwards.  Where is all this
26243           reversed logic coming from ?
26244
26245 2005-08-25  Wim Taymans  <wim@fluendo.com>
26246
26247         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26248         (gst_base_transform_transform_size),
26249         (gst_base_transform_configure_caps),
26250         (gst_base_transform_get_unit_size),
26251         (gst_base_transform_buffer_alloc),
26252         (gst_base_transform_change_state):
26253         * gst/base/gstbasetransform.h:
26254         Cache caps unit_size.
26255         Make sure we cannot negotiate up and downstream at the
26256         same time.
26257
26258 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26259
26260         * gst/gst.c: (init_pre), (init_post):
26261           register the installed plugin path after the env var
26262         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26263         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26264           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26265           directories, so the tests can prefer uninstalled over installed
26266
26267 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26268
26269         * gst/base/gstbasetransform.h:
26270           comment
26271         * gst/gstpad.c:
26272           add to docs
26273
26274 2005-08-25  Wim Taymans  <wim@fluendo.com>
26275
26276         * gst/gstbin.c: (bin_bus_handler):
26277         Be a bit more conservative about the posted message.
26278         
26279         * gst/gstbus.c: (gst_bus_post):
26280         Some cleanups, warn wrong return values.
26281
26282 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26283
26284         * check/gst/gstbin.c: (GST_START_TEST):
26285         * gst/gstbin.c: (bin_bus_handler):
26286         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26287         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26288         (gst_message_new_warning), (gst_message_new_tag),
26289         (gst_message_new_state_changed), (gst_message_new_segment_start),
26290         (gst_message_new_segment_done), (gst_message_new_custom):
26291         * gst/gstmessage.h:
26292         * tools/gst-launch.c: (event_loop):
26293         * tools/gst-md5sum.c: (event_loop):
26294           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26295
26296 2005-08-25  Wim Taymans  <wim@fluendo.com>
26297
26298         * check/generic/states.c: (GST_START_TEST):
26299         Cleanup can be done at the end.
26300
26301         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26302         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26303         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26304         Oh boy.. Thanks for finding this, Thomas. 
26305
26306 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26307
26308         * docs/gst/gstreamer.types:
26309           added missing types
26310
26311 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26312
26313         * docs/gst/gstreamer-docs.sgml:
26314         * docs/gst/gstreamer-sections.txt:
26315         * docs/gst/tmpl/.cvsignore:
26316         * gst/gstbin.c:
26317         * gst/gstiterator.c:
26318         * gst/gstutils.c:
26319         * gst/registries/gstxmlregistry.h:
26320           added missing classes and symbols (123 more to go)
26321           removed removed symbols from section file
26322           fixed many doc-comments
26323
26324 2005-08-24  Wim Taymans  <wim@fluendo.com>
26325
26326         * check/generic/states.c: (GST_START_TEST):
26327         Make sure all tasks are stopped.
26328
26329         * check/gst/gstbin.c: (GST_START_TEST):
26330         Unref after usage for proper valgrinding.
26331
26332         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26333         Really wait for the task to stop before destroying the
26334         mutex.
26335
26336         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26337         (gst_queue_src_activate_push):
26338         Small cleanups. Don't stop the task when we did not start
26339         it.
26340
26341         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26342         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26343         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26344         (gst_task_join):
26345         * gst/gsttask.h:
26346         Protect the stream lock with the object lock.
26347         Disallow setting the stream lock when running.
26348         Add cleanup_all to wait for the threadpool to finish.
26349         Remove code to autoallocate a mutex if none was provided.
26350         Add _join() to wait for a task to stop.
26351         Protect the thread pool with a global lock.
26352
26353 2005-08-24  Wim Taymans  <wim@fluendo.com>
26354
26355         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26356         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26357         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26358         * gst/base/gstbasesink.h:
26359         Handle newsegment events correctly.
26360         Drop buffers out of the segment range.
26361
26362 2005-08-22  Andy Wingo  <wingo@pobox.com>
26363
26364         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26365         macro, implements an interface and gstimplementsinterface for a
26366         new type.
26367
26368 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26369
26370         * check/Makefile.am:
26371         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26372           add a test that does a bunch of state changes on elements
26373           needs some fixing for valgrind
26374         * check/states/sinks.c: (gst_object_suite):
26375           whitespace
26376         * gst/gstcaps.h:
26377           add prototype for gst_caps_is_equal_fixed
26378         * gst/gstplugin.c:
26379         * gst/gstregistrypool.c:
26380           doc fixes
26381
26382 2005-08-24  Andy Wingo  <wingo@pobox.com>
26383
26384         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26385         convert a negative value. Doesn't make much sense. Mostly this is
26386         here to force callers to ensure -1 maps to -1.
26387
26388 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26389
26390         * docs/pwg/advanced-types.xml:
26391           Well done to Michael for catching my deliberate introduction
26392           of this spelling mistake. 
26393         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26394         * gst/gstelement.h:
26395           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26396           unlink pads before removing the element from the bin.
26397
26398 2005-08-24  Andy Wingo  <wingo@pobox.com>
26399
26400         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26401         the same thing as GST_DEBUG=*:4.
26402         (parse_debug_level, parse_debug_category): New helper parsers.
26403
26404 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26405
26406         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26407         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26408         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26409         (gst_base_transform_buffer_alloc),
26410         (gst_base_transform_handle_buffer):
26411           use gboolean return values and pointers to size so we can use the
26412           full GST_BUFFER_SIZE range (guint) for buffer sizes
26413           use GstPadDirection for transform_caps
26414         * gst/base/gstbasetransform.h:
26415           rename get_size to get_unit_size since that's what it is
26416         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26417           use GstPadDirection for transform_caps
26418         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26419         * gst/gstutils.h:
26420           cleanup and debugging
26421
26422 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26423
26424         * gst/gstelement.c: (gst_element_class_init),
26425         (gst_element_set_state), (activate_pads),
26426         (gst_element_save_thyself):
26427         * tools/gst-compprep.c: (main):
26428         * tools/gst-inspect.c: (print_element_properties_info):
26429         * tools/gst-xmlinspect.c: (print_element_properties):
26430           Fixed long standing mem-leak
26431
26432 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26433
26434         * check/gst/gstbin.c: (GST_START_TEST):
26435         * gst/gstbin.c: (bin_bus_handler):
26436         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26437         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26438         (gst_message_new_warning), (gst_message_new_tag),
26439         (gst_message_new_state_changed), (gst_message_new_segment_start),
26440         (gst_message_new_segment_done), (gst_message_new_custom):
26441         * gst/gstmessage.h:
26442         * tools/gst-launch.c: (event_loop):
26443         * tools/gst-md5sum.c: (event_loop):
26444           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26445           that applications can sensibly post custom messages with references
26446           to their own objects.
26447
26448 2005-08-24  Andy Wingo  <wingo@pobox.com>
26449
26450         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26451         already.
26452
26453 2005-08-24  Wim Taymans  <wim@fluendo.com>
26454
26455         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26456         (gst_base_transform_transform_caps),
26457         (gst_base_transform_transform_size),
26458         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26459         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26460         (gst_base_transform_handle_buffer):
26461         * gst/base/gstbasetransform.h:
26462         Many fixes and new features added by Thomas. Can now also do
26463         transforms with variable sizes and a custom fixate_caps function.
26464
26465 2005-08-24  Wim Taymans  <wim@fluendo.com>
26466
26467         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26468         Some debugging.
26469
26470         * gst/gstclock.h:
26471         Cast to ClockTime before formatting to time.
26472
26473         * gst/gstutils.h:
26474         Cleanups.
26475
26476 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26477
26478         * check/gst-libs/controller.c: (GST_START_TEST),
26479         (gst_controller_suite):
26480         * docs/gst/tmpl/gstcaps.sgml:
26481         * docs/gst/tmpl/gstghostpad.sgml:
26482         * docs/gst/tmpl/gstquery.sgml:
26483         * docs/gst/tmpl/gstutils.sgml:
26484         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26485         (gst_object_sink_values), (gst_object_get_value_arrays),
26486         (gst_object_get_value_array):
26487           gracefully handle helper method calls to objects that are not beeing
26488           controlled, added test case for that          
26489
26490 2005-08-23  Wim Taymans  <wim@fluendo.com>
26491
26492         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26493         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26494         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26495         (gst_event_parse_qos), (gst_event_new_seek),
26496         (gst_event_parse_seek):
26497         * gst/gstevent.h:
26498         Some more debugging output and doc cleanups.
26499
26500         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26501         Fix possible deadlock.
26502
26503 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26504
26505         * docs/gst/gstreamer-docs.sgml:
26506         * docs/gst/gstreamer-sections.txt:
26507         * docs/gst/gstreamer.types:
26508         * docs/gst/tmpl/.cvsignore:
26509         * gst/gstbin.h:
26510         * gst/gstbus.c:
26511         * gst/gstelement.c:
26512         * gst/gstevent.h:
26513           added 100 symbols from gstreamer-unused.txt to the right sections
26514           fixed more broken comments
26515           added GstBus to docs
26516
26517 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26518
26519         * docs/gst/gstreamer-sections.txt:
26520         * docs/gst/tmpl/.cvsignore:
26521         * docs/gst/tmpl/gstbin.sgml:
26522         * docs/gst/tmpl/gstbuffer.sgml:
26523         * gst/base/gstbasesrc.c:
26524         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26525         * gst/gstbuffer.c:
26526         * gst/gstbuffer.h:
26527         * tools/gst-launch.1.in:
26528           inlined more doc comments, added missing comments and fixed comments
26529           fixed typos
26530
26531 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26532
26533         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26534           some debugging
26535         * gst/gstcaps.h:
26536           whitespace fixes
26537         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26538           more debugging
26539         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26540         * gst/gststructure.h:
26541           add a fixate function for booleans; add a FIXME that these func
26542           names should probably be gst_structure_fixate_*
26543
26544 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26545
26546         * docs/gst/gstreamer-docs.sgml:
26547         * docs/gst/gstreamer-sections.txt:
26548         * gst/Makefile.am:
26549         * gst/gstbin.c: (gst_bin_get_type),
26550         (gst_bin_child_proxy_get_child_by_index),
26551         (gst_bin_child_proxy_get_children_count),
26552         (gst_bin_child_proxy_init):
26553         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26554         (gst_child_proxy_get_child_by_index),
26555         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26556         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26557         (gst_child_proxy_get), (gst_child_proxy_set_property),
26558         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26559         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26560         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26561         * gst/gstchildproxy.h:
26562         * gst/parse/grammar.y:
26563         * tools/gst-inspect.c: (print_interfaces),
26564         (print_element_properties_info), (print_element_info):
26565           ported gstchildproxy over from 0.8
26566           ported gst-inspect fixes and enhancements over from 0.8
26567
26568 2005-08-22  Wim Taymans  <wim@fluendo.com>
26569
26570         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26571         (gst_base_transform_handle_buffer):
26572         Also call the transform function if we have ANY caps.
26573
26574         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26575         Fix debug info.
26576
26577 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26578
26579         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26580           Don't pretend to handle seek events if the source is not seekable
26581
26582 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26583
26584         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26585           Remove extra parameter to debug output
26586
26587         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26588         (gst_base_src_do_seek), (gst_base_src_activate_push):
26589           Fix seek event handling.
26590
26591         * gst/gstpipeline.c: (gst_pipeline_change_state):
26592         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26593         (gst_queue_src_activate_push):
26594           Don't start the src pad task on FLUSH_STOP if the pad
26595           isn't linked.
26596           Debug changes.
26597
26598 2005-08-22  Wim Taymans  <wim@fluendo.com>
26599
26600         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26601         Added check for gst_static_caps_get() refcounting.
26602
26603 2005-08-22  Wim Taymans  <wim@fluendo.com>
26604
26605         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26606         Make _static_caps_get() refcounting sane.
26607         
26608         * gst/gstelement.c: (gst_element_set_state):
26609         Add g_return_val_if_fail() to protect against segfaults.
26610
26611 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26612
26613         * docs/gst/tmpl/gstevent.sgml:
26614         * gst/gstevent.c:
26615         * gst/gstevent.h:
26616           inlined remaining docs, added missing doc comments
26617
26618 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26619
26620         * check/gst/gstbin.c: (GST_START_TEST):
26621           since we don't know when preroll is done, use refcount range
26622           check for the sink
26623         * gst/check/gstcheck.h:
26624           add macro for checking refcount range
26625
26626 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26627
26628         * check/Makefile.am:
26629           clean up environment for when registry gets built versus
26630           when actual tests are run; valgrind seems to not report
26631           leaks if GST_PLUGIN_PATH is set to some specific values
26632         * check/gst/gstbin.c: (GST_START_TEST):
26633           add more refcounting checks; maybe this exposes a
26634           preroll lock bug ?
26635         * common/check.mak:
26636         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26637         * gst/check/gstcheck.h:
26638         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26639         (gst_bin_change_state):
26640         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26641           add/fix debugging/whitespace
26642
26643 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26644
26645         * check/gst/gstevent.c: (event_probe), (test_event),
26646         (GST_START_TEST):
26647          Er, don't call gst_bin_watch_for_state_change you idiot.
26648
26649 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26650
26651         * check/Makefile.am:
26652           Use CHECK_CFLAGS and CHECK_LIBS
26653         * check/gst/gstevent.c: (event_probe), (test_event),
26654         (GST_START_TEST):
26655           Don't leak events.
26656         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26657         (gst_base_src_start), (gst_base_src_stop),
26658         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26659         (gst_base_src_change_state):
26660           Sprinkle gst_base_src_stop liberally around error paths to fix
26661           problems reusing a source after failed state changes.
26662         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26663         (helper_find_suggest), (gst_type_find_helper):
26664           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26665         * gst/gstevent.h:
26666         * docs/gst/tmpl/gstevent.sgml:
26667           Migrate part of the docs from the SGML file. Wait for ensonic to
26668           tell me how I did it wrong ;)
26669         * tools/gst-typefind.c: (main):
26670           Extra robustness to state changes between files.
26671
26672 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26673
26674         * check/Makefile.am:
26675           don't valgrind the controller test - it's leaking - Stefan, HELP
26676         * gst/check/gstcheck.c: (gst_check_message_error),
26677         (gst_check_chain_func), (gst_check_setup_element),
26678         (gst_check_teardown_element), (gst_check_setup_src_pad),
26679         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26680         (gst_check_teardown_sink_pad):
26681         * gst/check/gstcheck.h:
26682           add a bunch of methods to set up elements, and src and sink pads
26683         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26684         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26685         (GST_START_TEST):
26686           use them
26687         * gst/gstmessage.c:
26688         * gst/gsttag.h:
26689           whitespace/doc fixes
26690
26691 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26692
26693         * gst/gstelement.h:
26694           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26695           be handled by the application and not always printed as well
26696
26697 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26698
26699         * check/Makefile.am:
26700           set GST_TOOLS_DIR
26701         * gst/check/gstcheck.c: (gst_check_message_error):
26702         * gst/check/gstcheck.h:
26703           add a fail_unless_equals_int
26704           add fail_unless for error messages
26705
26706 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26707
26708         * check/Makefile.am:
26709         * check/gst.supp:
26710         * common/Makefile.am:
26711         * common/check.mak:
26712         * common/gst.supp:
26713           factor out some of the common stuff so we can use it
26714
26715 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26716
26717         * check/Makefile.am:
26718         * check/gst/gstiterator.c: (GST_START_TEST):
26719         * check/gst/gstsystemclock.c: (GST_START_TEST),
26720         (gst_systemclock_suite):
26721         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26722         * gst/gstclock.c:
26723           valgrind more tests
26724
26725 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26726
26727         * check/elements/.cvsignore:
26728         * check/elements/gstfakesrc.c:
26729           rename to name of element
26730         * check/elements/identity.c: (chain_func), (event_func),
26731         (setup_identity), (cleanup_identity), (GST_START_TEST),
26732         (identity_suite), (main):
26733           add a test for identity
26734         * check/Makefile.am:
26735         * pkgconfig/Makefile.am:
26736         * pkgconfig/gstreamer-check.pc.in:
26737         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26738         * gst/check:
26739         * gst/Makefile.am:
26740         * configure.ac:
26741           move the check stuff to a library that gets installed
26742         * check/gst-libs/controller.c: (GST_START_TEST):
26743         * check/gst-libs/gdp.c:
26744         * check/gst/gst.c: (GST_START_TEST):
26745         * check/gst/gstbin.c:
26746         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26747         * check/gst/gstbus.c:
26748         * check/gst/gstcaps.c: (GST_START_TEST):
26749         * check/gst/gstelement.c:
26750         * check/gst/gstghostpad.c:
26751         * check/gst/gstiterator.c:
26752         * check/gst/gstmessage.c:
26753         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26754         * check/gst/gstobject.c:
26755         * check/gst/gstpad.c: (GST_START_TEST):
26756         * check/gst/gststructure.c: (GST_START_TEST):
26757         * check/gst/gstsystemclock.c: (GST_START_TEST),
26758         (gst_systemclock_suite):
26759         * check/gst/gsttag.c: (gst_tag_suite):
26760         * check/gst/gstvalue.c:
26761         * check/pipelines/cleanup.c:
26762         * check/pipelines/simple_launch_lines.c:
26763         * check/states/sinks.c:
26764           change include statement
26765
26766         * docs/gst/gstreamer-sections.txt:
26767         * docs/gst/tmpl/gstpad.sgml:
26768           document more pad stuff
26769         * gst/gstminiobject.c: (gst_mini_object_ref),
26770         (gst_mini_object_unref):
26771           debug refcounting
26772
26773 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26774
26775         * docs/gst/tmpl/gst.sgml:
26776         * gst/gst.c:
26777           eliminate another tmpl file, fix spelling in the long-description
26778
26779 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26780
26781         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26782         (test_event), (timediff), (gstevents_suite):
26783           Should fix build on 64-bit arch's
26784
26785 2005-08-18  Andy Wingo  <wingo@pobox.com>
26786
26787         Make sure that when a pipeline goes to PLAYING, that data has
26788         actually hit the sink.
26789
26790         * check/states/sinks.c (test_sink): A sink that doesn't get any
26791         data shouldn't return SUCCESS for going to either PLAYING or
26792         PAUSED. Test also the return values on the way back down.
26793
26794         * gst/gstelement.c (gst_element_set_state): When changing the
26795         state of an element currently changing state asynchronously, go to
26796         lost-state after commiting the pending state. Makes future calls
26797         to get_state continue to return ASYNC.
26798
26799         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26800         ASYNC when going to PLAYING if we still don't have preroll, as can
26801         happen with live sources.
26802
26803 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26804
26805         * docs/pwg/advanced-types.xml:
26806           Hack long paragraph into 2 chunks as a workaround for buggy
26807           jadetex version in sid and breezy that loops infinitely and
26808           eats all RAM.
26809
26810 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26811
26812         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26813         (test_event), (timediff), (gstevents_suite):
26814           Provide more error margin in clock measurements to allow for 
26815           g_get_current_time inaccuracies.
26816
26817 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26818
26819         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26820         (test_event), (timediff), (gstevents_suite):
26821            Fix error message output so I might be able to tell why the
26822            test works here but fails on the build farm.
26823
26824 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26825
26826         * check/Makefile.am:
26827         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26828         (test_event), (timediff), (gstevents_suite), (main):
26829           I wrote a test!
26830
26831         * docs/design/part-seeking.txt:
26832           Spelling correction
26833
26834         * docs/gst/tmpl/gstevent.sgml:
26835         * docs/gst/tmpl/gstfakesrc.sgml:
26836           Docs updates.
26837
26838         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26839           Treat a buffer-without-newsegment the same as a receiving 
26840           a newsegment not in time format, and disable syncing to the clock
26841           with a warning.
26842
26843         * gst/gstbus.c: (gst_bus_set_sync_handler):
26844           Assert if anyone tries to replace the existing sync_handler for bus, 
26845           as only the owner should be setting it.
26846
26847         * gst/gstevent.h:
26848           Have a fixed set of custom event enums with events identified by
26849           their structure name (as in 0.8), rather than a free-for-all
26850           allowing collisions between enum values from different plugins.
26851
26852         * gst/gstpad.c: (gst_pad_class_init):
26853           Docs change.
26854           
26855         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26856           Handle out-of-band downstream events from the sending thread.
26857
26858 2005-08-17  Andy Wingo  <wingo@pobox.com>
26859
26860         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26861         play-timeout==0 to mean no timeout at all. In that case, don't
26862         bother with a get_state or a warning, just return directly, even
26863         if it's ASYNC.
26864
26865         * gst/base/gstbasetransform.c: Debug changes.
26866
26867         * gst/gstutils.h:
26868         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26869         ensure bins post state change messages. A bit of a hack but I can't
26870         think of a way to avoid it.
26871
26872         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26873
26874 2005-08-16  Andy Wingo  <wingo@pobox.com>
26875
26876         * gst/base/gstadapter.h:
26877         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26878         peek() but you own the data. Not terribly efficient atm.
26879
26880 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26881
26882         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26883         (gst_element_found_tags):
26884         * gst/gstutils.h:
26885           Add two utility functions for tag handling.
26886
26887 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26888
26889         * docs/manual/advanced-dataaccess.xml:
26890         * docs/manual/basics-helloworld.xml:
26891           Fix docs to use _bin_add() before _link(), which fixes the examples
26892           with recent core versions (reported by Madhan Raj M
26893           <raj_madan@rediffmail.com>, #313199).
26894
26895 2005-08-16  Wim Taymans  <wim@fluendo.com>
26896
26897         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26898         Added subtract checks.
26899
26900         * docs/design/part-events.txt:
26901         Some more docs about newsegment
26902
26903         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26904         Fix FIXME
26905
26906         * gst/gstcaps.c: (gst_caps_to_string):
26907         Add comments, cleanups.
26908         
26909         * gst/gstelement.c: (gst_element_save_thyself):
26910         cleanups
26911         
26912         * gst/gstvalue.c: (gst_value_collect_int_range),
26913         (gst_string_unwrap), (gst_value_union_int_int_range),
26914         (gst_value_union_int_range_int_range),
26915         (gst_value_intersect_int_int_range),
26916         (gst_value_intersect_int_range_int_range),
26917         (gst_value_intersect_double_double_range),
26918         (gst_value_intersect_double_range_double_range),
26919         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26920         (gst_value_subtract_int_range_int),
26921         (gst_value_subtract_double_range_double),
26922         (gst_value_subtract_double_range_double_range),
26923         (gst_value_subtract_from_list), (gst_value_subtract_list),
26924         (gst_value_can_compare), (gst_value_compare_fraction):
26925         Cleanups, add comments, remove unneeded asserts.
26926
26927 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26928
26929         * tools/gst-launch.c: (event_loop):
26930           don't convert NULL structures to strings
26931
26932 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26933
26934         * docs/gst/gstreamer-sections.txt:
26935           made some defines private
26936         * docs/gst/tmpl/gstconfig.sgml:
26937         * docs/gst/tmpl/gstqueue.sgml:
26938         * docs/gst/tmpl/gsttaglist.sgml:
26939         * docs/gst/tmpl/gsttypes.sgml:
26940         * docs/gst/tmpl/gstutils.sgml:
26941         * docs/pwg/appendix-porting.xml:
26942         * gst/base/gstbasesink.h:
26943         * gst/base/gstbasesrc.c:
26944         * gst/base/gstbasesrc.h:
26945         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26946         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26947         * gst/gstelement.c: (gst_element_class_init):
26948         * gst/gstpad.c: (gst_pad_class_init):
26949         * gst/gstqueue.c: (gst_queue_class_init):
26950         * gst/gstxml.c: (gst_xml_class_init):
26951           documented all undocumented signal inline
26952         * libs/gst/controller/gst-controller.h:
26953           added padding
26954
26955 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26956
26957         * docs/pwg/appendix-porting.xml:
26958           Document _set_link_function -> _set_setcaps_function.
26959
26960 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26961
26962         * check/Makefile.am:
26963           add a .check target for running the check
26964         * check/gst-libs/controller.c: (GST_START_TEST):
26965           cosmetic fixups
26966         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26967           complete checks for gstbuffer; would be nice if I could get the
26968           gcov stuff to work so I can see if I actually completed gstbuffer.c
26969         * check/gstcheck.h:
26970           add ASSERT_BUFFER_REFCOUNT
26971
26972 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26973
26974         * docs/gst/gstreamer-sections.txt:
26975         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26976         * gst/gsttag.h:
26977           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26978           spew out a warning if a tag that is already registered
26979           is re-registered, unless it is re-registered with a 
26980           different type (#308438).
26981
26982 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26983
26984         * docs/pwg/appendix-porting.xml:
26985         * docs/pwg/building-state.xml:
26986           Add some paragraphs about state changes in 0.9 to the PWG
26987           and the porting guide, in particular about the new meaning
26988           of GST_STATE_PAUSED and how to write state change functions
26989           with concurrent access by multiple threads in mind.
26990
26991 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26992
26993         * docs/gst/gstreamer-docs.sgml:
26994         * docs/libs/gstreamer-libs-docs.sgml:
26995           added deprecation and since indexes
26996         * libs/gst/controller/gst-controller.c:
26997         * libs/gst/controller/gst-helper.c:
26998           added since tags
26999
27000
27001 2005-08-11  Wim Taymans  <wim@fluendo.com>
27002
27003         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27004         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27005         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27006         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27007         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27008         (gst_ghost_pad_set_target):
27009         Actually implement (re)setting the target on a ghostpad
27010         as described in the docs.
27011
27012 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27013
27014         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27015           Check whether GST_DEBUG_NO_COLOR environment variable is
27016           set and disable coloured debug output if that is the case.
27017
27018 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27019
27020         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27021         (gst_type_find_helper):
27022           The memory returned by gst_type_find_peek() needs to
27023           stay valid until the end of a typefind function, and
27024           typefind functions may keep results from different 
27025           offsets around, so we can't just unref the buffer from
27026           the previous _peek(), but have to save all buffers 
27027           returned by _peek() until typefinding is done and only
27028           free them then.
27029
27030 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27031
27032         * docs/gst/gstreamer-sections.txt:
27033         * gst/gstutils.h:
27034           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27035
27036 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27037
27038         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27039           Fix a pretty good memleak.
27040
27041 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27042
27043         * gst/gstiterator.h:
27044           Fix wrong include and 'make distcheck'.
27045
27046 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27047
27048         * gst/gstbin.c: (bin_bus_handler):
27049           Use gst_element_post_message() instead.
27050
27051 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27052
27053         * gst/base/gstadapter.h:
27054         * gst/base/gstbasesink.h:
27055         * gst/base/gstbasesrc.h:
27056         * gst/base/gstbasetransform.h:
27057         * gst/base/gstcollectpads.h:
27058         * gst/base/gstpushsrc.h:
27059         * gst/gstiterator.h:
27060           Add padding to our base elements' class and instance structs and
27061           to GstIterator (you will need to rebuild all plugins and apps!)
27062
27063 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27064
27065         * gst/gstbin.c: (bin_bus_handler):
27066           Make default message forwarding from child->bus to bin->bus
27067           threadsafe and make it not emit warnings if the parent has no bus.
27068
27069 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27070
27071         * gst/gstelement.c: (activate_pads):
27072           On paused->ready, set pad->caps to NULL, as is the documented
27073           behaviour in this state change. Fixes playback of series of
27074           media files when visualization is enabled in Totem.
27075
27076 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27077
27078         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27079           Allow NULL as filter-caps (which means "any").
27080
27081 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27082
27083         * docs/libs/gstreamer-libs-sections.txt:
27084         * libs/gst/controller/gst-controller.c:
27085         * libs/gst/controller/gst-controller.h:
27086         * libs/gst/controller/gst-helper.c:
27087           adding more entries to the docs and fix small doc-bugs
27088
27089 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27090
27091         * docs/gst/gstreamer-docs.sgml:
27092         * docs/gst/gstreamer-sections.txt:
27093         * docs/gst/gstreamer.types:
27094         * docs/gst/tmpl/gstbasesink.sgml:
27095         * docs/gst/tmpl/gstbasesrc.sgml:
27096         * docs/gst/tmpl/gstbasetransform.sgml:
27097         * docs/gst/tmpl/gstfakesrc.sgml:
27098         * gst/base/gstcollectpads.c:
27099         * gst/base/gstcollectpads.h:
27100         * libs/gst/controller/gst-controller.c:
27101         * libs/gst/controller/gst-controller.h:
27102         * libs/gst/controller/gst-helper.c:
27103         * libs/gst/controller/gst-interpolation.c:
27104         * libs/gst/controller/lib.c:
27105           added long/short desc for controller docs
27106           added collectpads base class docs
27107           added correct includes to base-class docs
27108
27109 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27110
27111         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27112         (gst_test_mono_source_set_property),
27113         (gst_test_mono_source_class_init), (GST_START_TEST),
27114         (gst_controller_suite):
27115         * docs/gst/gstreamer-docs.sgml:
27116         * docs/gst/gstreamer-sections.txt:
27117         * docs/gst/gstreamer.types:
27118         * docs/libs/gstreamer-libs-docs.sgml:
27119         * docs/libs/gstreamer-libs-sections.txt:
27120         * gst/base/gstadapter.c:
27121         * libs/gst/controller/gst-controller.c:
27122         (gst_controlled_property_new), (gst_controlled_property_free),
27123         (gst_controller_new_valist),
27124         (gst_controller_remove_properties_valist),
27125         (gst_controller_sink_values), (_gst_controller_finalize):
27126         * libs/gst/controller/gst-controller.h:
27127         * libs/gst/controller/gst-helper.c:
27128         (gst_object_control_properties), (gst_object_uncontrol_properties),
27129         (gst_object_get_controller), (gst_object_set_controller),
27130         (gst_object_sink_values), (gst_object_get_value_arrays),
27131         (gst_object_get_value_array):
27132           more tests (and fixes) for the controller
27133           more docs for the controller
27134           integrated companies docs for the adapter 
27135
27136 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27137
27138         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27139         (GST_START_TEST), (fakesrc_suite):
27140           add tests for sizetype
27141
27142 2005-08-04  Andy Wingo  <wingo@pobox.com>
27143
27144         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27145         fixes buffer_alloc proxying among other things.
27146
27147         * gst/base/gstbasetransform.c:
27148         * gst/base/gstbasetransform.h:
27149         Revert patch to gstbasetransform from 7-28 removing
27150         delay_configure.
27151
27152         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27153         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27154         Semantics changed, should return not the size of the output buffer
27155         but the byte size of a buffer with a given caps.
27156
27157         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27158         debug object.
27159         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27160         out) are not the pad caps until setcaps finishes.
27161         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27162         not-in-place case as well. Deal with changing from in-place to
27163         not-in-place within calling pad_alloc_buffer. Still a bit
27164         concerned about the overhead here...
27165
27166 2005-08-03  Andy Wingo  <wingo@pobox.com>
27167
27168         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27169         fixating is an error.
27170
27171 2005-08-04  Edward Hervey  <edward@fluendo.com>
27172
27173         * gst/base/gstadapter.h: 
27174         Added gst_adapter_get_type() to the header
27175
27176 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27177
27178         * check/Makefile.am:
27179         * check/gst-libs/controller.c:
27180         * libs/gst/controller/gst-controller.c:
27181         (gst_controller_new_valist):
27182           added check test suite for the controller
27183         * gst/base/gstpushsrc.c:
27184           fixed a doc typo
27185
27186 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27187
27188         * docs/gst/Makefile.am:
27189         * docs/gst/gstreamer-docs.sgml:
27190         * docs/gst/gstreamer-sections.txt:
27191         * docs/gst/gstreamer.types:
27192         * docs/gst/tmpl/gstfakesrc.sgml:
27193         * gst/base/README:
27194         * gst/base/gstbasesink.c:
27195         * gst/base/gstbasesink.h:
27196         * gst/base/gstbasesrc.c:
27197         * gst/base/gstbasesrc.h:
27198         * gst/base/gstbasetransform.c:
27199         * gst/base/gstpushsrc.c:
27200         * gst/base/gstpushsrc.h:
27201           add short/long description docs to base classes
27202           add pushsrc to the docs
27203           remove consolidated doc fragments
27204
27205 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27206
27207         * configure.ac:
27208         * docs/libs/Makefile.am:
27209         * docs/libs/gstreamer-libs-docs.sgml:
27210         * docs/libs/gstreamer-libs-sections.txt:
27211         * docs/libs/gstreamer-libs.types:
27212         * examples/Makefile.am:
27213         * examples/controller/.cvsignore:
27214         * examples/controller/Makefile.am:
27215         * examples/controller/audio-example.c: (main):
27216         * libs/gst/Makefile.am:
27217         * libs/gst/controller/.cvsignore:
27218         * libs/gst/controller/Makefile.am:
27219         * libs/gst/controller/gst-controller.c:
27220         (on_object_controlled_property_changed), (gst_timed_value_compare),
27221         (gst_timed_value_find),
27222         (gst_controlled_property_set_interpolation_mode),
27223         (gst_controlled_property_new), (gst_controlled_property_free),
27224         (gst_controller_find_controlled_property),
27225         (gst_controller_new_valist), (gst_controller_new),
27226         (gst_controller_remove_properties_valist),
27227         (gst_controller_remove_properties), (gst_controller_set),
27228         (gst_controller_set_from_list), (gst_controller_unset),
27229         (gst_controller_get), (gst_controller_get_all),
27230         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27231         (gst_controller_get_value_array),
27232         (gst_controller_set_interpolation_mode),
27233         (_gst_controller_finalize), (_gst_controller_init),
27234         (_gst_controller_class_init), (gst_controller_get_type):
27235         * libs/gst/controller/gst-controller.h:
27236         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27237         (g_object_uncontrol_properties), (g_object_get_controller),
27238         (g_object_set_controller), (g_object_sink_values),
27239         (g_object_get_value_arrays), (g_object_get_value_array):
27240         * libs/gst/controller/gst-interpolation.c:
27241         (gst_controlled_property_find_timed_value_node),
27242         (interpolate_none_get), (interpolate_trigger_get),
27243         (interpolate_trigger_get_value_array):
27244         * libs/gst/controller/lib.c: (gst_controller_init):
27245         * pkgconfig/Makefile.am:
27246         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27247         * pkgconfig/gstreamer-control.pc.in:
27248         * testsuite/Makefile.am:
27249         * testsuite/controller/.cvsignore:
27250         * testsuite/controller/Makefile.am:
27251         * testsuite/controller/interpolator.c: (main):
27252           added controller code
27253           removed dparam pc files
27254
27255 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27256         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27257         (gst_collectpads_stop):
27258           Broadcast the condition when shutting down, to make sure we wake all
27259           threads up. Shut down pads on finalize, for safety.
27260
27261 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27262         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27263         (gst_base_transform_handle_buffer),
27264         (gst_base_transform_change_state):
27265           Handle PAUSED->READY->PAUSED transition after negotiation
27266           occurred already.
27267         * gst/gstmessage.c: (gst_message_init):
27268           Extra piece of debug for new messages.
27269
27270 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27271
27272         * configure.ac:
27273         * docs/gst/tmpl/gstbasesrc.sgml:
27274         * docs/gst/tmpl/gstelement.sgml:
27275         * docs/gst/tmpl/gstevent.sgml:
27276         * docs/gst/tmpl/gstfakesrc.sgml:
27277         * docs/gst/tmpl/gstformat.sgml:
27278         * docs/gst/tmpl/gstghostpad.sgml:
27279         * docs/gst/tmpl/gstpad.sgml:
27280         * docs/gst/tmpl/gstquery.sgml:
27281         * docs/gst/tmpl/gststructure.sgml:
27282         * docs/gst/tmpl/gsttaglist.sgml:
27283         * docs/gst/tmpl/gstvalue.sgml:
27284         * docs/libs/gstreamer-libs-docs.sgml:
27285         * docs/libs/gstreamer-libs-sections.txt:
27286         * docs/libs/gstreamer-libs.types:
27287         * libs/gst/Makefile.am:
27288         * libs/gst/control/.cvsignore:
27289         * libs/gst/control/Makefile.am:
27290         * libs/gst/control/control.c:
27291         * libs/gst/control/control.h:
27292         * libs/gst/control/dparam.c:
27293         * libs/gst/control/dparam.h:
27294         * libs/gst/control/dparam_smooth.c:
27295         * libs/gst/control/dparam_smooth.h:
27296         * libs/gst/control/dparamcommon.h:
27297         * libs/gst/control/dparammanager.c:
27298         * libs/gst/control/dparammanager.h:
27299         * libs/gst/control/dplinearinterp.c:
27300         * libs/gst/control/dplinearinterp.h:
27301         * libs/gst/control/unitconvert.c:
27302         * libs/gst/control/unitconvert.h:
27303         * testsuite/Makefile.am:
27304         * testsuite/dynparams/.cvsignore:
27305         * testsuite/dynparams/Makefile.am:
27306         * testsuite/dynparams/dparamstest.c:
27307         * tools/Makefile.am:
27308         * tools/gst-inspect.c: (print_element_info), (main):
27309         * tools/gst-xmlinspect.c: (print_element_info), (main):
27310           deactivate and remove dparams (libgstcontrol)
27311
27312 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27313
27314         * gst/elements/gsttypefindelement.c:
27315         (gst_type_find_element_have_type), (gst_type_find_element_init),
27316         (stop_typefinding), (gst_type_find_element_handle_event),
27317         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27318         * gst/elements/gsttypefindelement.h:
27319           Set caps on all outgoing buffers, not just the first one.
27320
27321 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27322
27323         * gst/elements/gsttypefindelement.c:
27324         (gst_type_find_element_have_type),
27325         (gst_type_find_element_check_set_buffer_caps),
27326         (gst_type_find_element_init), (stop_typefinding),
27327         (gst_type_find_element_handle_event),
27328         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27329         * gst/elements/gsttypefindelement.h:
27330           Set caps on first outgoing buffer when we've found the type.
27331
27332 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27333
27334         * docs/gst/gstreamer-docs.sgml:
27335         * docs/gst/gstreamer-sections.txt:
27336         * docs/gst/tmpl/gstscheduler.sgml:
27337         * docs/gst/tmpl/gstschedulerfactory.sgml:
27338           Remove some old cruft from docs.
27339
27340 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27341
27342         * gst/gstpad.h:
27343           Fix inline docs for GstPadLinkReturn.
27344           
27345         * gst/gststructure.c: (gst_structure_has_name):
27346         * gst/gststructure.h:
27347         * docs/gst/gstreamer-sections.txt:
27348           New API: gst_structure_has_name().
27349
27350 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27351
27352         * configure.ac:
27353           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27354           and _LARGEFILE_SOURCE in config.h as required. Do not 
27355           export those flags in our .pc files any longer (#142209).
27356
27357           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27358
27359         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27360         (gst_file_sink_do_seek), (gst_file_sink_event),
27361         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27362           Redo seek/tell calls with large file support in mind; add some
27363           debugging messages; add log message that tells us when large
27364           file support is unavailable or not enabled for some reason.
27365
27366         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27367           Add log message that tells us when large file support 
27368           is unavailable or not enabled for some reason.
27369
27370 2005-07-29  Wim Taymans  <wim@fluendo.com>
27371
27372         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27373         Added test for removing an element with ghostpad from a bin.
27374         Fixed test as current implementation does the right thing.
27375
27376         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27377         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27378         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27379         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27380         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27381         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27382         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27383         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27384         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27385         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27386         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27387         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27388         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27389         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27390         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27391         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27392         * gst/gstghostpad.h:
27393         Clean up ghostpads, remove properties for internal stuff.
27394         Make threadsafe.
27395         Fix refcounting.
27396         Prepare for switching targets, not all use cases work yet.
27397
27398 2005-07-29  Wim Taymans  <wim@fluendo.com>
27399
27400         * docs/design/part-gstghostpad.txt:
27401         Small update.
27402
27403         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27404         (gst_bin_remove_func):
27405         Unlinking pads while holding the bin LOCK is not a good
27406         idea.
27407
27408         * gst/gstpad.c: (gst_pad_class_init),
27409         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27410         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27411         No prob setting template after creating the pad.
27412
27413 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27414
27415         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27416         (gst_bus_peek), (gst_bus_source_dispatch),
27417         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27418         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27419           gst_bus_poll may be called from other threads. Handle
27420           this nicely by not making poll_data disappear off the
27421           stack once gst_bus_poll returns.
27422           gst_bus_peek now increments the refcount on the returned
27423           message.
27424
27425 2005-07-29  Wim Taymans  <wim@fluendo.com>
27426
27427         * docs/design/part-gstghostpad.txt:
27428         Overview of current GhostPad datastructures and use
27429         cases for changing the target.
27430
27431 2005-07-28  Wim Taymans  <wim@fluendo.com>
27432
27433         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27434         Added checks for hierarchy consistency whan adding linked
27435         elements to bins.
27436
27437         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27438         Added check to test element scheduling without bin/pipeline.
27439
27440         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27441         First add elements to bin, then link.
27442         
27443         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27444         (gst_bin_remove_func):
27445         Unlink pads from elements added/removed from bin to maintain
27446         hierarchy consistency.
27447
27448 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27449
27450         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27451         (gst_base_transform_handle_buffer):
27452         * gst/base/gstbasetransform.h:
27453           Remove broken delay_configure (fixes renegotiation of software
27454           scaling pipelines); remove some leftover printf()s.
27455
27456 2005-07-28  Wim Taymans  <wim@fluendo.com>
27457
27458         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27459         Added some more tests for wrong hierarchy
27460
27461         * docs/design/part-overview.txt:
27462         Some updates.
27463
27464         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27465         Cleanups.
27466
27467         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27468         (gst_element_dispose):
27469         Some more cleanups.
27470
27471         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27472         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27473         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27474         (gst_pad_set_caps), (gst_pad_send_event):
27475         Check for correct hierarchy when linking pads. Moving to
27476         strict requirement for ghostpads when linking elements in
27477         different bins.
27478
27479         * gst/gstpad.h:
27480         Clean ups. Added WRONG_HIERARCHY return value.
27481
27482 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27483
27484         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27485           Better debug if no transform is possible.
27486
27487 2005-07-27  Wim Taymans  <wim@fluendo.com>
27488
27489         * docs/random/wtay/network-transp:
27490         Some old doc I had.
27491
27492 2005-07-27  Wim Taymans  <wim@fluendo.com>
27493
27494         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27495         (gst_dp_event_from_packet):
27496         Fix serialization of seek events.
27497
27498 2005-07-27  Wim Taymans  <wim@fluendo.com>
27499
27500         * check/gst-libs/gdp.c: (GST_START_TEST):
27501         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27502         Fix compilation and fix event serialization.
27503
27504 2005-07-27  Wim Taymans  <wim@fluendo.com>
27505
27506         * CHANGES-0.9:
27507         * docs/design/part-TODO.txt:
27508         * docs/design/part-events.txt:
27509         Some docs updates
27510
27511         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27512         (gst_base_sink_event), (gst_base_sink_do_sync),
27513         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27514         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27515         (gst_base_src_do_seek), (gst_base_src_event_handler),
27516         (gst_base_src_loop):
27517         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27518         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27519         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27520         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27521         (gst_base_transform_set_passthrough),
27522         (gst_base_transform_is_passthrough):
27523         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27524         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27525         Event updates.
27526
27527         * gst/gstbuffer.h:
27528         Use faster casts.
27529
27530         * gst/gstelement.c: (gst_element_seek):
27531         * gst/gstelement.h:
27532         Update gst_element_seek.
27533
27534         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27535         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27536         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27537         (gst_event_new_eos), (gst_event_new_newsegment),
27538         (gst_event_parse_newsegment), (gst_event_new_tag),
27539         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27540         (gst_event_parse_qos), (gst_event_new_seek),
27541         (gst_event_parse_seek), (gst_event_new_navigation):
27542         * gst/gstevent.h:
27543         Make GstEvent use GstStructure. Add parsing code, make sure the
27544         API is sufficiently generic.
27545         Mark possible directions of events and serialization.
27546
27547         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27548         (_gst_message_copy), (gst_message_new_segment_start),
27549         (gst_message_new_segment_done), (gst_message_new_custom),
27550         (gst_message_parse_segment_start),
27551         (gst_message_parse_segment_done):
27552         Small cleanups.
27553
27554         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27555         (gst_pad_set_caps), (gst_pad_send_event):
27556         Update for new events. 
27557         Catch events sent in wrong directions.
27558
27559         * gst/gstqueue.c: (gst_queue_link_src),
27560         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27561         (gst_queue_handle_src_query):
27562         Event updates.
27563
27564         * gst/gsttag.c:
27565         * gst/gsttag.h:
27566         Remove event code from this file.
27567
27568         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27569         (gst_dp_event_from_packet):
27570         Event updates.
27571
27572 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27573
27574         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27575         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27576         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27577           Make debugging actually useful.
27578
27579 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27580
27581         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27582         (gst_pad_fixate_caps):
27583           Implement default fixation once again, so that gst_pad_fixate()
27584           actually does anything at all. This probably needs to be some
27585           sort of a last resort, and use profile-based fixation first, but
27586           since that doesn't exist yet, this is the best we have. Fixes
27587           visualization in Totem.
27588
27589 2005-07-22  Wim Taymans  <wim@fluendo.com>
27590
27591         * docs/design/part-events.txt:
27592         Small update.
27593
27594         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27595         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27596         (gst_base_sink_activate_pull):
27597         Some more comments.
27598
27599         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27600         (gst_fake_src_create):
27601         Fix handoff marshall.
27602
27603         * gst/elements/gstidentity.c: (gst_identity_class_init),
27604         (gst_identity_transform_ip):
27605         We're a real inplace element.
27606
27607         * gst/gstbus.c: (gst_bus_post):
27608         Added some comments.
27609
27610         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27611         * tests/muxing/case1.c: (main):
27612         * tests/sched/dynamic-pipeline.c: (main):
27613         * tests/sched/interrupt1.c: (main):
27614         * tests/sched/interrupt2.c: (main):
27615         * tests/sched/interrupt3.c: (main):
27616         * tests/sched/runxml.c: (main):
27617         * tests/sched/sched-stress.c: (main):
27618         * tests/seeking/seeking1.c: (event_received), (main):
27619         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27620         (main):
27621         * tests/threadstate/threadstate3.c: (main):
27622         * tests/threadstate/threadstate4.c: (main):
27623         * tests/threadstate/threadstate5.c: (main):
27624         Fix the tests.
27625
27626 2005-07-21  Wim Taymans  <wim@fluendo.com>
27627
27628         * docs/design/part-seeking.txt:
27629         Some small additions.
27630
27631         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27632         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27633         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27634         * gst/base/gstbasesink.h:
27635         discont values are gint64, handle the math correctly.
27636
27637         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27638         Make the basesrc report error if the source pad is not linked.
27639
27640         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27641         (gst_queue_loop), (gst_queue_handle_src_query),
27642         (gst_queue_src_activate_push):
27643         Make queue collect data even if the srcpad is not linked.
27644         Start pushing out data as soon as it is linked.
27645
27646         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27647         * gst/gstutils.h:
27648         Added gst_flow_get_name() to ease error reporting.
27649
27650 2005-07-20  Wim Taymans  <wim@fluendo.com>
27651
27652         * gst/gstmessage.c: (gst_message_new_segment_start),
27653         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27654         (gst_message_parse_segment_done):
27655         * gst/gstmessage.h:
27656         Added a bunch of messages for advanced seeking.
27657
27658         * gst/parse/grammar.y:
27659         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27660         (gst_dpman_state_changed):
27661         Fix some new-pad -> pad-added signals
27662
27663 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27664
27665         * docs/manual/appendix-porting.xml:
27666         * docs/pwg/appendix-porting.xml:
27667           Document new-pad/state-change signal renames and the FixedList
27668           type rename.
27669
27670 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27671
27672         * docs/manual/advanced-autoplugging.xml:
27673         * docs/manual/basics-helloworld.xml:
27674         * docs/manual/basics-pads.xml:
27675         * docs/random/ds/0.9-suggested-changes:
27676         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27677         * gst/gstelement.h:
27678         * gst/gstevent.h:
27679         * gst/gstformat.h:
27680         * gst/gstquery.h:
27681         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27682         (gst_structure_parse_array), (gst_structure_parse_value):
27683         * gst/gstvalue.c: (gst_type_is_fixed),
27684         (gst_value_list_prepend_value), (gst_value_list_append_value),
27685         (gst_value_list_get_size), (gst_value_list_get_value),
27686         (gst_value_transform_array_string), (gst_value_serialize_array),
27687         (gst_value_deserialize_array), (gst_value_intersect_array),
27688         (gst_value_is_fixed), (_gst_value_initialize):
27689         * gst/gstvalue.h:
27690           GstElement::new-pad -> pad-added, GstElement::state-change ->
27691           state-changed, GstValueFixedList -> GstValueArray, add format and
27692           flags as their own arguments in gst_element_seek() (should improve
27693           "bindeability"), remove function generators since they don't work
27694           under a whole bunch of compilers (they were deprecated already
27695           anyway).
27696
27697 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27698
27699         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27700         (_gst_debug_register_funcptr):
27701         * gst/gstinfo.h:
27702           Fix illegal cast on some platforms (#309253).
27703
27704 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27705
27706         * gst/gstmessage.c: (gst_message_new_custom):
27707         * gst/gstmessage.h:
27708           Add _new_custom, make _new_application a macro to _new_custom.
27709
27710 2005-07-20  Wim Taymans  <wim@fluendo.com>
27711
27712         * gst/base/gstbasesrc.c: (gst_base_src_init),
27713         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27714         * gst/base/gstbasesrc.h:
27715         Add a gboolean to decide when to push out a discont.
27716
27717         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27718         (gst_queue_loop), (gst_queue_handle_src_query),
27719         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27720         (gst_queue_set_property), (gst_queue_get_property):
27721         Some cleanups.
27722
27723         * tests/threadstate/threadstate1.c: (main):
27724         Make a thread test compile and run... very silly..
27725
27726
27727 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27728
27729         * docs/manual/appendix-porting.xml:
27730           Mention removal of libgstgconf-0.9.la and existence of gconf
27731           elements.
27732
27733 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27734
27735         * docs/pwg/advanced-clock.xml:
27736         * docs/pwg/appendix-porting.xml:
27737         * docs/pwg/intro-preface.xml:
27738         * docs/pwg/other-base.xml:
27739         * docs/pwg/other-manager.xml:
27740         * docs/pwg/other-nton.xml:
27741         * docs/pwg/other-ntoone.xml:
27742         * docs/pwg/other-oneton.xml:
27743         * docs/pwg/pwg.xml:
27744           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27745           demuxer), remove n-to-n (was never written), fix some code examples
27746           and links and update the porting section to include all this.
27747
27748 2005-07-19  Wim Taymans  <wim@fluendo.com>
27749
27750         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27751         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27752         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27753         (gst_queue_src_activate_push), (gst_queue_change_state),
27754         (gst_queue_get_property):
27755         * gst/gstqueue.h:
27756         Propagate GstFlowReturn more intelligently upstream and output
27757         an ERROR/EOS when streaming stopped due to fatal error.
27758
27759 2005-07-19  Wim Taymans  <wim@fluendo.com>
27760
27761         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27762         Don't block forever for the state change to complete, the
27763         pipeline already did with a sensible timeout.
27764
27765 2005-07-19  Wim Taymans  <wim@fluendo.com>
27766
27767         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27768         Make sure we never call the create function is we
27769         got deactivated.
27770
27771 2005-07-19  Andy Wingo  <wingo@pobox.com>
27772
27773         * gst/parse/parse.l: Attempt to solve bug #172815.
27774
27775 2005-07-19  Wim Taymans  <wim@fluendo.com>
27776
27777         * docs/design/part-clocks.txt:
27778         * docs/design/part-events.txt:
27779         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27780         Small docs updates.
27781         Only update the seeking values when we are not
27782         busy streaming.
27783
27784 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27785
27786         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27787           Oops, ignore the result of gst_pad_push_event here.
27788
27789 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27790
27791         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27792         (gst_base_src_activate_push):
27793           Send discont event from the loop function, as pads
27794           aren't activated yet in the activate_push handler.
27795
27796         * gst/gstbin.c: (bin_bus_handler):
27797           Don't leak element name.
27798
27799 2005-07-18  Andy Wingo  <wingo@pobox.com>
27800
27801         * configure.ac: Use AS_LIBTOOL_TAGS.
27802
27803 2005-07-18  Wim Taymans  <wim@fluendo.com>
27804
27805         * docs/gst/gstreamer.types:
27806         Remove deleted types.
27807
27808 2005-07-18  Wim Taymans  <wim@fluendo.com>
27809
27810         * check/elements/gstfakesrc.c: (GST_START_TEST):
27811         * configure.ac:
27812         * gst/Makefile.am:
27813         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27814         (init_popt_callback):
27815         * gst/gst.h:
27816         * gst/gst_private.h:
27817         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27818         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27819         * gst/gstbin.h:
27820         * gst/gstbus.h:
27821         * gst/gstconfig.h.in:
27822         * gst/gstelement.c: (gst_element_class_init),
27823         (gst_element_set_base_time), (gst_element_get_base_time),
27824         (iterator_fold_with_resync), (gst_element_change_state),
27825         (gst_element_dispose), (gst_element_get_bus):
27826         * gst/gstelement.h:
27827         * gst/gstelementfactory.h:
27828         * gst/gsterror.c: (_gst_core_errors_init):
27829         * gst/gsterror.h:
27830         * gst/gstevent.h:
27831         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27832         * gst/gstindex.c:
27833         * gst/gstinfo.c: (_gst_debug_init):
27834         * gst/gstmessage.c: (_gst_message_copy):
27835         * gst/gstmessage.h:
27836         * gst/gstminiobject.h:
27837         * gst/gstobject.c:
27838         * gst/gstobject.h:
27839         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27840         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27841         * gst/gstpad.h:
27842         * gst/gstparse.h:
27843         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27844         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27845         (gst_pipeline_get_last_stream_time):
27846         * gst/gstpipeline.h:
27847         * gst/gstpluginfeature.h:
27848         * gst/gstquery.h:
27849         * gst/gstscheduler.c:
27850         * gst/gstscheduler.h:
27851         * gst/gststructure.h:
27852         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27853         (gst_task_finalize), (gst_task_func), (gst_task_create),
27854         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27855         (gst_task_stop), (gst_task_pause):
27856         * gst/gsttask.h:
27857         * gst/gsttypefind.h:
27858         * gst/gsttypes.h:
27859         * gst/registries/gstlibxmlregistry.c: (load_feature),
27860         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27861         * gst/registries/gstxmlregistry.c:
27862         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27863         * gst/schedulers/threadscheduler.c:
27864         * libs/gst/control/dparammanager.h:
27865         * tools/gst-inspect.c: (print_element_list),
27866         (print_plugin_features), (print_element_features):
27867         * tools/gst-xmlinspect.c: (print_element_list),
27868         (print_plugin_info), (main):
27869         Removed plugable schedulers.
27870         Removed Scheduler/Manager from elements.
27871         Removed gsttypes.h, rearranged includes.
27872         Removed dependency pad<->element, element<>pipeline, and
27873         various others,  fix includes.
27874         implement gst_pad_get_parent() with gst_object_get_parent()
27875         Make GstTask sefcontained.
27876         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27877         timeout.
27878         Fix endless loop in iterator_fold_with_resync.
27879
27880
27881 2005-07-18  Wim Taymans  <wim@fluendo.com>
27882
27883         * gst/Makefile.am:
27884         * gst/gstarch.h:
27885         Remove old file.
27886
27887 2005-07-18  Wim Taymans  <wim@fluendo.com>
27888
27889         * gst/Makefile.am:
27890         No more cothreads.h
27891
27892 2005-07-18  Wim Taymans  <wim@fluendo.com>
27893
27894         * gst/cothreads.c:
27895         * gst/cothreads.h:
27896         Let's remove these.
27897
27898 2005-07-18  Wim Taymans  <wim@fluendo.com>
27899
27900         * docs/design/part-dynamic.txt:
27901         * docs/design/part-events.txt:
27902         * docs/design/part-seeking.txt:
27903         Some more docs in the works.
27904
27905         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27906         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27907         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27908         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27909         (gst_base_transform_handle_buffer),
27910         (gst_base_transform_sink_activate_push),
27911         (gst_base_transform_src_activate_pull),
27912         (gst_base_transform_set_passthrough),
27913         (gst_base_transform_is_passthrough):
27914         Refcounting fixes.
27915
27916         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27917         Cleanups.
27918
27919         * gst/gstevent.c: (gst_event_finalize):
27920         Set SRC to NULL.
27921
27922         * gst/gstutils.c: (gst_element_unlink),
27923         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27924         (gst_pad_proxy_setcaps):
27925         * gst/gstutils.h:
27926         Add _get_parent_element() to get a pads parent as an element.
27927
27928 2005-07-18  Wim Taymans  <wim@fluendo.com>
27929
27930         * check/gst/gstbin.c: (GST_START_TEST):
27931         Remove bogus test.
27932
27933 2005-07-18  Wim Taymans  <wim@fluendo.com>
27934
27935         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27936         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27937         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27938         (gst_base_sink_event), (gst_base_sink_do_sync),
27939         (gst_base_sink_chain), (gst_base_sink_loop),
27940         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27941         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27942         Refcounting fixes.
27943         Fix logic for returning ASYNC when not prerolled.
27944
27945 2005-07-18  Wim Taymans  <wim@fluendo.com>
27946
27947         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27948         Fix nasty refcount bug.
27949
27950 2005-07-16 Philippe Khalaf <burger@speedy.org>
27951
27952         * gst/elements/gstfdsrc.c:
27953         * gst/elements/gstfdsrc.h:
27954         * gst/elements/gstelements.c:
27955         * gst/elements/Makefile.am:
27956         Ported fdsrc to 0.9.
27957
27958 2005-07-16  Wim Taymans  <wim@fluendo.com>
27959
27960         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27961         (gst_base_sink_do_sync):
27962         Fix compile error.
27963
27964 2005-07-16  Wim Taymans  <wim@fluendo.com>
27965
27966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27967         (gst_base_sink_event), (gst_base_sink_get_times),
27968         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27969         * gst/base/gstbasesink.h:
27970         Store and use discont values when syncing buffers as described
27971         in design docs.
27972         
27973         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27974         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27975         (gst_base_src_activate_push):
27976         Push discont event when starting.
27977
27978         * gst/elements/gstidentity.c: (gst_identity_transform):
27979         Small cleanups.
27980
27981         * gst/gstbin.c: (gst_bin_change_state):
27982         Small cleanups in base_time  distribution.
27983
27984         * gst/gstelement.c: (gst_element_set_base_time),
27985         (gst_element_get_base_time), (gst_element_change_state):
27986         * gst/gstelement.h:
27987         Added methods for the base_time of the element.
27988         Some MT fixes.
27989
27990         * gst/gstpipeline.c: (gst_pipeline_send_event),
27991         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27992         (gst_pipeline_get_last_stream_time):
27993         * gst/gstpipeline.h:
27994         MT fixes.
27995         Handle seeking as described in design doc, remove stream_time
27996         hack.
27997         Cleanups clock and stream_time selection code. Added accessors
27998         for the stream_time.
27999         
28000
28001 2005-07-16  Andy Wingo  <wingo@pobox.com>
28002
28003         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28004         (#305291).
28005
28006 2005-07-16  Wim Taymans  <wim@fluendo.com>
28007
28008         * check/gst/gstbin.c: (GST_START_TEST):
28009         Make elements silent as the deep_notify refs the
28010         parent, which might make the test fail.
28011
28012         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28013         Don't hold the lock for too long.
28014
28015 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28016
28017         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28018           Don't unref the caps we passed to gst_caps_make_writable() after
28019           passing them. gst_caps_make_writable() will do that for us.
28020
28021 2005-07-15  Andy Wingo  <wingo@pobox.com>
28022
28023         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28024         (#157311).
28025
28026         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28027         own marshalling function for the handoff signal. Properly type the
28028         buffer as a buffer. Fixes some warnings. Should do a more general
28029         solution.
28030         (gst_identity_class_init): Plug into the right marshaller.
28031
28032 2005-07-15  Wim Taymans  <wim@fluendo.com>
28033
28034         * docs/design/part-TODO.txt:
28035         * docs/design/part-clocks.txt:
28036         * docs/design/part-element-sink.txt:
28037         * docs/design/part-events.txt:
28038         * docs/design/part-gstpipeline.txt:
28039         Updated docs, mostly DISCONT related.
28040
28041 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28042
28043         * docs/pwg/building-pads.xml:
28044           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28045
28046 2005-07-15  Andy Wingo  <wingo@pobox.com>
28047
28048         * tools/gst-typefind.c: Update, add copyright block.
28049
28050         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28051         Normalize and truncate caps before fixation.
28052
28053         * gst/gstcaps.h:
28054         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28055         discards all but the first structure from its argument.
28056
28057 2005-07-15  Wim Taymans  <wim@fluendo.com>
28058
28059         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28060         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28061         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28062         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28063         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28064         (gst_base_transform_chain), (gst_base_transform_change_state),
28065         (gst_base_transform_set_passthrough),
28066         (gst_base_transform_is_passthrough):
28067         * gst/base/gstbasetransform.h:
28068         Make passthrough work using the bufferpools.
28069         Changed API a bit, subclasses have to write into a buffer
28070         provided by the base class.
28071         More debug info in nego functions.
28072         
28073         * gst/elements/gstidentity.c: (gst_identity_init),
28074         (gst_identity_transform):
28075         Port to new base class.
28076
28077 2005-07-15  Wim Taymans  <wim@fluendo.com>
28078
28079         * gst/gstmessage.c: (gst_message_new_state_changed):
28080         * tools/gst-launch.c: (event_loop), (main):
28081         Totally dump messages in -launch with the -m option.
28082         Fix message name for State messages,
28083
28084 2005-07-14  Wim Taymans  <wim@fluendo.com>
28085
28086         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28087         Post error messages on errors.
28088
28089 2005-07-14  Wim Taymans  <wim@fluendo.com>
28090
28091         * gst/gstcaps.c: (gst_caps_do_simplify):
28092         Remove debug info.
28093
28094         * gst/gsterror.h:
28095         Define error for stream stopped.
28096
28097         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28098         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28099         Do proper return values.
28100
28101         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28102         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28103         (gst_pad_get_range):
28104         Better return values.
28105
28106         * gst/gstpad.h:
28107         Reorganise return values, add macro to check for fatal errors.
28108
28109         * gst/gstqueue.c: (gst_queue_chain):
28110         Return proper GstFlowReturn values,
28111
28112 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28113
28114         * docs/gst/gstreamer-sections.txt:
28115         * docs/gst/gstreamer.types:
28116         * docs/gst/tmpl/gst.sgml:
28117         * docs/gst/tmpl/gstbasesink.sgml:
28118         * docs/gst/tmpl/gstbasesrc.sgml:
28119         * docs/gst/tmpl/gstbasetransform.sgml:
28120         * docs/gst/tmpl/gstbin.sgml:
28121         * docs/gst/tmpl/gstbuffer.sgml:
28122         * docs/gst/tmpl/gstcaps.sgml:
28123         * docs/gst/tmpl/gstclock.sgml:
28124         * docs/gst/tmpl/gstcompat.sgml:
28125         * docs/gst/tmpl/gstconfig.sgml:
28126         * docs/gst/tmpl/gstelement.sgml:
28127         * docs/gst/tmpl/gstelementdetails.sgml:
28128         * docs/gst/tmpl/gstelementfactory.sgml:
28129         * docs/gst/tmpl/gstenumtypes.sgml:
28130         * docs/gst/tmpl/gsterror.sgml:
28131         * docs/gst/tmpl/gstevent.sgml:
28132         * docs/gst/tmpl/gstfakesink.sgml:
28133         * docs/gst/tmpl/gstfakesrc.sgml:
28134         * docs/gst/tmpl/gstfilesink.sgml:
28135         * docs/gst/tmpl/gstfilesrc.sgml:
28136         * docs/gst/tmpl/gstfilter.sgml:
28137         * docs/gst/tmpl/gstformat.sgml:
28138         * docs/gst/tmpl/gstghostpad.sgml:
28139         * docs/gst/tmpl/gstimplementsinterface.sgml:
28140         * docs/gst/tmpl/gstindex.sgml:
28141         * docs/gst/tmpl/gstindexfactory.sgml:
28142         * docs/gst/tmpl/gstinfo.sgml:
28143         * docs/gst/tmpl/gstiterator.sgml:
28144         * docs/gst/tmpl/gstmacros.sgml:
28145         * docs/gst/tmpl/gstmemchunk.sgml:
28146         * docs/gst/tmpl/gstminiobject.sgml:
28147         * docs/gst/tmpl/gstobject.sgml:
28148         * docs/gst/tmpl/gstpad.sgml:
28149         * docs/gst/tmpl/gstpadtemplate.sgml:
28150         * docs/gst/tmpl/gstparse.sgml:
28151         * docs/gst/tmpl/gstpipeline.sgml:
28152         * docs/gst/tmpl/gstplugin.sgml:
28153         * docs/gst/tmpl/gstpluginfeature.sgml:
28154         * docs/gst/tmpl/gstquery.sgml:
28155         * docs/gst/tmpl/gstqueue.sgml:
28156         * docs/gst/tmpl/gstregistry.sgml:
28157         * docs/gst/tmpl/gstregistrypool.sgml:
28158         * docs/gst/tmpl/gstscheduler.sgml:
28159         * docs/gst/tmpl/gstschedulerfactory.sgml:
28160         * docs/gst/tmpl/gststructure.sgml:
28161         * docs/gst/tmpl/gstsystemclock.sgml:
28162         * docs/gst/tmpl/gsttaglist.sgml:
28163         * docs/gst/tmpl/gsttagsetter.sgml:
28164         * docs/gst/tmpl/gsttrace.sgml:
28165         * docs/gst/tmpl/gsttrashstack.sgml:
28166         * docs/gst/tmpl/gsttypefind.sgml:
28167         * docs/gst/tmpl/gsttypefindfactory.sgml:
28168         * docs/gst/tmpl/gsttypes.sgml:
28169         * docs/gst/tmpl/gsturihandler.sgml:
28170         * docs/gst/tmpl/gsturitype.sgml:
28171         * docs/gst/tmpl/gstutils.sgml:
28172         * docs/gst/tmpl/gstvalue.sgml:
28173         * docs/gst/tmpl/gstversion.sgml:
28174         * docs/gst/tmpl/gstxml.sgml:
28175         * docs/libs/tmpl/gstcontrol.sgml:
28176         * docs/libs/tmpl/gstdataprotocol.sgml:
28177         * docs/libs/tmpl/gstdparam.sgml:
28178         * docs/libs/tmpl/gstdplinint.sgml:
28179         * docs/libs/tmpl/gstdpman.sgml:
28180         * docs/libs/tmpl/gstdpsmooth.sgml:
28181         * docs/libs/tmpl/gstgetbits.sgml:
28182         * docs/libs/tmpl/gstunitconvert.sgml:
28183         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28184         (gst_push_src_base_init), (gst_push_src_class_init),
28185         (gst_push_src_init), (gst_push_src_create):
28186         * gst/base/gstpushsrc.h:
28187         * gst/elements/gstelements.c:
28188         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28189         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28190         (gst_fake_sink_init), (gst_fake_sink_set_property),
28191         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28192         (gst_fake_sink_event), (gst_fake_sink_preroll),
28193         (gst_fake_sink_render), (gst_fake_sink_change_state):
28194         * gst/elements/gstfakesink.h:
28195         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28196         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28197         (gst_fake_src_base_init), (gst_fake_src_class_init),
28198         (gst_fake_src_init), (gst_fake_src_event_handler),
28199         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28200         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28201         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28202         (gst_fake_src_create_buffer), (gst_fake_src_create),
28203         (gst_fake_src_start), (gst_fake_src_stop):
28204         * gst/elements/gstfakesrc.h:
28205         * gst/elements/gstfilesink.c: (_do_init),
28206         (gst_file_sink_base_init), (gst_file_sink_class_init),
28207         (gst_file_sink_init), (gst_file_sink_dispose),
28208         (gst_file_sink_set_location), (gst_file_sink_set_property),
28209         (gst_file_sink_get_property), (gst_file_sink_open_file),
28210         (gst_file_sink_close_file), (gst_file_sink_query),
28211         (gst_file_sink_event), (gst_file_sink_render),
28212         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28213         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28214         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28215         * gst/elements/gstfilesink.h:
28216         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28217         (gst_file_src_class_init), (gst_file_src_init),
28218         (gst_file_src_finalize), (gst_file_src_set_location),
28219         (gst_file_src_set_property), (gst_file_src_get_property),
28220         (gst_file_src_map_region), (gst_file_src_map_small_region),
28221         (gst_file_src_create_mmap), (gst_file_src_create_read),
28222         (gst_file_src_create), (gst_file_src_is_seekable),
28223         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28224         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28225         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28226         (gst_file_src_uri_handler_init):
28227         * gst/elements/gstfilesrc.h:
28228           more autistic cleanliness in functions/names/defines
28229
28230 2005-07-13  Andy Wingo  <wingo@pobox.com>
28231
28232         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28233         source couldn't negotiate.
28234
28235         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28236         connections again.
28237
28238         * gst/gstutils.h:
28239         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28240         function. I am channeling Hades. Put your boots on suckers!!!
28241
28242 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28243
28244         * testsuite/caps/Makefile.am:
28245         * testsuite/caps/value_compare.c:
28246         * testsuite/caps/value_intersect.c:
28247         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28248           move two testsuite apps over to the check dir
28249
28250 2005-07-12  Wim Taymans  <wim@fluendo.com>
28251
28252         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28253         Added more debug info in the negotiate process.
28254
28255         * gst/gstmessage.h:
28256         Prepare for segment playback.
28257
28258         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28259         Better debugging.
28260
28261         * gst/gstutils.c:
28262         Some more docs.
28263
28264         * tools/gst-launch.c: (main):
28265         NULL pipeline on errors.
28266
28267 2005-07-12  Andy Wingo  <wingo@pobox.com>
28268
28269         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28270         not it comes from a malloc region. Make sure our copy gets freed.
28271
28272 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28273
28274         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28275         * check/gst/gstmessage.c: (GST_START_TEST):
28276         * check/gst/gststructure.c: (GST_START_TEST),
28277         (gst_structure_suite), (main):
28278           more testing
28279         * gst/gstelement.c: (gst_element_message_full):
28280           clean up GError and debug string now that they get copied
28281         * gst/gstmessage.c: (gst_message_new_error),
28282         (gst_message_new_warning), (gst_message_parse_error),
28283         (gst_message_parse_warning):
28284           use GST_TYPE_G_ERROR for structure_new, and take copies of
28285           arguments, so that we don't mess up refcounting
28286
28287 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28288
28289         * check/Makefile.am:
28290           add per-test valgrind targets
28291         * check/gst-libs/gdp.c: (GST_START_TEST),
28292         (gst_data_protocol_suite), (main):
28293           clean up
28294
28295 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28296
28297         * check/Makefile.am:
28298           instate more valgrindable tests
28299         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28300         (GST_START_TEST), (fakesrc_suite):
28301         * check/gst/gstpad.c: (GST_START_TEST):
28302         * check/gst/gststructure.c: (GST_START_TEST):
28303           fix test leaks
28304         * docs/gst/tmpl/gstminiobject.sgml:
28305         * gst/gstpad.c: (gst_pad_finalize):
28306           fix the static mutex leak
28307
28308 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28309
28310         * check/Makefile.am:
28311           add two more tests for valgrinding
28312         * check/gst/gstvalue.c: (GST_START_TEST):
28313           test refcount of deserialized buffer, found a leak
28314         * docs/gst/gstreamer-docs.sgml:
28315         * docs/gst/gstreamer-sections.txt:
28316         * docs/gst/gstreamer.types:
28317         * docs/gst/tmpl/gstminiobject.sgml:
28318           add miniobject to docs
28319         * gst/gstminiobject.c:
28320           add some docs
28321         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28322         (gst_string_unwrap):
28323           fix a hard-to-find invalid write for one of the tests
28324           fix a leak for deserialized buffers
28325
28326 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28327
28328         * docs/pwg/advanced-events.xml:
28329         * docs/pwg/advanced-request.xml:
28330         * docs/pwg/advanced-scheduling.xml:
28331         * docs/pwg/appendix-porting.xml:
28332         * docs/pwg/building-boiler.xml:
28333         * docs/pwg/intro-preface.xml:
28334         * docs/pwg/other-ntoone.xml:
28335           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28336           of example code and explanation for pad activation, loop() and
28337           getrange() functions and a bit more. Remove old comments pointing
28338           to loop-functions.
28339         * examples/pwg/Makefile.am:
28340           Add loop/getrange examples.
28341
28342 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28343
28344         * configure.ac:
28345           check for valgrind binary + some fixes
28346         * check/gst.supp:
28347           valgrind suppressions for the tests
28348         * check/Makefile.am:
28349           add a valgrind: target that valgrinds the unit tests
28350         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28351         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28352         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28353         * check/gst/gstghostpad.c:
28354           added some cleanup
28355         * check/gst/gstdata.c:
28356           removed
28357         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28358         (thread_unref), (gst_mini_object_suite), (main):
28359           added
28360         * gst/gst.c: (gst_deinit):
28361         * gst/gst.h:
28362           add a method to clean up.
28363         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28364         (gst_system_clock_obtain):
28365           allow for disposing the system clock.
28366         * tools/gst-launch.c: (main):
28367           deinit
28368
28369 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28370
28371         * docs/gst/tmpl/gstbasesrc.sgml:
28372         * docs/gst/tmpl/gstfakesrc.sgml:
28373         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28374         (gst_base_src_init), (gst_base_src_set_property),
28375         (gst_base_src_get_property), (gst_base_src_get_range),
28376         (gst_base_src_start):
28377         * gst/base/gstbasesrc.h:
28378           add num-buffers property
28379         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28380         (gst_fakesrc_init), (gst_fakesrc_set_property),
28381         (gst_fakesrc_get_property), (gst_fakesrc_create),
28382         (gst_fakesrc_start):
28383           remove num-buffers property
28384
28385 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28386
28387         * docs/gst/gstreamer-sections.txt:
28388         * docs/gst/tmpl/gstbasesink.sgml:
28389         * docs/gst/tmpl/gstbasesrc.sgml:
28390         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28391         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28392         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28393         (gst_base_sink_set_property), (gst_base_sink_get_property),
28394         (gst_base_sink_handle_object), (gst_base_sink_event),
28395         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28396         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28397         (gst_base_sink_loop), (gst_base_sink_deactivate),
28398         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28399         (gst_base_sink_change_state):
28400         * gst/base/gstbasesink.h:
28401         * gst/base/gstbasesrc.h:
28402         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28403         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28404         (gst_filesink_init):
28405           more macro splitting
28406
28407 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28408
28409         * gst/gstelement.c: (gst_element_get_bus):
28410           add debug
28411         * tools/gst-launch.c: (check_intr), (event_loop):
28412           fix bus leaks
28413
28414 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28415
28416         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28417           fix a caps leak
28418
28419 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28420
28421         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28422         (gst_base_src_finalize):
28423           add finalize method and clean up properly
28424         * gst/gstpipeline.c: (gst_pipeline_dispose):
28425           add debug
28426
28427 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28428
28429         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28430         (gst_bin_suite):
28431           add more things to check
28432         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28433         * gst/gstelement.c:
28434           more debug
28435
28436 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28437
28438         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28439         (GST_START_TEST), (fakesrc_suite):
28440         * check/gst-libs/gdp.c: (GST_START_TEST):
28441         * check/gst/gst.c: (GST_START_TEST):
28442         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28443         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28444         * check/gst/gstbus.c: (GST_START_TEST):
28445         * check/gst/gstcaps.c: (GST_START_TEST):
28446         * check/gst/gstdata.c: (GST_START_TEST):
28447         * check/gst/gstelement.c: (GST_START_TEST):
28448         * check/gst/gstghostpad.c: (GST_START_TEST):
28449         * check/gst/gstiterator.c: (GST_START_TEST):
28450         * check/gst/gstmessage.c: (GST_START_TEST):
28451         * check/gst/gstobject.c: (GST_START_TEST):
28452         * check/gst/gstpad.c: (GST_START_TEST):
28453         * check/gst/gststructure.c: (GST_START_TEST):
28454         * check/gst/gstsystemclock.c: (GST_START_TEST),
28455         (gst_systemclock_suite):
28456         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28457         * check/gst/gstvalue.c: (GST_START_TEST):
28458         * check/pipelines/cleanup.c: (GST_START_TEST):
28459         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28460         * check/states/sinks.c: (GST_START_TEST):
28461         * check/gstcheck.c: (gst_check_init):
28462         * check/gstcheck.h:
28463           add debugging category
28464           use GST_START_TEST now, so we add a debug line
28465
28466 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28467
28468         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28469           add test for state change message on a bin
28470         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28471           add another test
28472         * gst/gstbin.c: (gst_bin_init):
28473         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28474         * gst/gstelement.c: (gst_element_post_message),
28475         (gst_element_set_state):
28476         * gst/gstelementfactory.c: (gst_element_factory_create):
28477         * gst/gstmessage.c: (gst_message_new):
28478         * gst/gstscheduler.c:
28479           various debugging additions and cleanups
28480
28481 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28482
28483         * check/Makefile.am:
28484         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28485         (main):
28486           adding tests for elements
28487         * gst/gstelement.c: (gst_element_dispose):
28488
28489 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28490
28491         * gst/registries/gstlibxmlregistry.c: (load_feature):
28492           plug more leaks.  A simple gst_init() now is leakfree, yay.
28493
28494 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28495
28496         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28497         (gst_xml_registry_load):
28498           plug another memleak
28499
28500 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28501
28502         * configure.ac:
28503           use GST_SET_ERROR_CFLAGS
28504         * docs/faq/cvs.xml:
28505           change to ERROR_CFLAGS
28506
28507 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28508
28509         * configure.ac:
28510           make GST_ERROR_CFLAGS overridable and re-enable Werror
28511         * docs/faq/cvs.xml:
28512           add a note about error CFLAGS
28513         * docs/gst/tmpl/gstfakesrc.sgml:
28514         * gst/elements/gstfakesrc.c:
28515           comment out some unused code
28516         * gst/gst.c: (split_and_iterate):
28517         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28518         (load_feature):
28519           plug some memleaks
28520
28521 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28522
28523         * common/Makefile.am:
28524         * common/gtk-doc.mak:
28525         * docs/gst/Makefile.am:
28526           factor out gtk-doc.mak
28527
28528 2005-07-07  Wim Taymans  <wim@fluendo.com>
28529
28530         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28531         (gst_thread_scheduler_dispose):
28532         Unlock the STREAM_LOCK completely.
28533
28534 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28535
28536         * check/Makefile.am:
28537         * check/elements/.cvsignore:
28538         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28539         (START_TEST), (fakesrc_suite), (main):
28540         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28541         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28542         (gst_fakesrc_create), (gst_fakesrc_start):
28543         * gst/elements/gstfakesrc.h:
28544           adding a first element test
28545
28546 2005-07-07  Andy Wingo  <wingo@pobox.com>
28547
28548         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28549         debug message.
28550
28551 2005-07-07  Wim Taymans  <wim@fluendo.com>
28552
28553         * gst/gstquery.c:
28554         * gst/gstquery.h:
28555         Remove old types
28556
28557 2005-07-07  Wim Taymans  <wim@fluendo.com>
28558
28559         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28560         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28561         Allow subclasses to implement their own negotiation.
28562
28563 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28564
28565         * docs/design/part-gstbin.txt:
28566         * docs/design/part-gstpipeline.txt:
28567           Update design notes to reflect the movement of
28568           responsibility for bus handling from GstPipeline to
28569           GstBin
28570
28571 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28572
28573         * configure.ac:
28574           Remove unnecessary queue2/3/4 examples.
28575
28576 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28577
28578         * examples/Makefile.am:
28579         * examples/helloworld/helloworld.c: (event_loop), (main):
28580         * examples/queue/queue.c: (event_loop), (main):
28581         * examples/queue2/queue2.c: (main):
28582           Update a couple of the examples to work again.
28583
28584         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28585         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28586          Spelling corrections and extra debug.
28587         
28588         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28589         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28590         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28591         * gst/gstbin.h:
28592         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28593         (gst_pipeline_change_state):
28594         * gst/gstpipeline.h:
28595           Move the bus handler for children to the GstBin, and create a
28596           separate bus for receiving messages from children to the one the
28597           bus sends 'upwards' on.
28598
28599 2005-07-06  Wim Taymans  <wim@fluendo.com>
28600
28601         * gst/base/README:
28602         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28603         (gst_base_sink_handle_object), (gst_base_sink_loop),
28604         (gst_base_sink_change_state):
28605         * gst/base/gstbasesink.h:
28606         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28607         (gst_base_src_init), (gst_base_src_setcaps),
28608         (gst_base_src_getcaps), (gst_base_src_loop),
28609         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28610         (gst_base_src_start), (gst_base_src_change_state):
28611         * gst/base/gstbasesrc.h:
28612         Make basesrc negotiate.
28613         Handle the case where preroll fails in basesink.
28614         Update README.
28615
28616 2005-07-06  Wim Taymans  <wim@fluendo.com>
28617
28618         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28619         Implement the fixate function.
28620         Clean up acceptcaps.
28621
28622 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28623
28624         * docs/pwg/building-filterfactory.xml:
28625         * docs/pwg/pwg.xml:
28626           Remove never-written filter-factory chapter; I'll add the various
28627           base classes to part 4 ("other element types") later on.
28628
28629 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28630
28631         * docs/pwg/advanced-negotiation.xml:
28632         * docs/pwg/building-boiler.xml:
28633         * docs/pwg/building-pads.xml:
28634         * docs/pwg/pwg.xml:
28635         * examples/pwg/Makefile.am:
28636           Add a chapter on caps negotiation, simplify the original code
28637           samples a bit w.r.t. caps negotiation, add link to the advanced
28638           section. Add a bunch of examples showing different use cases of
28639           different types of caps negotiation. Upstream renegotiation isn't
28640           fully documented yet since nobody knows how that works.
28641
28642 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28643
28644         * check/gst/gstpad.c:
28645         * check/gstcheck.c:
28646         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28647           if pad has no parent, return NULL as list of internal links
28648
28649 2005-07-05  Andy Wingo  <wingo@pobox.com>
28650
28651         * gst/elements/gstfilesrc.c:
28652         * gst/elements/gstfakesrc.c: 
28653         * gst/base/gstpushsrc.c:
28654         * gst/base/gstbasesrc.h: 
28655         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28656         
28657 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28658
28659         * Makefile.am:
28660           better report generation target (lcov needs a patch)
28661
28662 2005-07-05  Andy Wingo  <wingo@pobox.com>
28663
28664         * gst/elements, testsuite: Null if we got it...
28665
28666 2005-07-05  Wim Taymans  <wim@fluendo.com>
28667
28668         * configure.ac:
28669         * libs/gst/dataprotocol/Makefile.am:
28670         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28671         * libs/gst/dataprotocol/dataprotocol.h:
28672         * pkgconfig/Makefile.am:
28673         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28674         * pkgconfig/gstreamer-dataprotocol.pc.in:
28675         Ported dataprotol to 0.9. 
28676         Added pkgconfig files.
28677
28678 2005-07-05  Andy Wingo  <wingo@pobox.com>
28679
28680         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28681         Default to returning TRUE for the case when tranform_caps returns
28682         a fixed caps, like for identity or volume.
28683
28684         * check/gst/gstbus.c (pound_bus_with_messages): 
28685         * check/gst/gstmessage.c (START_TEST): 
28686         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28687         message API change.
28688
28689         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28690         logic weaks here: always run transform_caps, trying passthrough
28691         operation only if the original caps intersects with the transform.
28692
28693         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28694         source and sink caps.
28695
28696         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28697         Intersect the peer caps with the pad template before going into
28698         transform_caps.
28699         (gst_base_transform_transform_caps): More debugging.
28700
28701         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28702         src argument.
28703
28704 2005-07-04  Edward Hervey  <edward@fluendo.com>
28705
28706         * gst/gstutils.c:
28707         * gst/gstutils.h:
28708         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28709         in bindings.
28710
28711 2005-07-04  Andy Wingo  <wingo@pobox.com>
28712
28713         * check/gst/gstpad.c: Only set explicit caps on pads.
28714
28715 2005-07-01  Andy Wingo  <wingo@pobox.com>
28716
28717         * tests/network-clock.scm: Commentary update.
28718
28719         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28720         Didn't really make sense, not implementable with basetransform,
28721         etc.
28722         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28723         attempt at implementing the sync property, needs an unlock method.
28724
28725         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28726         New func, by default returns the same caps (the identity
28727         transformation).
28728         (gst_base_transform_getcaps): Uses transform_caps to return
28729         something sensible.
28730         (gst_base_transform_setcaps): Complicated logic to get caps on
28731         both pads, even if they are different, and to call set_caps once
28732         for every time both pads get their caps set.
28733         (gst_base_transform_handle_buffer): Give the ref to the transform
28734         function. Allows in-place modification of the buffer.
28735
28736         * gst/base/gstbasetransform.h (transform_caps): New class method.
28737         Given caps on one side, what can I do on the other.
28738         (set_caps): Take two caps, one for each side of the element.
28739
28740         * gst/gstpad.h:
28741         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28742         caps in place. This is safe because we can check the mutability of
28743         the caps, and a good idea because fixate functions are just called
28744         as a matter of last resort. (Not actually implemented.)
28745         (gst_pad_set_caps): If the caps we're setting is actually the same
28746         as the existing pad caps, just update the pointer without calling
28747         setcaps. Assert that caps is either NULL or fixed, as per the
28748         docs.
28749
28750         * gst/gstghostpad.c: Update for fixate changes.
28751
28752 2005-07-02  Andy Wingo  <wingo@pobox.com>
28753
28754         * gst/gstcaps.c:
28755         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28756         two refcounts makes it immutable, which is enough. Doc more.
28757
28758 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28759
28760         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28761           Put the mini_object into GValue as a mini_object,
28762           not a gpointer, since that's how we declared
28763           the signal.
28764
28765 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28766
28767         * examples/pwg/Makefile.am:
28768           Fix buildbot again.
28769
28770 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28771
28772         * docs/pwg/building-testapp.xml:
28773           Add extra check.
28774         * examples/pwg/Makefile.am:
28775           Fix buildbot.
28776
28777 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28778
28779         * configure.ac:
28780         * examples/Makefile.am:
28781         * examples/pwg/Makefile.am:
28782         * examples/pwg/extract.pl:
28783           Enable building the PWG examples.
28784         * docs/pwg/advanced-interfaces.xml:
28785           Add URI interface stub.
28786         * docs/pwg/advanced-types.xml:
28787         * docs/pwg/other-autoplugger.xml:
28788         * docs/pwg/appendix-porting.xml:
28789         * docs/pwg/pwg.xml:
28790           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28791         * docs/pwg/building-boiler.xml:
28792         * docs/pwg/building-chainfn.xml:
28793         * docs/pwg/building-pads.xml:
28794         * docs/pwg/building-props.xml:
28795         * docs/pwg/building-state.xml:
28796         * docs/pwg/building-testapp.xml:
28797           Update the building-*.xml parts for 0.9 changes. All examples
28798           code blocks compile in examples/pwg/*.
28799
28800 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28801
28802         * docs/manual/advanced-autoplugging.xml:
28803         * docs/manual/appendix-checklist.xml:
28804         * docs/manual/appendix-integration.xml:
28805         * docs/manual/highlevel-components.xml:
28806           Fix playbin/decodebin examples, update docs a bit, mention bus
28807           instead of signals in various places, mention kmplayer and
28808           kaffeine since they have a working GStreamer backend in the KDE
28809           section.
28810
28811 2005-06-30  Wim Taymans  <wim@fluendo.com>
28812
28813         * CHANGES-0.9:
28814         * docs/design/draft-ghostpads.txt:
28815         * docs/design/draft-push-pull.txt:
28816         * docs/design/draft-query.txt:
28817         * docs/design/part-TODO.txt:
28818         * docs/design/part-query.txt:
28819         Added CHANGES-0.9 doc, updated status of other docs.
28820         
28821         * gst/gstquery.h:
28822         Remove "hmm" macro
28823
28824 2005-06-30  Wim Taymans  <wim@fluendo.com>
28825
28826         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28827         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28828         (gst_base_sink_change_state):
28829         * gst/base/gstbasesink.h:
28830         Some tweaks, only EOS and a buffer complete a preroll.
28831
28832 2005-06-30  Andy Wingo  <wingo@pobox.com>
28833
28834         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28835         activate_push down to the internal pad as well.
28836
28837 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28838
28839         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28840
28841         * gst/gsttaginterface.c:
28842           Some documentation fixes (#307394 and #307397).
28843
28844 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28845
28846         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28847
28848         * gst/gstvalue.c: (gst_value_intersect_list):
28849           Fix memleak (#309125).
28850
28851 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28852
28853         * docs/manual/advanced-dataaccess.xml:
28854           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28855         * docs/manual/basics-pads.xml:
28856           Add reference for filtered caps to above chapter.
28857
28858 2005-06-30  Wim Taymans  <wim@fluendo.com>
28859
28860         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28861         (gst_bin_change_state):
28862         Probes are gone.
28863         Lame attempt at making the state change function a bit
28864         more readable.
28865
28866 2005-06-30  Wim Taymans  <wim@fluendo.com>
28867
28868         * docs/design/part-clocks.txt:
28869         * docs/design/part-element-sink.txt:
28870         * docs/design/part-events.txt:
28871         * docs/design/part-preroll.txt:
28872         * docs/design/part-states.txt:
28873         Some more tweeks and additions to the docs.
28874
28875 2005-06-30  Wim Taymans  <wim@fluendo.com>
28876
28877         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28878         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28879         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28880         (gst_pad_check_pull_range), (gst_pad_get_range),
28881         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28882         * gst/gstpad.h:
28883         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28884         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28885         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28886         (gst_pad_remove_buffer_probe):
28887         Removed atomic operations, use existing LOCK.
28888         Move exception handling out of main code path.
28889
28890 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28891
28892         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28893         (silly_return_true_function), (gst_pad_class_init),
28894         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28895         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28896         (gst_pad_send_event):
28897           Fix accumulator, add default value by using _emitv() instead
28898           of _emit() for signal emission.
28899
28900 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28901
28902         * docs/manual/advanced-dataaccess.xml:
28903         * examples/manual/Makefile.am:
28904           Add probe example.
28905         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28906           Make work (??).
28907
28908 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28909
28910         * gst/elements/gstfilesink.c: (gst_filesink_render):
28911           Simplify code so that we don't have to handle short
28912           writes and return GST_FLOW_ERROR if an error occured.
28913
28914 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28915
28916         * docs/gst/gstreamer-docs.sgml:
28917           Remove probes more.
28918
28919 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28920
28921         * docs/gst/gstreamer-sections.txt:
28922         * docs/gst/tmpl/gstpad.sgml:
28923         * docs/gst/tmpl/gstprobe.sgml:
28924         * gst/Makefile.am:
28925         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28926         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28927         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28928         (gst_pad_push_event), (gst_pad_send_event):
28929         * gst/gstpad.h:
28930         * gst/gstutils.c: (gst_pad_add_data_probe),
28931         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28932         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28933         (gst_pad_remove_buffer_probe):
28934         * gst/gstutils.h:
28935           Remove old probes, add new g-signal-based probes and some utility
28936           functions.
28937
28938 2005-06-29  Edward Hervey  <edward@fluendo.com>
28939
28940         * gst/gstelementfactory.c:
28941         * gst/gstutils.h:
28942         * gst/gstutils.c:
28943         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28944         the definition to the header file.
28945
28946 2005-06-29  Andy Wingo  <wingo@pobox.com>
28947
28948         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28949         plugins from the source directory.
28950
28951 2005-06-29  Wim Taymans  <wim@fluendo.com>
28952
28953         * docs/gst/tmpl/gstbuffer.sgml:
28954         * docs/gst/tmpl/gstclock.sgml:
28955         Some fixings for blantently wrong text.
28956
28957 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28958
28959         * check/Makefile.am:
28960         * gst/gst.c: (add_path_func), (init_pre):
28961         * gst/gstregistry.c: (gst_registry_add_path):
28962           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28963           only scan the GST_PLUGIN_PATH locations, and not add
28964           system locations
28965
28966 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28967
28968         * docs/gst/gstreamer-sections.txt:
28969         * docs/gst/tmpl/gstbasesrc.sgml:
28970         * gst/gstelement.c:
28971         * gst/gstelement.h:
28972         * gst/gstevent.c:
28973         * gst/gstutils.c:
28974           doc fixes
28975
28976 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28977
28978         * docs/manual/advanced-autoplugging.xml:
28979           Fix autoplugging example.
28980
28981 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28982
28983         * docs/manual/advanced-autoplugging.xml:
28984         * docs/manual/mime-world.fig:
28985           Try to get autoplugging working, fix type detection. Fix text
28986           in hello-world image.
28987
28988 2005-06-29  Wim Taymans  <wim@fluendo.com>
28989
28990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28991         (gst_base_sink_change_state):
28992         Small debug line.
28993
28994         * gst/gstclock.h:
28995         map SIGNAL and BROADCAST to the right function.
28996
28997         * gst/gstobject.h:
28998         Remove redundant braces.
28999
29000         * gst/gstpad.c: (gst_pad_set_caps):
29001         Don't call setcaps function when reseting caps to NULL.
29002
29003         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29004         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29005         (gst_system_clock_id_unschedule):
29006         Use BROADCAST as this is what we do.
29007
29008 2005-06-29  Wim Taymans  <wim@fluendo.com>
29009
29010         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29011         We are actually prerolling before commiting the state
29012         change. 
29013
29014 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29015
29016         * docs/manual/advanced-clocks.xml:
29017         * docs/manual/advanced-interfaces.xml:
29018         * docs/manual/advanced-metadata.xml:
29019         * docs/manual/advanced-position.xml:
29020         * docs/manual/advanced-schedulers.xml:
29021         * docs/manual/advanced-threads.xml:
29022         * docs/manual/appendix-porting.xml:
29023         * docs/manual/basics-bins.xml:
29024         * docs/manual/basics-bus.xml:
29025         * docs/manual/basics-elements.xml:
29026         * docs/manual/basics-helloworld.xml:
29027         * docs/manual/basics-pads.xml:
29028         * docs/manual/highlevel-components.xml:
29029         * docs/manual/manual.xml:
29030         * docs/manual/thread.fig:
29031           Update (until threads/scheduling) Application Development Manual;
29032           remove GstThread, add GstBus, add simple porting checklist, add
29033           documentation for tag writing, clocks, make all examples until this
29034           part compile and run.
29035         * examples/manual/Makefile.am:
29036           Update from changes to Application Development Manual; add bus
29037           example, remove thread example.
29038
29039 2005-06-28  Wim Taymans  <wim@fluendo.com>
29040
29041         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29042         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29043         (gst_bus_source_dispatch):
29044         Add debugging messages.
29045         Make internal methods static.
29046         Handle the case where the bus is flushed in the handler.
29047         
29048         * gst/gstelement.c: (gst_element_get_bus):
29049         Fix refcount in _get_bus();
29050
29051         * gst/gstpipeline.c: (gst_pipeline_change_state),
29052         (gst_pipeline_get_clock_func):
29053         Clock refcounting fixes.
29054         Handle the case where preroll timed out more gracefully.
29055         
29056         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29057         Clean up the internal thread in dispose. This is needed
29058         for subclasses that actually get disposed.
29059         
29060         * gst/schedulers/threadscheduler.c:
29061         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29062         (gst_thread_scheduler_dispose):
29063         Free thread pool in dispose.
29064
29065 2005-06-28  Andy Wingo  <wingo@pobox.com>
29066
29067         * tests/network-clock-utils.scm (debug, print-event): New utils.
29068
29069         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29070         (*packet-loss*): Unified loss probability.
29071         (network-time): Report out-of-band events.
29072
29073         * tests/plot-data: Add support for out-of-band events. Hack it
29074         into this script instead of passing it down the pipe; should fix
29075         this later.
29076
29077 2005-06-28  Wim Taymans  <wim@fluendo.com>
29078
29079         * docs/gst/gstreamer.types:
29080         * docs/gst/tmpl/gstbasesrc.sgml:
29081         * docs/gst/tmpl/gstpad.sgml:
29082         Docs fixes.
29083
29084 2005-06-28  Wim Taymans  <wim@fluendo.com>
29085
29086         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29087         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29088         (gst_proxy_pad_do_fixatecaps):
29089         Correctly proxy the check_pull_range function.
29090
29091 2005-06-28  Andy Wingo  <wingo@pobox.com>
29092
29093         * tests/network-clock.scm: Removed need for slib.
29094         
29095 2005-06-28  Wim Taymans  <wim@fluendo.com>
29096
29097         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29098         (gst_basesink_preroll_queue_flush):
29099         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29100         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29101         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29102         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29103         (gst_proxy_pad_set_property):
29104         * gst/gstpad.c:
29105         * gst/gstpad.h:
29106         * gst/gstqueue.c: (gst_queue_init):
29107         The deprecated pad loop function is removed now.
29108
29109 2005-06-28  Andy Wingo  <wingo@pobox.com>
29110
29111         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29112         New parameters, simulate network packet loss.
29113
29114         * tests/network-clock-utils.scm: Initialize the RNG.
29115
29116 2005-06-28  Wim Taymans  <wim@fluendo.com>
29117
29118         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29119         (gst_basesink_event), (gst_basesink_deactivate):
29120         Flushing the preroll queue always needs to unlock the waiters.
29121
29122 2005-06-28  Edward Hervey  <edward@fluendo.com>
29123
29124         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29125         Wheen a seek was successful on a pipeline, set the stream_time to the
29126         seek offset in order to have a synchronized stream_time.
29127
29128 2005-06-28  Wim Taymans  <wim@fluendo.com>
29129
29130         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29131         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29132         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29133         (gst_proxy_pad_do_fixatecaps):
29134         Call wrapper function instead of just calling the function
29135         pointers. This takes care of any locking and whatmore.
29136
29137 2005-06-28  Wim Taymans  <wim@fluendo.com>
29138
29139         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29140         (gst_pad_pull_range):
29141         * gst/gstpad.h:
29142         CONNECTED -> LINKED.
29143
29144 2005-06-28  Andy Wingo  <wingo@pobox.com>
29145
29146         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29147         source-munging commit!!!
29148
29149         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29150         (gst_object_sink): Take gpointer arguments, not GstObject --
29151         avoids casts. Like GLib.
29152
29153         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29154         activate.
29155
29156 2005-06-27  Andy Wingo  <wingo@pobox.com>
29157
29158         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29159         remaining buffer.
29160
29161         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29162         returns a sorted copy of the trace list.
29163         (gst_alloc_trace_print_live): New API, only prints traces with
29164         live objects. Sort the list.
29165         (gst_alloc_trace_print_all): Sort the list.
29166         (gst_alloc_trace_print): Align columns.
29167
29168         * gst/elements/gstttypefindelement.c:
29169         * gst/elements/gsttee.c:
29170         * gst/base/gstbasesrc.c:
29171         * gst/base/gstbasesink.c:
29172         * gst/base/gstbasetransform.c:
29173         * gst/gstqueue.c: Adapt for pad activation changes.
29174
29175         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29176         sched.
29177         (gst_pipeline_dispose): Drop ref on sched.
29178
29179         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29180         (gst_pad_activate_default): Push mode by default.
29181         (pre_activate_switch, post_activate_switch): New stubs, things to
29182         do before and after switching activation modes on pads.
29183         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29184         the pad's activate function to choose which mode to activate.
29185         Shortcut on deactivation and call the right function directly.
29186         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29187         mode.
29188         (gst_pad_activate_push): New API, same for push mode.
29189         (gst_pad_set_activate_function) 
29190         (gst_pad_set_activatepull_function) 
29191         (gst_pad_set_activatepush_function): Setters for new API.
29192
29193         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29194         Trace all miniobjects.
29195         (gst_mini_object_make_writable): Unref the arg if we copy, like
29196         gst_caps_make_writable.
29197
29198         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29199
29200         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29201         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29202         Adapt for new pad API.
29203
29204         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29205
29206         * gst/gstelement.h:
29207         * gst/gstelement.c (gst_element_iterate_src_pads) 
29208         (gst_element_iterate_sink_pads): New API functions.
29209         
29210         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29211         should fold into gstiterator.c in some form.
29212         (gst_element_pads_activate): Simplified via use of fold and
29213         delegation of decisions to gstpad->activate.
29214
29215         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29216         help in debugging.
29217
29218         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29219         class once in init, like gstmessage. Didn't run into this issue
29220         but it seems correct. Don't initialize a trace, gstminiobject does
29221         that.
29222
29223         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29224         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29225         to the bus.
29226         (assert_live_count): New util function, uses alloc traces to check
29227         cleanup.
29228
29229         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29230         To be modified when unlink drops the internal pad.
29231
29232 2005-06-27  Wim Taymans  <wim@fluendo.com>
29233
29234         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29235         (gst_bin_change_state):
29236         Cleanup the get_state() function a little, make sure it
29237         iterates the same set of elements.
29238         Added stub iterate_state_order().
29239
29240 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29241
29242         * docs/gst/gstreamer-docs.sgml:
29243         * docs/gst/gstreamer-sections.txt:
29244         * docs/gst/gstreamer.types:
29245         * docs/gst/tmpl/gstbasesink.sgml:
29246         * docs/gst/tmpl/gstbasesrc.sgml:
29247         * docs/gst/tmpl/gstbasetransform.sgml:
29248         * docs/gst/tmpl/gstelement.sgml:
29249         * docs/gst/tmpl/gstiterator.sgml:
29250         * gst/base/gstbasesrc.c:
29251         * gst/base/gstbasesrc.h:
29252         * gst/base/gstbasetransform.h:
29253         * gst/gstelement.c:
29254         * gst/gstiterator.h:
29255           adding basetransform and iterator docs
29256
29257 2005-06-27  Andy Wingo  <wingo@pobox.com>
29258
29259         * docs/design/part-activation.txt: Notes on how activation should
29260         work -- not quite implemented yet.
29261
29262 2005-06-25  Wim Taymans  <wim@fluendo.com>
29263
29264         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29265         At least get the chain function correct, needs more
29266         fixing.
29267
29268 2005-06-25  Wim Taymans  <wim@fluendo.com>
29269
29270         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29271         (gst_basesink_handle_object), (gst_basesink_event),
29272         (gst_basesink_do_sync), (gst_basesink_handle_event),
29273         (gst_basesink_change_state):
29274         * gst/gsttask.h:
29275         Right, two problems here: ghostpads don't take locks and
29276         glib _rec_mutex_lock_full() with depth==0 still locks.
29277         Catch illegal locking and g_warn them.
29278
29279 2005-06-25  Wim Taymans  <wim@fluendo.com>
29280
29281         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29282         Have to check for completion now...
29283
29284 2005-06-25  Wim Taymans  <wim@fluendo.com>
29285
29286         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29287         (gst_basesink_handle_object), (gst_basesink_event),
29288         (gst_basesink_do_sync), (gst_basesink_handle_event),
29289         (gst_basesink_change_state):
29290         * gst/gstpad.h:
29291         Unlock STREAM_LOCK whatever the recursion was.
29292
29293 2005-06-25  Wim Taymans  <wim@fluendo.com>
29294
29295         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29296         (gst_basesink_preroll_queue_empty),
29297         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29298         (gst_basesink_event), (gst_basesink_do_sync),
29299         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29300         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29301         (gst_basesink_change_state):
29302         Reworked the base sink, handle event and buffer serialisation
29303         correctly and removed possible deadlock.
29304         Handle EOS correctly.
29305
29306 2005-06-25  Wim Taymans  <wim@fluendo.com>
29307
29308         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29309         (gst_pipeline_change_state):
29310         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29311         Allow elements to post EOS in the state change function.
29312         Fix up -launch, make it exit the poll loop when the
29313         pipeline actually changed state.
29314         Fix up warning parsing in -launch.
29315
29316 2005-06-25  Wim Taymans  <wim@fluendo.com>
29317
29318         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29319         (gst_tee_sink_activate):
29320         Core takes STREAM_LOCK for us now.
29321
29322 2005-06-25  Wim Taymans  <wim@fluendo.com>
29323
29324         * gst/gstelement.c: (gst_element_get_state_func),
29325         (gst_element_set_state):
29326         * gst/gstelement.h:
29327         * gst/gstmessage.c: (gst_message_parse_error),
29328         (gst_message_parse_warning):
29329         Keep track of current target state while performing a state
29330         change so that subclasses can do something interesting.
29331         Fix parsing of warning/error messages when GError is NULL.
29332
29333 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29334
29335         * docs/gst/Makefile.am:
29336         * docs/gst/gstreamer-docs.sgml:
29337         * docs/gst/gstreamer-sections.txt:
29338         * docs/gst/gstreamer.types:
29339         * docs/gst/tmpl/gstbasesink.sgml:
29340         * docs/gst/tmpl/gstbasesrc.sgml:
29341         * docs/gst/tmpl/gstbin.sgml:
29342         * docs/gst/tmpl/gstcompat.sgml:
29343         * docs/gst/tmpl/gstfakesink.sgml:
29344         * docs/gst/tmpl/gstfakesrc.sgml:
29345         * docs/gst/tmpl/gstfilesink.sgml:
29346         * docs/gst/tmpl/gstfilesrc.sgml:
29347         * docs/gst/tmpl/gstindex.sgml:
29348         * docs/manual/appendix-quotes.xml:
29349         * gst/base/gstbasesrc.h:
29350         * gst/elements/gstfakesrc.h:
29351         * gst/gstmessage.h:
29352           start pulling in base classes and elements in our docs
29353
29354 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29355
29356         * docs/gst/Makefile.am:
29357         * docs/libs/Makefile.am:
29358           fixed make distcheck with gtk-doc 1.3
29359
29360 2005-06-23  Wim Taymans  <wim@fluendo.com>
29361
29362         * gst/gstelement.c: (gst_element_get_state_func),
29363         (gst_element_set_state), (gst_element_change_state):
29364         When the state did not change, also report NO_PREROLL
29365         when it matters.
29366
29367 2005-06-23  Wim Taymans  <wim@fluendo.com>
29368
29369         * gst/gstpad.c: (gst_pad_event_default):
29370         * gst/gstqueue.c: (gst_queue_loop):
29371         No unsafe task pausing please.
29372
29373 2005-06-23  Wim Taymans  <wim@fluendo.com>
29374
29375         * gst/schedulers/threadscheduler.c:
29376         (gst_thread_scheduler_task_start),
29377         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29378         Ref the task before pushing it on the threadpool. This
29379         makes sure that we have a ref when the threadfunction is
29380         actually called.
29381
29382 2005-06-23  Andy Wingo  <wingo@pobox.com>
29383
29384         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29385         offset is greater than the file's size.
29386
29387         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29388         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29389         * gst/gstobject.c (gst_object_class_init): Make the class lock
29390         recursive. Wim won't let me drop deep_notify. Decodebin works
29391         again, whoopdy doo.
29392
29393         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29394         internal pad, and hacks accordingly. Doesn't do it on the target
29395         pad because we change its caps. Probably catches all cases of
29396         interest tho.
29397         (gst_ghost_pad_set_property): Connect to notify::caps as
29398         appropritate.
29399
29400         * tests/network-clock.scm (plot-simulation): Pipe data to the
29401         elite python skript.
29402
29403         * tests/network-clock-utils.scm (define-parameter): New macro,
29404         defines a parameter that can be set via the command line.
29405         (set-parameter!, parse-parameter-arguments): Command line args
29406         parser.
29407
29408         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29409         stdin.
29410
29411 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29412
29413         * gst/elements/gsttypefindelement.c:
29414         (gst_type_find_element_handle_event):
29415           Don't restart typefinding on a discont.
29416         * gst/gstelement.c: (gst_element_set_state):
29417           Debug spelling fix.
29418         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29419           Allow changing mode of an active pad.
29420           Debug output fixes.
29421         * gst/registries/gstlibxmlregistry.c: (load_feature):
29422           Don't cast a static pad template to a normal pad template.
29423
29424 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29425
29426         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29427         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29428           remove gst_strtoll completely, since it didn't actually do
29429           anything more than what g_ascii_strtoull already does.
29430           check for range errors when deserializing
29431           do a cast for the unsigned cases; but further fixing needs
29432           a decision on what the interpretation of "(int)" and
29433           deserialization should be for values that fall outside the
29434           type's boundaries (ie, refuse, or interpret as casting)
29435
29436 2005-06-23  Wim Taymans  <wim@fluendo.com>
29437
29438         * check/Makefile.am:
29439         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29440         * docs/design/part-live-source.txt:
29441         * docs/design/part-states.txt:
29442         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29443         (gst_basesrc_set_live), (gst_basesrc_is_live),
29444         (gst_basesrc_get_range), (gst_basesrc_activate),
29445         (gst_basesrc_change_state):
29446         * gst/base/gstbasesrc.h:
29447         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29448         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29449         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29450         * gst/gstelement.c: (gst_element_get_state_func),
29451         (gst_element_set_state):
29452         * gst/gstelement.h:
29453         * gst/gsttypes.h:
29454         * tools/gst-launch.c: (event_loop), (main):
29455         Added support for live sources and other elements that
29456         cannot do preroll.
29457         Updated design docs, added live-source design doc.
29458         Implemented live source functionality in basesrc
29459         Fix error condition in _bin_get_state()
29460         Implement live source handling in -launch.
29461         Added check for live sources.
29462         Fixed case in GstBin where elements were changed state
29463         multiple times.
29464
29465
29466 2005-06-23  Andy Wingo  <wingo@pobox.com>
29467
29468         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29469         borken refcounting.
29470
29471         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29472         gst_caps_replace takes care of this for us.
29473
29474         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29475         gst_pad_set_caps on the target, not just its setcaps() function.
29476
29477         * tests/network-clock.scm: 
29478         * tests/network-clock-utils.scm: A network clock simulator.
29479         Something of an algorithmic testbed before doing something in C.
29480
29481 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29482
29483         * check/Makefile.am:
29484         * check/gst/capslist.h:
29485           copy over from 0.8, and add two with bitmasks specified with
29486           (int) 0xFF...
29487         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29488           add test to parse everything from capslist.h
29489         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29490         (main):
29491           add test for structure deserialization
29492         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29493           add tests for deserialization of strings to int types
29494         * gst/gststructure.c: (gst_structure_nth_field_name):
29495         * gst/gststructure.h:
29496           add a way to get the name of a field referenced by index
29497         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29498           instead of checking if the resulting long long lies between
29499           min and max, we check if the long long would fit into
29500           a number of bytes for the final type.
29501           This fixes cases where a string represents 2^32 - 1, which
29502           when cast to int would be the (valid) -1, but is bigger than
29503           G_MAXINT
29504
29505 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29506
29507         * gst/parse/grammar.y:
29508           add a log line for type deserialization
29509
29510 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29511
29512         * check/gst/gstvalue.c: (START_TEST):
29513         * gst/gstvalue.c: (gst_value_deserialize):
29514           return long long, not int, so gint64 deserialization actually
29515           works.  Is there any flag that makes the compiler check this ?
29516           Fixes #308559
29517
29518 2005-06-22  Wim Taymans  <wim@fluendo.com>
29519
29520         * gst/gstbuffer.h:
29521         Added convenience macros for setting buffers in GValue.
29522
29523 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29524
29525         * check/gst/.cvsignore:
29526         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29527           add a test deserializing int64, and comment part out because
29528           it fails, yay !
29529
29530 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29531
29532         * check/Makefile.am:
29533         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29534         * testsuite/Makefile.am:
29535         * testsuite/caps/Makefile.am:
29536         * testsuite/caps/value_serialize.c:
29537         * testsuite/test_gst_init.c:
29538           move a value_serialize test over
29539
29540 2005-06-20  Wim Taymans  <wim@fluendo.com>
29541
29542         * gst/gstpad.c:
29543         Small doc updates.
29544         
29545         * gst/gstvalue.c: (gst_value_compare_buffer),
29546         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29547         (gst_value_compare_flags), (gst_value_serialize_flags),
29548         (gst_value_deserialize_flags), (_gst_value_initialize):
29549         Fix serialisation of buffers, they are not boxed types anymore
29550
29551 2005-06-20  Wim Taymans  <wim@fluendo.com>
29552
29553         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29554         Testcase to show error in buffer-on-caps serialisation.
29555
29556 2005-06-20  Andy Wingo  <wingo@pobox.com>
29557
29558         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29559         will be adding to later.
29560
29561         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29562         if its socks fill with rocks.
29563         (gst_system_clock_obtain): Set the name on object construction.
29564         Avoid double-checked locking.
29565
29566 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29567
29568         * gst/gsturi.c: (gst_element_make_from_uri):
29569           Fix potential endless loop.
29570
29571 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29572
29573         * check/Makefile.am:
29574           add gsttag
29575         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29576         (main):
29577           move over from testsuite dir and clean up
29578         * configure.ac:
29579         * gst/gsttag.c:
29580         * testsuite/Makefile.am:
29581         * testsuite/tags/.cvsignore:
29582         * testsuite/tags/Makefile.am:
29583         * testsuite/tags/merge.c:
29584           remove testsuite/tags
29585
29586 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29587
29588         * docs/gst/gstreamer-sections.txt:
29589         * docs/gst/tmpl/gstenumtypes.sgml:
29590         * win32/gstenumtypes.c:
29591           clean up documentation build a little
29592
29593 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29594
29595         * check/gstcheck.h:
29596           add macros for checking refcounts on objects and caps
29597         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29598           add some more unit tests
29599         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29600         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29601           fix leaked refcounts (I hope :)) so unittest works
29602         * gst/gstpad.h:
29603           whitespace removal
29604
29605 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29606
29607         * configure.ac: back to HEAD
29608
29609 === release 0.9.1 ===
29610
29611 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29612
29613         * NEWS:
29614         * RELEASE:
29615           updated
29616
29617 2005-06-17  Andy Wingo  <wingo@pobox.com>
29618
29619         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29620         assert; it's always possible that the pad gets deactivated in
29621         between the checks in gstpad.c and the implementation. Rely on
29622         finish_preroll() to return a FLUSHING or similar instead of on the
29623         assert.
29624         
29625         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29626         clock and post an EOS message if we come out of finish_preroll in
29627         the playing state.
29628
29629 2005-06-16  David Schleef  <ds@schleef.org>
29630
29631         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29632         (gst_capsfilter_set_property): Allow NULL as possible value
29633         for filter_caps property, indicating GST_CAPS_ANY.
29634
29635 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29636
29637         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29638           fix debug output
29639         * gst/schedulers/Makefile.am:
29640           use libgst prefix
29641         * gstreamer.spec.in:
29642           fix spec for it
29643
29644 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29645
29646         * gstreamer.spec.in:
29647           clean up
29648
29649 2005-06-08  Andy Wingo  <wingo@pobox.com>
29650
29651         * gst/gstutils.c: RPAD fixes all around.
29652         (gst_element_link_pads): Refcounting fixes.
29653
29654         * tools/gst-inspect.c:
29655         * tools/gst-xmlinspect.c:
29656         * parse/grammar.y:
29657         * gst/base/gsttypefindhelper.c:
29658         * gst/base/gstbasesink.c:
29659         * gst/gstqueue.c: RPAD fixes.
29660
29661         * gst/gstghostpad.h:
29662         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29663         pads. The tricky thing is they provide both source and sink
29664         interfaces, since they proxy the internal pad for the external
29665         pad, and vice versa. Implement with lower-level ProxyPad objects,
29666         with the interior proxy pad as a child of the exterior ghost pad.
29667         Should write a doc on this.
29668         
29669         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29670         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29671         gst_object API.
29672         
29673         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29674         pads are real pads. No ghost pads in this file. Not documenting
29675         the myriad s/RPAD/PAD/ and REALIZE fixes.
29676         (gst_pad_class_init): Add properties for "direction" and
29677         "template". Both are construct-only, so they can't change during
29678         the life of the pad. Fixes properly deriving from GstPad.
29679         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29680         derived objects, just set properties when creating the objects via
29681         g_object_new.
29682         (gst_pad_get_parent): Implement as a function, return NULL if the
29683         parent is not an element.
29684         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29685         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29686         
29687         * gst/gstobject.c (gst_object_class_init): Make name a construct
29688         property. Don't set it in the object init.
29689
29690         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29691         with UNKNOWN direction.
29692         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29693         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29694         (gst_element_remove_pad): Remove ghost-pad special cases.
29695         (gst_element_pads_activate): Remove rpad cruft.
29696
29697         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29698         catch the pad's-parent-not-an-element case.
29699
29700         * gst/gst.h: Include gstghostpad.h.
29701
29702         * gst/gst.c (init_post): No more real, ghost pads.
29703
29704         * gst/Makefile.am: Add gstghostpad.[ch].
29705
29706         * check/Makefile.am:
29707         * check/gst/gstbin.c:
29708         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29709         into a bin creates ghost pads, and that the refcounts are right.
29710         Partly moved from gstbin.c.
29711
29712 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29713
29714         * check/gst-libs/.cvsignore:
29715         * check/gst/.cvsignore:
29716         * check/pipelines/.cvsignore:
29717           ignore more
29718         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29719         (START_TEST), (cleanup_suite), (main):
29720           add some tests related to cleanup after running pipelines
29721
29722 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29723
29724         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29725           add a testsuite for GstBuffer
29726
29727 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29728
29729         * gst/gstminiobject.h:
29730           add defines for accessing the refcount
29731
29732 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29733
29734         * Makefile.am: added support for html unit test coverage reports
29735
29736 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29737
29738         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29739           Free existing caps if the capsfilter changes. Add a FIXME about
29740           setting those caps on the pads.
29741
29742         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29743           Before adding a ghost pad to a parent bin, check that there isn't
29744           already one for the element on the bin. Prevents infinite recursion
29745           when using decodebin in parse pipelines. Andy says he'll rewrite the
29746           way this works anyway, so ignore the hack.
29747
29748 2005-06-02  Andy Wingo  <wingo@pobox.com>
29749
29750         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29751         file size, pass it on to the type find helper.
29752
29753         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29754         segment_start and segment_end properly according to the seek
29755         method. Segment_end is still a bit flaky because offset can be
29756         negative for CUR and END cases, but it takes -1 as an "unset"
29757         value.
29758
29759 2005-06-02  Wim Taymans  <wim@fluendo.com>
29760
29761         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29762         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29763         (gst_basesink_activate):
29764         * gst/base/gstbasesink.h:
29765         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29766         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29767         (gst_pad_query), (gst_pad_start_task):
29768         * gst/gstpad.h:
29769         * gst/gstqueue.c: (gst_queue_bufferalloc),
29770         (gst_queue_handle_sink_event), (gst_queue_chain):
29771         Bufferalloc: return GstFlowReturn to more accuratly report
29772         why allocation failed.
29773
29774 2005-06-02  Wim Taymans  <wim@fluendo.com>
29775
29776         * gst/gstpipeline.c: (gst_pipeline_send_event):
29777         Take snapshot of state without blocking.
29778
29779 2005-06-02  Wim Taymans  <wim@fluendo.com>
29780
29781         * docs/design/part-TODO.txt:
29782         * docs/design/part-caps.txt:
29783         * docs/design/part-clocks.txt:
29784         * docs/design/part-negotiation.txt:
29785         * docs/design/part-preroll.txt:
29786         Small doc updates 
29787
29788 2005-05-30  Wim Taymans  <wim@fluendo.com>
29789
29790         * gst/elements/gstidentity.c: (gst_identity_event),
29791         (gst_identity_transform), (gst_identity_get_property):
29792         Protect last_message property as it is accessed from
29793         multiple threads.
29794
29795 2005-05-30  Wim Taymans  <wim@fluendo.com>
29796
29797         * gst/gstelement.c: (gst_element_init),
29798         (gst_element_pads_activate), (gst_element_change_state):
29799         Slicker pad activation code.
29800
29801 2005-05-30  Wim Taymans  <wim@fluendo.com>
29802
29803         * gst/Makefile.am:
29804         * gst/gstelement.h:
29805         * gst/gstelementfactory.h:
29806         * gst/gsttypes.h:
29807         Move elementfactory methods to separate .h file.
29808
29809 2005-05-30  Wim Taymans  <wim@fluendo.com>
29810
29811         * docs/design/part-overview.txt:
29812         * gst/gstsystemclock.h:
29813         Small typo fixes, doc updates.
29814
29815 2005-05-30  Wim Taymans  <wim@fluendo.com>
29816
29817         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29818         (init_popt_callback):
29819         Remove cpu-opt flag.
29820
29821 2005-05-30  Wim Taymans  <wim@fluendo.com>
29822
29823         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29824         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29825         * gst/gstbuffer.h:
29826         Avoid typechecking in places where not needed.
29827         Added accessor for malloc_data.
29828
29829 2005-05-30  Wim Taymans  <wim@fluendo.com>
29830
29831         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29832         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29833         (gst_pad_configure_sink), (gst_pad_configure_src),
29834         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29835         (gst_pad_start_task):
29836         Propagate errors from _set_caps() in configure_src/sink
29837         functions instead of returning TRUE.
29838         FLUSH events can travel up and downstream
29839
29840
29841 2005-05-30  Wim Taymans  <wim@fluendo.com>
29842
29843         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29844         (gst_basesink_activate):
29845         Handle EOS in preroll.
29846
29847 2005-05-30  Wim Taymans  <wim@fluendo.com>
29848
29849         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29850         (gst_queue_loop), (gst_queue_handle_src_event):
29851         Remove old pieces of code
29852         Flushing the queue in an upstream event is a very bad idea.
29853
29854 2005-05-26  Andy Wingo  <wingo@pobox.com>
29855
29856         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29857         gst_value_set_mini_object so as to add a ref on the object (which
29858         will be removed when the value is unset).
29859
29860         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29861         arg type in ::handoff.
29862
29863         * gst/gstelement.c (gst_element_change_state): Also deactivate
29864         pads in READY->NULL, just in case the element didn't make it to
29865         PAUSED. Wingo tested, Wim approved.
29866
29867 2005-05-26  Wim Taymans  <wim@fluendo.com>
29868
29869         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29870         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29871         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29872         A flushing pad cannot be used to alloc_buffer from.
29873
29874 2005-05-26  Wim Taymans  <wim@fluendo.com>
29875
29876         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29877         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29878         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29879         (gst_bus_create_watch), (gst_bus_add_watch_full):
29880         * gst/gstbus.h:
29881         Implement a real GSource and use g_main_context_wakeup() to
29882         signal new messages instead of the socketpair.
29883
29884 2005-05-25  Wim Taymans  <wim@fluendo.com>
29885
29886         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29887         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29888         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29889         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29890         (gst_pad_send_event), (gst_pad_start_task):
29891         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29892         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29893         (gst_queue_sink_activate), (gst_queue_src_activate),
29894         (gst_queue_change_state):
29895         * gst/gstqueue.h:
29896         Fix state changes for non sinks. We now change sinks, then elements
29897         with unconnected srcpads, then the rest.
29898         More efficient queue unlocking in flush and state changes.
29899         Set the pad activate mode even if it does not have an activate
29900         function.
29901
29902 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29903
29904         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29905           Don't go in pull mode for non-seekable sources.
29906         * gst/elements/gsttypefindelement.h:
29907         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29908         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29909         (free_entry), (stop_typefinding),
29910         (gst_type_find_element_handle_event), (find_peek),
29911         (gst_type_find_element_chain), (do_pull_typefind),
29912         (gst_type_find_element_change_state):
29913           Allow typefinding (w/o seeking) in push-mode, simplified version
29914           of what was in 0.8.
29915         * gst/gstutils.c: (gst_buffer_join):
29916         * gst/gstutils.h:
29917           gst_buffer_join() from 0.8.
29918
29919 2005-05-25  Wim Taymans  <wim@fluendo.com>
29920
29921         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29922         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29923         (gst_pad_send_event), (gst_pad_start_task):
29924         Disable attempt at mode switching until it is figured out.
29925
29926 2005-05-25  Wim Taymans  <wim@fluendo.com>
29927
29928         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29929         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29930         (gst_basesink_finish_preroll), (gst_basesink_chain),
29931         (gst_basesink_loop), (gst_basesink_activate),
29932         (gst_basesink_change_state):
29933         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29934         (gst_basesrc_get_range), (gst_basesrc_loop),
29935         (gst_basesrc_activate):
29936         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29937         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29938         (gst_real_pad_init), (gst_real_pad_set_property),
29939         (gst_real_pad_get_property), (gst_pad_set_active),
29940         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29941         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29942         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29943         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29944         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29945         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29946         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29947         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29948         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29949         (gst_pad_stop_task):
29950         * gst/gstpad.h:
29951         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29952         (gst_queue_loop), (gst_queue_src_activate):
29953         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29954         (gst_task_get_state):
29955         * gst/gsttask.h:
29956         * gst/schedulers/threadscheduler.c:
29957         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29958         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29959         in task function.
29960         Remove ACTIVE pad flag, use FLUSHING everywhere
29961         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29962         functions.
29963         Add locks around IS_FLUSHING when reading.
29964         Take STREAM lock in chain(), get_range() functions so plugins
29965         don't need to take it anymore.
29966         
29967
29968
29969 2005-05-25  Wim Taymans  <wim@fluendo.com>
29970
29971         * tools/gst-launch.c: (event_loop):
29972         Unref message after using its contents instead of
29973         before.
29974
29975 2005-05-24  Wim Taymans  <wim@fluendo.com>
29976
29977         * docs/design/draft-ghostpads.txt:
29978         * docs/design/draft-push-pull.txt:
29979         * docs/design/draft-query.txt:
29980         * docs/design/part-overview.txt:
29981         Docs updates, added general overview doc.
29982
29983 2005-05-21  David Schleef  <ds@schleef.org>
29984
29985         * docs/gst/tmpl/old/GstBin.sgml:
29986         * docs/gst/tmpl/old/GstBuffer.sgml:
29987         * docs/gst/tmpl/old/GstCaps.sgml:
29988         * docs/gst/tmpl/old/GstClock.sgml:
29989         * docs/gst/tmpl/old/GstCompat.sgml:
29990         * docs/gst/tmpl/old/GstData.sgml:
29991         * docs/gst/tmpl/old/GstElement.sgml:
29992         * docs/gst/tmpl/old/GstEvent.sgml:
29993         * docs/gst/tmpl/old/GstIndex.sgml:
29994         * docs/gst/tmpl/old/GstStructure.sgml:
29995         * docs/gst/tmpl/old/GstTag.sgml:
29996         * docs/gst/tmpl/old/cothreads.sgml:
29997         * docs/gst/tmpl/old/cothreads_compat.sgml:
29998         * docs/gst/tmpl/old/gettext.sgml:
29999         * docs/gst/tmpl/old/gobject2gtk.sgml:
30000         * docs/gst/tmpl/old/grammar.tab.sgml:
30001         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30002         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30003         * docs/gst/tmpl/old/gst_private.sgml:
30004         * docs/gst/tmpl/old/gstaggregator.sgml:
30005         * docs/gst/tmpl/old/gstarch.sgml:
30006         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30007         * docs/gst/tmpl/old/gstbufferstore.sgml:
30008         * docs/gst/tmpl/old/gstdata_private.sgml:
30009         * docs/gst/tmpl/old/gstdisksink.sgml:
30010         * docs/gst/tmpl/old/gstdisksrc.sgml:
30011         * docs/gst/tmpl/old/gstelementfactory.sgml:
30012         * docs/gst/tmpl/old/gstextratypes.sgml:
30013         * docs/gst/tmpl/old/gstfakesink.sgml:
30014         * docs/gst/tmpl/old/gstfakesrc.sgml:
30015         * docs/gst/tmpl/old/gstfdsink.sgml:
30016         * docs/gst/tmpl/old/gstfdsrc.sgml:
30017         * docs/gst/tmpl/old/gstfilesink.sgml:
30018         * docs/gst/tmpl/old/gstfilesrc.sgml:
30019         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30020         * docs/gst/tmpl/old/gstidentity.sgml:
30021         * docs/gst/tmpl/old/gstindexfactory.sgml:
30022         * docs/gst/tmpl/old/gstmarshal.sgml:
30023         * docs/gst/tmpl/old/gstmd5sink.sgml:
30024         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30025         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30026         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30027         * docs/gst/tmpl/old/gstpipefilter.sgml:
30028         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30029         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30030         * docs/gst/tmpl/old/gstshaper.sgml:
30031         * docs/gst/tmpl/old/gstspider.sgml:
30032         * docs/gst/tmpl/old/gstspideridentity.sgml:
30033         * docs/gst/tmpl/old/gststatistics.sgml:
30034         * docs/gst/tmpl/old/gsttee.sgml:
30035         * docs/gst/tmpl/old/gsttimecache.sgml:
30036         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30037         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30038         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30039         * docs/gst/tmpl/old/types.sgml:
30040           I didn't intend to add these or check them in.
30041
30042 2005-05-19  David Schleef  <ds@schleef.org>
30043
30044         * configure.ac: Use -no-common everywhere.  In a sane world, it
30045           would be the default in libtool, because without it, you can't
30046           build DLLs on Windows.
30047         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30048         * docs/gst/gstreamer-sections.txt:
30049         * docs/gst/tmpl/gstcpu.sgml:
30050         * docs/gst/tmpl/gstdata.sgml:
30051         * docs/gst/tmpl/gstthread.sgml:
30052
30053 2005-05-19  David Schleef  <ds@schleef.org>
30054
30055         * gst/gstminiobject.c: (gst_value_set_mini_object),
30056         (gst_value_take_mini_object), (gst_value_get_mini_object):
30057         * gst/gstminiobject.h: Add GValue set/get functions.
30058
30059 2005-05-19  Wim Taymans  <wim@fluendo.com>
30060
30061         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30062         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30063         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30064         * gst/gstbuffer.h:
30065         * gst/gstbus.c: (gst_bus_post):
30066         * gst/gstelement.c: (gst_element_get_random_pad):
30067         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30068         Make subbufer unref the parent in finalize.
30069         some more debugging info.
30070
30071
30072 2005-05-19  Wim Taymans  <wim@fluendo.com>
30073
30074         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30075         (gst_basesink_init), (gst_basesink_finalize),
30076         (gst_basesink_activate), (gst_basesink_change_state):
30077         Don't free preroll queue too early.
30078
30079 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30080
30081         * gst/Makefile.am:
30082         * gst/ROADMAP:
30083           Hi, I'm outdated. Please shoot me.
30084
30085 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30086
30087         * gst/gstpipeline.c: (gst_pipeline_send_event):
30088           Do not access variables after they have been deleted.
30089
30090 2005-05-19  Wim Taymans  <wim@fluendo.com>
30091
30092         * tools/gst-inspect.c: (print_plugin_features):
30093         A plugin feature does unfortunatly not use the
30094         object name yet...
30095
30096 2005-05-18  Wim Taymans  <wim@fluendo.com>
30097
30098         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30099         Port _span() functions to new subbuffers.
30100
30101 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30102
30103         * gst/gstbin.c: (gst_bin_add_func):
30104           Fix clock settery in bins when adding kids after the clock has
30105           been selected.
30106
30107 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30108
30109         * gst/elements/gstidentity.c: (gst_identity_class_init):
30110           Workaround until signals support GstMiniObject.
30111
30112 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30113
30114         * gst/gstbuffer.c:
30115         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30116
30117 2005-05-18  Wim Taymans  <wim@fluendo.com>
30118
30119         * gst/base/Makefile.am:
30120         * gst/base/gstadapter.c: (gst_adapter_base_init),
30121         (gst_adapter_class_init), (gst_adapter_init),
30122         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30123         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30124         (gst_adapter_flush), (gst_adapter_available),
30125         (gst_adapter_available_fast):
30126         * gst/base/gstadapter.h:
30127         Ported and added adapter to the base classes.
30128
30129 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30130
30131         * gst/gst.c:
30132         * gst/gstmessage.c:
30133           Make sure the class is reffed/unreffed once before threads can be
30134           used.  Fixes #304551.
30135
30136 2005-05-17  Wim Taymans  <wim@fluendo.com>
30137
30138         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30139         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30140         * gst/gstminiobject.c: (gst_mini_object_get_type),
30141         (gst_mini_object_free):
30142         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30143         (gst_pad_push), (gst_pad_push_event):
30144         * gst/gstqueue.c: (gst_queue_change_state):
30145         Don't queue buffers in basesink when we are flushing.
30146         Unref buffer when flushing in basesink.
30147         Flush queue when going to READY
30148         Unref buffer when _push() returns an error.
30149         Don't free MiniObject instance when refcount is incremented
30150         in _finalize() so that we can recover objects.
30151
30152 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30153
30154         * docs/manual/advanced-schedulers.xml:
30155         * docs/manual/appendix-checklist.xml:
30156         * docs/pwg/advanced-clock.xml:
30157         * docs/pwg/advanced-interfaces.xml:
30158         * docs/pwg/advanced-request.xml:
30159         * docs/pwg/advanced-types.xml:
30160         * docs/pwg/intro-preface.xml:
30161         * examples/plugins/example.c: (gst_example_get_type),
30162         (gst_example_class_init), (gst_example_chain),
30163         (gst_example_set_property), (gst_example_get_property),
30164         (gst_example_change_state), (plugin_init):
30165         * examples/plugins/example.h:
30166           small doc fixes
30167
30168 2005-05-17  Wim Taymans  <wim@fluendo.com>
30169
30170         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30171         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30172         * gst/gstqueue.c: (gst_queue_change_state):
30173         Clear queue when going to READY.
30174         Remove IN_SETCAPS flag too.
30175
30176 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30177
30178         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30179           Remove implicit cast from gboolean to GstElementStateReturn;
30180           make sure we still return failure in paused => ready case if
30181           the parent class fails to change state and our own stop 
30182           vfunc succeeds.
30183
30184 2005-05-17  Wim Taymans  <wim@fluendo.com>
30185
30186         * tools/gst-launch.c: (event_loop):
30187         Message was unreffed too soon.
30188
30189 2005-05-16  Andy Wingo  <wingo@pobox.com>
30190
30191         * gst/gstbin.c (sink_iterator_filter): Err... um...
30192
30193         * check/gst/gstbin.c (test_ghost_pads): New test for the
30194         ghosting-if-elements-not-in-same-bin behavior.
30195
30196 2005-05-16  David Schleef  <ds@schleef.org>
30197
30198         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30199         accessing refcount directly.
30200
30201 2005-05-15  David Schleef  <ds@schleef.org>
30202
30203         * check/Makefile.am: remove GstData checks
30204         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30205         * gst/Makefile.am: add miniobject, remove data
30206         * gst/gst.h: add miniobject, remove data
30207         * gst/gstdata.c: remove
30208         * gst/gstdata.h: remove
30209         * gst/gstdata_private.h: remove
30210         * gst/gsttypes.h: remove GstEvent and GstMessage
30211         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30212         * gst/gstmarshal.list: change BOXED -> OBJECT
30213
30214         Implement GstMiniObject.
30215         * gst/gstminiobject.c:
30216         * gst/gstminiobject.h:
30217
30218         Modify to be subclasses of GstMiniObject.
30219         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30220         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30221         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30222         (gst_subbuffer_get_type), (gst_subbuffer_init),
30223         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30224         (gst_buffer_span):
30225         * gst/gstbuffer.h:
30226         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30227         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30228         (_gst_event_copy), (gst_event_new):
30229         * gst/gstevent.h:
30230         * gst/gstmessage.c: (_gst_message_initialize),
30231         (gst_message_get_type), (gst_message_class_init),
30232         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30233         (gst_message_new), (gst_message_new_error),
30234         (gst_message_new_warning), (gst_message_new_tag),
30235         (gst_message_new_state_changed), (gst_message_new_application):
30236         * gst/gstmessage.h:
30237         * gst/gstprobe.c: (gst_probe_perform),
30238         (gst_probe_dispatcher_dispatch):
30239         * gst/gstprobe.h:
30240         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30241         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30242         (_gst_query_copy), (gst_query_new):
30243
30244         Update elements for GstData -> GstMiniObject changes
30245         * gst/gstquery.h:
30246         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30247         (gst_queue_chain), (gst_queue_loop):
30248         * gst/elements/gstbufferstore.c:
30249         (gst_buffer_store_add_buffer_func),
30250         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30251         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30252         (gst_fakesink_render):
30253         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30254         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30255         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30256         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30257         (gst_filesrc_create_read):
30258         * gst/elements/gstidentity.c: (gst_identity_class_init):
30259         * gst/elements/gsttypefindelement.c:
30260         (gst_type_find_element_src_event), (free_entry_buffers),
30261         (gst_type_find_element_handle_event):
30262         * libs/gst/dataprotocol/dataprotocol.c:
30263         (gst_dp_header_from_buffer):
30264         * libs/gst/dataprotocol/dataprotocol.h:
30265         * libs/gst/dataprotocol/dp-private.h:
30266
30267 2005-05-15  David Schleef  <ds@schleef.org>
30268
30269         * gst/elements/gstelements.c: Don't include headers that were
30270         just removed.
30271
30272 2005-05-15  David Schleef  <ds@schleef.org>
30273
30274         * gst/elements/Makefile.am: Remove some elements that don't
30275         need to be in the core (or even exist at all).
30276         * gst/elements/gstaggregator.c:
30277         * gst/elements/gstaggregator.h:
30278         * gst/elements/gstmd5sink.c:
30279         * gst/elements/gstmd5sink.h:
30280         * gst/elements/gstmultifilesrc.c:
30281         * gst/elements/gstmultifilesrc.h:
30282         * gst/elements/gstpipefilter.c:
30283         * gst/elements/gstpipefilter.h:
30284         * gst/elements/gstshaper.c:
30285         * gst/elements/gstshaper.h:
30286         * gst/elements/gststatistics.c:
30287         * gst/elements/gststatistics.h:
30288         * po/POTFILES.in: Remove above files.
30289
30290 2005-05-14  Andy Wingo  <wingo@pobox.com>
30291
30292         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30293         so as to get the refs right.
30294         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30295         unreffing objects that don't pass the filter.
30296
30297         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30298         gst_element_set_bus.
30299         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30300         normal cases, this will destroy the bus.
30301
30302         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30303         object.
30304
30305         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30306         has no sinks.
30307
30308 2005-05-13  Andy Wingo  <wingo@pobox.com>
30309
30310         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30311         gst_pad_link, call pad_link_maybe_ghosting,
30312         (pad_link_maybe_ghosting): Links pads, making sure that the
30313         elements being linked are in the same bin.
30314         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30315         Helpers for pad_link_maybe_ghosting.
30316
30317 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30318
30319         * configure.ac:
30320           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30321
30322 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30323
30324         * docs/design/part-element-source.txt:
30325           Mention GstPushSrc
30326
30327 2005-05-12  Wim Taymans  <wim@fluendo.com>
30328
30329         * gst/base/gstbasesink.c: (gst_basesink_init),
30330         (gst_basesink_activate):
30331         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30332         (gst_basesrc_is_seekable):
30333         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30334         (bin_element_is_sink), (gst_bin_change_state):
30335         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30336         * gst/gstelement.h:
30337         Identify sinks by their flag to avoid overly complicated
30338         checks (fow now).
30339         Do state changes even for elements not reachable from the
30340         sinks.
30341         BaseSink is a sink now :)
30342         Some more debugging info in the basesrc.
30343
30344
30345 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30346
30347         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30348           Implement _query on a bin, similar to _send_event.
30349
30350 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30351
30352         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30353           Discont event offset format should be GST_FORMAT_BYTES,
30354           not GST_FORMAT_TIME.
30355
30356 2005-05-12  Wim Taymans  <wim@fluendo.com>
30357
30358         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30359         Same fix as Ronald's but without the signal. 
30360
30361 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30362
30363         * gst/gstutils.c: (gst_element_query_position):
30364           No, an element is not a pad.
30365
30366 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30367
30368         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30369         (gst_bin_get_state):
30370           If a child is removed from a bin while we remove the child from
30371           the bin and while we're retrieving its state, signal this to the
30372           get_state function so we abort the wait (instead of waiting for
30373           a timeout) and can immediately re-iterate over all other elements.
30374
30375 2005-05-12  Wim Taymans  <wim@fluendo.com>
30376
30377         * gst/base/Makefile.am:
30378         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30379         (gst_basesrc_start):
30380         * gst/base/gstbasesrc.h:
30381         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30382         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30383         (gst_pushsrc_init), (gst_pushsrc_create):
30384         * gst/base/gstpushsrc.h:
30385         Added is_seekable to BaseSrc
30386         Added simple PushSrc.
30387
30388 2005-05-11  Wim Taymans  <wim@fluendo.com>
30389
30390         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30391         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30392         (gst_element_link_pads), (gst_element_query_position),
30393         (gst_element_query_convert), (intersect_caps_func),
30394         (gst_pad_query_position), (gst_pad_query_convert):
30395         Fix refcounting in utils function.
30396         No point in trying to activate a pad when it's added, it could
30397         be added from the state change function and then we deadlock, the
30398         element has to decide what to do.
30399
30400 2005-05-10  Andy Wingo  <wingo@pobox.com>
30401
30402         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30403         *all* the arguments.
30404
30405         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30406         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30407         lock (according to the docs -- if this is wrong change the docs).
30408
30409         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30410         flush messages in the NULL state.
30411
30412         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30413         message immediately and return.
30414         (gst_bus_set_flushing): New function. If a bus is flushing, it
30415         flushes out any queued messages and immediately unrefs new
30416         messages. This is so when an element goes to NULL, all of the
30417         unhandled messages coming from it can be freed, and their
30418         references to the element dropped. In other words: message source
30419         ref considered harmful :P
30420
30421         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30422         we're finished with it.
30423
30424         * gst/gstmessage.c (gst_message_new_state_changed): 
30425
30426 2005-05-10  Wim Taymans  <wim@fluendo.com>
30427
30428         * gst/gstvalue.c: (gst_value_compare_flags),
30429         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30430         (_gst_value_initialize):
30431         Added flags serialize/deserialize/compare code.
30432
30433 2005-05-09  Andy Wingo  <wingo@pobox.com>
30434
30435         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30436         Intersect the peer's caps with our caps.
30437
30438 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30439
30440         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30441         * gst/elements/gsttypefindelement.c: (find_peek):
30442           Handle negative offsets better. Fixes decodebin.
30443
30444 2005-05-09  Wim Taymans  <wim@fluendo.com>
30445
30446         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30447         (gst_base_transform_event):
30448         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30449         Implement accept_caps.
30450         Fix silly lock/unlock mismatch in base class.
30451
30452 2005-05-09  Wim Taymans  <wim@fluendo.com>
30453
30454         * docs/design/draft-push-pull.txt:
30455         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30456         * gst/elements/gstfilesink.c: (gst_filesink_init),
30457         (gst_filesink_query):
30458         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30459         (gst_type_find_handle_src_query), (find_element_get_length):
30460         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30461         * gst/gstelement.h:
30462         * gst/gstmessage.c:
30463         * gst/gstmessage.h:
30464         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30465         (gst_real_pad_get_caps_unlocked),
30466         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30467         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30468         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30469         (gst_real_pad_dispose), (gst_real_pad_finalize),
30470         (gst_pad_load_and_link), (gst_pad_save_thyself),
30471         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30472         (gst_pad_check_pull_range), (gst_pad_pull_range),
30473         (gst_pad_template_get_type), (gst_pad_template_class_init),
30474         (gst_pad_template_init), (gst_pad_template_dispose),
30475         (name_is_valid), (gst_static_pad_template_get),
30476         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30477         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30478         (gst_pad_get_element_private), (gst_pad_start_task),
30479         (gst_pad_pause_task), (gst_pad_stop_task),
30480         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30481         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30482         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30483         (gst_ghost_pad_new):
30484         * gst/gstpad.h:
30485         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30486         (gst_query_new_position), (gst_query_set_position),
30487         (gst_query_parse_position), (gst_query_new_convert),
30488         (gst_query_set_convert), (gst_query_parse_convert):
30489         * gst/gstquery.h:
30490         * gst/gstqueryutils.c:
30491         * gst/gstqueryutils.h:
30492         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30493         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30494         (gst_queue_handle_src_query):
30495         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30496         (gst_element_query_position), (gst_element_query_convert),
30497         (intersect_caps_func), (gst_pad_query_position),
30498         (gst_pad_query_convert):
30499         * gst/gstutils.h:
30500         * tools/gst-inspect.c: (print_pad_info):
30501         * tools/gst-xmlinspect.c: (print_element_info):
30502         Remove old query functions. Ported old code.
30503         Added position/convert helper functions to gstutils.
30504         Reordered gstpad.c code, grouping relevant things.
30505         Remove gst_message_new(), always need to speficy a specific
30506         message.
30507
30508
30509 2005-05-09  Andy Wingo  <wingo@pobox.com>
30510
30511         * gst/gstiterator.h: Add some includes.
30512
30513         * gst/gstqueryutils.h: Include more headers.
30514
30515         * gst/gstpad.h:
30516         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30517         some uses of gst_pad_query.
30518
30519         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30520         NULL out parameters.
30521         (gst_query_new_position): New proc, allocates a new position
30522         query.
30523
30524         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30525         gstqueryutils.c to the build.
30526
30527         * gst/gststructure.c (gst_structure_set_valist): Implement with
30528         the generic G_VALUE_COLLECT.
30529         
30530 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30531
30532         * gst/Makefile.am: (gst_headers):
30533         Added gstqueryutils.h to the list of headers to install, that was
30534         a 'nachty' move wingo :)
30535
30536 2005-05-06  Andy Wingo  <wingo@pobox.com>
30537
30538         * gst/gstquery.h
30539         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30540         GstData, init a memchunk.
30541         (standard_definitions): Add a few query types, deprecate a few.
30542         (gst_query_get_type): New proc.
30543         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30544         implementation.
30545         (gst_query_new_application, gst_query_get_structure): New public
30546         procs.
30547
30548         * docs/design/draft-query.txt: Removed LINKS from the query types,
30549         because all the rest can be dispatched to other pads -- seemed
30550         ugly to have a query that couldn't be dispatched. internal_links
30551         is fine as a pad method.
30552
30553         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30554         in gstpad.c, but maintain binary compatibility for the moment.
30555         Will fix before 0.9 is out.
30556
30557         * gst/gstqueryutils.c: 
30558         * gst/gstqueryutils.h: New files, implement 3 methods for each
30559         query type: parse_query, parse_response, and set. Probably need an
30560         allocator as well.
30561
30562         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30563
30564         * gst/elements/gstfilesink.c (gst_filesink_query2):
30565         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30566         query_types, and formats methods.
30567
30568         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30569         (gst_pad_set_query2_function): New functions.
30570         (gst_real_pad_init): Set query2_default as the default query2
30571         function. Basically just dispatches to internally linked pads.
30572
30573         Needs review!
30574         
30575         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30576         without using the atomic operations. Only one thread can possibly
30577         be accessing the data at this point. Changed so as to avoid
30578         gst_atomic operations.
30579
30580 2005-05-06  Wim Taymans  <wim@fluendo.com>
30581
30582         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30583         Also set caps if we use the fallback buffer alloc.
30584
30585 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30586
30587         * docs/gst/Makefile.am:
30588         * docs/gst/gstreamer-docs.sgml:
30589         * docs/gst/gstreamer-sections.txt:
30590         * docs/gst/tmpl/gstatomic.sgml:
30591         * docs/gst/tmpl/gstmemchunk.sgml:
30592         * testsuite/elements/struct_i386.h:
30593         * win32/GStreamer.vcproj:
30594         * win32/Makefile:
30595           Purge GstAtomic stuff from docs and win32 makefiles as well
30596
30597 2005-05-06  Wim Taymans  <wim@fluendo.com>
30598
30599         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30600         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30601         * gst/gstpad.c: (gst_pad_peer_get_caps):
30602         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30603         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30604         (gst_queue_src_activate), (gst_queue_change_state):
30605         * gst/gstqueue.h:
30606         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30607         (intersect_caps_func):
30608         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30609         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30610         Some fixes for the peer_get_caps() change.
30611
30612 2005-05-06  Wim Taymans  <wim@fluendo.com>
30613
30614         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30615         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30616         (gst_basesink_activate):
30617         Actually do something with error codes returned from the push
30618         functions.
30619
30620 2005-05-06  Wim Taymans  <wim@fluendo.com>
30621
30622         * docs/design/part-element-sink.txt:
30623         * docs/design/part-element-source.txt:
30624         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30625         (gst_basesink_event), (gst_basesink_activate):
30626         * gst/base/gstbasesink.h:
30627         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30628         (gst_basesrc_activate):
30629         * gst/base/gstbasesrc.h:
30630         * gst/gstelement.c: (gst_element_pads_activate):
30631         Some more documentation.
30632         Fixed scheduling decision in _pads_activate().
30633
30634 2005-05-05  Andy Wingo  <wingo@pobox.com>
30635
30636         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30637         the test suite.
30638
30639 2005-05-05  Wim Taymans  <wim@fluendo.com>
30640
30641         * gst/base/Makefile.am:
30642         * gst/base/gstbasesink.h:
30643         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30644         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30645         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30646         (gst_collectpads_class_init), (gst_collectpads_init),
30647         (gst_collectpads_finalize), (gst_collectpads_new),
30648         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30649         (find_pad), (gst_collectpads_remove_pad),
30650         (gst_collectpads_is_active), (gst_collectpads_collect),
30651         (gst_collectpads_collect_range), (gst_collectpads_start),
30652         (gst_collectpads_stop), (gst_collectpads_peek),
30653         (gst_collectpads_pop), (gst_collectpads_available),
30654         (gst_collectpads_read), (gst_collectpads_flush),
30655         (gst_collectpads_chain):
30656         * gst/base/gstcollectpads.h:
30657         * gst/elements/Makefile.am:
30658         * gst/elements/gstelements.c:
30659         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30660         (gst_fakesink_get_times), (gst_fakesink_event),
30661         (gst_fakesink_preroll), (gst_fakesink_render):
30662         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30663         (gst_filesink_init), (gst_filesink_set_location),
30664         (gst_filesink_open_file), (gst_filesink_close_file),
30665         (gst_filesink_pad_query), (gst_filesink_event),
30666         (gst_filesink_render), (gst_filesink_change_state):
30667         * gst/elements/gstfilesink.h:
30668         Added object to help in making collect pad based elements.
30669         Ported filesink.
30670         Make event function in sink baseclass return gboolean.
30671
30672 2005-05-05  Wim Taymans  <wim@fluendo.com>
30673
30674         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30675         (gst_bin_get_by_name):
30676         * gst/gstbuffer.h:
30677         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30678         (gst_clock_finalize):
30679         * gst/gstdata.c: (gst_data_replace):
30680         * gst/gstdata.h:
30681         * gst/gstelement.c: (gst_element_request_pad),
30682         (gst_element_pads_activate):
30683         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30684         (gst_object_unref):
30685         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30686         (gst_pad_set_checkgetrange_function),
30687         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30688         (gst_pad_check_pull_range), (gst_pad_pull_range),
30689         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30690         (gst_pad_pause_task), (gst_pad_stop_task):
30691         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30692         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30693         Fix name lookup in GstBin.
30694         Added _data_replace() function and _buffer_replace()
30695         Use finalize method to clean up clock.
30696         Fix refcounting on request pads.
30697         Fix pad schedule mode error.
30698         Some more object refcounting debug info,
30699
30700
30701 2005-05-04  Andy Wingo <wingo@pobox.com>
30702
30703         * check/Makefile.am:
30704         * docs/gst/tmpl/gstatomic.sgml:
30705         * docs/gst/tmpl/gstplugin.sgml:
30706         * gst/base/gstbasesink.c: (gst_basesink_activate):
30707         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30708         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30709         (gst_basesrc_query), (gst_basesrc_set_property),
30710         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30711         (gst_basesrc_activate):
30712         * gst/base/gstbasesrc.h:
30713         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30714         (gst_base_transform_src_activate):
30715         * gst/elements/gstelements.c:
30716         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30717         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30718         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30719         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30720         (gst_type_find_element_checkgetrange),
30721         (gst_type_find_element_activate):
30722         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30723         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30724         (gst_caps_load_thyself):
30725         * gst/gstelement.c: (gst_element_pads_activate),
30726         (gst_element_save_thyself), (gst_element_restore_thyself):
30727         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30728         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30729         * gst/gstpad.h:
30730         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30731         (gst_xml_parse_file), (gst_xml_parse_memory),
30732         (gst_xml_get_element), (gst_xml_make_element):
30733         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30734         (_file_index_id_save_xml), (gst_file_index_commit):
30735         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30736         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30737         (load_paths):
30738         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30739         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30740         * tools/gst-complete.c: (main):
30741         * tools/gst-compprep.c: (main):
30742         * tools/gst-inspect.c: (print_element_properties_info):
30743         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30744         * tools/gst-xmlinspect.c: (print_element_properties):
30745         GCC 4 fixen.
30746         
30747 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30748
30749         * gst/gstplugin.c: (gst_plugin_check_module),
30750         (gst_plugin_check_file), (gst_plugin_load_file):
30751             apply patch from #172526 to make register work on MacOSX
30752
30753 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30754
30755         * docs/gst/tmpl/gstconfig.sgml:
30756         * gst/gstconfig.h.in:
30757           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30758         * testsuite/debug/printf_extension.c: (main):
30759           Do not use GST_PTR_FORMAT on pointers to types with
30760           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30761         * testsuite/elements/property.h:
30762           use correct printf format
30763
30764 2005-05-02  Wim Taymans  <wim@fluendo.com>
30765
30766         * docs/design/draft-push-pull.txt:
30767         * docs/design/draft-query.txt:
30768         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30769         (gst_basesrc_start):
30770         Added draft for new query API.
30771         Added draft for better selecting scheduling methods.
30772         Make basesrc ignore length if the subclass does not support
30773         it.
30774
30775 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30776
30777         * gst/Makefile.am:
30778           possible fixes for automake-1.5 - _LIBADD is reserved
30779
30780 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30781
30782         * docs/faq/Makefile.am:
30783         * docs/manual/Makefile.am:
30784         * docs/manuals.mak:
30785         * docs/pwg/Makefile.am:
30786         * gst/Makefile.am:
30787           possible fixes for automake-1.5
30788
30789 2005-04-28  Wim Taymans  <wim@fluendo.com>
30790
30791         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30792         (gst_basesink_pad_getcaps), (gst_basesink_init),
30793         (gst_basesink_do_sync):
30794         * gst/gstclock.c: (gst_clock_entry_new):
30795         * gst/gstevent.c: (gst_event_discont_get_value):
30796         * gst/gstpipeline.c: (pipeline_bus_handler),
30797         (gst_pipeline_change_state):
30798         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30799         Better debugging of clocking info.
30800         Allow NULL values when getting discont values.
30801
30802 2005-04-27  Wim Taymans  <wim@fluendo.com>
30803
30804         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30805         * check/gst/gstpad.c: (gst_pad_suite):
30806         Increase timeout for checks.
30807
30808 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30809
30810         * check/Makefile.am:
30811           fix the broken rule for cleanup.  Apparently this rule is
30812           only needed on FC2, so maybe this warrants further autotool
30813           inspection.
30814
30815 2005-04-26  Wim Taymans  <wim@fluendo.com>
30816
30817         * gst/gsttrashstack.h:
30818         Ooohh. a nasty one! After having a failed pop() from the stack,
30819         it's possible that the stack is empty. In that case, don't
30820         follow the NULL pointer.
30821
30822 2005-04-25  Wim Taymans  <wim@fluendo.com>
30823
30824         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30825         (gst_pad_set_checkgetrange_function),
30826         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30827         (gst_pad_check_pull_range), (gst_pad_pull_range),
30828         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30829         (gst_pad_pause_task), (gst_pad_stop_task):
30830         * gst/gstplugin.c: (gst_plugin_load):
30831         * gst/gstplugin.h:
30832         Remove gst_library_load as it does more harm than good with
30833         the new g_module flags.
30834         Revert bogus caps template check in pad linking, pad caps
30835         are important when linking not the template, which is more
30836         general than the current caps.
30837
30838 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30839
30840         * gst/autoplug/.cvsignore:
30841         * gst/autoplug/Makefile.am:
30842         * gst/autoplug/gstsearchfuncs.c:
30843         * gst/autoplug/gstsearchfuncs.h:
30844         * gst/autoplug/gstspider.c:
30845         * gst/autoplug/gstspider.h:
30846         * gst/autoplug/gstspideridentity.c:
30847         * gst/autoplug/gstspideridentity.h:
30848         * gst/autoplug/spidertest.c:
30849           Die, spider, die.
30850
30851 2005-04-25  Wim Taymans  <wim@fluendo.com>
30852
30853         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30854         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30855         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30856         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30857         * gst/gstpad.h:
30858         Added stubs for unimplemented functions. 
30859
30860 2005-04-24  David Schleef  <ds@schleef.org>
30861
30862         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30863         please fix.
30864
30865 2005-04-24  David Schleef  <ds@schleef.org>
30866
30867         Convert everything from GstAtomicInt to g_atomic_int_*, and
30868         remove gstatomic.
30869         * gst/Makefile.am:
30870         * gst/gstatomic.c:
30871         * gst/gstatomic.h:
30872         * gst/gstatomic_impl.h:
30873         * gst/gstbuffer.c:
30874         * gst/gstcaps.c:
30875         * gst/gstcaps.h:
30876         * gst/gstclock.c:
30877         * gst/gstclock.h:
30878         * gst/gstdata.c:
30879         * gst/gstdata.h:
30880         * gst/gstdata_private.h:
30881         * gst/gstevent.c:
30882         * gst/gstinfo.c:
30883         * gst/gstinfo.h:
30884         * gst/gstmessage.c:
30885         * gst/gstobject.c:
30886         * gst/gstobject.h:
30887         * gst/gststructure.c:
30888         * gst/gststructure.h:
30889         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30890         * gst/gstutils.h:
30891
30892 2005-04-24  David Schleef  <ds@schleef.org>
30893
30894         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30895         make the regressions tests work.  Remove some code that is no
30896         longer true.
30897         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30898         Disable warning for pads without templates.
30899
30900 2005-04-24  David Schleef  <ds@schleef.org>
30901
30902         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30903         functions that handle filtered links.
30904         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30905         removed functions.
30906         * gst/gstutils.c: Fix/remove utility functions that handle
30907         filtered caps.
30908         * gst/gstutils.h:
30909         * gst/gstvalue.c: Add serialization/deserialization of caps
30910         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30911         requires fixing so that the filter caps notation creates
30912         a capsfilter element and sets the filter_caps property.  I
30913         think everyone probably wants to keep the shorthand notation.
30914         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30915         * docs/gst/tmpl/gstpad.sgml:
30916
30917         * gst/elements/gstelements.c: Register capsfilter element.
30918         * gst/Makefile.am: fix spacing
30919         * docs/random/ds/0.9-suggested-changes: random
30920
30921 2005-04-23  David Schleef  <ds@schleef.org>
30922
30923         * gst/elements/Makefile.am:
30924         * gst/elements/gstcapsfilter.c: New element that acts like an
30925         identity, but filters caps.  Will eventually replace filtered
30926         caps in pad linking.
30927         * gst/gstutils.c: (gst_element_create_all_pads): New function
30928         to create all the ALWAYS pads that are registered with an
30929         element class.  This functionality should eventually be
30930         merged in with GstElement initialization.
30931         * gst/gstutils.h:
30932         * testsuite/trigger/README: part of trigger test code that should
30933         have been checked in a long time ago.
30934
30935 2005-04-23  David Schleef  <ds@schleef.org>
30936
30937         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30938         needed with new versions of libtool (nobody will confirm this),
30939         and hard to carry around.
30940         * gst/autoplug/Makefile.am:
30941         * gst/base/Makefile.am:
30942         * gst/elements/Makefile.am:
30943         * gst/indexers/Makefile.am:
30944         * gst/schedulers/Makefile.am:
30945         * libs/gst/bytestream/Makefile.am:
30946         * libs/gst/control/Makefile.am:
30947         * libs/gst/dataprotocol/Makefile.am:
30948         * libs/gst/getbits/Makefile.am:
30949
30950 2005-04-21  Wim Taymans  <wim@fluendo.com>
30951
30952         * docs/design/draft-push-pull.txt:
30953         * docs/design/part-MT-refcounting.txt:
30954         * docs/design/part-TODO.txt:
30955         * docs/design/part-caps.txt:
30956         * docs/design/part-events.txt:
30957         * docs/design/part-gstbus.txt:
30958         * docs/design/part-gstpipeline.txt:
30959         * docs/design/part-messages.txt:
30960         * docs/design/part-push-pull.txt:
30961         * docs/design/part-query.txt:
30962         Some more docs.
30963
30964 2005-04-21  Wim Taymans  <wim@fluendo.com>
30965
30966         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30967         (gst_message_new), (gst_message_new_error),
30968         (gst_message_new_warning), (gst_message_new_tag),
30969         (gst_message_new_state_changed), (gst_message_new_application),
30970         (gst_message_get_structure):
30971         * gst/gstmessage.h:
30972         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30973         (gst_structure_copy_conditional):
30974         Use parent refcount in GstMessage to ensure GstStructure
30975         consistency.
30976         Cleaned up headers a bit.
30977         
30978
30979 2005-04-20  Wim Taymans  <wim@fluendo.com>
30980
30981         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30982         (gst_basesink_pad_getcaps), (gst_basesink_init),
30983         (gst_basesink_chain_unlocked):
30984         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30985         (gst_type_find_helper):
30986         * gst/elements/gsttypefindelement.c:
30987         (gst_type_find_element_have_type), (gst_type_find_element_init),
30988         (stop_typefinding), (gst_type_find_element_handle_event),
30989         (find_suggest), (gst_type_find_element_chain),
30990         (gst_type_find_element_checkgetrange),
30991         (gst_type_find_element_getrange), (do_typefind),
30992         (gst_type_find_element_activate):
30993         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30994         (gst_buffer_default_free), (gst_buffer_default_copy),
30995         (gst_buffer_set_caps):
30996         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30997         (gst_caps_replace):
30998         * gst/gstmessage.c: (gst_message_new),
30999         (gst_message_new_state_changed):
31000         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31001         (gst_pad_set_checkgetrange_function),
31002         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31003         (gst_pad_set_caps), (gst_pad_check_pull_range),
31004         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31005         * gst/gstpad.h:
31006         * gst/gsttypefind.c: (gst_type_find_register):
31007         Make gst_caps_replace() work like other _replace() functions.
31008         Use _caps_replace() where possible.
31009         Make sure _message_new() initialises its field.
31010         Add gst_static_pad_template_get_caps()
31011
31012
31013 2005-04-18  Andy Wingo  <wingo@pobox.com>
31014
31015         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31016         on the peer, not the pad. I think that was a typo. Pass an extra
31017         arg to see if random access is possible. Activate the pads as
31018         PULL_RANGE if possible.
31019
31020         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31021
31022         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31023         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31024         to PROP_....
31025
31026 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31027
31028         * docs/faq/using.xml:
31029           Add note on gstreamer-properties (#154996).
31030
31031 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31032
31033         * docs/random/bbb/optional-properties:
31034           Some analysis on optional properties.
31035
31036 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31037
31038         * docs/gst/tmpl/gstelementfactory.sgml:
31039         * gst/gstelement.h:
31040         * gst/gstelementfactory.c: (gst_element_factory_init),
31041         (gst_element_factory_cleanup), (gst_element_register),
31042         (__gst_element_factory_add_static_pad_template),
31043         (gst_element_factory_get_static_pad_templates),
31044         (gst_element_factory_can_src_caps),
31045         (gst_element_factory_can_sink_caps):
31046         * gst/registries/Makefile.am:
31047         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31048         (gst_xml_registry_class_init), (gst_xml_registry_init),
31049         (gst_xml_registry_new), (gst_xml_registry_set_property),
31050         (gst_xml_registry_get_property), (get_time), (make_dir),
31051         (gst_xml_registry_get_perms_func),
31052         (plugin_times_older_than_recurse), (plugin_times_older_than),
31053         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31054         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31055         (add_to_char_array), (read_string), (read_uint), (read_enum),
31056         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31057         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31058         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31059         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31060         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31061         (gst_xml_registry_rebuild):
31062         * gst/registries/gstlibxmlregistry.h:
31063         * tools/gst-compprep.c: (main):
31064         * tools/gst-inspect.c: (print_pad_templates_info):
31065         * tools/gst-xmlinspect.c: (print_element_info):
31066           Use libxml2 for registry parsing, use staticpadtemplates in
31067           elementfactories. Makes gst_init() +/- 10x faster.
31068
31069 2005-04-12  Wim Taymans  <wim@fluendo.com>
31070
31071         * gst/base/Makefile.am:
31072         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31073         (gst_basesink_pad_getcaps), (gst_basesink_init),
31074         (gst_basesink_event), (gst_basesink_change_state):
31075         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31076         (gst_basesrc_init), (gst_basesrc_query),
31077         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31078         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31079         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31080         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31081         (gst_basesrc_stop), (gst_basesrc_activate),
31082         (gst_basesrc_change_state):
31083         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31084         (helper_find_suggest), (gst_type_find_helper):
31085         * gst/base/gsttypefindhelper.h:
31086         * gst/elements/Makefile.am:
31087         * gst/elements/gstelements.c:
31088         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31089         (gst_fakesink_get_times), (gst_fakesink_event),
31090         (gst_fakesink_preroll), (gst_fakesink_render):
31091         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31092         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31093         (gst_fakesrc_get_property), (gst_fakesrc_create),
31094         (gst_fakesrc_start), (gst_fakesrc_stop):
31095         * gst/elements/gstfakesrc.h:
31096         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31097         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31098         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31099         (gst_filesrc_create_read), (gst_filesrc_create),
31100         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31101         (gst_filesrc_start):
31102         * gst/elements/gsttypefindelement.c:
31103         (gst_type_find_element_have_type), (gst_type_find_element_init),
31104         (start_typefinding), (stop_typefinding), (push_buffer_store),
31105         (gst_type_find_element_handle_event),
31106         (gst_type_find_element_chain),
31107         (gst_type_find_element_checkgetrange),
31108         (gst_type_find_element_getrange), (do_typefind),
31109         (gst_type_find_element_activate),
31110         (gst_type_find_element_change_state):
31111         * gst/elements/gsttypefindelement.h:
31112         * gst/gstpipeline.c: (pipeline_bus_handler):
31113         Added typefind helper.
31114         Small preroll fix in the base sink.
31115         Disable typefind code in basesrc.
31116         Crude port of typefindelement.
31117         Fakesrc cleanups.
31118
31119
31120 2005-04-11  Wim Taymans  <wim@fluendo.com>
31121
31122         * check/gst/gstbus.c: (gstbus_suite):
31123         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31124         * check/gstcheck.h:
31125           Fix up the timeout so that the test does not fail.
31126
31127 2005-04-06  Wim Taymans  <wim@fluendo.com>
31128
31129         * gst/base/README:
31130         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31131         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31132         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31133         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31134         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31135         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31136         (gst_basesrc_stop), (gst_basesrc_activate),
31137         (gst_basesrc_change_state), (basesrc_find_peek),
31138         (basesrc_find_suggest), (gst_basesrc_type_find):
31139         * gst/base/gstbasesrc.h:
31140         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31141         (gst_filesrc_class_init), (gst_filesrc_init),
31142         (gst_filesrc_finalize), (gst_filesrc_set_location),
31143         (gst_filesrc_set_property), (gst_filesrc_get_property),
31144         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31145         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31146         (gst_filesrc_create_read), (gst_filesrc_create),
31147         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31148         * gst/elements/gstfilesrc.h:
31149         * gst/gstelement.c: (gst_element_get_state_func),
31150         (gst_element_lost_state), (gst_element_pads_activate):
31151         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31152         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31153         (gst_pad_pull_range):
31154         * gst/gstpad.h:
31155         More work on the generic source base class, implement seeking,
31156         query.
31157         Make filesrc extend the base source class.
31158         Added gst_pad_set_checkgetrange_function to GstPad.
31159
31160 2005-04-06  Andy Wingo  <wingo@pobox.com>
31161
31162         * pkgconfig/gstreamer-base.pc.in:
31163         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31164
31165         * pkgconfig/Makefile.am:
31166         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31167
31168 2005-04-04  Wim Taymans  <wim@fluendo.com>
31169
31170         * gst/base/Makefile.am:
31171         * gst/base/README:
31172         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31173         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31174         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31175         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31176         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31177         (gst_basesrc_base_init), (gst_basesrc_class_init),
31178         (gst_basesrc_init), (gst_basesrc_get_formats),
31179         (gst_basesrc_get_query_types), (gst_basesrc_query),
31180         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31181         (gst_basesrc_set_property), (gst_basesrc_get_property),
31182         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31183         (gst_basesrc_loop), (gst_basesrc_activate),
31184         (gst_basesrc_change_state):
31185         * gst/base/gstbasesrc.h:
31186         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31187         (gst_fakesrc_class_init), (gst_fakesrc_init),
31188         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31189         (gst_fakesrc_get_property), (gst_fakesrc_create):
31190         * gst/elements/gstfakesrc.h:
31191         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31192         (gst_filesrc_open_file), (gst_filesrc_loop),
31193         (gst_filesrc_activate), (filesrc_find_peek),
31194         (gst_filesrc_type_find):
31195         Made base source class, make fakesrc extend it.
31196         Add comments to basesink class.
31197         Some filesrc cleanup.
31198
31199 2005-03-31  David Schleef  <ds@schleef.org>
31200
31201         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31202         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31203         expected to link against libgstreamer.
31204         * gst/base/Makefile.am: link against libgstreamer
31205         * gst/elements/Makefile.am: same
31206
31207 2005-03-31  Andy Wingo  <wingo@pobox.com>
31208
31209         * tests/instantiate/Makefile.am:
31210         * tests/instantiate/caps.c: Add test to test speed of caps copy
31211         and free.
31212
31213         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31214         GMemChunk to be fair.
31215
31216         * gst/gsttrashstack.h: Remove warning about using the fallback
31217         trash stack implementation, it's still faster than malloc.
31218
31219 2005-03-30  Andy Wingo  <wingo@pobox.com>
31220
31221         * tests/complexity.c: Add a copyright.
31222
31223 2005-03-31  Wim Taymans  <wim@fluendo.com>
31224
31225         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31226         (gst_base_transform_class_init), (gst_base_transform_init),
31227         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31228         (gst_base_transform_get_property),
31229         (gst_base_transform_sink_activate),
31230         (gst_base_transform_src_activate),
31231         (gst_base_transform_change_state):
31232         * gst/base/gstbasetransform.h:
31233         * gst/elements/gstidentity.c: (gst_identity_class_init),
31234         (gst_identity_event), (gst_identity_check_perfect),
31235         (gst_identity_transform), (gst_identity_start),
31236         (gst_identity_stop):
31237         Added start/stop methods to transform base class so subclasses 
31238         don't need to deal with state changes even.
31239
31240 2005-03-31  Wim Taymans  <wim@fluendo.com>
31241
31242         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31243         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31244         * gst/gstevent.h:
31245         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31246         (gst_pad_pull_range):
31247         Added rate to the discont event to prepare for variable speed
31248         and reverse playback.
31249
31250 2005-03-29  David Schleef  <ds@schleef.org>
31251
31252         * configure.ac:
31253         * testsuite/trigger/Makefile.am:
31254         * testsuite/trigger/trigger.c: A little example program to show
31255         how trigger-based elements can work.
31256
31257 2005-03-29  Wim Taymans  <wim@fluendo.com>
31258
31259         * gst/base/Makefile.am:
31260         * gst/base/README:
31261         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31262         (gst_basesink_base_init), (gst_basesink_class_init),
31263         (gst_basesink_pad_getcaps), (gst_basesink_init),
31264         (gst_basesink_activate), (gst_basesink_change_state):
31265         * gst/base/gstbasesink.h:
31266         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31267         (gst_base_transform_base_init), (gst_base_transform_finalize),
31268         (gst_base_transform_class_init), (gst_base_transform_init),
31269         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31270         (gst_base_transform_event), (gst_base_transform_getrange),
31271         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31272         (gst_base_transform_set_property),
31273         (gst_base_transform_get_property),
31274         (gst_base_transform_sink_activate),
31275         (gst_base_transform_src_activate),
31276         (gst_base_transform_change_state):
31277         * gst/base/gstbasetransform.h:
31278         * gst/elements/gstidentity.c: (gst_identity_finalize),
31279         (gst_identity_class_init), (gst_identity_init),
31280         (gst_identity_event), (gst_identity_check_perfect),
31281         (gst_identity_transform), (gst_identity_set_property),
31282         (gst_identity_get_property), (gst_identity_change_state):
31283         * gst/elements/gstidentity.h:
31284         * gst/gstelement.c: (gst_element_get_state_func),
31285         (gst_element_lost_state), (gst_element_pads_activate):
31286         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31287         (gst_pad_check_pull_range), (gst_pad_pull_range):
31288         * gst/gstpad.h:
31289         Simplify pad activation.
31290         Added function to check if pull_range can be performed.
31291         Error out when pulling inactive or flushing pads.
31292         Removed const from refcounted types as it does not make sense.
31293         Simplify pad templates in basesink
31294         Added base class for simple 1-to-1 transforms.
31295         Make identity subclass the base transform.
31296
31297 2005-03-29  Andy Wingo  <wingo@pobox.com>
31298
31299         * docs/libs/gstreamer-libs-overrides.txt: 
31300         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31301         really don't understand what's going on, but like whatever. I want
31302         green buildbot!
31303
31304         * docs/gst/Makefile.am:
31305         * docs/libs/Makefile.am: Dist the overrides files.
31306
31307         * check/Makefile.am (clean-local): Remove .libs directories.
31308
31309         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31310         elements to EXTRA_DIST, so po/ files are happy.
31311
31312         * po/POTFILES.in: Er, remove it here.
31313
31314         * po/POTFILES: Remove gstspider.c.
31315
31316         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31317
31318         * docs/libs/gstreamer-libs-docs.sgml: 
31319         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31320         bytestream.
31321
31322         * tests/complexity.c (main): Set the length of the preroll queue
31323         on the sinks to prevent a lockup.
31324
31325         * libs/gst/dataprotocol/Makefile.am: 
31326         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31327         the same as the one in check/gst-libs/gdp.c.
31328
31329         * po/, docs/gst/: Commit automatic changes to docs and po files.
31330
31331         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31332         the versioned libgstbase.
31333
31334         * check/Makefile.am: Depend on an unversioned gst-register, seems
31335         to make autoconf happier.
31336
31337         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31338
31339 2005-03-28  Wim Taymans  <wim@fluendo.com>
31340
31341         * configure.ac:
31342         * docs/design/part-gstelement.txt:
31343         * docs/design/part-negotiation.txt:
31344         * docs/design/part-preroll.txt:
31345         * docs/design/part-scheduling.txt:
31346         * docs/design/part-states.txt:
31347         * gst/Makefile.am:
31348         * gst/base/Makefile.am:
31349         * gst/base/README:
31350         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31351         (gst_basesink_base_init), (gst_basesink_class_init),
31352         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31353         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31354         (gst_basesink_set_pad_functions),
31355         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31356         (gst_basesink_set_property), (gst_basesink_get_property),
31357         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31358         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31359         (gst_basesink_preroll_queue_push),
31360         (gst_basesink_preroll_queue_empty),
31361         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31362         (gst_basesink_event), (gst_basesink_get_times),
31363         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31364         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31365         (gst_basesink_loop), (gst_basesink_activate),
31366         (gst_basesink_change_state):
31367         * gst/base/gstbasesink.h:
31368         * gst/elements/Makefile.am:
31369         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31370         (gst_fakesink_class_init), (gst_fakesink_init),
31371         (gst_fakesink_set_property), (gst_fakesink_get_property),
31372         (gst_fakesink_get_times), (gst_fakesink_event),
31373         (gst_fakesink_preroll), (gst_fakesink_render),
31374         (gst_fakesink_change_state):
31375         * gst/elements/gstfakesink.h:
31376         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31377         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31378         * gst/gstelement.c: (gst_element_add_pad),
31379         (gst_element_get_state_func), (gst_element_abort_state),
31380         (gst_element_commit_state), (gst_element_lost_state),
31381         (gst_element_set_state), (gst_element_pads_activate):
31382         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31383         * gst/gstpipeline.c: (gst_pipeline_send_event),
31384         (gst_pipeline_change_state):
31385         Added state change code.
31386         Added/updated docs.
31387         Added sink base class, make fakesink extend the base class.
31388         Small cleanups in GstPipeline.
31389
31390 2005-03-26  David Schleef  <ds@schleef.org>
31391
31392         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31393         is broken and should be implemented in a different library.
31394         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31395         * gst/gst.h: remove gstcpu.h
31396         * gst/gstcpu.c: remove
31397         * gst/gstcpu.h: remove
31398         * gst/Makefile.am.future: Remove this file.  It's ancient.
31399
31400 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31401
31402         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31403         (gst_bin_send_event):
31404           Add default event/set_manager handlers. The set_manager handler
31405           takes care that the manager is distributed over kids that were
31406           already in the bin before the manager was set. The event handler
31407           is a utility virtual function that sends the event over all sinks,
31408           so that gst_element_send_event (bin, event); has the expected
31409           behaviour.
31410         * gst/gstpad.c: (gst_pad_event_default):
31411           Re-install default event handling for discontinuities, so that
31412           seeking works without requiring hacks in applications or extra
31413           code in sinks.
31414         * gst/gstpipeline.c: (gst_pipeline_class_init),
31415         (gst_pipeline_send_event):
31416           Half hack, half utility: set a pipeline to PAUSED for seek events,
31417           since that is the only way we can guarantee a/v sync. Means that
31418           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31419           and it "just works".
31420
31421 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31422
31423         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31424           Lock/unlock mismatch.
31425
31426 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31427
31428         * docs/faq/gst-uninstalled:
31429           add gst-plugins-base
31430         * docs/gst/Makefile.am:
31431           don't error out until docs are fixed
31432         * docs/gst/gstreamer.types:
31433           remove thread
31434
31435 2005-03-22  Wim Taymans  <wim@fluendo.com>
31436
31437         * check/Makefile.am:
31438         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31439         * gst/gststructure.c: (gst_structure_set_valist),
31440         (gst_structure_copy_conditional):
31441         Activated more tests.
31442         Added message test.
31443         Added G_TYPE_POINTER to GstStructure.
31444         
31445
31446 2005-03-22  Wim Taymans  <wim@fluendo.com>
31447
31448         * docs/design/part-TODO.txt:
31449         * docs/design/part-events.txt:
31450         * docs/design/part-gstbin.txt:
31451         * docs/design/part-gstbus.txt:
31452         * docs/design/part-gstpipeline.txt:
31453         * docs/design/part-messages.txt:
31454         * gst/gstbus.c:
31455         * gst/gstmessage.c:
31456         Docs updates
31457
31458 2005-03-21  Wim Taymans  <wim@fluendo.com>
31459
31460         * gst/gstbus.c: (gst_bus_post):
31461         Fix copy-and-paste error.
31462
31463 2005-03-21  Wim Taymans  <wim@fluendo.com>
31464
31465         * check/Makefile.am:
31466         * gst/Makefile.am:
31467         * gst/elements/Makefile.am:
31468         * gst/elements/gstelements.c:
31469         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31470         (gst_fakesink_event), (gst_fakesink_chain):
31471         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31472         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31473         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31474         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31475         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31476         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31477         (gst_fakesrc_loop), (gst_fakesrc_activate),
31478         (gst_fakesrc_change_state):
31479         * gst/elements/gstfakesrc.h:
31480         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31481         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31482         (gst_filesrc_open_file), (gst_filesrc_loop),
31483         (gst_filesrc_activate), (gst_filesrc_change_state),
31484         (filesrc_find_peek), (filesrc_find_suggest),
31485         (gst_filesrc_type_find):
31486         * gst/elements/gstidentity.c: (gst_identity_finalize),
31487         (gst_identity_class_init), (gst_identity_init),
31488         (gst_identity_proxy_getcaps), (identity_queue_push),
31489         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31490         (gst_identity_getrange), (gst_identity_chain),
31491         (gst_identity_sink_loop), (gst_identity_src_loop),
31492         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31493         (gst_identity_set_property), (gst_identity_get_property),
31494         (gst_identity_change_state):
31495         * gst/elements/gstidentity.h:
31496         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31497         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31498         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31499         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31500         (gst_tee_sink_activate):
31501         * gst/elements/gsttee.h:
31502         * gst/gst.c: (gst_register_core_elements), (init_post):
31503         * gst/gst.h:
31504         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31505         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31506         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31507         (gst_bin_change_state):
31508         * gst/gstbin.h:
31509         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31510         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31511         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31512         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31513         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31514         (bus_watch_callback), (bus_watch_destroy),
31515         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31516         (poll_timeout), (gst_bus_poll):
31517         * gst/gstbus.h:
31518         * gst/gstcaps.h:
31519         * gst/gstdata.h:
31520         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31521         (gst_element_post_message), (gst_element_message_full),
31522         (gst_element_get_state_func), (gst_element_get_state),
31523         (gst_element_abort_state), (gst_element_commit_state),
31524         (gst_element_lost_state), (gst_element_set_state),
31525         (gst_element_pads_activate), (gst_element_change_state),
31526         (gst_element_dispose), (gst_element_set_manager_func),
31527         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31528         (gst_element_set_manager), (gst_element_get_manager),
31529         (gst_element_set_bus), (gst_element_get_bus),
31530         (gst_element_set_scheduler), (gst_element_get_scheduler):
31531         * gst/gstelement.h:
31532         * gst/gstevent.c: (gst_event_new_segment_seek),
31533         (gst_event_new_flush):
31534         * gst/gstevent.h:
31535         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31536         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31537         (gst_message_new_eos), (gst_message_new_error),
31538         (gst_message_new_warning), (gst_message_new_tag),
31539         (gst_message_new_state_changed), (gst_message_new_application),
31540         (gst_message_get_structure), (gst_message_parse_tag),
31541         (gst_message_parse_state_changed), (gst_message_parse_error),
31542         (gst_message_parse_warning):
31543         * gst/gstmessage.h:
31544         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31545         (gst_real_pad_set_property), (gst_pad_set_active),
31546         (gst_pad_is_active), (gst_pad_set_blocked_async),
31547         (gst_pad_set_blocked), (gst_pad_is_blocked),
31548         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31549         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31550         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31551         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31552         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31553         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31554         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31555         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31556         (gst_pad_set_caps), (gst_pad_configure_sink),
31557         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31558         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31559         (gst_real_pad_dispose), (gst_real_pad_finalize),
31560         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31561         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31562         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31563         * gst/gstpad.h:
31564         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31565         (pipeline_bus_handler), (gst_pipeline_change_state),
31566         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31567         * gst/gstpipeline.h:
31568         * gst/gstprobe.h:
31569         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31570         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31571         (gst_queue_link_src), (gst_queue_bufferalloc),
31572         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31573         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31574         (gst_queue_loop), (gst_queue_handle_src_event),
31575         (gst_queue_handle_src_query), (gst_queue_src_activate),
31576         (gst_queue_change_state):
31577         * gst/gstqueue.h:
31578         * gst/gstscheduler.c: (gst_scheduler_init),
31579         (gst_scheduler_dispose), (gst_scheduler_create_task),
31580         (gst_scheduler_factory_create):
31581         * gst/gstscheduler.h:
31582         * gst/gststructure.c: (gst_structure_get_type),
31583         (gst_structure_copy_conditional):
31584         * gst/gststructure.h:
31585         * gst/gsttaginterface.h:
31586         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31587         (gst_task_init), (gst_task_dispose), (gst_task_create),
31588         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31589         (gst_task_pause):
31590         * gst/gsttask.h:
31591         * gst/gstthread.c:
31592         * gst/gstthread.h:
31593         * gst/gsttypes.h:
31594         * gst/schedulers/Makefile.am:
31595         * gst/schedulers/cothreads_compat.h:
31596         * gst/schedulers/entryscheduler.c:
31597         * gst/schedulers/faircothreads.c:
31598         * gst/schedulers/faircothreads.h:
31599         * gst/schedulers/fairscheduler.c:
31600         * gst/schedulers/gstbasicscheduler.c:
31601         * gst/schedulers/gstoptimalscheduler.c:
31602         * gst/schedulers/gthread-cothreads.h:
31603         * gst/schedulers/threadscheduler.c:
31604         (gst_thread_scheduler_task_get_type),
31605         (gst_thread_scheduler_task_class_init),
31606         (gst_thread_scheduler_task_init),
31607         (gst_thread_scheduler_task_start),
31608         (gst_thread_scheduler_task_stop),
31609         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31610         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31611         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31612         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31613         (plugin_init):
31614         * libs/gst/Makefile.am:
31615         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31616         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31617         (gst_file_pad_parent_set):
31618         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31619         (gst_dp_event_from_packet):
31620         * tests/complexity.c: (main):
31621         * tests/mass_elements.c: (main):
31622         * testsuite/states/locked.c: (message_received), (main):
31623         * testsuite/states/parent.c: (main):
31624         * tools/gst-inspect.c: (print_element_flag_info),
31625         (print_implementation_info), (print_pad_info):
31626         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31627         (main):
31628         * tools/gst-md5sum.c: (event_loop), (main):
31629         * tools/gst-typefind.c: (main):
31630         * tools/gst-xmlinspect.c: (print_element_info):
31631         Next big merge.
31632         Added GstBus for mainloop integration.
31633         Added GstMessage for sending notifications on the bus.
31634         Added GstTask as an abstraction for pipeline entry points.
31635         Removed GstThread.
31636         Removed Schedulers.
31637         Simplified GstQueue for multithreaded core.
31638         Made _link threadsafe, removed old capsnego.
31639         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31640         Added pad blocking functions.
31641         Reworked scheduling functions in GstPad to prepare for
31642         scheduling updates soon.
31643         Moved events out of data stream.
31644         Simplified GstEvent types.
31645         Added return values to push/pull.
31646         Removed clocking from GstElement.
31647         Added prototypes for state change function for next merge.
31648         Removed iterate from bins and state change management.
31649         Fixed some elements, disabled others for now.
31650         Fixed -inspect and -launch.
31651         Added check for GstBus.
31652
31653 2005-03-10  Wim Taymans  <wim@fluendo.com>
31654
31655         * docs/design/part-MT-refcounting.txt:
31656         * docs/design/part-clocks.txt:
31657         * docs/design/part-gstelement.txt:
31658         * docs/design/part-gstobject.txt:
31659         * docs/design/part-standards.txt:
31660         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31661         (gst_bin_remove_func), (gst_bin_remove):
31662         * gst/gstbin.h:
31663         * gst/gstbuffer.c:
31664         * gst/gstcaps.h:
31665         * testsuite/clock/clock1.c: (main):
31666         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31667         (main):
31668         * testsuite/dlopen/loadgst.c: (do_test):
31669         * testsuite/refcounting/bin.c: (add_remove_test1),
31670         (add_remove_test2), (main):
31671         * testsuite/refcounting/element.c: (main):
31672         * testsuite/refcounting/element_pad.c: (main):
31673         * testsuite/refcounting/pad.c: (main):
31674         * tools/gst-launch.c: (sigint_handler_sighandler):
31675         * tools/gst-typefind.c: (main):
31676         Doc updates.
31677         Added doc about clock.
31678         removed gst_bin_iterate_recurse_up(), marked methods
31679         for removal.
31680         Fix more testsuites.
31681
31682 2005-03-09  Wim Taymans  <wim@fluendo.com>
31683
31684         * gst/gstpad.c: (gst_pad_get_direction),
31685         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31686         (gst_pad_collect_valist):
31687         * testsuite/bins/interface.c: (main):
31688         * testsuite/caps/audioscale.c: (test_caps):
31689         * testsuite/caps/caps.c: (test1), (test2), (test3):
31690         * testsuite/caps/deserialize.c: (main):
31691         * testsuite/caps/enumcaps.c: (main):
31692         * testsuite/caps/filtercaps.c: (main):
31693         * testsuite/caps/intersect2.c: (main):
31694         * testsuite/caps/random.c: (main):
31695         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31696         * testsuite/caps/sets.c: (check_caps):
31697         * testsuite/caps/simplify.c: (check_caps), (main):
31698         * testsuite/caps/subtract.c: (check_caps):
31699         Fix _pad_get_direction wrt ghostpads.
31700         Fix caps testsuite.
31701
31702 2005-03-09  Wim Taymans  <wim@fluendo.com>
31703
31704         * check/Makefile.am:
31705         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31706         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31707         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31708         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31709         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31710         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31711         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31712         (bin_element_is_sink), (gst_bin_iterate_sinks),
31713         (gst_bin_iterate_all_by_interface):
31714         * gst/gstbin.h:
31715         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31716         (gst_element_change_state), (gst_element_dispose),
31717         (gst_element_finalize), (gst_element_set_loop_function):
31718         * gst/gstelement.h:
31719         * gst/gstiterator.c: (find_custom_fold_func):
31720         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31721         (gst_pad_collectv), (gst_pad_collect_valist),
31722         (gst_pad_template_new):
31723         * gst/gstpipeline.c: (gst_pipeline_class_init),
31724         (gst_pipeline_dispose), (gst_pipeline_set_property),
31725         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31726         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31727         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31728         * gst/gstutils.h:
31729         * gst/schedulers/entryscheduler.c:
31730         * gst/schedulers/gstbasicscheduler.c:
31731         (gst_basic_scheduler_cothreaded_chain),
31732         (gst_basic_scheduler_chain_add_element):
31733         * testsuite/bins/interface.c: (main):
31734         Added GstBin test.
31735         Added GstSystemClock test.
31736         Implemented clock distribution code in GstBin.
31737         Implemented iterate sinks method for future use.
31738         Rearranged gstelement.h
31739         Fix GstIterator comparison bug.
31740         Moved some code to GstPipeline, mostly clocking related.
31741
31742 2005-03-09  Wim Taymans  <wim@fluendo.com>
31743
31744         * configure.ac:
31745         * gst/gst_private.h:
31746         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31747         (gst_bin_remove_func), (gst_bin_remove),
31748         (gst_bin_get_by_name_recurse_up):
31749         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31750         (gst_clock_id_compare_func), (gst_clock_id_wait),
31751         (gst_clock_id_wait_async), (gst_clock_init),
31752         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31753         * gst/gstelement.h:
31754         * gst/gstinfo.c: (_gst_debug_init):
31755         * gst/gstobject.h:
31756         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31757         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31758         * gst/gstpad.h:
31759         Bump version number, we're now 0.9.0
31760         Add future debugging category.
31761         Fix NULL _unref() in _get_by_name_recurse_up
31762         Rearrange gstpad.h.
31763         Update some docs.
31764
31765 2005-03-08  Wim Taymans  <wim@fluendo.com>
31766
31767         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31768         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31769         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31770         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31771         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31772         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31773         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31774         * gst/elements/gstidentity.c: (gst_identity_class_init):
31775         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31776         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31777         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31778         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31779         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31780         (gst_tee_link):
31781         * gst/gstelement.c: (gst_element_class_init),
31782         (gst_element_base_class_init), (gst_element_init),
31783         (gst_element_get_random_pad), (gst_element_wait_state_change),
31784         (gst_element_change_state), (gst_element_dispose),
31785         (gst_element_finalize), (gst_element_set_loop_function):
31786         * gst/gstelement.h:
31787         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31788         * gst/gstthread.c: (gst_thread_class_init),
31789         (gst_thread_release_children_locks), (gst_thread_change_state):
31790         * gst/schedulers/gstbasicscheduler.c:
31791         (gst_basic_scheduler_loopfunc_wrapper),
31792         (gst_basic_scheduler_chain_wrapper),
31793         (gst_basic_scheduler_src_wrapper),
31794         (gst_basic_scheduler_remove_element):
31795         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31796         Remove threadsafe properties. Fix elements because GObject
31797         complains when installing a property before declaring a
31798         set/get_property handler.
31799         Rearrange gstelement.h file, use STATE macros for state locks.
31800         Free mutexes in the finalize method instead of dispose.
31801
31802 2005-03-08  Wim Taymans  <wim@fluendo.com>
31803
31804         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31805         * gst/gstthread.c: (gst_thread_release_children_locks):
31806         Added parentage check.
31807         Fix build og GstThread again.
31808
31809 2005-03-08  Wim Taymans  <wim@fluendo.com>
31810
31811         * docs/design/part-MT-refcounting.txt:
31812         * docs/design/part-conventions.txt:
31813         * docs/design/part-gstobject.txt:
31814         * docs/design/part-relations.txt:
31815         * docs/design/part-standards.txt:
31816         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31817         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31818         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31819         (gst_bin_iterate_all_by_interface):
31820         * gst/gstbuffer.h:
31821         * gst/gstclock.h:
31822         * gst/gstelement.c: (gst_element_class_init),
31823         (gst_element_change_state), (gst_element_set_loop_function):
31824         * gst/gstelement.h:
31825         * gst/gstiterator.c:
31826         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31827         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31828         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31829         (gst_object_set_parent), (gst_object_unparent),
31830         (gst_object_check_uniqueness):
31831         * gst/gstobject.h:
31832         Docs updates, clean up some headers.
31833
31834 2005-03-07  Wim Taymans  <wim@fluendo.com>
31835
31836         * check/.cvsignore:
31837         * check/Makefile.am:
31838         * check/gst-libs/.cvsignore:
31839         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31840         * check/gst/.cvsignore:
31841         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31842         (START_TEST), (gstbus_suite), (main):
31843         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31844         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31845         (gst_data_suite), (main):
31846         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31847         (add_fold_func), (gstiterator_suite), (main):
31848         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31849         (thread_name_object), (thread_name_object_default),
31850         (gst_object_name_compare), (gst_object_suite), (main):
31851         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31852         (gst_pad_suite), (main):
31853         * check/gstcheck.c: (gst_check_log_message_func),
31854         (gst_check_log_critical_func), (gst_check_init):
31855         * check/gstcheck.h:
31856         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31857         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31858         Added checks.
31859
31860 2005-03-07  Wim Taymans  <wim@fluendo.com>
31861
31862         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31863         (gst_list_iterator_next), (gst_list_iterator_resync),
31864         (gst_list_iterator_free), (gst_iterator_new_list),
31865         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31866         (gst_iterator_free), (gst_iterator_push), (filter_next),
31867         (filter_resync), (filter_uninit), (filter_free),
31868         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31869         (gst_iterator_foreach), (find_custom_fold_func),
31870         (gst_iterator_find_custom):
31871         * gst/gstiterator.h:
31872         Added missing files.
31873
31874 2005-03-07  Wim Taymans  <wim@fluendo.com>
31875
31876         * Makefile.am:
31877         * configure.ac:
31878         * docs/design/part-MT-refcounting.txt:
31879         * docs/design/part-conventions.txt:
31880         * docs/design/part-gstobject.txt:
31881         * docs/design/part-relations.txt:
31882         * examples/mixer/mixer.c: (main):
31883         * examples/thread/thread.c: (eos), (main):
31884         * gst/Makefile.am:
31885         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31886         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31887         (gst_spider_plug_from_srcpad):
31888         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31889         (gst_spider_identity_change_state),
31890         (gst_spider_identity_sink_loop_type_finding):
31891         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31892         * gst/elements/gstidentity.c: (gst_identity_init):
31893         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31894         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31895         * gst/elements/gsttypefindelement.c: (free_entry):
31896         * gst/gst.c:
31897         * gst/gst.h:
31898         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31899         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31900         (gst_bin_set_index), (gst_bin_set_element_sched),
31901         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31902         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31903         (gst_bin_iterate_elements), (iterate_child_recurse),
31904         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31905         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31906         (compare_interface), (gst_bin_get_by_interface),
31907         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31908         * gst/gstbin.h:
31909         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31910         (gst_buffer_default_free), (gst_buffer_default_copy),
31911         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31912         (gst_buffer_create_sub):
31913         * gst/gstbuffer.h:
31914         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31915         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31916         (gst_caps_unref), (gst_static_caps_get),
31917         (gst_caps_remove_and_get_structure), (gst_caps_append),
31918         (gst_caps_append_structure), (gst_caps_remove_structure),
31919         (gst_caps_copy_nth), (gst_caps_set_simple),
31920         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31921         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31922         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31923         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31924         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31925         (gst_caps_structure_figure_out_union),
31926         (gst_caps_switch_structures), (gst_caps_do_simplify),
31927         (gst_caps_replace), (gst_caps_from_string),
31928         (gst_caps_copy_conditional):
31929         * gst/gstcaps.h:
31930         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31931         (_gst_clock_id_free), (gst_clock_id_unref),
31932         (gst_clock_id_compare_func), (gst_clock_id_wait),
31933         (gst_clock_id_wait_async), (gst_clock_class_init),
31934         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31935         (gst_clock_get_time), (gst_clock_set_time_adjust),
31936         (gst_clock_set_property), (gst_clock_get_property):
31937         * gst/gstclock.h:
31938         * gst/gstcompat.h:
31939         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31940         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31941         * gst/gstdata.h:
31942         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31943         (gst_element_requires_clock), (gst_element_provides_clock),
31944         (gst_element_set_clock), (gst_element_clock_wait),
31945         (gst_element_wait), (gst_element_set_time_delay),
31946         (gst_element_is_indexable), (gst_element_add_pad),
31947         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31948         (pad_compare_name), (gst_element_get_static_pad),
31949         (gst_element_request_pad), (gst_element_get_request_pad),
31950         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31951         (gst_element_class_get_pad_template_list),
31952         (gst_element_class_get_pad_template), (gst_element_error_func),
31953         (gst_element_get_random_pad), (gst_element_get_event_masks),
31954         (gst_element_send_event), (gst_element_seek),
31955         (gst_element_get_query_types), (gst_element_query),
31956         (gst_element_get_formats), (gst_element_convert),
31957         (gst_element_is_locked_state), (gst_element_set_locked_state),
31958         (gst_element_sync_state_with_parent), (gst_element_change_state),
31959         (gst_element_finalize), (gst_element_yield),
31960         (gst_element_interrupt), (gst_element_set_scheduler),
31961         (gst_element_get_scheduler), (gst_element_set_loop_function):
31962         * gst/gstelement.h:
31963         * gst/gstevent.h:
31964         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31965         (gst_format_get_by_nick), (gst_format_get_details),
31966         (gst_format_iterate_definitions):
31967         * gst/gstformat.h:
31968         * gst/gstindex.c: (gst_index_gtype_resolver):
31969         * gst/gstinfo.c:
31970         * gst/gstinfo.h:
31971         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31972         (gst_mem_chunk_free):
31973         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31974         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31975         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31976         (gst_object_dispatch_properties_changed),
31977         (gst_object_set_name_default), (gst_object_set_name),
31978         (gst_object_get_name), (gst_object_set_name_prefix),
31979         (gst_object_get_name_prefix), (gst_object_set_parent),
31980         (gst_object_get_parent), (gst_object_unparent),
31981         (gst_object_check_uniqueness), (gst_object_save_thyself),
31982         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31983         (gst_object_set_property), (gst_object_get_property),
31984         (gst_object_get_path_string):
31985         * gst/gstobject.h:
31986         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31987         (gst_real_pad_init), (gst_real_pad_get_property),
31988         (gst_pad_custom_new), (gst_pad_get_direction),
31989         (gst_pad_set_active), (gst_pad_is_active),
31990         (gst_pad_set_event_function), (gst_pad_is_linked),
31991         (gst_pad_link_free), (gst_pad_link_intersect),
31992         (gst_pad_link_fixate), (gst_pad_set_caps),
31993         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31994         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31995         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31996         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31997         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31998         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31999         (gst_pad_realize), (gst_pad_get_allowed_caps),
32000         (gst_real_pad_dispose), (gst_real_pad_finalize),
32001         (gst_pad_collectv), (gst_pad_collect_valist),
32002         (gst_pad_template_dispose), (gst_pad_template_new),
32003         (gst_pad_get_internal_links):
32004         * gst/gstpad.h:
32005         * gst/gstpipeline.c: (gst_pipeline_dispose),
32006         (gst_pipeline_change_state):
32007         * gst/gstpipeline.h:
32008         * gst/gstplugin.c:
32009         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32010         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32011         * gst/gstpluginfeature.h:
32012         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32013         * gst/gstquery.c: (_gst_query_type_initialize),
32014         (gst_query_type_register), (gst_query_type_get_by_nick),
32015         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32016         * gst/gstquery.h:
32017         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32018         * gst/gstscheduler.c: (gst_scheduler_add_element),
32019         (gst_scheduler_factory_create):
32020         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32021         (gst_structure_free), (gst_structure_set_name),
32022         (gst_structure_id_set_value), (gst_structure_set_value),
32023         (gst_structure_set_valist), (gst_structure_remove_field),
32024         (gst_structure_remove_fields),
32025         (gst_structure_remove_fields_valist),
32026         (gst_structure_remove_all_fields), (gst_structure_foreach),
32027         (gst_structure_map_in_place),
32028         (gst_caps_structure_fixate_field_nearest_int),
32029         (gst_caps_structure_fixate_field_nearest_double):
32030         * gst/gststructure.h:
32031         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32032         (gst_system_clock_init), (gst_system_clock_dispose),
32033         (gst_system_clock_async_thread),
32034         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32035         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32036         * gst/gstsystemclock.h:
32037         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32038         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32039         * gst/gsttaginterface.c:
32040         * gst/gstthread.c: (gst_thread_dispose),
32041         (gst_thread_release_children_locks), (gst_thread_change_state),
32042         (gst_thread_main_loop):
32043         * gst/gsttrashstack.h:
32044         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32045         * gst/gsttypes.h:
32046         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32047         (gst_element_request_pad), (gst_element_get_pad_from_template),
32048         (gst_element_request_compatible_pad),
32049         (gst_element_get_compatible_pad_filtered),
32050         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32051         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32052         (gst_element_link_many), (gst_element_link),
32053         (gst_element_link_pads), (gst_element_unlink_pads),
32054         (gst_element_unlink_many), (gst_element_unlink),
32055         (gst_pad_can_link_filtered), (gst_pad_can_link),
32056         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32057         (gst_object_default_error), (gst_bin_add_many),
32058         (gst_bin_remove_many), (gst_element_populate_std_props),
32059         (gst_element_class_install_std_props), (gst_buffer_merge),
32060         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32061         (link_fold_func), (gst_pad_proxy_setcaps):
32062         * gst/gstutils.h:
32063         * gst/gstvalue.c: (gst_value_deserialize_string):
32064         * gst/parse/grammar.y:
32065         * gst/schedulers/gstbasicscheduler.c:
32066         (gst_basic_scheduler_cothreaded_chain),
32067         (gst_basic_scheduler_chain_recursive_add),
32068         (gst_basic_scheduler_pad_link):
32069         * gst/schedulers/gstoptimalscheduler.c:
32070         (get_group_schedule_function),
32071         (gst_opt_scheduler_state_transition),
32072         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32073         * libs/gst/bytestream/bytestream.c:
32074         * libs/gst/dataprotocol/dataprotocol.c:
32075         (gst_dp_header_from_buffer):
32076         * po/nb.po:
32077         * po/ru.po:
32078         * tests/threadstate/threadstate2.c: (eos):
32079         * tools/gst-compprep.c: (main):
32080         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32081         (print_pad_info), (print_children_info):
32082         * tools/gst-launch.c: (idle_func), (main):
32083         * tools/gst-md5sum.c: (idle_func), (main):
32084         * tools/gst-xmlinspect.c: (print_element_info):
32085         First THREADED backport attempt, focusing on adding locks and
32086         making sure the API is threadsafe. Needs more work. More docs
32087         follow this week.
32088
32089 2005-02-24  Andy Wingo  <wingo@pobox.com>
32090
32091         * tests/bench-complexity.scm:
32092         * tests/complexity.gnuplot: New files, good for running complexity
32093         benchmarks.
32094
32095         * tests/Makefile.am:
32096         * tests/complexity.c: New test, sets up N elements, at each level
32097         teeing into M streams per element. Eeeenteresting.
32098
32099         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32100         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32101         running bench-mass_elements.scm.
32102
32103         * tests/bench-mass_elements.scm: New script, runs mass_elements
32104         for various numbers of identities, outputting the results to a
32105         file. Requires guile 1.6. Just for testing.
32106
32107 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32108
32109         * gst/schedulers/fairscheduler.c:
32110           compile with debug disabled
32111
32112 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32113
32114         * configure.ac:
32115           hunting season on 0.9 is now OPEN