libs/gst/base/gstbasetransform.c: Rename a variable to make the code clearer.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * libs/gst/base/gstbasetransform.c:
4         (gst_base_transform_acceptcaps):
5         Rename a variable to make the code clearer.
6
7 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
8
9         * plugins/elements/gstidentity.c:
10         Don't warning on offset==-1. Taken from _check_imperfect_offset().
11
12 2008-11-21  Michael Smith <msmith@songbirdnest.com>
13
14         * plugins/elements/gstfilesrc.c:
15           Check for localhost in URI was backwards, fix it. Fixes unit test.
16
17 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
18
19         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
20         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
21         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
22         Add beginnings of a more optimized acceptcaps function than the default
23         core one.
24
25 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
26
27         * gst/gstpad.c: (gst_pad_accept_caps):
28         Avoid getting the acceptcaps function too early.
29
30 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
31
32         * tools/gst-launch.c: (event_loop):
33         Make gst-launch handle LATENCY messages and make it recalculate the
34         latency.
35
36 2008-11-20  Michael Smith <msmith@songbirdnest.com>
37
38         * plugins/elements/gstfilesrc.c:
39           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
40           out own slightly incorrect version. Fixes use of some paths on
41           win32.
42
43 2008-11-20  Michael Smith <msmith@songbirdnest.com>
44
45         * gst/gstregistrybinary.c:
46           In win32 codepath, if we fail to write the registry, create the
47           directory for it and try again, matching the behaviour in non-win32
48           codepaths.
49
50 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
51
52         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
53         Changing the render delay changes the latency and so we must post a
54         latency message.
55
56 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
57
58         * gst/gstquery.c:
59         * gst/gstquery.h:
60         Add GstQueryType for custom queries instead of having to use the
61         not-so-very-convenient registration infrastructure to register new
62         types.
63
64 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
65
66         Patch by: Andrew Feren <acferen at yahoo dot com>
67
68         * gst/gstobject.c: (gst_object_default_deep_notify):
69         Unref the GEnumClass after usage again. Fixes bug #561501.
70
71 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
72
73         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
74         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
75         (gst_bin_change_state_func):
76         * gst/gstbin.h:
77         Add do-latency signal with the old default fallback implementation. This
78         allows for custom latency calculations for when the default is not
79         sufficient.
80         API: GstBin::do-latency signal.
81
82 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
83
84         * win32/common/libgstreamer.def:
85         Add new symbols to .def file.
86
87 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
88
89         * docs/gst/gstreamer-sections.txt:
90         * gst/gstbin.c: (gst_bin_recalculate_latency),
91         (gst_bin_change_state_func):
92         * gst/gstbin.h:
93         Add method to recalculate and redistribute the latency on a bin.
94         API: gst_bin_recalculate_latency().
95
96 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
97
98         * gst/gstbuffer.h:
99         Document the free_func.
100
101 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
102
103         * libs/gst/controller/gstinterpolation.c:
104         * libs/gst/controller/gstlfocontrolsource.c:
105         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
106         as it is mapped to a cast on non-win32 platforms.
107
108 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
109
110         * libs/gst/controller/gstcontroller.c:
111         * libs/gst/controller/gstcontrollerprivate.h:
112           Keep last-value and only call set_property if value has changed. This
113           supresses all the g_object_notifies we would trigger otherwise. It
114           also allows the user to chage the value while there is no controller
115           change.
116
117 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
118
119         * gst/gstvalue.c:
120           Don't crash if either of the string GValues is empty.
121
122 2008-11-17  Andy Wingo  <wingo@pobox.com>
123
124         * tools/gst-inspect.c (print_all_uri_handlers): New function,
125         prints a summary of what URI schemes are supported by what
126         elements.
127         (main): Plumb in support for --uri-handlers or -u, and fix the
128         argc check for -a and -u.
129
130 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
131
132         * gst/gstutils.h:
133         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
134         conversion functions.
135
136 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
137
138         * gst/gstbuffer.c: (gst_buffer_finalize):
139         Avoid costly typechecking for trivially correct pointers.
140
141         * gst/gstpoll.c: (gst_poll_wait):
142         Add some G_LIKELY here and there.
143
144         * libs/gst/base/gstadapter.c: (gst_adapter_push):
145         Add some debug info.
146
147 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
148
149         * docs/random/wtay/poll-timeout:
150         Small tweaks.
151
152 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
153
154         * tests/old/testsuite/caps/intersection.c: (main):
155         * tests/old/testsuite/plugin/loading.c: (main):
156         Remove references to deprecated API g_mem_chunk*.
157         Fixes #560442.
158
159 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
160
161         * tools/gst-inspect.c: (main):
162         Add --plugin option. Fixes #560301.
163
164 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
165
166         * docs/random/wtay/poll-timeout:
167         Quick braindump for a possible (not totally verified) atomic case.
168
169 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
170
171         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
172         (gst_registry_binary_initialize_magic),
173         (gst_registry_binary_write_cache),
174         (gst_registry_binary_check_magic):
175         * gst/gstregistrybinary.h:
176         Don't write and check a CRC for the binary registry file. It's
177         guaranteed that the registry is completely written (it's first written
178         to a temporary file and then moved) and if the registry was corrupted
179         by some hardware failure we would have bigger problems.
180
181         Bump binary registry version to 0.10.21.1 for this as it's an
182         incompatible change and to ensure that the registry gets rebuild
183         after the update.
184
185         This saves some milliseconds for reading/writing the registry.
186         Fixes bug #560399.
187
188 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
189
190         * docs/random/wtay/poll-timeout:
191         Some pseudo code for how we could implement clock timeouts with GstPoll.
192
193 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
194
195         * plugins/elements/gstfilesink.c:
196           Update Author string to match others.
197
198 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
199
200         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
201         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
202         being fixed and inline the trivial check.
203
204 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
205
206         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
207         (gst_caps_merge_structure), (gst_caps_get_structure),
208         (gst_caps_copy_nth), (gst_caps_set_simple),
209         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
210         (gst_caps_is_equal_fixed), (gst_caps_intersect),
211         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
212         (gst_caps_to_string):
213         Callgrind micro optimisations.
214         Avoid array bounds checks and force inline of trivial function.
215
216         * gst/gstobject.c: (gst_object_set_name_default):
217         -1 is equivalent to letting glib to the strlen but then there is more
218         room for optimisations and it's not our fault.
219
220         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
221         no need to clear the array, we're cool.
222
223         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
224         The most common _is_fixed() check is done on fundamental glib base
225         types so we check this first instead of doing a huge amount of
226         useless GST_TYPE_ARRAY calls.
227
228 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
229
230         * gst/gstevent.h:
231         Add a SKIP seek flag for use with advanced trickmodes.
232         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
233
234 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
235
236         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
237         No need to memset, we can clear the value ourselves.
238
239         * gst/gstvalue.c: (gst_type_is_fixed),
240         (gst_value_get_compare_func):
241         Some optimisations from a few callgrind sessions:
242         When checking if a type is fixed, check for trivial fundamental types
243         first before checking types for which we need to get the type followed
244         by the heavy duty type checks, this reduces the amount of
245         g_type_fundamental() calls a lot.
246         When getting the compare function, first check for our registered types.
247         If that fails, do the heavy duty g_type_is_a() checks, reduces the
248         amount of g_type_is_a() considerably.
249
250 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
251
252         * docs/design/part-TODO.txt:
253         Mumble something about removing GstXML.
254
255 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
256
257         * gst/gstbin.c: (gst_bin_handle_message_func):
258         Get the seqnum before we dispose the message.
259
260 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
261
262         * docs/design/part-TODO.txt:
263         Refer to the framestepping document.
264
265 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
266
267         * gst/gstbin.c: (bin_handle_async_start),
268         (gst_bin_handle_message_func), (gst_bin_query):
269         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
270         (gst_base_sink_event), (gst_base_sink_change_state):
271         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
272         (gst_base_src_loop), (gst_base_src_change_state):
273         Copy seqnums from events to messages so that they can all be related
274         back to eachother.
275
276 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
277
278         * tools/gst-launch.c: (event_loop):
279         Print the message seqnums.
280
281 2008-11-04  Andy Wingo  <wingo@pobox.com>
282
283         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
284
285 2008-11-04  Andy Wingo  <wingo@pobox.com>
286
287         Add sequence numbers to events and messages. See #559250.
288
289         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
290         API: New functions.
291
292         * gst/gstevent.h:
293         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
294         events with a new sequence number, and copy it when copying.
295         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
296         an event's sequence number.
297
298         * gst/gstmessage.h:
299         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
300         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
301         so with messages.
302
303         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
304
305 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
306
307         * docs/manual/advanced-position.xml:
308         * docs/manual/basics-bins.xml:
309         * docs/manual/basics-bus.xml:
310         * docs/manual/basics-pads.xml:
311         * docs/manual/intro-gstreamer.xml:
312         * docs/manual/intro-preface.xml:
313         Some Application Development Manual fixes thanks to
314         Andrew Feren. Fixes #558459.
315
316 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
317
318         * gst/gstregistrybinary.c:
319           Don't bother with the GTimer if we don't output the results.
320
321 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
322
323         Patch by: David Schleef  <ds@schleef.org>
324
325         * libs/gst/net/Makefile.am:
326         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
327
328 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
329
330         * gst/gstregistrybinary.c:
331           Oh my, studip, stupid me. Remove double stat() call.
332
333 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
334
335         * gst/gstpreset.c:
336           Use g_unlink instead of unlink.
337
338         * gst/gststructure.c:
339           Use glib type.
340
341         * gst/gstutils.c:
342           Add a FIXME:.
343
344         * gst/gsttaglist.c:
345         * gst/gsttypefind.c:
346         * gst/gstvalue.c:
347           Formatting & whitespaces.
348
349 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
350
351         * plugins/elements/gstidentity.c:
352           Doc typo. Use return value of parent_class->event.
353   
354         * plugins/elements/gsttypefindelement.c:
355           Chain up at the end for consistency.
356   
357 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
358
359         * docs/Makefile.am:
360         * docs/gst/gstreamer-docs.sgml:
361         * docs/gst/gstreamer-sections.txt:
362         * docs/gst/running.xml:
363         * docs/libs/gstreamer-libs-docs.sgml:
364           Change to xinclude based build - its faster and easier to maintain.
365
366 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
367
368         * gst/gstregistrybinary.c:
369         * gst/gstregistryxml.c:
370           Use g_unlink() as none of these are directories.
371
372 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
373
374         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
375         Some more comments.
376
377 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
378
379         * libs/gst/base/gstbasetransform.c:
380         (gst_base_transform_find_transform), (gst_base_transform_getrange):
381         If we have a fixate function, call it even if we already have fixed caps
382         because the subclass might add some caps. Makes audioconvert add a
383         default channel layout.
384
385 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
386
387         * libs/gst/base/gstbasetransform.c:
388         (gst_base_transform_prepare_output_buffer),
389         (gst_base_transform_getrange):
390         Clear the output buffer variable.
391         Cleanups to the error path in the getrange function.
392         Fixes #557649.
393
394 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
395
396         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
397         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
398         Use gst_buffer_try_new_and_alloc() and handle errors instead of
399         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
400         be allocated.
401
402 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
403
404         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
405         Set the last_stop to a more meaningful position when configuring the
406         segment. ie. the start/stop of the segment or clipped against the
407         updated segment boundaries.
408
409         * tests/check/gst/gstsegment.c: (GST_START_TEST):
410         Add some unit tests for the last_stop.
411
412 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
413
414         * libs/gst/base/gstbytereader.c:
415         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
416         copies of them.
417
418 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
419
420         * docs/gst/gstreamer-sections.txt:
421         * gst/gstutils.h:
422         API: Move float endianness conversion macros from libgstfloatcast
423         to core as it's useful in general, even in core. Fixes bug #555196.
424         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
425         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
426         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
427
428         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
429         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
430         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
431         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
432
433 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
434
435         * docs/libs/gstreamer-libs-sections.txt:
436         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
437         (gst_byte_reader_peek_data):
438         * libs/gst/base/gstbytereader.h:
439         * win32/common/libgstbase.def:
440         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
441         to get a pointer to the data at the current position and have
442         a guaranteed size.
443
444 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
445
446         * configure.ac:
447         Fix a bug in the output of the configure script summary
448         when --gst-disable-registry is supplied
449
450 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
451
452         * libs/gst/base/gstbitreader.c:
453         * libs/gst/base/gstbytereader.c:
454         Fix the names of 2 functions in the docs strings.
455
456 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
457
458         * libs/gst/base/gstbasetransform.c:
459         (gst_base_transform_prepare_output_buffer),
460         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
461         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
462         refcount problems as seen in banshee and maybe also in farsight2.
463         Remove atomic int now that we need to take the lock anyways.
464
465 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
466
467         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
468         (gst_base_sink_default_prepare_seek_segment),
469         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
470         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
471         (gst_base_sink_query):
472         Implement more seeking in pull mode.
473         Use pad convert functions to convert position to the requested format.
474         Fix position/duration reporting in pull mode.
475         Implement position and duration reporting in other formats than time.
476
477         * libs/gst/base/gstbasesink.h:
478         Add member to keep track of when the segment is playing.
479
480 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
481
482         * gst/gstpad.c: (gst_pad_configure_src):
483         When we use gst_pad_alloc_buffer() without wanting to set the caps we
484         also don't need to check if the caps are compatible because the caller
485         presumably is going to perform its own custom checks. Fixes some cases
486         where basetransform elements would error out when it was not needed.
487
488 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
489
490         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
491         Update comment.
492
493         * libs/gst/base/gstbasetransform.c:
494         (gst_base_transform_handle_buffer),
495         (gst_base_transform_reconfigure):
496         Add some debug info.
497
498         * win32/common/libgstbase.def:
499         Add new method.
500
501 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
502
503         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
504           Remove duplicated assignment and log a message in failure case.
505
506 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
507
508         Patch by: Dig Ge <dig.ge.cn at gmail com>
509
510         * tests/examples/helloworld/helloworld.c: (main):
511           Fix copy'n'paste bug in hello world example (#556900).
512
513 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
514
515         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
516         (gst_base_sink_query):
517         Query the total number of bytes when activating the pad in pull mode.
518         Implement duration query in pull mode by using the installed pad convert
519         function to convert from bytes to the requested format.
520
521 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
522
523         * docs/libs/gstreamer-libs-sections.txt:
524         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
525         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
526         (gst_base_sink_event), (gst_base_sink_perform_seek),
527         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
528         (gst_base_sink_send_event), (gst_base_sink_change_state):
529         * libs/gst/base/gstbasesink.h:
530         Add method to commit the state in subclasses.
531         Refactor the flush_start and flush_stop code because we need it for
532         flushing while seeking too.
533         Implement the beginnings of seeking in pull mode.
534         Use the segment last_stop field for the pulling offset.
535         Fix the pause method in pull mode.
536         Configure the segment to BYTES for pull mode.
537         API: GstBaseSink::gst_base_sink_do_preroll()
538
539 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
540
541         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
542         Update some docs.
543
544 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
545
546         * gst/gstquark.c: (_priv_gst_quarks_initialize):
547           Fix printf format warning.
548
549 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
550
551         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
552         Fix flow aggregation of tee. Error out immediately for all flow returns
553         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
554         and return OK if at least one pad is linked.
555
556         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
557         and otherwise returned the flow return of the last pad, which is wrong.
558         
559         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
560         (GST_START_TEST), (tee_suite):
561         Add unit tests for the flow aggregation.
562
563 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
564
565         * docs/design/part-TODO.txt:
566         Remove item from the todo list because it was fixed with the latency
567         state change rewrites.
568
569         * docs/design/part-seeking.txt:
570         * docs/design/part-segments.txt:
571         Update some docs.
572
573         * gst/gstevent.c: (gst_event_new_new_segment_full),
574         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
575         (gst_event_parse_buffer_size), (gst_event_new_qos),
576         (gst_event_parse_qos), (gst_event_new_seek),
577         (gst_event_parse_seek), (gst_event_new_latency),
578         (gst_event_parse_latency):
579         Use quarks to construct and parse events.
580
581         * gst/gstquark.c: (_priv_gst_quarks_initialize):
582         * gst/gstquark.h:
583         Add some more quarks to the table.
584         Emit a warning when the quark tables are not in sync.
585
586         * tests/check/gst/gstbus.c: (GST_START_TEST):
587         Add an assert.
588
589 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
590
591         * plugins/elements/Makefile.am:
592         * plugins/indexers/Makefile.am:
593           Don't install static libs for plugins. Fixes #550851 for core.
594
595 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
596
597         * gst/gstbus.c: (gst_bus_source_finalize),
598         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
599         (gst_bus_enable_sync_message_emission),
600         (gst_bus_disable_sync_message_emission),
601         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
602         Fix deadlock, g_source_get_id() cannot be called in finalize.
603         Keep track of the watch source by keeping a pointer to the source object
604         instead.
605         Use the bus lock to protect access to the pointer to the current
606         watch source.
607
608 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
609
610         Base on Patch by: Olivier Crete <tester at tester dot ca>
611
612         * gst/gstbus.c: (gst_bus_source_finalize),
613         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
614         Only allow one bus watch to be set at a time. This is necessary
615         because the dispatcher pops the message from the bus and the second
616         watcher will then get NULL or the next message (and the first won't
617         get this next message then, etc). If more than one "watcher" is
618         required signal watches should be used. Fixes bug #526044.
619
620 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
621
622         * tools/gst-launch.c:
623         Change the printing of the 'buffering...' output to avoid putting
624         a \r in a translateable string (flagged by the TP).
625
626 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
627
628         * gst/gstxml.c:
629         Clarify that the save_thyself() and restore_thyself() virtual
630         functions of GstObject need to be overriden, not
631         gst_object_(save|restore)_thyself() which is impossible.
632         Fixes bug #555700.
633
634 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
635
636         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
637         Revert a patch from 21 months ago that broke caps negotiation in pull
638         mode. Basically, having a buffer pass over a pad will trigger the
639         setcaps function when caps change, just like in push mode.
640
641 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
642
643         * docs/design/part-negotiation.txt:
644         Update the docs some more.
645
646         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
647         If we pull a buffer with non-trivial caps, suggest those caps with the
648         max probability.
649
650 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
651
652         * docs/design/part-TODO.txt:
653         Add another limitation of pad-blocking with segment seeks not pushing
654         EOS events.
655
656 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
657
658         * win32/common/libgstbase.def:
659         * win32/common/libgstreamer.def:
660         Add new symbols to the win32 defs files
661
662 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
663
664         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
665         (gst_bin_handle_message_func):
666         The message src can be NULL, don't try to print the object names in that
667         case.
668
669         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
670         Add some more debug info.
671
672         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
673         (GST_START_TEST):
674         Add some debug.
675         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
676         scheduling modes.
677
678 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
679
680         * docs/design/part-negotiation.txt:
681         Small doc update.
682
683         * docs/libs/gstreamer-libs-sections.txt:
684         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
685         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
686         (gst_base_sink_init), (gst_base_sink_set_blocksize),
687         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
688         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
689         (gst_base_sink_loop), (gst_base_sink_pad_activate),
690         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
691         (gst_base_sink_change_state):
692         * libs/gst/base/gstbasesink.h:
693         Add blocksize property and methods to control the amount of data
694         to pull.
695         Negotiate first before activating upstream in pull mode so that they can
696         negotiate themselves.
697         When we operate in pull mode, we only accept the caps that we
698         negotiated.
699         Make the sink go ASYNC to PAUSED, like all other sinks.
700         API: GstBaseSink::gst_base_sink_set_blocksize()
701         API: GstBaseSink::gst_base_sink_get_blocksize()
702         API: GstBaseSink::blocksize
703
704         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
705         (gst_base_src_set_live), (gst_base_src_is_live),
706         (gst_base_src_set_format), (gst_base_src_query_latency),
707         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
708         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
709         (gst_base_src_set_property), (gst_base_src_get_property):
710         * libs/gst/base/gstbasesrc.h:
711         Add typechecking in public API functions.
712         Add methods to control the blocksize in subclasses.
713         API: GstBaseSrc::gst_base_src_set_blocksize()
714         API: GstBaseSrc::gst_base_src_get_blocksize()
715
716 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
717
718         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
719         (buffer_probe), (event_probe), (GST_START_TEST):
720         We now see 3 events go through our pad, since basesink now sends
721         upstream latency events.
722
723 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
724
725         * gst/gstpipeline.c: (gst_pipeline_change_state):
726         Release the object lock before trying to flush the bus.
727
728 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
729
730         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
731         Forward LATENCY events upstreams so that elements know about the total
732         pipeline latency. Fixes #555307.
733
734 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
735
736         * plugins/elements/gstqueue.c:
737         Allow through queries when we don't know how
738         to adjust them (not TIME or BYTES), as otherwise it's
739         not possible to query the current position in order
740         to seek in other formats at all.
741
742 2008-10-08  Andy Wingo  <wingo@pobox.com>
743
744         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
745
746 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
747
748         * gst/gstghostpad.c:
749         * gst/gstghostpad.h:
750         Unbreak -good build, private is a reserved c++ keyword.
751
752 2008-10-08  Andy Wingo  <wingo@pobox.com>
753
754         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
755         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
756         removal: re-add GST_GHOST_PAD_CAST to the header.
757
758         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
759         (GstGhostPadClass): Publically expose these structures so as to
760         allow easy subclassing from C. Hide the member data behind a
761         private opaque data pointer.
762
763         * gst/gstghostpad.c: Adapt to store instance data in the type
764         instance's private data region, not in the public struct.
765
766 2008-10-08  Andy Wingo  <wingo@pobox.com>
767
768         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
769         template via g_object_get(), be sure to unref it.
770
771         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
772
773 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
774
775         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
776         If we can't get a cache file don't try to save something to it.
777         Dereferencing NULL pointers usually isn't a good idea.
778
779 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
780
781         * tests/check/Makefile.am:
782         * tests/check/gst/gstabi.c:
783         * tests/check/gst/struct_sparc.h:
784         * tests/check/libs/libsabi.c:
785         * tests/check/libs/struct_sparc.h:
786         Add Sparc ABI checks
787
788         * tests/check/gst/gstvalue.c: (GST_START_TEST):
789         Cast signed integer to unsigned to avoid a compiler warning.
790
791 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
792
793         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
794         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
795         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
796         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
797         (gst_byte_reader_peek_int24_be):
798         Use new GST_READ_UINT24_(LE|BE) macros.
799
800 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
801
802         * docs/gst/gstreamer-sections.txt:
803         * gst/gstutils.h:
804         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
805         as it's too easy to break the ISO C strict aliasing rules with simple
806         casts to the corresponding type and this would introduce hard to debug
807         bugs. Fixes bug #545714.
808
809         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
810
811 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
812
813         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
814         * gst/gstghostpad.c: (gst_ghost_pad_construct):
815           Add 'Since' bits to gtk-doc chunks for new API.
816
817 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
818
819         * docs/gst/gstreamer-sections.txt:
820         Fix documentation
821
822 2008-10-06  Andy Wingo  <wingo@pobox.com>
823
824         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
825         that will be called on the malloc_data to free it. Basically a way
826         to avoid subclassing when all you need is a different free
827         function, i.e. free() instead of g_free().
828
829         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
830         calling the free function.
831         (gst_buffer_init): Initialize the free function to g_free.
832
833 2008-10-06  Andy Wingo  <wingo@pobox.com>
834
835         * gst/gstghostpad.h:
836         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
837         finishes the initialization of ghost pad. Useful for language
838         bindings and subclassers of GstGhostPad. Fixes #539108.
839         (gst_ghost_pad_new_full): Use the new constructor.
840
841 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
842
843         Base on Patch by: Olivier Crete <tester at tester dot ca>
844
845         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
846         (gst_bin_remove_func), (update_degree),
847         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
848         Keep track of pads that are being linked/unlinked and resync the state
849         changes.
850
851         * gst/gstpad.c: (gst_pad_get_direction),
852         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
853         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
854         (gst_pad_link_prepare), (gst_pad_link),
855         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
856         (gst_pad_check_pull_range), (gst_pad_get_range),
857         (gst_pad_pull_range):
858         Some code cleanups, use macros to check pad direction.
859         Don't need to take the lock on the pad direction.
860         Post structure change when pads are linked/unlinked.
861         Change some checks into _return_if_fail().
862
863         * tests/check/gst/gstbin.c:
864         (test_link_structure_change_state_changed_sync_cb),
865         (GST_START_TEST), (gst_bin_suite):
866         Add testcase for pad link/unlinke resync during a state change.
867         Fixes #510354.
868
869 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
870
871         * docs/gst/gstreamer-sections.txt:
872         * gst/gstmessage.c: (gst_message_new_structure_change),
873         (gst_message_parse_structure_change):
874         * gst/gstmessage.h:
875         Implement STRUCTURE_CHANGED messages. These messages will be used to
876         signal the parent bin of link/unlink operations that could require a
877         resync when doing a state change. See ##510354.
878         API: gst_message_new_structure_change()
879         API: gst_message_parse_structure_change()
880
881 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
882
883         * gst/gstquark.c:
884         * gst/gstquark.h:
885         Add some more quarks for new message. See #510354.
886
887 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
888
889         * docs/libs/gstreamer-libs-docs.sgml:
890         * docs/libs/gstreamer-libs-sections.txt:
891         * libs/gst/base/Makefile.am:
892         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
893         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
894         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
895         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
896         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
897         (gst_bit_reader_skip_to_byte):
898         * libs/gst/base/gstbitreader.h:
899         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
900         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
901         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
902         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
903         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
904         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
905         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
906         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
907         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
908         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
909         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
910         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
911         * libs/gst/base/gstbytereader.h:
912         * tests/check/Makefile.am:
913         * tests/check/libs/bitreader.c: (GST_START_TEST),
914         (gst_bit_reader_suite):
915         * tests/check/libs/bytereader.c: (GST_START_TEST),
916         (gst_byte_reader_suite):
917         API: Add bit reader and byte reader classes, including documentation
918         and an extensive unit test suite. Fixes bug #553554.
919
920 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
921
922         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
923         (gst_base_sink_query):
924         Improve position reporting while flushing and other intermediate state
925         changes. Fixes #553874.
926
927 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
928
929         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
930
931         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
932         Original patch by : Simon Descaries
933         Fix small refount leak in caps compatibility check.
934         Fixes #551676.
935
936 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
937
938         * docs/pwg/advanced-request.xml:
939           Fix 0.8 api usage in example. Fixes #554561
940
941         * docs/pwg/appendix-porting.xml:
942           Change 0.9 to 0.10 here.
943
944 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
945
946         * docs/manual/basics-data.xml:
947           Change "event-event interaction" to "element-element interaction".
948           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
949           updates.
950
951 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
952
953         * configure.ac:
954         Back to development -> 0.10.21.1
955
956 === release 0.10.21 ===
957
958 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
959
960         * configure.ac:
961           releasing 0.10.21, "Take These Things From Me"
962
963 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
964
965         * configure.ac:
966         0.10.20.4 pre-release
967
968 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
969
970         * libs/gst/base/gstbasetransform.c:
971         * plugins/elements/gstcapsfilter.c:
972         * tests/check/Makefile.am:
973         * tests/check/elements/.cvsignore:
974         * tests/check/elements/capsfilter.c:
975         Fix assertion in basetransform when the subclass chooses not to
976         allocate a buffer in prepare_buffer(), and make capsfilter error out
977         cleanly if requested to apply caps that don't completely specify the
978         buffer. Fixes #551509
979
980 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
981
982         * libs/gst/base/gstbasetransform.c:
983         (gst_base_transform_prepare_output_buffer):
984         Take new caps ref because our old one might have been gone when the
985         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
986
987 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
988
989         * configure.ac:
990           Do not probe availability of check unit test library when cross
991           compiling, as test would not work anyway. Also cleanup verbose output
992           of the check test. Fixes #551952.
993
994 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
995
996         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
997
998         * gst/gstelement.c: (gst_element_sync_state_with_parent):
999         Avoid leaking the parent ref when we fail changing the state of the
1000         element using gst_element_sync_state_with_parent(). Fixes #551978.
1001
1002 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1003
1004         * docs/manual/intro-motivation.xml::
1005           Remove some bits that no longer apply, update others (#551642).
1006
1007 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1008
1009         * configure.ac:
1010         0.10.20.2 pre-release
1011
1012         * po/LINGUAS:
1013         * po/id.po:
1014         * po/pt_BR.po:
1015
1016         New translations.
1017
1018 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1019
1020         * win32/common/config.h.in:
1021           Add GST_DATADIR, hard-code cpu to x86.
1022
1023         * win32/common/libgstreamer.def:
1024           Spaces to tabs.
1025
1026 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1027
1028         * gst/gsttaglist.h:
1029           Fix Since: markers for new geo tags.
1030
1031 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1032
1033         * gst/gsttaglist.h:
1034           Fix actual tag name define after renaming from altitude to elevation.
1035
1036 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1037
1038         * gst/gstpad.c: (add_unref_pad_to_list),
1039         (gst_pad_get_internal_links_default):
1040         Add fallback when calling the deprecated function on an element that
1041         implements the new internal_link handler.
1042
1043 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1044
1045         * docs/gst/gstreamer-sections.txt:
1046         * gst/gsttaglist.c:
1047         * gst/gsttaglist.h:
1048           Add new tags for geo location and clarify purpose of existing location
1049           tag. Fixes #481169
1050
1051 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1052
1053         Patch by: Olivier Crete <tester at tester dot ca>
1054
1055         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1056         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1057         Use thread-safe internal links iterator. Fixes #549504.
1058
1059 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1060
1061         Based on patch by: Olivier Crete <tester at tester dot ca>
1062
1063         * docs/gst/gstreamer-sections.txt:
1064         * win32/common/libgstreamer.def:
1065         * gst/gstpad.c: (gst_pad_init),
1066         (gst_pad_set_iterate_internal_links_function),
1067         (int_link_iter_data_free), (iterate_pad),
1068         (gst_pad_iterate_internal_links_default),
1069         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1070         * gst/gstpad.h:
1071         Add threadsafe replacement functions for getting internal links of an
1072         element. Deprecate the old internal links functions.
1073         API:GstPad::gst_pad_set_iterate_internal_links_function()
1074         API:GstPad::GstPadIterIntLinkFunction
1075         API:GstPad::gst_pad_iterate_internal_links()
1076         API:GstPad::gst_pad_iterate_internal_links_default()
1077
1078         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1079         (gst_proxy_pad_init):
1080         Implement threadsafe internal links.
1081
1082         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1083         Unit test for internal links on tee. See #549504.
1084
1085 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1086
1087         * tests/check/Makefile.am:
1088         libs/transform1 test requires libs/test_transform.c
1089
1090 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1091
1092         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1093         Die evil deadlock, die !
1094
1095 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1096
1097         * gst/gstutils.c: (gst_element_get_compatible_pad):
1098         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1099         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1100         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1101         not steal the refcount of the given caps as stated.
1102
1103         REVERT THIS COMMIT ONCE FIXED !
1104         REVERT THIS COMMIT ONCE FIXED !
1105         REVERT THIS COMMIT ONCE FIXED !
1106         REVERT THIS COMMIT ONCE FIXED !
1107         REVERT THIS COMMIT ONCE FIXED !
1108         REVERT THIS COMMIT ONCE FIXED !
1109
1110 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1111
1112         * gst/gstiterator.c:
1113         * gst/gstiterator.h:
1114         After 3 years it's about time to revise the documentation of the
1115         iterator objects.
1116
1117 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1118
1119         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1120         Make the internal links function less thread-unsafe and add some
1121         comments, dunno why.
1122
1123 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1124
1125         * gst/gst_private.h:
1126           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1127           build with --disable-gst-debug.
1128
1129 2008-08-28  David Schleef  <ds@schleef.org>
1130
1131         * gst/gstpadtemplate.c: Revert last change, since it breaks
1132           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1133           but shouldn't be enabled until we've released fixed versions
1134           of -good and -ffmpeg.
1135
1136 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1137
1138         * gst/gstobject.c:
1139           Put the gst_object_get_name() back in.
1140
1141 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1142
1143         * gst/gstpadtemplate.c:
1144           The old behaviour was that gst_pad_template_new() takes ownership of
1145           the caps. As we now call g_object_new() which calls g_object_set() and
1146           which copies the caps, we have to unref them to not leak them. Fixes
1147           make valgrid for me.
1148
1149 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1150
1151         * gst/gsturi.c:
1152           Don't segfault on input like "tel:+1-123-555-1234".
1153
1154 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1155
1156         * gst/gstobject.c:
1157           Due to popular request also include ObjectType in
1158           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1159
1160 2008-08-26  David Schleef  <ds@schleef.org>
1161
1162         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1163           src_val must be positive, because that's not a requirement.
1164           This causes problems with converting negative granulepos
1165           values for Dirac.
1166         * gst/gstquery.c: Same, gst_query_new_convert().
1167
1168 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1169
1170         * gst/gstclock.c: (gst_clock_add_observation):
1171         Add some more debugging to the clock slaving code.
1172
1173         * win32/common/libgstbase.def:
1174         Add new basetransform method.
1175
1176 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1177
1178         * gst/gstbin.c: (gst_bin_element_set_state):
1179         Take the (recursive) state lock between getting the locked state of an
1180         element and changing the element state. This allows the application to
1181         lock an element's state and then change its state without races.
1182
1183 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1184
1185         * gst/gstbin.c: (gst_bin_element_set_state):
1186         When an element is in the locked state we still want to update the
1187         base_time of the element.
1188
1189 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1190
1191         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1192         Use the result from gst_pad_set_caps() instead of assuming the element
1193         always accepted the caps computed by the default negotiate function.
1194
1195 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1196
1197         * docs/libs/gstreamer-libs-sections.txt:
1198         * libs/gst/base/gstbasetransform.c:
1199         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1200         (gst_base_transform_chain), (gst_base_transform_suggest),
1201         (gst_base_transform_reconfigure):
1202         * libs/gst/base/gstbasetransform.h:
1203         Implement method for reconfiguring basetransform.
1204         API: GstBaseTransform::gst_base_transform_reconfigure()
1205
1206 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1207
1208         patch by: Murray Cumming <murrayc@murrayc.com>
1209
1210         * gst/gstutils.c:
1211           Mention that this is just like gst_buffer_merge() but with extra
1212           unreffing for C coders. Advise language bindings not to wrap it.
1213           Fixes Bug #533856.
1214           
1215           Also fix file comment.
1216
1217 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1218
1219         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1220
1221         * plugins/elements/gstfakesink.c:
1222         * plugins/elements/gstfakesrc.c:
1223           Call super::event() when not handling it. Fixes #544855.
1224
1225 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1226
1227         Patch by: Alessandro Decina <alessandro@nnva.org>
1228         * plugins/elements/gstfilesrc.c:
1229           Use 64 bit variants of stat functions on win32, to enable support
1230           of large files there.
1231           Fixes #547277.
1232
1233 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1234
1235         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1236         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1237         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1238         (gst_base_sink_get_position), (gst_base_sink_change_state):
1239         Improve position reporting in the flushing state.
1240         Also report the position when we are not yet prerolled but we
1241         have a newsegment event. Fixes #543444.
1242         Improve the pull-based negotiation code.
1243
1244         * tests/check/elements/fakesink.c: (GST_START_TEST),
1245         (fakesink_suite):
1246         Add testcase for position reporting while flushing in PAUSED and
1247         PLAYING.
1248
1249         * tests/check/generic/sinks.c: (GST_START_TEST):
1250         Update unit-test, we can now query the position as soon as we receive a
1251         NEWSEGMENT event.
1252
1253 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1254
1255         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1256
1257         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1258         When the subclass event handler releases the PREROLL_LOCK, we could be
1259         in the flushing state and we have to ignore the event. Fixes #548394.
1260
1261 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1262
1263         * tools/gst-launch.1.in:
1264           Document GST_REGISTRY_UPDATE environment variable.
1265
1266 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1267
1268         * libs/gst/base/gstbasetransform.c:
1269         (gst_base_transform_prepare_output_buffer):
1270         If the element is configured in passthrough mode but the
1271         prepare_output_buffer gave us a new output buffer, discard that buffer
1272         and reuse the input buffer.
1273
1274 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1275
1276         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1277
1278         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1279         (gst_tee_request_new_pad), (gst_tee_release_pad),
1280         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1281         * plugins/elements/gsttee.h:
1282         Protect pad_alloc with a new lock so that we can be sure that nothing is
1283         performing a pad_alloc when removing the pad. Fixes #547835.
1284
1285         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1286         (buffer_alloc_harness_teardown), (app_thread_func),
1287         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1288         Added testcase for shutdown race.
1289
1290 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1291
1292         * gst/gstpad.h:
1293         Add doc
1294
1295 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1296
1297         * libs/gst/base/gstbasetransform.c:
1298         (gst_base_transform_prepare_output_buffer),
1299         (gst_base_transform_buffer_alloc):
1300         Go over the buffer_alloc function again and make sure we always end up
1301         allocating a buffer.
1302         Add some more docs.
1303         Avoid doing pad alloc when we have a pending suggestion because we
1304         cannot yet deal with changing caps in that case. Fixes #547728
1305
1306 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1307
1308         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1309
1310         * docs/manual/advanced-clocks.xml:
1311         * docs/manual/clocks.png:
1312         * docs/manual/diagrams-clocks.svg:
1313           Add one more image showing different times together with a describing
1314           paragraph. Fixes #547729.
1315
1316 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1317
1318         * win32/common/libgstbase.def:
1319         Add new method.
1320
1321 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1322
1323         * libs/gst/base/gstbasetransform.c:
1324         (gst_base_transform_transform_caps),
1325         (gst_base_transform_prepare_output_buffer),
1326         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1327         Don't overwrite the outsize when calculating the expected size of a new
1328         buffer because we still need it in case we cannot process the new
1329         buffer.
1330         When converting the size of the new buffer to an upstream size, actually
1331         use the expected size of the buffer, not some other random value.
1332         Use an atomic int to signal that a new upstream caps suggestion is
1333         available.
1334         When we can convert the current buffer to a new format, check if the
1335         buffer size is of the expected size and allocate a new buffer of the
1336         expected size when this is not the case. Fixes #546883.
1337
1338         * tests/check/libs/transform1.c: (GST_START_TEST):
1339         remove ifdeffed code from the unit test.
1340
1341 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1342
1343         * pkgconfig/gstreamer-uninstalled.pc.in:
1344         * pkgconfig/gstreamer.pc.in:
1345           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1346           called gstcontroller-0.10.
1347
1348 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1349
1350         * gst/gstchildproxy.h:
1351         * gst/gstpreset.h:
1352           Remove double interface from doc-string.        
1353
1354 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1355
1356         * libs/gst/base/gstbasesrc.c:
1357         * libs/gst/base/gstbasetransform.c:
1358           Fix headings in docs and gtk-doc warnings.
1359
1360 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1361
1362         * gst/gstregistrybinary.c:
1363           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1364           libc.
1365           Fixes #544776.
1366
1367 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1368
1369         * libs/gst/base/gstbasetransform.c:
1370         (gst_base_transform_buffer_alloc):
1371         Fix a "may be used unitialized" warning.
1372
1373 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1374
1375         * docs/gst/gstreamer-sections.txt:
1376         * gst/gstpreset.h:
1377           Document preset-iface vmethods.
1378
1379 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1380
1381         * docs/manual/advanced-interfaces.xml:
1382           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1383           only used to discover devices.
1384
1385 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1386
1387         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1388
1389         * gst/gst.c: (init_pre):
1390         Make sure gettext returns translations in UTF-8 encoding rather
1391         than in the current locale encoding (#546822).
1392
1393 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1394
1395         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1396         Fix subset test.
1397
1398         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1399         Improve unit test subset tests and add a testcase for the subset failure
1400         cases.
1401
1402         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1403         Improve subtraction unit test.
1404
1405 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1406
1407         * plugins/elements/gsttee.c:
1408           Unlock, instead of locking again.
1409
1410 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1411
1412         * gst/gstpad.h:
1413         Clarify the docs a bit more.
1414
1415 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1416
1417         * tests/examples/metadata/read-metadata.c:
1418           Don't leak old taglist.
1419
1420 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1421
1422         Patch by: Olivier Crete <tester at tester dot ca>
1423
1424         * gst/gststructure.c:
1425         (gst_structure_fixate_field_nearest_fraction):
1426         Avoid overflows in fixation code when dealing with MAXINT values, which
1427         v4l2src seems to do.
1428         Fixes #546328.
1429
1430         * tests/check/gst/gststructure.c: (GST_START_TEST):
1431         Make a unit test to check the fix. 
1432
1433 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1434
1435         * plugins/elements/gstcapsfilter.c: (copy_func),
1436         (gst_capsfilter_set_property):
1437         Use new caps suggestion feature of basetransform to request a caps
1438         negotiation upstream.
1439
1440 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1441
1442         * docs/libs/gstreamer-libs-sections.txt:
1443         Add new function:
1444         API: GstBaseTransform::gst_base_transform_suggest()
1445
1446         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1447         (gst_base_transform_init), (gst_base_transform_transform_caps),
1448         (gst_base_transform_transform_size),
1449         (gst_base_transform_configure_caps),
1450         (gst_base_transform_can_transform),
1451         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1452         (gst_base_transform_prepare_output_buffer),
1453         (gst_base_transform_buffer_alloc),
1454         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1455         (gst_base_transform_chain), (gst_base_transform_activate),
1456         (gst_base_transform_set_passthrough),
1457         (gst_base_transform_is_passthrough),
1458         (gst_base_transform_set_in_place),
1459         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1460         (gst_base_transform_set_qos_enabled),
1461         (gst_base_transform_is_qos_enabled),
1462         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1463         (gst_base_transform_reconfigure):
1464         * libs/gst/base/gstbasetransform.h:
1465         Rewrite of basetransform to perform negotiation outside of the
1466         buffer_alloc functions.  Fixes #545853.
1467
1468         * tests/check/libs/transform1.c: (GST_START_TEST),
1469         (buffer_alloc_ct2):
1470         Update unit test.
1471
1472 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1473
1474         * tests/check/gst/gstpreset.c:
1475           Only run preset tests when $HOME is writable. Preliminary fix for
1476           #545433.
1477
1478 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1479
1480         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1481         (gst_bin_change_state_func), (bin_handle_async_done),
1482         (gst_bin_handle_message_func):
1483         Fix race for bins that simulate ASYNC state changes by inserting
1484         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1485         pending ASYNC messages even when the bin does not have ASYNC children.
1486         We note detect this behaviour because we will receive an ASYNC message
1487         that is originating from the bin itself. 
1488         Fixes races with decodebin2 state changes.
1489
1490         * tests/check/gst/gstbin.c: (GST_START_TEST):
1491         Add some more debug.
1492
1493 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1494
1495         * gst/gsttaglist.c: (_gst_tag_initialize):
1496           Fix typo.
1497
1498 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1499
1500         * gst/gsttaglist.c:
1501           Argh. actually save the text before committing. Now adds
1502           gst_tag_merge_strings_with_comma() to gst_tag_register().
1503
1504 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1505
1506         * gst/gsttaglist.c:
1507         * gst/gsttaglist.h:
1508           Do as tim pointed out and actually register the new tag. Also improve
1509           te docs and use gst_tag_merge_strings_with_comma() method to allow
1510           retriving all keywords merged in one list.
1511
1512 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1513
1514         * configure.ac:
1515         * docs/gst/gstreamer.types:
1516           Revert 'accidential' change of the configure option removal. We still
1517           need to generate the types file in configure --disable-load-save.
1518
1519 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1520
1521         * docs/gst/gstreamer-sections.txt:
1522         * gst/gsttaglist.h:
1523           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1524
1525 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1526
1527         * gst/gstpadtemplate.c:
1528           (gst_pad_template_class_init), (gst_static_pad_template_get),
1529           (gst_pad_template_new), (gst_pad_template_pad_created),
1530           (gst_pad_template_set_property), (gst_pad_template_get_property):
1531           Add "name-template", "direction", "presence" and "caps" properties,
1532           so that gst_pad_template_new() is just a thin wrapper around
1533           g_object_new(), which is better for bindings. (Fixes: #539772)
1534
1535 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1536
1537         * gst/gsturi.c:
1538           Be more liberal in what URIs we accept.
1539           Do not unescape bits of the URI for no apparent reason before passing to
1540           the element. Fixes #545352.
1541
1542 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1543
1544         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1545
1546         * gst/gst.c:
1547         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1548
1549 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1550
1551         * configure.ac:
1552         * docs/gst/gstreamer-sections.txt:
1553         * docs/gst/gstreamer.types:
1554         * docs/gst/gstreamer.types.in:
1555         * gst/Makefile.am:
1556         * gst/gst.c:
1557         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1558         * gst/gstconfig.h.in:
1559         * gst/gstelement.c: (gst_element_get_index):
1560         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1561         (gst_registry_binary_load_feature),
1562         (gst_registry_binary_read_cache):
1563         * gst/gstregistryxml.c: (load_feature),
1564         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1565         * plugins/Makefile.am:
1566         * tools/gst-indent:
1567         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1568         (print_plugin_features), (print_element_features):
1569         * tools/gst-xmlinspect.c: (print_event_masks),
1570         (print_element_info):
1571         * win32/common/gstconfig.h:
1572         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1573
1574         Disabling the indexers and URI handler code will only reduce the
1575         required amount of memory by a very small amount but on the other hand
1576         requires much more maintaince work. Apart from that many places of
1577         code are broken when disabling them.
1578
1579         Disabling the enum types doesn't reduce the required amount of memory
1580         by more than a few bytes and makes it hard to fix bugs like #539772,
1581         i.e. use the enums as GObject properties.
1582
1583 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1584
1585         * docs/design/part-TODO.txt:
1586         Add some thoughts and problems with upstream renegotiation.
1587
1588 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1589
1590         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1591         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1592         Remove silly redundant debug.
1593         Add some more debug info.
1594         Clarify the docs regarding new caps received from pad_alloc.
1595
1596 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1597
1598         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1599         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1600         Make setting the caps more threadsafe.
1601
1602 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1603
1604         * docs/design/part-element-transform.txt:
1605         Update docs.
1606
1607 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1608
1609         * plugins/elements/gstqueue.c: (gst_queue_init),
1610         (gst_queue_acceptcaps):
1611         Add and use a custom acceptcaps function instead of falling back to the
1612         potentially less optimized default implementation.
1613
1614 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1615
1616         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1617           Only sanity-check the buffer size if requested_caps == buffer_caps
1618           (ie. don't take pad caps into account, they're not relevant here)
1619
1620 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1621
1622         * plugins/elements/gsttee.c:
1623         * plugins/elements/gsttee.h:
1624           Reverting as not everything is clear yet. Needs some general design
1625           work.
1626
1627 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1628
1629         * ChangeLog:
1630           ChangeLog surgery for tee commit.
1631
1632 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1633
1634         * docs/gst/gstreamer-sections.txt:
1635           Cleanup section-file.
1636
1637 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1638
1639         * plugins/elements/gsttee.c:
1640         * plugins/elements/gsttee.h:
1641           Relay tag events in tee. Fixes parts of #474016.
1642           Downgrades 3 reoccurring debugs to log.
1643
1644 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1645
1646         * configure.ac:
1647         * libs/gst/Makefile.am:
1648           Build the net library if we have winsock2.
1649
1650 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1651
1652         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1653
1654         * docs/manual/advanced-threads.xml:
1655         * docs/manual/diagrams-pipelines.svg:
1656         * docs/manual/hello-world.png:
1657         * docs/manual/linked-elements.png:
1658         * docs/manual/mime-world.png:
1659         * docs/manual/queue.png:
1660         * docs/manual/thread-buffering.png:
1661         * docs/manual/thread-synchronizing.png:
1662           Replace one diagram with two separate ones and updates others.
1663           Fixes #542401.
1664
1665 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1666
1667         * gst/gstelement.h:
1668         Fix link in documentation.
1669
1670 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1671
1672         * gst/gstmessage.c:
1673         Fix confusing documentation.
1674
1675 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1676
1677         * libs/gst/base/gstbasesrc.h:
1678         revert the changes to the header file for the ABI.
1679
1680 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1681
1682         * libs/gst/base/gstbasesrc.c:
1683         * libs/gst/base/gstbasesrc.h:
1684         Don't cache the seekable status.
1685         Fixes bug #544174
1686
1687 2008-07-24  Rene Stadler  <mail@renestadler.de>
1688
1689         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1690         code to close the pipeline graph.  This prevents the program from
1691         printing internal data flow errors.
1692
1693 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1694
1695         * docs/manual/basics-bus.xml:
1696         Correct typo. Fixes bug #544320.
1697
1698 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1699
1700         * configure.ac:
1701           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1702           Add check (taken from -base) for winsock, adds WIN32_LIBS
1703         * gst/Makefile.am:
1704           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1705           winsock.
1706           Define GST_EXPORTS when building libgstreamer (only used on win32)
1707         * gst/gst_private.h:
1708         * gst/gstinfo.h:
1709           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1710           for symbols that we need to export in both these files.
1711         * gst/gstpoll.c:
1712           Include gst_private.h higher up to avoid some compile problems on win32.
1713
1714 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1715
1716         * gst/gstvalue.c:
1717         Fix typos.
1718
1719 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1720
1721         * gst/gstcaps.c:
1722         Previous commit was wrong NULL caps does not exist
1723         and indicate an error, so also add a FIXME to
1724         gst_caps_is_equal where NULL caps are accepted.
1725
1726 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1727
1728         * gst/gstcaps.c:
1729         Allow passing of NULL to gst_caps_union
1730
1731 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1732
1733         * gst/gstghostpad.c:
1734         Add in doc that gst_ghost_pad_set_target can accept
1735         NULL to clear target
1736
1737 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1738
1739         * gst/gstplugin.c:
1740         * gst/gstregistry.c:
1741           GstRegistryPool doesn't exist; don't refer to it in docs.
1742           Don't refer to functions that don't exist in docs, it's
1743           unhelpful.
1744
1745 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1746
1747         * gst/gst.c:
1748         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1749
1750 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1751
1752         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1753
1754         * docs/pwg/building-testapp.xml:
1755         Don't use an undeclared variable in the example program.
1756         Fixes bug #542573.
1757
1758 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1759
1760         * gst/gstdebugutils.c:
1761           Squeeze ghost-pad links and remove <> from classname labels to save
1762           more horizontal space.
1763
1764 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1765
1766         * gst/gstdebugutils.c:
1767           Give request and sometimes pads a different shpe style. Condense the
1768           graphs a little more.
1769
1770 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1771
1772         * configure.ac:
1773           Don't require flex and bison if the parser is disabled.
1774
1775 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1776
1777         * libs/gst/controller/gstinterpolationcontrolsource.c:
1778         (_list_find_sorted_custom):
1779         Don't use declarations after statements.
1780
1781 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1782
1783         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1784         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1785         of the the child-added / -removed signals as GstChildProxy
1786         only supports GstObjects.
1787
1788 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1789
1790         * gst/gstdebugutils.c:
1791         Fix memleak
1792
1793 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1794
1795         Patch by: Alessandro Decina <alessandro at nnva dot org>
1796
1797         * gst/gstpoll.c:
1798         Fix "ignored return value" compiler warning with newer glibc.
1799
1800 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1801
1802         * gst/gstchildproxy.c:
1803         Fix copy&paste error in gst_child_proxy_removed() documentation.
1804
1805 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1806
1807         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1808           Print error debug message if plugin description fields that should
1809           be set are NULL.
1810
1811         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1812           Don't crash if the string to serialise is NULL (it really should
1813           not be, but apparently this used to work with the xml registry ...).
1814
1815 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1816
1817         * tools/gst-plot-timeline.py:
1818         Fix parsing of log messages
1819
1820 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1821
1822         * win32/common/libgstbase.def::
1823           Sort alphabetically so make check-exports doesn't barf.
1824
1825 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1826
1827         * gst/gstevent.c:
1828           Use gst_format_get_name() to improve debug output.
1829
1830         * gst/gstpreset.c:
1831           Remove #ifdef'ed code. Add TODO comment.
1832
1833         * gst/gstsegment.c:
1834           Add debug output to ease spotting format != segment.format assertions.
1835
1836 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1837
1838         * tests/check/libs/gdp.c: (gst_dp_suite):
1839         Also enable the GDP unit test again on PPC now that the bug
1840         is fixed.
1841
1842 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1843
1844         * libs/gst/dataprotocol/dataprotocol.c:
1845         Don't write to the same region of memory as a uint64 and uint16
1846         as this breaks strict aliasing rules and apparantly breaks on PPC
1847         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1848
1849 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1850
1851         * libs/gst/controller/gstinterpolationcontrolsource.c:
1852           Optimize list handling. Use own find function. Exploit that fact that
1853           the list is sorted. Also pass back the node before, so that we can
1854           insert quickly. Have a fast path for append.
1855
1856 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1857
1858         * docs/design/draft-framestep.txt:
1859         * docs/design/part-negotiation.txt:
1860           Fix two typos.
1861
1862 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1863
1864         * configure.ac:
1865           Show configuration sumary after configure run. Based on patch by
1866           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1867
1868 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1869
1870         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1871
1872         * docs/manual/advanced-autoplugging.xml:
1873         * docs/manual/advanced-threads.xml:
1874         * docs/manual/basics-bins.xml:
1875         * docs/manual/basics-elements.xml:
1876         * docs/manual/basics-helloworld.xml:
1877         * docs/manual/basics-pads.xml:
1878           Add scale factor for pdf output.
1879
1880         * docs/manual/intro-basics.xml:
1881           Switched sections "pads" and "bins" and added a pipeline diagram.
1882
1883         * docs/manual/intro-gstreamer.xml:
1884           Added more info on gstreamer.
1885
1886         * docs/manual/intro-motivation.xml:
1887           Commented out the whole section "current problem", which sounds
1888           historical and somehow osolete; it could be turned in a positive
1889           way and reused to improve the design principles.
1890
1891         * docs/manual/intro-preface.xml:
1892           - Update URLs to library.gnome.org. 
1893           - Do not mention GTK+ in preliminary reading (irrelevant). 
1894           - Mention Plugin Writer's Manual and further reading only in the
1895             previous section.
1896           - Added a list of most relevant GObject/glib topics.
1897
1898         * docs/manual/Makefile.am:
1899         * docs/manual/bin-element-ghost.fig:
1900         * docs/manual/bin-element-ghost.png:
1901         * docs/manual/bin-element-noghost.fig:
1902         * docs/manual/bin-element-noghost.png:
1903         * docs/manual/bin-element.fig:
1904         * docs/manual/bin-element.png:
1905         * docs/manual/filter-element-multi.fig:
1906         * docs/manual/filter-element-multi.png:
1907         * docs/manual/filter-element.fig:
1908         * docs/manual/filter-element.png:
1909         * docs/manual/gstreamer-overview.png:
1910         * docs/manual/hello-world.fig:
1911         * docs/manual/hello-world.png:
1912         * docs/manual/linked-elements.fig:
1913         * docs/manual/linked-elements.png:
1914         * docs/manual/mime-world.fig:
1915         * docs/manual/mime-world.png:
1916         * docs/manual/queue.fig:
1917         * docs/manual/queue.png:
1918         * docs/manual/simple-player.png:
1919         * docs/manual/sink-element.fig:
1920         * docs/manual/sink-element.png:
1921         * docs/manual/src-element.fig:
1922         * docs/manual/src-element.png:
1923         * docs/manual/diagrams-general.svg:
1924         * docs/manual/diagrams-pipelines.svg:
1925           Removed .fig, added .png counterpart.
1926           
1927           Fixes: #539137
1928
1929 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1930
1931         * plugins/elements/gstmultiqueue.c:
1932         * plugins/elements/gstmultiqueue.h:
1933         revert extra-size-buffers stuff, caused some race conditions
1934         and extra-size-buffers is not used anymore. Docs needs some updates
1935
1936 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1937
1938         * win32/common/config.h:
1939         * win32/common/gstenumtypes.c:
1940         * win32/common/gstenumtypes.h:
1941         * win32/common/gstversion.h:
1942           Update win32 files.
1943
1944 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1945
1946         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1947           (GST_DEBUG_BIN_TO_DOT_FILE):
1948           Add missing Since' markers to gtk-doc blurbs.
1949
1950 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1951
1952         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1953         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1954         (set_caps_1), (set_caps_ct1), (transform_ct1),
1955         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1956         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1957         (transform_size_ct2), (buffer_alloc_ct2):
1958         Add some more tests with switching caps in buffer_alloc.
1959
1960 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1961
1962         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1963         (gst_test_trans_class_init), (result_sink_chain),
1964         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1965         (gst_test_trans_push), (gst_test_trans_pop):
1966         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1967         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1968         (set_caps_1), (set_caps_ct1), (transform_ct1),
1969         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1970         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1971         (transform_size_ct2), (buffer_alloc_ct2),
1972         (gst_basetransform_suite):
1973         More tests, prepare for tests with switching caps in buffer_alloc.
1974
1975 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1976
1977         * plugins/elements/gstmultiqueue.c:
1978         * plugins/elements/gstmultiqueue.h:
1979         Fix dead-lock in underrun_cb
1980
1981 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1982
1983         * docs/design/part-states.txt:
1984         Fix device open/close docs.
1985
1986 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1987
1988         * ChangeLog:
1989           Mention bugnumber for last commit.
1990
1991 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1992
1993         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1994
1995         * docs/manual/manual.xml:
1996         - Reorganised the previous "introduction" bundle into Foreword,
1997         Introduction, and About GStreamer. The two first are <preface>
1998         docbook elements. The later is the first part of the book.
1999         - added intro-gstreamer.xml (content partially from
2000         intro-preface.xml)
2001         - moved appendix-win32.xml into appendix-integration.xml
2002
2003         * docs/manual/intro-preface.xml: gstreamer section moved...
2004         * docs/manual/intro-gstreamer.xml: ...here. new file.
2005
2006         * docs/manual/appendix-win32.xml: removed file. Content moved...
2007         * docs/manual/appendix-integration.xml: ...here.
2008         
2009         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2010         * docs/manual/appendix-checklist.xml: ...here.
2011         
2012         Fixes: 538764
2013
2014 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2015
2016         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2017
2018         * docs/manual/basics-helloworld.xml:
2019         * docs/manual/hello-world.fig:
2020           - Explicitely include glib.h.
2021           - Do not use global variables.
2022           - Use g_printerr() instead of g_print().
2023           - Minor formating/renaming to increase readibility.
2024           - Renamed new_pad() to on_pad_added()
2025           - Improved explenatory comments.
2026           - renamed ogg parser to ogg demuxer
2027           - Use "autoaudiosink" instead of "alsasink".
2028           Fixes: #538619
2029
2030 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2031
2032         * ChangeLog:
2033           Remove cvs conflict marker.
2034
2035 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2036
2037         * docs/README:
2038           Document that for plgin-docs we extraxt he short-desc from the element
2039           details.
2040
2041         * docs/design/part-states.txt:
2042           Tell that devices should be closed in PAUSED -> READY.
2043
2044         * docs/manual/README:
2045           Document how tests in the manual are handled.
2046
2047         * docs/manuals.mak:
2048           Typo in comment.
2049
2050 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2051
2052         * gst/gstbin.c: (bin_query_latency_fold):
2053         Only care about latency min and max when the sink is actually a live
2054         sink.
2055
2056 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2057
2058         * docs/design/part-block.txt:
2059         Fix typo.
2060
2061         * docs/design/part-element-transform.txt:
2062         Add notes about why transform needs to know input/output sizes.
2063         Add some issues that need to be solved.
2064         Add some more use cases.
2065
2066         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2067         (gst_test_trans_class_init), (result_sink_chain),
2068         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2069         (gst_test_trans_push), (gst_test_trans_pop):
2070         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2071         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2072         (set_caps_1), (set_caps_ct1), (transform_ct1),
2073         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2074         (gst_basetransform_suite):
2075         Add suport for different pad templates and buffer-alloc.
2076         Add more checks for caps and buffer-alloc.
2077         Add checks for proxy buffer alloc.
2078         Add unit test for copy transform.
2079
2080 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2081
2082         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2083
2084         * docs/manual/appendix-integration.xml:
2085         * docs/manual/appendix-licensing.xml:
2086         * docs/manual/basics-elements.xml:
2087         * docs/manual/basics-helloworld.xml:
2088         * docs/manual/basics-pads.xml:
2089         * docs/manual/highlevel-components.xml:
2090         * docs/manual/highlevel-xml.xml:
2091         * docs/manual/intro-basics.xml:
2092         * docs/manual/intro-preface.xml:
2093           Typo and formatting fixes (#538594).
2094
2095 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2096
2097         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2098         Fix some memory leaks and uses of object instances that we don't
2099         actually own.
2100
2101 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2102
2103         * plugins/elements/gstmultiqueue.c:
2104         Add functionality to extra-size-buffers property.
2105
2106 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2107
2108         * plugins/elements/gstmultiqueue.c:
2109         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2110         activate the pads if they are added in STATE_NULL.
2111
2112 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2113
2114         * docs/libs/gstreamer-libs-sections.txt:
2115         Add new API to doc
2116         * libs/gst/check/gstcheck.c:
2117         * libs/gst/check/gstcheck.h:
2118         API: gst_check_teardown_pad_by_name
2119
2120 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2121
2122         * libs/gst/check/gstcheck.c:
2123         * libs/gst/check/gstcheck.h:
2124         Also setup request pads and allow setup pads by name (#537812)
2125         API: gst_check_setup_src_pad_by_name
2126         API: gst_check_setup_sink_pad_by_name
2127
2128 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2129
2130         * tests/check/gst/gstbuffer.c:
2131         * tests/check/pipelines/parse-launch.c:
2132           Use HAVE_VALGRIND_H some more.
2133
2134 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2135
2136         * scripts/cvs-update.sh:
2137           Pass arguments to make.
2138           Run autoregen.sh if Makefile is not there.
2139
2140 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2141
2142         * configure.ac:
2143         * gst/gstinfo.c:
2144           Don't assume that <valgrind/valgrind.h> exists just because
2145           the binary is there.
2146
2147 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2148
2149         * tests/check/Makefile.am:
2150         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2151         (gst_test_trans_class_init), (gst_test_trans_init),
2152         (gst_test_trans_set_data), (result_sink_chain),
2153         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2154         (gst_test_trans_pop):
2155         * tests/check/libs/transform1.c: (GST_START_TEST),
2156         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2157         Add some test basetransform element and the beginnings of various
2158         unit tests for it.
2159
2160 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2161
2162         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2163         Increase code readability.
2164         Don't try to compare buffer offsets when ther are invalid.
2165
2166 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2167
2168         * docs/design/Makefile.am:
2169           Dist some more design docs.
2170
2171         * docs/random/moving-plugins:
2172           Small addition: good plugins mustn't have functional code
2173           within assertion macros.
2174
2175 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2176
2177         * docs/design/draft-framestep.txt:
2178         Some ideas about a framestep API
2179
2180         * docs/design/part-element-transform.txt:
2181         Start design and use cases for basetransform in order to get it
2182         fixed soon.
2183
2184 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2185
2186         * gst/gsttaglist.h:
2187           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2188           be in UTF-8 encoding.
2189
2190 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2191
2192         * gst/gstbus.c:
2193           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2194
2195 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2196
2197         * plugins/elements/gstcapsfilter.c:
2198         * plugins/elements/gstfakesink.c:
2199         * plugins/elements/gstfakesrc.c:
2200         * plugins/elements/gstfdsink.c:
2201         * plugins/elements/gstfdsrc.c:
2202         * plugins/elements/gstfilesink.c:
2203         * plugins/elements/gstfilesrc.c:
2204         * plugins/elements/gstidentity.c:
2205         * plugins/elements/gstmultiqueue.c:
2206         * plugins/elements/gstqueue.c:
2207         * plugins/elements/gsttee.c:
2208         * plugins/elements/gsttypefindelement.c:
2209           Remove short_description. Add basic docs for gsttypefindelement.
2210           Simplify markup for fakesrc/fdsrc.
2211
2212 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2213
2214         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2215         Added Since doc.
2216
2217 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2218
2219         Patch by: Joel Larsson <tilljoel at gmail dot com>
2220
2221         * docs/plugins/gstreamer-plugins.args:
2222         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2223         (gst_fd_src_init), (gst_fd_src_update_fd),
2224         (gst_fd_src_set_property), (gst_fd_src_get_property),
2225         (gst_fd_src_create):
2226         * plugins/elements/gstfdsrc.h:
2227         Add timeout property like udpsrc. Fixes #538628.
2228         Add some more docs and example pipelines.
2229
2230 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2231
2232         * docs/libs/gstreamer-libs-sections.txt:
2233         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2234         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2235         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2236         (gst_base_sink_do_sync):
2237         * libs/gst/base/gstbasesink.h:
2238         * win32/common/libgstbase.def:
2239         Add method to allow sinks to specify additional delay between the sync
2240         times and the actual rendering of the data.
2241         API: gst_base_sink_set_render_delay()
2242         API: gst_base_sink_get_render_delay()
2243
2244 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2245
2246         * configure.ac:
2247         Bump version number back to dev -> 0.10.20.1
2248
2249 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2250
2251         * docs/gst/gstreamer-sections.txt:
2252         * gst/gsttaglist.c: (_gst_tag_initialize):
2253         * gst/gsttaglist.h:
2254         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2255         Fixes bug #538568.
2256
2257 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2258
2259         * libs/gst/controller/gstcontroller.c:
2260           Revert one change, that make ret value possible uninitialized.
2261
2262 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2263
2264         * libs/gst/controller/gstcontroller.c:
2265           Use freeze/thaw notify to sync notify emission a bit (its also more
2266           efficient). Move debug output to LOG (is called a lot in a loop).
2267           Always unset g_values if the have been initialized.
2268
2269 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2270
2271         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2272         (gst_base_sink_wait_eos), (gst_base_sink_event):
2273         If we have not seen a buffer before EOS, use the segment values to
2274         report the current position instead of invalid positions.
2275
2276 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2277
2278         * docs/plugins/tmpl/.cvsignore:
2279         * tests/check/gst/.cvsignore:
2280           Ignore more.
2281
2282 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2283
2284         * libs/gst/controller/gstinterpolation.c:
2285         * libs/gst/controller/gstinterpolationcontrolsource.c:
2286         * tests/check/libs/controller.c:
2287           Rewrite handling of default values. Fix overflow with unsigned types
2288           in linear interpolation. Remove now obsolete _first_value() function.
2289           Add more tests. Fixes #538201.
2290
2291 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2292
2293         * libs/gst/base/gstbasetransform.c:
2294         (gst_base_transform_class_init), (gst_base_transform_init),
2295         (gst_base_transform_transform_caps),
2296         (gst_base_transform_prepare_output_buffer):
2297         Add debug info.
2298         When a buffer is writable, its metadata is also writable so we don't
2299         need to subbuffer (which then makes the buffer not-writable anymore).
2300
2301 === release 0.10.20 ===
2302
2303 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2304
2305         * configure.ac:
2306           releasing 0.10.20, "You Crazy Diamond"
2307
2308 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2309
2310         * configure.ac:
2311         0.10.19.3 pre-release
2312
2313 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2314
2315         * configure.ac:
2316         * gst/gstpreset.c:
2317         Rename DATADIR to GST_DATADIR to avoid build problems
2318         on win32. Patch By: David Schleef <ds@schleef.org>
2319         Fixes: #536857
2320
2321 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2322
2323         * configure.ac:
2324         Explicitely link with -ldl if dladdr() is found there. Before it was
2325         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2326         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2327
2328 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2329
2330         * gst/gsterror.c: (_gst_stream_errors_init):
2331           Fix typo (spotted by Fabricio Godoy, #536723).
2332
2333 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2334
2335         * configure.ac:
2336         0.10.19.2 pre-release
2337
2338 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2339
2340         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2341         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2342         Add some debug.
2343         Make sure we don't generate invalid QoS messages.
2344
2345 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2346
2347         * gst/gstevent.c: (gst_event_new_qos):
2348         Add some assert and docs for invalid input to the qos function.
2349
2350 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2351
2352         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2353         (gst_base_sink_get_position):
2354         The reported position must always be smaller than the last seen
2355         timestamps (or timestamp + duration for reverse).
2356
2357 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2358
2359         Patch by: Rob Bradford <rob at robster dot org dot uk>
2360
2361         * gst/gstregistry.c: (gst_registry_scan_path_level):
2362         Don't recurse into .debug directories as some distros install
2363         the debugging symbols next to the plugins in .debug directories
2364         and dlopen() crashes on them sometimes. Fixes bug #508070.
2365
2366         Add FIXME for 0.11 to not recurse into directories at all because
2367         it's very inconsistent to the behaviour of other PATH environment
2368         variables.
2369
2370 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2371
2372         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2373         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2374         Fix position query range checks in reverse playback.
2375
2376 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2377
2378         * gst/gstelement.c:
2379         * gst/gstelement.h:
2380         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2381         clear of the reference to the resulting pad must be released later
2382         or not, resulting in possible leaks. Fixes bug #533865.
2383
2384 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2385
2386         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2387
2388         * gst/gstelementfactory.c:
2389         Small doc fix. Fixes #535285.
2390
2391 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2392
2393         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2394
2395         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2396         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2397         (gst_base_src_loop), (gst_base_src_set_flushing),
2398         (gst_base_src_change_state):
2399         Make sending an EOS event to the basesrc non-blocking even if the
2400         implementation does blocking waits in the create function. This is done
2401         by unlocking the create function when EOS is sent.
2402         Fixes #535218.
2403
2404 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2405
2406         * tools/gst-inspect.c: (print_element_properties_info):
2407         If possible print the element type of GValueArray properties.
2408
2409 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2410
2411         * gst/gstiterator.c:
2412         Remove an unused field from the private GstListIterator struct.
2413
2414 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2415
2416         * libs/gst/controller/gstcontroller.c:
2417           Add parameter guards.
2418
2419 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2420
2421         * tests/check/gst/gstpipeline.c:
2422           Revert test change and add comment why it should not work.
2423
2424 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2425
2426         * tests/check/gst/gstpipeline.c:
2427           Extending the test a little to verify that we also get the NULL state-
2428           change message.
2429
2430 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2431
2432         * gst/gstpreset.c: (gst_preset_default_get_meta),
2433           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2434           (gst_preset_load_preset), (gst_preset_save_preset),
2435           (gst_preset_rename_preset), (gst_preset_delete_preset),
2436           (gst_preset_set_meta):
2437           Add Since: markers to docs blurbs.
2438
2439         * win32/common/libgstreamer.def:
2440           Add recently-added API.
2441
2442 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2443
2444         Patch by: Stefan Kost  <ensonic@users.sf.net>
2445
2446         * configure.ac:
2447         Add DATADIR for storing presets.
2448
2449         * docs/gst/gstreamer-docs.sgml:
2450         * docs/gst/gstreamer-sections.txt:
2451         * docs/gst/gstreamer.types.in:
2452         Add GstPreset to docs.
2453
2454         * gst/Makefile.am:
2455         * gst/gst.h:
2456         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2457         (preset_open_and_parse_header), (preset_parse_version),
2458         (preset_merge), (preset_get_keyfile),
2459         (gst_preset_default_get_preset_names),
2460         (gst_preset_default_get_property_names),
2461         (gst_preset_default_load_preset),
2462         (gst_preset_default_save_presets_file),
2463         (gst_preset_default_save_preset),
2464         (gst_preset_default_rename_preset),
2465         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2466         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2467         (gst_preset_default_reset), (gst_preset_get_preset_names),
2468         (gst_preset_get_property_names), (gst_preset_load_preset),
2469         (gst_preset_save_preset), (gst_preset_rename_preset),
2470         (gst_preset_delete_preset), (gst_preset_set_meta),
2471         (gst_preset_get_meta), (gst_preset_class_init),
2472         (gst_preset_base_init), (gst_preset_get_type):
2473         * gst/gstpreset.h:
2474         Add GstPreset to core. Fixes #396779
2475
2476         * tests/check/Makefile.am:
2477         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2478         (gst_preset_test_set_property), (gst_preset_test_class_init),
2479         (gst_preset_test_base_init), (gst_preset_test_get_type),
2480         (gst_preset_test_plugin_init), (GST_START_TEST),
2481         (remove_preset_file), (test_setup), (test_teardown),
2482         (gst_preset_suite):
2483         Add GstPreset unit tests.
2484
2485 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2486
2487         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2488         The default event function on a sinkpad should return TRUE when
2489         there are no internal links but should collect the return values from
2490         the internal links otherwise.
2491
2492 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2493
2494         * plugins/elements/gsttypefindelement.c:
2495         (gst_type_find_element_src_event),
2496         (gst_type_find_element_handle_event):
2497         Use faster and safer _pad_push_event().
2498
2499 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2500
2501         * docs/gst/gstreamer-sections.txt:
2502         * gst/gstutils.c: (element_find_unlinked_pad),
2503           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2504         * gst/gstutils.h:
2505           API: add gst_bin_find_unlinked_pad()
2506           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2507
2508 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2509
2510         * gst/gstclock.c:
2511         * gst/gstclock.h:
2512         * gst/gsttask.c:
2513         * gst/gsttask.h:
2514         Fixed a bunch of typos.
2515
2516 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2517
2518         * gst/gstpad.h:
2519         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2520           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2521           (gst_parse_bin_from_description_full):
2522         * gst/gstutils.h:
2523           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2524
2525 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2526
2527         * docs/pwg/advanced-tagging.xml:
2528           Small docs update, can't be bothered to rewrite the nonsensical
2529           examples right now.
2530
2531 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2532
2533         * gst/gstevent.h:
2534           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2535
2536 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2537
2538         * gst/parse/grammar.y:
2539           Remove unneeded casts.
2540
2541 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2542
2543         * gst/parse/grammar.y:
2544         * tests/check/pipelines/parse-launch.c:
2545           Get all missing elements from a parse launch string if possible
2546           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2547
2548 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2549
2550         * tests/check/Makefile.am:
2551         * tests/check/pipelines/parse-launch.c:
2552           Add some unit tests for the new gst_parse_launch*_full() API.
2553           (Exposes a previously-existing memory leak in the error code
2554           path, so adding to VALGRIND_TO_FIX for now).
2555
2556 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2557
2558         * docs/gst/gstreamer-sections.txt:
2559         * gst/gst.c: (init_post):
2560         * gst/gst_private.h: (_GstParseContext):
2561         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2562           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2563           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2564           (gst_parse_launch_full):
2565         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2566           (GstParseFlags), (GstParseContext):
2567         * gst/gstutils.c: (gst_parse_bin_from_description),
2568           (gst_parse_bin_from_description_full):
2569         * gst/gstutils.h:
2570         * gst/parse/grammar.y:
2571         * gst/parse/types.h:
2572         * win32/common/libgstreamer.def:
2573           Add new gst_parse_*_full API (#528178):
2574           API: gst_parse_launch_full()
2575           API: gst_parse_launchv_full()
2576           API: gst_parse_bin_from_description_full()
2577           API: gst_parse_context_new()
2578           API: gst_parse_context_free()
2579           API: gst_parse_context_get_missing_elements()
2580
2581 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2582
2583         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2584
2585         * docs/faq/gst-uninstalled:
2586           Also support ffmpeg in gst-uninstalled.
2587
2588 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2589
2590         * configure.ac:
2591         After discussion on IRC use the binary registry as default
2592         but allow to disable it with --disable-binary-registry.
2593
2594         * win32/common/libgstreamer.def:
2595         Add the two new symbols for the binary registry.
2596
2597 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2598
2599         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2600         * gst/gstutils.c: (gst_parse_bin_from_description):
2601         * gst/parse/grammar.y: (graph):
2602           More guards against bad input; typo fix; some minor clean-ups.
2603
2604 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2605
2606         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2607
2608         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2609         If nothing else can be used, use the last buffer's start time as
2610         the segment's last stop. Fixes bug #534258.
2611
2612 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2613
2614         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2615           Move size sanity check to the right place: downstream may return
2616           a buffer with a smaller size if the buffer caps are different than
2617           the requested ones, as may happen when doing reverse negotiation.
2618
2619 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2620
2621         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2622         (gst_file_sink_render):
2623         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2624         (gst_file_src_start):
2625         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2626         use it yet.
2627
2628 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2629
2630         * gst/gstpad.c: (gst_pad_load_and_link):
2631         * gst/gstutils.c: (gst_element_link_pads),
2632         (gst_element_unlink_pads):
2633         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2634         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2635         (gst_check_teardown_sink_pad),
2636         (gst_check_element_push_buffer_list):
2637         * tests/check/elements/fakesink.c: (GST_START_TEST):
2638         * tests/check/elements/filesink.c:
2639         * tests/check/elements/filesrc.c: (GST_START_TEST):
2640         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2641         (mq_sinkpad_to_srcpad):
2642         * tests/check/elements/tee.c: (GST_START_TEST):
2643         * tests/check/generic/sinks.c: (GST_START_TEST):
2644         * tests/check/gst/gstbin.c: (GST_START_TEST):
2645         * tests/check/gst/gstevent.c: (GST_START_TEST):
2646         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2647         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2648         * tests/check/gst/gstquery.c: (GST_START_TEST):
2649         * tests/check/gst/gstutils.c: (GST_START_TEST):
2650         * tests/check/libs/basesrc.c: (GST_START_TEST):
2651         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2652         (gst_parse_test_element_change_state):
2653         Don't use gst_element_get_pad().
2654
2655 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2656
2657         * docs/Makefile.am:
2658         Fix installing plugin documentation when gtk-doc is disabled.
2659
2660 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2661
2662         * docs/manual/advanced-autoplugging.xml:
2663         * docs/manual/basics-helloworld.xml:
2664         * docs/manual/basics-pads.xml:
2665         * docs/manual/highlevel-components.xml:
2666         Avoid using a bad function in the example code.
2667
2668 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2669
2670         * gst/gstclock.c: (gst_clock_set_calibration):
2671         Fix debug of the new clock rate.
2672
2673 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2674
2675         * win32/common/libgstbase.def:
2676         Add gst_base_sink_wait_clock() to the exported symbols.
2677
2678 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2679
2680         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2681
2682         * libs/gst/base/gstbasetransform.c:
2683         (gst_base_transform_sink_event):
2684         Unref events that the GstBaseTransform::event vfunc didn't want to
2685         have forwarded by the base class. Closes a leak in identity.
2686         Fixes bug #446763.
2687
2688 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2689
2690         * docs/libs/gstreamer-libs-sections.txt:
2691         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2692         * libs/gst/base/gstbasesink.h:
2693         Expose a method that was previously used internally to synchronize
2694         against the clock because it can be useful for subclasses too.
2695         API: GstBaseSink::gst_base_sink_wait_clock()
2696
2697 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2698
2699         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2700           Add sanity check to make sure we don't get smaller buffers
2701           than requested (and fallback to normal buffer alloc if we do).
2702
2703 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2704
2705         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2706         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2707         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2708         Refactor adjusting the running_time with latency and offset into a
2709         separate method.
2710         When doing clipping, we still want to use the subclass get_times method,
2711         just in case the DURATION or TIMESTAMP are not set.
2712
2713 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2714
2715         * docs/gst/gstreamer-sections.txt:
2716         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2717         * gst/gsttypefind.h:
2718         * win32/common/libgstreamer.def:
2719           API: add gst_type_find_suggest_simple(), #533740.
2720
2721 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2722
2723         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2724           Use right error code when typefinding fails, so we can use
2725           the default (translated) error messages.
2726
2727 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2728
2729         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2730         (gst_base_src_start):
2731         When the subclass did not set caps on outgoing buffers, configure the
2732         caps we negotiated on the source pad.
2733         When the typefind helper does not find caps, error out properly instead
2734         of doing things with NULL caps.
2735
2736 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2737
2738         * gst/gsttypefind.h:
2739           Tabs to spaces, oh yes!
2740
2741 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2742
2743         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2744           Add David's and Benjamin's tests for array intersection to the
2745           unit test suite (#147931).
2746
2747 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2748
2749         * gst/gstevent.c:
2750           Document that gst_event_new_tag() and gst_event_new_navigation()
2751           take ownership of the taglist/structure passed to them. (#533635).
2752
2753 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2754
2755         * docs/Makefile.am:
2756         Don't descend into the plugins dir if plugin docs building
2757         is disabled.
2758
2759         * docs/README:
2760         Add a note about the new type:GTypeName syntax for the plugin
2761         documentation .types file.
2762
2763 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2764
2765         * gst/gstmessage.c: (gst_message_new_error),
2766         (gst_message_new_warning), (gst_message_new_info):
2767         * gst/gstmessage.h:
2768         Mark the debug string parameters as const. Fixes bug #533490.
2769
2770 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2771
2772         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2773         Sort buffer cache list by end offsets. This makes sure that we don't
2774         stop to search for a cached buffer that contains the requested data
2775         too early.
2776         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2777         more efficient. Fixes bug #459862.
2778
2779 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2780
2781         * gst/gstinfo.c:
2782           Explain why we copy the list.
2783
2784         * gst/gstpipeline.c:
2785           Improve docs.
2786
2787         * gst/gstutils.c:
2788           Add one debug-log statement to help tracing probelms with linking pads.
2789
2790 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2791
2792         * tests/check/gst/gstinfo.c:
2793         Add a test for removing the default log handler. Seems to fail under
2794         windows.
2795
2796 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2797
2798         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2799         Release pad lock before calling out to avoid a possible deadlock.
2800
2801 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2802
2803         * gst/parse/grammar.y:
2804         Remove unneeded value unset.
2805
2806         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2807         Add unit test for de/serialization of caps.
2808
2809 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2810
2811         * plugins/elements/gstfakesink.c:
2812         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2813         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2814         (gst_fake_src_class_init):
2815         Use custom marshalers that take GstMiniObject as first parameter.
2816         Using OBJECT as parameter while a GstMiniObject is given will lead
2817         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2818
2819 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2820
2821         * plugins/elements/gsttypefindelement.c:
2822         (gst_type_find_element_handle_event),
2823         (gst_type_find_element_send_cached_events),
2824         (gst_type_find_element_change_state):
2825         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2826         immediately.
2827
2828 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2829
2830         * plugins/elements/gsttypefindelement.c:
2831         (gst_type_find_handle_src_query), (stop_typefinding),
2832         (gst_type_find_element_handle_event),
2833         (gst_type_find_element_send_cached_events),
2834         (gst_type_find_element_change_state):
2835         Forward FLUSH_START events immediately and clean up instead of
2836         caching them.
2837
2838 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2839
2840         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2841
2842         * libs/gst/base/gstbasetransform.c:
2843         (gst_base_transform_buffer_alloc):
2844         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2845         fall back to default negotiation in the chain function if the caps
2846         are different from what was requested. Fixes bug #526768.
2847
2848 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2849
2850         * gst/gstsegment.c:
2851         * tests/check/gst/gstsegment.c:
2852           No, let's not use g_slice_{dup|copy} here, since they only exist
2853           since GLib 2.14 and we still depend only on >= 2.12. Also add
2854           unit test for gst_segment_copy().
2855
2856 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2857
2858         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2859           Try to fix 'dereferencing type-punned pointer will break strict
2860           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2861           changed the default GType typedef from gulong to gsize at some point,
2862           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2863           g_once_* functions all take a gsize * though, so work around the type
2864           mismatch for C++ by doing everything in gsize and casting to GType
2865           later.
2866
2867 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2868
2869         * plugins/elements/gstmultiqueue.c:
2870         Add documentation for the signals to push our core plugin docs
2871         coverage back up to 100%.
2872
2873 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2874
2875         * gst/gstinfo.h (GST_FUNCTION):
2876           Reverted GST_FUNCTION to the old version as we don't want the
2877           full signature in C++ code. Also added support for MSVC.
2878
2879 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2880
2881         * gst/gstutils.h:
2882         Intern the type name string, similar to what G_DEFINE_TYPE does.
2883
2884 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2885
2886         * gst/gstutils.h:
2887         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2888
2889 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2890
2891         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2892
2893         * libs/gst/base/gstbasetransform.c:
2894         (gst_base_transform_buffer_alloc):
2895         Don't passthrough buffer allocation too easily if the caps change.
2896         This breaks when working in passthrough mode and upstream changes
2897         it's caps. Fixes bug #526768.
2898
2899 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2900
2901         * gst/gstinfo.c (gst_debug_log_valist):
2902           Improved the __FILE__ part of debug output for MSVC.
2903
2904 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2905
2906         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2907           Declaration after statement fix for compilers like MSVC.
2908
2909 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2910
2911         * win32/common/config.h.in:
2912           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2913           use the real thing than having "???" unconditionally.
2914
2915 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2916
2917         * gst/gstinfo.h (GST_FUNCTION):
2918           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2919
2920 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2921
2922         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2923         Small code cleanup.
2924
2925         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2926         (gst_base_sink_set_flushing):
2927         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2928         Fix some comments.
2929
2930 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2931
2932         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2933         (gst_fake_src_init), (gst_fake_src_set_property),
2934         (gst_fake_src_get_property), (gst_fake_src_start):
2935         * plugins/elements/gstfakesrc.h:
2936         Added format property to control the format of the newsegment events.
2937         API: GstFakeSrc:format
2938
2939 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2940
2941         * win32/common/libgstreamer.def:
2942         Add gst_pad_has_name() to the exported symbols.
2943
2944 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2945
2946         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2947         * libs/gst/base/gstbasetransform.c:
2948         (gst_base_transform_prepare_output_buffer):
2949         Don't allow negative sizes when allocating new buffers.
2950         Fixes bug #461253.
2951
2952 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2953
2954         Patch by: Sjoerd Simons <sjoerd at luon net>
2955
2956         * gst/gstbus.c: (gst_bus_source_dispatch):
2957           Don't print a warning if the queue is empty when we try to pop
2958           here. That could happen if another thread or callback set the
2959           bus to flushing between the source's check/prepare and the
2960           dispatch being called (#531538).
2961
2962 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2963
2964         * plugins/elements/gstmultiqueue.c:
2965           Small docs fix.
2966         
2967 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2968
2969         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2970         Add unit test for deserializing uint64s and check some really large
2971         numbers in the int64 test.
2972
2973 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2974
2975         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2976         (print_interfaces), (print_element_properties_info),
2977         (print_signal_info):
2978         Use "%s" as format string instead of printing strings directly.
2979
2980 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2981
2982         * gst/gstclock.c: (gst_clock_set_calibration):
2983         Make some checks actually useful.
2984
2985         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2986         Remove some unused code. Unsigned integers tend to be >= 0.
2987
2988 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2989
2990         * gst/gstminiobject.c: (gst_value_get_mini_object):
2991           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2992           function was not in the unscheduled 0.10.19 release.
2993
2994 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2995
2996         * gst/gstregistry.c: (gst_registry_scan_path_level):
2997           Only print one log message per non-plugin file.
2998
2999 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3000
3001         * gst/gstinfo.c: (gst_debug_log_default):
3002           Fix alignment of debug log columns on 64-bit.
3003
3004 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3005
3006         * docs/libs/Makefile.am:
3007         * docs/libs/gstreamer-libs-sections.txt:
3008           Ignore private controller headers for docs.
3009
3010 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3011
3012         * libs/gst/controller/gstcontrollerprivate.h:
3013         * libs/gst/controller/gsthelper.c:
3014         * libs/gst/controller/gstinterpolation.c:
3015         * libs/gst/controller/gstinterpolationcontrolsource.c:
3016         (gst_interpolation_control_source_set_interpolation_mode):
3017         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3018         * libs/gst/controller/lib.c:
3019         Move some private declarations into private headers.
3020
3021 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3022
3023         * gst/gstdebugutils.c: (debug_dump_element_pad):
3024         Remove some code that is unused after Stefan's refactoring and uses
3025         uninitialized variables now, resulting in a compiler warning.
3026
3027 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3028
3029         * gst/gstregistry.c: (gst_registry_scan_path_level):
3030           Run g_str_has_suffix() only on the file name, not the
3031           entire file path.
3032
3033 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3034
3035         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3036           Since we're not called only from the chain function any longer,
3037           we can't assume that there's always data in the queue, so move
3038           the is_full check to the beginning of the loop (otherwise we'd
3039           hit the assert when changing the limit properties while the
3040           queue is empty or not running yet).
3041           Also, only set a discont if items were actually removed from
3042           the queue.
3043
3044         * tests/check/elements/queue.c: (test_leaky_downstream):
3045           Test case for the above.
3046
3047 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3048
3049         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3050
3051         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3052         (gst_queue_chain), (queue_capacity_change),
3053         (gst_queue_set_property):
3054         When changing thr max capacity of a leaky queue, immediatly drop buffers
3055         instead of waiting for a push on the sinkpad. Fixes #530637.
3056
3057 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3058
3059         * gst/gstdebugutils.c:
3060           Refactor code and fix handling of ghostpads and their proxypads.
3061
3062 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3063
3064         * docs/gst/gstreamer-sections.txt:
3065         * gst/gstevent.c: (gst_event_has_name):
3066         * gst/gstevent.h:
3067         * tests/check/gst/gstevent.c: (GST_START_TEST):
3068         Add method to conveniently check the name of a custom event with
3069         gst_event_has_name().
3070         Reformat the event docs so that related methods are put together instead
3071         of the default alphabetical sort.
3072         Update unit test with new method.
3073         API: GstEvent::gst_event_has_name()
3074
3075 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3076
3077         * libs/gst/check/Makefile.am:
3078           Don't add an explicit link to libgstreamer-0.10.la; it's already
3079           included in GST_OBJ_LIBS.
3080
3081 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3082
3083         * gst/gst.c:
3084         Register GstClock type from a type-safe context. Fixes bug #530317.
3085
3086 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3087
3088         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3089         * tools/gst-run.c:
3090           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3091
3092 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3093
3094         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3095         (gst_bin_dispose):
3096         Use the GLib stuff to create a private structure.
3097         Add some locking around some dispose methods to make them a little
3098         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3099
3100 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3101
3102         * libs/gst/base/gstbasesink.h:
3103         * libs/gst/base/gstbasesrc.h:
3104         * libs/gst/base/gstbasetransform.h:
3105         * libs/gst/base/gstcollectpads.h:
3106           Fix doc typos and unify caps a bit.
3107
3108 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3109
3110         * tools/gst-launch.1.in:
3111           Forgot to also add the envvar docs here.
3112
3113 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3114
3115         * gst/gst.c: (init_post), (gst_deinit):
3116         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3117           (test_concurrent_create), (gst_pipeline_suite):
3118           Ref some more classes in gst_init() to work around thread-safety
3119           issues in pre-2.16 GLibs, and add basic unit test.
3120
3121 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3122
3123         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3124         (gst_base_sink_send_event):
3125         Rearrange the latency query code. We always want to do the upstream
3126         query, even if we are not live so that the upstream elements can get the
3127         latency results too. If we fail doing the query and we are live, we
3128         return TRUE afterwards.
3129
3130 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3131
3132         patch by: Jason Zhao <e3423c@motorola.com>
3133
3134         * docs/gst/running.xml:
3135         * gst/gst.c:
3136           Enable/disable scan_and_update_registry() based on commandline switch
3137           or environment variable. Fixes #520468.
3138           
3139         * ChangeLog:
3140           Fix typo in my previous commit.
3141
3142 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3143
3144         * gst/gstregistrybinary.c:
3145           Add a warning if we hit unhandled factories when saving.
3146           More debug logging detail, but move to LOG category.
3147
3148 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3149
3150         * gst/gstregistry.c:
3151           Tell the *truth* when improving the documentation.
3152
3153 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3154
3155         * gst/gstelementfactory.c: (gst_element_factory_make):
3156         Unref the factory after it was used the last time, not before.
3157
3158         * gst/gstindexfactory.c: (gst_index_factory_make):
3159         Improve debugging a bit and don't leak a ref to the index factory with
3160         each call.
3161
3162 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3163
3164         * gst/gstregistry.c:
3165           Improve the documentation.
3166
3167 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3168
3169         * gst/gstsegment.c:
3170           The glib macro seems to be borked. Use g_slice_copy directly and cast
3171           in the hope that this fixes the warning on 64bit.
3172
3173 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3174
3175         * gst/gstsegment.c:
3176           Document the new function. Use g_slice_dup() (no need for
3177           gst_segment_init()).    
3178
3179 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3180
3181         * docs/gst/gstreamer-sections.txt:
3182           Move GParamSepc macros to standart section.
3183   
3184         * gst/gstbin.c:
3185           Dn't document _get_type - its in private section in docs anyway and
3186           this doc-blob was incomplete.
3187
3188         * gst/gstclock.h:
3189           Fix wrong symbol names in docs.
3190
3191         * gst/gstmacros.h:
3192           Add once doc sentence.
3193
3194         * tests/check/gst/.cvsignore:
3195           Ignore more.
3196
3197 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3198
3199         * docs/gst/Makefile.am:
3200           And remove those libs here.
3201
3202 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3203
3204         * docs/libs/Makefile.am:
3205           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3206
3207 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3208
3209         Patch by: Olivier Crete <tester at tester dot ca>
3210
3211         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3212         Add the min-threshold to the min latency if possible. Fixes #529148.
3213
3214 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3215
3216         * docs/gst/gstreamer.types.in:
3217           Stupid editor, I removed that line as it should go in yet.
3218
3219 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3220
3221         * docs/gst/gstreamer.types.in:
3222         * docs/libs/gstreamer-libs.types:
3223           Remove library types fro core docs and have them in libs docs.
3224           Reformat and cleanup. Add comment for miniobject types.
3225
3226 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3227
3228         * gst/gsturi.c: (gst_uri_get_protocol):
3229           Fix leak: g_strdown operates on the string in place, while
3230           g_ascii_strdown() returns a newly-allocated string.
3231
3232 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3233
3234         * tools/gst-inspect.c: (print_uri_handler_info),
3235         (print_element_info):
3236         Print the URI protocols and the URI type supported by the element.
3237
3238 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3239
3240         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3241         Use g_value_take_string() instead of the deprecated
3242         g_value_set_string_take_ownership().
3243
3244 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3245
3246         * gst/gstregistrybinary.c: (_gst_crc32):
3247         Return the old CRC instead of 0 if we give a NULL buffer
3248         or a buffer with a length of 0.
3249
3250 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3251
3252         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3253         (gst_uri_get_protocol), (gst_uri_has_protocol),
3254         (gst_uri_construct), (gst_uri_handler_set_uri):
3255         A valid URI scheme can also include '+', '-' and '.' additional
3256         to alphanumeric characters as per RFC 3986 Section 3.1.
3257
3258         Handle URI schemes case insensitive in all places and convert
3259         to lower-case when constructing an URI or setting an URI with
3260         the GstURIHandler interface. Fixes bug #528868.
3261         All elements can still assume (as before) that they will
3262         get passed URIs with a lower-case URI scheme by the GstURIHandler
3263         interface.
3264
3265 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3266
3267         * gst/gstcaps.c: (gst_static_caps_get):
3268         * gst/gstclock.c: (gst_clock_entry_new):
3269           Don't use g_atomic_set_int where it's not needed.
3270
3271 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3272
3273         * gst/gstvalue.c: (gst_value_deserialize_caps):
3274         * gst/parse/grammar.y:
3275         Fix 2 caps leaks.
3276
3277 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3278
3279         * gst/gstutils.c: (gst_atomic_int_set):
3280         Use g_atomic_int_set() here too instead of assignment +
3281         g_atomic_int_get().
3282
3283 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3284         
3285         * gst/gstutils.c:
3286         * gst/gstutils.h:
3287         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3288         now that we depend on new enough GLib.
3289
3290         * gst/gstcaps.c: (gst_static_caps_get):
3291         * gst/gstclock.c: (gst_clock_entry_new):
3292         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3293         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3294         (gst_debug_category_set_threshold):
3295         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3296         (gst_base_sink_set_qos_enabled):
3297         * libs/gst/net/gstnettimeprovider.c:
3298         (gst_net_time_provider_set_property):
3299         Use g_atomic_int_set() instead of gst_atomic_int_set().
3300
3301 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3302
3303         * gst/gstquery.c:
3304           Also use G_GINT64_CONSTANT for the queries.
3305
3306 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3307
3308         * gst/gstmessage.c:
3309           Use G_GINT64_CONSTANT in varargs function.
3310
3311 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3312
3313         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3314         Initialize the registry magic with zeroes.
3315
3316 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3317
3318         * gst/gstregistrybinary.c: (_gst_crc32),
3319         (gst_registry_binary_write),
3320         (gst_registry_binary_initialize_magic),
3321         (gst_registry_binary_write_cache),
3322         (gst_registry_binary_check_magic),
3323         (gst_registry_binary_read_cache):
3324         * gst/gstregistrybinary.h:
3325         Add crc32 checksum to the binary registry file and check this before
3326         accepting a registry file.
3327
3328         Also free the data list when writing to the registry file fails.
3329
3330 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3331
3332         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3333         (gst_registry_binary_load_feature),
3334         (gst_registry_binary_load_plugin):
3335         If an element supports the Uri interface, returns a valid pointer
3336         to the supported URI protocols but this pointer contains nothing
3337         don't try to save that as it will corrupt the registry.
3338
3339         Don't unref the plugin if we added it to the registry already but
3340         fail to load a feature as gst_registry_add_plugin() takes ownership
3341         of the plugin.
3342
3343         Improve debugging a bit.
3344
3345 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3346
3347         * gst/gsttaglist.h:
3348           Clarify some tag item docs after discussion on irc.
3349
3350 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3351
3352         * docs/gst/gstreamer-docs.sgml:
3353           Remove commented out plugins (they have their own docs). Update
3354           comments.
3355
3356 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3357
3358         * docs/gst/gstreamer-docs.sgml:
3359         * docs/gst/gstreamer-sections.txt:
3360         * gst/gstparamspecs.c:
3361         * gst/gstparamspecs.h:
3362           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3363           docs to own section.
3364
3365         * gst/gstvalue.c:
3366           This now only documents GValue.
3367           
3368         * docs/libs/gstreamer-libs-sections.txt:
3369         * libs/gst/controller/gstcontroller.h:
3370           Remove GST_PARAM_CONTROLLABLE.
3371
3372 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3373
3374         * docs/README:
3375           Correct file path. Tell about how to use -overrides.txt.
3376         * docs/design/draft-tagreading.txt:
3377           Small design update.
3378
3379 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3380
3381         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3382         (gst_registry_binary_load_plugin):
3383         Fix a typo in a debug message and revert change from yesterday as
3384         gst_registry_add_plugin() will only fail if something is really wrong
3385         already and we can't survive it anyway.
3386
3387 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3388
3389         * gst/gst.c: (init_post), (gst_deinit):
3390           Pre-register GstGError GType from a thread-safe context
3391           (fixes #527967); unref enum type classes in deinit.
3392
3393 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3394
3395         Patch by: Rene Stadler <mail at renestadler de>
3396
3397         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3398           Merging an empty list with another list in KEEP_ALL mode should
3399           yield an empty list as result and not the second list (#512578).
3400
3401         * tests/check/gst/gsttagsetter.c:
3402           Add unit test for tag merge modes and the aforementioned bug.
3403
3404 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3405
3406         Patch by: Rene Stadler <mail at renestadler de>
3407
3408         * gst/gsttaglist.h:
3409           Fix description to match the order in the table (#512577).
3410   
3411 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3412
3413         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3414
3415         * libs/gst/net/gstnettimepacket.h:
3416         * docs/libs/gstreamer-libs-sections.txt:
3417           Define socklen_t as int if it's not defined yet. Fixes compilation
3418           with MSVC6 and other versions where socklen_t is not defined in
3419           the windows headers (#518022).
3420
3421 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3422
3423         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3424         If gst_registry_add_plugin() fails our reference to the plugin is
3425         invalid so don't try to use it anymore and instead error out.
3426
3427 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3428
3429         * tools/gst-xmlinspect.c: (print_element_info), (main):
3430           De-cruft a bit. If no argument is specified, print all elements in
3431           XML syntax rather than a freestyle list of elements like gst-inspect.
3432           Also, don't print XML header chunk unless we actually have something
3433           to print (ie. don't print it before an error message); print error
3434           message to stderr not stdout. Remove support for printing plugin
3435           info (it would just output something freestyle along the lines of
3436           gst-inspect so far), which fixes #514507. Also add license header.
3437
3438 2008-04-11  Julien Moutte  <julien@fluendo.com>
3439
3440         Mac OS X love...
3441         * configure.ac: Merge platform specific defines, introduce a new
3442         define on OS X to remember that forking when updating registry is
3443         unsafe.
3444         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3445         module.
3446         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3447         is defined.
3448         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3449         condition that leads to absolutely no plugins being registered on
3450         OS X.
3451
3452 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3453
3454         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3455
3456         * gst/gstutils.c: (gst_pad_add_data_probe),
3457           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3458           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3459           (gst_pad_add_buffer_probe_full):
3460         * gst/gstutils.h:
3461         * docs/gst/gstreamer-sections.txt:
3462         * win32/common/libgstreamer.def:
3463           Add gst_pad_add_*_probe_full() functions with a notify callback that
3464           lets the caller free the data it passes to the probe functions. This
3465           is useful for bindings such as gst-python or gstreamermm (#526814).
3466           API: gst_pad_add_data_probe_full
3467           API: gst_pad_add_buffer_probe_full
3468           API: gst_pad_add_event_probe_full
3469
3470         * tests/check/gst/gstutils.c:
3471           Add minimal unit test to make sure freeing the data actually works
3472           as expected.
3473
3474         * tests/benchmarks/.cvsignore:
3475           Random cvsignore addendum.
3476
3477 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3478
3479         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3480           (GST_DEBUG_BIN_TO_DOT_FILE):
3481           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3482           to it in the docs (since these are macros the types of the arguments
3483           won't be shown in the docs otherwise).
3484
3485 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3486
3487         * gst/gstpad.c:
3488           Do not abort on out of memory for pad_alloc_buffer.
3489
3490 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3491
3492         * libs/gst/check/gstcheck.c:
3493           Remove blank line between symbol name ad parameters to fix gtkdoc
3494           warning.
3495
3496 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3497
3498         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3499
3500         * docs/gst/gstreamer-sections.txt:
3501         * gst/gstsegment.c:
3502         * gst/gstsegment.h:
3503         * win32/common/libgstreamer.def:
3504           Expose gst_segment_copy() to make things easier for the c++ bindings.
3505           Fixes #518932.
3506           API: gst_segment_copy()
3507
3508 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3509
3510         * gst/gst.c: (gst_init_get_option_group), (init_post):
3511           Fix const position; ref GType classes for enum types to work
3512           around thread-safety issues in GLib versions < 2.16.
3513
3514 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3515
3516         * docs/design/part-buffering.txt:
3517         Fix some typos and set the estimated total for push mode to -1.
3518
3519         * gst/gstquery.c: (gst_query_new_buffering):
3520         Set buffering-left to 0 as we're not buffering by default.
3521
3522         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3523         Implement BUFFERING query.
3524
3525 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3526
3527         Based on patch by: Milosz Derezynski <internalerror gmail com>
3528
3529         * gst/gsterror.c: (_gst_stream_errors_init):
3530         * gst/gsterror.h:
3531           Add two new error codes for encrypted content. Fixes #524659.
3532           API: GST_STREAM_ERROR_DECRYPT
3533           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3534
3535 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3536
3537         * gst/gstquery.h:
3538           Fix typo.
3539
3540         * win32/common/libgstreamer.def:
3541           Add new functions.
3542
3543 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3544
3545         * plugins/elements/gstidentity.c: (gst_identity_event),
3546         (gst_identity_start):
3547         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3548         event after processing some data. Fixes bug #526042.
3549
3550 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3551
3552         * docs/gst/gstreamer-sections.txt:
3553         * gst/gstquery.c: (gst_query_parse_latency),
3554         (gst_query_set_buffering_percent),
3555         (gst_query_parse_buffering_percent),
3556         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3557         * gst/gstquery.h:
3558         Rename _avail -> _range
3559         API: gst_query_set_buffering_range
3560         API: gst_query_parse_buffering_range
3561
3562 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3563
3564         * docs/design/part-buffering.txt:
3565         * gst/gstquark.c:
3566         * gst/gstquark.h:
3567         * gst/gstquery.c: (gst_query_parse_latency),
3568         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3569         (gst_query_parse_buffering_percent):
3570         * gst/gstquery.h:
3571         Add busy field and quark for the buffering query so that the app can
3572         only use the query to see if buffering is in progress.
3573
3574 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3575
3576         * docs/gst/gstreamer-sections.txt:
3577         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3578         (gst_message_parse_buffering_stats):
3579         * gst/gstmessage.h:
3580         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3581         (gst_query_parse_latency), (gst_query_new_buffering),
3582         (gst_query_set_buffering_percent),
3583         (gst_query_parse_buffering_percent),
3584         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3585         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3586         * gst/gstquery.h:
3587         Reorder the message docs and headers for clarity.
3588         Add aditional buffering stats API for messages.
3589         Add buffering query.
3590         Convert some leftover queries to use GstQuark.
3591         API: gst_message_set_buffering_stats
3592         API: gst_message_parse_buffering_stats
3593         API: GST_QUERY_BUFFERING
3594         API: GstBufferingMode
3595         API: gst_query_new_buffering
3596         API: gst_query_set_buffering_percent
3597         API: gst_query_parse_buffering_percent
3598         API: gst_query_set_buffering_stats
3599         API: gst_query_parse_buffering_stats
3600
3601 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3602
3603         * gst/gstmessage.c: (gst_message_new_error),
3604         (gst_message_new_warning), (gst_message_new_info),
3605         (gst_message_new_buffering), (gst_message_new_state_changed),
3606         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3607         (gst_message_new_new_clock), (gst_message_new_segment_start),
3608         (gst_message_new_segment_done), (gst_message_new_duration),
3609         (gst_message_new_async_start), (gst_message_parse_buffering),
3610         (gst_message_parse_state_changed),
3611         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3612         (gst_message_parse_new_clock), (gst_message_parse_error),
3613         (gst_message_parse_warning), (gst_message_parse_info),
3614         (gst_message_parse_segment_start),
3615         (gst_message_parse_segment_done), (gst_message_parse_duration),
3616         (gst_message_parse_async_start):
3617         Use GstQuark for messages.
3618
3619 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3620
3621         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3622         * gst/gstquark.h:
3623         Add some more quarks needed for messages and queries.
3624
3625 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3626
3627         * docs/design/part-buffering.txt:
3628         Remove the "none" buffering mode, STREAM is a good default.
3629         Move estimated-time to the avail query, that's when it will be needed.
3630         Other small typo fixes and updates.
3631
3632 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3633
3634         * gst/gstindex.c: (gst_index_resolver_get_type):
3635           Don't put descriptions into the nick field of a GEnumValue: it's not
3636           meant for that and some language bindings rely on the nick field to
3637           construct constants and the like. Fixes #526705.
3638
3639 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3640
3641         * NEWS:
3642         * RELEASE:
3643         * gstreamer.doap:
3644           Merge other changes from 0.10.19 release branch.
3645
3646 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3647
3648         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3649
3650         * configure.ac:
3651         Actually build dlls when cross-compiling with mingw32.
3652         Fixes bug #526247.
3653
3654 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3655
3656         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3657
3658         * gst/gstpoll.c:
3659         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3660
3661 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3662
3663         * docs/design/draft-latency.txt:
3664         Fix typo.
3665
3666         * docs/design/part-buffering.txt:
3667         Update design docs with more buffering ideas.
3668
3669 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3670
3671         * configure.ac:
3672           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3673
3674 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3675
3676         * configure.ac:
3677           Revert part that belongs to the preset patch.
3678
3679 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3680
3681         * configure.ac:
3682           Add qoutes to the define. Fixes # 525961.
3683
3684 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3685
3686         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3687         (gst_file_index_load), (gst_file_index_add_id),
3688         (gst_file_index_get_assoc_entry):
3689         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3690         (gst_mem_index_free_id), (gst_mem_index_add_id),
3691         (gst_mem_index_index_format):
3692         Use GSlice when possible.
3693
3694 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3695
3696         * libs/gst/controller/gstinterpolationcontrolsource.c:
3697         (gst_control_point_free),
3698         (gst_interpolation_control_source_set_internal):
3699         Use GSlice for allocating the control points.
3700
3701 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3702
3703         * plugins/elements/gsttypefindelement.c:
3704         (gst_type_find_element_class_init),
3705         (gst_type_find_element_set_property),
3706         (gst_type_find_element_get_property),
3707         (gst_type_find_element_activate):
3708         * plugins/elements/gsttypefindelement.h:
3709         Cleanup properties.
3710         Fix pad leak when peer query fails.
3711         We can still typefind when the peer returns -1.
3712         Add property to force caps and bypass typefinding. This will be used in
3713         uridecodebin.
3714         API::force-caps
3715
3716 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3717
3718         * configure.ac:
3719         Require GLib 2.12.
3720
3721         * gst/glib-compat-private.h:
3722         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3723         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3724         Unconditionally use GSlice for allocation.
3725
3726         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3727         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3728         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3729         (gst_structure_free):
3730         Use GSlice for allocation.
3731
3732 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3733
3734         * gst/parse/Makefile.am:
3735         * gst/parse/grammar.tab.pre.c:
3736         * gst/parse/grammar.tab.pre.h:
3737         * gst/parse/lex._gst_parse_yy.pre.c:
3738         Require a new enough flex and bison and remove the parser hacks to use
3739         a pre-regenerated version.
3740
3741 2008-04-01  Julien Moutte  <julien@fluendo.com>
3742
3743         patch by: Jason Zhao <E3423C@motorola.com>
3744
3745         * configure.ac: Add a configure switch to disable option parsing
3746         in gst_init.
3747         Fixes #522882.
3748
3749 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3750
3751         * configure.ac:
3752         * gst/gstregistry.c:
3753           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3754           and handle this case.
3755
3756         * gst/gst.c:
3757           Add a comment here describing, why we stat each plugin and not try to
3758           be smart.
3759
3760 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3761
3762         * libs/gst/base/gstbasetransform.c:
3763         (gst_base_transform_prepare_output_buffer):
3764         Also unset the GAP flag on buffers if we're working inplace but
3765         the element is not GAP-aware.
3766
3767         Mark a comment as FIXME 0.11.
3768
3769 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3770
3771         * gst/gst.c:
3772           Fix type in log message and add one to ease seeing how long registry
3773           cache verification takes.
3774
3775         * gst/gstregistry.c:
3776           Only test plugin filenames against G_MODULE_SUFFIX.
3777
3778 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3779
3780         * gst/gstdebugutils.c:
3781           Improve handling ghost/proxy pads.
3782
3783 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3784
3785         * docs/gst/gstreamer-sections.txt:
3786         * gst/gstpad.c:
3787         * gst/gstpad.h:
3788           Expose macro to docs and fix link to it.
3789
3790 2008-03-27  Michael Smith <msmith@fluendo.com>
3791
3792         * libs/gst/dataprotocol/dataprotocol.c:
3793         (gst_dp_packet_from_event_1_0):
3794           When calculating GDP body CRC, use the correct pointer. 
3795           Fixes part of #522401.
3796
3797 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3798
3799         Patch by: Mark Nauwelaerts <manauw at skynet be>
3800
3801         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3802         (gst_identity_init), (gst_identity_prepare_output_buffer):
3803         Identity is not always a passthrough element, it can modify the buffer
3804         timestamps when it has a datarate and operates in single-segment mode.
3805         We therefore make it an in_place filter with a custom buffer prepare
3806         function that conditionally makes the input buffer metadata writable
3807         when needed.  Fixes #523985.
3808
3809 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3810
3811         Patch by: Mark Nauwelaerts <manauw at skynet be>
3812
3813         * gst/gstclock.h:
3814         * libs/gst/base/gstbasesrc.h:
3815         * libs/gst/base/gstbasetransform.c:
3816         * libs/gst/check/gstcheck.c:
3817         Small documentation fixes. Fixes #523978.
3818
3819 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3820
3821         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3822         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3823         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3824
3825 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3826
3827         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3828         (single_queue_underrun_cb):
3829         When trying to make room in the queue, bump the max allowed buffers
3830         bigger than the current amount of buffers in the queue. this fixes some
3831         nasty deadlocks in multiqueue when dynamically changing the limits of
3832         the queue.
3833
3834 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3835
3836         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3837
3838         * gst/gstcaps.c: (gst_caps_set_simple),
3839         (gst_caps_set_simple_valist), (gst_caps_intersect):
3840         * gst/gstcaps.h:
3841         Constify the field gchar * params in set_simple and friends.
3842         Fixes #522326.
3843
3844 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3845
3846         * gst/gstvalue.c: (gst_value_transform_object_string):
3847         Transform a GstObject to a more meaningfull string that includes the
3848         object type in addition to its name.
3849
3850 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3851
3852         * ChangeLog:
3853           ChangeLog surgery to add bugnumber to commit.
3854
3855 2008-03-23  Rene Stadler  <mail@renestadler.de>
3856
3857         * libs/gst/base/gstbasetransform.c:
3858         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3859
3860 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3861
3862         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3863         Rename constant everywhere and don't forget one occurence.
3864
3865 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3866
3867         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3868         Align memory to the pointer size even if the architecture allows
3869         unaligned memory access. Unaligned memory access usually comes with
3870         performance penality.
3871
3872 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3873
3874         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3875         (gst_registry_binary_check_magic),
3876         (gst_registry_binary_load_pad_template),
3877         (gst_registry_binary_load_feature),
3878         (gst_registry_binary_load_plugin):
3879         Align memory to the pointer size instead of always 32 bit. Fixes
3880         unaligned memory accesses on ia64 and friends.
3881
3882         * gst/gstregistrybinary.h:
3883         Bump binary registry format version for this as it changes the
3884         format on those architectures that don't have unaligned access
3885         and 64 bit pointers.
3886
3887 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3888
3889         * docs/pwg/advanced-dparams.xml:
3890         * docs/pwg/building-props.xml:
3891         * docs/pwg/other-source.xml:
3892         * gst/glib-compat.h:
3893         * gst/gstbin.c: (gst_bin_class_init):
3894         * gst/gstclock.c: (gst_clock_class_init):
3895         * gst/gstindex.c: (gst_index_class_init):
3896         * gst/gstobject.c: (gst_object_class_init):
3897         * gst/gstpad.c: (gst_pad_class_init):
3898         * gst/gstpipeline.c: (gst_pipeline_class_init):
3899         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3900         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3901         * libs/gst/base/gstbasetransform.c:
3902         (gst_base_transform_class_init):
3903         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3904         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3905         (_gst_check_fault_handler_sighandler),
3906         (_gst_check_fault_handler_setup), (gst_check_init):
3907         * libs/gst/controller/gstcontroller.c:
3908         (_gst_controller_class_init):
3909         * libs/gst/controller/gstlfocontrolsource.c:
3910         (gst_lfo_control_source_class_init):
3911         * libs/gst/net/gstnetclientclock.c:
3912         (gst_net_client_clock_class_init):
3913         * libs/gst/net/gstnettimeprovider.c:
3914         (gst_net_time_provider_class_init):
3915         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3916         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3917         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3918         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3919         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3920         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3921         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3922         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3923         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3924         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3925         * plugins/elements/gsttee.c: (gst_tee_class_init):
3926         * plugins/elements/gsttypefindelement.c:
3927         (gst_type_find_element_class_init):
3928         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3929         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3930         use it everywhere for GParamSpecs that use static strings (i.e. all).
3931         This gives us less memory usage, fewer allocations and thus less
3932         memory defragmentation. Fixes bug #523806.
3933
3934 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3935
3936         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3937         (gst_param_spec_mini_object):
3938         * gst/gstminiobject.h:
3939         * win32/common/libgstreamer.def:
3940         * docs/gst/gstreamer-sections.txt:
3941         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3942         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3943         GstParamSpecMiniObject into a public header for this.
3944
3945         This make GstMiniObject a bit more consistent with GObject and makes
3946         it possible to extend the param specs.
3947
3948         gst_value_dup_mini_object is mainly useful for set_property methods.
3949
3950         Fixes bug #523798.
3951
3952         * tools/gst-inspect.c: (print_element_properties_info):
3953         Print something useful for GstMiniObject properties and not just
3954         "unknown type".
3955
3956 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3957
3958         * docs/gst/gstreamer-sections.txt:
3959         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3960         (gst_registry_binary_check_magic):
3961         * gst/gstregistrybinary.h:
3962         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3963         and add it to the (private part) of the docs to fix the build.
3964
3965 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3966
3967         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3968         (gst_registry_binary_check_magic),
3969         (gst_registry_binary_read_cache):
3970         * gst/gstregistrybinary.h:
3971         Don't use GST_MAJORMINOR for the binary registry version. Instead
3972         hardcode a value that must be changed whenever the format changes
3973         in an incompatible way.
3974         Also don't GST_ERROR when there is a version mismatch, just
3975         regenerate the registry silently.
3976
3977 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3978
3979         * configure.ac:
3980         Back to development - 0.10.18.1
3981
3982 === release 0.10.18 ===
3983
3984 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3985
3986         * configure.ac:
3987           releasing 0.10.18, "So far away"
3988
3989 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3990
3991         * configure.ac:
3992         * win32/common/config.h:
3993         0.10.17.4 pre-release
3994
3995 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3996
3997         Patch by: Ole André Vadla Ravnås
3998             <ole dot andre dot ravnas at tandberg dot com>
3999
4000         * docs/gst/gstreamer-sections.txt:
4001         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4002         (gst_poll_update_winsock_event_mask),
4003         (gst_poll_prepare_winsock_active_sets),
4004         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4005         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4006         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4007         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4008         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4009         * gst/gstpoll.h:
4010         * win32/common/libgstreamer.def:
4011         Add new function gst_poll_fd_ignored() for improved Windows
4012         compatibility.
4013         Various minor fixes and cleanups. See #520808.
4014
4015 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4016
4017         * gst/gstindex.c: (gst_index_entry_free):
4018         * gst/gstindex.h:
4019           Don't free key strings which we don't own. Fixes crash in
4020           gst_index_entry_free() (#522741).
4021
4022         * tests/check/Makefile.am:
4023         * tests/check/gst/.cvsignore:
4024         * tests/check/gst/gstindex.c: (test_index_entries),
4025           (gst_index_suite), (gst_index):
4026           Add unit test for the above.
4027
4028 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4029
4030         * win32/common/libgstreamer.def:
4031         Remove symbols that were removed recently. Fixes bug #521740.
4032
4033 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4034
4035         * configure.ac:
4036         * win32/common/config.h:
4037         0.10.17.3 pre-release
4038
4039 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4040
4041         Patch by: Ole André Vadla Ravnås
4042             <ole dot andre dot ravnas at tandberg dot com>
4043
4044         * docs/gst/gstreamer-sections.txt:
4045         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4046         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4047         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4048         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4049         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4050         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4051         (gst_poll_fd_can_write), (gst_poll_wait),
4052         (gst_poll_set_controllable), (gst_poll_restart),
4053         (gst_poll_set_flushing):
4054         * gst/gstpoll.h:
4055         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4056         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4057         (gst_net_time_provider_new):
4058         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4059         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4060         * tests/benchmarks/gstpollstress.c: (main):
4061         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4062         Remove GstPollMode from the API, it does not make sense to let the
4063         application control this.
4064         Add support for Win32.
4065         Fix the testsuite. Fixes #520671.
4066
4067 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4068
4069         Patch by: Ole André Vadla Ravnås
4070             <ole dot andre dot ravnas at tandberg dot com>
4071
4072         * gst/gstregistrybinary.c:
4073         Include io.h for write() and close() when building with MSVC. Fixes
4074         bug #520877.
4075
4076 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4077
4078         * configure.ac:
4079         * gst/gst_private.h:
4080         * gst/gstconfig.h.in:
4081         * gst/gstregistry.h:
4082         * gst/gstregistrybinary.c:
4083         * win32/common/gstconfig.h:
4084           Move registry backend API to private headers where we can. Add
4085           fixme-0.11 comments for the others. Add stubs for the xml backend when
4086           using the binary to ensure they functions exists (they should not be
4087           used though). Fixes #520756.
4088
4089 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4090
4091         * configure.ac:
4092         * win32/common/config.h:
4093         0.10.17.2 prelease
4094
4095 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4096
4097         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4098         (gst_registry_binary_read_cache):
4099         * gst/gstregistryxml.c: (gst_registry_save):
4100         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4101         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4102         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4103         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4104         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4105         Fixes #520152
4106
4107 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4108
4109         * gst/gstminiobject.c:
4110         Import gst_private.h before any other header that might include other
4111         glib headers. This fixes the build on windows using native compilers.
4112
4113 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4114
4115         * win32/common/gstconfig.h:
4116           Add here too, just for completeness.
4117
4118 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4119
4120         * configure.ac:
4121         * gst/gstconfig.h.in:
4122         * gst/gstregistry.h:
4123           Fix broken use of config.h-defined preprocessor directive in a public
4124           header file. Add a corresponding define to gstconfig.h, since we can't
4125           really remove those function declarations from the header file now
4126           (or can we? and why are they there in the first place?).
4127
4128 2008-03-03  Andy Wingo  <wingo@pobox.com>
4129
4130         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4131         the new warning.
4132
4133         * gst/gststructure.c (gst_structure_from_string): Warn if
4134         structure_from_string didn't consume the whole string, but the
4135         caller did not provide an end pointer.
4136
4137 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4138
4139         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4140
4141         * gst/gstregistryxml.c: (read_string), (load_feature):
4142           Strings allocated by libxml2 should be freed with xmlFree(), not
4143           with g_free(). Fixes issues on windows in certain contexts (#519698).
4144
4145 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4146
4147         * gst/gstinterface.c: (gst_element_implements_interface):
4148           Don't crash if the element supports the interface queried, but does
4149           not implement GstImplementsInterface. Fixes #519584.
4150
4151         * tests/check/Makefile.am:
4152         * tests/check/gst/.cvsignore:
4153         * tests/check/gst/gstinterface.c:
4154           Add unit test for the above.
4155
4156 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4157
4158         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4159         Small doc update.
4160
4161 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4162
4163         * gst/gstsegment.c: (gst_segment_set_seek),
4164         (gst_segment_to_stream_time):
4165         Improve some comment.
4166         Update variables where it makes more sense.
4167
4168 2008-02-29  Rene Stadler  <mail@renestadler.de>
4169
4170         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4171         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4172         URIHandlers implemented using language bindings.
4173
4174 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4175
4176         * gst/gstelementfactory.h:
4177         * tests/check/elements/fakesink.c:
4178         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4179         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4180         * tests/check/elements/filesink.c: (setup_filesink):
4181         * tests/check/elements/filesrc.c: (setup_filesrc):
4182         * tests/check/elements/identity.c: (setup_identity):
4183         * tests/check/elements/tee.c:
4184         * tests/check/generic/sinks.c:
4185         * tests/check/generic/states.c: (setup), (teardown):
4186         * tests/check/gst/gst.c:
4187         * tests/check/gst/gstabi.c:
4188         * tests/check/gst/gstbin.c:
4189         * tests/check/gst/gstbus.c: (pull_messages):
4190         * tests/check/gst/gstcaps.c:
4191         * tests/check/gst/gstelement.c:
4192         * tests/check/gst/gstevent.c:
4193         * tests/check/gst/gstghostpad.c:
4194         * tests/check/gst/gstiterator.c:
4195         * tests/check/gst/gstmessage.c:
4196         * tests/check/gst/gstminiobject.c: (my_foo_init):
4197         * tests/check/gst/gstobject.c: (thread_name_object),
4198         (gst_object_suite):
4199         * tests/check/gst/gstpad.c:
4200         * tests/check/gst/gstplugin.c:
4201         * tests/check/gst/gstpoll.c:
4202         * tests/check/gst/gstquery.c:
4203         * tests/check/gst/gstsegment.c:
4204         * tests/check/gst/gststructure.c:
4205         * tests/check/gst/gstsystemclock.c:
4206         * tests/check/gst/gsttask.c:
4207         * tests/check/gst/gstutils.c:
4208         * tests/check/gst/gstvalue.c:
4209         * tests/check/gst/struct_hppa.h:
4210         * tests/check/gst/struct_i386.h:
4211         * tests/check/gst/struct_ppc32.h:
4212         * tests/check/gst/struct_ppc64.h:
4213         * tests/check/gst/struct_x86_64.h:
4214         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4215         * tests/check/libs/basesrc.c:
4216         * tests/check/libs/controller.c: (GST_START_TEST):
4217         * tests/check/libs/gdp.c:
4218         * tests/check/libs/gstnetclientclock.c:
4219         * tests/check/libs/gstnettimeprovider.c:
4220         * tests/check/libs/libsabi.c:
4221         * tests/check/libs/struct_hppa.h:
4222         * tests/check/libs/struct_i386.h:
4223         * tests/check/libs/struct_ppc32.h:
4224         * tests/check/libs/struct_ppc64.h:
4225         * tests/check/libs/struct_x86_64.h:
4226         * tests/check/pipelines/cleanup.c:
4227         * tests/check/pipelines/simple-launch-lines.c:
4228         * tests/check/pipelines/stress.c:
4229         And correct even more valid sparse warnings.
4230
4231         * win32/common/libgstreamer.def:
4232         Add gst_poll_fd_init to the list of symbols.
4233
4234 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4235
4236         * gst/gstconfig.h.in:
4237         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4238         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4239         (gst_check_log_critical_func), (gst_check_drop_buffers),
4240         (gst_check_element_push_buffer_list):
4241         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4242         (gst_controller_get_type):
4243         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4244         (gst_object_get_controller), (gst_object_get_control_source):
4245         * libs/gst/controller/gstinterpolationcontrolsource.c:
4246         (gst_interpolation_control_source_new):
4247         * libs/gst/controller/gstlfocontrolsource.c:
4248         (gst_lfo_control_source_new):
4249         * libs/gst/dataprotocol/dataprotocol.c:
4250         (gst_dp_event_from_packet_0_2):
4251         * plugins/elements/gstfdsrc.c:
4252         * plugins/elements/gstmultiqueue.c:
4253         * plugins/elements/gsttee.c:
4254         * plugins/elements/gsttypefindelement.c:
4255         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4256         (gst_file_index_add_association):
4257         * plugins/indexers/gstmemindex.c:
4258         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4259         * tests/check/elements/queue.c: (setup_queue):
4260         * tests/check/gst/gstpipeline.c:
4261         * tests/check/libs/collectpads.c: (setup), (teardown),
4262         (gst_collect_pads_suite):
4263         * tests/examples/adapter/adapter_test.c:
4264         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4265         * tests/examples/xml/createxml.c:
4266         * tests/examples/xml/runxml.c:
4267         * tools/gst-inspect.c:
4268         * tools/gst-run.c:
4269         Correct all relevant warnings found by the sparse semantic code
4270         analyzer. This include marking several symbols static, using
4271         NULL instead of 0 for pointers, not using variable sized arrays
4272         on the stack, moving variable declarations to the beginning of
4273         a block and using "foo (void)" instead of "foo ()" for declarations.
4274
4275 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4276
4277         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4278         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4279         Don't reset GstPollFDs, this is not necessary at all.
4280
4281         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4282         (delayed_restart), (delayed_control):
4283         Use GST_POLL_FD_INIT.
4284
4285 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4286
4287         * gst/gstpoll.c: (gst_poll_fd_init):
4288         * gst/gstpoll.h:
4289         Added Since tags.
4290
4291         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4292         Use some more init macros.
4293
4294 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4295
4296         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4297         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4298         Use init macros and functions.
4299
4300 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4301
4302         * docs/gst/gstreamer-sections.txt:
4303         * gst/gstpoll.c: (gst_poll_fd_init):
4304         * gst/gstpoll.h:
4305         Add INIT macro and _init method for initializing the GstPollFD.
4306
4307 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4308
4309         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4310         (gst_fd_sink_update_fd):
4311         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4312         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4313         (delayed_restart), (delayed_control):
4314         Initialize some uninitialized variables as spotted by valgrind.
4315
4316 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4317
4318         * tests/benchmarks/Makefile.am:
4319         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4320         (main):
4321         Add poll stress test.
4322
4323 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4324
4325         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4326
4327         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4328         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4329         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4330         * plugins/elements/gstfdsink.h:
4331         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4332         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4333         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4334         (gst_fd_src_uri_set_uri):
4335         * plugins/elements/gstfdsrc.h:
4336         Port to GstPoll. See #505417.
4337
4338 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4339
4340         * win32/common/libgstreamer.def:
4341         Add new gst_poll_ symbols to win32 defs.
4342
4343 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4344
4345         * docs/libs/gstreamer-libs-sections.txt:
4346         * libs/gst/net/gstnetclientclock.c:
4347         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4348         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4349         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4350         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4351         * libs/gst/net/gstnetclientclock.h:
4352         * libs/gst/net/gstnettimeprovider.c:
4353         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4354         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4355         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4356         (gst_net_time_provider_new):
4357         * libs/gst/net/gstnettimeprovider.h:
4358         Use a private stuct to not break ABI.
4359
4360 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4361
4362         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4363
4364         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4365         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4366         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4367         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4368         * libs/gst/net/gstnetclientclock.h:
4369         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4370         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4371         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4372         (gst_net_time_provider_new):
4373         * libs/gst/net/gstnettimeprovider.h:
4374         Massive code removal and cleanups because of GstPoll.
4375         Fixes #505417.
4376
4377 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4378
4379         * configure.ac:
4380         Add checks for poll, ppoll and pselect.
4381
4382         * docs/gst/gstreamer-docs.sgml:
4383         * docs/gst/gstreamer-sections.txt:
4384         Add docs for GstPoll.
4385
4386         * gst/Makefile.am:
4387         * gst/gst.h:
4388         * gst/gstpoll.c: (find_index), (selectable_fds),
4389         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4390         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4391         (gst_poll_set_mode), (gst_poll_get_mode),
4392         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4393         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4394         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4395         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4396         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4397         (gst_poll_fd_can_write), (gst_poll_wait),
4398         (gst_poll_set_controllable), (gst_poll_restart),
4399         (gst_poll_set_flushing):
4400         * gst/gstpoll.h:
4401         Add generic poll abstraction. We ideally don't want to have this in core
4402         here but in glib intead...
4403         This code will be used in various network elements and ultimately for
4404         the nanosecond precision monotonic clock (that's why it's here in core).
4405         It'll allow us to implement cancelable socket operations for windows too.
4406
4407         * tests/check/Makefile.am:
4408         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4409         (delayed_stop), (delayed_restart), (delayed_flush),
4410         (delayed_control), (gst_poll_suite):
4411         Add GstPoll unit test.
4412
4413 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4414
4415         * gst/gstfilter.c:
4416           Improve documentation of gst_filter_run(). Fixes #518627.
4417
4418 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4419
4420         * docs/README:
4421           Add a few lines about the new 'check-inspected-versions' target.
4422
4423 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4424
4425         * tests/check/gst/gstevent.c:
4426           Add qos to the event test. Rename tcase/tsuite; is not only about
4427           custom events.
4428
4429 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4430
4431         * plugins/elements/gstqueue.c:
4432           Ensure that buffer metadata is writeable, before modifying. Spotted by
4433           Mike.
4434
4435 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4436
4437         * plugins/elements/gstqueue.c:
4438         * plugins/elements/gstqueue.h:
4439           When dropping buffers in leaky modes, mark next buffers we sent as
4440           DISCONT.
4441
4442 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4443
4444         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4445           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4446
4447 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4448
4449         * plugins/elements/Makefile.am:
4450         * plugins/elements/gstbufferstore.c:
4451         * plugins/elements/gstbufferstore.h:
4452         * plugins/elements/gsttypefindelement.h:
4453           Remove GstBufferStore, no idea why we were still building it.
4454           It's not used anywhere and superseded by GstAdapter.
4455
4456         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4457           (gst_file_src_create_mmap):
4458         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4459           Printf format fixes for 64-bit integers.
4460
4461 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4462
4463         * configure.ac:
4464         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4465         We're not in 0.8 times anymore.
4466
4467 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4468
4469         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4470         (gst_check_element_push_buffer_list):
4471         * libs/gst/check/gstcheck.h:
4472         Make the declaration in the header for
4473         gst_check_element_push_buffer_list match the implementation.
4474
4475         Fix up spelling, grammar and wording of the documentation in a few
4476         places, and add the Since keyword to new API functions.
4477         Use g_list_delete_link instead of g_list_remove in
4478         gst_check_drop_buffers, since it's immeasurably more efficient.
4479
4480         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4481         Use new gst_check_drop_buffers function where appropriate.
4482
4483         * win32/common/libgstbase.def:
4484         * win32/common/libgstreamer.def:
4485         Add new symbols gst_collect_pads_take_buffer, 
4486         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4487         exports
4488
4489         Changelog surgery to add API keyword to new gst_check API.
4490
4491 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4492
4493         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4494         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4495         Update pre-generated flex files with flex 2.3.34.
4496
4497 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4498
4499         * gst/gstminiobject.c:
4500           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4501           friendly to subclasses and not require them to know all internals
4502           of their parent class.
4503
4504 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4505
4506         * docs/libs/gstreamer-libs-sections.txt:
4507         * libs/gst/base/gstcollectpads.c:
4508         * libs/gst/base/gstcollectpads.h:
4509           Add sub-buffer functions to collectpads. Fixes #516187.
4510           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4511
4512 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4513
4514         * gst/gstbuffer.c:
4515           Copy selected buffer-flags when creating subbuffers.
4516           Fixes #516395.
4517
4518 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4519
4520         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4521         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4522         * gst/gstmessage.c: (gst_message_class_init),
4523         (gst_message_finalize):
4524         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4525         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4526         (gst_mmap_buffer_finalize):
4527         Properly chain up finalize functions to the parent class.
4528
4529 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4530
4531         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4532
4533         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4534         (gst_index_set_resolver_full):
4535         * gst/gstindex.h:
4536         Add new function with option to dispose of user_data in resolver.
4537         Actually call the dispose function when finalizing the object and not
4538         just when changing the resolver/filter.
4539         API: GstIndex::gst_index_set_resolver_full()
4540
4541         * docs/gst/gstreamer-sections.txt:
4542         Add new function to docs. Fixes #515469.
4543
4544 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4545
4546         * gst/gstindex.c: (gst_index_finalize):
4547         Chain up finalize to the parent class. Fixes leaking the GstObject
4548         name and other things.
4549
4550 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4551
4552         * configure.ac:
4553         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4554         pre-releases or releases.
4555
4556         * docs/faq/gst-uninstalled:
4557         Add gst-plugins-gl
4558
4559         * docs/random/release:
4560         Change one of the steps - we only upload core & base to Gnome FTP
4561
4562 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4563
4564         * gst/gstconfig.h.in:
4565           Add 'id' for example.
4566
4567         * gst/gstpad.c:
4568         * gst/gstutils.c:
4569         * plugins/elements/gstfdsink.c:
4570           Link to signals. Doc and comment fixes.
4571
4572 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4573
4574         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4575         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4576           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4577           unused and unimplemented; finally, it is plugin features, not
4578           plugins, that have ranks.
4579           
4580 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4581
4582         * gst/gstpluginfeature.h:
4583           Clarify GstRank range docs.
4584
4585 2008-02-05  David Schleef  <ds@schleef.org>
4586
4587         * gst/gst.c: Add a separate gst_deinitialized that prevents
4588           gst_init() from being called after gst_deinit().  Fixes #509559
4589
4590 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4591
4592         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4593         (gst_bin_class_init):
4594         * gst/gstelement.c: (gst_element_base_class_init),
4595         (gst_element_class_add_pad_template):
4596         * gst/gstpadtemplate.c: (gst_pad_template_init):
4597         * gst/gstpipeline.c: (gst_pipeline_get_type),
4598         (gst_pipeline_base_init), (gst_pipeline_class_init):
4599         * libs/gst/base/gstbasesink.c:
4600         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4601         (gst_base_src_base_init), (gst_base_src_class_init):
4602         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4603         (gst_capsfilter_class_init):
4604         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4605         (gst_fake_sink_class_init):
4606         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4607         (gst_fake_src_class_init):
4608         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4609         (gst_fd_sink_class_init):
4610         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4611         (gst_fd_src_class_init):
4612         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4613         (gst_file_sink_class_init):
4614         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4615         (gst_file_src_class_init):
4616         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4617         (gst_identity_class_init):
4618         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4619         (gst_multi_queue_class_init):
4620         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4621         (gst_queue_class_init):
4622         * plugins/elements/gsttee.c: (gst_tee_base_init),
4623         (gst_tee_class_init):
4624         * plugins/elements/gsttypefindelement.c:
4625         (gst_type_find_element_base_init),
4626         (gst_type_find_element_class_init):
4627         * tests/check/gst/gstelement.c: (gst_element_suite):
4628         Revert previous changes to the behaviour of GstPadTemplates, etc
4629         and the possiblity to call them in class_init as it breaks too
4630         many elements. Reopens bug #491501.
4631
4632         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4633         several places.
4634
4635 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4636
4637         * tools/gst-launch.c:
4638         Dump one graph per pipeline state-change and state change name
4639         (if GST_DEBUG_DUMP_DOT_DIR is set).
4640
4641 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4642
4643         * gst/gstpad.c:
4644         * tests/check/gst/gstpad.c:
4645         Be sure that we have a new copy of the caps and not
4646         reffed caps from a template
4647
4648 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4649
4650         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4651         * gst/gstpipeline.c: (gst_pipeline_get_type),
4652         (gst_pipeline_class_init):
4653         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4654         (gst_base_sink_class_init):
4655         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4656         (gst_base_src_class_init):
4657         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4658         (gst_base_transform_class_init):
4659         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4660         (gst_collect_pads_class_init):
4661         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4662         * libs/gst/net/gstnettimeprovider.c:
4663         (gst_net_time_provider_base_init),
4664         (gst_net_time_provider_class_init):
4665         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4666         (gst_capsfilter_class_init):
4667         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4668         (gst_fake_sink_class_init):
4669         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4670         (gst_fake_src_class_init):
4671         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4672         (gst_fd_sink_class_init):
4673         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4674         (gst_fd_src_class_init):
4675         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4676         (gst_file_sink_class_init):
4677         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4678         (gst_file_src_class_init):
4679         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4680         (gst_identity_class_init):
4681         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4682         (gst_multi_queue_class_init):
4683         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4684         (gst_queue_class_init):
4685         * plugins/elements/gsttee.c: (gst_tee_base_init),
4686         (gst_tee_class_init):
4687         * plugins/elements/gsttypefindelement.c:
4688         (gst_type_find_element_base_init),
4689         (gst_type_find_element_class_init):
4690         Don't use base_init where not absolutely necessary. For example it's
4691         not necessary anymore for adding pad templates or setting element
4692         details.
4693
4694         Leave empty base_init functions in several places as GST_BOILERPLATE
4695         still defines and uses them.
4696
4697 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4698
4699         * gst/gstelement.c: (gst_element_base_class_init),
4700         (gst_element_class_add_pad_template):
4701         * gst/gstpadtemplate.c:
4702         Make it possible (and recommended) to set element details and add
4703         pad templates in the class_init functions by copying the details/pad
4704         templates in GstElement's base_init.
4705
4706         Also make it possible to replace existing pad templates by adding
4707         a new one with the same name. This was done in a hackish fashion
4708         in same elements before already.
4709
4710         Don't reference pad templates that are added a second time. A
4711         new pad template has a refcount of one and is not floating anymore
4712         and to be owned by the element's class. Make this more explicit by
4713         mentioning it in the docs of gst_element_class_add_pad_template().
4714
4715         These changes are backwards compatible. Fixes bug #491501.
4716
4717         * tests/check/gst/gstelement.c:
4718         Add unit test for setting element details, adding pad templates and
4719         replacing them in a subclass.
4720
4721 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4722
4723         * tools/gst-inspect.c: (print_interfaces),
4724         (print_element_properties_info), (print_pad_info),
4725         (print_signal_info), (print_element_info):
4726         Fix a few memory leaks.
4727
4728 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4729
4730         * docs/libs/gstreamer-libs-sections.txt:
4731         * libs/gst/check/gstcheck.c:
4732         * libs/gst/check/gstcheck.h:
4733         Add more functions for unit testing: gst_check_drop_buffers,
4734         gst_check_caps_equal, gst_check_element_push_buffer_list,
4735         gst_check_element_push_buffer
4736         API: gst_check_drop_buffers
4737         API: gst_check_caps_equal
4738         API: gst_check_element_push_buffer_list
4739         API: gst_check_element_push_buffer
4740
4741 2008-02-01  Julien Moutte  <julien@fluendo.com>
4742
4743         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4744         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4745         (gst_index_finalize), (gst_index_entry_free),
4746         (gst_index_add_association): Fix memory leaks.
4747         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4748         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4749         (gst_mem_index_free_format), (gst_mem_index_free_id),
4750         (gst_mem_index_finalize): Fix memory leaks.
4751         * win32/common/config.h: Updated to CVS HEAD.
4752
4753 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4754
4755         * docs/README:
4756           Some more details about how the plugin docs works.
4757
4758         * docs/plugins/gstreamer-plugins-sections.txt:
4759           Whitespace cleanup.
4760
4761 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4762
4763         * gst/parse/grammar.tab.pre.c:
4764         * gst/parse/grammar.tab.pre.h:
4765         * gst/parse/grammar.y:
4766         * gst/parse/lex._gst_parse_yy.pre.c:
4767           Add delayed set-property. This allows to set properties on dynamicaly
4768           created objects (pads in videomxer). Fixes #509391.
4769
4770 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4771
4772         * gst/gstutils.c:
4773         Check if caps are not NULL (fix bug #510194)
4774
4775 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4776
4777         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4778         (gst_base_sink_get_position_paused):
4779         Add fixme regarding EOS in pull mode.
4780         Fix position reporting in PAUSED for negative rates.
4781
4782 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4783
4784         * gst/gstminiobject.c: (gst_mini_object_replace):
4785         When replacing a miniobject, do a quick equality check first so that we
4786         can avoid a ref/unref pair.
4787
4788 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4789
4790         * docs/design/part-synchronisation.txt:
4791         Update some docs.
4792
4793         * docs/plugins/Makefile.am:
4794         * docs/plugins/gstreamer-plugins-docs.sgml:
4795         * docs/plugins/gstreamer-plugins-sections.txt:
4796         * plugins/elements/gstmultiqueue.c:
4797         Add multiqueue to the docs.
4798
4799 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4800
4801         * configure.ac:
4802           Back to CVS
4803
4804 === release 0.10.17 ===
4805
4806 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4807
4808         * configure.ac:
4809           releasing 0.10.17, "Due Negligence"
4810
4811 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4812
4813         * gst/gstutils.c:
4814         Revert caps != NULL check temporarily for 0.10.17 release.
4815
4816 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4817
4818         * gst/gstutils.c:
4819         Check if caps are not NULL (fix bug #510194)
4820
4821 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4822
4823         * gst/gstutils.c:
4824         Fix compilation on systems that have posix timers but no
4825         monotonic clock.
4826         Fixes: #512715
4827         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4828         dot net>
4829
4830 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4831
4832         * tools/gst-inspect.c:
4833         Revert previous commit in preparation for an impromptu 0.10.17 release
4834
4835 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4836
4837         * tools/gst-inspect.c: (print_interfaces),
4838         (print_element_properties_info), (print_pad_info),
4839         (print_signal_info), (print_element_info):
4840         Fix a few memory leaks.
4841
4842 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4843
4844         * configure.ac:
4845         Back to CVS
4846
4847 === release 0.10.16 ===
4848
4849 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4850
4851         * configure.ac:
4852           releasing 0.10.16, "Special Dispensation"
4853
4854 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4855
4856         * configure.ac:
4857           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4858           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4859           not fail when trying to crosscompile on OpenEmbedded (#511750).
4860
4861 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4862
4863         * docs/manuals.mak:
4864         Use $(MAKE) instead of make to fix the build if GNU make is
4865         called different. Fixes bug #510747.
4866
4867 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4868
4869         * gst/gstplugin.c: (_gst_plugin_initialize):
4870           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4871           again, which I broke two commits ago when changing the API
4872           of gst_plugin_register_static(): the g_list_foreach() in
4873           _gst_plugin_register_static still assumed the old function
4874           signature and would therefore fail (re-fixes #510187).
4875
4876         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4877           (_gst_plugin_register_static), (gst_plugin_register_static):
4878           Revert the (technically correct) change to call g_thread_init() from
4879           the pre-main() constructor. This will break programs which call
4880           g_thread_init() without an if (!g_thread_supported()) guard in their
4881           main function. We could just blame it on GLib or the application, but
4882           it's probably best to just avoid this altogether and simply not use
4883           any GLib functions here and use plain old malloc() with a simple
4884           array to store the plugins to register later when gst_init() is
4885           finally called (re-fixes #510187).
4886
4887         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4888           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4889           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4890           (GST_START_TEST), (gst_plugin_suite):
4891           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4892           works.
4893
4894 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4895
4896         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4897           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4898           This makes gtk-doc complain, but results in slightly better
4899           compiler errors. The old _gst_plugin_register_static() is
4900           still guarded, so there'll be a compiler warning about that
4901           instead. Fixes #510187 too.
4902
4903 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4904
4905         * gst/gst.c: (init_post):
4906         * gst/gstplugin.c: (_gst_plugin_register_static),
4907           (gst_plugin_register_static), (_gst_plugin_initialize):
4908         * gst/gstplugin.h: (GstPluginFilter):
4909           Change API of gst_plugin_register_static() to not take
4910           a GstPluginDesc, but rather just take all the arguments
4911           in a GstPluginDesc directly. This is more intuitive and
4912           avoids certain mistakes when porting code from
4913           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4914           Fixes #510187.
4915
4916         * tests/check/gst/gstplugin.c:
4917           Fix up for changed API.
4918
4919 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4920
4921         * docs/faq/legal.xml:
4922           Update FAQ, Totem actually has an exception these days.
4923
4924 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4925
4926         * win32/common/libgstreamer.def:
4927         Add new API declarations
4928
4929 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4930
4931         * gst/gstminiobject.c:
4932           Spelling fixes for the API docs.
4933
4934 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4935
4936         * libs/gst/base/gstbasetransform.c:
4937           Fix long property description for QoS.
4938
4939 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4940
4941         * gst/gst.c:
4942         _gst_trace_on is already provided by gsttrace.h, no need to declare
4943         it ourselves.
4944
4945         * docs/libs/gstreamer-libs-sections.txt:
4946         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4947         and remove strange tcase_add_test which is outputting a warning.
4948
4949         * libs/gst/check/gstcheck.c:
4950         * libs/gst/check/gstcheck.h:
4951         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4952         and define them in gstcheck.c instead of having every .c file whcih
4953         includes gstcheck.h be defining its own copy and relying on symbol
4954         interposing to marry them all, which doesn't work on Solaris.
4955
4956         * tests/check/elements/identity.c: (GST_START_TEST):
4957         Don't define 'buffers' locally, it comes from libgstcheck.
4958
4959         * tests/check/generic/sinks.c: (send_buffer):
4960         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4961
4962         * tests/check/gst/gststructure.c: (GST_START_TEST):
4963         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4964         * tests/check/gst/gstutils.c: (GST_START_TEST):
4965         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4966         Add a bunch of casts to make various constants fit the types
4967         they're being assigned to.
4968
4969 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4970
4971         * gst/gstchildproxy.c:
4972           Improve docs and add some ideas for making this more general-purpose.
4973
4974 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4975
4976         * gst/gst_private.h: (GST_CAT_TYPES):
4977           Add GST_CAT_TYPES, for consistency, and so that the other
4978           debug categories don't make fun of it. Spotted by Saur on IRC.
4979
4980 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4981
4982         * gst/parse/Makefile.am:
4983           Move types.h from EXTRA_DIST to noinst_HEADERS.
4984
4985 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4986
4987         * autogen.sh:
4988           Add -Wno-portability to the automake parameters to stop warnings
4989           about GNU make extensions being used. We require GNU make in almost
4990           every Makefile anyway.
4991
4992         * configure.ac:
4993           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4994           at the same time is required for per target flags.
4995
4996 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4997
4998         * gst/gstmacros.h:
4999           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5000           __GNUC__ is defined before using it.
5001
5002 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5003
5004         * docs/gst/gstreamer-sections.txt:
5005         * gst/gst.c: (init_post):
5006         * gst/gstplugin.c: (_gst_plugin_register_static),
5007           (gst_plugin_register_static), (_gst_plugin_initialize),
5008           (gst_plugin_register_func):
5009         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5010           API: add gst_plugin_register_static() and deprecate
5011           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5012           (#498924).
5013           Also, in _gst_plugin_register_static(), make sure to call
5014           g_thread_init() before calling GLib functions such as
5015           g_list_append() if we're not initialised yet, since that
5016           may lead to random crashes with older GSlice/GLib versions.
5017
5018         * tests/check/gst/gstplugin.c:
5019           Adapt unit test to above changes.
5020
5021 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5022
5023         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5024         * gst/gstcaps.c: (gst_caps_to_string):
5025         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5026           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5027           Yet another gratuitous GString micro-optimisation: add a (private)
5028           function that serialises a structure appending to an existing
5029           GString, so that when we serialise caps we don't need to alloc+free
5030           a throwaway GString for each structure (each of which also entailing
5031           multiple reallocs on the way); also use g_string_sized_new() in
5032           various places with an approximate string length to avoid reallocs
5033           within GString. See #500143.
5034
5035 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5036
5037         * gst/gststructure.c: (gst_structure_id_set_value):
5038           Always check UTF-8 conformance of structure strings and not only
5039           if the debugging system is enabled; reasoning: the behaviour of
5040           the actual code shouldn't really change depending on whether the
5041           debugging system is enabled or not (#508291).
5042
5043 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5044
5045         * Makefile.am:
5046           Remove old coverage target in favour of "make lcov".
5047
5048 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5049
5050         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5051         (gst_base_src_loop):
5052         The start segment for reverse playback goes from start to last_stop.
5053
5054 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5055
5056         Patch by: Peter Kjellerstedt <pkj axis com>
5057
5058         * gst/gstclock.h:
5059         Cast the results from the timeval/spec_to_time macros to what the
5060         docs say it casts to, a GstClockTime. fixes #508175.
5061
5062 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5063
5064         * gst/gstbuffer.c:
5065         Update some comments.
5066
5067         * tools/gst-inspect.c: (print_element_properties_info):
5068         Improve printing of flags.
5069
5070 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         * libs/gst/base/gstbasetransform.c:
5073           (gst_base_transform_transform_size):
5074           Print element name with g_warning() if there's a problem
5075           with the unit size.
5076
5077 2008-01-07  David Schleef  <ds@schleef.org>
5078
5079         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5080
5081         * libs/gst/controller/gstcontroller.h:
5082         * libs/gst/controller/gstcontrolsource.h:
5083         * libs/gst/controller/gstinterpolationcontrolsource.h:
5084         * libs/gst/controller/gstlfocontrolsource.h:
5085         * libs/gst/dataprotocol/dataprotocol.h:
5086           Fix empty prototypes.  Fixes bug #507957.
5087
5088 2008-01-07  David Schleef  <ds@schleef.org>
5089
5090         * docs/faq/dependencies.xml: Fix typo.
5091
5092 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5093
5094         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5095         (gst_base_src_loop):
5096         Don't update the last_stop position in do_seek, that's the position we
5097         did a seek to.
5098         Read backwards when we have a negative rate.
5099
5100         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5101         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5102         (filesrc_suite):
5103         Add check for reverse reading.
5104
5105 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5106
5107         Patch by: Alexis Ballier <aballier at gentoo org>
5108
5109         * tests/check/gst/gstabi.c:
5110         * tests/check/gst/struct_ppc64.h:
5111         * tests/check/libs/libsabi.c:
5112         * tests/check/libs/struct_ppc64.h:
5113           Decide which header to include based on the userland ABI target
5114           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5115           for 64-bit userland (#503590).  Might need something similar for
5116           x86 too.
5117
5118 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5119
5120         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5121           Log the reason why fopen fails in addition to the fact that it failed.
5122           
5123 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5124
5125         * gst/parse/parse.l:
5126         Use "%option never-interactive" to prevent useless calls to isatty()
5127         on every input when parsing. Also use "%option noinput" to not define
5128         the static input/yyinput functions which we don't use anyway. This
5129         removes a compiler warning with gcc 4.3 and saves some bytes in the
5130         library.
5131         
5132         * gst/parse/lex._gst_parse_yy.pre.c:
5133         Regenerated for the above change.
5134
5135 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5136
5137         * gst/gstpad.c: (fixate_value):
5138         Don't crash when trying to fixate and empty list.
5139         Fixes #506643.
5140
5141 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5142
5143         * docs/faq/gst-uninstalled:
5144         Clarify the comments to make the usage of this script and what it
5145         does easier to understand.
5146
5147 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5148
5149         * tools/gst-plot-timeline.py:
5150         Add more options to gst-plot-timeline
5151
5152 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5153
5154         * docs/design/part-synchronisation.txt:
5155         Some more info on how the stream_time in GstBaseSink is done.
5156
5157 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5158
5159         * tests/check/generic/sinks.c: (gst_sinks_suite):
5160           Put back the tcase_set_timeout(), apparently it's needed after
5161           all; fix it up in a way that makes things work with valgrind too.
5162
5163 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5164
5165         * gst/gstdebugutils.c:
5166           Add warning when failed to open file for writing.
5167
5168 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5169
5170         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5171
5172         * gst/gstvalue.c: (gst_value_is_fixed):
5173           Optimisation: bail out of the loop as early as possible (#500143).
5174
5175 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5176
5177         * gst/gstcaps.c: (gst_caps_to_string):
5178         * gst/gstinfo.c: (gst_debug_construct_term_color):
5179         * gst/gstparse.c: (gst_parse_launchv):
5180         * gst/gstutils.c: (gst_util_dump_mem):
5181         * gst/gstvalue.c: (gst_value_serialize_any_list),
5182           (gst_value_transform_any_list_string):
5183           Bunch of gratuitous nano-optimisations.
5184
5185 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5186
5187         * tests/check/generic/sinks.c: (async_done_func),
5188           (async_done_eos_func):
5189           Fix leak in unit test (bus sync handler must unref the message
5190           if it returns GST_BUS_DROP). Don't fiddle with the default test
5191           timeout, this is smaller than the current preconfigured value
5192           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5193           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5194
5195 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5196
5197         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5198
5199         * configure.ac:
5200         Check for stdio_ext.h for the filesink changes.
5201
5202         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5203         (gst_file_sink_class_init), (gst_file_sink_init),
5204         (gst_file_sink_dispose), (gst_file_sink_set_property),
5205         (gst_file_sink_get_property), (gst_file_sink_open_file),
5206         (gst_file_sink_close_file):
5207         * plugins/elements/gstfilesink.h:
5208         Add two properties to control the buffering mode and size.
5209         API: GstFileSink::buffer-mode
5210         API: GstFileSink::buffer-size
5211         Fixes #500150.
5212
5213 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5214
5215         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5216         Add some more docs to explain why a FIXME was wrongly added. 
5217
5218 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5219
5220         * gst/gstobject.c:
5221           Fix typo in the gst_object_{ref,unref} documentation.
5222
5223 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5224
5225         * tests/check/libs/controller.c:
5226         * tests/check/libs/typefindhelper.c:
5227         * tests/check/pipelines/parse-launch.c:
5228           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5229           going to be deprecated (see #498924).
5230
5231 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5232
5233         * gst/gsttypefind.c: (gst_type_find_register):
5234           Make gst_type_find_register work for static typefind functions,
5235           ie. allow passing plugin == NULL (prerequisite for #498924).
5236
5237         * gst/gstelementfactory.c: (gst_element_register):
5238           Small docs addition.
5239
5240 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5241
5242         * gst/gstpad.c: (gst_pad_dispose):
5243         Really unlink the peer pad instead of setting the peer pointer to NULL
5244         when we dispose the pad.
5245         This correctly calls the unlink functions and makes sure that the peer
5246         does not have a handle to invalid memory. See #504671.
5247
5248         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5249         Add testsuite for above case.
5250
5251 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5252
5253         Patch by: Peter Kjellerstedt <pkj axis com>
5254
5255         * libs/gst/check/gstcheck.h:
5256           Fix detection of the check version we're compiling against (would
5257           otherwise break if check goes v0.10.0); correctly report the
5258           name of the failed test again in case of failure, instead of
5259           just 'tf' (fixes #504499).
5260
5261 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5262
5263         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5264         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5265         (gst_base_src_loop), (gst_base_src_set_flushing),
5266         (gst_base_src_change_state):
5267         Allow sending EOS to the source to make it send out an EOS event from
5268         the streaming thread.
5269         Update docs and deprecate the old NULL/READY shutdown method.
5270
5271         * tests/check/libs/basesrc.c: (GST_START_TEST),
5272         (gst_basesrc_suite):
5273         Add unit test for controlled shutdown.
5274
5275 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5276
5277         * docs/design/part-synchronisation.txt:
5278         Small updates.
5279
5280         * gst/gstsegment.c: (gst_segment_set_seek),
5281         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5282         (gst_segment_to_running_time):
5283         The seek format can be different from the segment format when the start
5284         and stop values are not to be updated, when we only do a rate change for
5285         example.
5286
5287         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5288         (gst_segment_suite):
5289         Add a testcase for the rate-only seeks, checking that the format is
5290         correctly ignored when start and stop are not updated.
5291
5292 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5293
5294         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5295
5296         * win32/vs8/grammar.vcproj:
5297         * win32/vs8/libgstcontroller.vcproj:
5298         * win32/vs8/libgstreamer.vcproj:
5299         Fix compilation with VS8 and include some missing files.
5300
5301 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5302
5303         * gst/gsttaglist.c:
5304           Small docs addition: mention that the strings returned by
5305           gst_tag_list_get_string*() are in UTF-8 encoding.
5306
5307 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5308
5309         * Makefile.am:
5310           The check-exports stuff moved to common/win32.mak, so include that.
5311
5312 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5313
5314         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5315         (gst_base_src_perform_seek), (gst_base_src_get_range),
5316         (gst_base_src_set_playing), (gst_base_src_change_state):
5317         Make _wait_playing() not check any variables so that we can call this
5318         function from subclasses. Move the checks elsewhere similar to
5319         _wait_preroll() in basesink.
5320         Add some debugging.
5321         Only signal the LIVE cond when we are going back to PLAYING.
5322
5323 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5324
5325         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5326           Use g_remove() and g_rename(). Check result of g_rename(), and
5327           don't leak the open file descriptor if we error out when writing.
5328
5329         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5330           Must check the return value of close() after writing out the new
5331           registry file.  Sometimes write problems such as out-of-diskspace
5332           are only reported when the file is closed and not already during
5333           the write.  This may have caused partial/broken registry files in
5334           some rare circumstances. Should fix #503675.
5335
5336 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5337
5338         * docs/gst/.cvsignore:
5339         * docs/libs/.cvsignore:
5340         * docs/plugins/.cvsignore:
5341         Ignore files generated by new common/* modifications
5342
5343 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5344
5345         * win32/common/libgstbase.def:
5346           Yes, you can also have a <TAB> if you want.
5347
5348 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5349
5350         * win32/common/libgstbase.def:
5351           Add new basetransform API to win export file.
5352
5353 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5354
5355         * tests/check/gst/gstbin.c:
5356           Adjust the test to the refcount change two days ago.
5357
5358 2007-12-14  David Schleef  <ds@schleef.org>
5359
5360         * docs/faq/getting.xml: Fix typo.
5361
5362 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5363
5364         * docs/libs/gstreamer-libs-sections.txt:
5365         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5366           (gst_base_transform_prepare_output_buffer),
5367           (gst_base_transform_set_gap_aware):
5368         * libs/gst/base/gstbasetransform.h:
5369           API: Add gst_base_transform_set_gap_aware() to control whether
5370           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5371           get buffers with this flag at all. Fixes #503231.
5372
5373 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5374
5375         * libs/gst/base/gstbasesink.c:
5376         * libs/gst/base/gstbasesrc.c:
5377         * libs/gst/base/gstbasetransform.c:
5378           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5379           thread. Correct log message in gstbasesrc.c.
5380
5381 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5382
5383         * gst/gstutils.c: (element_find_unconnected_pad):
5384           Fix possible compiler warning (#503417).
5385
5386 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5387
5388         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5389           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5390
5391 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5392
5393         * tools/gst-inspect.c: (print_element_properties_info):
5394           Add support for GstFraction properties.
5395
5396 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5397
5398         * Makefile.am:
5399           Add check-exports target and run it as part of 'make check'
5400           (see #499140 and #493983).
5401
5402         * gst/gst_private.h:
5403         * gst/gstelementfactory.h:
5404         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5405         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5406           (_priv_gst_in_valgrind):
5407         * gst/gstinfo.h: (GstLogFunction):
5408         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5409           (gst_type_find_register):
5410         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5411           (gst_type_find_factory_get_type):
5412         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5413           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5414           (gst_controller_new_valist), (gst_controller_new_list),
5415           (_gst_controller_dispose), (_gst_controller_class_init):
5416         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5417         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5418           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5419           (gst_object_get_controller), (gst_object_set_controller),
5420           (gst_object_suggest_next_sync), (gst_object_sync_values),
5421           (gst_object_set_control_source), (gst_object_get_control_source),
5422           (gst_object_get_value_arrays), (gst_object_get_value_array),
5423           (gst_object_get_control_rate), (gst_object_set_control_rate):
5424         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5425         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5426           Make some functions that should be static static; rename some
5427           private symbols so that they don't get exported; add some FIXME
5428           comments so we can move accidentally exported functions into
5429           our private section in 0.11.
5430
5431         * win32/common/libgstreamer.def:
5432           Add gst_utils_get_timestamp().
5433
5434 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5435
5436         * gst/gstvalue.c:
5437         * gst/gstvalue.h:
5438           Add more missing "Since:" tags to docs.
5439
5440 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5441
5442         * gst/gstutils.c:
5443           Add mising "Since:" to docs.
5444
5445 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5446
5447         * gst/gstplugin.c:
5448           Include "glib-compat-private.h" to fix the build on system with
5449           glib < 2.10. Fixes #503131.
5450
5451 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5452
5453         * gst/gstutils.c:
5454         * gst/gstutils.h:
5455           Actually its not PURE as it gets the time from elsewhere.
5456
5457 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5458
5459         * docs/gst/gstreamer-sections.txt:
5460         * gst/gstclock.h:
5461         * gst/gstdebugutils.c:
5462         * gst/gstinfo.c:
5463         * gst/gstutils.c:
5464         * gst/gstutils.h:
5465         * libs/gst/base/gstbasesink.c:
5466         * tools/gst-launch.c:
5467           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5468           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5469           Thanks Tim for spotting.
5470           API: gst_util_get_timestamp
5471
5472 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5473
5474         * configure.ac:
5475           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5476
5477 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5478
5479         * gst/gststructure.c: (gst_structure_validate_name),
5480           (gst_structure_new_valist), (gst_structure_parse_value),
5481           (gst_structure_from_string):
5482           Don't crash in _from_string() if the structure name is not valid
5483           (fixes #501560).  Allow structure names to start with a number
5484           again (this apparently broke the ubuntu codec installer).
5485
5486         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5487           (GST_START_TEST):
5488           Add unit test for the crash; update unit tests for new behaviour.
5489
5490 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5491
5492         * gst/gstutils.c:
5493         Clarify gst_element_get_compatible_pad() documentation.
5494         Fixes #500919.
5495
5496 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5497
5498         * tests/check/Makefile.am:
5499           Don't forget to dist {gst,libs}/struct_hppa.h.
5500
5501 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5502
5503         * libs/gst/base/gstbasesink.c:
5504           Use new API to get elapsed time.
5505
5506 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5507
5508         * gst/gstdebugutils.c:
5509         * gst/gstinfo.c:
5510           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5511
5512         * tools/gst-launch.c:
5513           Use new API to get elapsed time.
5514
5515 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5516
5517         * docs/gst/gstreamer-sections.txt:
5518         * gst/gstclock.h:
5519         * gst/gstdebugutils.c:
5520         * gst/gstinfo.c:
5521           Rename new API + ChangeLog surgery to remove old name from last entry..
5522
5523 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5524
5525         * docs/gst/gstreamer-sections.txt:
5526         * gst/gstclock.h:
5527         * gst/gstdebugutils.c:
5528         * gst/gstinfo.c:
5529           Now hide the different clock stuff behind a macro.
5530
5531 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5532
5533         * configure.ac:
5534         * gst/gstdebugutils.c:
5535         * gst/gstinfo.c:
5536           Apply the posix-timer check from #361155. Conditionally use the posix
5537           timer for logging. This gives better timestamp precission, less
5538           overhead and no ntp jitter.
5539
5540 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5541
5542         * gst/gstminiobject.c: (gst_mini_object_get_type),
5543         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5544         (gst_mini_object_finalize), (gst_mini_object_copy),
5545         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5546         (gst_mini_object_replace), (param_mini_object_validate),
5547         (gst_param_spec_mini_object_get_type):
5548         Some cleanup and checking against invalid function parameters.
5549
5550 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5551
5552         * docs/gst/gstreamer-sections.txt:
5553         * gst/gstclock.h:
5554         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5555         (gst_systemclock_suite):
5556         Start merging in the easy bits of #361155, the monotonic clock patch.
5557         This one adds a few handy macros with docs and a testsuite.
5558
5559 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5560
5561         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5562         Be a bit smarter when seeking, like, don't try to do a seek when it's
5563         not needed. This avoids errors when the file is not seekable.
5564         Fixes #499771.
5565
5566 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5567
5568         * docs/gst/gstreamer-docs.sgml:
5569         * docs/gst/gstreamer-sections.txt:
5570         * docs/gst/gstreamer.types.in:
5571         * gst/Makefile.am:
5572         * gst/gst.h:
5573         * gst/gstpreset.c:
5574         * gst/gstpreset.h:
5575         * plugins/elements/gstqueue.c:
5576           Due to popular request remove preset interface again. :-(.
5577
5578 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5579
5580         * tools/gst-inspect.c:
5581           Print 'default value' for enums and flags too.
5582
5583 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5584
5585         * docs/random/ensonic/profiling.txt:
5586           More ideas.
5587
5588         * gst/gstbin.c:
5589           Fix typo and give better log output.
5590
5591         * gst/gstdebugutils.c:
5592         * gst/gstdebugutils.h:
5593           More ideas, make graphs a bit smaller and fix param name in macro.
5594
5595 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5596
5597         * gst/gstpreset.c:
5598           Try harder to use the return value from fgets().
5599
5600 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5601
5602         * gst/gstpreset.c:
5603           For theses two fgets we handle the error below.
5604
5605 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5606
5607         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5608         Only send upstream events upstream. Fixes #498746.
5609
5610 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5611
5612         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5613
5614         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5615         (gst_identity_init), (gst_identity_transform_ip),
5616         (gst_identity_set_property), (gst_identity_get_property):
5617         * plugins/elements/gstidentity.h:
5618         Add property to disable handoff signal emission. Fixes #498694.
5619         API: GstIdentity::signal-handoffs
5620
5621 2007-11-21  Julien Moutte  <julien@fluendo.com>
5622
5623         * docs/faq/gst-uninstalled: Yet another missing library for the
5624         uninstalled script (fft)
5625
5626 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5627
5628         * docs/faq/developing.xml:
5629         Add a question about how to submit new translations.
5630
5631         * docs/random/release:
5632         Update the contact email address for the Translation Project
5633
5634         * plugins/elements/gstfdsrc.c:
5635         The parent_class for fdsrc is pushsrc, not GstElement.
5636
5637 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5638
5639         * gst/gstpreset.c:
5640           Plug a leak and fix saving.
5641
5642 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5643
5644         * docs/gst/gstreamer-sections.txt:
5645         Add new gst_preset__get_property_names() function to the docs
5646         to fix the build.
5647
5648 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5649
5650         * gst/gstpreset.c:
5651         * gst/gstpreset.h:
5652           Change _get_preset_names API to return a strv with copies. Add
5653           _get_property_names to allow implementations to filter and provide
5654           good default implementation.
5655
5656 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5657
5658         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5659         script (sdp).
5660
5661 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5662
5663         * gst/gstpreset.c:
5664           More cleanups, docs, and TODOs from comments that now slowly come in.
5665
5666 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5667
5668         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5669         search path.
5670
5671 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5672
5673         * gst/gstpreset.c:
5674           Fix bogus warning and make the property type specific code more
5675           similar.
5676
5677 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5678
5679         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5680         it build on OS X.
5681
5682 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5683
5684         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5685         (gst_bin_add_func), (gst_bin_remove_func),
5686         (gst_bin_change_state_func), (gst_bin_continue_func):
5687         Change email, cleanups add some more debug and comments.
5688         Also set bus and clock on new elements when the pipeline was in error.
5689
5690 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5691
5692         * gst/gstbin.c:
5693         * gst/gstdebugutils.c:
5694           Fix build with --disable-gst-debug. Fixes #497859.
5695           Spotted by Sameer Naik.
5696
5697 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5698
5699         * gst/gstevent.c:
5700           Little documentation improvment.
5701
5702         * gst/gstpreset.c:
5703           More TODO cleanups. Remove c++ comments.
5704
5705         * libs/gst/controller/gstcontroller.c:
5706           Add TODO and use quark from static string.
5707
5708         * tests/check/gst/gstmessage.c:
5709         * tests/check/gst/gststructure.c:
5710           Use quark from static string.
5711
5712 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5713
5714         * gst/gstpreset.c:
5715           Add some comments and TODOs.
5716
5717         * gst/gstpreset.h:
5718           Add padding for future changes.
5719
5720         * plugins/elements/gstqueue.c:
5721           Implement the iface.    
5722
5723 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5724
5725         * docs/gst/gstreamer-docs.sgml:
5726         * docs/gst/gstreamer-sections.txt:
5727         * docs/gst/gstreamer.types.in:
5728         * gst/Makefile.am:
5729         * gst/gst.h:
5730         * gst/gstpreset.c:
5731         * gst/gstpreset.h:
5732           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5733
5734 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5735
5736         * configure.ac:
5737
5738         Back to CVS
5739
5740 === release 0.10.15 ===
5741
5742 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5743
5744         * configure.ac:
5745           releasing 0.10.15, "October"
5746
5747 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5748
5749         * win32/vs6/libgstreamer.dsp:
5750         Convert line endings back to DOS.
5751
5752 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5753
5754         * docs/design/draft-tagreading.txt:
5755         * docs/random/ensonic/profiling.txt:
5756         Update fast tagreading draft and performance profiling ideas.
5757
5758 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5759
5760         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5761         Don't hold the object lock when unreffing a buffer because it could
5762         cause a deadlock when the finalize function wants to grab the object
5763         lock too. Fixes #495133.
5764
5765 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5766
5767         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5768         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5769         Also accumulate time correctly when doing reverse playback. Fixes
5770         #488201,
5771         When converting to running and stream time, use default values for
5772         start/stop/time/accum when comparing different formats. Fixes #494245.
5773
5774         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5775         Do running/stream time in TIME format.
5776
5777         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5778         (gst_segment_suite):
5779         2 new unit tests for segment accumulation.
5780
5781 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5782
5783         * gst/gst.c: (init_pre):
5784         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5785           (_gst_debug_bin_to_dot_file):
5786           Move getenv() back into gst_init, so everyone can live happily
5787           ever after. Make sure the symbol isn't exported though.
5788
5789 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5790
5791         Patch by: Sebastien Moutte  <sebastien moutte net>
5792
5793         * win32/common/gstenumtypes.c:
5794         * win32/common/gstenumtypes.h:
5795           Update enum types.
5796
5797         * win32/vs6/libgstreamer.dsp:
5798           Update vs6 project files (#494343).
5799
5800 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5801
5802         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5803         (gst_base_src_perform_seek), (gst_base_src_default_event),
5804         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5805         (gst_base_src_activate_pull):
5806         Unify flushing code, remove some old unlock code that is no longer used.
5807         Take the streaming lock when seeking to avoid races. Fixes #492729.
5808         Added some more comments.
5809
5810 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5811
5812         * gst/gst.c: (_gst_disable_segtrap):
5813           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5814           we can use gst_segtrap_is_enabled() there now that we have that API.
5815           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5816           to do the getenv here (and export the variable).
5817
5818         * gst/gstdebugutils.c: (debug_dump_element),
5819           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5820           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5821
5822         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5823           (gst_debug_log_default):
5824           Rename _gst_info_start_time to priv_gst_info_start_time so it
5825           doesn't get exported (was never in any header).
5826
5827         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5828           (gst_plugin_loading_mutex):
5829           Make static mutex gst_plugin_loading_mutex really static (was never
5830           in any header), and use gst_segtrap_is_enabled() instead of
5831           _gst_disable_segtrap.
5832
5833         * gst/gsttrace.c: (_gst_trace_default):
5834           Make local _gst_trace_default static (was never in any header).
5835
5836 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5837
5838         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5839
5840         * win32/common/libgstbase.def:
5841         * win32/common/libgstcontroller.def:
5842         * win32/common/libgstdataprotocol.def:
5843         * win32/common/libgstnet.def:
5844         * win32/common/libgstreamer.def:
5845           Add more missing symbols, remove some duplicates, and sort
5846           as the 'sort' command sorts it (partially fixes #493983).
5847
5848 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5849
5850         * gst/gstelement.c: (gst_element_set_state_func):
5851         Only change the state cookie if a different state was set on the
5852         element. See #492729.
5853
5854 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5855
5856         * gst/gstvalue.c:
5857           Remove unused and uninitialised type variables that were still
5858           exported for some reason (they were never in any header files
5859           though).
5860
5861 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5862
5863         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5864         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5865         (gst_base_sink_event), (gst_base_sink_get_position_last),
5866         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5867         (gst_base_sink_change_state):
5868         Don't try to report a 0 position when we don't know, return -1 and FALSE
5869         instead. This mostly happens when we are prerolling.
5870         Make sure we can report the right position before we post the ASYNC_DONE
5871         message so that a message handler can query position without races.
5872
5873         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5874         (async_done_handoff), (async_done_func), (send_buffer),
5875         (async_done_eos_func), (gst_sinks_suite):
5876         Add two tests for the above.
5877
5878 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5879
5880         * MAINTAINERS:
5881         Update with new email address.
5882
5883         * docs/design/part-TODO.txt:
5884         Add some more info about future pad-block and negotiation changes.
5885
5886         * docs/design/part-buffering.txt:
5887         Add some ideas about buffering reporting.
5888
5889 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5890
5891         * tests/check/gst/gstobject.c:
5892         Disable silly racy test that always fails on this combination of CPU
5893         and kernel.
5894
5895 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5896
5897         Patch by: Murray Cumming  <murrayc@murrayc.com>
5898
5899         * gst/gstobject.c:
5900           Corrected the registration of the parent-set and parent-unset
5901           signals: The parameter is a GstObject, not a GObject (#493134).
5902
5903 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5904
5905         * gst/gst_private.h:
5906         * gst/gstbuffer.h:
5907         * gst/gstevent.h:
5908         * gst/gstformat.h:
5909         * gst/gstmessage.h:
5910         * gst/gstplugin.h:
5911         * gst/gstquery.h:
5912         * gst/gsttaglist.h:
5913         * gst/gstvalue.h:
5914           Move declaration of private _gst_foo_initialize() functions into
5915           our private header file where they should have been all along.
5916
5917 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5918
5919         * docs/plugins/gstreamer-plugins-sections.txt:
5920         * gst/gstdebugutils.h:
5921         * gst/gstxml.h:
5922         * plugins/elements/gstqueue.c:
5923           gtk-doc fixes; trailing-comma-in-enum fix.
5924
5925 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5926
5927         * gst/gst.c: (gst_deinit):
5928           Clean up on deinit (not the external ones though, doesn't seem to be
5929           needed for some reason).
5930
5931 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5932
5933         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5934           Remove __declspec(dllimport) for MSVC that was copied over into core
5935           from a plugin, obviously without ever having been tested (note the
5936           single underscore in _declspec in the initial commit), and that doesn't
5937           really make sense.  See #492077.
5938
5939 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5940
5941         * gst/gst.c: (init_post):
5942         * gst/gstevent.c: (_gst_event_initialize):
5943         * gst/gstquery.c: (_gst_query_initialize):
5944         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5945           g_type_class_ref() other types as well, see #349410 and #64764.
5946
5947         * gst/gstbuffer.c: (_gst_buffer_initialize):
5948         * gst/gstmessage.c: (_gst_message_initialize):
5949           Simplify existing g_type_class_ref().
5950
5951 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5952
5953         * gst/gstformat.c: (_gst_format_initialize):
5954           g_type_class_ref() our GstFormat type to make sure we avoid the
5955           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5956           bug #64764. Should fix intermittent tee unit test failures (#474823).
5957
5958 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5959
5960         * tests/check/elements/tee.c: (test_num_buffers):
5961           Simplify, simplify, simplify - or not.  Rewrite unit test
5962           not to use gst_parse_launch(); allow N sub-streams. Increasing
5963           the number of sub-streams seems to reproduce #474823 more easily.
5964
5965 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5966
5967         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5968
5969         * gst/gsttrace.c:
5970         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5971         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5972         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5973           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5974           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5975           so use _pipe() directly (#492077).
5976
5977         * win32/common/dirent.c: (_treaddir):
5978           Add a couple of casts to make it build without warnings with MSVC.
5979
5980         * win32/common/libgstreamer.def:
5981           Add some more symbols that need to be exported.
5982
5983 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5984
5985         * tests/examples/metadata/read-metadata.c: (message_loop):
5986           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5987           arriving in a second or third tag message are added to
5988           the tag list as well.
5989
5990 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5991
5992         * libs/gst/base/gstbasesrc.c:
5993           Its "Since:" and not "@Since:". And remove an superflous cast.
5994
5995 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5996
5997         * docs/libs/gstreamer-libs-sections.txt:
5998         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5999         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6000         (gst_base_sink_get_property), (gst_base_sink_render_object),
6001         (gst_base_sink_preroll_object),
6002         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6003         (gst_base_sink_change_state):
6004         * libs/gst/base/gstbasesink.h:
6005         Add a new last-buffer property that contains the last buffer used in
6006         basesink for preroll or rendering. useful for making snapshots.
6007         API: gst_base_sink_get_last_buffer()
6008         API: GstBaseSink::last-buffer
6009
6010 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6011
6012         * docs/gst/running.xml:
6013         * gst/gst.c:
6014         * gst/gstdebugutils.c:
6015         * gst/gstdebugutils.h:
6016         * tools/gst-launch.c:
6017           Improve bin graph dumping, by using the envvar to specify a path.
6018           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6019
6020 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6021
6022         * plugins/elements/gsttypefindelement.c:
6023           (gst_type_find_element_handle_event),
6024           (gst_type_find_element_activate):
6025           Post special error message if we can't determine the type of a stream
6026           because it's empty.
6027
6028 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6029
6030         * docs/gst/running.xml:
6031         * gst/gstdebugutils.c:
6032           Document new env-var. Add one log-line after dumpng a graph.
6033
6034 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6035
6036         * configure.ac:
6037           Ugly hack to put the (recently removed and non-portable, apparently)
6038           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6039           GNU ld, because without that 'make check' fails miserably on my debian
6040           stable box.  Someone with more knowledge of linker intricacies and
6041           portability issues than me fix this properly please.
6042
6043 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6044
6045         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6046         Reset last seen position after flushing so that we don't report the old
6047         position anymore.
6048
6049 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6050
6051         * gst/gstelementfactory.c: (gst_element_register):
6052         * gst/gsturi.h:
6053         Patch from Alessandro Decina adding get_type_full and
6054         get_protocols_full private vfuncs to the URIHandler interface
6055         to allow bindings to support creating URI handlers. 
6056         Partially fixes: #339279
6057         API: GstURIHandlerInterface::get_type_full
6058         API: GstURIHandlerInterface::get_protocols_full
6059
6060 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6061
6062         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6063         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6064         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6065         Make it so that pads are considered linked until a buffer is pushed
6066         and discovered otherwise. This avoids problems with decodebin2 hanging
6067         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6068         case.
6069
6070         Make sure we lock the multiqueue when updating the max-size properties.
6071         
6072         Fix a crash on Solaris in a debug statement in get_request_pad that
6073         passes a NULL string to GST_DEBUG. 
6074
6075         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6076         (run_output_order_test):
6077         Fix the test to allow the first buffer on not-linked pads to come out
6078         of sequence while multiqueue discovers that they are not-linked.
6079
6080 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6081
6082         * configure.ac:
6083         * libs/gst/check/Makefile.am:
6084         Use a custom export symbol regex for libgstcheck, as it needs
6085         to export symbols that don't match the standard GStreamer gst_*
6086         pattern, and  --export-dynamic is not portable (only works on 
6087         GNU ld)
6088
6089         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6090         (gst_check_setup_sink_pad):
6091         Make sure to pass a message parameter to the fail_* macros.
6092
6093         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6094         Fix some compiler warnings.
6095
6096 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6097
6098         * tests/check/gst/gststructure.c: (test_to_string):
6099           Disable test that checks that white spaces are not allowed
6100           in structure names or field names, since we need to
6101           support that for now for backwards compatibility reasons.
6102
6103 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6104
6105         * docs/gst/gstreamer-sections.txt:
6106         * gst/gsttaglist.c:
6107         * gst/gsttaglist.h:
6108           API: add GST_TAG_ARTIST_SORTNAME
6109           API: add GST_TAG_ALBUM_SORTNAME
6110           API: add GST_TAG_TITLE_SORTNAME
6111           Add tag variants for sorting (#414539).
6112
6113 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6114
6115         * gst/gststructure.c:
6116           Also allow white space for names so we don't break
6117           backwards compatibility.
6118
6119 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6120
6121         * docs/design/part-TODO.txt:
6122         * docs/design/part-segments.txt:
6123         * docs/design/part-streams.txt:
6124         Small updates.
6125
6126 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6127
6128         * docs/gst/gstreamer-sections.txt:
6129          Fixed documentation from my previous commit (added new API add
6130          gst_value_set_structure(), add gst_value_get_structure() and
6131          GST_VALUE_HOLDS_STRUCTURE).
6132
6133 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6134
6135         * gst/gstdebugutils.c:
6136           Reflow code to fix uninitialized variable warning.
6137
6138 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6139
6140         * gst/gstcaps.c: (gst_caps_to_string),
6141         (gst_caps_from_string_inplace):
6142         * gst/gststructure.c: (gst_structure_get_abbrs),
6143         (gst_structure_to_string), (gst_structure_from_string):
6144         * gst/gstvalue.c: (gst_value_set_structure),
6145         (gst_value_get_structure), (gst_value_serialize_structure),
6146         (gst_value_deserialize_structure), (_gst_value_initialize):
6147         * gst/gstvalue.h:
6148         * tests/check/gst/gststructure.c: (GST_START_TEST),
6149         (gst_structure_suite):
6150         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6151          Added GstStructure to gst_value_table and its related functions.
6152          Changed gst_structure_to_string to print ';' in the end.
6153          Changed gst_caps_to_string to not print ';' beteween its
6154          fields (structures) anymore and remove the lastes ';' from latest
6155          structure. Now it is possible to have nested structures.
6156          In addition, backward compatibilty is assured by accepting '\0' as
6157          end delimiter. Fixes: #487969.
6158          API: add gst_value_set_structure()
6159          API: add gst_value_get_structure()
6160          API: add GST_VALUE_HOLDS_STRUCTURE
6161
6162 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * gst/gstbus.c:
6165           When no GSource callback has been set up, tell developer
6166           to use a function that actually exists.
6167
6168 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6169
6170         * docs/gst/gstreamer-sections.txt:
6171         * gst/Makefile.am:
6172         * gst/gst.c:
6173         * gst/gst.h:
6174         * gst/gstdebugutils.c:
6175         * gst/gstdebugutils.h:
6176         * gst/gstinfo.c:
6177         * gst/gstinfo.h:
6178         * tools/gst-launch.c:
6179           Allow dumping pipelines as dot graphs. Fixes #456573.
6180
6181 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6182
6183         * gst/gststructure.c:
6184           Allow '+' as well, it can be part of media or mime types
6185           such as image/svg+xml.
6186
6187 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6188
6189         * docs/gst/gstreamer-sections.txt:
6190         * gst/gstbus.c:
6191         * gst/gstbus.h:
6192           API: add gst_bus_pop_filtered
6193           API: add gst_bus_timed_pop_filtered
6194           Two new functions for waiting for specific message types on the
6195           bus for a specified amount of time without iterating any main
6196           loops or main contexts.
6197
6198         * tests/check/gst/gstbus.c:
6199           Some tests for the new functions.
6200
6201 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6202
6203         * docs/libs/gstreamer-libs-sections.txt:
6204           Make gtk-doc ignore stuff it should ignore.
6205
6206 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6207
6208         * libs/gst/check/gstcheck.c:
6209         * libs/gst/check/gstcheck.h:
6210           Allow runtime selection of unit tests to run via the GST_CHECKS
6211           environment variable (test case function names, comma-separated).
6212
6213 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6214
6215         * gst/gststructure.c:
6216         * tests/check/gst/gststructure.c:
6217           Revert serialisation change and constrain structure-names after
6218           consensus on irc. Update api documentation to reflect the change.
6219
6220 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6221
6222         * gst/gststructure.c:
6223           Improve serialization and fix tests.
6224
6225         * tests/check/gst/gststructure.c:
6226           Add another test that covers why I actually did the previous structure
6227           change.
6228
6229 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6230
6231         * tools/gst-inspect.c: (print_element_info):
6232         Don't crash when inspecting an element.
6233
6234 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6235
6236         * tests/check/gst/gststructure.c:
6237           Add unit test for escaping of structure name when serialising
6238           and deserialising to/from strings.
6239
6240 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6241
6242         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6243         (gst_single_queue_new):
6244         * plugins/elements/gstqueue.c: (gst_queue_init),
6245         (gst_queue_push_one):
6246         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6247         upstream is tricked into thinking it can suggest a format downstream
6248         while downstream does not support that format. The real problem is that
6249         core calls acceptcaps when pushing a buffer with new caps, for which we
6250         do a little workaround by setting the caps on the srcpad ourselves
6251         before pushing the buffer (until this is figured out). Fixes #486758.
6252
6253 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6254
6255         * gst/gststructure.c:
6256         * gst/gstvalue.c:
6257           Add some more comments and debug output. Quote structure name to fix
6258           deserialisation of some strings.
6259
6260 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6261
6262         * gst/gstbuffer.h:
6263           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6264           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6265
6266 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6267
6268         * tools/gst-inspect.c:
6269           Save approx. 400 1 byte allocs when printing. Use API to acces element
6270           details.
6271
6272         * tools/gst-run.c:
6273           Avoid a strdup.
6274
6275         * tools/gst-xmlinspect.c:
6276           Use API to acces element details.
6277
6278 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6279
6280         * gst/gstinfo.c:
6281           Fix some spelling errors.
6282
6283 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6284
6285         * gst/gstbin.c: (bin_handle_async_done):
6286         Correctly set the next state if all of our async children commited their
6287         state. This makes sure we can actually cancel the state change in
6288         progress. Fixes a regression in Rhythmbox when seeking.
6289
6290 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6291
6292         * gst/gstbin.c:
6293           Don't shadow local variable.
6294
6295         * gst/gstinfo.c:
6296           Don't shadow global function name.
6297
6298 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6299
6300         * gst/gstelementfactory.c:
6301         * gst/gstpluginfeature.c:
6302         * gst/gstpluginfeature.h:
6303         * gst/gstregistrybinary.c:
6304         * gst/gstregistryxml.c:
6305         * gst/gsttypefind.c:
6306           Use already-interned string for the private GstPluginFeature
6307           plugin_name field.
6308
6309 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6310
6311         * docs/libs/gstreamer-libs-sections.txt:
6312           Add new API to docs; fixes the build.
6313
6314 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6315         
6316         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6317
6318         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6319         (gst_base_sink_event):
6320         * libs/gst/base/gstbasesink.h:
6321         Add function to wait for EOS, subclasses can use this to correctly wait
6322         for devices to drain before performing the EOS logic. Fixes #485343.
6323         API: gst_base_sink_wait_eos()
6324
6325 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6326
6327         * gst/gstplugin.h:
6328           Cast description string constants in GST_PLUGIN_DEFINE macros
6329           to a (gchar*) to make C++ code using these macros compile
6330           without warning with g++-4.2 (see #462737).  Even if slightly
6331           ugly, this seems preferable to putting the description strings
6332           into the GLib quark table or making the structure member a
6333           const gchar * and doing casts in core code that allocs and
6334           frees these strings, or requiring a cast in the C++ code.
6335
6336 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6337
6338         * gst/gstinfo.h:
6339           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6340           to print the entire class/function signature into the log
6341           file for C++ code.  This only affects C++ code, for C code
6342           everything remains the same.
6343
6344 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6345
6346         * gst/gstbin.c: (remove_from_queue):
6347         Work around a problem with pipelines containing (semi)loops until a
6348         proper, more complicated solution is ready. See #475455.
6349
6350 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6351
6352         * gst/gstplugin.c:
6353         * gst/gstplugin.h:
6354         * gst/gstregistrybinary.c:
6355         * gst/gstregistryxml.c:
6356           Put more strings into the GLib quark table. No need to keep
6357           a hundred-something copies of identical version strings,
6358           license strings, package name strings and package origin
6359           strings around. 
6360
6361 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6362
6363         * docs/manual/advanced-dataaccess.xml:
6364           Don't imply that it's okay to unconditionally change
6365           buffer data or buffer metadata in a pad probe callback,
6366           and a bunch of other comments. Fixes #430031.
6367
6368 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6369
6370         * win32/common/gstenumtypes.c:
6371         * win32/common/gstenumtypes.h:
6372         * win32/common/gstversion.h:
6373           Update generated files.
6374
6375 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6376
6377         * docs/manual/advanced-autoplugging.xml:
6378           Prefix section with broken code with a warning (see #342432).
6379
6380 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6381
6382         * docs/manual/appendix-integration.xml:
6383         * docs/manual/basics-init.xml:
6384           Call g_thread_init() before g_option_context_new() to
6385           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6386
6387 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6388
6389         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6390         (gst_base_sink_queue_object_unlocked),
6391         (gst_base_sink_queue_object), (gst_base_sink_event),
6392         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6393         When we received EOS and are waiting for when to post the EOS message,
6394         our state is prerolled and we should not return ASYNC.
6395         Reorganize some code paths to implement this behavior.
6396
6397         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6398         (gst_sinks_suite):
6399         Add unit test to verify above EOS fix.
6400
6401 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6402
6403         * plugins/elements/gsttypefindelement.c:
6404         (gst_type_find_element_have_type), (gst_type_find_element_init),
6405         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6406         Move detecting the input caps of the sinkpad to the setcaps function.
6407         This allows us to update the output caps when we receive new input caps
6408         instead of always using the first detected caps.
6409
6410 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6411
6412         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6413         (gst_base_sink_get_position):
6414         Don't try to preroll non-async elements after a flush.
6415         Subtract latency form clock times when reporting position.
6416
6417 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6418
6419         * gst/gstpad.c: (gst_pad_pause_task):
6420         * gst/gstutils.c:
6421         Small comment and documentation update.
6422
6423 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6424
6425         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6426         (gst_base_src_set_live), (gst_base_src_is_live),
6427         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6428         (gst_base_src_default_event), (gst_base_src_wait),
6429         (gst_base_src_do_sync), (gst_base_src_get_range),
6430         (gst_base_src_pad_get_range), (gst_base_src_loop),
6431         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6432         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6433         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6434         (gst_base_src_change_state):
6435         Rework the locking of basesrc in a similar fashion to basesink. We
6436         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6437         us to handle live sources and semi live ones much better.
6438         Simplify flushing.
6439         Fix unlocking when seeking, shutting down and pausing in live sources.
6440
6441 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6442
6443         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6444         Fix compilation again.
6445
6446 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6447
6448         * gst/gstelement.c:
6449           Use meaningful categories for the logs to clean the default one.
6450
6451 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6452
6453         * tests/check/pipelines/cleanup.c:
6454           Print message name and not just number.
6455
6456 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6457
6458         * docs/design/draft-tagreading.txt:
6459           Add some more thoughts.
6460
6461 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6462
6463         * tests/check/pipelines/simple-launch-lines.c:
6464           Print message name and not just number.
6465
6466 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6467
6468         * libs/gst/base/gsttypefindhelper.c:
6469           Speedup typefinding. This is work in progress (see #459862).
6470
6471 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6472
6473         * gst/gstplugin.c:
6474           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6475           Spotted by Josep Torra Valles <josep@fluendo.com>.
6476
6477 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6478
6479         * gst/gstclock.h:
6480           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6481           field has moved to GstObject.
6482
6483 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6484
6485         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6486         (gst_base_src_get_range), (gst_base_src_change_state):
6487         Call unlock for live sources so that they can't get stuck in _create and
6488         produce a buffer before they are set back to PLAYING.
6489
6490 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6491
6492         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6493         (gst_queue_locked_dequeue):
6494         Comment the segment-related code... in the PROPER function.
6495         See #482147 and my commit from yesterday.
6496
6497 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6498
6499         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6500         Also initialize the counter that calculates the first timestamp on a
6501         buffer correctly for non-live sources.
6502
6503 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6504
6505         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6506         Disable code that's breaking the current-time-level reporting.
6507         See #482147
6508
6509 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6510
6511         * docs/gst/gstreamer-sections.txt:
6512         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6513         as they shouldn't show up. Fixes the docs build.
6514
6515 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6516         
6517         * gst/gstinfo.h:
6518         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6519         Define M_PI which is used in files which are including gstinfo.h. 
6520         VS6 includes doesn't define it.
6521         * win32/common/libgstbase.def:
6522         * win32/common/libgstcontroller.def:
6523         * win32/common/libgstreamer.def:
6524         Add new exported functions and variables.
6525         * win32/vs6/libgstcontroller.dsp:
6526         * win32/vs6/libgstreamer.dsp:
6527         Update the list of files to build.
6528         
6529 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6530
6531         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6532
6533         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6534         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6535         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6536         Improve debugging. Fixes #480858.
6537
6538 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6539
6540         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6541
6542         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6543         First patch of code cleanups, use the macros and right arguments in the
6544         macros to signal and lock the queue. See #480858.
6545
6546 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6547
6548         * gst/gstbus.c: (poll_func):
6549         Improve debugging when dealing with _poll().
6550
6551 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6552
6553         * gst/gstregistryxml.c:
6554           Fix memory leak I introduced a few days ago.
6555
6556 2007-09-26  Michael Smith <msmith@fluendo.com>
6557
6558         * gst/gstbuffer.c: (gst_buffer_finalize):
6559           Make it once again possible to free GstBuffers in the default
6560           build.
6561           The poisoning scribbles on parts of the miniobject we need in
6562           order to free it.
6563           Fixes #480341
6564
6565 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6566
6567         * docs/gst/gstreamer-sections.txt:
6568         * gst/gsttaglist.c:
6569         * gst/gsttaglist.h:
6570         API: add GST_TAG_COMPOSER, fixes #459809.
6571
6572 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6573
6574         * gst/gstplugin.c:
6575         * gst/gstplugin.h:
6576         Add the 3-clause BSD license and the MIT/X11 license to the license
6577         list. Fixes #479784.
6578
6579 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6580
6581         * docs/faq/getting.xml:
6582           Add Q+A about different GStreamer versions (#364056).
6583
6584 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6585
6586         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6587         (gst_base_sink_event), (gst_base_sink_change_state):
6588         Return correct gboolean from query function.
6589
6590 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6591
6592         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6593         (gst_base_sink_event), (gst_base_sink_query),
6594         (gst_base_sink_change_state):
6595         Simplify latency query.
6596         When not synchronizing, we can report latency without querying the peer
6597         element.
6598
6599 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6600
6601         * gst/gstobject.h:
6602         * gst/gstvalue.c:
6603         Fix small typos in the docs.
6604
6605 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6606
6607         * docs/design/draft-latency.txt:
6608         * docs/design/draft-push-pull.txt:
6609         * docs/design/draft-tagreading.txt:
6610         * docs/design/part-MT-refcounting.txt:
6611         * docs/design/part-activation.txt:
6612         * docs/design/part-block.txt:
6613         * docs/design/part-element-source.txt:
6614         * docs/design/part-events.txt:
6615         * docs/design/part-gstbin.txt:
6616         * docs/design/part-gstelement.txt:
6617         * docs/design/part-gstobject.txt:
6618         * docs/design/part-gstpipeline.txt:
6619         * docs/design/part-messages.txt:
6620         * docs/design/part-preroll.txt:
6621         * docs/design/part-push-pull.txt:
6622         * docs/design/part-qos.txt:
6623         * docs/design/part-query.txt:
6624         * docs/design/part-scheduling.txt:
6625         * docs/design/part-seeking.txt:
6626         * docs/design/part-segments.txt:
6627         * docs/design/part-states.txt:
6628         Documentation updates and typo fixes.
6629
6630 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6631
6632         * plugins/elements/gstfakesink.c:
6633           Add some debug text to error message to indicate that
6634           we errored out on request.
6635
6636         * tools/gst-launch.c:
6637           When the state change to PLAYING fails, check for an
6638           error message on the bus and print it.
6639
6640 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6641
6642         translated by: Jorge González González <aloriel@gmail.com>
6643
6644         * po/LINGUAS:
6645         * po/es.po:
6646           Added Spanish translation.
6647
6648 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6649
6650         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6651         Fix printf arguments.
6652
6653 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6654
6655         * tests/check/generic/states.c:
6656           Improved state change unit test.
6657
6658 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6659
6660         * gst/gstbin.h:
6661           Move priv to the right place.
6662
6663         * gst/gstsystemclock.c:
6664           Add FIXME: and improve log.
6665
6666         * tests/check/Makefile.am:
6667         * tests/examples/manual/Makefile.am:
6668           Work with all types of registries.
6669
6670 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6671
6672         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6673         Don't unref the event after pushing it. Fixes #478401.
6674
6675 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6676
6677         * .cvsignore:
6678         * tests/examples/manual/.cvsignore:
6679           Ignore registries in any format.
6680
6681 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6682
6683         * gst/glib-compat-private.h:
6684           Add compatibility macro for g_intern_string() for
6685           GLib-2.8 (any reason we can't just bump the
6686           requirement to at least 2.10?)
6687
6688         * gst/gstpadtemplate.h:
6689         * gst/gstelementfactory.c:
6690         * gst/gstregistryxml.c:
6691         * gst/gstregistrybinary.c:
6692           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6693           up the internal code accordingly.  This shouldn't be a problem, since
6694           there is no reason external code could ever assume the string in such
6695           a structure is dynamically allocated unless it did that itself;  the
6696           use of g_strdup() is private to element factories.  The new code also
6697           saves some memory by putting pad template name strings into the GLib
6698           quark table instead of allocating them dynamically.
6699           Declaring this field constant fixes warnings with g++-4.2 when using
6700           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6701
6702 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6703
6704         * gst/gstelementfactory.c:
6705           Release static caps. Fixes #475723.
6706
6707 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6708
6709         * gst/gstinfo.c:
6710         * gst/gstinfo.h:
6711           Make some internal API take const gchar * instead of just
6712           gchar * to avoid compiler warnings with g++-4.2.2 when
6713           passing string constants (partially fixes #478092).
6714
6715 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6716
6717         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6718         A latency query fails when one of the sinks fail.
6719
6720         * gst/gstelement.c: (gst_element_set_base_time):
6721         Improve debugging.
6722
6723 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6724
6725         * gst/gstbin.c: (gst_bin_continue_func):
6726         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6727         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6728         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6729
6730         Fix minor compilation warnings shown with Forte.
6731
6732 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6733
6734         * plugins/elements/gstqueue.c: (apply_buffer),
6735         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6736         Measure queue level based on the diff between head and tail timestamps
6737         even when pushing the first buffer.
6738
6739 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6740
6741         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6742         (gst_base_sink_event), (gst_base_sink_change_state):
6743         Sinks that don't preroll can always be queried for the latency.
6744         Don't post ASYNC start when we are not async.
6745
6746 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6747
6748         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6749         (gst_queue_handle_sink_event), (gst_queue_chain),
6750         (gst_queue_push_one), (gst_queue_handle_src_query),
6751         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6752         * plugins/elements/gstqueue.h:
6753         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6754         push more buffers but allow pushing of EOS and NEWSEGMENT.
6755         Add some more debug info here and there. Fixes #476514.
6756
6757 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6758
6759         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6760         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6761         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6762         (gst_base_sink_set_flushing), (gst_base_sink_query),
6763         (gst_base_sink_change_state):
6764         Latency query is allowed after we are prerolled. Introduce a new flag
6765         for this and stop abusing other variables.
6766
6767 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6768
6769         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6770         Push OOB events downstream when we get them in send_event. This allows
6771         the application to insert events in the pipeline.
6772         Add some more comments.
6773
6774 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6775
6776         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6777         (do_bin_latency), (gst_bin_change_state_func):
6778         * gst/gstpipeline.c: (gst_pipeline_change_state):
6779         Move latency query from GstPipeline to GstBin so that we can also
6780         use it when async-handling is enabled on bins.
6781
6782 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6783
6784         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6785         (gst_base_src_do_sync), (gst_base_src_change_state):
6786         Update docs.
6787         Clean up the timestamping and syncing code for pseudo live sources.
6788
6789 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6790
6791         Patch by: Steve Fink  <sphink gmail com>
6792
6793         * docs/manual/appendix-checklist.xml:
6794           Mention less -R switch in the section about debug output (#474055).
6795
6796 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6797
6798         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6799         Queue can latency to the pipeline up to the configured max size in time.
6800         Report this fact in the latency query.
6801
6802 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6803
6804         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6805
6806         * libs/gst/controller/gstinterpolation.c:
6807         * libs/gst/controller/gstlfocontrolsource.c:
6808         Use gst_guint64_to_gdouble() when converting from a uint64 or
6809         GstClockTime to double to fix the build on win32. Fixes #474371.
6810
6811 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6812
6813         * gst/gstbuffer.c: (gst_buffer_finalize):
6814         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6815         When finalizing a buffer the complete struct is filled with 0xff,
6816         thus making a use of the buffer after the final unref impossible.
6817
6818 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6819
6820         * tests/check/libs/controller.c: (GST_START_TEST):
6821         Use fail_unless_equals_int(a, b) instead of
6822         fail_unless_equals (a == b) to get better output on failures.
6823
6824 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6825
6826         * tests/check/gst/gsturi.c:
6827           Also check for the other file URI variant on win32.
6828
6829 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6830
6831         * gst/gsturi.c: (gst_uri_get_location):
6832           If there's no hostname, we want to return 'c:/foo/bar.txt'
6833           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6834
6835         * tests/check/gst/gsturi.c:
6836           Unit test for the above and a few more things.
6837
6838 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6839
6840         * docs/design/part-live-source.txt:
6841         Add docs on how live sources should timestamp.
6842
6843         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6844         Add some more debug info.
6845         For subclasses that are live and like to sync, add aditional startup
6846         latency to sync time and timestamps so that we timstamp according to the
6847         design doc.
6848
6849 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6850
6851         * gst/gstbuffer.c:
6852           Also do a g_type_class_ref() for the subbuffer type in
6853           the init function.
6854
6855 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6856
6857         * docs/gst/gstreamer-sections.txt:
6858         * gst/gstpad.c: (gst_pad_peer_query):
6859         * gst/gstpad.h:
6860         Add function to perform a query on the peer of a pad.
6861         API: gst_pad_peer_query()
6862
6863 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6864
6865         * tests/check/gst/gstsystemclock.c:
6866           Cleanup the test a little (use gst-logging and not g_message). Improve
6867           test to check if a wait reached the target.
6868
6869 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6870
6871         * docs/libs/gstreamer-libs-sections.txt:
6872           Add new API to docs and fix the build.
6873
6874 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6875
6876         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6877         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6878         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6879         (gst_base_src_get_property), (gst_base_src_do_sync):
6880         * libs/gst/base/gstbasesrc.h:
6881         Add property to make the basesrc timestamp buffers based on the current
6882         running time.
6883         API: GstBaseSrc::do-timestamp
6884         API: gst_base_src_set_do_timestamp()
6885         API: gst_base_src_get_do_timestamp()
6886
6887 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6888
6889         * docs/random/release:
6890           Really make sure translations are up-to-date before
6891           a release (#465010).
6892
6893 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6894
6895         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6896         Always destroy the timer, also in error cases.
6897
6898 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6899
6900         * docs/manual/highlevel-xml.xml:
6901         Fix XML example code. Fixes #472714.
6902
6903 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6904
6905         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6906         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6907         (gst_base_sink_query):
6908         Protect eos and have_preroll with the OBJECT lock so we don't need to
6909         take the PREROLL lock when querying the latency. Fixes #473846.
6910
6911 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6912
6913         * gst/gstelement.c:
6914           Give some log-messages a category.
6915
6916 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6917
6918         * gst/gststructure.c:
6919         (gst_structure_fixate_field_nearest_fraction):
6920         Fix fraction list fixation code. Take the fraction with the smallest
6921         difference with the target instead of the first one in the list.
6922
6923         * tests/check/gst/gststructure.c: (GST_START_TEST),
6924         (gst_structure_suite):
6925         Added test to verify correct fraction list fixation behaviour.
6926
6927 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6928
6929         * win32/common/libgstreamer.def:
6930           Export gst_bus_add_signal_watch too.
6931
6932 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6933
6934         * docs/libs/gstreamer-libs-sections.txt:
6935         Add new methods to docs.
6936
6937         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6938         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6939         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6940         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6941         * libs/gst/base/gstbasesink.h:
6942         Add ts-offset property to fine-tune the synchronisation.
6943         API: GstBaseSink::ts-offset property
6944         API: gst_base_sink_set_ts_offset()
6945         API: gst_base_sink_get_ts_offset()
6946
6947 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6948
6949         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6950         (gst_base_sink_init), (gst_base_sink_set_sync),
6951         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6952         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6953         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6954         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6955         (gst_base_sink_get_property), (gst_base_sink_change_state):
6956         * libs/gst/base/gstbasesink.h:
6957         Add async property to instruct the sink never to inform the parent about
6958         ASYNC state changes, update docs.
6959         Check argument with g_return_* for the public functions.
6960         API: GstBaseSink::async property
6961         API: gst_base_sink_set_async_enabled()
6962         API: gst_base_sink_is_async_enabled()
6963
6964 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6965
6966         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6967         Improve debugging.
6968
6969         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6970         (gst_base_src_default_query), (gst_base_src_wait),
6971         (gst_base_src_do_sync), (gst_base_src_change_state):
6972         Rearrange some code so that we can add support for measuring the 
6973         startup latency.
6974
6975 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6976
6977         * docs/random/ensonic/dynlink.txt:
6978           More thoughs on this.
6979
6980         * plugins/elements/gstcapsfilter.c:
6981           Add bugzilla ticket number to FIXME comment.
6982
6983 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6984
6985         * docs/design/part-TODO.txt:
6986         * docs/design/part-block.txt:
6987         Update some docs.
6988
6989 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6990
6991         * gst/Makefile.am:
6992           Revert patch which uses $(gst_headers) instead of $^ because it
6993           breaks make dist.
6994
6995 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6996
6997         * tests/check/gst/gstbin.c: (GST_START_TEST):
6998           Fix leaks in the new unit test.
6999
7000 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7001
7002         * gst/gst.c:
7003           Don't use GST_INFO before the debug system is actually initialised
7004           (shouldn't do any harm, but won't print anything either, so we can
7005           just as well remove it).
7006
7007         * gst/gstinfo.h:
7008           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7009           compilers that don't support variadic macros (such as MSVC), should
7010           check for debug_level <= __gst_debug_min as well, since that's the
7011           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7012           inline helper functions. Should improve performance a bit, but also
7013           makes sure uses of GST_INFO et.al are ignored if the debugging
7014           system isn't initialised yet (instead of printing an assertion
7015           failure).
7016
7017 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7018
7019         patch by: David Nečas <yeti@physics.muni.cz>
7020
7021         * gst/Makefile.am:
7022           Replace some non portable makefile constructs.
7023
7024 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7025
7026         * common/gtk-doc-plugins.mak:
7027           Grrrrr. Don't remove the types file on make clean.
7028
7029 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7030
7031         * tools/gst-launch.1.in:
7032         Add colorspace to example pipeline. Fixes #458274.
7033
7034 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7035
7036         * docs/random/release:
7037           The release manager should run 'make download-po' before making a
7038           release to make sure translations are up-to-date.
7039
7040         * po/LINGUAS:
7041         * po/be.po:
7042         * po/pl.po:
7043         * po/rw.po:
7044           Add some new translations.
7045
7046 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7047
7048         * tools/gst-launch.c: (event_loop), (main):
7049         Don´t try to do any state management when a live pipeline posts
7050         buffering messages.
7051         Also make the buffering string translatable.
7052
7053 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7054
7055         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7056         (bin_handle_async_start), (gst_bin_handle_message_func):
7057         Improve debugging.
7058         When adding elements, insert messages into the bus of the newly added
7059         element and make sure the element is the source of the message. This
7060         allows the parent bin to intercept the message and do the
7061         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7062         messages to the app (which is not allowed).
7063         Update some docs.
7064
7065         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7066         Fix testsuite so that is does not work around messages that should not
7067         have been posted in the first place.
7068
7069 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7070
7071         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7072         (update_degree), (gst_bin_sort_iterator_next):
7073         Fix annoying bug in the sorted iterator where a sink that is not really
7074         a sink (when it has downstream links) screwed up the iterator.
7075
7076         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7077         Unit test to verify the fix.
7078
7079 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7080
7081         * gst/gstmessage.h:
7082         Add some more docs for the messages.
7083
7084         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7085         (gst_base_sink_query):
7086         Add some more debugging.
7087
7088         * tools/gst-launch.c: (event_loop):
7089         When interrupting, don't try to set pipeline to PAUSED twice.
7090
7091 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7092
7093         
7094         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7095         (bin_handle_async_start), (gst_bin_handle_message_func):
7096         Move ASYNC_START message posting to where it belongs, similar to
7097         async_done. 
7098         Don't post ASYNC_START when we are in error. 
7099         Post ASYNC_START when we added an async element to a bin.
7100
7101 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7102
7103         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7104         generation from vargs. Fixes #466595.
7105
7106 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7107
7108         * gst/gstbin.c: (gst_bin_element_set_state):
7109         Always change the state of a NO_PREROLL element even if it has ASYNC
7110         elements inside (in case of a bin).
7111
7112         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7113         Unit test for this case.
7114
7115 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7116
7117         * libs/gst/check/gstbufferstraw.c:
7118         * libs/gst/check/gstcheck.h:
7119         * libs/gst/controller/gstcontroller.c:
7120         * libs/gst/controller/gstcontrolsource.h:
7121         * libs/gst/controller/gstlfocontrolsource.h:
7122         * plugins/elements/gstcapsfilter.h:
7123         * plugins/elements/gstfdsink.h:
7124         * plugins/elements/gstfdsrc.h:
7125           Add more missing docs.
7126
7127 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7128
7129         * gst/gststructure.c:
7130         Add Since tag to docs.
7131
7132 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7133
7134         * docs/gst/gstreamer-sections.txt:
7135         * gst/gststructure.c: (gst_structure_get_uint):
7136         * gst/gststructure.h:
7137         Add function to get uint from a structure.
7138         API: gst_structure_get_uint()
7139
7140 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7141
7142         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7143         (gst_caps_intersect):
7144         Fix proper check for simple caps.
7145
7146 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7147
7148         * docs/gst/Makefile.am:
7149         * docs/libs/Makefile.am:
7150           Remove cruft and do some cleanups.
7151
7152         * docs/gst/gstreamer-docs.sgml:
7153         * docs/libs/gstreamer-libs-docs.sgml:
7154           Prepare for comming gtkdoc features (rebase against online docs).
7155
7156 2007-08-10  Michael Smith <msmith@fluendo.com>
7157
7158         * docs/gst/gstreamer-sections.txt:
7159           Add gst_registry_add_path to docs.
7160
7161 2007-08-10  Michael Smith <msmith@fluendo.com>
7162
7163         * gst/gstregistry.h:
7164           Add gst_registry_add_path, which was missing from this header.
7165
7166 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7167
7168         * libs/gst/controller/gstlfocontrolsource.c:
7169           Printf format fix.
7170
7171 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7172
7173         * libs/gst/base/gstbasesink.c:
7174           Don't send an async_start message during downwards state change if 
7175           target state is less than READY
7176
7177 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7178
7179         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7180
7181         * po/LINGUAS:
7182         * po/hu.po:
7183           Added Hungarian translation.
7184
7185 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7186
7187         * po/fi.po:
7188         * po/it.po:
7189         * po/nl.po:
7190         * po/sv.po:
7191         * po/uk.po:
7192           Updated translations.
7193
7194 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7195
7196         * libs/gst/controller/Makefile.am:
7197         Dist gstlfocontrolsourceprivate.h
7198
7199 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7200
7201         * docs/libs/gstreamer-libs.types:
7202         Don't register the enum type gst_lfo_waveform_get_type() in the
7203         .types file - only GObject derived types belong.
7204
7205 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7206
7207         Patch by: <arenevier at fdn dot fr>
7208
7209         * gst/gstbuffer.h:
7210         Remove comma from last element in enum to avoid compile errors when
7211         using -pendantic. Fixes #464366.
7212
7213 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7214
7215         * docs/design/part-TODO.txt:
7216         Add some more TODO items
7217
7218         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7219         Improve debugging.
7220
7221         * gst/gstcaps.c: (gst_caps_intersect):
7222         Optimize trivial intersection case between identical caps pointers.
7223
7224         * gst/gstelement.c: (gst_element_continue_state),
7225         (gst_element_set_state_func):
7226         * gst/gstpad.c:
7227         Fix spelling and grammar mistakes.
7228
7229 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7230
7231         * po/POTFILES.in:
7232         * po/POTFILES.skip:
7233           Update POTFILES. Fixes #461599.
7234
7235 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7236
7237         * gst/gst.c:
7238         Fix confusing typo in debug output.
7239
7240 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7241
7242         reviewed by: Stefan Kost <ensonic@users.sf.net>
7243
7244         * libs/gst/controller/Makefile.am:
7245         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7246         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7247         (gst_lfo_control_source_new),
7248         (gst_lfo_control_source_set_waveform),
7249         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7250         (gst_lfo_control_source_finalize),
7251         (gst_lfo_control_source_dispose),
7252         (gst_lfo_control_source_set_property),
7253         (gst_lfo_control_source_get_property),
7254         (gst_lfo_control_source_class_init):
7255         * libs/gst/controller/gstlfocontrolsource.h:
7256         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7257         API: Add GstLFOControlSource, a control source that gives values
7258         for specific timestamps based on several periodic waveforms.
7259         Fixes #459717.
7260
7261         * tests/check/libs/controller.c: (GST_START_TEST),
7262         (gst_controller_suite):
7263         * docs/libs/gstreamer-libs-docs.sgml:
7264         * docs/libs/gstreamer-libs-sections.txt:
7265         * docs/libs/gstreamer-libs.types:
7266         Add documentation and unit tests for GstLFOControlSource.
7267
7268 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7269
7270         * configure.ac:
7271         Back to CVS
7272
7273 === release 0.10.14 ===
7274
7275 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7276
7277         * configure.ac:
7278           releasing 0.10.14, "Breathing Vacuum"
7279
7280 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7281
7282         * gst/gstelement.c: (gst_element_class_set_details_simple):
7283         * gst/gstelement.h:
7284           Make strings passed to gst_element_class_set_details_simple()
7285           constant, as they should be (#462752).
7286
7287 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7288
7289         * gst/gstbin.c: (gst_bin_change_state_func),
7290         (bin_handle_async_done), (gst_bin_handle_message_func):
7291         Don't forget about the fact that some element went ASYNC even after a
7292         resync. This makes us post the ASYNC_DONE message correctly.
7293         Fixes #462558.
7294
7295 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7296
7297         * gst/gstregistry.c: (gst_registry_add_feature):
7298         When replacing an existing feature in the registry, make sure to
7299         continue holding a reference until we've replaced the name string
7300         within our feature hash table. Make sure to use g_hash_table_replace
7301         instead of g_hash_table_insert to ensure the new name string is used
7302         as a key instead of the old one that we're about to free.
7303         Fixes: #462085
7304
7305 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7306
7307         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7308         (gst_plugin_feature_set_name):
7309         Revert patch from #459466 until after the release and we can work
7310         out exactly what the problem is (if any).
7311
7312 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7313
7314         * docs/gst/gstreamer-sections.txt:
7315         * gst/gsttaglist.c:
7316         * gst/gsttaglist.h:
7317           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7318
7319 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7320
7321         * docs/libs/Makefile.am:
7322         Include our build-prefix libs and includes before the generic ones to
7323         avoid linking against the installed libs when we want the build-tree
7324         ones.
7325
7326 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7327
7328         Patch by: Steve Fink  <sphink gmail com>
7329
7330         * docs/pwg/building-testapp.xml:
7331           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7332           if people try to build or install the example from the plugin
7333           template against a GStreamer from package using the configure
7334           defaults.
7335
7336 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7337
7338         Patch by: Steve Fink  <sphink gmail com>
7339
7340         * tools/gst-inspect.1.in:
7341           Document --print-all and --print-plugin-auto-install-info command
7342           line options in man page.
7343
7344 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7345
7346         * docs/gst/gstreamer-sections.txt:
7347         Add docs for new api function.
7348
7349 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7350
7351         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7352         * gst/gstelementfactory.h:
7353         API: gst_element_factory_has_interface()
7354         Added method to check if an element factory implements a named
7355         interface.
7356
7357 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7358
7359         * configure.ac:
7360         * docs/gst/gstreamer.types.in:
7361           Another conditional doc check.
7362
7363         * gst/gstmessage.c:
7364         * gst/gstparamspecs.h:
7365         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7366         * gst/gstvalue.c:
7367         * gst/gstxml.h:
7368           API-doc fixes.
7369
7370 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7371
7372         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7373         (gst_registry_binary_load_feature),
7374         (gst_registry_binary_load_plugin),
7375         (gst_registry_binary_read_cache):
7376           Print error just once and with additional info.
7377
7378 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7379
7380         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7381         (helper_find_suggest), (helper_find_get_length),
7382         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7383         (gst_type_find_helper_for_buffer):
7384           Cleanup the typefindhelper code and add private doc comments.
7385
7386 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7387
7388         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7389         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7390         Fix capsfilter for cases where the caps set on capsfilter will provide
7391         additional information.
7392         Fixes #449197
7393
7394 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7395
7396         * gst/gsttypefindfactory.c:
7397           Fix docs that recommened wrong function to use.
7398
7399 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7400
7401         * tools/gst-inspect.c: (print_plugin_features):
7402           Also give media-type for typefinders in element output.
7403
7404 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7405
7406         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7407         (gst_registry_remove_features_for_plugin_unlocked),
7408         (gst_registry_add_feature), (gst_registry_remove_feature),
7409         (gst_registry_lookup_feature_locked):
7410         * gst/gstregistry.h:
7411           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7412           Fixes #459501.
7413
7414 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7415
7416         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7417         (gst_plugin_feature_set_name):
7418           Avoid double memory usage for pluginfeature names. Fixes #459466.
7419
7420 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7421
7422         * gst/gstpad.h:
7423           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7424           driving the pipeline may need to explicitly check for NOT_LINKED as
7425           well, since IS_FATAL doesn't cover that.
7426
7427 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7428
7429         * docs/pwg/advanced-types.xml:
7430           Fix typo and duplicate entry in video formats list.
7431
7432 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7433
7434         * libs/gst/controller/gstinterpolation.c:
7435         Also round to the nearest int when using cubic interpolation.
7436
7437 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7438
7439         * libs/gst/controller/gstinterpolation.c:
7440         When linearly interpolating integer types, round to the nearest int
7441         by adding 0.5. Don't do it for float/double types.
7442         Fixes the failing controller test on my machine, which is somehow
7443         rounding differently than on the buildbots.
7444
7445 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7446
7447         * tools/gst-plot-timeline.py:
7448           Better log parsing (categories can have -). Adjust text vs. lines, so
7449           that they span the same y-range.        
7450
7451 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7452
7453         * docs/random/ensonic/audiobaseclasses.txt:
7454         * docs/random/ensonic/dynlink.txt:
7455         * docs/random/ensonic/profiling.txt:
7456           Save my thoughts.
7457
7458         * docs/random/moving-plugins:
7459           Add note to use g_assert type macros.
7460
7461 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7462
7463         * configure.ac:
7464         * libs/gst/check/Makefile.am:
7465           Add libm check as we use in for plugins.
7466
7467 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7468
7469         * gst/gstbin.c: (gst_bin_continue_func):
7470         Check that the state_cookie hasn't changed since the continue_func
7471         was scheduled. Avoids problems where the state changes back to
7472         something it shouldn't be because it was changed in the meantime.
7473
7474 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7475
7476         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7477         (gst_registry_binary_save_string),
7478         (gst_registry_binary_save_pad_template),
7479         (gst_registry_binary_save_feature),
7480         (gst_registry_binary_save_plugin),
7481         (gst_registry_binary_load_feature),
7482         (gst_registry_binary_load_plugin),
7483         (gst_registry_binary_read_cache):
7484           Fix memory leak. Be less verbose in the log.
7485
7486 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7487
7488         * tests/check/elements/.cvsignore:
7489         Add file to cvsignore as commanded.
7490
7491 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7492
7493         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7494         (mq_dummypad_event), (run_output_order_test):
7495         Use a GStaticMutex to protect all cases where libcheck
7496         fail_if/fail_unless macros might be called from multiple threads
7497         simultaneously to avoid errors like:
7498           "check_pack.c:107: :-1081725400:Bad message type arg"
7499
7500 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7501
7502         * tests/check/pipelines/stress.c: (GST_START_TEST):
7503         Make sure we set the pipeline back to the NULL state before
7504         dropping our final reference.
7505
7506 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7507
7508         * tests/check/elements/tee.c: (GST_START_TEST):
7509         Make the tee stress-test a little less stressful so it doesn't just
7510         time out on slow-machines, and remove a small race when it's starting 
7511         up by adding a get_state() call.
7512
7513 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7514
7515         * gst/gst.c:
7516           Avoid reading registry twice on startup. Fixes #457322.
7517
7518 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7519
7520         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7521         * pkgconfig/gstreamer-check.pc.in:
7522         Substitute the CFLAGS for libcheck into our .pc file too so that
7523         dependent modules will pick it up properly if libcheck is installed
7524         into some other prefix.
7525
7526 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7527
7528         * configure.ac:
7529         Revert the pkg-config check for libcheck, since it pulls in the
7530         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7531         a proper solution, either from the check project, or something else.
7532
7533 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7534
7535         * configure.ac:
7536           Use pkg-config to locate check.
7537
7538 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7539
7540         * gst/gsttaglist.c:
7541           Fix doc syntax.
7542
7543         * gst/gstutils.c:
7544         * gst/gstutils.h:
7545           Add deprecation guards.
7546
7547         * libs/gst/base/gstcollectpads.h:
7548           Don't document object (this is implicitly private).
7549
7550 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7551
7552         * gst/gststructure.c: (gst_structure_parse_value):
7553           When deserialising foo=bar without a type cast, check if it's a
7554           boolean before falling back to a string type, otherwise things like
7555           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7556           because the filtercaps end up having a signed=(string)true field,
7557           which causes problems later when intersection caps.
7558
7559         * tests/check/gst/gststructure.c: (GST_START_TEST):
7560           Add a unit test for this.
7561
7562 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7563
7564         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7565
7566         * libs/gst/controller/Makefile.am:
7567         * libs/gst/controller/gstcontroller.c:
7568         (gst_controlled_property_add_interpolation_control_source),
7569         (gst_controlled_property_new), (gst_controlled_property_free),
7570         (gst_controller_find_controlled_property),
7571         (gst_controller_new_valist), (gst_controller_new_list),
7572         (gst_controller_new), (gst_controller_remove_properties_valist),
7573         (gst_controller_remove_properties_list),
7574         (gst_controller_remove_properties),
7575         (gst_controller_set_property_disabled),
7576         (gst_controller_set_disabled), (gst_controller_set_control_source),
7577         (gst_controller_get_control_source), (gst_controller_get),
7578         (gst_controller_sync_values), (gst_controller_get_value_array),
7579         (_gst_controller_dispose), (gst_controller_get_type),
7580         (gst_controlled_property_set_interpolation_mode),
7581         (gst_controller_set), (gst_controller_set_from_list),
7582         (gst_controller_unset), (gst_controller_unset_all),
7583         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7584         * libs/gst/controller/gstcontroller.h:
7585         * libs/gst/controller/gstcontrollerprivate.h:
7586         * libs/gst/controller/gstcontrolsource.c:
7587         (gst_control_source_class_init), (gst_control_source_init),
7588         (gst_control_source_get_value),
7589         (gst_control_source_get_value_array), (gst_control_source_bind):
7590         * libs/gst/controller/gstcontrolsource.h:
7591         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7592         (gst_object_get_control_source):
7593         * libs/gst/controller/gstinterpolation.c:
7594         (gst_interpolation_control_source_find_control_point_node),
7595         (gst_interpolation_control_source_get_first_value),
7596         (_interpolate_none_get), (interpolate_none_get),
7597         (interpolate_none_get_boolean_value_array),
7598         (interpolate_none_get_enum_value_array),
7599         (interpolate_none_get_string_value_array),
7600         (_interpolate_trigger_get), (interpolate_trigger_get),
7601         (interpolate_trigger_get_boolean_value_array),
7602         (interpolate_trigger_get_enum_value_array),
7603         (interpolate_trigger_get_string_value_array):
7604         * libs/gst/controller/gstinterpolationcontrolsource.c:
7605         (gst_control_point_free), (gst_interpolation_control_source_reset),
7606         (gst_interpolation_control_source_new),
7607         (gst_interpolation_control_source_set_interpolation_mode),
7608         (gst_interpolation_control_source_bind),
7609         (gst_control_point_compare), (gst_control_point_find),
7610         (gst_interpolation_control_source_set_internal),
7611         (gst_interpolation_control_source_set),
7612         (gst_interpolation_control_source_set_from_list),
7613         (gst_interpolation_control_source_unset),
7614         (gst_interpolation_control_source_unset_all),
7615         (gst_interpolation_control_source_get_all),
7616         (gst_interpolation_control_source_get_count),
7617         (gst_interpolation_control_source_init),
7618         (gst_interpolation_control_source_finalize),
7619         (gst_interpolation_control_source_dispose),
7620         (gst_interpolation_control_source_class_init):
7621         * libs/gst/controller/gstinterpolationcontrolsource.h:
7622         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7623         API: Refactor GstController into the core controller which can take
7624         a GstControlSource for providing actual values for timestamps.
7625         Implement a interpolation control source and use this for backward
7626         compatibility, deprecate a bunch of functions that are now handled
7627         by GstControlSource or GstInterpolationControlSource.
7628         Make it possible to disable the controller completely or only for
7629         specific properties. Fixes #450711.
7630         * docs/libs/gstreamer-libs-docs.sgml:
7631         * docs/libs/gstreamer-libs-sections.txt:
7632         * docs/libs/gstreamer-libs.types:
7633         Add new functions and classes to the docs.
7634         * tests/check/libs/controller.c: (GST_START_TEST),
7635         (gst_controller_suite):
7636         * tests/examples/controller/audio-example.c: (main):
7637         Port unit test and example to the new API and add some new
7638         unit tests.
7639
7640 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7641
7642         Patch by: Mark Nauwelaerts <manauw at skynet be>
7643
7644         * plugins/elements/gstmultiqueue.c:
7645         (gst_multi_queue_get_internal_links), (apply_buffer),
7646         (single_queue_overrun_cb), (gst_single_queue_new):
7647         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7648         the pipeline layout can be tracked correctly. Fixes #453732.
7649
7650 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7651
7652         * docs/gst/Makefile.am:
7653         * docs/libs/Makefile.am:
7654         * docs/plugins/Makefile.am:
7655           Simplify --extra-dir as gtkdoc scans recursively.
7656
7657 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7658
7659         * tools/gst-launch.c: (main):
7660         When we got an error, there is no point in waiting for preroll when
7661         shutting down.
7662
7663 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7664
7665         * plugins/elements/gsttee.c: (gst_tee_base_init),
7666         (gst_tee_request_new_pad), (gst_tee_release_pad),
7667         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7668         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7669         (gst_tee_chain):
7670         Be a lot smarter when deciding what srcpad to use for proxying
7671         the buffer_alloc. Also handle pad added/removed when doing so.
7672         Fixes #357959.
7673         Keep track of what pads we already pushed on in case we have pads
7674         added/removed while pushing. Fixes #374639 
7675
7676         * tests/check/Makefile.am:
7677         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7678         (tee_suite):
7679         Added unit test for pad resync.
7680
7681 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7682
7683         * po/nl.po:
7684         * po/sv.po:
7685           Updated translations.
7686
7687 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7688
7689         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7690
7691         * po/LINGUAS:
7692         * po/fi.po:
7693           Added new Finnish translation.
7694
7695 2007-06-28  Wim Taymans  <wim@fluendo.com>
7696
7697         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7698         (single_queue_overrun_cb):
7699         When figuring out when a queue is filled, use our internal time estimate
7700         based on segments, just like check_full does.
7701
7702 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7703
7704         * gst/gstminiobject.c: (gst_mini_object_get_type):
7705           Remove 3 do-nothing methods.
7706
7707 2007-06-27  Wim Taymans  <wim@fluendo.com>
7708
7709         Patch by: Tim Angus <tim at ngus dot net>
7710
7711         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7712         (gst_capsfilter_set_property):
7713         Take a reference instead of a copy when setting "caps".
7714         Fix documentation to clarify this behaviour. Fixes #449414.
7715
7716 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7717
7718         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7719         * gst/gstplugin.c: (gst_plugin_init):
7720         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7721         * gst/gstquery.c: (gst_query_get_type):
7722         * gst/gstregistry.c: (gst_registry_init):
7723         * gst/gsturi.c: (gst_uri_handler_base_init):
7724           Remove empty instance_init() functions to save relocs and lessen the
7725           noise. Remove some of the function prototypes that are doubled by
7726           G_DEFINE_TYPE.
7727           
7728 2007-06-27  Wim Taymans  <wim@fluendo.com>
7729
7730         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7731
7732         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7733         Add peer and direction in the XML serialisation of ghostpads.
7734         Fixes #449226.
7735
7736 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7737
7738         * configure.ac:
7739           Preserve useful information, thanks Tim.
7740
7741 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7742
7743         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7744         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7745         (gst_single_queue_push_one), (gst_multi_queue_loop),
7746         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7747         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7748         (compute_high_id), (gst_single_queue_new):
7749         * plugins/elements/gstmultiqueue.h:
7750         Take the multiqueue lock when updating the fill level so we don't get
7751         confused. 
7752
7753         After applying a buffer or event on the src pad segment, make sure to
7754         call gst_data_queue_limits_changed() to get the data queue to unblock
7755         and check the filled state again.
7756         
7757         Rework the not-linked pad handling so the logic is that not-linked 
7758         pads can push as fast as they like, but only so they never get 
7759         ahead of any linked pads.
7760
7761         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7762         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7763         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7764
7765         Add a test to check that not-linked pads always stay behind
7766         linked pads.
7767
7768         Fixes: #430682
7769
7770 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7771
7772         * docs/random/release:
7773           Some updates to the release procedure.
7774
7775 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7776
7777         * gst/gstelementfactory.c: (__gst_element_details_clear):
7778           Microoptimization that saves stunning 80 bytes.
7779
7780 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7781
7782         * docs/plugins/gstreamer-plugins.args:
7783         * docs/plugins/inspect/plugin-coreelements.xml:
7784         * docs/plugins/inspect/plugin-coreindexers.xml:
7785           Update docs with caps info.
7786
7787 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7788
7789         * po/it.po:
7790           Updated Italian translation.
7791
7792 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7793
7794         * ChangeLog:
7795         * po/vi.po:
7796           Update Vietnamese translations.
7797
7798 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7799
7800         * libs/gst/base/gstbasesink.c:
7801           Remove unused signal enum.
7802
7803 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7804
7805         * docs/gst/gstreamer-sections.txt:
7806         * gst/gstelement.c:
7807         * gst/gstutils.c: (gst_type_register_static_full):
7808         Beef up and include the docs for gst_type_register_static_full and
7809         gst_element_class_set_details_simple and add the API keyword
7810         in the ChangeLog.
7811
7812 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7813
7814         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7815         (update_time_level), (gst_single_queue_push_one),
7816         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7817         (single_queue_overrun_cb), (single_queue_underrun_cb),
7818         (single_queue_check_full):
7819         Fix setting max-* properties after adding queues.
7820         Use IS_FILLED for checking visible items.
7821         Signal overrun if multiple queues overrun.
7822         Add extra debug output.
7823         Patch by: Wim Taymans <wim@fluendo.com>
7824
7825 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7826
7827         * gst/gstelement.c: (gst_element_class_set_details_simple):
7828         * gst/gstelement.h:
7829         * gst/gstutils.c: (gst_type_register_static_full):
7830         * gst/gstutils.h:
7831         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7832         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7833         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7834         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7835         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7836         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7837         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7838         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7839         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7840         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7841         (apply_buffer), (gst_queue_chain):
7842         * plugins/elements/gsttee.c: (gst_tee_base_init):
7843         * plugins/elements/gsttypefindelement.c:
7844         (gst_type_find_element_base_init),
7845         (gst_type_find_element_class_init):
7846           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7847           API: add gst_type_register_static_full
7848           API: add gst_element_class_set_details_simple
7849
7850 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7851
7852         * docs/pwg/advanced-types.xml:
7853           Fix typo in iana.org URI.
7854
7855 2007-06-19  Andy Wingo  <wingo@pobox.com>
7856
7857         * tests/check/pipelines/simple-launch-lines.c
7858         (test_state_change_returns): Enable pull-mode tests now that
7859         basesink has been fixed.
7860
7861         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7862         Changed from gst_base_sink_is_prerolled, reversing the sense of
7863         the return value. Returns FALSE also if the sink is in pull mode,
7864         in which case it needs no preroll.
7865         (gst_base_sink_query, gst_base_sink_change_state): Update for
7866         needs_preroll change.
7867         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7868         chaining up, in which we return SUCCESS directly if we activated
7869         in pull mode instead of ASYNC. Involves countering an async_start
7870         message sent before chaining up; not sure if this is correct, in
7871         an ideal world we only send async-start when activating in push
7872         mode.
7873
7874         * tests/check/pipelines/simple-launch-lines.c
7875         (test_state_change_returns): New test, partially disabled until
7876         basesink is fixed.
7877
7878 2007-06-19  Wim Taymans  <wim@fluendo.com>
7879
7880         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7881         (gst_multi_queue_sink_event):
7882         Fix event leak.
7883
7884 2007-06-19  Wim Taymans  <wim@fluendo.com>
7885
7886         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7887         (gst_bin_change_state_func), (bin_push_state_continue),
7888         (bin_handle_async_start), (bin_handle_async_done),
7889         (gst_bin_handle_message_func):
7890         Move the common code for posting state-change messages into
7891         one function.
7892         Broadcast the state signal after we posted the messages.
7893         Mark the bin as busy when it's doing a state-change.
7894         Make sure async-start/done messages don't interfere with the bin's
7895         state when it's busy.
7896         After the state change, let the bin check which elements completed the
7897         state change while it was busy so that it can update its state.
7898
7899 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7900
7901         * docs/random/release:
7902         Add a note about updating the doap file to the release checklist
7903
7904 2007-06-18  Wim Taymans  <wim@fluendo.com>
7905
7906         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7907         (gst_single_queue_push_one), (gst_multi_queue_chain),
7908         (gst_multi_queue_sink_event):
7909         Make sure we don't reference the buffer/event after we have given away
7910         ownership in the queue.
7911
7912 2007-06-18  Wim Taymans  <wim@fluendo.com>
7913
7914         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7915         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7916         Update queue state _after_ adding the item in the queue because else we
7917         could end up being full without the element added yet.
7918
7919 2007-06-18  Wim Taymans  <wim@fluendo.com>
7920
7921         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7922         (gst_bin_remove_func), (gst_bin_get_state_func),
7923         (gst_bin_element_set_state), (gst_bin_continue_func),
7924         (bin_push_state_continue), (bin_handle_async_start),
7925         (bin_handle_async_done), (gst_bin_handle_message_func):
7926         * gst/gstbin.h:
7927         Immediatly commit the toplevel bin state when receiving an async-done
7928         message. This enables us to avoid spawning a thread to commit the state
7929         in some common cases and it also avoids some races.
7930         Avoid spawning a state thread when adding/removing async elements to a
7931         toplevel bin. Instead we immediatly update the bin state.
7932         Get rid of iterating all the children when getting the state in the bin
7933         because it is now always up-to-date.
7934         Fix bug where locked elements would always return _SUCCESS even it they
7935         returned NO_PREROLL before being locked.
7936         Fix the order of the state_change, async-start/done messages that was
7937         sometimes incorrect.
7938         Mark the state_dirty field as deprecated, we don't need it anymore as we
7939         are always up-to-date.
7940
7941         * gst/gstelement.c: (gst_element_get_state_func),
7942         (gst_element_continue_state):
7943         Small debug inprovements.
7944         Return the previous element state return when nothing is pending instead
7945         of blindly returning SUCCESS.
7946
7947         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7948         (gst_sinks_suite):
7949         Add a whole bunch of new testcases.
7950
7951 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7952
7953         * po/uk.po:
7954         * po/vi.po:
7955           Update translations.
7956
7957 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7958
7959         * gst/gstpad.c:
7960         Fix typo in the docs.
7961
7962 2007-06-15  Wim Taymans  <wim@fluendo.com>
7963
7964         * docs/libs/gstreamer-libs-sections.txt:
7965         Add docs for new methods.
7966
7967 2007-06-15  Wim Taymans  <wim@fluendo.com>
7968
7969         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7970         (gst_multi_queue_item_new):
7971         Don't use GSlice because we don't depend on >= 2.10 yet.
7972
7973 2007-06-15  Wim Taymans  <wim@fluendo.com>
7974
7975         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7976         (update_time_level), (apply_segment), (apply_buffer),
7977         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7978         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7979         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7980         (single_queue_underrun_cb), (single_queue_check_full):
7981         Remove debug printf.
7982
7983 2007-06-15  Wim Taymans  <wim@fluendo.com>
7984
7985         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7986         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7987         (gst_data_queue_set_flushing), (gst_data_queue_push),
7988         (gst_data_queue_pop), (gst_data_queue_drop_head),
7989         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7990         * libs/gst/base/gstdataqueue.h:
7991         Various cleanups.
7992         Added methods to get the current levels and to inform the queue that the
7993         'full' limits changed.
7994
7995         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7996         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7997         (gst_single_queue_flush), (update_time_level), (apply_segment),
7998         (apply_buffer), (gst_single_queue_push_one),
7999         (gst_multi_queue_item_steal_object),
8000         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8001         (gst_multi_queue_loop), (gst_multi_queue_chain),
8002         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8003         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8004         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8005         (single_queue_underrun_cb), (single_queue_check_full),
8006         (gst_single_queue_new):
8007         Keep track of time in the queue by measuring the difference between
8008         running_time on input and output. This gives more accurate results and
8009         can compensate for segments correctly.
8010         Make a queue by default only 5 buffers deep. We will now increase the
8011         buffer size depending on the filledness of the other queues.
8012         Factor out commong flush code.
8013         Make sure we don't add additional refcounts to buffers when we can avoid
8014         it.
8015         Propagate GstFlowReturn differently.
8016         Use GSlice for intermediate GstMultiQueueItems.
8017         Keep track of EOS.
8018         Resize queues on over and underruns based on filled level of other
8019         queues.
8020         When checking if the queue is filled, prefer to measure in time if we
8021         can and fall back to bytes when no time is known.
8022
8023         * plugins/elements/gstqueue.c:
8024         Fix return value.
8025
8026 2007-06-15  Wim Taymans  <wim@fluendo.com>
8027
8028         * libs/gst/base/gstbasetransform.c:
8029         (gst_base_transform_sink_event):
8030         Work around the brokenness of the event vmethod in basetransform. Prefer
8031         to return TRUE when the subclass returned FALSE (meaning don't forward
8032         the event). 
8033
8034         * libs/gst/base/gstbasetransform.h:
8035         Clarify the docs.
8036
8037 2007-06-15  Wim Taymans  <wim@fluendo.com>
8038
8039         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8040         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8041         (gst_base_src_default_query), (gst_base_src_get_range),
8042         (gst_base_src_start):
8043         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8044         Improve debugging.
8045
8046 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8047
8048         * docs/pwg/advanced-types.xml:
8049           Added more formats to caps table.
8050
8051 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8052
8053         * tools/gst-launch.c: (main):
8054           Remove crufy code. GOption does not need this workaround.
8055
8056 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8057
8058         * libs/gst/controller/gstcontroller.c:
8059         (gst_controlled_property_set_interpolation_mode):
8060           Fix wrong getter for enums in controller.
8061
8062 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8063
8064         * libs/gst/check/gstcheck.c: (gst_check_init):
8065           Intercept criticals and warnings in the Gst-Phonon log domain, so
8066           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8067           well.
8068         
8069 2007-06-14  Edward Hervey  <edward@fluendo.com>
8070
8071         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8072         Since this file doesn't include "gst.h" it will not go through the
8073         macros that disable GST_LOG if debugging was disabled.
8074
8075 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8076
8077         * libs/gst/check/Makefile.am:
8078         * libs/gst/check/gstcheck.h:
8079         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8080         * pkgconfig/gstreamer-check.pc.in:
8081           Ugly 'fix' for the controller unit test on the p5 bot: in
8082           fail_unless_equals_float() check whether the values are 'almost
8083           equal' by allowing a small absolute error, which should be good
8084           enough for our use cases (normal numbers and values close to 0).
8085           Proper fixage left to floating point arithmetic aficionados.
8086
8087 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8088
8089         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8090         (gst_base_sink_render_object), (gst_base_sink_get_position):
8091           Add two breaks thats where missing.
8092
8093 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8094
8095         * docs/libs/gstreamer-libs-sections.txt:
8096         * libs/gst/check/gstcheck.h:
8097           API: add fail_unless_equals_float() and assert_equals_float().
8098           Add documentation for some of the macros.
8099
8100         * tests/check/libs/controller.c: (GST_START_TEST):
8101           Use newly-added asserts.
8102
8103 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8104
8105         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8106           Show the caps change in the log to help spotting the case of not
8107           exactly matching caps.
8108
8109 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8110
8111         * docs/pwg/building-boiler.xml:
8112           Fix typos, spotted by Thijs Vermeir (#447190).
8113
8114 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8115
8116         * docs/plugins/tmpl/.cvsignore:
8117         Ignore file to keep the buildbots happy
8118
8119 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8120
8121         * docs/plugins/Makefile.am:
8122         * docs/plugins/gstreamer-plugins-docs.sgml:
8123         * docs/plugins/gstreamer-plugins-sections.txt:
8124         Pull fdsink into the docs too.
8125
8126 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8127
8128         * libs/gst/controller/gstinterpolation.c:
8129         Actually use the new functions with min/max checks for the trigger and
8130         none interpolation modes for get() and get_value_array() instead of
8131         just the latter.
8132
8133 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8134
8135         * libs/gst/controller/gstcontroller.c:
8136         (gst_controlled_property_free):
8137         Unset the minimum and maximum GValues when freeing the corresponding
8138         GstControllerProperty struct.
8139
8140 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8141
8142         * libs/gst/controller/gstcontroller.c:
8143         (gst_controlled_property_new):
8144         * libs/gst/controller/gstcontrollerprivate.h:
8145         * libs/gst/controller/gstinterpolation.c:
8146         (gst_controlled_property_find_control_point_node),
8147         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8148         (interpolate_none_get_string_value_array),
8149         (interpolate_trigger_get),
8150         (interpolate_trigger_get_enum_value_array),
8151         (interpolate_trigger_get_string_value_array):
8152         Protect against values larger or smaller than the minimum or maximum
8153         allowed value for the property when using values that can be compared.
8154
8155         Optimize trigger interpolator a bit by taking the last requested value
8156         into account instead of always looping through the complete list.
8157
8158         Fix coding style a bit, everywhere else we use "return foo" instead
8159         of "return (foo)".
8160         
8161         * tests/check/libs/controller.c: (GST_START_TEST),
8162         (gst_controller_suite):
8163         Add unit test for the protection against too large or too small
8164         values.
8165
8166 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8167
8168         * docs/random/slomo/controller.txt:
8169         Add some thoughts about the future of the controller.
8170
8171 2007-06-08  Wim Taymans  <wim@fluendo.com>
8172
8173         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8174         Don't overflow in retimestamping code.
8175
8176 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8177
8178         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8179         Use gst_util_guint64_to_gdouble for conversions.
8180         * win32/common/libgstreamer.def:
8181         Add new exported functions.
8182
8183 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8184
8185         * gst/gstutils.c:
8186           Small docs addition.
8187
8188 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8189
8190         * README:
8191           Remove that test line again.
8192
8193 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8194
8195         * README:
8196           Test commit mail sending.
8197
8198 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8199
8200         * configure.ac:
8201           Fix typo and test commit mail sending.
8202
8203 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8204
8205         * tests/examples/controller/audio-example.c:
8206           Improve comment and test commit mail sending.
8207
8208 2007-06-07  Wim Taymans  <wim@fluendo.com>
8209
8210         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8211         (gst_bin_remove_func), (gst_bin_element_set_state),
8212         (bin_handle_async_start), (bin_handle_async_done),
8213         (gst_bin_handle_message_func):
8214         Add helper function to find messages.
8215         Generate the async-done messages together with the state change
8216         messages.
8217         Small cleanups in handling toplevel bins.
8218
8219 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8220
8221         * libs/gst/base/gstdataqueue.c:
8222         * libs/gst/base/gstdataqueue.h:
8223         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8224         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8225         (gst_multi_queue_sink_event):
8226         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8227           Fix multiqueue leaking buffers and events when downstream or the
8228           queue are flushing. Make refcounting assumptions explicit and
8229           document them (shouldn't break existing code that uses it other than
8230           maybe leak miniobjects, but that already happens anyway). Add unit
8231           test for the most common flushing case. Fixes #423700.
8232           
8233 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8234
8235         * libs/gst/controller/gstcontroller.c:
8236         Clarify docs: The get_all, get_value_array(s) functions
8237         don't modify the GObject properties.
8238
8239 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8240
8241         * libs/gst/controller/gstcontroller.c:
8242         (gst_controlled_property_set_interpolation_mode),
8243         (gst_controlled_property_prepend_default),
8244         (gst_controlled_property_new), (gst_controller_set_unlocked),
8245         (gst_controller_set), (gst_controller_set_from_list),
8246         (gst_controller_unset), (gst_controller_unset_all):
8247         * libs/gst/controller/gstcontrollerprivate.h:
8248         * libs/gst/controller/gstinterpolation.c:
8249         Factor out the 'set' logic into gst_controller_set_unlocked for the
8250         gst_controller_set and gst_controller_set_from_list functions.
8251
8252         To make life of the interpolators easier always add a control point
8253         at timestamp zero with the default value.
8254
8255         In the linear interpolator make things more obvious by better variable
8256         naming (slope).
8257
8258         Implement cubic interpolation mode (by using a natural cubic spline)
8259         and map the quadratic interpolation mode to this too (as quadratic
8260         doesn't make much sense, see discussion on the list).
8261
8262         * tests/check/libs/controller.c: (GST_START_TEST),
8263         (gst_controller_suite):
8264         Add unit test for the cubic interpolation mode and check everywhere
8265         if the interpolation mode could be set as expected.
8266
8267 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8268
8269         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8270           Don't use GLib-2.10 functions, we still depend on
8271           GLib-how-old-is-it-again-2.8.
8272
8273 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8274
8275         * docs/gst/gstreamer-sections.txt:
8276         * gst/Makefile.am:
8277         * gst/gst.c:
8278         * gst/gst.h:
8279         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8280         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8281         (_gst_param_fraction_values_cmp),
8282         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8283         * gst/gstparamspecs.h:
8284         * gst/gstvalue.c:
8285         * tests/check/Makefile.am:
8286         * tests/check/gst/.cvsignore:
8287         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8288         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8289         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8290         (GST_START_TEST), (gst_param_spec_suite):
8291           API: add GstParamSpecFraction, so elements can have fraction
8292           properties without lots of painful string parsing (#444648).
8293
8294 2007-06-05  Wim Taymans  <wim@fluendo.com>
8295
8296         * gst/gstobject.c: (gst_object_class_init):
8297         Fix signal signature.
8298
8299         * gst/gstsegment.c:
8300         Add small clarification in the api docs.
8301
8302         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8303         States are protected with object lock.
8304
8305 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8306
8307         * AUTHORS:
8308         I should probably be listed as an author by now.
8309
8310         * docs/random/release:
8311         Update the release doc
8312
8313 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8314
8315         * gst/gstvalue.c:
8316           Make docs for gst_value_compare() mention return enums that
8317           actually exist.
8318
8319 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8320
8321         * configure.ac:
8322           Back to CVS
8323
8324 === release 0.10.13 ===
8325
8326 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8327
8328         * configure.ac:
8329           releasing 0.10.13, "With or without you"
8330
8331 2007-05-25  Wim Taymans  <wim@fluendo.com>
8332
8333         * gst/gstbin.c: (bin_handle_async_done):
8334         Make sure that the child bin stops after completing the async state
8335         change so that the parent can continue the state change to PLAYING.
8336         Fixes #441159.
8337
8338 2007-05-25  Wim Taymans  <wim@fluendo.com>
8339
8340         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8341         (unref_data), (gst_collect_pads_remove_pad),
8342         (gst_collect_pads_check_pads):
8343         Use additional refcounting to avoid crashes when dynamically adding and
8344         removing pads. Fixes #420206.
8345
8346 2007-05-24  Wim Taymans  <wim@fluendo.com>
8347
8348         * tools/gst-launch.c: (event_loop):
8349         When buffering goes from a two digit to a single digit number, make sure
8350         to remove the old second digit by writing a blank over it.
8351
8352 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8353
8354         * libs/gst/base/gstdataqueue.c:
8355           Eliminate tabs and trailing comma in enum list; fix some typos.
8356
8357 2007-05-24  Wim Taymans  <wim@fluendo.com>
8358
8359         * tests/check/gst/gstbin.c: (GST_START_TEST):
8360         Allow refcount of 3 and 4 because some state thread might still be busy
8361         with it.
8362
8363 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8364
8365         * plugins/elements/Makefile.am:
8366         * plugins/elements/gstmultiqueue.h:
8367         * plugins/elements/gstqueue.h:
8368           These are not installed headers, no need for padding.
8369
8370 2007-05-24  Wim Taymans  <wim@fluendo.com>
8371
8372         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8373         (gst_bin_continue_func):
8374         Enable latency for next release.
8375         Restore STATE_LOCK around recalc_state that was left out during the
8376         rewrite and could result in racy behaviour when _get_state and
8377         recalc_state are run concurrently. See #440463.
8378
8379 2007-05-23  Wim Taymans  <wim@fluendo.com>
8380
8381         * tests/check/gst/gstsystemclock.c: (store_callback),
8382         (GST_START_TEST):
8383         Improve test_async_order to also work when both timers are already
8384         expired when we get scheduled to check it.
8385
8386 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8387
8388         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8389         (gst_bin_set_property), (gst_bin_get_property),
8390         (gst_bin_remove_func), (gst_bin_handle_message_func):
8391         * gst/gstbin.h:
8392           'private' is a c++ keyword, let's not use that in header files,
8393           otherwise c++ compilers will throw a tantrum.
8394
8395 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8396
8397         * plugins/elements/gstelements.c:
8398         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8399         (gst_file_sink_get_current_offset):
8400         * plugins/indexers/gstindexers.c: (plugin_init):
8401           Use #ifdef for HAVE_XYZ for consistency.
8402
8403         * tests/check/Makefile.am:
8404         * tests/check/elements/.cvsignore:
8405         * tests/check/elements/filesink.c: (setup_filesink),
8406         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8407           Add some unit tests for filesink.
8408
8409 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8410
8411         Patch by: Mark Nauwelaerts <manauw at skynet be>
8412
8413         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8414         (gst_file_sink_query), (gst_file_sink_do_seek),
8415         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8416         * plugins/elements/gstfilesink.h:
8417           Fix position reporting; rename data_written member to current_pos to
8418           reflect its real meaning (fixes #412648).
8419
8420 2007-05-22  Edward Hervey  <edward@fluendo.com>
8421
8422         * docs/gst/gstreamer-sections.txt:
8423         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8424         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8425         (gst_bin_remove_func), (gst_bin_handle_message_func):
8426         * gst/gstbin.h:
8427         Add a property for bins that handle the state change of their childs.
8428         Fixes #435880
8429
8430 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8431
8432         * libs/gst/controller/gstinterpolation.c:
8433         Use an array of the correct type when using _get_value_array with
8434         linear interpolation.
8435
8436 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8437
8438         * gst/gstelement.c (gst_element_requires_clock,
8439           gst_element_provides_clock, gst_element_request_pad,
8440           gst_element_class_set_details, gst_element_class_set_details_simple,
8441           gst_element_default_send_event, gst_element_abort_state,
8442           gst_element_continue_state, gst_element_set_state,
8443           gst_element_set_state_func, iterator_activate_fold_with_resync):
8444         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8445           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8446           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8447           gst_pad_get_range, gst_pad_pull_range):
8448         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8449           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8450           GstPadActivateModeFunction, GstPadChainFunction,
8451           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8452           GstPadFixateCapsFunction, GstPadTemplate):
8453         * gst/gstpipeline.c (gst_pipeline_change_state,
8454           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8455           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8456           gst_pipeline_get_delay):
8457           Whitespace and docs fixes.
8458
8459 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8460
8461         * libs/gst/controller/gstinterpolation.c:
8462         (interpolate_trigger_get_enum_value_array),
8463         (interpolate_trigger_get_string_value_array):
8464         Add support for retrieving value arrays when using the trigger
8465         interpolation mode. 
8466
8467 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8468
8469         * libs/gst/controller/gstcontroller.c:
8470         (gst_controller_get_value_array):
8471         * libs/gst/controller/gstcontroller.h:
8472         Clarify the docs of gst_controller_get_value_array(): The array where
8473         the values should be written to must be allocated as there seems to be
8474         no way to get the size of a random GType. This doesn't change any
8475         behaviour. Also fix some typos all over the place and remove an unused,
8476         commented function that is not necessary as g_object_set() could be
8477         used instead.
8478         * tests/check/libs/controller.c: (GST_START_TEST),
8479         (gst_controller_suite):
8480         Add unit test for gst_controller_get_value_array().
8481
8482 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8483
8484         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8485
8486         Disable part of the gst_buffer_try_new_and_alloc test, because
8487         it can happily succeed on 64-bit systems where there's more address
8488         space available.
8489
8490 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8491
8492         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8493         Add unit test for the improved caps checking from bug #421543.
8494
8495 2007-05-21  Wim Taymans  <wim@fluendo.com>
8496
8497         * docs/design/part-synchronisation.txt:
8498         Small addition.
8499
8500         * gst/gstbin.c: (gst_bin_query):
8501         * plugins/elements/gstqueue.c: (apply_segment):
8502         Improve debugging.
8503
8504         * gst/gstmessage.h:
8505         Improve docs.
8506
8507 2007-05-21  Wim Taymans  <wim@fluendo.com>
8508
8509         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8510         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8511         (gst_pad_configure_src):
8512         Added simple version of improved caps checking. It was previously
8513         assumed that a setcaps function would check the validity of the caps but
8514         people prefer us to check caps against the template automatically. 
8515         Fixes #421543.
8516
8517 2007-05-21  Wim Taymans  <wim@fluendo.com>
8518
8519         * libs/gst/base/gstbasetransform.h:
8520         Fix macro for locking/unlocking the transform lock.
8521
8522 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8523
8524         * docs/plugins/tmpl/.cvsignore:
8525           Ignore more.
8526
8527 2007-05-18  Edward Hervey  <edward@fluendo.com>
8528
8529         * plugins/elements/gstqueue.c: (gst_queue_loop):
8530         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8531         for the subtle art of warning a potentially blocking thread that it
8532         should check the source pad return value, and relay the information
8533         upstream.
8534
8535 2007-05-18  Edward Hervey  <edward@fluendo.com>
8536
8537         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8538         Release the queue lock !
8539
8540 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8541
8542         * docs/libs/gstreamer-libs-sections.txt:
8543         Add the two new controller functions to the appropiate places.
8544
8545 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8546
8547         reviewed by: Stefan Kost <ensonic@users.sf.net>
8548
8549         * libs/gst/controller/gstcontroller.c:
8550         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8551         (_gst_controller_get_property), (_gst_controller_set_property),
8552         (_gst_controller_init), (_gst_controller_class_init):
8553         * libs/gst/controller/gstcontroller.h:
8554         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8555         (gst_object_get_control_rate), (gst_object_set_control_rate):
8556         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8557         Add API that provides sync suggestion timestamps for elements that
8558         call gst_object_sync_values() from which those elements can subdivide
8559         their processing loop to get the best results for the controlled
8560         properties. For now it just suggests last_sync + control_rate as
8561         new timestamp but this will be improved in the future.
8562
8563         While doing that change the control-rate property to a GstClockTime
8564         from guint and change it's meaning from samples to nanoseconds as
8565         the GstController doesn't know anything about sampling rate. Strictly
8566         speaking this breaks ABI but as the control-rate property didn't do
8567         anything in the past and as such couldn't be used this should be no
8568         problem.        
8569
8570 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8571
8572         reviewed by: Stefan Kost <ensonic@users.sf.net>
8573
8574         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8575         (gst_controller_unset_all):
8576         * libs/gst/controller/gstcontrollerprivate.h:
8577         * libs/gst/controller/gstinterpolation.c:
8578         (gst_controlled_property_find_control_point_node):
8579         Save last synced value from the list to continue searching from there
8580         in future syncs. This speeds everything up a bit.
8581         
8582 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8583
8584         reviewed by: Stefan Kost <ensonic@users.sf.net>
8585
8586         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8587         (gst_control_point_find), (gst_controlled_property_new),
8588         (gst_control_point_free), (gst_controlled_property_free),
8589         (gst_controller_set), (gst_controller_set_from_list),
8590         (gst_controller_unset), (gst_controller_unset_all),
8591         (gst_controller_sync_values):
8592         * libs/gst/controller/gstcontroller.h:
8593         * libs/gst/controller/gstcontrollerprivate.h:
8594         * libs/gst/controller/gstinterpolation.c:
8595         (gst_controlled_property_find_control_point_node),
8596         (interpolate_none_get), (interpolate_trigger_get):
8597         Add a new private GstControlPoint struct which "inherits" from
8598         GstTimedValue to allow different interpolators to store internal
8599         values next to each control point. From the outside everything is
8600         still a GstControlPoint so we don't loose binary compatibility.
8601         Also fixup all the GValue handling to not leak GValues or list nodes.
8602         * tests/check/libs/controller.c: (GST_START_TEST):
8603         Free the list nodes and GValues in the controller_misc test.
8604
8605 2007-05-17  Edward Hervey  <edward@fluendo.com>
8606
8607         * gst/gstsegment.c:
8608         Small doc fix.
8609
8610 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8611
8612         * gst/gstplugin.c: (gst_plugin_load_file):
8613           If we fail to load a plugin because of unresolved symbols or missing
8614           libraries and spew a warning to stderr, we may just as well mention
8615           which plugin it was that failed to load.
8616
8617 2007-05-13  David Schleef  <ds@schleef.org>
8618
8619         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8620           handles the case when ENABLE_GTK_DOC is false, and installs
8621           the prebuilt documentation.  So gtk-doc subdirs are 
8622           unconditionally enabled.  Fixes: #349099.
8623
8624 2007-05-13  David Schleef  <ds@schleef.org>
8625
8626         * gst/gstutils.h: Reword some documentation.
8627
8628 2007-05-12  David Schleef  <ds@schleef.org>
8629
8630         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8631           do anything with the passed "module" parameter, so remove it.
8632           Allows removal of additional vestigal code.
8633
8634 2007-05-12  David Schleef  <ds@schleef.org>
8635
8636         * gst/gstplugin.c:
8637           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8638           Switch to using g_stat() because it's more portable.
8639
8640 2007-05-12  David Schleef  <ds@schleef.org>
8641
8642         * gst/gst.c:
8643           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8644           parsing for embedded systems.
8645         * gst/gstelementfactory.c:
8646           Allow gst_element_register() to be called with plugin==NULL.
8647           Did nobody notice that static elements were broken?
8648
8649 2007-05-12  Wim Taymans  <wim@fluendo.com>
8650
8651         * tools/gst-launch.c: (event_loop):
8652         Give more interesting info when buffering starts and stops.
8653         Fix case where buffering starts but we fail to update the buffering flag
8654         because the target state is not PLAYING.
8655
8656 2007-05-12  Wim Taymans  <wim@fluendo.com>
8657
8658         * plugins/elements/gstqueue.c: (gst_queue_init),
8659         (gst_queue_finalize), (update_time_level), (apply_segment),
8660         (apply_buffer), (gst_queue_locked_flush),
8661         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8662         (gst_queue_handle_sink_event), (gst_queue_chain),
8663         (gst_queue_push_one), (gst_queue_loop):
8664         * plugins/elements/gstqueue.h:
8665         Refactor an cleanup queue a bit.
8666         Do better time level calculations that also work when the srcpad is not
8667         yet running.
8668         Remove some unneeded debug lines.
8669
8670         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8671         Added testcase for time level measurement.
8672         Try to make some stuff more racefree.
8673
8674 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8675
8676         * gst/gsturi.c: (gst_element_make_from_uri):
8677           Don't leak plugin feature.
8678
8679         * tests/check/Makefile.am:
8680         * tests/check/gst/.cvsignore:
8681         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8682           Add brain-dead unit test.
8683
8684 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8685
8686         Patch by: Jeroen Wouters <woutersj at gmail com>
8687
8688         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8689           Treat protocol strings in a case-insensitive way (#437563).
8690
8691 2007-05-11  Michael Smith <msmith@fluendo.com>
8692
8693         * gst/gstplugin.c: (gst_plugin_load_file):
8694         * gst/gstregistry.c: (gst_registry_scan_path_level):
8695           Don't print a g_warning for any failure to load a shared object.
8696           Instead, push this down into gstplugin.c, and warn _only_ if we
8697           failed to open the module (i.e. failure to link).
8698           Avoids warnings on normal, working, non-plugin .so files.
8699
8700 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8701
8702         * gst/gstplugin.c (gst_plugin_load_file):
8703         * gst/gstregistry.c (GST_CAT_DEFAULT,
8704           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8705           Print a g_warning if there was an error when loading a plugins during
8706           registry scan. The shuld help beginners starting with gst-plugin
8707           template.
8708
8709 2007-05-10  Wim Taymans  <wim@fluendo.com>
8710
8711         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8712         (update_time_level), (gst_queue_locked_flush),
8713         (gst_queue_handle_sink_event), (gst_queue_chain),
8714         (gst_queue_push_one), (gst_queue_loop):
8715         * plugins/elements/gstqueue.h:
8716         Be smarter when calculating the current amount of data in the queue by
8717         measuring the difference between start and end timestamps (in running
8718         time) inside the queue. Fixes #432876.
8719         API: GstQueue::pushing to notify elements that we are pushing data again
8720         since the running signal is rather broken for this purpose.
8721
8722 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8723
8724         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8725           gst_queue_base_init, gst_queue_init):
8726           use GST_BOILERPLATE
8727
8728 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8729
8730         * win32/common/libgstreamer.def:
8731         Add new exported functions.
8732         * win32/vs6/grammar.dsp:
8733         Use grammar pre-generated files.
8734
8735 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8736
8737         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8738
8739         * gst/Makefile.am:
8740         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8741         * gst/gstparse.h:
8742         * gst/gstutils.c: (gst_parse_bin_from_description):
8743         * gst/gstutils.h:
8744           Maintain API and ABI when --disable-parse is used. Now that
8745           we have an appropriate error code, we can just return NULL and the
8746           appropriate error when gst_parse_launch() is used despite it having
8747           been disabled (#342564).
8748
8749         * tests/check/Makefile.am:
8750         * tests/check/pipelines/.cvsignore:
8751         * tests/check/pipelines/parse-disabled.c:
8752           Make sure these functions exist and return NULL plus a GError when
8753           --disable-parse is used.
8754
8755 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8756
8757         * tests/benchmarks/complexity.c: (main):
8758         * tests/benchmarks/mass-elements.c: (main):
8759           Set a good example and don't leak messages.
8760
8761 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8762
8763         * docs/gst/Makefile.am:
8764         * docs/libs/Makefile.am:
8765           Correct fixxrefs options.
8766
8767         * docs/plugins/Makefile.am:
8768         * docs/plugins/gstreamer-plugins-docs.sgml:
8769         * docs/plugins/gstreamer-plugins-sections.txt:
8770         * plugins/elements/Makefile.am:
8771         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8772         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8773           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8774           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8775           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8776           _GstCapsFilterClass, trans_class):
8777         * plugins/elements/gstelements.c (name, rank, type, _elements):
8778         * plugins/elements/gstidentity.c
8779           (gst_identity_check_imperfect_timestamp,
8780           gst_identity_check_imperfect_offset):
8781           Document capsfilter and add doc-blurb to identity.
8782
8783 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8784
8785         * libs/gst/controller/gstcontroller.c:
8786         (gst_controlled_property_set_interpolation_mode):
8787         * libs/gst/controller/gstinterpolation.c:
8788           Don't crash if someone tries to set an interpolation mode that
8789           is invalid or that isn't supported yet. Fixes #422295.
8790
8791         * tests/check/libs/controller.c: (GST_START_TEST),
8792         (gst_controller_suite):
8793           Add a test case for the above.
8794
8795 2007-05-03  Edward Hervey  <edward@fluendo.com>
8796
8797         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8798         Properly set the last_stop position on GstSegment. This will only happen
8799         if there is a buffer to push out.
8800
8801 2007-05-03  Wim Taymans  <wim@fluendo.com>
8802
8803         * libs/gst/base/gstbasetransform.c:
8804         (gst_base_transform_buffer_alloc):
8805         always_in_place does not mean that the sink and source caps are the
8806         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8807
8808 2007-05-03  Wim Taymans  <wim@fluendo.com>
8809
8810         * docs/libs/gstreamer-libs-sections.txt:
8811         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8812         (gst_base_src_default_query), (gst_base_src_get_range):
8813         * libs/gst/base/gstbasesrc.h:
8814         API: gst_base_src_query_latency(). Added method so that subclasses can
8815         easily get the latency values of the base source class.
8816
8817 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8818
8819         * tools/gst-inspect.c (print_implementation_info):
8820         Remove 0.8 cruft.
8821
8822 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8823
8824         * tools/Makefile.am:
8825         * tools/gst-launch.1.in:
8826           Don't create a customised man page based on the host architecture,
8827           describe the default registry path generically. That way the man
8828           page is the same for all architectures and packagers have one
8829           multilib issue less to deal with. Fixes #434926.
8830
8831 2007-05-02  Wim Taymans  <wim@fluendo.com>
8832
8833         * gst/gstpad.c:
8834         Fix documentation as spotted by rg on IRC. 
8835
8836 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8837
8838         * gst/gstutils.c:
8839           Improve docs for gst_element_{link,unlink}.
8840
8841 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8842
8843         * docs/design/part-events.txt:
8844         * docs/design/part-overview.txt:
8845         * gst/gstevent.c:
8846         * gst/gsturi.c:
8847         * gst/gsturi.h:
8848         * libs/gst/base/gstbasesink.c:
8849           Typo fixes; minor docs addition.
8850
8851 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8852
8853         * docs/gst/gstreamer-sections.txt:
8854         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8855         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8856         * gst/gsturi.h:
8857         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8858         or src that supports a given URI protocol exists.
8859
8860 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8861
8862         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8863         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8864         Set the location to NULL if "file://" is set as URI. Otherwise
8865         some random previous URI would still be set if "file://" is
8866         set on an already used filesink/filesrc.
8867
8868 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8869
8870         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8871         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8872         Special case the "file://" URI as as this is used by some
8873         applications to test with gst_element_make_from_uri if there's
8874         an element that supports the URI protocol.
8875         Also move the g_path_is_absolute() check for the location part
8876         of the URI to also check this for "file://localhost/bla" URIs.
8877
8878 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8879
8880         * docs/gst/gstreamer-sections.txt:
8881         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8882         * gst/gstbuffer.h:
8883         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8884         (gst_buffer_suite):
8885           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8886
8887 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8888
8889         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8890         (gst_registry_binary_load_pad_template),
8891         (gst_registry_binary_load_plugin),
8892         (gst_registry_binary_read_cache):
8893         * gst/gstregistrybinary.h:
8894           Implement no-mmap alternative for registry reading. Do code cleanups.
8895           Add more comments about avoiding strdups for all text data. Comments
8896           welcome.
8897
8898 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8899
8900         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8901           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8902           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8903           Comment structs and reformat to fix the build (that stuff should go
8904           into a priv. header).
8905
8906 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8907
8908         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8909         (gst_registry_binary_load_feature):
8910         * gst/gstregistrybinary.h:
8911           Refactor so that we can implement multiple features. Add support for
8912           TypeFindFactory features.
8913
8914 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8915
8916         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8917
8918         * configure.ac:
8919           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8920
8921 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8922
8923         * gst/gstbin.c: (gst_bin_element_set_state),
8924         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8925         (bin_handle_async_done), (gst_bin_handle_message_func):
8926           Fix build with --gst-disable-gst-debug
8927
8928 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8929
8930         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8931           Make sure streaming has finished before calling the ::stop() vfunc,
8932           since that vfunc might clear state which is being used in the
8933           streaming thread. This fixes a race that caused crashes in
8934           audioresample when shutting down a pipeline (#420106).
8935
8936 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8937
8938         * docs/gst/gstreamer-sections.txt:
8939           That was one byte missing.
8940
8941 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8942
8943         * configure.ac:
8944         * docs/gst/gstreamer-sections.txt:
8945         * gst/Makefile.am:
8946         * gst/gstconfig.h.in:
8947         * gst/gstobject.c: (gst_object_class_init),
8948         (gst_signal_object_class_init):
8949         * gst/gstobject.h:
8950           2nd attempt to have a xml-less build as a joined effort of #413123
8951           and #421480.
8952
8953 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8954
8955         * docs/design/draft-tagreading.txt:
8956           Added open issues/thoughts to draft.
8957
8958 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8959
8960         * gst/parse/grammar.tab.pre.c:
8961         * gst/parse/grammar.tab.pre.h:
8962         * gst/parse/lex._gst_parse_yy.pre.c:
8963         Update the prebuild parser sources.
8964
8965 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8966
8967         * gst/parse/Makefile.am:
8968         And now fix the building of the flex sources. Now everything should
8969         work as expected.
8970
8971 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8972
8973         * gst/parse/Makefile.am:
8974         Now hopefully fix the build failures by setting proper rule
8975         dependencies and moving instead of copying.
8976
8977 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8978
8979         * tests/benchmarks/complexity.gnuplot:
8980         * tests/benchmarks/complexity.scm:
8981         * tests/benchmarks/mass-elements.gnuplot:
8982         * tests/benchmarks/mass-elements.scm:
8983           Total licensification.
8984
8985 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8986
8987         * gst/parse/Makefile.am:
8988           Fix the build by correcting the rule that gave wrong files to flex.
8989
8990 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8991
8992         * tests/benchmarks/complexity.c:
8993         * tests/benchmarks/mass-elements.c:
8994           Change licence to LGPL as granted by Benjamin and Andy.
8995
8996 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8997
8998         * gst/parse/Makefile.am:
8999         Add correct grammar.tab.h dependency if compiling without new enough
9000         flex. Fixes #431150.
9001
9002 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9003
9004         * gst/parse/Makefile.am:
9005         Fix typo and use outdated sources if the flex/bison sources are newer
9006         than the pregenerated ones but flex is too old. Print a warning in
9007         that case. This should fix the build on the build bot.
9008
9009 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9010
9011         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9012         * gst/parse/Makefile.am:
9013         * gst/parse/grammar.y:
9014         * gst/parse/parse.l:
9015         Make the parser reentrant and recursively callable. This requires flex
9016         >= 2.5.31, for older versions pregenerated sources are used as we
9017         can't bump the build dependency. Finally fixes #349180.
9018
9019         * gst/gstparse.c: (gst_parse_launch):
9020         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9021         now anyway.
9022
9023         * docs/gst/Makefile.am:
9024         * docs/gst/Makefile.am:
9025         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9026         (__gst_parse_strfree), (__gst_parse_link_new),
9027         (__gst_parse_link_free), (__gst_parse_chain_new),
9028         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9029         (gst_parse_element_set), (gst_parse_free_link),
9030         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9031         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9032         (_gst_parse_launch):
9033         * gst/parse/grammar.tab.pre.h:
9034         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9035         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9036         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9037         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9038         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9039         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9040         (_gst_parse_yypop_buffer_state),
9041         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9042         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9043         (yy_fatal_error), (_gst_parse_yyget_extra),
9044         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9045         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9046         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9047         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9048         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9049         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9050         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9051         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9052         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9053         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9054         (_gst_parse_yyfree):
9055         If the installed flex version is too old use pre-generated parser
9056         sources. These pre-generated parser sources are always updated when
9057         the actual flex/bison sources change but require everybody who wants
9058         to change something in the parser to have flex >= 2.5.31 installed.
9059
9060 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9061
9062         * common/m4/gst-gettext.m4:
9063         * gst/gst-i18n-lib.h:
9064           Make --disable-nls to work
9065
9066 2007-04-17  Wim Taymans  <wim@fluendo.com>
9067
9068         * gst/gstconfig.h.in:
9069         Revert previous change that broke the build.
9070
9071 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9072
9073         * configure.ac:
9074         * gst/Makefile.am:
9075         * gst/gstconfig.h.in:
9076           Drop libxml2 dependency when building with 
9077           --enable-binary-registry --disable-loadsave
9078
9079 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9080
9081         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9082         (gst_registry_binary_read_cache):
9083         * gst/gstregistrybinary.h:
9084           Remove unnecessary <sys/mman.h> include which broke the win32 build
9085           with MingW; move includes from header file to .c file, even if the
9086           header file isn't installed; use g_strerror() where UTF-8 strings
9087           are expected, such as in GST_DEBUG messages.
9088
9089 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9090
9091         * docs/libs/gstreamer-libs-sections.txt:
9092         Remove bogus addition for API I didn't end up keeping.
9093
9094         * libs/gst/base/gstbasesrc.h:
9095         Mention Since: 0.10.13 in the documentation.
9096
9097         Add the API keyword to the previous ChangeLog entry.
9098
9099 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9100
9101         * docs/libs/gstreamer-libs-sections.txt:
9102         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9103         (gst_base_src_default_prepare_seek_segment),
9104         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9105         * libs/gst/base/gstbasesrc.h:
9106         Allow basesrc derived classes to execute seeks in other formats
9107         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9108         to prepare the GstSegment in any format that their perform_seek method
9109         will be able to understand. The default implementation provides the
9110         old behaviour of attempting to convert the seek offsets to the 
9111         configured native format.
9112
9113         API: basesrc::prepare_seek_segment vmethod.
9114
9115 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9116
9117         * gst/gstelement.c: (gst_element_get_state_func):
9118         Don't output the same debug statement twice.
9119
9120         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9121         (gst_adapter_peek), (gst_adapter_take_buffer):
9122         Optimise the case where we have buffers at the head of the queue that
9123         can be joined quickly (because they're contiguous sub-buffers) by
9124         merging them together rather than copying data out into new memory.
9125
9126         * gst/parse/grammar.y:
9127         * tests/check/pipelines/parse-launch.c:
9128         Fix a leak in an error path for parse_launch, and add a check 
9129         for it to the testsuite.
9130
9131 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9132
9133         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9134           Don't deadlock when releasing a pad - gst_pad_set_active may try
9135           and take the multiqueue lock too.
9136
9137 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9138
9139         * gst/gsterror.c: (_gst_core_errors_init):
9140         * gst/gsterror.h:
9141           API: add GST_CORE_ERROR_DISABLED (#392804).
9142
9143 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9144
9145         * docs/faq/gst-uninstalled:
9146           don't get empty paths on the PATH variables
9147         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9148           Don't format for the uncommon terminal width of 84 characters.
9149
9150 2007-04-06  Wim Taymans  <wim@fluendo.com>
9151
9152         * gst/gstpipeline.c: (reset_stream_time),
9153         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9154         Only try to select a different pipeline clock when we went back to
9155         PAUSED and not when we merely got flushed.
9156
9157 2007-04-05  Michael Smith  <msmith@fluendo.com>
9158
9159         * tools/gst-launch.1.in:
9160           fractions are better supported in gstreamer than ractions, so
9161           suggest using those.
9162
9163 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9164
9165         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9166
9167         * po/LINGUAS:
9168         * po/da.po:
9169           Added Danish translation.
9170
9171 2007-04-05  Wim Taymans  <wim@fluendo.com>
9172
9173         * libs/gst/base/gstbasesink.c:
9174         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9175         Fix leak caused when refusing newsegment after EOS.
9176
9177         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9178         (gst_fake_sink_init), (gst_fake_sink_set_property),
9179         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9180         (gst_fake_sink_render), (gst_fake_sink_change_state):
9181         * plugins/elements/gstfakesink.h:
9182         Add num-buffers property to make the element generate EOS after a
9183         configurable amount of buffers.
9184         API: fakesink::num-buffers property.
9185
9186         * tests/check/elements/fakesink.c: (GST_START_TEST),
9187         (fakesink_suite):
9188         Fix GstBus leak in test.
9189         Test for fakesink num-buffers.
9190
9191 2007-04-05  Wim Taymans  <wim@fluendo.com>
9192
9193         * libs/gst/base/gstbasesink.c:
9194         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9195         (gst_base_sink_change_state):
9196         Don't accept anything after an EOS, return UNEXPECTED instead.
9197
9198         * tests/check/elements/fakesink.c: (GST_START_TEST),
9199         (fakesink_suite):
9200         Unit test for new EOS behaviour.
9201
9202 2007-04-05  Wim Taymans  <wim@fluendo.com>
9203
9204         * gst/gstelement.c: (gst_element_get_request_pad):
9205         Make padtemplates also work when they don't contain %s or %d.
9206
9207 2007-04-05  Wim Taymans  <wim@fluendo.com>
9208
9209         * docs/gst/gstreamer-sections.txt:
9210         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9211         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9212         * gst/gstclock.h:
9213         Improve _adjust_unlocked() so that it overflows less.
9214         Add gst_clock_unadjust_unlocked to convert from external time to
9215         internal time based on calibration.
9216         Add some more debug.
9217         API: GstClock::gst_clock_unadjust_unlocked()
9218
9219 2007-04-03  Wim Taymans  <wim@fluendo.com>
9220
9221         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9222
9223         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9224         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9225         when releasing sink pad. Fixes #425400.
9226
9227 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9228
9229         * docs/random/ensonic/dynlink.txt:
9230           More work on proposal for new core api.
9231
9232         * docs/libs/gstreamer-libs-sections.txt:
9233         * libs/gst/base/gstbasetransform.h:
9234           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9235           
9236         * libs/gst/controller/gstcontroller.c:
9237         (on_object_controlled_property_changed),
9238         (gst_controller_sync_values),
9239         (gst_controller_set_interpolation_mode):
9240         * libs/gst/controller/gstcontroller.h:
9241           Less verbose logging add docs for unimplemented parts and correctly
9242           return when using unavailable parts.
9243
9244 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9245
9246         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9247         Move all the debug to the CLOCK category, and associate it with
9248         the clock object.
9249
9250 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9251
9252         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9253         Make take_buffer a bit quicker by removing redundant checks
9254         caused by calling gst_adapter_take.
9255
9256 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9257
9258         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9259           Don't leak GCond.
9260
9261         * tests/check/Makefile.am:
9262         * tests/check/elements/.cvsignore:
9263         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9264         (GST_START_TEST), (multiqueue_suite):
9265           Add some dead simple unit tests for the 'multiqueue' element
9266           (some bits don't work yet and are disabled for now).
9267
9268 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9269
9270         * gst/gstelement.c: (gst_element_get_request_pad),
9271         (gst_element_class_get_request_pad_template):
9272           Make gst_element_get_request_pad() create request pads only for
9273           request pad templates and not for, say, sometimes pad templates.
9274
9275 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9276
9277         * docs/design/draft-klass.txt:
9278           Add example that needs more thinking.
9279         
9280         * docs/design/draft-missing-plugins.txt:
9281           More thoughts about wrapper plugins.
9282         
9283         * docs/random/ensonic/embedded.txt:
9284         * docs/random/ensonic/profiling.txt:
9285           More design work.
9286
9287 2007-03-25  Wim Taymans  <wim@fluendo.com>
9288
9289         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9290         (gst_base_src_loop):
9291         Only push the segment events in the PLAYING state for live sources.
9292
9293 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9294
9295         * gst/gstpipeline.c: (gst_pipeline_change_state):
9296         Modify the clock distribution path in PAUSED->PLAYING so that we 
9297         never attempt to choose a new clock unless we're actually leaving
9298         the PAUSED state for the first time. This prevents choosing a
9299         different clock when the state_change gets called for a 2nd time due
9300         to some element doing an async state change.
9301
9302 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9303
9304         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9305         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9306         (gst_pad_chain_unchecked), (gst_pad_push):
9307         Revert last commit. This needs some more thoughts.
9308
9309 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9310
9311         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9312         (gst_pad_chain_unchecked), (gst_pad_push):
9313         Check in set_caps if the caps are compatible with the pad and remove
9314         two functions that are redundant now. Fixes #421543.
9315
9316 2007-03-22  Wim Taymans  <wim@fluendo.com>
9317
9318         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9319         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9320         Unref some more to make valgrind happy.
9321
9322 2007-03-22  Wim Taymans  <wim@fluendo.com>
9323
9324         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9325         (gst_system_clock_id_wait_jitter),
9326         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9327         Fix anoying regression that survived a few releases. When adding an
9328         async entry while blocking on a sync entry, the sync entry will unblock
9329         but still be busy, so it should continue to wait instead of returning
9330         _BUSY to the app.
9331         Add some comments here and there.
9332
9333         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9334         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9335         Add testcase for this.
9336
9337 2007-03-22  Wim Taymans  <wim@fluendo.com>
9338
9339         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9340         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9341         WRONG_STATE and can silently pause the task. All other cases should
9342         error out.
9343
9344 2007-03-22  Wim Taymans  <wim@fluendo.com>
9345
9346         Patch by: Ville Syrjala <syrjala at sci dot fi>
9347
9348         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9349         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9350         Improve debugging.
9351
9352 2007-03-21  Michael Smith  <msmith@fluendo.com>
9353
9354         * docs/pwg/advanced-types.xml:
9355           Fix some errors in the typefinding docs pointed out on irc.
9356
9357 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9358
9359         * libs/gst/base/gstbasesrc.c:
9360         Clarify FIXME comment in the face of having added unlock_stop()
9361
9362 2007-03-21  Wim Taymans  <wim@fluendo.com>
9363
9364         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9365         Prepare for release where we warn against possible app breakage in the
9366         case of live pipelines along with an env var to enable/disable live
9367         preroll mode (GST_COMPAT=[no-]live-preroll).
9368
9369 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9370
9371         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9372         So we should use correct constants for checking for None offset.
9373
9374 2007-03-20  Wim Taymans  <wim@fluendo.com>
9375
9376         * docs/design/part-block.txt:
9377         Mention the fact that the newly switched element should be set to at
9378         least PAUSED.
9379
9380 2007-03-20  Wim Taymans  <wim@fluendo.com>
9381
9382         * gst/gst.c:
9383         Fix compilation with registry disabled as spotted by Saur.
9384
9385 2007-03-20  Wim Taymans  <wim@fluendo.com>
9386
9387         Patch by: Olivier Crete <tester at tester dot ca>
9388
9389         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9390         Look at the pending state too when syncing the element state to the
9391         parent. Fixes #420133.
9392
9393 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9394
9395         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9396         (gst_base_sink_change_state):
9397         * libs/gst/base/gstbasesink.h:
9398         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9399         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9400         (gst_base_src_deactivate):
9401         * libs/gst/base/gstbasesrc.h:
9402         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9403         for sub-classes to correctly clear any state they set trying to
9404         unlock, such as clearing out unlock commands from a command fd.
9405         API: basesrc::unlock_stop
9406         API: basesink::unlock_stop
9407
9408         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9409         (gst_fd_sink_render), (gst_fd_sink_unlock),
9410         (gst_fd_sink_unlock_stop):
9411         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9412         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9413         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9414
9415         Implement unlock_stop in fdsrc and fdsink.
9416         Implement seeking in fdsrc when a seekable fd is passed, as in
9417         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9418
9419 2007-03-19  Wim Taymans  <wim@fluendo.com>
9420
9421         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9422
9423         * gst/gstelement.c: (gst_element_class_init):
9424         Fix pad-added and pad-removed signal signatures so that the pad type is
9425         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9426
9427 2007-03-19  Wim Taymans  <wim@fluendo.com>
9428
9429         * docs/gst/gstreamer-sections.txt:
9430         Add new element field and method.
9431
9432         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9433         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9434         (gst_bin_recalc_state), (gst_bin_get_state_func),
9435         (gst_bin_element_set_state), (gst_bin_change_state_func),
9436         (gst_bin_continue_func), (bin_bus_handler),
9437         (bin_push_state_continue), (bin_handle_async_start),
9438         (bin_handle_async_done), (gst_bin_handle_message_func):
9439         Make async state changes a bit smarter by using new ASYNC_START and
9440         ASYNC_DONE messages. This reduces the number of times we run the state
9441         recalculation thread.
9442         Don't change state of element with a pending ASYNC_START message.
9443         Deprecate STATE_DIRTY messages.
9444         
9445         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9446         (gst_element_get_state_func), (gst_element_continue_state),
9447         (gst_element_lost_state), (gst_element_set_state_func),
9448         (gst_element_change_state):
9449         * gst/gstelement.h:
9450         Keep the state that was last set by the app in a new element field.
9451         Don't allow state changes when handling an element event.
9452         Post ASYNC_START and ASYNC_DONE messages.
9453         Change lost_state so that we go to PAUSED and wait for the parent to set
9454         us to PLAYING again (so latency calculation can be performed)
9455         Export gst_element_change_state() method so that subclasses can use it.
9456         API: gst_element_change_state()
9457         API: GST_STATE_TARGET
9458
9459         * gst/gstpipeline.c: (gst_pipeline_class_init),
9460         (reset_stream_time), (gst_pipeline_change_state),
9461         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9462         Using the new ASYNC_START message we can reset the base_time when
9463         needed. This can then be used to implement base_time redistribution in
9464         flushing seeks so that we can remove the explicit seek handling.
9465         Perform latency query and configuration when going to PLAYING.
9466
9467         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9468         (gst_base_sink_query), (gst_base_sink_change_state):
9469         Post new ASYNC_START/ASYNC_DONE messages.
9470
9471         * tests/check/generic/sinks.c: (GST_START_TEST):
9472         Fix test because the bin will not set the async element to PLAYING right
9473         away.
9474
9475         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9476         Make the message check a little stronger.
9477         Handle ASYNC messages.
9478
9479         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9480         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9481         Expect ASYNC_DONE messages.
9482
9483 2007-03-19  Wim Taymans  <wim@fluendo.com>
9484
9485         * docs/gst/gstreamer-sections.txt:
9486         * gst/gstmessage.c: (gst_message_new_async_start),
9487         (gst_message_new_async_done), (gst_message_parse_info),
9488         (gst_message_parse_async_start):
9489         * gst/gstmessage.h:
9490         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9491         support.
9492
9493 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9494
9495         * tools/gst-inspect.c:
9496         (print_plugin_automatic_install_info_codecs):
9497           Now that we don't check for the 'Codec' keyword any longer in the
9498           klass, we shouldn't spew a warning if the klass isn't a decoder or
9499           encoder (since it might be a Source/Network, for example).
9500
9501 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9502
9503         * tools/gst-inspect.c:
9504         (print_plugin_automatic_install_info_codecs):
9505           Don't require decoder/demuxer/depayloader elements or
9506           encoder/muxer/paylader elements to have 'Codec' as part of their
9507           factory class string when introspecting a plugin's capabilities.
9508           draft-klass.txt mentions that it might be removed in future, and
9509           flump3dec doesn't have it as part of its class string, so chances
9510           are others might also not have it.
9511
9512 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9513
9514         * po/af.po:
9515         * po/az.po:
9516         * po/bg.po:
9517         * po/ca.po:
9518         * po/cs.po:
9519         * po/de.po:
9520         * po/en_GB.po:
9521         * po/fr.po:
9522         * po/it.po:
9523         * po/nb.po:
9524         * po/nl.po:
9525         * po/ru.po:
9526         * po/sq.po:
9527         * po/sr.po:
9528         * po/sv.po:
9529         * po/tr.po:
9530         * po/uk.po:
9531         * po/vi.po:
9532         * po/zh_CN.po:
9533         * po/zh_TW.po:
9534           Update translations from translation project
9535
9536 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9537
9538         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9539         (gst_child_proxy_set_property):
9540           Invert precondition check to be alike the ones in the mimiced gobject
9541           api.
9542
9543 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9544
9545         * docs/design/draft-tagreading.txt:
9546         * docs/random/ensonic/audiobaseclasses.txt:
9547           Do some Architect work.
9548
9549         * gst/gstobject.c: (gst_object_set_name):
9550           Add a WARNING.
9551
9552         * gst/gstpad.c:
9553           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9554
9555 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9556
9557         * gst/gstsystemclock.c: (gst_system_clock_init),
9558         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9559         Defer starting the async system clock thread until the first async
9560         wait is scheduled. Fixes #414986.
9561
9562 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9563
9564         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9565         (gst_single_queue_free):
9566           Fix small leak (free GstSingleQueue structure too, not only contents).
9567
9568 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9569
9570         * gst/gstbin.c:(gst_bin_add):
9571         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9572         * win32/common/libgstbase.def:
9573         * win32/common/libgstreamer.def:
9574         Add new exported functions.
9575
9576 2007-03-09  Wim Taymans  <wim@fluendo.com>
9577
9578         * docs/plugins/gstreamer-plugins-sections.txt:
9579         Fix GstTee docs.
9580
9581 2007-03-09  Wim Taymans  <wim@fluendo.com>
9582
9583         * docs/gst/gstreamer-sections.txt:
9584         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9585         * gst/gstbuffer.h:
9586         Add metadata copy functions. Fixes #393099.
9587         API: gst_buffer_copy_metadata()
9588
9589         * gst/gstutils.c: (gst_buffer_stamp):
9590         * libs/gst/base/gstbasetransform.c:
9591         (gst_base_transform_prepare_output_buffer):
9592         Use new metadata copy functions.
9593
9594 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9595
9596         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9597         (gst_identity_init), (gst_identity_check_perfect),
9598         (gst_identity_check_imperfect_timestamp),
9599         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9600         (gst_identity_set_property), (gst_identity_get_property):
9601         * plugins/elements/gstidentity.h:
9602         Separate out check-imperfect-timestamp and check-imperfect-offset.
9603         Put back check-perfect as it was to keep compatibility.
9604
9605 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9606
9607         * gst/gstelement.c: (gst_element_dispose):
9608         There's no need to warn if VOID_PENDING is not NONE here, as
9609         long as the state is NULL it's ok, and that's checked immediately
9610         above.
9611
9612 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9613
9614         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9615         Fix check for perfect stream to ignore buffers with -1 
9616         offsets/offset ends when checking data contiguity.
9617
9618 2007-03-08  Wim Taymans  <wim@fluendo.com>
9619
9620         * tools/gst-launch.c: (event_loop):
9621         Print INFO messages.
9622
9623 2007-03-08  Wim Taymans  <wim@fluendo.com>
9624
9625         * libs/gst/base/gstbasetransform.c:
9626         (gst_base_transform_sink_eventfunc),
9627         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9628         (gst_base_transform_activate):
9629         * libs/gst/base/gstbasetransform.h:
9630         Add support for dropping buffers with custom GstFlowReturn.
9631         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9632         buffers or dropped buffers.
9633
9634         * docs/libs/gstreamer-libs-sections.txt:
9635         docs for new custom return code.
9636
9637         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9638         Use drop support in base class to implement drop-probability.
9639
9640 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9641
9642         * gst/gst.c: (load_plugin_func):
9643         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9644         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9645         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9646           Remove newlines at end of debug log strings.
9647
9648 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9649
9650         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9651         Only post bus message at max, once per buffer received.
9652
9653 2007-03-07  Wim Taymans  <wim@fluendo.com>
9654
9655         * docs/design/Makefile.am:
9656         * docs/design/part-synchronisation.txt:
9657         Add doc about synchronisation
9658
9659         * docs/design/draft-latency.txt:
9660         * docs/design/part-TODO.txt:
9661         * docs/design/part-clocks.txt:
9662         * docs/design/part-events.txt:
9663         * docs/design/part-gstbus.txt:
9664         * docs/design/part-gstpipeline.txt:
9665         * docs/design/part-live-source.txt:
9666         * docs/design/part-messages.txt:
9667         * docs/design/part-overview.txt:
9668         * docs/design/part-streams.txt:
9669         * docs/design/part-trickmodes.txt:
9670         Documentation updates.
9671
9672 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9673
9674         * gstreamer.doap:
9675         Update the doap file.
9676
9677 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9678
9679         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9680         Rename non-perfect to imperfect for Mike and for the sanctity of the
9681         language.
9682         Also make sure bus message gets emitted for data-incontiguities.
9683
9684 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9685
9686         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9687         (gst_identity_start):
9688         * plugins/elements/gstidentity.h:
9689         Emit bus message if check-perfect is true and we encounter a
9690         non-perfect stream between 2 consecutive buffers.
9691         Fixes #415394.
9692
9693 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9694
9695         * configure.ac:
9696         Back to CVS
9697
9698 === release 0.10.12 ===
9699
9700 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9701
9702         * configure.ac:
9703           releasing 0.10.12, "Inevitable Demise"
9704
9705 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9706
9707         * configure.ac:
9708          Version 0.10.11.2 (0.10.12 pre-release)
9709          Bump libtool versioning.
9710
9711 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9712
9713         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9714           Log flow-names and not numbers.
9715
9716 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9717
9718         * configure.ac:
9719           Convert to new AG_GST style.
9720
9721 2007-02-28  Wim Taymans  <wim@fluendo.com>
9722
9723         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9724         Don't unref query twice.
9725
9726 2007-02-28  Wim Taymans  <wim@fluendo.com>
9727
9728         * gst/gstvalue.c: (gst_value_transform_object_string),
9729         (_gst_value_initialize):
9730         Implement GstObject -> string transform so we print object names
9731         when serializing GValues containing GstObjects.
9732
9733 2007-02-28  Wim Taymans  <wim@fluendo.com>
9734
9735         * docs/gst/gstreamer-sections.txt:
9736         Add new stuff to docs.
9737
9738 2007-02-28  Wim Taymans  <wim@fluendo.com>
9739
9740         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9741         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9742         (gst_base_sink_change_state):
9743         Improve latency query code.
9744         Don't leak latency events.
9745
9746         * tests/check/gst/gstbin.c: (GST_START_TEST):
9747         Improve debugging.
9748
9749 2007-02-28  Wim Taymans  <wim@fluendo.com>
9750
9751         * gst/gstelement.c: (gst_element_message_full),
9752         (gst_element_get_state_func):
9753         * gst/gstelement.h:
9754         Improve docs a little. Added Since: for new macro.
9755
9756         * gst/gstobject.c: (gst_object_sink):
9757         * gst/gstpipeline.c: (gst_pipeline_change_state),
9758         (gst_pipeline_set_new_stream_time):
9759         * gst/gstpipeline.h:
9760         Improve debugging and docs.
9761
9762         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9763         Improve debugging.
9764
9765 2007-02-28  Wim Taymans  <wim@fluendo.com>
9766
9767         * gst/gstelement.c: (gst_element_message_full),
9768         (gst_element_set_locked_state), (gst_element_get_state_func),
9769         (gst_element_change_state):
9770         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9771         Documentation updates.
9772         Small code cleanups.
9773
9774         * gst/gstmessage.c: (gst_message_new_info),
9775         (gst_message_parse_info):
9776         * gst/gstmessage.h:
9777         API: gst_message_new_info()
9778         API: gst_message_parse_info()
9779         Add INFO message create and parse code.
9780
9781 2007-02-28  Wim Taymans  <wim@fluendo.com>
9782
9783         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9784         (bin_query_latency_done):
9785         Also report the live parameter of a latency query.
9786
9787 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9788
9789         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9790           Copy the current generic/states example from -base and adapt so
9791           we can use the exact same code everywhere.
9792           Check a STATES_IGNORE_ELEMENTS env var which can be used
9793           to ignore certain element factories for this test, which is
9794           what is being done in -base
9795         * tests/check/Makefile.am:
9796           Mention this environment variable.
9797
9798 2007-02-27  Wim Taymans  <wim@fluendo.com>
9799
9800         * docs/gst/gstreamer-sections.txt:
9801         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9802         (gst_bus_timed_pop), (gst_bus_pop):
9803         * gst/gstbus.h:
9804         API: gst_bus_timed_pop()
9805         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9806         message to arrive on the bus.
9807
9808         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9809         (gst_bus_suite):
9810         Two unit tests for new _timed_pop() function.
9811
9812 2007-02-23  Wim Taymans  <wim@fluendo.com>
9813
9814         * gst/gstpipeline.c: (gst_pipeline_change_state),
9815         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9816         Don't ref a NULL clock in _provide_clock_func().
9817         Don't allow an INVALID delay.
9818         Don't try to calculate base_time with an invalid start_time.
9819         Also distribute and notify a NULL clock when it was selected.
9820
9821         * tools/gst-launch.c: (event_loop):
9822         Don't crash when a NULL clock was selected in the pipeline.
9823
9824 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9825
9826         * docs/design/Makefile.am:
9827         * docs/design/draft-missing-plugins.txt:
9828         * docs/random/draft-missing-plugins.txt:
9829           Some small updates: update plugin system identifier prefix
9830           ('gstreamer.net' to 'gstreamer'), mention our new install
9831           API in libgstbaseutils rather than libgimme-codec, add
9832           reference to the online docs.
9833
9834 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9835
9836         * win32/common/config.h:
9837           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9838           use moap cl ci to only check in what is mentioned in the ChangeLog.
9839
9840 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9841
9842         * docs/gst/gstreamer-sections.txt:
9843         * gst/gstelement.h:
9844           Fix up documentation to link to the correct GstGError section.
9845           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9846
9847 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9848
9849         * tools/gst-launch.c: (event_loop):
9850           Make sure that we actually show the important message part of a
9851           warning message.
9852           No need to check if the gerror is not NULL to free; first of all
9853           g_free accepts NULL; and second the default error handler would
9854           segfault if gerror was NULL.
9855
9856 2007-02-21  Wim Taymans  <wim@fluendo.com>
9857
9858         * docs/gst/gstreamer-sections.txt:
9859         Removed docs as well.
9860
9861 2007-02-21  Wim Taymans  <wim@fluendo.com>
9862
9863         * gst/gstmessage.c: (gst_message_parse_duration):
9864         * gst/gstmessage.h:
9865         Remove new messages for release.
9866
9867 2007-02-20  Wim Taymans  <wim@fluendo.com>
9868
9869         * docs/design/part-gstghostpad.txt:
9870         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9871         (gst_ghost_pad_new_full):
9872         Make the ghostpad a parent of the internal pad again for better backward
9873         compatibility. Don't write code that relies on this however.
9874
9875         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9876         (gst_pad_link_check_hierarchy):
9877         Require that parents should be GstElements in the hierarchy check.
9878
9879 2007-02-20  Wim Taymans  <wim@fluendo.com>
9880
9881         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9882         (gst_bin_change_state_func), (bin_query_min_max_init),
9883         (bin_query_latency_fold), (bin_query_latency_done),
9884         (gst_bin_query):
9885         Improve debug info.
9886         Implement latency query.
9887
9888 2007-02-20  Wim Taymans  <wim@fluendo.com>
9889
9890         * docs/design/part-gstghostpad.txt:
9891         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9892         (gst_ghost_pad_internal_do_activate_push),
9893         (gst_ghost_pad_internal_do_activate_pull),
9894         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9895         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9896         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9897         Do not set the internal pad as a parent anymore so we can avoid
9898         hierarchy linking errors when the ghostpad has no parent yet. This also
9899         fixes failed activation because of unlinked internal pads, which in
9900         turn fixes the impossible case where you have to activate a pad before
9901         you can add it to a running element.
9902         Also fix the docs.
9903
9904         * gst/gstpad.c: (pre_activate), (post_activate),
9905         (gst_pad_set_active), (gst_pad_activate_pull),
9906         (gst_pad_activate_push), (gst_pad_check_pull_range):
9907         Add some more debug info.
9908         Mark activation mode in pre_activate so that we don't try to activate in
9909         endless loops. Fixes #385084.
9910
9911 2007-02-19  Wim Taymans  <wim@fluendo.com>
9912
9913         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9914         (gst_base_transform_check_get_range):
9915         Implement a checkgetrange function instead of relying on the default
9916         core behaviour that assumes we can operate in pull mode if we have a
9917         getrange function. First step at fixing #385084.
9918
9919 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9920
9921         * gst/gstchildproxy.h:
9922         * libs/gst/base/gstbasesink.h:
9923         * libs/gst/base/gstbasesrc.h:
9924         * libs/gst/base/gstbasetransform.h:
9925         More docs coverage and some ChangeLog surgery (add missing names)
9926
9927 2007-02-15  Wim Taymans  <wim@fluendo.com>
9928
9929         * docs/design/part-TODO.txt:
9930         * docs/design/part-activation.txt:
9931         * docs/design/part-block.txt:
9932         * docs/design/part-buffering.txt:
9933         * docs/design/part-clocks.txt:
9934         * docs/design/part-element-source.txt:
9935         * docs/design/part-events.txt:
9936         * docs/design/part-gstbin.txt:
9937         * docs/design/part-gstbus.txt:
9938         * docs/design/part-gstpipeline.txt:
9939         * docs/design/part-live-source.txt:
9940         * docs/design/part-messages.txt:
9941         * docs/design/part-overview.txt:
9942         * docs/design/part-qos.txt:
9943         * docs/design/part-query.txt:
9944         * docs/design/part-states.txt:
9945         * docs/design/part-trickmodes.txt:
9946         Some doc updates. Start renaming from stream_time to running_time where
9947         it was used wrongly.
9948
9949 2007-02-15  Wim Taymans  <wim@fluendo.com>
9950
9951         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9952         Answer LATENCY query.
9953
9954 2007-02-15  Wim Taymans  <wim@fluendo.com>
9955
9956         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9957         (GST_START_TEST):
9958         Improve debugging.
9959
9960 2007-02-15  Wim Taymans  <wim@fluendo.com>
9961
9962         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9963         (gst_pad_dispatcher):
9964         Improve debugging of default pad dispatcher and query functions.
9965
9966 2007-02-15  Wim Taymans  <wim@fluendo.com>
9967
9968         * docs/gst/gstreamer-sections.txt:
9969         Remove old unused method.
9970
9971 2007-02-13  Wim Taymans  <wim@fluendo.com>
9972
9973         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9974         Fix check
9975
9976 2007-02-13  Wim Taymans  <wim@fluendo.com>
9977
9978         * docs/design/part-seeking.txt:
9979         Some small update.
9980
9981         * gst/gstsegment.c: (gst_segment_set_seek):
9982         Revert old bogus change that should make seeking work again.
9983
9984 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9985
9986         * docs/random/ensonic/dynlink.txt:
9987         * docs/random/ensonic/interfaces.txt:
9988         * docs/random/ensonic/receipies.txt:
9989           Possible dynamic reconnection api, plus some type fixes the other two
9990           docs.
9991
9992 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9993
9994         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9995         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9996         Also check for an absolute path following file:// in the filesrc
9997         element. Remove redundant check and call g_path_is_absolute() on the
9998         unescaped location.
9999
10000 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10001
10002         * docs/design/draft-klass.txt:
10003           Add existing category analysis.
10004           
10005         * gst/gstcaps.c:
10006           Fix doc example, framerate is a fraction.
10007
10008 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10009
10010         * configure.ac:
10011         * docs/gst/Makefile.am:
10012         * docs/gst/gstreamer-sections.txt:
10013         * docs/libs/Makefile.am:
10014           Erm, forgot a bunch of --extra-dir.
10015
10016 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10017
10018         * configure.ac:
10019         * docs/gst/Makefile.am:
10020         * docs/libs/Makefile.am:
10021         * docs/plugins/Makefile.am:
10022           Add crossreferences to glib/gobject docs.
10023
10024 2007-02-12  Wim Taymans  <wim@fluendo.com>
10025
10026         * docs/design/draft-latency.txt:
10027         Small update.
10028
10029         * docs/libs/gstreamer-libs-sections.txt:
10030         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10031         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10032         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10033         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10034         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10035         (gst_base_sink_get_position), (gst_base_sink_query),
10036         (gst_base_sink_change_state):
10037         * libs/gst/base/gstbasesink.h:
10038         API: gst_base_sink_query_latency() to let subclasses query the upstream
10039         latency.
10040         API: gst_base_sink_get_latency() to let subclasses query the configured
10041         latency in the sink.
10042         Implement query and set latency.
10043         Update some docs.
10044         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10045         don't continue preroll when we are flushing. Fixes #405284.
10046
10047         * tests/check/pipelines/stress.c: (change_state_timeout),
10048         (quit_timeout), (GST_START_TEST), (stress_suite):
10049         Test for #405284.
10050
10051 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10052
10053         Patch by: René Stadler <mail at renestadler de>
10054
10055         * docs/gst/gstreamer-sections.txt:
10056         * gst/gsttaglist.c: (_gst_tag_initialize):
10057         * gst/gsttaglist.h:
10058           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10059
10060 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10061
10062         * docs/libs/Makefile.am:
10063           Fix path to core docs.
10064
10065         * gst/gstbin.c: (gst_bin_get_by_interface),
10066         (gst_bin_iterate_all_by_interface):
10067           Refix docs by also renaming 'interface' to 'iface' in implementation.
10068
10069         * docs/gst/gstreamer-sections.txt:
10070         * gst/gstcaps.c:
10071         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10072         * gst/gstchildproxy.h:
10073         * gst/gstelementfactory.c:
10074         * gst/gstpadtemplate.h:
10075         * libs/gst/controller/gstcontroller.c:
10076         (gst_controlled_property_new):
10077           Document more.
10078
10079 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10080
10081         * gst/gstbin.h:(gst_bin_get_by_interface),
10082         (gst_bin_iterate_all_by_interface):
10083         Replace interface parameter name by iface as interface is 
10084         a reserved keyword in Visual Studio for C++ projects so it removes
10085         a build error for application developpers using VS.
10086         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10087         Fix a bug on Windows in uri format check. Now the prefix checked
10088         is file:// and next we check if the path after file:// is absolute.
10089         * win32/common/libgstbase.def:
10090         * win32/common/libgstdataprotocol.def:
10091         * win32/common/libgstgstreamer.def:
10092         Add new exported functions.
10093
10094 2007-02-09  Andy Wingo  <wingo@pobox.com>
10095
10096         * tests/check/pipelines/simple-launch-lines.c
10097         (simple_launch_lines_suite, test_tee): Disable tee test until I
10098         have time to fix it :-(
10099
10100         * tests/check/Makefile.am (noinst_HEADERS): 
10101         * tests/check/libs/libsabi.c: 
10102         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10103         * tests/check/gst/gstabi.c: 
10104         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10105
10106         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10107         tests for push and pull tee behavior.
10108
10109         * plugins/elements/gsttee.h: 
10110         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10111         mark as deprecated as well as unimplemented. It was a crack idea.
10112         Add support for tee operating in pull mode, off by default.
10113
10114         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10115         normal-case logs down to LOG, raise errors to WARNING.
10116         (gst_registry_xml_read_cache): Don't log before calling a function
10117         that logs.
10118
10119         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10120         exit (registry finalize).
10121         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10122         DEBUG log when we emit signals that people don't even have the
10123         chance to connect to.
10124         (gst_registry_scan_path_level): Less logging in the normal case.
10125
10126 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10127
10128         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10129
10130         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10131         Correctly generate EOS for non-seekable files. We don't have a total
10132         length for them and would get an unexpected end of file if we only
10133         special-cased for regular files. (Fixes: #404569)
10134
10135 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10136
10137         * tests/check/elements/filesrc.c: (GST_START_TEST),
10138         (filesrc_suite):
10139         Add unit test for the GstURIHandler interface in filesrc. This also
10140         tests the newly added file://localhost/foo/bar support.
10141
10142 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10143
10144         * gst/gstelementfactory.h:
10145           The klass string is not a hierarchy. Add reference to the design doc
10146           for more information and common types.
10147
10148 2007-02-02  Wim Taymans  <wim@fluendo.com>
10149
10150         * gst/gstquery.c: (gst_query_new_latency):
10151         Remove old structure field.
10152
10153 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10154
10155         * tools/gst-launch.1.in:
10156           Give example for network streaming (#351998)
10157
10158 2007-02-02  Wim Taymans  <wim@fluendo.com>
10159
10160         * docs/gst/gstreamer-sections.txt:
10161         Add docs for new methods.
10162
10163         * gst/gstevent.c: (gst_event_new_latency),
10164         (gst_event_parse_latency):
10165         * gst/gstevent.h:
10166         Add new LATENCY event to configure latency in a pipeline.
10167         API: gst_event_new_latency
10168         API: gst_event_parse_latency
10169
10170         * gst/gstmessage.c: (gst_message_new_buffering),
10171         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10172         (gst_message_new_latency), (gst_message_parse_buffering),
10173         (gst_message_parse_lost_preroll):
10174         * gst/gstmessage.h:
10175         Added messages used in draft-latency.
10176         API: gst_message_new_lost_preroll
10177         API: gst_message_parse_lost_preroll
10178         API: gst_message_new_prerolled
10179         API: gst_message_new_latency
10180
10181         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10182         (gst_query_parse_latency):
10183         * gst/gstquery.h:
10184         Implemented new latency query as in design doc.
10185         API: gst_query_new_latency
10186         API: gst_query_set_latency
10187         API: gst_query_parse_latency
10188
10189 2007-02-02  Wim Taymans  <wim@fluendo.com>
10190
10191         * docs/design/draft-latency.txt:
10192         Slight redesign to allow for dynamic latency adjustments.
10193
10194         * docs/design/part-negotiation.txt:
10195         Fix some typos.
10196
10197 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10198
10199         reviewed by: Wim Taymans <wim@fluendo.com>
10200
10201         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10202         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10203         Allow file://localhost/foo/bar URLs and correctly fail for every other
10204         hostname that one sets. This was gnomevfssrc is linked for those if
10205         installed as it can handle it (#403172)
10206
10207 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10208
10209         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10210
10211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10212         (unref_data), (gst_collect_pads_add_pad_full):
10213         * libs/gst/base/gstcollectpads.h:
10214         Don't put the previously added destroy notify in the GstCollectData
10215         struct as all it's padding is already used and we don't want to break
10216         ABI. Instead put in the pad's GObject data for now. This should be
10217         cleaned up for 0.11 (#402393).
10218
10219 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10220
10221         reviewed by: Wim Taymans <wim@fluendo.com>
10222
10223         * docs/libs/gstreamer-libs-sections.txt:
10224         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10225         (unref_data), (gst_collect_pads_add_pad),
10226         (gst_collect_pads_add_pad_full):
10227         * libs/gst/base/gstcollectpads.h:
10228         API: Add function to specify a destroy notification for custom
10229         GstCollectData when adding new pads in GstCollectPads (#402393).
10230
10231 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10232
10233         * po/sv.po:
10234           Update Swedish translation (#378255).
10235
10236 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10237
10238         * docs/design/draft-klass.txt:
10239           Fix the previous change, this is a list of categories and not a hierarchy.
10240
10241 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10242
10243         * docs/design/draft-klass.txt:
10244           Add info about how to get a list of used classes.
10245
10246 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10247
10248         * plugins/elements/gsttypefindelement.c:
10249         (gst_type_find_element_chain_do_typefinding),
10250         (gst_type_find_element_change_state):
10251           Don't leak found caps in chain function (no idea why that never
10252           showed up as a leak anywhere).
10253
10254 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10255
10256         * gst/gstplugin.h:
10257           Fix and expand GstPluginDesc API docs.
10258
10259 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10260
10261         * gst/gstcaps.c:
10262         * gst/gstelementfactory.c:
10263         * gst/gstpadtemplate.h:
10264           api doc fixes
10265
10266         * libs/gst/controller/gstcontroller.c:
10267         (gst_controlled_property_new):
10268         * tests/examples/controller/audio-example.c:
10269           comment fixes
10270
10271 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10272
10273         * configure.ac:
10274           comment about refining the xml deps
10275
10276         * docs/manuals.mak:
10277           comments about moving away from jade for docs
10278         
10279         * gst/gst.c:
10280           recommit the ifdefs to use the binary registry
10281         
10282         * gst/gstbin.c: (gst_bin_change_state_func):
10283           this break is obsolete
10284
10285         * gst/gstelementfactory.h:
10286           better GST_ELEMENT_DETAILS docs, add comment about translation
10287
10288         * gst/gstinfo.h:
10289           remove eol slash
10290
10291         * gst/gstobject.c: (gst_signal_object_get_type):
10292           add G_UNLIKELY as usual
10293
10294         * gst/gstpad.c: (gst_pad_event_default):
10295           add fall trhu comment
10296
10297         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10298         (gst_registry_binary_initialize_magic),
10299         (gst_registry_binary_save_string),
10300         (gst_registry_binary_save_pad_template),
10301         (gst_registry_binary_save_feature),
10302         (gst_registry_binary_save_plugin),
10303         (gst_registry_binary_write_cache),
10304         (gst_registry_binary_check_magic),
10305         (gst_registry_binary_load_pad_template),
10306         (gst_registry_binary_load_feature),
10307         (gst_registry_binary_load_plugin),
10308         (gst_registry_binary_read_cache):
10309           comment typo and formatting
10310
10311         * gst/gstutils.c: (gst_element_state_get_name),
10312         (gst_element_state_change_return_get_name):
10313           remove obsolete breaks
10314
10315         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10316           add FIXME 0.11 and remove cpp comment
10317
10318 2007-01-29  Edward Hervey  <edward@fluendo.com>
10319
10320         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10321         Fix print statement in an even more portable way.
10322
10323 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10324
10325         * docs/gst/gstreamer-sections.txt:
10326         * gst/gstutils.h:
10327           API: add GST_ROUND_DOWN_* macros (#401781).
10328
10329 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10330
10331         * docs/gst/gstreamer.types.in:
10332         * gst/gstregistry.c: (gst_registry_class_init):
10333           Document registry signals and make gtk-doc pick them up (#401381).
10334
10335 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10336
10337         * docs/pwg/building-testapp.xml:
10338           Add some audioconverts and audioresample to the pipeline, and some
10339           more comments and error handling.
10340
10341 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10342
10343         * docs/manual/manual.xml:
10344         * docs/pwg/pwg.xml:
10345           Fix typo (#400987).
10346
10347 2007-01-26  Wim Taymans  <wim@fluendo.com>
10348
10349         * gst/gstcaps.c: (gst_static_caps_get):
10350         Init caps flags too.
10351
10352 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10353
10354         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10355
10356         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10357         If not using mmap'ed files try to seek to the end instead of the
10358         start to determine whether we can seek at all. This fixes the case
10359         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10360         seeks for everything afterwards fail. Fixes #400656
10361
10362 2007-01-25  Wim Taymans  <wim@fluendo.com>
10363
10364         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10365         Add some refcount debugging.
10366         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10367         in multiple streaming threads.
10368
10369 2007-01-25  Wim Taymans  <wim@fluendo.com>
10370
10371         Patch by: David Schleef <ds at schleef dot org>
10372
10373         * docs/libs/gstreamer-libs-sections.txt:
10374         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10375         * libs/gst/base/gstadapter.h:
10376         API: gst_adapter_copy() that can reduce the amount of memcpy when
10377         getting data from the adapter. Fixes #388201.
10378
10379 2007-01-25  Edward Hervey  <edward@fluendo.com>
10380
10381         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10382         In print statements, "%x" is for guint. Fixes build on macosx.
10383
10384 2007-01-24  Edward Hervey  <edward@fluendo.com>
10385
10386         * plugins/elements/gstmultiqueue.c:
10387         (gst_multi_queue_loop):
10388         Small fix.
10389         (single_queue_overrun_cb), (single_queue_underrun_cb),
10390         (single_queue_check_full), (gst_single_queue_new):
10391         Implement single queue growth system.
10392         This uses the extra-size properties, and will grow single queues by
10393         that much if one goes full whereas there are others empty. This is
10394         called extra-mode in the code.
10395         When a single queue's levels go back below the initial max-size
10396         limits, it is no longer in extra-mode. This is to ensure we don't
10397         consume too much memory.
10398         Fixes #399875
10399
10400 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10401
10402         * gst/gst.c: (gst_init_get_option_group):
10403           Make warning about late g_thread_init() calls a bit more explicit,
10404           so that it's more obvious to application developers what they need
10405           to do if a user files a bug against their application.
10406
10407 2007-01-22  Edward Hervey  <edward@fluendo.com>
10408
10409         * plugins/elements/gstmultiqueue.c:
10410         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10411         Remove previous hack of unsetting the flushing flag for the source pad
10412         instead of activating it. Instead, fix the source pad activate function
10413         so that it no longer depends on having a parent set or not.
10414
10415 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10416
10417         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10418
10419         * docs/manual/basics-bus.xml:
10420           Fix example code, gst_element_unref() doesn't exist any longer.
10421
10422 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10423
10424         Patch by: Mark Nauwelaerts <manauw at skynet be>
10425
10426         * gst/gstpad.c:
10427           Fix two docs typoes (#399094).
10428
10429 2007-01-19  Edward Hervey  <edward@fluendo.com>
10430
10431         * docs/faq/gst-uninstalled:
10432         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10433         depending on libgstbaseutils can work in uninstalled environment.
10434
10435 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10436
10437         * gst/gsttaglist.h:
10438         * gst/gsttagsetter.c:
10439         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10440         statement for new tag.
10441
10442 2007-01-17  Edward Hervey  <edward@fluendo.com>
10443
10444         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10445         When dynamically creating single queues, activate sinkpad before adding
10446         it.
10447         We should be doing the same thing for the source pad, but we can't
10448         since it would call a method which needs the parent to be set in order
10449         to work propertly. Instead of activating the source pad, we just unset
10450         the flushing flag, which is the minimal requirement for adding a pad
10451         to an element in a state greater than READY.
10452
10453 2007-01-17  Edward Hervey  <edward@fluendo.com>
10454
10455         * docs/faq/gst-uninstalled:
10456         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10457         Mac OS X.
10458
10459 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10460
10461         * tests/check/gst/gstabi.c:
10462         * tests/check/gst/struct_hppa.h:
10463         * tests/check/libs/libsabi.c:
10464         * tests/check/libs/struct_hppa.h:
10465           Add ABI structs for HPPA (see #393796).
10466
10467 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10468
10469         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10470           Actually write ABI structs to the file specified in the GST_ABI
10471           environment variable, as the message we print claims we would.
10472
10473 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10474
10475         * tests/check/gst/gsttask.c:
10476           Fix header comment.
10477
10478 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10479
10480         * gst/gsttaglist.c: (_gst_tag_initialize):
10481           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10482           previous two entries.
10483
10484 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10485
10486         * docs/gst/gstreamer-sections.txt:
10487         * gst/gsttaglist.c: (_gst_tag_initialize):
10488         * gst/gsttaglist.h:
10489           Add tag support for beat-per-minute.
10490
10491 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10492
10493         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10494         (gst_registry_binary_initialize_magic),
10495         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10496         (gst_registry_binary_save_pad_template),
10497         (gst_registry_binary_save_feature),
10498         (gst_registry_binary_save_plugin),
10499         (gst_registry_binary_write_cache),
10500         (gst_registry_binary_check_magic),
10501         (gst_registry_binary_load_pad_template),
10502         (gst_registry_binary_load_feature),
10503         (gst_registry_binary_load_plugin),
10504         (gst_registry_binary_read_cache):
10505         * gst/gstregistrybinary.h:
10506           Use glib types, cleanup comments, impement interfaces and uri-types.
10507
10508 2007-01-13  Andy Wingo  <wingo@pobox.com>
10509
10510         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10511         getrange() to return buffers with other caps, while we fix
10512         demuxers and typefind, or otherwise change part-negotiation.txt.
10513
10514 2007-01-12  Andy Wingo  <wingo@pobox.com>
10515
10516         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10517         Factor start/stop into this private function instead of partially
10518         in activate functions and partially in the change_state function.
10519         Fixes setup before the element has changed from READY->PAUSED, as
10520         is the case in pull-mode pipelines.
10521         (gst_base_transform_sink_activate_push)
10522         (gst_base_transform_src_activate_pull): Refactor to use
10523         gst_base_transform_activate().
10524         (gst_base_transform_change_state): Removed, not needed any more.
10525
10526         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10527         Truncate before fixating.
10528         
10529         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10530         Don't set_caps() if the result of fixating is ANY, as it's not
10531         supported, and not necessary in the case of a link with no
10532         template caps on either side. Fixes tests/check/libs/basesrc in
10533         some pull-mode tests.
10534
10535         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10536         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10537         (gst_base_transform_src_activate_pull): 
10538         Track the activation mode.
10539         (gst_base_transform_setcaps): In pull mode, when activating the
10540         src pad, after activating the sink pad, activate the sink pad's
10541         peer, as discussed in part-negotiation.txt.
10542
10543         * libs/gst/base/gstbasesrc.h: 
10544         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10545         vmethod, as in basesink.
10546
10547         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10548
10549         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10550         mode, first proxy the setcaps to the peer pad.
10551         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10552         new fixate vmethod.
10553         (gst_base_sink_default_activate_pull): Rename from
10554         gst_base_sink_activate_pull.
10555         (gst_base_sink_negotiate_pull): New function, performs negotiation
10556         in pull mode before calling ::activate_pull().
10557         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10558         vmethod instead of the default implementation. I have no idea how
10559         this worked before. Negotiate before calling activate_pull.
10560
10561         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10562         sink pads in pull mode. In addition to being correct, fixes
10563         filesrc ! decodebin ! identity ! fakesink.
10564         (gst_pad_get_range, gst_pad_pull_range): Don't call
10565         gst_pad_set_caps() if the caps changes; instead error out with
10566         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10567
10568 2007-01-12  Andy Wingo  <wingo@pobox.com>
10569
10570         * docs/design/part-negotiation.txt: Update with more policy.
10571
10572 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10573
10574         * libs/gst/check/gstbufferstraw.h:
10575         * libs/gst/check/gstcheck.h:
10576           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10577           belongs.
10578
10579 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10580
10581         * tests/check/Makefile.am:
10582         * tests/check/gst/.cvsignore:
10583         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10584         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10585         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10586         (GST_START_TEST), (gst_tag_setter_suite):
10587           Add minimal unit test for beforementioned GstTagSetter bug.
10588
10589 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10590
10591         Patch by: René Stadler <mail at renestadler dot de>
10592
10593         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10594           gst_tag_list_merge() returns a new list, so it's not the best idea
10595           to ingore its return value. Effectively meant that tags could only
10596           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10597           Also add function guard to require a non-NULL taglist as input (has
10598           always been so due to gst_tag_list_copy(), just making it explicit).
10599
10600 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10601
10602         * docs/random/draft-missing-plugins.txt:
10603           Some additions: mention new API that is supposed to be used at the
10604           various stages; short blob about new gst-inspect introspection
10605           option; mention potential future problem with plugins that have
10606           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10607
10608 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10609
10610         * tools/gst-inspect.c:
10611         (print_plugin_automatic_install_info_codecs),
10612         (print_plugin_automatic_install_info_protocols),
10613         (print_plugin_automatic_install_info), (main):
10614         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10615         introspect plugin files and get machine-parsable output that corresponds
10616         to the last bit of the missing-plugin installer string (small gotcha:
10617         doesn't take into account ranks).
10618
10619 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10620
10621         * configure.ac:
10622         * docs/gst/gstreamer-sections.txt:
10623         * gst/Makefile.am:
10624         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10625         (gst_registry_lookup_locked):
10626         * gst/gstregistry.h:
10627         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10628         (gst_registry_binary_initialize_magic),
10629         (gst_registry_binary_save_string),
10630         (gst_registry_binary_save_pad_template),
10631         (gst_registry_binary_save_feature),
10632         (gst_registry_binary_save_plugin),
10633         (gst_registry_binary_write_cache),
10634         (gst_registry_binary_check_magic),
10635         (gst_registry_binary_load_pad_template),
10636         (gst_registry_binary_load_feature),
10637         (gst_registry_binary_load_plugin),
10638         (gst_registry_binary_read_cache):
10639         * gst/gstregistrybinary.h:
10640         * gst/gstregistryxml.c: (load_feature),
10641         (gst_registry_xml_read_cache):
10642           commit binary registry (disabled by default, see #359653)
10643
10644 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10645
10646         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10647           Fix 'make check' too.
10648
10649 2007-01-10  Andy Wingo  <wingo@pobox.com>
10650
10651         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10652         notes.
10653         
10654         * docs/design/part-negotiation.txt: Update with, um, one way that
10655         pull-mode negotiation might work?
10656
10657         * gst/gstpad.h: 
10658         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10659         that the pad must be a src pad; makes sense to call it the other
10660         way in pull mode, and the logic is symmetric anyway.
10661
10662 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * plugins/elements/gstfilesink.c:
10665           Include <stdio.h> for fseeko().
10666
10667 2007-01-10  Wim Taymans  <wim@fluendo.com>
10668
10669         * gst/gstevent.c:
10670         * gst/gstevent.h:
10671         Reserve LATENCY event.
10672
10673 2007-01-09  Wim Taymans  <wim@fluendo.com>
10674
10675         * docs/design/draft-latency.txt:
10676         Updates.
10677
10678 2007-01-09  Wim Taymans  <wim@fluendo.com>
10679
10680         * docs/design/draft-latency.txt:
10681         Updates.
10682
10683         * gst/gstelement.h:
10684         * gst/gststructure.c:
10685         * gst/gsttrace.c:
10686         Small typo fixes.
10687
10688 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10689
10690         * tests/check/.cvsignore:
10691           Ignore test-registry.xml as well.
10692
10693 2007-01-09  Wim Taymans  <wim@fluendo.com>
10694
10695         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10696         unref data at the end when we are done with the pad.
10697
10698 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10699
10700         * docs/gst/gstreamer-sections.txt:
10701         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10702         (init_post), (gst_deinit), (gst_update_registry):
10703         * gst/gst.h:
10704           API: add gst_update_registry() (#391296).
10705
10706         * tests/check/Makefile.am:
10707         * tests/check/gst/gstregistry.c:
10708         * tests/check/gst/.cvsignore:
10709           Simple unit test for the above.
10710
10711 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10712
10713         * gst/gstregistry.c: (gst_registry_scan_path_level):
10714           Plugin extension on HP-UX is .sl, add that to the list of approved
10715           plugin extensions (see #393796).
10716
10717         * tests/check/gst/gstpad.c: (GST_START_TEST):
10718           ulong => gulong. Fixes compilation with HP-UX compiler.
10719
10720         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10721           Fix compilation if valgrind headers are not available.
10722
10723 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10724
10725         * win32/common/libgstreamer.def: 
10726           Add new exported function.
10727         * win32/vs6/libgstbase.dsp: 
10728           Add gstdataqueue.c to the build.
10729         * win32/vs6/libgstcoreelements.dsp:
10730           Add gstmultiqueue.c to the build.
10731         
10732 2007-01-06  Andy Wingo  <wingo@pobox.com>
10733
10734         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10735         activate_pull(), providing for a way to specialize the process of
10736         spawning a thread to pull on the sink pad. There is a default
10737         implementation.
10738
10739         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10740         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10741         (gst_base_sink_init): Renamed pad activation functions (inserting
10742         "_pad" in their names). Refactor to use the new activate_pull
10743         vmethod, as appropriate.
10744         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10745         default activate_pull function to start a task pulling from the
10746         sink pad, as before.
10747
10748         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10749         on the pads if necessary, as in push()/chain(). Update docs.
10750         Shouldn't affect existing pull() usage as it is currently only
10751         being used on buffers without caps.
10752
10753 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10754
10755         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10756         (init_pre):
10757           Call g_thread_init() first thing in gst_init() / gst_check_init().
10758           When initialisation is done via gst_init_get_option_group() and
10759           GOption parsing, issue a warning if the GLib thread system has not
10760           been initialised yet by the time gst_init_get_option_group() is
10761           called, as it's quite likely other GLib functions such as
10762           g_option_context_new() have been called already then, and
10763           g_thread_init() must be called before any other GLib function. The
10764           application in question must be fixed in that case, since memory
10765           corruption might happen otherwise.
10766           We issue the warning because even if the GLib folks decide to work
10767           around the problem on their end in future, this is still an issue
10768           with all GLib versions >= 2.10.0, so we should warn until we depend
10769           on a GLib version we know to be safe.
10770           Update documentation as well.
10771           Closes bug #391278.
10772
10773 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10774
10775         * tools/gst-inspect.c: (main):
10776         * tools/gst-launch.c: (main):
10777         * tools/gst-typefind.c: (main):
10778         * tools/gst-xmlinspect.c: (main):
10779           Call g_thread_init() really really early, before any other GLib
10780           function (see #342564 and recent discussion on gtk-devel-list).
10781
10782 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10783
10784         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10785
10786         * gst/gst_private.h:
10787         * gst/gstconfig.h.in:
10788         * gst/gstinfo.h:
10789           On win32, all the __declspec stuff for symbol exporting is
10790           apparently only needed with MSVC, but doesn't work with MingW.
10791           Fixes compilation with MingW and #391909.
10792
10793 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10794
10795         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10796           Change some GST_ERROR_OBJECT that aren't really errors to
10797           GST_WARNING_OBJECT in order to reduce terminal spam.
10798
10799 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10800
10801         * tests/check/Makefile.am:
10802           disable test again, as there seem to be still race problems
10803
10804 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10805
10806         * tests/check/Makefile.am:
10807         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10808         (GST_START_TEST), (queue_suite):
10809           enable queue test again, add tests for the leaky behaviour
10810
10811 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10812
10813         * configure.ac:
10814         * tests/examples/Makefile.am:
10815           Compile adapter test/example only if the required headers are
10816           available (fixes #391915).
10817
10818 2007-01-01  David Schleef  <ds@schleef.org>
10819
10820         * gst/gstplugin.c:
10821           Restore the previous signal handler for SIGSEGV instead of
10822           setting to default, since we may have stolen it away from
10823           someone.  (i.e., Mono)
10824
10825 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10826
10827         * docs/random/draft-missing-plugins.txt:
10828           Some small additions and clarifications.
10829
10830 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10831
10832         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10833           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10834           since that can lead to random memory corruptions and crashes
10835           (may or may not be related to #383244, #386711, and #386711).
10836
10837 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10838
10839         * tests/check/.cvsignore:
10840         * tests/check/Makefile.am:
10841           sync .cvsignome and CLEANFILES
10842
10843 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10844
10845         * tests/check/Makefile.am:
10846           fix distcheck
10847
10848 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10849
10850         * docs/design/part-states.txt:
10851           two tiny additional comments
10852         
10853         * gst/gststructure.c:
10854           doc fixing
10855
10856         * tests/check/Makefile.am:
10857         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10858         (GST_START_TEST):
10859           disable test for now, unless it gets fixed
10860
10861 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10862
10863         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10864         (GST_START_TEST):
10865           fix race in underrun test
10866
10867 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10868
10869         * tests/check/elements/.cvsignore:
10870           ignore more
10871
10872         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10873         (GST_START_TEST):
10874           try to narrow test failure
10875
10876 2006-12-21  David Schleef  <ds@schleef.org>
10877
10878         * plugins/elements/gstfakesrc.c:
10879           Use g_random_int_range(), since it produces better random
10880           numbers in a range than almost-correct floating point code.
10881
10882 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10883
10884         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10885         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10886         (gst_check_teardown_sink_pad):
10887           do not automatically (de)activate pads
10888
10889         * tests/check/Makefile.am:
10890         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10891         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10892           add new, yet simple tests for queue
10893
10894         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10895         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10896         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10897         (GST_START_TEST):
10898         * tests/check/elements/identity.c: (cleanup_identity):
10899           consistent pad (de)activation
10900
10901 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10902
10903         Patch by: Sebastian Dröge  <slomo ubuntu com>
10904
10905         * libs/gst/base/gstcollectpads.c:
10906           Fix two doc typos (#387866).
10907
10908 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10909
10910         * docs/manual/advanced-dparams.xml:
10911           Fix typo (g_object_control_properties() doesn't exist).
10912
10913 2006-12-19  Edward Hervey  <edward@fluendo.com>
10914
10915         * gst/gstsegment.c: (gst_segment_set_seek):
10916         Fine tune the cases where the segment start/stop values are really
10917         updated.
10918         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10919         Add tests for the return values of gst_segment_set_seek().
10920
10921 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10922
10923         * gst/gst.c:
10924           Docs typo fix.
10925
10926         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10927         (gst_queue_init):
10928           Fix incorrect documentation and flesh it out a bit more.
10929           Set default values for the max properties on the GParamSpec as well,
10930           so it shows up correctly in gst-inspect.
10931
10932 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10933
10934         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10935           Correct docs of queue, add more detail and crosslink it more.
10936
10937 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10938
10939         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10940           Print additional debug info when the stream isn't perfectly
10941           timestamped; don't try to use invalid durations.
10942
10943 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10944
10945         * docs/design/Makefile.am:
10946           Dist new design docs.
10947
10948 2006-12-16  Wim Taymans  <wim@fluendo.com>
10949
10950         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10951
10952         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10953         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10954         (gst_collect_pads_stop), (gst_collect_pads_event),
10955         (gst_collect_pads_chain):
10956         * libs/gst/base/gstcollectpads.h:
10957         Add refcounting to the collectpads data so we can track when it's safe
10958         to free the data. Fixes #383382.
10959
10960 2006-12-15  Wim Taymans  <wim@fluendo.com>
10961
10962         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10963         (gst_collect_pads_remove_pad):
10964         Automatically activate/deactivate pads when they are added to a
10965         started/stoped collectpads.
10966
10967 2006-12-15  Wim Taymans  <wim@fluendo.com>
10968
10969         * gst/gstelement.c: (gst_element_add_pad):
10970         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10971         * gst/gstpad.c: (gst_pad_init):
10972         Set pads to FLUSHING when they are created. Check, warn and fix when a
10973         demuxer adds an inactive pad to itself when running. Fixes #339326.
10974
10975 2006-12-15  Wim Taymans  <wim@fluendo.com>
10976
10977         * gst/gstelement.c: (gst_element_class_init),
10978         (gst_element_default_send_event), (gst_element_send_event),
10979         (gst_element_default_query), (gst_element_query):
10980         Expose default element send_event and query handling as vmethods that
10981         subclasses can chain up to.
10982
10983 2006-12-15  Wim Taymans  <wim@fluendo.com>
10984
10985         * gst/gstelement.c: (gst_element_set_state_func):
10986         Small documentation fixes.
10987
10988 2006-12-15  Wim Taymans  <wim@fluendo.com>
10989
10990         * docs/design/draft-latency.txt:
10991         Checked in draft for handling latency in pipelines.
10992
10993 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10994
10995         * Makefile.am:
10996         * gstreamer.doap:
10997         * gstreamer.spec.in:
10998           adding .doap file
10999
11000 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11001
11002         * gst/gst.c: (init_pre), (init_post):
11003           init_pre() and init_post() might be called via our GOptionGroup or
11004           from gst_init(), and we should skip both of them if we've already
11005           been initialised, otherwise we will init some things twice or add
11006           two default log functions.
11007
11008 2006-12-13  Edward Hervey  <edward@fluendo.com>
11009
11010         * docs/manual/basics-bus.xml:
11011         No, gst_main_loop does not exist. Its g_main_loop.
11012         Discovered by somebody who abused the copy-paste technique of coding :)
11013
11014 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11015
11016         * gst/gstghostpad.c:
11017           Log ghostpad debug stuff to the GST_PADS category as well rather
11018           than just to the default category.
11019
11020 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11021
11022         * configure.ac:
11023         * gst/gst.c: (init_pre):
11024           Add some basic system details such as OS and architecture
11025           to the debug output if possible, courtesy of uname().
11026
11027 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11028
11029         * docs/gst/running.xml:
11030           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11031           environment variables.
11032
11033 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11034
11035         * tests/check/gst/gstbin.c: (GST_START_TEST):
11036         It is acceptable to have a refcount of 2 or 3 at this point in the
11037         test, because the pipeline might be just posting its state_change
11038         message. The next line then waits for that message to appear using
11039         bus_poll, so that should be fine too.
11040
11041 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11042
11043         * gst/gst.c: (ensure_current_registry_forking):
11044         Ignore EINTR when reading from the child registry pipe.
11045         Explicitly ignore the return value from close, since it makes no
11046         difference.
11047
11048         * gst/gstminiobject.c: (gst_mini_object_ref),
11049         (gst_mini_object_unref):
11050         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11051
11052         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11053         When removing cached plugins, remove their features too, so they're
11054         not visible after they've disappeared.
11055
11056         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11057         In the unlikely case that we are linking pads with no parents, don't
11058         crash trying to get the non-existent parent bin.
11059
11060         * gst/parse/grammar.y:
11061         Output debug in the PIPELINE category
11062
11063 2005-03-08  Wim Taymans  <wim@fluendo.com>
11064
11065         Patch by: René Stadler <mail at renestadler dot de>
11066
11067         * gst/gstclock.c: (gst_clock_new_periodic_id):
11068         Reject invalid clock times for interval of periodic ids.
11069         Fixes ##383506.
11070
11071 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11072
11073         * gst/gstelementfactory.c: (gst_element_factory_create):
11074         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11075         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11076         * tools/gst-inspect.c: (print_element_info):
11077         Fix refcounting of gst_plugin_feature_load to match the docs. 
11078         Fixes: #380129
11079
11080 2006-12-07  Wim Taymans  <wim@fluendo.com>
11081
11082         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11083         (gst_base_sink_get_position):
11084         Improve debugging of events.
11085
11086 2006-12-07  Wim Taymans  <wim@fluendo.com>
11087
11088         Patch by: René Stadler <mail at renestadler dot de>
11089
11090         * gst/gstclock.c: (gst_clock_id_wait):
11091         Make period ids add the interval to the origial requested time instead
11092         of the possibly updated time which can be wrong when there are multiple
11093         waiters for the same id. Fixes #382592.
11094
11095         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11096         (gst_system_clock_id_wait_jitter_unlocked),
11097         (gst_system_clock_id_wait_jitter):
11098         Fix restart in the async notify thread when an async entry is added to
11099         the front of the list. Fixes #381492. 
11100
11101         * tests/check/gst/gstsystemclock.c: (store_callback),
11102         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11103         Added test for multiple async waits.
11104         Added test for async wait order.
11105
11106 2006-12-07  Wim Taymans  <wim@fluendo.com>
11107
11108         * gst/gstbin.c: (gst_bin_query):
11109         Add some more docs about the POSITION query.
11110
11111 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11112
11113         * configure.ac:
11114         Bump version nano - back to CVS.
11115
11116 === release 0.10.11 ===
11117
11118 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11119
11120         * configure.ac:
11121           releasing 0.10.11, "Love never runs on time"
11122
11123 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11124
11125         * win32/common/libgstbase.def:
11126         * win32/common/libgstreamer.def:
11127         * win32/vs8/libgstbase.vcproj:
11128         * win32/vs8/libgstcoreelements.vcproj:
11129         * win32/vs8/libgstreamer.vcproj:
11130         Fix compilation on win32 under VS8
11131         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11132         Partially fixes #381175
11133
11134 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11135
11136         * gst/gstvalue.c: (gst_value_compare_fraction):
11137         If someone is foolish enough to compare 2 fractions with denominator =
11138         0, return UNORDERED rather than aborting.
11139
11140 2006-11-28  Edward Hervey  <edward@fluendo.com>
11141
11142         * libs/gst/base/Makefile.am:
11143         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11144         (gst_data_queue_base_init), (gst_data_queue_class_init),
11145         (gst_data_queue_init), (gst_data_queue_new),
11146         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11147         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11148         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11149         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11150         (gst_data_queue_set_flushing), (gst_data_queue_push),
11151         (gst_data_queue_pop), (gst_data_queue_drop_head),
11152         (gst_data_queue_set_property), (gst_data_queue_get_property):
11153         * libs/gst/base/gstdataqueue.h:
11154         New GstDataQueue object for threadsafe queueing. Most useful for
11155         elements that need some queueing functionnality.
11156         * docs/libs/gstreamer-libs-docs.sgml:
11157         * docs/libs/gstreamer-libs-sections.txt:
11158         Insert documentation for GstDataQueue
11159         * plugins/elements/Makefile.am:
11160         * plugins/elements/gstelements.c:
11161         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11162         (gst_multi_queue_class_init), (gst_multi_queue_init),
11163         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11164         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11165         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11166         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11167         (gst_multi_queue_loop), (gst_multi_queue_chain),
11168         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11169         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11170         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11171         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11172         (wake_up_next_non_linked), (compute_next_non_linked),
11173         (single_queue_overrun_cb), (single_queue_underrun_cb),
11174         (single_queue_check_full), (gst_single_queue_new):
11175         * plugins/elements/gstmultiqueue.h:
11176         New multiqueue element, using GstDataQueue. Used for queuing multiple
11177         streams.
11178         Closes #344639 and #347785
11179
11180 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11181
11182         * docs/pwg/advanced-types.xml:
11183           add more missing type details
11184
11185         * tools/gst-run.c: (main):
11186           remove unused variable
11187
11188 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11189
11190         * docs/libs/Makefile.am:
11191         * docs/libs/gstreamer-libs.types:
11192           add types of base classes to enable gobject specific stuff in the docs
11193
11194         * docs/random/ensonic/embedded.txt:
11195           more ideas about isolating platform specific things
11196
11197 2006-11-20  Wim Taymans  <wim@fluendo.com>
11198
11199         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11200
11201         * libs/gst/check/gstcheck.h:
11202         Fix compilation and running against 0.9.4. Fixes #377332.
11203
11204 2006-11-20  Wim Taymans  <wim@fluendo.com>
11205
11206         * gst/gstsegment.c: (gst_segment_set_seek),
11207         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11208         (gst_segment_to_running_time):
11209         Fix boundary checking in to_running_time() and to_stream_time().
11210         Fixes #377183.
11211
11212         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11213         stream and running time can now be calculated for the complete
11214         clipped segment.
11215
11216 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11217
11218         * gst/gstpad.c: (gst_pad_push_event):
11219           Can't access event structure after giving away ownership of
11220           the event.
11221
11222 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11223
11224         * docs/random/ensonic/embedded.txt:
11225         * docs/random/ensonic/profiling.txt:
11226         * docs/random/ensonic/receipies.txt:
11227           more thinking
11228
11229 2006-11-13  Wim Taymans  <wim@fluendo.com>
11230
11231         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11232
11233         * gst/gstpad.c:
11234         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11235
11236 2006-11-13  Wim Taymans  <wim@fluendo.com>
11237
11238         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11239
11240         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11241         Store new length in segment duration so we don't keep on calling the
11242         potentially expensize get_size() call. Fixes #370865.
11243
11244 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11245
11246         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11247
11248         * win32/common/libgstreamer.def:
11249           Add two missing symbols (#366492).
11250
11251 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11252
11253         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11254         (gst_adapter_take_buffer):
11255         Fix format string to use all its arguments.
11256         Remove useless >= check on a guint
11257
11258 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11259
11260         * tests/examples/adapter/.cvsignore:
11261         Ignore build file as commanded by the build-bot
11262
11263 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11264
11265         * tests/examples/adapter/Makefile.am:
11266         * tests/examples/adapter/adapter_test.c: (run_test_take),
11267         (run_test_take_buffer), (run_tests), (main):
11268
11269         Add new files from the previous commit
11270
11271 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11272
11273         * Makefile.am:
11274         * configure.ac:
11275         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11276         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11277         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11278         * libs/gst/base/gstadapter.h:
11279         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11280         (GST_START_TEST), (gst_adapter_suite):
11281         * tests/examples/Makefile.am:
11282         Do some optimisation work in GstAdapter to avoid copies in more cases.
11283         It could still do slightly better by merging buffers when
11284         gst_buffer_is_span_fast is true, but is already faster. 
11285
11286         Also, avoid traversing a single-linked list to append each incoming 
11287         buffer inside the adapter.
11288
11289         Add simple test app that times the adapter behaviour in different
11290         situations, and extend the unit test to check that bytes enter and
11291         exit the adapter in their original order.
11292
11293 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11294
11295         * docs/random/draft-missing-plugins.txt:
11296           Update: use element message instead of adding a new message
11297           type to the core; don't provide GStreamer API to initiate the
11298           plugin download, just provide API to compose the strings needed
11299           and let an external libgimmestuff handle the rest.
11300
11301 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11302
11303         * tools/gst-inspect.c: (print_element_properties_info):
11304         Print a string instead of 'unknown type' for GValueArray properties
11305
11306 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11307
11308         * docs/random/draft-missing-plugins.txt:
11309         More small fixes.
11310
11311 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11312
11313         * tests/examples/typefind/typefind.c: (type_found), (main):
11314           Make typefind element example work again (#371894); add a
11315           license header.
11316
11317 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11318
11319         * docs/random/draft-missing-plugins.txt:
11320           Commit initial draft about how to deal with missing plugins,
11321           needs work (API too).
11322
11323 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11324
11325         * docs/pwg/advanced-types.xml:
11326           documents the new caps elements (see #363118)
11327
11328 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11329
11330         * gst/gstplugin.c: (gst_plugin_load_file):
11331         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11332         (gst_file_src_map_region), (gst_file_src_start):
11333         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11334         (gst_file_index_commit):
11335           Use g_strerror() instead of strerror() - we want UTF-8.
11336
11337 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11338
11339         Patch by: Peter Kjellerstedt <pkj at axis com>
11340
11341         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11342           Another printf fix (#371493).
11343
11344 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11345
11346         * tests/check/gst/gsttag.c:
11347           relicence (okay with author=company)
11348
11349 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11350
11351         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11352         (gst_pad_push_event):
11353           Enhance debug and improve docs
11354         
11355         * gst/gsturi.c:
11356           Fix docs
11357
11358 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11359
11360         * docs/random/ensonic/distributed.txt:
11361         * docs/random/ensonic/profiling.txt:
11362           more ideas
11363
11364 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11365
11366         * docs/gst/gstreamer-sections.txt:
11367           add new API and fix the build
11368           
11369         * gst/gstbin.c: (gst_bin_recalc_state):
11370         * gst/gstelement.c: (gst_element_message_full),
11371         (gst_element_get_state_func), (gst_element_set_state_func):
11372           use new API and improve logging
11373         
11374         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11375         * gst/gstutils.h:
11376           API: add function to get StateChangereturn names to improve logs 
11377
11378 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11379
11380         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11381           I'm considering shooting the next person to put strerror stuff
11382           in the translateable part of the message.
11383
11384 2006-11-03  Wim Taymans  <wim@fluendo.com>
11385
11386         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11387         Get the type and printf conversion specifiers right.
11388
11389 2006-11-03  Wim Taymans  <wim@fluendo.com>
11390
11391         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11392
11393         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11394         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11395         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11396         Some small cleanups. Improve debugging.
11397         * gst/gstpad.h:
11398         Signal all waiting threads with a broadcast instead of just one.
11399         Fixes #369942.
11400
11401 2006-11-03  Wim Taymans  <wim@fluendo.com>
11402
11403         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11404         (gst_fd_src_create):
11405         Add some debugging. 
11406         Only update fd when it's different from the old.
11407
11408 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11409
11410         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11411           Printf fixes for PPC/OSX, take two (#369366).
11412
11413 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11414
11415         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11416
11417         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11418         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11419         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11420           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11421           don't cast to long long for portability reasons, but use
11422           GLib's types instead.
11423
11424 2006-10-30  Michael Smith  <msmith@fluendo.com>
11425
11426         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11427           Get the arguments to lseek() the right way around.
11428           Fixes 367677.
11429
11430 2006-10-30  Wim Taymans  <wim@fluendo.com>
11431
11432         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11433
11434         * gst/gstinfo.h:
11435         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11436
11437 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11438
11439         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11440
11441         * docs/design/part-MT-refcounting.txt:
11442         * docs/random/wtay/capsnego2-docs:
11443         * gst/gstclock.c:
11444         * gst/gstxml.c:
11445           Typo fixes (#366212).
11446
11447 2006-10-28  Wim Taymans  <wim@fluendo.com>
11448
11449         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11450
11451         * gst/gst.c:
11452         * win32/common/libgstbase.def:
11453         * win32/common/libgstreamer.def:
11454         * win32/vs8/libgstbase.vcproj:
11455         * win32/vs8/libgstcontroller.vcproj:
11456         Add needed entries in .def files.
11457         Use HAVE_UNISTD_H.
11458         Rearrange def files in vs8 solutions. Fixes #366286.
11459
11460 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11461
11462         * win32/common/gstconfig.h:
11463           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11464           hand-made win32 gstconfig.h. Fixes #366321.
11465
11466 2006-10-27  Wim Taymans  <wim@fluendo.com>
11467
11468         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11469         (gst_ghost_pad_new_full):
11470         Make acceptcaps return TRUE when we don't have a target, just like
11471         setcaps does.
11472
11473 2006-10-27  Wim Taymans  <wim@fluendo.com>
11474
11475         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11476         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11477
11478 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11479
11480         * gst/gststructure.c: (gst_structure_id_set_value):
11481           If someone tries to set a non-UTF8 string field on a structure,
11482           don't just print a warning, but also ignore the request and do
11483           not change/add that field to the structure.
11484
11485         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11486           Test for the above.
11487
11488 2006-10-25  David Schleef  <ds@schleef.org>
11489
11490         * gst/gstinfo.c:
11491           g_hash_table_insert() needs a cast to a non-const pointer duh.
11492
11493 2006-10-25  David Schleef  <ds@schleef.org>
11494
11495         * gst/gstinfo.c:
11496         * gst/gstinfo.h:
11497           Change name parameter of _gst_debug_register_funcptr to const
11498           to reflect the constness of its use in the function as well
11499           as to quiet a gcc warning.
11500
11501 2006-10-25  Edward Hervey  <edward@fluendo.com>
11502
11503         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11504         Don't push the buffer if it's empty.
11505         Closes #363095
11506
11507 2006-10-24  Wim Taymans  <wim@fluendo.com>
11508
11509         * gst/gstevent.h:
11510         Add small comment.
11511
11512         * libs/gst/base/gstbasetransform.c:
11513         (gst_base_transform_sink_eventfunc):
11514         Debug segment values *after* updating them as this is more
11515         interesting.
11516
11517 2006-10-23  Wim Taymans  <wim@fluendo.com>
11518
11519         * docs/design/part-events.txt:
11520         Update some docs.
11521
11522         * docs/design/part-block.txt:
11523         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11524         (gst_pad_push_event):
11525         Revert BLOCKING patch, it tries to be smart without really having a
11526         clear idea what or how. So, now we discard all FLUSHING events again on
11527         a blocking pad. Should fix gnonlin again.
11528
11529 2006-10-23  Wim Taymans  <wim@fluendo.com>
11530
11531         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11532
11533         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11534         (gst_base_src_start), (gst_base_src_activate_push):
11535         Make sure size is always initialized. Fixes #364388.
11536
11537 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11538
11539         * docs/random/ensonic/distributed.txt:
11540           add some ideas about doing distributed processing
11541
11542         * docs/random/ensonic/profiling.txt:
11543           get_rusage look promising
11544
11545 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11546
11547         * docs/manual/basics-helloworld.xml:
11548           Add a cast in example to fix compile warning
11549
11550 2006-10-18  Wim Taymans  <wim@fluendo.com>
11551
11552         * gst/gstsegment.c: (gst_segment_set_last_stop),
11553         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11554         Relax arg checking again, -1 is allowed.
11555
11556 2006-10-18  Wim Taymans  <wim@fluendo.com>
11557
11558         * gst/gstsegment.c: (gst_segment_set_last_stop),
11559         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11560         _set_last_stop() must be with a value != -1
11561         A _TYPE_SET to -1 means seek to 0.
11562         Calc last_stop correctly for negative rates.
11563         Make sure we work with positive durations when updating a segment.
11564
11565 2006-10-18  Wim Taymans  <wim@fluendo.com>
11566
11567         * docs/design/part-live-source.txt:
11568         * gst/gstclock.h:
11569         Small docs fixes.
11570
11571 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11572
11573         * gst/gstbuffer.h:
11574           Add an explicit cast to GstBuffer** to keep old code that added an
11575           explicit cast to GstMiniObject** for gst_mini_object_replace()
11576           compiling without warning.
11577
11578 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11579
11580         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11581           check for validity of dates
11582
11583 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11584
11585         * docs/gst/gstreamer-sections.txt:
11586           Forgot this one, makes gtk-doc shut up.
11587
11588 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11589
11590         Patch by: Peter Kjellerstedt <pkj at axis com>
11591
11592         * gst/gstobject.h:
11593           Don't define xmlNodePtr to gpointer if the core was built with
11594           --disable-loadsave and --disable-registry, this will break
11595           applications that want to use libxml2 but are buildling against a
11596           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11597           instead so we don't have to mess with the libxml2 namespace
11598           (#361675).
11599
11600 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11601
11602         * gst/gstbuffer.h:
11603           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11604           type-punned pointer warnings.
11605
11606 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11607
11608         * gst/gstelement.h:
11609           Add casts to the correct return type to state <=> state transition
11610           macros.
11611
11612 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11613
11614         * docs/design/part-live-source.txt:
11615           describe howto handle latency
11616         
11617         * docs/random/ensonic/profiling.txt:
11618           more ideas
11619
11620         * tools/gst-plot-timeline.py:
11621           fix log parsing for solaris, remove unused function
11622
11623 2006-10-16  Wim Taymans  <wim@fluendo.com>
11624
11625         * docs/design/part-trickmodes.txt:
11626         * gst/gstevent.c:
11627         Update some docs regarding reverse playback.
11628
11629 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11630
11631         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11632
11633         * win32/vs8/grammar.vcproj:
11634           Error out with a warning if glib-genmarshal.exe is not in path,
11635           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11636
11637 2006-10-13  Wim Taymans  <wim@fluendo.com>
11638
11639         * gst/gstsegment.c: (gst_segment_set_seek):
11640         When seeking to stop -1, set last_stop (current position) to the
11641         duration of the segment.
11642
11643 2006-10-13  Wim Taymans  <wim@fluendo.com>
11644
11645         * gst/gstelement.h:
11646         Clarify _NO_PREROLL a bit more.
11647
11648         * gst/gstevent.c:
11649         Fix docs.
11650
11651         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11652         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11653         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11654         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11655         due to wrong locking order. Fixes #361769.
11656         Remove some redundant/misplaced checks in pad_block.
11657
11658         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11659         For negative rates, count backwards from the duration.
11660
11661 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11662
11663         * gst/gsterror.c: (_gst_library_errors_init):
11664           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11665           up with something better).
11666
11667 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11668
11669         * win32/vs6/libgstreamer.dsp:
11670         * win32/vs7/libgstreamer.vcproj:
11671         * win32/vs8/libgstreamer.vcproj:
11672           Don't reference glib-compat.c which is currently not used and not
11673           disted; add gstquark.c which was recently added. Fixes #361730.
11674
11675 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11676
11677         * win32/common/libgstbase.def:
11678         * win32/common/libgstcontroller.def:
11679         * win32/common/libgstreamer.def:
11680           Add gst_caps_merge() and a bunch of other recently-added functions.
11681           Fixes #361732.
11682
11683 2006-10-11  Wim Taymans  <wim@fluendo.com>
11684
11685         * docs/plugins/gstreamer-plugins.args:
11686         * docs/plugins/inspect/plugin-coreelements.xml:
11687         * docs/plugins/inspect/plugin-coreindexers.xml:
11688         Update element args.
11689
11690         * gst/gstsystemclock.c:
11691         Small comment update.
11692
11693         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11694         (gst_tee_request_new_pad), (gst_tee_release_pad),
11695         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11696         (gst_tee_sink_activate_pull):
11697         * plugins/elements/gsttee.h:
11698         Some tee loving:
11699         Add default property defines.
11700         Implement release pad function.
11701         Give properties better blubs etc.
11702         Activate pads before adding them to a running tee.
11703         Do simple buffer_alloc on the first requested pad.
11704         Post error when activation fails.
11705
11706 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11707
11708         * gst/gst.c: (ensure_current_registry_forking):
11709           Check return value of write() to make compiler happy.
11710
11711 2006-10-11  Wim Taymans  <wim@fluendo.com>
11712
11713         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11714
11715         * plugins/elements/gstqueue.c: (gst_queue_chain):
11716         Recheck queue filledness after signalling the overrun when we're about
11717         to leak downstream because we released the lock when emitting the signal
11718         and the queue could be empty again. Fixes #352345.
11719
11720 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11721
11722         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11723           Fix refcounting here too, just like we did for _new_valist() a few
11724           days ago (#357180) (thanks to René Stadler). Also remove all those
11725           'Since: 0.9' from the gtk-doc blobs.
11726
11727         * tests/check/libs/controller.c: (controller_refcount_new_list),
11728         (gst_controller_suite):
11729           Unit test for the above.
11730
11731 2006-10-10  Wim Taymans  <wim@fluendo.com>
11732
11733         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11734
11735         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11736         (gst_pad_save_thyself):
11737         Update some docs.
11738         Write pad direction in XML output. Fixes #345496.
11739
11740 2006-10-10  Wim Taymans  <wim@fluendo.com>
11741
11742         Patch by: René Stadler <mail at renestadler dot de>
11743
11744         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11745         (gst_controller_new_list), (_gst_controller_dispose),
11746         (_gst_controller_finalize), (_gst_controller_class_init):
11747         Take ref to controlled object so that it cannot disappear. 
11748         Fixes #357432.
11749
11750 2006-10-10  Wim Taymans  <wim@fluendo.com>
11751
11752         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11753         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11754         (gst_check_teardown_sink_pad):
11755         Activate/deactivate pads in setup/teardown respectively.
11756
11757 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11758
11759         Patch by: Josep Torra Valles <josep@fluendo.com>
11760
11761         * gst/Makefile.am:
11762         Cast values when making gstenumtypes.h.  This pacifies Forte
11763         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11764         in the enumeration.
11765
11766 2006-10-09  Wim Taymans  <wim@fluendo.com>
11767
11768         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11769         Rename some more @cur to @start to fix docs. 
11770
11771         * gst/gstsegment.c: (gst_segment_set_seek):
11772         Fix typo.
11773         time and start must always stay in sync as defined in design doc.
11774
11775         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11776         Rename param to fix docs.
11777
11778         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11779         Check that start and time are in sync.
11780
11781         * tests/check/pipelines/parse-launch.c:
11782         (gst_parse_test_element_change_state):
11783         Activate pad before adding to the element.
11784
11785 2006-10-09  Wim Taymans  <wim@fluendo.com>
11786
11787         * docs/design/part-qos.txt:
11788         Fix typo.
11789
11790         * gst/gstevent.c:
11791         * gst/gstevent.h:
11792         Update seek event docs regarding negative rates.
11793         Rename @cur to @start. 
11794
11795         * gst/gstsegment.c: (gst_segment_set_seek):
11796         * gst/gstsegment.h:
11797         Update set_seek docs regarding negative rates.
11798         Correctly update last_stop to @stop when dealing with negative
11799         rates.
11800         Rename @cur to @start. 
11801
11802         * tests/check/gst/gstpad.c: (GST_START_TEST):
11803         Activate pads before trying to use them.
11804
11805         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11806         (gst_segment_suite):
11807         Add simple check for segments and negative rates.
11808
11809 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11810
11811         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11812         * gst/gsttaglist.h:
11813         * docs/gst/gstreamer-sections.txt:
11814           API: add gst_tag_list_is_empty() (#360467).
11815
11816         * tests/check/gst/gsttag.c: (GST_START_TEST):
11817           And a test case.
11818
11819 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11820
11821         * gst/gstmessage.h:
11822         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11823         a value that doesn't fit on enumeration.
11824
11825 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11826
11827         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11828         Remove local debugging system and use Gstreamer's instead.
11829
11830 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11831
11832         Patch by: Josep Torra Valles <josep@fluendo.com>
11833
11834         * common/m4/gst-error.m4:
11835         Disable warning of statement not reached on Forte.
11836         * gst/gstmessage.h:
11837         Fix warning on Forte (value doesn't fit on enumeration).
11838         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11839         Fix warning on Forte (value doesn't fit on enumeration).
11840         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11841         DEBUG macro says it takes minimum of 2 args and so Forte
11842         complains about the use with just 1 arg.
11843         * plugins/elements/gstfdsink.c:
11844         * plugins/elements/gstfdsrc.c:
11845         * plugins/elements/gstfilesink.c:
11846         * plugins/elements/gstfilesrc.c:
11847         Use correct return type for the uri handler implementations.
11848
11849         All these fix warnings in Forte.  Fixes bug #360860.
11850
11851 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11852
11853         * gst/gstelement.h:
11854           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11855           format string, so don't use G_GNUC_PRINTF for those versions.
11856
11857 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11858
11859         * gst/gsttaglist.c: (gst_is_tag_list):
11860         * gst/gsttaglist.h:
11861           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11862
11863         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11864           Small test for the above.
11865
11866 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11867
11868         * gst/gsttaglist.h:
11869           Less tabs, more spaces.
11870
11871 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11872
11873         * gst/gstinfo.h:
11874           Those two function declarations do actually belong there, revert
11875           commit from yesterday that turned them intro macros.
11876
11877 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11878
11879         Patch by: Josep Torra Valles <josep@fluendo.com>
11880
11881         * gst/gst.c: (gst_init_get_option_group):
11882         Fix empty declaration and type mismatch.
11883         * gst/gstbin.c: (gst_bin_change_state_func):
11884         Fix type mismatch.
11885         * gst/gstelement.c: (gst_element_continue_state),
11886         (gst_element_set_state_func), (gst_element_change_state),
11887         (gst_element_change_state_func):
11888         Fix type mismatches.
11889         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11890         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11891         Cast as appropriate.
11892         * gst/gstobject.c: (gst_class_signal_connect):
11893         Cast as appropriate.  The function pointer parameter really
11894         has the wrong type but would break API if we change it.
11895         * gst/gstquery.c:
11896         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11897         order of including string.h.
11898         * gst/gstutils.c: (gst_element_state_get_name):
11899         Remove unreachable line.
11900         * gst/gstxml.c: (gst_xml_parse_doc):
11901         Fix type mismatch.
11902         All these caught by Forte.
11903
11904 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11905
11906         Patch by: Josep Torra Valles <josep@fluendo.com>
11907
11908         * common/m4/gst-error.m4:
11909         Fixed bug #360151.
11910         We need to disable warnings on Forte for empty declarations
11911         due to gst-indent adding ;s to lines that just use macros
11912         where the macro actually doesn't need a ; at end to end
11913         statement.
11914
11915 2006-10-06  Wim Taymans  <wim@fluendo.com>
11916
11917         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11918         (gst_file_sink_close_file), (gst_file_sink_event),
11919         (gst_file_sink_render):
11920         Add some FIXME for the NEWSEGMENT handling.
11921
11922 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11923
11924         * gst/parse/grammar.y:
11925         Remove static function gst_parse_element_lock as all it does
11926         is return.  Looks like cruft from 0.8.
11927
11928 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11929
11930         Patch by: Josep Torra Valles <josep@fluendo.com>
11931
11932         * common/m4/gst-error.m4:
11933         * configure.ac:
11934         * libs/gst/net/Makefile.am:
11935         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11936         libresolv.
11937
11938 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11939
11940         * gst/gstpad.c: (pre_activate):
11941         * gst/gstregistry.c: (gst_registry_scan_path_level):
11942         * gst/gstregistryxml.c: (load_plugin):
11943         * libs/gst/controller/gstcontroller.c:
11944         (gst_controlled_property_set_interpolation_mode):
11945         * libs/gst/dataprotocol/dataprotocol.c:
11946         (gst_dp_packet_from_event_1_0):
11947         * libs/gst/net/gstnetclientclock.c:
11948         (gst_net_client_clock_observe_times):
11949         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11950           Printf fixes.
11951
11952 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11953
11954         * configure.ac:
11955         * docs/gst/gstreamer-sections.txt:
11956         * gst/gstconfig.h.in:
11957         * gst/gstelement.h:
11958         * gst/gstinfo.h:
11959           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11960           whether we can use G_GNUC_PRINTF in other header files and at
11961           least check the printf format/arguments of debug messages and
11962           GST_ELEMENT_ERROR messages when the printf extension is not
11963           being used.
11964           Replace more tabs with spaces in gstinfo.h and remove two spurious
11965           function declarations in GST_DISABLE_DEBUG part with macros.
11966
11967 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11968
11969         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11970           More docs for the sync-message signal (mention that it is not
11971           emitted by default); log message structures of messages posted on
11972           the bus as well.
11973
11974 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11975
11976         * gst/gst.c: (ensure_current_registry_forking):
11977         Use a pipe pair to receive status results from the forked child, and
11978         ignore the result from waitpid. Fixes #355499
11979
11980 2006-10-02  Wim Taymans  <wim@fluendo.com>
11981
11982         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11983         (gst_ghost_pad_suite):
11984         Fix leak in check.
11985
11986 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11987
11988         * gst/gstpad.c:
11989           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11990
11991 2006-10-02  Edward Hervey  <edward@fluendo.com>
11992
11993         * docs/design/part-block.txt:
11994         Further explain the use of flushing on blocked pads.
11995         * docs/gst/gstreamer-sections.txt:
11996         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11997         (gst_pad_push_event):
11998         * gst/gstpad.h:
11999         Added new GstPadFlag : GST_PAD_BLOCKING.
12000         Adds the notion of pads really blocking, which enables to properly
12001         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12002         Fixes #358999
12003         API: gst_pad_is_blocking()
12004         API: GST_PAD_IS_BLOCKING() macro
12005         API: GST_PAD_BLOCKING GstPadFlag
12006         
12007 2006-10-02  Wim Taymans  <wim@fluendo.com>
12008
12009         Patch by: mrcgran <mrc.gran at gmail dot com>
12010
12011         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12012         Filter the proxied caps against the padtemplate if we have one.
12013
12014         * gst/gstquery.c: (gst_query_new_segment):
12015         Add include for gstinfo.h so that compilation with
12016         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12017
12018 2006-10-02  Wim Taymans  <wim@fluendo.com>
12019
12020         Patch by: Alessandro Decina  <alessandro at nnva org>
12021
12022         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12023         (gst_file_sink_set_location), (gst_file_sink_open_file),
12024         (gst_file_sink_close_file), (gst_file_sink_event),
12025         (gst_file_sink_render):
12026         Set file to NULL when closing filesink so that we can set a new filename
12027         in READY. Fixes #358613.
12028
12029 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12030
12031         Patch by: Alessandro Decina  <alessandro at nnva org>
12032
12033         * gst/gstevent.c: (_gst_event_copy):
12034           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12035           with event structures by setting the parent refcount address of the
12036           copied structure to the address of the refcount member of the newly
12037           copied event rather than the address of the refcount member of the
12038           original event. Fixes #358737.
12039
12040         * tests/check/gst/gstevent.c: (GST_START_TEST):
12041           Unit test for the above.
12042
12043 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12044
12045         * docs/design/Makefile.am:
12046           Dist some more files.
12047
12048 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12049
12050         * tests/check/libs/controller.c: (GST_START_TEST),
12051         (gst_controller_suite):
12052           Add test for the previous fix; add some more tests
12053           for correct refcounting behaviour; fix a few leaks
12054           in test cases; call gst_controller_init() at start
12055           of all tests.
12056
12057 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12058
12059         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12060         (gst_controller_set_from_list):
12061           Don't g_return_val_if_fail() on timed values with invalid timestamps
12062           inside a critical section without unlocking the mutex. Spotted by
12063           René Stadler. (#357617)
12064           Also, fix up refcounting properly: when returning an existing
12065           controller, we should increase the reference only once and not
12066           once per property and when trying to control a property again
12067           we should also increase the refcount.
12068
12069 2006-09-29  Wim Taymans  <wim@fluendo.com>
12070
12071         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12072         * libs/gst/net/gstnettimeprovider.c:
12073         (gst_net_time_provider_thread):
12074         Stop reading commands when EOF as well.
12075
12076         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12077         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12078         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12079         Unify description of the dump property.
12080
12081 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12082
12083         * tests/examples/manual/.cvsignore:
12084         OK, so it's actually cvsignore that needs changing. Stop laughing.
12085
12086 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12087
12088         * tests/examples/manual/Makefile.am:
12089         Gah, declare vars *before* using them
12090
12091 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12092
12093         * gst/gst.c: (init_pre), (scan_and_update_registry),
12094         (ensure_current_registry_nonforking),
12095         (ensure_current_registry_forking), (ensure_current_registry),
12096         (init_post), (gst_debug_help), (gst_deinit):
12097         * gst/gst_private.h:
12098         * gst/gstregistry.c: (gst_registry_finalize),
12099         (gst_registry_remove_features_for_plugin_unlocked),
12100         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12101         (gst_registry_scan_path),
12102         (_priv_gst_registry_remove_cache_plugins),
12103         (_priv_gst_registry_cleanup):
12104         * gst/gstregistry.h:
12105         Re-commit the registry changes, along with an extra fix:
12106           When a cached plugin is encountered at a different file path,
12107           update the stored path in the registry cache so that the parent
12108           process knows where it actually is now when it re-reads the registry
12109           cache. Fixes the thing that broke distcheck with the previous commit.
12110
12111         * tests/check/Makefile.am:
12112         Clean up files named 'core' too when running make clean.
12113
12114         * tests/examples/manual/Makefile.am:
12115         Set up a registry path for running these tests, and clean it properly
12116         for distcheck.
12117
12118 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12119
12120         * configure.ac:
12121         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12122         want gmodule-no-export-2.0.pc instead so that we don't drag in
12123         --export-dynamic on every project that links to GStreamer.
12124
12125         Also, make our export regex only match the start of symbols, rather 
12126         than any symbol that contains '_gst' somewhere.
12127
12128         * libs/gst/check/Makefile.am:
12129         The libgstcheck we build does however need export-dynamic, as it
12130         produces some symbols that don't match our _gst... style regex.
12131         Fixes: #318031
12132
12133 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12134
12135         * gst/gst.c: (init_pre), (scan_and_update_registry),
12136         (ensure_current_registry_nonforking),
12137         (ensure_current_registry_forking), (ensure_current_registry),
12138         (init_post), (gst_debug_help), (gst_deinit):
12139         * gst/gst_private.h:
12140         * gst/gstregistry.c: (gst_registry_finalize),
12141         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12142         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12143         (_gst_registry_cleanup):
12144         * gst/gstregistry.h:
12145           Revert previous change until I figure out why it breaks distcheck.
12146
12147 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12148
12149         * gst/gst.c: (init_pre), (scan_and_update_registry),
12150         (ensure_current_registry_nonforking),
12151         (ensure_current_registry_forking), (ensure_current_registry),
12152         (init_post), (gst_debug_help), (gst_deinit):
12153
12154           Make init_pre and init_post take the full complement of GOptionFunc
12155           args so they can return useful GErrors. Make the registry updating
12156           functions do so.
12157
12158           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12159           ensure that the registry we're about to write out doesn't contain
12160           stale information about old-deleted plugin files.
12161
12162           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12163           that deletion of plugin files is considered a registry change.
12164
12165         * gst/gst_private.h:
12166         * gst/gstregistry.c: (gst_registry_finalize),
12167         (gst_registry_remove_features_for_plugin_unlocked),
12168         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12169         (gst_registry_scan_path),
12170         (_priv_gst_registry_remove_cache_plugins),
12171         (_priv_gst_registry_cleanup):
12172         * gst/gstregistry.h:
12173         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12174         by adding _priv prefix, so that they won't appear in the global
12175         symbol table. They still do atm though because of #318031. Move the
12176         prototypes to gst_private.h
12177
12178         When removing a plugin, remove all features for that plugin too. 
12179         Fixes #340878.
12180
12181 2006-09-27  Wim Taymans  <wim@fluendo.com>
12182
12183         * docs/random/moving-plugins:
12184         Make it clear that the "compiled-in descriptions" really mean
12185         the element details.
12186
12187         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12188         (gst_base_sink_wait_preroll):
12189         Update docs.
12190
12191         * docs/libs/gstreamer-libs-sections.txt:
12192         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12193         (gst_base_src_get_range), (gst_base_src_activate_push):
12194         * libs/gst/base/gstbasesrc.h:
12195         Added function to block while waiting for PLAYING, this function
12196         is used by live sources that block on the clock.
12197         API: gst_base_src_wait_playing()
12198
12199 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12200
12201         Patch by: Peter Kjellerstedt <pkj at axis com>
12202
12203         * Makefile.am:
12204           gst-element-check.m4 is generated and should therefore be
12205           copied from the build dir rather than the source dir (#357593).
12206           'make distcheck' hasn't noticed this because we were disting
12207           the file as well, so stop doing that.
12208
12209 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12210
12211         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12212           Add some tests for gst_caps_intersect().
12213
12214         * tools/gst-launch.c: (event_loop):
12215           Print all buffering percentages we get, even the 100% one.
12216
12217 2006-09-26  Wim Taymans  <wim@fluendo.com>
12218
12219         * tools/gst-inspect.c: (print_element_properties_info),
12220         (print_signal_info):
12221         Fix printing of flags to match the look of enums.
12222
12223 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12224
12225         * gst/gstelementfactory.c:
12226           Fix typo in docs blurb.
12227
12228 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12229
12230         * gst/gsturi.c: (search_by_entry):
12231           Don't assert/crash here if a uri handler doesn't return any
12232           supported protocols. The list of protocols could be generated
12233           dynamically at runtime or at plugin registration, and an error
12234           in the underlying library shouldn't be fatal (#353301).
12235
12236 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12237
12238         * gst/gstinfo.c:
12239           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12240           (spotted by Peter Kjellerstedt).
12241
12242 2006-09-23  Wim Taymans  <wim@fluendo.com>
12243
12244         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12245
12246         * libs/gst/base/gstbasesrc.c:
12247         (gst_base_src_default_check_get_range), (gst_base_src_start),
12248         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12249         (gst_base_src_change_state):
12250         Match _start/_stop calls in the activate functions. Remove redundant
12251         _stop call from the state change function. Fixes #356910.
12252         Turn failure DEBUG into ERROR. 
12253
12254 2006-09-22  Wim Taymans  <wim@fluendo.com>
12255
12256         * docs/design/part-buffering.txt:
12257         * gst/gstmessage.c: (gst_message_new_buffering),
12258         (gst_message_parse_buffering):
12259         Update docs about buffering.
12260
12261         * docs/design/part-trickmodes.txt:
12262         Fix typo.
12263
12264 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12265
12266         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12267         (gst_controller_new_list):
12268           Ref instances when returning them again (fixes #357180)
12269
12270 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12271
12272         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12273           Don't forget to release proxy lock when there's an error.
12274
12275 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12276
12277         * gst/gstcaps.h:
12278           Add extra initialisers for Caps things, to fix some plugin warnings
12279           when using -Wextra
12280
12281 2006-09-18  Wim Taymans  <wim@fluendo.com>
12282
12283         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12284           Also set template on the internal pad so that a getcaps from the 
12285           target pad returns the template caps.
12286
12287 2006-09-18  Wim Taymans  <wim@fluendo.com>
12288
12289         * gst/gstelement.c: (gst_element_post_message),
12290         (gst_element_dispose):
12291         Use _DEBUG_OBJECT some more.
12292
12293         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12294         Avoid typechecks.
12295
12296         * tools/gst-launch.c: (main):
12297         If the toplevel element is not a GstPipeline, it must be put in a
12298         pipeline so that a bus and clock is selected.
12299
12300 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12301
12302         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12303           JITTER, RATE, and LATENCY query should be handled by the
12304           default case and not by the CONVERT query code.
12305
12306 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12307
12308         * gst/gstformat.c: (gst_format_register):
12309           Fix locking order (must take lock before using n_values).
12310
12311         * gst/gstvalue.c: (gst_value_serialize_enum),
12312         (gst_value_deserialize_enum_iter_cmp),
12313         (gst_value_deserialize_enum):
12314           Fix serialisation/deserialisation of custom registered GstFormats.
12315
12316         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12317           Unit test for custom format serialisation/deserialisation.
12318
12319 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12320
12321         * docs/pwg/building-boiler.xml:
12322         * plugins/elements/gstcapsfilter.c:
12323         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12324         section.
12325
12326 2006-09-16  Edward Hervey  <edward@fluendo.com>
12327
12328         * libs/gst/base/gstbasetransform.c:
12329         (gst_base_transform_buffer_alloc):
12330         Check if requested caps are the same as the sinks caps IF
12331         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12332         is FALSE.
12333         This fixes the renegotiation issues stated in #352827.
12334
12335 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12336
12337         * configure.ac:
12338         * docs/manual/advanced-autoplugging.xml:
12339         * tests/examples/Makefile.am:
12340         * tests/examples/manual/.cvsignore:
12341         * tests/examples/manual/Makefile.am:
12342         * tests/examples/manual/extract.pl:
12343           Extract the manual examples again like we used to do.
12344           Fix one of them.
12345
12346 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12347
12348         * win32/common/config.h:
12349           update for version
12350
12351 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12352
12353         * gst/gsterror.c:
12354           Documents how to receive errors.
12355
12356 2006-09-15  Wim Taymans  <wim@fluendo.com>
12357
12358         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12359         (event_loop), (main):
12360         Added some comments here and there.
12361         Post an application message when an interrupt is caught instead of doing
12362         an uncontrolled state change.
12363         Clean up the event loop.
12364         Handle buffering messages, pause/resume the pipeline.
12365         Make shutdown because of an interrupt more reliable.
12366
12367 2006-09-15  Wim Taymans  <wim@fluendo.com>
12368
12369         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12370         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12371         (gst_base_sink_preroll_object):
12372         Make sure that our internal state is correct when we commit our state
12373         asynchronously. This solves a race where a state change to PLAYING
12374         could cause the sink to remain blocked in preroll in some situations.
12375
12376 2006-09-15  Wim Taymans  <wim@fluendo.com>
12377
12378         * tools/gst-inspect.c: (print_element_properties_info),
12379         (print_signal_info):
12380         List flags as hex so it's easier to deal with.
12381
12382 2006-09-15  Wim Taymans  <wim@fluendo.com>
12383
12384         * docs/libs/gstreamer-libs-sections.txt:
12385         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12386         (gst_base_sink_do_sync):
12387         * libs/gst/base/gstbasesink.h:
12388         Expose logic to wait for preroll so that subclasses such as audiosink
12389         can also use this method.
12390         API: gst_base_sink_wait_preroll()
12391
12392 2006-09-15  Wim Taymans  <wim@fluendo.com>
12393
12394         * gst/gstobject.c: (gst_object_set_parent):
12395         * gst/gstpipeline.c: (do_pipeline_seek):
12396         Small cleanups in docs and code.
12397
12398         * gst/gstsegment.c: (gst_segment_clip):
12399         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12400         if stop == start and start is in the segment, no clipping should be
12401         done. Also add a test for this.
12402
12403 2006-09-15  Wim Taymans  <wim@fluendo.com>
12404
12405         * docs/design/part-buffering.txt:
12406         * docs/gst/gstreamer-sections.txt:
12407         * gst/gstmessage.c: (gst_message_new_buffering),
12408         (gst_message_parse_buffering):
12409         * gst/gstmessage.h:
12410         Added methods to create and parse BUFFERING messages.
12411         Added preliminary docs about buffering.
12412         API: gst_message_new_buffering
12413         API: gst_message_parse_buffering
12414
12415 2006-09-06  Wim Taymans  <wim@fluendo.com>
12416
12417         * gst/gstbin.c:
12418         Update documentation.
12419
12420         * gst/gstelement.c: (gst_element_class_init),
12421         (gst_element_release_request_pad), (gst_element_set_clock),
12422         (gst_element_get_index), (gst_element_add_pad),
12423         (gst_element_remove_pad), (gst_element_get_random_pad),
12424         (gst_element_send_event), (gst_element_get_query_types),
12425         (gst_element_query), (gst_element_post_message),
12426         (gst_element_message_full), (gst_element_continue_state),
12427         (gst_element_lost_state), (gst_element_save_thyself),
12428         (gst_element_restore_thyself):
12429         Documentation updates.
12430         Rename last bit of the new-pad -> pad-added signal rename.
12431         Fix the case where an element query would only work if the source
12432         pad was linked.
12433         Avoid some useless type checking in message handling.
12434
12435         * gst/gstevent.c:
12436         * gst/gstevent.h:
12437         * gst/gstutils.c:
12438         Documentation updates.
12439
12440 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12441
12442         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12443           add an INFO line for when we actually update the fd
12444
12445 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12446
12447         * configure.ac:
12448           back to TRUNK
12449
12450 === release 0.10.10 ===
12451
12452 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12453
12454         * configure.ac:
12455           releasing 0.10.10, "Pais"
12456
12457 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12458
12459         * docs/manual/advanced-position.xml:
12460           Fix typo in sample code.
12461
12462 2006-09-05  Wim Taymans  <wim@fluendo.com>
12463
12464         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12465         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12466         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12467         * libs/gst/net/gstnetclientclock.h:
12468         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12469         * libs/gst/net/gstnettimepacket.h:
12470         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12471         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12472         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12473         * libs/gst/net/gstnettimeprovider.h:
12474         Make stuff compile on windows. Fixes #345295.
12475
12476 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12477
12478         * gst/gst.c: (ensure_current_registry_forking):
12479           Print better details when child was terminated by signal.
12480
12481 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12482
12483         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12484           Print a warning rather than g_assert() if a plugin feature
12485           is a URI handler but returns no protocols (#353976).
12486
12487 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12488
12489         * docs/random/moving-plugins:
12490         Fix two typos.         
12491
12492 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12493
12494         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12495           Fix locking order, handle NULL function values properly.
12496
12497         * gst/gstinfo.h:
12498           Fix docs.
12499
12500         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12501           Initialise variable before using it and fix debug statement to
12502           print the address of the function rather than the address of the
12503           variable on the stack holding the address of the function.
12504
12505 2006-09-01  Wim Taymans  <wim@fluendo.com>
12506
12507         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12508         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12509         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12510         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12511         (gst_ghost_pad_parent_unset),
12512         (gst_ghost_pad_internal_do_activate_push),
12513         (gst_ghost_pad_internal_do_activate_pull),
12514         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12515         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12516         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12517         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12518         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12519         (gst_ghost_pad_new_no_target_from_template),
12520         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12521         More cleanups.
12522         Avoid needless typechecking in macros.
12523         Since the internal pad is always present and never changes, there is
12524         no need to locking or ref when retrieving it.
12525         Improve debugging a bit.
12526         Handle link errors when setting the target. Fixes #341029.
12527
12528 2006-09-01  Wim Taymans  <wim@fluendo.com>
12529
12530         * docs/libs/gstreamer-libs-sections.txt:
12531         * docs/plugins/gstreamer-plugins-sections.txt:
12532         Fix docs some more.
12533
12534         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12535         (gst_collect_pads_event):
12536         * libs/gst/base/gstcollectpads.h:
12537         Documentation updates.
12538         Free queued buffer when removing a pad.
12539
12540 2006-08-31  Michael Smith  <msmith@fluendo.com>
12541
12542         * gst/gstutils.c: (gst_element_link_pads),
12543         (gst_element_link_pads_filtered):
12544           Ensure that we set a capsfilter to NULL if we failed to link it
12545           when doing filtered linking, to avoid criticals.
12546
12547           No need to check for unreffing srcpad, which is explicly NULLed
12548           above (a trivial code cleanup).
12549
12550 2006-08-31  Wim Taymans  <wim@fluendo.com>
12551
12552         * docs/design/part-gstghostpad.txt:
12553         Update ascii art in documentation.
12554
12555         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12556         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12557         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12558         (gst_ghost_pad_internal_do_activate_push),
12559         (gst_ghost_pad_internal_do_activate_pull),
12560         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12561         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12562         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12563         (gst_ghost_pad_set_target):
12564         Small cleanups and leak fixes.
12565         Remove some checks now that the internal pad is never NULL.
12566         Fix the case where linking pads without a target would create nasty
12567         criticals. Fixes #341029.
12568         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12569         value of _set_target().
12570
12571         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12572         (gst_ghost_pad_suite):
12573         Some more tests for creating and linking untargeted ghostpads.
12574
12575 2006-08-31  Edward Hervey  <edward@fluendo.com>
12576
12577         * docs/gst/gstreamer-sections.txt:
12578         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12579         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12580         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12581         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12582         (gst_ghost_pad_new_from_template),
12583         (gst_ghost_pad_new_no_target_from_template):
12584         * gst/gstghostpad.h:
12585         Refactored *_new() functions.
12586         Templates are now used as a g_object_new() parameter.
12587         Use template in _do_getcaps() if we don't have a target.
12588         Small documentation cleanups.
12589         Added two new constructors:
12590         gst_ghost_pad_new_from_template()
12591         gst_ghost_pad_new_no_target_from_template()
12592         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12593         (gst_ghost_pad_suite):
12594         Added tests for new ghostpad instanciation functions.
12595
12596         API additions: gst_ghost_pad_new_from_template,
12597         gst_ghost_pad_new_no_target_from_template
12598
12599 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12600
12601         * docs/random/ensonic/profiling.txt:
12602           Ideas about qos profiling.
12603
12604 2006-08-29  Wim Taymans  <wim@fluendo.com>
12605
12606         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12607         Code cleanups.
12608         Fix memleak.
12609
12610 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12611
12612         * gst/gstxml.c:
12613           Improve and detypofy docs.
12614
12615         * tests/check/Makefile.am:
12616         * tests/check/gst/.cvsignore:
12617         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12618           Add a basic test suite for GstXML.
12619
12620 2006-08-29  Wim Taymans  <wim@fluendo.com>
12621
12622         * gst/gstelement.c: (activate_pads), (clear_caps),
12623         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12624         Clear the pad caps when the element shut down all of the pads and
12625         is not streaming data that could modify the caps. 
12626         Fixes #352958.
12627
12628 2006-08-28  Michael Smith  <msmith@fluendo.com>
12629
12630         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12631           Revert previous change; I misunderstood single-segment mode.
12632
12633 2006-08-28  Michael Smith  <msmith@fluendo.com>
12634
12635         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12636           Unset DISCONT on buffers when using single-segment mode.
12637
12638 2006-08-28  Wim Taymans  <wim@fluendo.com>
12639
12640         * gst/gstcaps.c: (gst_caps_merge_structure):
12641         * gst/gstcaps.h:
12642         Fix docs and indentation again.
12643
12644         * tests/check/gst/gstquery.c: (GST_START_TEST):
12645         Fix leak in tests and add some more tests.
12646
12647 2006-08-28  Edward Hervey  <edward@fluendo.com>
12648
12649         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12650         Inform GstSegment of the last stop position in order for the current
12651         segment to have a proper duration if it doesn't have a specific stop
12652         position from which a duration could be calculated.
12653         This bug was noticeable when a non-flushing, non-update new segment was
12654         followed by another segment (all buffers from the new segment were being
12655         dropped).
12656
12657 2006-08-28  Wim Taymans  <wim@fluendo.com>
12658
12659         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12660         Small comment update.
12661
12662         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12663         (gst_identity_transform_ip):
12664         Drop-probability is broken, mention this in the code with a 
12665         FIXME and also in the property description.
12666         Make silent also be silent about the drop messages.
12667
12668 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12669
12670         * docs/manual/appendix-win32.xml:
12671           Remove mention of popt, we don't depend on that any
12672           longer (#353136). Add some comments pointing out that
12673           this section is slightly outdated.
12674
12675 2006-08-28  Wim Taymans  <wim@fluendo.com>
12676
12677         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12678
12679         * gst/gstquery.c: (gst_query_new_segment):
12680         * tests/check/gst/gstquery.c: (GST_START_TEST):
12681         Initialize variables when creating a new segment query.
12682         Fixes #353121.
12683
12684 2006-08-28  Wim Taymans  <wim@fluendo.com>
12685
12686         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12687
12688         * gst/gstelement.c: (gst_element_get_bus):
12689         * tests/check/gst/gstelement.c: (GST_START_TEST):
12690         Check for NULL before _reffing the bus. Fixes #353122.
12691
12692 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12693
12694         * docs/manual/basics-bus.xml:
12695           Docs update: fix wrong callback return value explanation; add
12696           some lines about the implicit relationship between main loop
12697           and main context; remove duplicate main loop variable declaration.
12698
12699 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12700
12701         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12702           Don't leak caps in unit test; add a few more simple
12703           checks. 
12704
12705 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12706
12707         * docs/gst/gstreamer-sections.txt:
12708         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12709         (gst_caps_structure_is_subset), (gst_caps_merge),
12710         (gst_caps_merge_structure):
12711         * gst/gstcaps.h:
12712         * libs/gst/base/gstbasetransform.c:
12713         (gst_base_transform_transform_caps):
12714         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12715           implement caps merging (fixes #352580)
12716
12717 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12718
12719         * tools/Makefile.am:
12720         * tools/gst-plot-timeline.py:
12721           add debug-log plotting developer tool (#340674)
12722
12723 2006-08-23  Wim Taymans  <wim@fluendo.com>
12724
12725         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12726         (gst_pad_stop_task):
12727         Improve debugging for task functions.
12728
12729         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12730         (gst_task_start), (gst_task_pause), (gst_task_join):
12731         Make sure that the task function started and finished after a 
12732         join(). 
12733         Don't try to push the task function on the threadpool multiple
12734         times.
12735         Improve the g_warning message with some useful suggestions
12736         about how to fix the problem. 
12737
12738 2006-08-23  Wim Taymans  <wim@fluendo.com>
12739
12740         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12741         Handle RESYNC correctly in _proxy_getcaps.
12742
12743 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12744
12745         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12746         (gst_xml_parse_memory), (gst_xml_get_element):
12747           Chain up to parent class in dispose function and also
12748           unref the elements in the toplevel_elements GList.
12749           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12750           Always return a reference in gst_xml_get_element() rather
12751           than only sometimes.
12752
12753         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12754           Don't leak GstXml object.
12755
12756 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12757
12758         * docs/gst/gstreamer-sections.txt:
12759         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12760         (gst_caps_merge):
12761         * gst/gstcaps.h:
12762         * libs/gst/base/gstbasetransform.c:
12763         (gst_base_transform_transform_caps):
12764           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12765           in a better way
12766
12767 2006-08-21  Edward Hervey  <edward@fluendo.com>
12768
12769         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12770         Implement GObject::dispose virtual method in GstXML so we can free the
12771         top_elements GList.
12772
12773 2006-08-21  Wim Taymans  <wim@fluendo.com>
12774
12775         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12776         (gst_buffer_create_sub):
12777         Copy duration/offset_end/caps when creating a subbuffer of the
12778         complete parent.
12779         Make the subbuffer read-only when we make the metadata writable for
12780         now. Fixes #351768.
12781
12782         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12783         Added check for metadata copy when creating subbuffers.
12784
12785 2006-08-21  Edward Hervey  <edward@fluendo.com>
12786
12787         * libs/gst/base/gstbasetransform.c:
12788         (gst_base_transform_buffer_alloc):
12789         Only call downstream buffer_alloc if transform element is passthrough
12790         or always_in_place. Closes #350449.
12791
12792 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12793
12794         * ChangeLog:
12795           ChangeLog surgery to add comments to previous changes
12796
12797 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12798
12799         * gst/gst.c:
12800           Add comments
12801
12802         * gst/gstpad.c: (gst_pad_set_active):
12803           Be more verbose in the log
12804
12805         * libs/gst/base/gstbasetransform.c:
12806         (gst_base_transform_transform_caps):
12807           Simplify caps to get rid of duplicates, fixes #345444
12808
12809 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12810
12811         * gst/gstvalue.c:
12812         * gst/gstvalue.h:
12813           Use these optimizations only internally.
12814
12815 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12816
12817         * gst/gstvalue.c: (gst_value_compare_list),
12818         (gst_value_compare_fraction_range),
12819         (gst_value_intersect_fraction_fraction_range),
12820         (gst_value_intersect_fraction_range_fraction_range),
12821         (gst_value_subtract_fraction_fraction_range),
12822         (gst_value_subtract_fraction_range_fraction_range),
12823         (gst_value_get_compare_func), (gst_value_compare),
12824         (gst_value_compare_with_func):
12825         * gst/gstvalue.h:
12826           Saves the expensive lookup of the compare function in many cases
12827          (#345444)
12828
12829 2006-08-18  Edward Hervey  <edward@fluendo.com>
12830
12831         * tests/check/gst/gstinfo.c: (gst_info_suite):
12832         Disable test that require gstdebug if it wasn't built in core.
12833
12834 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12835
12836         * docs/random/ensonic/logging.txt:
12837           update ideas
12838           
12839         * gst/gstinfo.c: (gst_debug_log_default):
12840           reorder fields, save some columns, add optional color codes for log
12841           levels
12842
12843 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12844
12845         * docs/random/ensonic/logging.txt:
12846           add ideas about making the logs a bit more useful
12847
12848 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12849
12850         * docs/pwg/advanced-events.xml:
12851         * docs/pwg/titlepage.xml:
12852           Update for 0.10 API (#340627). Add myself
12853           to authors list.
12854
12855 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12856
12857         * docs/libs/gstreamer-libs-docs.sgml:
12858         * docs/libs/gstreamer-libs-sections.txt:
12859         * libs/gst/check/gstbufferstraw.c:
12860           Make gstcheck stuff show up in docs (still needs to
12861           be documented properly though).
12862
12863 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12864
12865         * docs/gst/gstreamer-sections.txt:
12866         * gst/Makefile.am:
12867         * gst/gst.c: (init_post):
12868         * gst/gst_private.h:
12869         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12870         * gst/gstquark.h:
12871         * gst/gstquery.c: (gst_query_new_position),
12872         (gst_query_set_position), (gst_query_parse_position),
12873         (gst_query_new_duration), (gst_query_set_duration),
12874         (gst_query_parse_duration), (gst_query_new_convert),
12875         (gst_query_set_convert), (gst_query_parse_convert),
12876         (gst_query_new_segment), (gst_query_set_segment),
12877         (gst_query_parse_segment), (gst_query_new_seeking),
12878         (gst_query_set_seeking), (gst_query_parse_seeking):
12879         Add internal helpers for pre-registering quarks from static strings
12880         and using the quark values directly instead of looking them up when
12881         creating and parsing queries. Can be used for event construction too.
12882         Closes #350432.
12883
12884 2006-08-16  Wim Taymans  <wim@fluendo.com>
12885
12886         * gst/gstbin.c:
12887         Fix bogus docs.
12888
12889 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12890
12891         * gst/gstutils.c: (gst_util_set_value_from_string):
12892           Fix memleak (#351502).
12893
12894         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12895           Add unit test for most of gst_util_set_value_from_string()
12896           (not that one would want to encourage use of this function).
12897
12898 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12899
12900         * libs/gst/check/gstcheck.h:
12901           Use const gchar * variables in fail_unless_equals_string
12902           macro to avoid compiler warnings (and don't use tabs for
12903           indenting).
12904
12905 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12906
12907         * tools/gst-launch.c: (print_tag):
12908           More space on the left for the tag names, to cater
12909           for the 'extended comment' tag (not touching the
12910           string for the first line since it's translated).
12911
12912 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12913
12914         * libs/gst/check/gstcheck.h:
12915           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12916           print something when they fail.
12917
12918 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12919
12920         * docs/gst/gstreamer-sections.txt:
12921         * gst/gsttaglist.c: (_gst_tag_initialize):
12922         * gst/gsttaglist.h:
12923           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12924           Also change merge function for GST_TAG_COMMENT to
12925           use_first.
12926
12927 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12928
12929         * gst/gstinfo.c: (gst_debug_print_object):
12930           Make GST_PTR_FORMAT print messages as well.
12931
12932         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12933         (GST_START_TEST), (gst_info_suite):
12934           More tests.
12935
12936 2006-08-14  Edward Hervey  <edward@fluendo.com>
12937
12938         * gst/gstelementfactory.c: (gst_element_register):
12939         If the GstElementClass doesn't have a GstElementDetails with all fields
12940         filled up correctly (longname, description AND author), then error out
12941         nicely instead of crashing.
12942
12943 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12944
12945         * gst/gststructure.c:
12946           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12947
12948         * gst/gstvalue.h:
12949           Expand on the difference between arrays and lists as we use them.
12950           
12951 2006-08-14  Wim Taymans  <wim@fluendo.com>
12952
12953         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12954         If the parent state change function failed, don't assume we can safely
12955         stop the source, this will be done when the pads are deactivated.
12956
12957 2006-08-14  Wim Taymans  <wim@fluendo.com>
12958
12959         * gst/gstbuffer.c:
12960         * gst/gsttask.c: (gst_task_join):
12961         Small doc updates.
12962
12963         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12964         (gst_pad_stop_task):
12965         When pad (de)activation failed for some reason, restore the old
12966         activation mode and set the pad to flushing instead of assuming the
12967         pad is deactivated.
12968         If the _task_join() failed, reinstall the task on the pad so that it can
12969         be stopped later and return an error.
12970
12971 2006-08-11  Andy Wingo  <wingo@pobox.com>
12972
12973         * configure.ac:
12974         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12975         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12976         is only for users of API that don't want to see deprecated
12977         functions in the headers; people that want to compile out
12978         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12979         CFLAGS. Fixes the build of multifdsink, or will soon..
12980
12981 2006-08-11  Wim Taymans  <wim@fluendo.com>
12982
12983         * docs/gst/gstreamer-sections.txt:
12984         Add GstClockClass vmethod docs.
12985
12986         * gst/gstcaps.h:
12987         Mark #endif with comment for associated #if
12988
12989         * gst/gstclock.c: (gst_clock_id_wait):
12990         * gst/gstclock.h:
12991         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12992         most clock implementations.
12993         Document vmethods.
12994         Flesh out docs about resolution methods.
12995         API: GstClockClass::wait_jitter
12996
12997         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12998         (gst_system_clock_async_thread),
12999         (gst_system_clock_id_wait_jitter_unlocked),
13000         (gst_system_clock_id_wait_jitter):
13001         Use base class wait_jitter variant for improved performance
13002         due to less clock polling.
13003
13004 2006-08-11  Edward Hervey  <edward@fluendo.com>
13005
13006         * gst/gst.c: (gst_init_check), (init_post):
13007         Set gst as being initialized before scanning/updating the registry,
13008         since there might be my python plugin loader that calls gst_init() and
13009         we don't want to loop back in.
13010         Closes #350879
13011
13012 2006-08-11  Wim Taymans  <wim@fluendo.com>
13013
13014         * docs/design/part-qos.txt:
13015         Bring docs in line with the code. Mostly the sign of the jitter was
13016         wrong in the docs. Fixes #349943.
13017
13018         * gst/gstclock.c:
13019         Fix the docs for the jitter.
13020
13021         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13022         (gst_event_parse_tag), (gst_event_new_buffer_size),
13023         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13024         (gst_event_new_seek), (gst_event_parse_seek),
13025         (gst_event_new_navigation):
13026         Make sure the GstStructure has no parent when creating custom
13027         events.
13028         Add some more argument checking so that we avoid 0.0 rates.
13029         Flesh out the docs for the QoS event some more.
13030
13031 2006-08-11  Wim Taymans  <wim@fluendo.com>
13032
13033         * docs/gst/gstreamer-sections.txt:
13034         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13035         (ensure_current_registry_forking), (ensure_current_registry),
13036         (parse_one_option), (parse_goption_arg), (gst_deinit),
13037         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13038         * gst/gst.h:
13039         Doc updates.
13040         Added API and command line option to disable registry forking in
13041         addition to the environment variable.
13042         Constify some static arrays.
13043         Added some more debug.
13044         Don't deinit twice.
13045         API: gst_registry_fork_is_enabled()
13046         API: gst_registry_fork_set_enabled()
13047         API: --gst-disable-registry-fork command line option
13048         Fixes #348918.
13049
13050 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13051
13052         * gst/gst.c: (gst_init):
13053           Fix typo in error message.
13054
13055 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13056
13057         * libs/gst/controller/gstcontroller.h:
13058           fix ABI size-correction
13059
13060         * tests/check/libs/gdp.c: (gst_dp_suite):
13061           make tests that use deprecated API conditional
13062
13063 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13064
13065         * docs/libs/gstreamer-libs-sections.txt:
13066         * libs/gst/controller/gstcontroller.c:
13067         (_gst_controller_get_property), (_gst_controller_set_property),
13068         (_gst_controller_init), (_gst_controller_class_init):
13069         * libs/gst/controller/gstcontroller.h:
13070         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13071         (gst_object_set_control_rate):
13072           API: add gst_object_{s,g}et_control_rate(), add private data section,
13073           fix docs
13074
13075         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13076         * libs/gst/dataprotocol/dataprotocol.h:
13077           add deprecation guards to make gtk-doc happy and allow disabling cruft
13078
13079 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13080
13081         * tests/check/Makefile.am:
13082         * tests/check/gst/.cvsignore:
13083           Let's enable the new unit test as well.
13084
13085 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13086
13087         * configure.ac:
13088         * docs/gst/gstreamer-sections.txt:
13089         * gst/gstconfig.h.in:
13090         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13091         (_gst_info_printf_extension_ptr),
13092         (_gst_info_printf_extension_segment):
13093           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13094           register that lets us easily dump GstSegments into debug
13095           logs (#350419).
13096
13097         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13098         (info_segment_format_printf_extension), (gst_info_suite):
13099           Add simple unit test that logs a bunch of different segments (not
13100           valgrinded at the moment because of leaks in
13101           gst_debug_add_log_function).
13102
13103 2006-08-09  Edward Hervey  <edward@fluendo.com>
13104
13105         * libs/gst/base/gstbasetransform.c:
13106         (gst_base_transform_buffer_alloc):
13107         Even if we can't figure out the proper format to request downstream,
13108         call buffer_alloc() downstream with the input parameters without setting
13109         the caps on the srcpad. This will force negotiation in the chain
13110         function.
13111         Closes #350449
13112
13113 2006-08-08  Edward Hervey  <edward@fluendo.com>
13114
13115         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13116         Unlinking from a pad without a target is now a perfectly valid case
13117         which should NOT raise an assertion.
13118         This case would happen if a linked ghostpad its target set to NULL after
13119         it was previously linked.
13120
13121 2006-08-08  Edward Hervey  <edward@fluendo.com>
13122
13123         * tests/check/libs/gdp.c:
13124         Also comment out the test (see below).
13125
13126 2006-08-08  Edward Hervey  <edward@fluendo.com>
13127
13128         * tests/check/libs/gdp.c: (gst_dp_suite):
13129         Use the architecture information from config.h and not gcc macros
13130         in order to properly disable a test that fails on PPC64.
13131
13132 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13133
13134         * gst/gstelement.c: (gst_element_remove_pad):
13135           Don't crash printing the warning if the pad has no parent.
13136
13137 2006-08-02  Wim Taymans  <wim@fluendo.com>
13138
13139         * libs/gst/dataprotocol/dataprotocol.c:
13140         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13141         (gst_dp_crc), (gst_dp_header_payload_length),
13142         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13143         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13144         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13145         (gst_dp_event_from_packet), (gst_dp_validate_header),
13146         (gst_dp_validate_payload):
13147         Make debug category static
13148         Constify the crc table.
13149         Do some more arg checking in public functions.
13150         Fix some docs and do some small cleanups.
13151
13152         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13153         Add some more checks to see if GDP deals with bogus input.
13154
13155 2006-07-31  Wim Taymans  <wim@fluendo.com>
13156
13157         * gst/gstvalue.c: (gst_value_compare_list):
13158         Fix GstValueList comparison code. Fixes #347293.
13159
13160         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13161         Check to test GstValueList comparison.
13162
13163 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13164
13165         * gst/gstelementfactory.c: (gst_element_factory_create):
13166         Remove unnecessary ref/unref pair
13167
13168         * gst/parse/grammar.y:
13169         Make sure to free the parse buffer on all code paths.
13170         Move a g_free up to the error handler where it's easier to see.
13171
13172         * tests/check/gst/gstevent.c: (test_event):
13173         Extending timeout for downstream travelling events to 10 seconds to
13174         hopefully avoid intermittent failure on the buildbots.
13175
13176         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13177         Don't manually set the state of the src element - it will happen as a
13178         natural consequence of the pipeline changing state, and that way it
13179         will do it in the right order too.
13180
13181 2006-07-31  Wim Taymans  <wim@fluendo.com>
13182
13183         * libs/gst/base/gstbasetransform.c:
13184         (gst_base_transform_buffer_alloc):
13185         Use OBJECT_LOCK and refcounting to get the pad caps in the
13186         buffer_alloc function because the caps could change while we are
13187         busy with them. Fixes #349105
13188
13189 2006-07-31  Wim Taymans  <wim@fluendo.com>
13190
13191         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13192         Protect _PAD_CAPS with OBJECT_LOCK.
13193
13194 2006-07-31  Wim Taymans  <wim@fluendo.com>
13195
13196         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13197         (gst_pad_get_property), (gst_pad_activate_pull),
13198         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13199         (gst_pad_set_activate_function),
13200         (gst_pad_set_activatepull_function),
13201         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13202         (gst_pad_set_getrange_function),
13203         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13204         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13205         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13206         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13207         (gst_pad_set_acceptcaps_function),
13208         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13209         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13210         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13211         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13212         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13213         (gst_pad_configure_sink), (gst_pad_configure_src),
13214         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13215         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13216         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13217         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13218         (gst_pad_send_event):
13219         Use _DEBUG_OBJECT when it makes sense.
13220         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13221         Small cleanups and code reflows.
13222         Avoid caps refcounting in _accept_caps.
13223         Refactor alloc_buffer so that the code performed on the peer is in a
13224         separate function. Also if the pad does not implement a buffer alloc
13225         function, we should still check if the pad is flushing before falling
13226         back to the default allocator.
13227
13228 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13229
13230         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13231         Make all uses of identity and fakesink have silent=true to avoid
13232         serialising every passing data structure, which is breaking tests
13233         on FC4 for some unknown reason.
13234
13235 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13236
13237         * gst/parse/Makefile.am:
13238         * gst/parse/grammar.y:
13239         * gst/parse/parse.l:
13240           Reverted previous patch as it required to bump the flex dependency to
13241           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13242
13243 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13244
13245         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13246
13247         * gst/parse/Makefile.am:
13248         * gst/parse/grammar.y:
13249         * gst/parse/parse.l:
13250           push & pop the state of the lexer for reentrant use case
13251           Fixes #349180
13252
13253 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13254
13255         * libs/gst/base/gstbasesrc.h:
13256           Note in the docs that the ::newsegment vfunc is not actually used by
13257           GstBaseSrc.
13258
13259 2006-07-28  Wim Taymans  <wim@fluendo.com>
13260
13261         * libs/gst/base/gstcollectpads.c:
13262         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13263         (gst_collect_pads_clear), (gst_collect_pads_flush),
13264         (gst_collect_pads_event), (gst_collect_pads_chain):
13265         When flushing a pad, also clear the queued buffer so that we don't
13266         accidentally use it when we shouldn't.
13267         Fix leaks by inreffing incomming buffer.
13268         Flush out queued buffers in case of errors.
13269         Fixes #347452.
13270
13271 2006-07-28  Wim Taymans  <wim@fluendo.com>
13272
13273         * docs/random/phonon-gst:
13274         Random notes about a Phonon backend.
13275
13276 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13277
13278         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13279         Extra debug output
13280         * tests/check/libs/gdp.c: (gst_dp_suite):
13281         Take a whack at fixing the ppc compile using a different define to
13282         disable the broken test.
13283
13284         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13285         Remove excess g_print()
13286
13287 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13288
13289         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13290         Oops, meant to uncomment this line too to dampen the noise a bit.
13291
13292 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13293
13294         * gst/parse/grammar.y:
13295         * gst/parse/parse.l:
13296         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13297         (GST_START_TEST), (parse_suite):
13298         Fix some of the leaks exposed by extending the parse-launch testsuite,
13299         and move the 3 I can't figure out into a separate test that won't run
13300         the pipelines unless the appropriate line is uncommented.
13301
13302 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13303
13304         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13305           Requesting 0 bytes before the end of the file should result in
13306           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13307           unit test.
13308
13309 2006-07-27  Wim Taymans  <wim@fluendo.com>
13310
13311         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13312         Fix useless assert, a uint is always positive.
13313
13314         * gst/gststructure.c: (gst_structure_nth_field_name),
13315         (gst_structure_foreach), (gst_structure_map_in_place):
13316         Check input arguments for public functions to avoid obvious crashes.
13317
13318         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13319         * plugins/elements/gstfakesink.h:
13320         Do less useless typechecking.
13321
13322 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13323
13324         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13325           Do not use mmap() by default since there are a number of error
13326           conditions that we would like to handle in a non-fatal way that
13327           will result in a SIGBUS if we use mmap(). Examples: external
13328           devices (USB harddrive, portable music player) being unplugged
13329           while in use; file on mounted CD/DVD that can't be read because
13330           the medium is partly damaged. Fixes #348455 and #348475.
13331
13332 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13333
13334         * gst/gstquery.h:
13335         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13336         rates are a gdouble
13337
13338 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13339
13340         * gst/gstregistry.c:
13341           Move big documentation comment into class section header, so that it
13342           appears in the API docs.
13343
13344 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13345
13346         * docs/gst/gstreamer-sections.txt:
13347         Oops. Commit the docs additions too for new API.
13348         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13349
13350 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13351
13352         * gst/gststructure.c: (gst_structure_id_set),
13353         (gst_structure_id_set_valist):
13354         * gst/gststructure.h:
13355         Add API for setting values into structures without performing
13356         a quark lookup, if the appropriate quark is already known.
13357
13358         API: gst_structure_id_set
13359         API: gst_structure_id_set_valist
13360
13361         * gst/parse/grammar.y:
13362         * gst/parse/parse.l:
13363         Remove some dead code shown by the coverage information.
13364         Don't throw a critical g_warning when encountering a syntax error,
13365         just warn and let the normal error path handle it.
13366
13367         * plugins/elements/gstelements.c:
13368         Bump the rank of filesink up to PRIMARY so that it is preferred over
13369         gnomevfssink for file:// sink uri's
13370
13371         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13372         (GST_START_TEST), (run_delayed_test),
13373         (gst_parse_test_element_base_init),
13374         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13375         (gst_parse_test_element_change_state),
13376         (gst_register_parse_element), (parse_suite):
13377         Beef up the tests for parse syntax to check that more error cases
13378         fail as they are supposed to. Increases the test coverage a bit.
13379
13380 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13381
13382         * docs/manual/basics-elements.xml:
13383           Fix gst_element_link() example.
13384
13385         * gst/gstutils.c:
13386           Mention in API docs that one should usually gst_bin_add()
13387           elements to a bin or pipeline before doing the linking.
13388           
13389 2006-07-26  Wim Taymans  <wim@fluendo.com>
13390
13391         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13392         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13393         Avoid function call for known types by keeping the buffer and
13394         subbuffer GType global.
13395
13396         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13397         Random silly optimisations in read() path.
13398
13399 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13400
13401         * tools/gst-launch.c: (main):
13402           If the top-level of the parse is a normal bin, it doesn't do the
13403           right logic to run as a top-level element, so place it inside a
13404           pipeline.
13405
13406 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13407
13408         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13409           Remove superfluous g_object_notify() calls, GObject does
13410           that for us automatically.
13411
13412 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13413
13414         * gst/gstinfo.h:
13415           on Win32, use dllspec to export the debug category symbols
13416
13417 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13418
13419         * gst/gsttaglist.c: (_gst_tag_initialize):
13420           Allow more than one GST_TAG_IMAGE per taglist.
13421
13422 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13423
13424         * gst/gstminiobject.c:
13425           update docs
13426         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13427         (gst_fd_src_create):
13428           log recurring events at LOG level
13429           add more debug for when the fd gets set
13430
13431 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13432
13433         * gst/gstparse.c: (gst_parse_launch):
13434           Also remove reentrance checks if flex is MT safe (#348179)
13435          Fix my empty ChangeLog entry below
13436
13437 2006-07-21  Andy Wingo  <wingo@pobox.com>
13438
13439         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13440
13441         * libs/gst/check/Makefile.am
13442         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13443         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13444         * libs/gst/check/gstbufferstraw.h:
13445         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13446         functions, thus proving I am still a GStreamer haxor. OK I wrote
13447         them a long time ago, but anyways.
13448
13449 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13450
13451         * configure.ac:
13452         * gst/gstparse.c: (gst_parse_launch):
13453           Check for flex version and omit mutex if we have a MT save flex
13454           (fixes #348179)
13455
13456 2006-07-21  Wim Taymans  <wim@fluendo.com>
13457
13458         * gst/gstparse.c: (gst_parse_launch):
13459         Protect recursive calls to _parse with a recursive mutex
13460         and busy flag.
13461
13462 2006-07-21  Wim Taymans  <wim@fluendo.com>
13463
13464         * tests/check/gst/gstpad.c: (GST_START_TEST):
13465         Fix leak in test.
13466
13467 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13468
13469         * gst/gstparse.c: (gst_parse_launch):
13470           Do not hang on recursive usage of gst_parse_launch()
13471
13472 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13473
13474         * gst/gsttaglist.c:
13475           Add some more docs, comments and FIXME 0.11s here and there
13476           and also fix some typos.
13477
13478 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13479
13480         * gst/gstsegment.h:
13481           Convert tabs to spaces for better readability. 
13482
13483 2006-07-20  Edward Hervey  <edward@fluendo.com>
13484
13485         * tests/check/libs/gdp.c: (gst_dp_suite):
13486         the test_buffer test fails at line 140 on ppc64 at the following
13487         check:
13488         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13489                 GST_BUFFER_FLAG_IN_CAPS),
13490                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13491         See bug #348114 for more details.
13492
13493 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13494
13495         * docs/pwg/advanced-scheduling.xml:
13496         * gst/gstpad.c:
13497           Fix typos (#348000).
13498
13499 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13500
13501         * docs/pwg/intro-basics.xml:
13502           Fix wrong links (#347927).
13503
13504 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13505
13506         * gst/gstregistry.h:
13507         * gst/gstregistryxml.c: (load_feature),
13508         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13509         * win32/common/config.h:
13510           make --disable-index work (#342564)
13511
13512 2006-07-18  Wim Taymans  <wim@fluendo.com>
13513
13514         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13515
13516         * gst/Makefile.am:
13517         * gst/gsttrace.h:
13518         The attached patch adds two missing defines to gsttrace.h when tracing
13519         is disabled.  It also corrects one existing define.
13520         Fixes #347756.
13521
13522 2006-07-17  Wim Taymans  <wim@fluendo.com>
13523
13524         * docs/gst/gstreamer-sections.txt:
13525         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13526         * gst/gst.h:
13527         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13528         Add two functions to check and change the SIGSEGV behaviour
13529         when loading plugins.
13530         Don't mess with the SIGSEGV handler when we were told not to.
13531         Fixes #347794.
13532         API: gst_segtrap_is_enabled
13533         API: gst_segtrap_set_enabled
13534
13535 2006-07-14  Wim Taymans  <wim@fluendo.com>
13536
13537         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13538         * tests/check/elements/filesrc.c: (GST_START_TEST):
13539         Revert fix for regression in #347408 after release.
13540
13541 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13542
13543         Patch by: Antoine Tremblay <hexa00 at gmail com>
13544
13545         * gst/gstutils.c: (gst_element_unlink):
13546           Free iterator when done (#347311).
13547
13548         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13549           And add a test case for this.
13550
13551 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13552
13553         * configure.ac:
13554         Bump nano back to CVS
13555
13556 === release 0.10.9 ===
13557
13558 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13559
13560         * configure.ac:
13561           releasing 0.10.9, "On the road again"
13562
13563 2006-07-13  Wim Taymans  <wim@fluendo.com>
13564
13565         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13566         * tests/check/elements/filesrc.c: (GST_START_TEST):
13567         Revert pull-0 fix for release. Disable check. Fixes #347408.
13568
13569 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13570
13571         * libs/gst/dataprotocol/dataprotocol.c:
13572         (gst_dp_event_from_packet_1_0):
13573           Fixes #347337: failure to deserialize event packets with
13574           empty payload (only event type)
13575
13576 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13577
13578         * gst/Makefile.am:
13579           do not install a .c file in the header directory
13580
13581 2006-07-13  Edward Hervey  <edward@fluendo.com>
13582
13583         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13584         GhostPad no longer implicitely use the padtemplates of the targets.
13585         Fixes #347384
13586
13587 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13588
13589         * gst/gstvalue.c: (gst_value_compare_list),
13590         (gst_value_compare_array), (_gst_value_initialize):
13591         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13592         Make GstValueArray comparison be order dependent as designed.
13593         Add checks for value lists and value array comparisons.
13594         Fixes #347221
13595
13596 2006-07-11  Edward Hervey  <edward@fluendo.com>
13597
13598         * gst/gstbin.c: (activate_pads),
13599         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13600         (gst_bin_change_state_func):
13601         (de)activate src pads before calling state_change on the childs.
13602         This is to avoid the case where a src ghostpad is blocked (holding the
13603         stream lock), which would block the deactivation of the ghostpad's
13604         target pad.
13605         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13606         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13607         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13608         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13609         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13610         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13611         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13612         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13613         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13614         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13615         (gst_ghost_pad_class_init),
13616         (gst_ghost_pad_internal_do_activate_push),
13617         (gst_ghost_pad_internal_do_activate_pull),
13618         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13619         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13620         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13621         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13622         GhostPads now create their internal GstProxyPad at creation (and not
13623         when they're linked, as it was being done previously).
13624         The internal and target pads are linked straight away.
13625         The data will also travel through the other pad in order to make
13626         pad blocking and probes non-hackish (the probe/block now really happens
13627         on the GhostPad and not on the target).
13628         * gst/gstpad.c: (gst_pad_set_blocked_async),
13629         (gst_pad_link_prepare), (gst_pad_push_event):
13630         Remove previous ghostpad cruft.
13631         * gst/gstutils.c: (gst_pad_add_data_probe),
13632         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13633         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13634         (gst_pad_remove_buffer_probe):
13635         Remove previous ghost pad cruft.
13636         Added more detailed debug statements.
13637         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13638         Fix the testsuite for refcounting changes.
13639         The comments about who has references were correct, but the refcount
13640         being checked wasn't the same (!?!).
13641
13642         Fixes #341029
13643
13644 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13645
13646         * docs/gst/gstreamer-sections.txt:
13647         * gst/gstconfig.h.in:
13648         More docs for configuration options, add docs to gtk-doc.
13649
13650 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13651
13652         * gst/Makefile.am:
13653         * gst/gstconfig.h.in:
13654         * win32/common/config.h:
13655         Fix build when disabling tracing (fixes #344016). Also start to document
13656         the defines that disable the sub-systems.
13657
13658 2006-07-10  Edward Hervey  <edward@fluendo.com>
13659
13660         * gst/gst.c: (ensure_current_registry_forking):
13661         let's make valgrind happy...
13662
13663 2006-07-09  Wim Taymans  <wim@fluendo.com>
13664
13665         * gst/gstelement.c: (activate_pads),
13666         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13667         Better pad activation code: Reset the collect value too on resync.
13668         Add some comments.
13669
13670 2006-07-09  Wim Taymans  <wim@fluendo.com>
13671
13672         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13673         (gst_pad_activate_push):
13674         Use some more macros where it makes sense.
13675         Allow pad mode switching instead of asserting. When a pad
13676         is activated in one mode and we activate it in another, 
13677         deactivate it first before activating it in a different mode.
13678         Fixes #329198.
13679
13680 2006-07-08  Andy Wingo  <wingo@pobox.com>
13681
13682         * tools/gst-launch.c (main): Handle err == NULL.
13683
13684         * gst/gst.c (init_post, ensure_current_registry)
13685         (ensure_current_registry_forking)
13686         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13687         factoring out the registry scanning into separate functions. Don't
13688         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13689         Better environment var name/interface suggestions accepted.
13690
13691 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13692
13693         * gst/gstobject.c: (gst_object_set_name_default),
13694         (gst_object_set_name):
13695           Random micro-optimisation: don't use a hash table
13696           with strings as keys and the usual strdup/strcmp
13697           involved, but rather just use the GQuark of the
13698           type name as key, since it needs to be looked up
13699           anyway to get the type name string.
13700
13701         * tests/check/gst/gstobject.c: (GST_START_TEST):
13702           Fix various leaks.
13703
13704 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13705
13706         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13707         (gst_bin_iterate_all_by_interface):
13708           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13709           GTypes are gulongs and thus the top 4 bytes might be cut
13710           off on some platforms when doing GPOINTER_TO_INT, leading
13711           to invalid GTypes and bad things happening (see RH bug #179654).
13712           Also add a check to make sure the type passed in is really
13713           an interface type.
13714
13715 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13716
13717         * .cvsignore:
13718           Ignore more.
13719
13720 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13721
13722         * Makefile.am:
13723         * configure.ac:
13724         * gst-element-check.m4:
13725         * gst-element-check.m4.in:
13726           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13727           instead of the unversioned gst-inspect (#324176, #168659).
13728
13729 2006-07-06  Wim Taymans  <wim@fluendo.com>
13730
13731         * gst/gstmessage.h:
13732         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13733         warnings.
13734
13735 2006-07-06  Wim Taymans  <wim@fluendo.com>
13736
13737         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13738         (gst_base_src_wait), (gst_base_src_update_length),
13739         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13740         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13741         (gst_base_src_loop), (gst_base_src_start),
13742         (gst_base_src_activate_pull):
13743         Update docs.
13744         blocksize == 0 now means the default blocksize when working in push
13745         based mode.
13746         Remove some pointless asserts in _wait function.
13747         Fix offset/length calculations and EOS handling. We can now pull 0
13748         bytes as well, which is allowed.
13749         use _check_get_range() to decide if we can operate in _pull based
13750         mode.
13751         Fix refcounting leak when check_get_range function was not 
13752         implemented.
13753         API GstBaseSrc::blocksize range can be 0 too now (default)
13754
13755         * tests/check/elements/filesrc.c: (GST_START_TEST),
13756         (filesrc_suite):
13757         Added check to test _get_range() behaviour.
13758
13759 2006-07-06  Wim Taymans  <wim@fluendo.com>
13760
13761         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13762         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13763         (gst_pad_pull_range):
13764         * gst/gstpad.h:
13765         Lots of comments and docs added to the pad functions.
13766         Flesh out the expected behaviour of the get_range() functions.
13767
13768 2006-07-06  Wim Taymans  <wim@fluendo.com>
13769
13770         * gst/gstbus.h:
13771         * gst/gstclock.h:
13772         * gst/gstevent.h:
13773         * gst/gstiterator.h:
13774         * gst/gstpad.h:
13775         * gst/gstplugin.h:
13776         * gst/gsttask.h:
13777         Remove comma at end of enumerator list. 
13778
13779 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13780
13781         * win32/common/libgstbase.def:
13782         * win32/common/libgstdataprotocol.def:
13783         * win32/common/libsgtreamer.def:
13784         Add new exported functions.
13785
13786 2006-07-05  Wim Taymans  <wim@fluendo.com>
13787
13788         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13789         Add some more docs here and there.
13790
13791 2006-07-05  Wim Taymans  <wim@fluendo.com>
13792
13793         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13794         (gst_base_sink_loop), (gst_base_sink_get_position):
13795         When operating in pull mode update the offset so that we
13796         read sequentially.
13797
13798 2006-07-05  Wim Taymans  <wim@fluendo.com>
13799
13800         * gst/gstregistryxml.c: (read_string):
13801         Avoid strdup. (will happen in libxml, but hey!)
13802
13803         * gst/gsturi.c:
13804         Add some more docs.
13805
13806 2006-07-05  Wim Taymans  <wim@fluendo.com>
13807
13808         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13809         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13810         (gst_buffer_suite):
13811         No point in checking if the size of the subbuffer > 0, the
13812         code handles it correclty as demonstrated by unit test.
13813         Also add a unit test for the zero sized _new_and_alloc and
13814         _copy. Fixes #346663.
13815
13816 2006-07-05  Wim Taymans  <wim@fluendo.com>
13817
13818         * libs/gst/base/gstbasetransform.c:
13819         (gst_base_transform_prepare_output_buffer),
13820         (gst_base_transform_buffer_alloc),
13821         (gst_base_transform_handle_buffer):
13822         Make sure the buffer we pass to transform_ip has a refcount of
13823         1 and thus is writable. Fixes #343196
13824
13825 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13826
13827         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13828         (gst_file_src_init), (gst_file_src_set_property),
13829         (gst_file_src_get_property), (gst_file_src_map_region):
13830         * plugins/elements/gstfilesrc.h:
13831         Add "sequential" property, off by default, to use madvise and hint
13832         to the kernel that sequential access is desired.
13833         Touch all retrieved pages by default to ensure they are pulled
13834         into memory. (Closes #345720)
13835
13836 2006-07-03  Wim Taymans  <wim@fluendo.com>
13837
13838         * docs/design/part-block.txt:
13839         * docs/design/part-dynamic.txt:
13840         Small docs updates.
13841
13842 2006-07-03  Wim Taymans  <wim@fluendo.com>
13843
13844         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13845         (gst_caps_unref), (gst_static_caps_get),
13846         (gst_caps_append_structure):
13847         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13848         Use GSlice when the glib we build against is >= 2.10
13849
13850 2006-07-03  Wim Taymans  <wim@fluendo.com>
13851
13852         * gst/gstelement.c: (gst_element_pads_activate):
13853         Small cleanup in pad activation code.
13854
13855 2006-07-03  Wim Taymans  <wim@fluendo.com>
13856
13857         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13858
13859         * gst/gst-i18n-app.h:
13860         * gst/gst-i18n-lib.h:
13861         * tools/gst-inspect.c: (print_signal_info):
13862         The attached patch will make the inclusion of gettext.h unconditional in
13863         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13864         libintl.h in tools/gst-inspect.c.
13865         This allows use of --disable-nls again and fixes #344642.
13866
13867 2006-07-03  Edward Hervey  <edward@fluendo.com>
13868
13869         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13870         Implement pad blocking on events according to part-block.txt.
13871         More comments on behaviour.
13872         * tests/check/gst/gstevent.c: (test_event):
13873         Send event to peer pad of blocked pad (else it will block).
13874
13875 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13876
13877         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13878         (gst_check_run_suite):
13879           if we get the wrong message, give us the types as string
13880         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13881           Fix a translatable
13882         * tests/check/elements/filesrc.c: (GST_START_TEST):
13883           add a test for trying to open a non-existing file
13884
13885 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13886
13887         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13888           add a test for adding self
13889
13890 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13891
13892         * libs/gst/check/gstcheck.h:
13893           add some assert_ as alias for fail_unless_*
13894         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13895           increase test coverage
13896
13897 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13898
13899         * Makefile.am:
13900           include lcov.mak for lcov coverage generation
13901         * tools/Makefile.am:
13902           add to CLEANFILES
13903
13904 2006-07-02  Edward Hervey  <edward@fluendo.com>
13905
13906         * tests/check/elements/.cvsignore:
13907         moaping
13908
13909 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13910
13911         * configure.ac:
13912           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13913         * tests/check/Makefile.am:
13914           clean up gcov files
13915
13916 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13917
13918         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13919           remove gst_caps_simplify; it was not declared and not used
13920           and deprecated in 0.8
13921
13922 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13923
13924         * docs/faq/gst-uninstalled:
13925           don't put empty paths on PYTHONPATH
13926         * docs/gst/gstreamer-sections.txt:
13927           remove some symbols that are not there
13928
13929 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13930
13931         * gst/gstcaps.c: (gst_caps_compare_structures):
13932           whitespace fixes
13933         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13934         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13935           add more tests
13936
13937 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13938
13939         * libs/gst/dataprotocol/Makefile.am:
13940           build dataprotocol test by linking to the lib, instead of
13941           compiling the source, so we get coverage
13942         * tests/check/Makefile.am:
13943         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13944         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13945           add a test for filesrc
13946
13947 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13948
13949         * tests/check/gst/gststructure.c: (GST_START_TEST),
13950         (gst_structure_suite):
13951           Push coverage from 59.04% to 70.00%
13952
13953 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13954
13955         * tests/check/Makefile.am:
13956           gst-inspect every element; this makes sure that we also get
13957           coverage on element's get/set functions
13958
13959 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13960
13961         * configure.ac:
13962           set CFLAGS and friends to -O0 if gcov is being used
13963           add GCOV LIBS
13964         * gst/Makefile.am:
13965         * libs/gst/base/Makefile.am:
13966         * libs/gst/check/Makefile.am:
13967         * libs/gst/controller/Makefile.am:
13968         * libs/gst/dataprotocol/Makefile.am:
13969         * libs/gst/net/Makefile.am:
13970         * plugins/elements/Makefile.am:
13971         * plugins/indexers/Makefile.am:
13972           add makefile rules to generate gcov data and clean up
13973         * tests/check/Makefile.am:
13974           add a coverage target that generates an html overview
13975           of coverage data
13976
13977 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13978
13979         * tests/check/elements/fakesink.c:
13980         * tests/check/elements/fakesrc.c:
13981         * tests/check/elements/fdsrc.c:
13982         * tests/check/elements/identity.c:
13983         * tests/check/generic/sinks.c: (gst_sinks_suite):
13984         * tests/check/generic/states.c:
13985         * tests/check/gst/gst.c:
13986         * tests/check/gst/gstabi.c:
13987         * tests/check/gst/gstbin.c:
13988         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13989         * tests/check/gst/gstbus.c: (gst_bus_suite):
13990         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13991         * tests/check/gst/gstelement.c:
13992         * tests/check/gst/gstevent.c: (gst_event_suite):
13993         * tests/check/gst/gstghostpad.c:
13994         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13995         * tests/check/gst/gstmessage.c: (gst_message_suite):
13996         * tests/check/gst/gstminiobject.c:
13997         * tests/check/gst/gstobject.c:
13998         * tests/check/gst/gstpad.c:
13999         * tests/check/gst/gstpipeline.c:
14000         * tests/check/gst/gstplugin.c:
14001         * tests/check/gst/gstquery.c: (gst_query_suite):
14002         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14003         * tests/check/gst/gststructure.c:
14004         * tests/check/gst/gstsystemclock.c:
14005         * tests/check/gst/gsttag.c:
14006         * tests/check/gst/gsttask.c: (gst_task_suite):
14007         * tests/check/gst/gstutils.c:
14008         * tests/check/gst/gstvalue.c:
14009         * tests/check/libs/adapter.c:
14010         * tests/check/libs/basesrc.c:
14011         * tests/check/libs/collectpads.c:
14012         * tests/check/libs/controller.c:
14013         * tests/check/libs/gdp.c: (gst_dp_suite):
14014         * tests/check/libs/gstnetclientclock.c:
14015         * tests/check/libs/gstnettimeprovider.c:
14016         * tests/check/libs/libsabi.c: (libsabi_suite):
14017         * tests/check/libs/typefindhelper.c:
14018         * tests/check/pipelines/cleanup.c:
14019         * tests/check/pipelines/parse-launch.c:
14020         * tests/check/pipelines/simple-launch-lines.c:
14021         * tests/check/pipelines/stress.c: (stress_suite):
14022           use the new macro
14023
14024 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14025
14026         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14027         * libs/gst/check/gstcheck.h:
14028           create a macro and function so that the simple unit test
14029           case can be just one macro to create main()
14030
14031 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14032
14033         * gst/gstbin.c: (gst_bin_restore_thyself):
14034         * gst/gstxml.c: (gst_xml_make_element):
14035           Fix deserialisation from XML. Set parent manually
14036           instead of using gst_bin_add(), since gst_bin_add()
14037           will unlink all pads of the element being added.
14038           Fixes #341667.
14039
14040 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14041
14042         Patch by: Peter Kjellerstedt <pkj at axis com>
14043
14044         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14045           Fix missing g_strdup() and double free when using the
14046           --gst-plugin-load command line option (#346097).
14047
14048 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14049
14050         * gst/gstinfo.c:
14051           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14052
14053         * libs/gst/net/gstnetclientclock.c:
14054         * libs/gst/net/gstnettimeprovider.c:
14055           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14056
14057 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14058
14059         * docs/manual/advanced-dataaccess.xml:
14060           Fix buffer probe example compilation in
14061           ADM (#345708).
14062         
14063 2006-06-22  Edward Hervey  <edward@fluendo.com>
14064
14065         * gst/gstelement.c: (gst_element_pads_activate):
14066         We need to deactivate src pads first and then sink pads.
14067         The reason is the src pads might be blocking while holding the streaming
14068         lock, so we need to deactivate them first so that deactivating the sink
14069         pads doesn't block (since it will require the streaming lock).
14070
14071 2006-06-22  Wim Taymans  <wim@fluendo.com>
14072
14073         * libs/gst/base/gstbasetransform.c:
14074         (gst_base_transform_buffer_alloc):
14075         Forgot to remove two unneeded unrefs.
14076         Simplify a check _is_equal allready checks the obvious case.
14077
14078 2006-06-22  Wim Taymans  <wim@fluendo.com>
14079
14080         * docs/design/part-block.txt:
14081         Some docs about what pad_block should do.
14082
14083 2006-06-22  Wim Taymans  <wim@fluendo.com>
14084
14085         * gst/gstcaps.c: (gst_caps_replace):
14086         Fix crasher when passed NULL. Doc clarification.
14087         Optimize for the trivial case.
14088
14089         * gst/gstpipeline.c: (gst_pipeline_change_state):
14090         Small cleanups.
14091
14092         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14093         Small documentation cleanup.
14094
14095         * libs/gst/base/gstbasetransform.c:
14096         (gst_base_transform_buffer_alloc):
14097         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14098         is what we need and it avoids a whole lot of redundant 
14099         refcount operations.
14100
14101 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14102
14103         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14104
14105         * docs/manual/advanced-dataaccess.xml:
14106           Fix 'Embedding static elements' section to use
14107           GST_PLUGIN_DEFINE_STATIC (#345607).
14108
14109 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14110
14111         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14112           Attempt to 'fix' spuriously failing test case: it seems like the
14113           timeout of half a second is simply too small when the system is under
14114           load otherwise, and the timeout doesn't really seem to serve any
14115           particular purpose here. Give the pipeline a few seconds to preroll
14116           first, and then give it another half a second to go from PAUSED to
14117           PLAYING and marshal the message into the main thread.
14118
14119 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14120
14121         * tools/gst-feedback-m.m:
14122           Don't only use unversioned tools, try versioned tools as well
14123           (#345086).
14124
14125 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14126
14127         * gst/gstbus.c: (gst_bus_class_init):
14128           Fix some typos, make docs more explicit.
14129
14130 2006-06-20  Wim Taymans  <wim@fluendo.com>
14131
14132         * tests/check/gst/gstghostpad.c: (block_callback),
14133         (GST_START_TEST), (gst_ghost_pad_suite):
14134         Added some more ghostpad tests, mainly blocking
14135         and probes.
14136
14137 2006-06-16  Wim Taymans  <wim@fluendo.com>
14138
14139         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14140         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14141         (gst_file_sink_event), (gst_file_sink_render):
14142         * plugins/elements/gstfilesink.h:
14143         Check if we can seek in the file instead of assuming
14144         we always can. Post an error when we are asked to seek in a
14145         non-seekable file (like a fifo). Fixes #343312.
14146         Some cleanups.
14147
14148 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14149
14150         * tools/gst-launch.1.in:
14151           Un-garble (fourcc) bit in filtered caps section.
14152
14153 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14154
14155         * docs/manual/advanced-autoplugging.xml:
14156         * docs/manual/basics-helloworld.xml:
14157         * docs/manual/highlevel-components.xml:
14158           Don't leak bus reference in sample code.
14159
14160 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14161
14162         * autogen.sh:
14163           Add default for new --enable-plugin-docs switch.
14164
14165         * configure.ac:
14166           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14167           Fixes #344039.
14168
14169         * docs/Makefile.am:
14170           Use new ENABLE_PLUGIN_DOCS conditional.
14171
14172 2006-06-14  Wim Taymans  <wim@fluendo.com>
14173
14174         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14175         Make it clear with a FIXME and a real define what the #if 0
14176         previously disabled.
14177
14178 2006-06-14  Wim Taymans  <wim@fluendo.com>
14179
14180         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14181         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14182         * libs/gst/base/gstbasetransform.c:
14183         (gst_base_transform_sink_eventfunc):
14184         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14185         Don't randomly and silently reset a segment when the format 
14186         changes as this is a bug somewhere upstream. Fixes #330379.
14187
14188 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14189
14190         Patch by: Wouter Paesen  <wouter at kangaroot net>
14191
14192         * libs/gst/controller/gstcontroller.c:
14193         (gst_controlled_property_new):
14194           Fix controlling of float properties (#344849).
14195
14196         * tests/check/libs/controller.c:
14197         (gst_test_mono_source_get_property),
14198         (gst_test_mono_source_set_property),
14199         (gst_test_mono_source_class_init), (GST_START_TEST):
14200           While we're at it, add some float stuff to unit test.
14201
14202 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14203
14204         * docs/README:
14205         * docs/images/gdp-header.svg:
14206           add a gdp image
14207         * docs/libs/Makefile.am:
14208         * docs/libs/gdp-header.png:
14209         * libs/gst/dataprotocol/dataprotocol.c:
14210           add it to the API docs
14211         * docs/manual/intro-motivation.xml:
14212           fix typo
14213
14214 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14215
14216         * gst/gst.c: (scan_and_update_registry), (init_post):
14217           If the fork()'ed child process can't write the updated registry cache
14218           file to disk for some reason, make it exit with a failure exit code,
14219           so that the parent can then re-scan the plugins itself and update the
14220           registry structures in memory and work with that (rather than failing
14221           when creating elements because seemingly no plugins are available).
14222           Refactor registry scanning code into separate function for this and
14223           also separate fork() and non-fork() code paths. Fixes #344748.
14224
14225 2006-06-13  Wim Taymans  <wim@fluendo.com>
14226
14227         * docs/manual/advanced-dataaccess.xml:
14228         Fix wrong PluginDesc. Fixes #344755.
14229
14230 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14231
14232         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14233           Fix silly bug that prevented us from creating
14234           ~/.gstreamer-0.10 and writing the registry in one
14235           go (the first call to g_mkstemp() would overwrite the
14236           placeholder in the template string, so the second call
14237           to g_mkstemp() after creating the missing directory
14238           would then error out with 'invalid argument').
14239
14240 2006-06-13  Edward Hervey  <edward@fluendo.com>
14241
14242         * gst/gst.c: (init_post):
14243         Free string.
14244
14245 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14246
14247         * gst/glib-compat-private.h:
14248         * gst/glib-compat.c:
14249         * gst/glib-compat.h:
14250         * gst/gstvalue.c: (gst_value_serialize_flags):
14251           remove GLib 2.6 compatibility code
14252
14253 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14254
14255         * gst/parse/Makefile.am:
14256           Fix build with 'make -j N' even more (#340016).
14257
14258 2006-06-12  Wim Taymans  <wim@fluendo.com>
14259
14260         * docs/gst/gstreamer-sections.txt:
14261         Fix docs.
14262
14263 2006-06-12  Wim Taymans  <wim@fluendo.com>
14264
14265         * gst/gstsegment.c: (gst_segment_set_duration),
14266         (gst_segment_set_last_stop), (gst_segment_set_seek),
14267         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14268         (gst_segment_to_running_time), (gst_segment_clip):
14269         Use G_UNLIKELY to help the compiler a bit.
14270
14271 2006-06-12  Wim Taymans  <wim@fluendo.com>
14272
14273         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14274
14275         * gst/gstevent.c: (gst_event_get_type):
14276         * gst/gstmessage.c:
14277         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14278         (gst_pad_push):
14279         constify quark registration strings. Fixes #344115
14280         Avoid unneeded type checking is _pad_push() by internally
14281         calling gst_pad_chain_unchecked().
14282
14283 2006-06-12  Wim Taymans  <wim@fluendo.com>
14284
14285         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14286         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14287         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14288         (gst_buffer_is_span_fast), (gst_buffer_span):
14289         Init _type for consistency.
14290         Use _FLAGS macro to avoid type check.
14291         Avoid unneeded type checks in subbufer code.
14292
14293 2006-06-12  Wim Taymans  <wim@fluendo.com>
14294
14295         * gst/gst.c: (gst_debug_help):
14296         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14297         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14298         (gst_plugin_feature_list_free):
14299         * gst/gstregistry.c: (gst_registry_add_plugin),
14300         (gst_registry_add_feature), (gst_registry_plugin_filter),
14301         (gst_registry_feature_filter), (gst_registry_find_plugin),
14302         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14303         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14304         * gst/gstregistryxml.c: (load_feature),
14305         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14306         * gst/gstminiobject.c: (gst_mini_object_unref),
14307         (gst_mini_object_replace), (gst_value_mini_object_free),
14308         (gst_value_mini_object_copy):
14309         Use _CAST macros to avoid unneeded type checking.
14310         Added some more G_UNLIKELY.
14311
14312 2006-06-12  Wim Taymans  <wim@fluendo.com>
14313
14314         * gst/gstbuffer.h:
14315         Avoid unneeded type checking.
14316         API: GST_BUFFER_IS_DISCONT
14317
14318         * gst/gstminiobject.h:
14319         Avoid type check in flag accessor.
14320
14321         * gst/gstelementfactory.h:
14322         * gst/gstplugin.h:
14323         * gst/gstpluginfeature.h:
14324         Add _CAST macros.
14325         API: GST_ELEMENT_FACTORY_CAST
14326         API: GST_PLUGIN_CAST
14327         API: GST_PLUGIN_FEATURE_CAST
14328
14329 2006-06-12  Wim Taymans  <wim@fluendo.com>
14330
14331         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14332         (gst_object_unref):
14333         Add G_UNLIKELY in type registration.
14334         Avoid type check in _ref/_unref since that is also
14335         done in glib.
14336
14337 2006-06-12  Wim Taymans  <wim@fluendo.com>
14338
14339         * gst/gsterror.c: (gst_g_error_get_type):
14340         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14341         (gst_static_pad_template_get_type):
14342         * gst/gsttaglist.c: (gst_tag_list_get_type):
14343         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14344         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14345         * gst/gsturi.c: (gst_uri_handler_get_type):
14346         * gst/gstvalue.c: (gst_date_get_type):
14347         * gst/gstxml.c: (gst_xml_get_type):
14348         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14349         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14350         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14351         Add G_UNLIKELY in type registration.
14352
14353 2006-06-12  Wim Taymans  <wim@fluendo.com>
14354
14355         * tools/gst-inspect.c: (print_signal_info):
14356         Properly print enum values.
14357
14358 2006-06-12  Wim Taymans  <wim@fluendo.com>
14359
14360         * gst/gstinfo.c: (gst_debug_set_active),
14361         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14362         * gst/gstinfo.h:
14363         Add some G_[UN]LIKELY.
14364         Maintain __gst_debug_min to avoid formatting the arguments of
14365         debug messages that will be dropped anyway to avoid a lot of 
14366         overhead from the debugging system.
14367
14368 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14369
14370         * po/POTFILES.in:
14371         * po/POTFILES.skip:
14372           add missing files containing translatable strings, tell intltool about
14373           one exception
14374
14375 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14376
14377         * tests/check/libs/.cvsignore:
14378         add test-binary to ignore list
14379
14380 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14381
14382         * docs/libs/gstreamer-libs-docs.sgml:
14383         reorder (put dp into a chapter) and indent
14384
14385 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14386
14387         * configure.ac:
14388           back to HEAD
14389
14390 === release 0.10.8 ===
14391
14392 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14393
14394         * configure.ac:
14395           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14396
14397 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14398
14399         * gst/gst.c: (init_post):
14400           move pid declaration to declaration block
14401
14402 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14403
14404         * gst/gst.c: (init_post):
14405           use _exit() instead of exit() in our forked child; this ensures
14406           that none of the registered exit handlers from whatever is using
14407           GStreamer get executed.  This fixes gnome-mixer-applet failing
14408           to load, because ORBit would shut down.
14409           Spotted by: Edward Hervey  <edward@fluendo.com>
14410           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14411           Fixes #344474
14412
14413 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14414
14415         * configure.ac:
14416           back to TRUNK
14417
14418 === release 0.10.7 ===
14419
14420 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14421
14422         * configure.ac:
14423           releasing 0.10.7, "Soepeke, ik zie ou"
14424
14425 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14426
14427         * configure.ac:
14428         * po/af.po:
14429         * po/az.po:
14430         * po/bg.po:
14431         * po/ca.po:
14432         * po/cs.po:
14433         * po/de.po:
14434         * po/en_GB.po:
14435         * po/fr.po:
14436         * po/it.po:
14437         * po/nb.po:
14438         * po/nl.po:
14439         * po/ru.po:
14440         * po/sq.po:
14441         * po/sr.po:
14442         * po/sv.po:
14443         * po/tr.po:
14444         * po/uk.po:
14445         * po/vi.po:
14446         * po/zh_CN.po:
14447         * po/zh_TW.po:
14448         * win32/common/config.h:
14449           0.10.6.2 prerelease
14450
14451 2006-06-07  Wim Taymans  <wim@fluendo.com>
14452
14453         * gst/gstindex.c: (gst_index_gtype_resolver):
14454         * tools/gst-xmlinspect.c: (print_plugin_info):
14455         Fix leak spotted by coverity checker. Fixes #343827
14456         Fix another other leak found by paolo borelli.
14457
14458 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14459
14460         * libs/gst/dataprotocol/dataprotocol.c:
14461         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14462         (gst_dp_version_get_type), (gst_dp_init),
14463         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14464         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14465         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14466         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14467         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14468         (gst_dp_packetizer_free):
14469         * libs/gst/dataprotocol/dataprotocol.h:
14470           API: add a GstDPPacketizer object, and create/free functions
14471           API: add GstDPVersion enum
14472           Add 1.0 event function that uses the string serialization
14473           Serialize more useful buffer flags
14474           Fixes #343988
14475
14476 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14477
14478         * tests/check/Makefile.am:
14479         * tests/check/gst/gstabi.c:
14480         * tests/check/gst/struct_ppc64.h:
14481         * tests/check/libs/libsabi.c:
14482         * tests/check/libs/struct_ppc64.h:
14483           add ppc64 structure sizes
14484
14485 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14486
14487         * tests/check/Makefile.am:
14488         * tests/check/gst/gstabi.c:
14489         * tests/check/gst/struct_x86_64.h:
14490         * tests/check/libs/libsabi.c:
14491         * tests/check/libs/struct_x86_64.h:
14492           generate and add structure size lists for x86_64
14493
14494 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14495
14496         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14497         * libs/gst/check/gstcheck.h:
14498           factor out the method from tests that checks size of structures,
14499           and add code to generate the header containing these sizes
14500         * tests/check/gst/gstabi.c: (GST_START_TEST):
14501         * tests/check/gst/struct_i386.h:
14502         * tests/check/libs/libsabi.c: (GST_START_TEST):
14503         * tests/check/libs/struct_i386.h:
14504           use it
14505
14506 2006-06-06  Michael Smith  <msmith@fluendo.com>
14507
14508         * gst/gstsegment.h:
14509           Don't use c++-style comments, fixes #343929
14510
14511 2006-06-05  Edward Hervey  <edward@fluendo.com>
14512
14513         * gst/gst.c:
14514         plugin_paths is not used if we build without registry support.
14515
14516         * gst/gstsegment.c: (gst_segment_copy): 
14517         _copy() was always returning NULL...
14518
14519 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14520
14521         * libs/gst/dataprotocol/dataprotocol.c:
14522         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14523         (gst_dp_packet_from_event):
14524           factor out CRC code
14525
14526 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14527
14528         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14529           make sure we unset caps
14530
14531 2006-06-02  Michael Smith  <msmith@fluendo.com>
14532
14533         * libs/gst/check/gstcheck.c: (gst_check_init),
14534         (gst_check_chain_func):
14535         * libs/gst/check/gstcheck.h:
14536           Add a cond/mutex to the check support lib, signal this whenever we
14537           add to the buffers list. This will allow tests to not busy-wait on
14538           the buffer-list.
14539
14540 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14541
14542         * libs/gst/dataprotocol/dataprotocol.c:
14543         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14544         (gst_dp_packet_from_event):
14545           factor out some common header init code
14546
14547 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14548
14549         * docs/libs/gstreamer-libs-sections.txt:
14550         * docs/libs/tmpl/gstdataprotocol.sgml:
14551         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14552         * libs/gst/dataprotocol/dataprotocol.h:
14553           API: make gst_dp_crc() public
14554
14555 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14556
14557         * plugins/indexers/gstindexers.c: (plugin_init):
14558         conditionally register fileindexer (fixes #343598)
14559
14560 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14561
14562         * gst/gsttagsetter.h:
14563         Can't cast ifaces to a class
14564
14565         * libs/gst/net/gstnetclientclock.h:
14566         * libs/gst/net/gstnettimeprovider.h:
14567         * plugins/elements/gstfakesink.h:
14568         * plugins/elements/gstfakesrc.h:
14569         * plugins/elements/gstfdsink.h:
14570         * plugins/elements/gstfdsrc.h:
14571         * plugins/elements/gstfilesink.h:
14572         * plugins/elements/gstfilesrc.h:
14573         * plugins/elements/gstidentity.h:
14574         * plugins/elements/gstqueue.h:
14575         * plugins/elements/gsttee.h:
14576         * plugins/indexers/gstfileindex.c:
14577         * plugins/indexers/gstmemindex.c:
14578         * tests/old/examples/plugins/example.h:
14579         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14580
14581 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14582
14583         * libs/gst/dataprotocol/dataprotocol.c:
14584         (gst_dp_header_from_buffer):
14585           make sure we zero the whole ABI-compatible area
14586
14587 2006-06-01  Wim Taymans  <wim@fluendo.com>
14588
14589         Patch by: Alessandro Decina <alessandro at nnva dot org>
14590
14591         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14592         Make sure the EOS flag is cleared from pads after a flush
14593         or stop. Fixes #343538.
14594
14595         * tests/check/libs/collectpads.c: (GST_START_TEST),
14596         (gst_collect_pads_suite):
14597         Added test for collectpads reusage after EOS.
14598
14599 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14600
14601         * gst/gst.c:
14602          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14603         * win32/common/libgstbase.def:
14604          export gst_collect_pads_set_flushing
14605         * win32/common/libgstreamer.def:
14606          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14607          gst_value_fraction_multiply
14608         * win32/vs6/gst_inspect.dsp:
14609          add a link to intl.lib
14610
14611 2006-05-30  Wim Taymans  <wim@fluendo.com>
14612
14613         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14614         (gst_collect_pads_chain):
14615         Handle the case where a pad is removed from the collection
14616         that could cause the other pads to become collectable.
14617
14618 2006-05-30  Wim Taymans  <wim@fluendo.com>
14619
14620         * gst/gstelement.c:
14621         Clarify the use of _release_request_pad() and
14622         _get_request_pad() a bit better.
14623
14624         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14625         (gst_adapter_take_buffer):
14626         Fix some doc and comment typos.
14627
14628 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14629
14630         * docs/gst/gstreamer-sections.txt:
14631         * docs/libs/gstreamer-libs-sections.txt:
14632           add declared symbols
14633
14634 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14635
14636         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14637         Add debug that can be enabled using a #define at the top of the file,
14638         for dumping stats about how late/early we were when waking up from
14639         waiting on the clock.
14640
14641 2006-05-30  Wim Taymans  <wim@fluendo.com>
14642
14643         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14644         When rebuilding the pad list, don't leak the previous list.
14645
14646 2006-05-30  Wim Taymans  <wim@fluendo.com>
14647
14648         Patch by: Lutz Mueller <lutz at topfrose dot de>
14649
14650         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14651         (gst_base_src_get_query_types), (gst_base_src_update_length):
14652         Publish supported query types.
14653         Update last_stop field in get_range mode so the position
14654         query works. Fixes #342321.
14655
14656 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14657
14658         * docs/gst/gstreamer-sections.txt:
14659         * gst/gsttaglist.c: (_gst_tag_initialize):
14660         * gst/gsttaglist.h:
14661           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14662
14663 2006-05-30  Wim Taymans  <wim@fluendo.com>
14664
14665         Patch by: Alessandro Decina <alessandro at nnva dot org>
14666
14667         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14668         Unlock mutex when removing an unknown pad.
14669         Fixes #343334.
14670
14671         * tests/check/Makefile.am:
14672         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14673         (push_event), (setup), (teardown), (GST_START_TEST),
14674         (gst_collect_pads_suite), (main):
14675         Added collecpads check, disabled for now as check crashes for
14676         some reason.
14677
14678 2006-05-29  Wim Taymans  <wim@fluendo.com>
14679
14680         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14681         Don't leak pads lists.
14682
14683 2006-05-29  Wim Taymans  <wim@fluendo.com>
14684
14685         * docs/libs/gstreamer-libs-sections.txt:
14686         * libs/gst/base/gstcollectpads.c:
14687         (gst_collect_pads_set_flushing_unlocked),
14688         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14689         (gst_collect_pads_stop):
14690         * libs/gst/base/gstcollectpads.h:
14691         API: gst_collect_pads_set_flushing()
14692         Added api to set the pads to flushing, useful for seeking
14693         code in elements using collectpads.
14694         Clear segment when receiving a flush.
14695
14696 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14697
14698         * gst/gst.c: (add_path_func), (init_post):
14699           Don't scan registry paths passed via --gst-plugin-path immediately
14700           (will crash, because absolutely nothing is set up and no types are
14701           registered etc.); do this later in init_post(). Fixes #343057.
14702
14703 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14704
14705         * gst/gst.c: (init_post):
14706           if we have fork, fork while reading/rebuilding the registry
14707           so the parent doesn't take the hit of having all plugins loaded
14708           in memory.  Fixes #342777.
14709         * configure.ac:
14710           Check if we have fork()
14711         * win32/common/config.h.in:
14712           no fork() on win32
14713
14714 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14715
14716         * plugins/elements/gstelements.c:
14717         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14718         (gst_file_src_init), (gst_file_src_set_property),
14719         (gst_file_src_get_property), (gst_file_src_start):
14720         * plugins/elements/gstfilesrc.h:
14721           API: GstFileSrc::use-mmap
14722
14723         Add a use-mmap property to enable easier testing of all code paths.
14724         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14725         in the absence of gnomevfssrc. (Closes #340501)
14726
14727 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14728
14729         * tools/gst-inspect.c:
14730         Add missing include, removes warning of ngettext not being defined on
14731         some arches.
14732
14733 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14734
14735         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14736         Handle NULL input and output pointers silently as a failed conversion,
14737         rather than g_warnings.
14738
14739 2006-05-25  Wim Taymans  <wim@fluendo.com>
14740
14741         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14742         Initialize variable before using. Fixes #342820.
14743
14744 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14745
14746         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14747           Fix off-by-one bug that would only allow peeks of N-1 bytes
14748           from the start even if the buffer to typefind on contains
14749           in fact N bytes of data (makes vorbis typefinding from a
14750           vorbis identification header buffer work).
14751
14752         * tests/check/Makefile.am:
14753         * tests/check/libs/.cvsignore:
14754         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14755         (gst_typefindhelper_suite), (main), (foobar_typefind),
14756         (plugin_init):
14757           Add very basic unit test for gst_type_find_helper_for_buffer()
14758           that checks for the problem fixed above.
14759
14760 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14761
14762         * tools/gst-inspect.c: (print_interfaces),
14763         (print_element_properties_info), (print_element_list), (main):
14764           add more translatable strings
14765
14766 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14767
14768         Patch by: Julien Moutte  <julien at moutte net>
14769
14770         * docs/gst/gstreamer-sections.txt:
14771           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14772           
14773         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14774         (gst_fake_sink_preroll):
14775         * plugins/elements/gstfakesink.h:
14776           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14777
14778 2006-05-23  Wim Taymans  <wim@fluendo.com>
14779
14780         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14781         * gst/gstpad.h:
14782         Added _CUSTOM error and success GstFlowReturn that can be
14783         used be elements internally. 
14784         Added macro to check for SUCCESS flowreturns.
14785         API: GST_FLOW_CUSTOM_SUCCESS
14786         API: GST_FLOW_CUSTOM_ERROR
14787         API: GST_FLOW_IS_SUCCESS
14788
14789         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14790         Added check for GstFlowReturn sanity.
14791
14792 2006-05-23  Wim Taymans  <wim@fluendo.com>
14793
14794         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14795
14796         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14797         (gst_collect_pads_event):
14798         clear/reset segment info in FLUSH_STOP.
14799         Fixes #336929.
14800
14801 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14802
14803         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14804         (gst_collect_pads_check_collected):
14805         Flush queued buffer on _stop(), fixes playing again (#342454)
14806
14807 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14808
14809         * tests/check/gst/gststructure.c: (GST_START_TEST),
14810         (gst_structure_suite):
14811           add a test for a complete structure
14812
14813 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14814
14815         * docs/faq/developing.xml:
14816         * docs/faq/faq.xml:
14817         * docs/faq/troubleshooting.xml:
14818         * docs/faq/using.xml:
14819           Some minor FAQ updates that won't change the fact that
14820           our FAQ is badly structured, full of information hardly
14821           anyone new to GStreamer needs to know and lacking lots
14822           of information people constantly ask for.
14823           
14824 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14825
14826         * gst/gstpad.c: (gst_pad_set_caps):
14827           Short-circuit gst_pad_set_caps if setting the existing
14828           caps pointer again, and avoid printing debug and 
14829           reffing/unreffing the caps.
14830
14831         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14832           There's actually no need to set the caps before pushing -
14833           the acceptcaps method will handle it anyway.
14834
14835 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14836
14837         * docs/gst/gstreamer-sections.txt:
14838         * win32/common/libgstreamer.def:
14839         * gst/gstutils.c: (gst_element_seek_simple):
14840         * gst/gstutils.h:
14841           API: add gst_element_seek_simple() (#342238).
14842
14843 2006-05-18  Edward Hervey  <edward@fluendo.com>
14844
14845         * gst/gsttypefind.c: (gst_type_find_get_type):
14846         * gst/gsttypefind.h:
14847         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14848         registered for GstTypeFind pointers. This allows wrapping the structure
14849         in bindings (i.e. gst-python).
14850
14851 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14852
14853         * gst/gsttagsetter.c:
14854           Docs additions and fixes (see #339918).
14855
14856 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14857
14858         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14859         The caps intersection algorithm can produce multiple copies of the
14860         caps. Until that is fixed, we need to simplify the result to be
14861         sure whether the allowed caps are fixed or not.
14862
14863         * plugins/elements/gstqueue.c: (gst_queue_init),
14864         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14865         (gst_queue_push_one):
14866         Proxied buffer alloc should not set the caps on the source pad.
14867         When pushing buffers, we always accept the caps change that triggers.
14868         This prevents negotiation errors caused by caps changing mid-stream 
14869         and then being refused on our source pad (because upstream is now
14870         refusing those caps).
14871
14872 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14873
14874         * tests/examples/helloworld/helloworld.c: (main):
14875           Must plug audioconvert and audioresample between decoder
14876           and audio sink.
14877
14878 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14879
14880         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14881         (load_feature), (load_plugin):
14882         Allow empty strings for some of the plugin fields so we don't 
14883         drop valid plugin entries that were written out correctly
14884         (Fixes #341479)
14885
14886 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14887         
14888         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14889           Use g_remove and g_rename instead of remove and rename that don't 
14890           handle utf8 characters. rename was failing for users who had specific
14891           characters in their name then the registry was built at each 
14892           gstreamer init.
14893         * win32/vs6/gst_inspect.dsp:
14894         * win32/vs6/gst_launch.dsp:
14895         * win32/vs6/libgstbase.dsp:
14896         * win32/vs6/libgstcoreelements.dsp:
14897         * win32/vs6/libgstreamer.dsp:
14898           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14899           build of libgstreamer and clean unused libraries in projects link 
14900           settings.
14901
14902 2006-05-17  Edward Hervey  <edward@fluendo.com>
14903
14904         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14905         The queue is not responsible for pushing an EOS when receiving a fatal
14906         flow error. It's up to the real element driving the pipeline to do that.
14907
14908 2006-05-16  Edward Hervey  <edward@fluendo.com>
14909
14910         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14911         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14912         buffer returned a fatal error. It should just send an EOS and stop
14913         its task.
14914         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14915         when pushing buffers on the queue and will be able to handle the event.
14916
14917 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14918
14919         * docs/manual/basics-bins.xml:
14920         * docs/manual/basics-init.xml:
14921           Fix typos and minor errors in sample code (#341856).
14922
14923 2006-05-16  Wim Taymans  <wim@fluendo.com>
14924
14925         * docs/design/part-qos.txt:
14926         Fix indexes in formulas to make more sense.
14927
14928 2006-05-15  Wim Taymans  <wim@fluendo.com>
14929
14930         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14931         Don't report POSITION based on clock time if sync is
14932         disabled in a sink.
14933
14934 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14935
14936         * gst/gstobject.h:
14937           Add cast to make compiler happy - refcount variable was a gint
14938           in GstObject but is a guint in GObject and g_atomic_int_get()
14939           wants a gint *.
14940
14941 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14942
14943         * gst/parse/Makefile.am:
14944           chain commands using &&, which also makes parallel make work
14945
14946 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14947
14948         * docs/gst/gstreamer-sections.txt:
14949         * gst/gstevent.c:
14950         * gst/gstevent.h:
14951         * gst/gstmessage.h:
14952           Minor docs fixes.
14953
14954 === release 0.10.6 ===
14955
14956 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14957
14958         * configure.ac:
14959           releasing 0.10.6, "Take the cannoli"
14960
14961 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14962
14963         * tools/gst-launch.c: (print_tag):
14964           Fix use of uninitialized variable in the hypothetical
14965           case that some broken plugin creates a GST_TAG_IMAGE
14966           tag containing a NULL buffer (#341667).
14967
14968 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14969
14970         * tools/gst-launch.c: (print_tag):
14971           Print something more intelligible for image tags when
14972           using the -t switch (#341556).
14973
14974 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14975
14976         * Makefile.am:
14977           updates for win32
14978         * configure.ac:
14979           define GST_MAJORMINOR so we have it available in win32/common/config.h
14980           Possibly remove it from our Makefile.am files later
14981         * win32/common/config.h:
14982         * win32/common/config.h.in:
14983           added GST_MAJORMINOR
14984         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14985         * win32/common/gstversion.h:
14986           updated
14987
14988 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14989
14990         * win32/MANIFEST:
14991           Update win32 files listing.
14992         * win32/common/gstversion.h:
14993           Add GST_MAJORMINOR definition.
14994         * win32/common/libgstreamer.def:
14995           Add new exported functions.
14996           
14997 2006-05-12  Michael Smith  <msmith@fluendo.com>
14998
14999         * gst/gstplugin.c: (gst_plugin_load_file):
15000           If an so file has no plugin entry point, unload the module.
15001
15002 2006-05-11  Wim Taymans  <wim@fluendo.com>
15003
15004         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15005         (gst_queue_set_property):
15006         Don't forget to signal the _chain or _loop function 
15007         when the queue size or thresholds change since that might
15008         cause them to make progres again.
15009
15010 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15011
15012         * gst/gstclock.c: (gst_clock_class_init):
15013         * gst/gstindex.c: (gst_index_class_init):
15014         * gst/gstobject.c: (gst_object_class_init):
15015         * gst/gstpad.c: (gst_pad_class_init):
15016         * gst/gstpipeline.c: (gst_pipeline_class_init):
15017         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15018         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15019         * libs/gst/base/gstbasetransform.c:
15020         (gst_base_transform_class_init):
15021         * libs/gst/net/gstnetclientclock.c:
15022         (gst_net_client_clock_class_init):
15023         * libs/gst/net/gstnettimeprovider.c:
15024         (gst_net_time_provider_class_init):
15025         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15026         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15027         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15028         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15029         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15030         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15031         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15032         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15033         * plugins/elements/gsttee.c: (gst_tee_class_init):
15034         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15035         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15036           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15037
15038 2006-05-11  Wim Taymans  <wim@fluendo.com>
15039
15040         * gst/gstbuffer.c: (_gst_buffer_initialize):
15041         Register subbufer along with the buffer type so that
15042         it does not accidentally gets registered from N
15043         different streaming threads in a non threadsafe way.
15044
15045 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15046
15047         * gst/gstbuffer.h:
15048         * gst/gstevent.h:
15049         * gst/gstmessage.h:
15050           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15051           gst_event_ref() and gst_message_ref() functions again
15052           (ugly hack, please do fix if there's a better way besides
15053           overrides.txt, which doesn't seem to work).
15054
15055 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15056
15057         * libs/gst/check/gstcheck.h:
15058           add an assert for setting state to avoid lots of repetitive code
15059           in the future
15060
15061 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15062
15063         * gst/gstvalue.c: (gst_value_serialize_flags):
15064           fix a leak if no flags are set
15065         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15066           fix leak in tests
15067
15068 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15069
15070         * docs/manual/basics-pads.xml:
15071           Expand a bit on caps and filtered links and update
15072           examples that were still using the no longer existing
15073           gst_pad_link_filtered() (#338206).
15074
15075 2006-05-10  Wim Taymans  <wim@fluendo.com>
15076
15077         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15078         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15079         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15080         (gst_collect_pads_stop):
15081         * libs/gst/base/gstcollectpads.h:
15082         No need to call _stop in _finalize.
15083         Iterate the main pad list in _finalize.
15084         Added some more debug.
15085         Free lists and data in the right order.
15086         Also free data whem doing _remove_pad when stopped for
15087         backward compatibility protect ::started with PAD_LOCK as
15088         well.
15089
15090 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15091
15092         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15093         (gst_structure_parse_value):
15094           add some comments
15095           rename a method so that it actually says what it does better
15096
15097 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15098
15099         * gst/gstevent.c: (_gst_event_initialize):
15100         * gst/gstformat.c: (_gst_format_initialize):
15101           make sure some essential types used by events are registered
15102           as part of gst_init()
15103         * gst/gstvalue.c: (gst_value_serialize_flags):
15104           if no flags are set, serialize them to a value that represents NONE
15105           so that deserializing them works
15106         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15107           add tests for serialization and deserialization of flags
15108
15109 2006-05-10  Wim Taymans  <wim@fluendo.com>
15110
15111         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15112         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15113         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15114         (gst_collect_pads_event), (gst_collect_pads_chain):
15115         Update docs.
15116         Better debug info.
15117         Catch and return errors from the collect function
15118         Refuse data on eos pads.
15119
15120 2006-05-10  Edward Hervey  <edward@fluendo.com>
15121
15122         * gst/gstinterface.h:
15123         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15124         GInterface type checking.
15125         They were previously using non-defined macros.
15126
15127 2006-05-09  Wim Taymans  <wim@fluendo.com>
15128
15129         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15130         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15131         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15132         (gst_collect_pads_start), (gst_collect_pads_stop),
15133         (gst_collect_pads_peek), (gst_collect_pads_pop),
15134         (gst_collect_pads_available), (gst_collect_pads_read),
15135         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15136         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15137         (gst_collect_pads_chain):
15138         * libs/gst/base/gstcollectpads.h:
15139         Clean up the mess that is collectpads, add comments and
15140         FIXMEs where needed.
15141         Maintain a separate pad list so we can add pads while
15142         collecting the other ones. For this we need a new separate 
15143         lock (see comics).
15144         Fix memory leak in finalize.
15145         Refactor some weird code to set/unset pad flushing flags, mark
15146         with comments.
15147         Don't crash in _available, _read, _flush when we're EOS.
15148
15149         * tests/check/libs/.cvsignore:
15150         Ignore adapter check binary.
15151
15152 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15153
15154         * gst/gstindex.c: (gst_index_resolver_get_type):
15155         * plugins/elements/gstfakesink.c:
15156         (gst_fake_sink_state_error_get_type):
15157         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15158         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15159         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15160           Const-ify GEnumValue arrays.
15161
15162 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15163
15164         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15165           Add test case for flags + gst_buffer_make_metadata_writable().
15166
15167 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15168
15169         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15170           gst_buffer_make_metadata_writable() should maintain the
15171           buffer flags (those that make sense at least) (see #340859).
15172
15173 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15174
15175         * tools/gst-inspect.c:
15176         * tools/gst-launch.c:
15177         * tools/gst-typefind.c:
15178         * tools/gst-xmlinspect.c:
15179         * tools/tools.h:
15180           Fix up includes: need to include stdlib.h in tools.h for exit().
15181
15182 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15183
15184         * gst/gsttaglist.c: (_gst_tag_initialize):
15185         * gst/gsttaglist.h:
15186           API: add GST_TAG_IMAGE tag (#340721).
15187
15188 2006-05-08  Wim Taymans  <wim@fluendo.com>
15189
15190         * gst/gstquery.c:
15191         Added some docs for the segment query.
15192
15193 2006-05-08  Wim Taymans  <wim@fluendo.com>
15194
15195         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15196         (gst_base_src_loop), (gst_base_src_change_state):
15197         Always push non-flushing serialized events in the streaming 
15198         thread.
15199
15200 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15201
15202         * gst/gsterror.c: (_gst_stream_errors_init):
15203           Add a missing error string.
15204
15205 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15206
15207         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15208         Add applied_rate to the debug
15209
15210         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15211         Copy applied_rate into the outgoing NEWSEGMENT event
15212
15213 2006-05-08  Wim Taymans  <wim@fluendo.com>
15214
15215         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15216
15217         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15218         (gst_base_sink_change_state):
15219         call ::unlock before taking the PREROLL_LOCK so we can safely
15220         handle elements that lock in ::render.
15221         Fixes #340174.
15222
15223 2006-05-08  Edward Hervey  <edward@fluendo.com>
15224
15225         * autogen.sh: (CONFIGURE_DEF_OPT): 
15226         Darwin's libtoolize is in fact called glibtoolize.
15227         Adding glibtoolize to the list of accepted names for libtoolize.
15228
15229 2006-05-08  Wim Taymans  <wim@fluendo.com>
15230
15231         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15232         Unify error handling, don't post an error message
15233         when a push() returns EOS but perform our normal EOS
15234         handling code. Fixes #340772.
15235
15236 2006-05-08  Wim Taymans  <wim@fluendo.com>
15237
15238         * docs/design/part-overview.txt:
15239         Make upsteam/downstream concepts more clear.
15240         Give an example of serialized/non-serialized events.
15241
15242         * docs/design/part-events.txt:
15243         * docs/design/part-streams.txt:
15244         Mention applied_rate.
15245
15246         * docs/design/part-trickmodes.txt:
15247         Mention applied rate, flesh out some more use cases.
15248
15249         * gst/gstevent.c: (gst_event_new_new_segment),
15250         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15251         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15252         (gst_event_parse_tag), (gst_event_new_buffer_size),
15253         (gst_event_parse_buffer_size), (gst_event_new_qos),
15254         (gst_event_parse_qos), (gst_event_parse_seek),
15255         (gst_event_new_navigation):
15256         * gst/gstevent.h:
15257         Add applied_rate field to NEWSEGMENT event.
15258         API: gst_event_new_new_segment_full()
15259         API: gst_event_parse_new_segment_full()
15260
15261         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15262         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15263         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15264         * gst/gstsegment.h:
15265         Add applied_rate to GstSegment structure.
15266         Make calculation of stream_time and running_time more correct
15267         wrt rate/applied_rate.
15268         Add some more docs.
15269         API: GstSegment::applied_rate field
15270         API: gst_segment_set_newsegment_full();
15271
15272         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15273         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15274         * libs/gst/base/gstbasetransform.c:
15275         (gst_base_transform_sink_eventfunc),
15276         (gst_base_transform_handle_buffer):
15277         Parse and use applied_rate in the GstSegment field.
15278
15279         * tests/check/gst/gstevent.c: (GST_START_TEST):
15280         Add check for applied_rate field.
15281
15282         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15283         (gstsegments_suite):
15284         Add more checks for various GstSegment operations.
15285
15286 2006-05-08  Wim Taymans  <wim@fluendo.com>
15287
15288         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15289         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15290         (gst_base_sink_get_position), (gst_base_sink_change_state):
15291         Store the sync time of the buffer end position separatly in a
15292         new variable eos_rtime so we can properly sync the EOS event.
15293         Fixes #340697.
15294         Fix the docs for gst_base_sink_set_qos_enabled().
15295         Don't set segment start to invalid value when we receive a 
15296         non TIME newsegment.
15297         get closer to handling position reporting for negative rates 
15298         correctly.
15299
15300 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15301
15302         * gst/gstcaps.c:
15303         Docs about how to print caps for debug purposes.
15304
15305         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15306         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15307
15308 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15309
15310         * gst/gstelement.c:
15311           use full enum names and preprend a '%' in docs strings to make recent 
15312           gtk-doc turn that into a link
15313
15314 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15315
15316         * docs/manual/basics-bins.xml:
15317         * docs/manual/basics-bus.xml:
15318         * docs/manual/basics-pads.xml:
15319           Some typo fixes, some additions, some clarifications. 
15320
15321 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15322
15323         * tools/gst-inspect.c: (main):
15324         * tools/gst-launch.c: (main):
15325         * tools/gst-run.c: (main):
15326         * tools/gst-typefind.c: (main):
15327         * tools/gst-xmlinspect.c: (main):
15328           Use the string passed to g_option_context_new() for
15329           what it's intended for - the program name is already
15330           printed elsewhere.
15331
15332 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15333
15334         * tools/Makefile.am:
15335         * tools/gst-inspect.c: (main):
15336         * tools/gst-launch.c: (main):
15337         * tools/gst-xmlinspect.c: (main):
15338         * tools/tools.h:
15339           Add back --version command line option (#340460).
15340
15341         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15342           Add --version option and use GOption for argument parsing; refactor a
15343           bit; accept directories as arguments and recurse into them; lastly,
15344           print a decent error message when things go wrong.
15345
15346 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15347
15348         * docs/manual/basics-bins.xml:
15349         Don't mention GstThread (#340611)
15350         * docs/manual/basics-elements.xml:
15351         Update link to GObject tutorial (#340607)
15352         
15353 2006-05-05  Wim Taymans  <wim@fluendo.com>
15354
15355         * gst/gstbuffer.h:
15356         * gst/gstminiobject.c:
15357         Add note about refcounting and miniobject/buffer writeability
15358         to docs. Fixes #340604
15359
15360         * gst/gstelementfactory.h:
15361         Added some explanation about @klass.
15362
15363 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15364
15365         * docs/manual/intro-motivation.xml:
15366         * docs/manual/manual.xml:
15367         Avoid CORBA & Bonobo references (#340598)
15368
15369 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15370
15371         * docs/manual/basics-bus.xml:
15372         * docs/manual/basics-pads.xml:
15373         Fix up some inaccuracies and omissions (#340609)
15374         
15375 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15376
15377         * gst/gstghostpad.c:
15378           Small typo in docs (#340625)
15379
15380 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15381
15382         * gst/parse/Makefile.am:
15383           Make 'make -j' proof (see #340698).
15384
15385 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15386
15387         * configure.ac:
15388           Require GLib-2.8 here as well.
15389
15390 2006-05-05  Wim Taymans  <wim@fluendo.com>
15391
15392         * gst/glib-compat.c:
15393         * gst/gst.c: (init_pre):
15394         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15395         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15396         (gst_object_dispatch_properties_changed):
15397         * gst/gstobject.h:
15398         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15399         * gst/gststructure.c: (gst_structure_set_valist):
15400         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15401         Remove pre glib2.8 compatibility, fixes #340508
15402
15403 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15404
15405         * gst/gsttaglist.h:
15406           Mention type of tags in doc blurbs.
15407
15408 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15409
15410         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15411         (gst_pad_configure_src), (gst_pad_push):
15412         Restore acceptcaps checking behaviour now that good plugins have
15413         been released.
15414
15415 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15416
15417         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15418
15419         * gst/gst.c:
15420         * gst/gstbus.c:
15421         * gst/gstclock.c:
15422         * gst/gstevent.c:
15423         * gst/gstformat.c:
15424         * gst/gstmessage.c:
15425         * gst/gstparse.c:
15426         * gst/gstquery.c:
15427         * gst/gstutils.c:
15428         * gst/parse/Makefile.am:
15429         * libs/gst/base/gstadapter.c:
15430         * libs/gst/base/gstbasesrc.c:
15431         * libs/gst/base/gstpushsrc.c:
15432         * libs/gst/base/gsttypefindhelper.c:
15433         * plugins/elements/gstfakesrc.c:
15434         * plugins/elements/gstidentity.c:
15435           Make sure gstprivate.h and/or config.h are
15436           always included first, otherwise some of our
15437           defines (like _FILE_OFFSET_BITS) might be
15438           redefined in the system headers. Fixes build
15439           on opensolaris (#340016).
15440
15441 2006-05-04  Wim Taymans  <wim@fluendo.com>
15442
15443         * docs/libs/gstreamer-libs-sections.txt:
15444         API: addition: gst_adapter_take_buffer()
15445         
15446         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15447         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15448         (gst_adapter_available_fast):
15449         * libs/gst/base/gstadapter.h:
15450         Prepare for optimizing the hell out of this hugely inefficient
15451         piece of code. 
15452         Added gst_adapter_take_buffer() so we can at least start thinking
15453         about subbuffering and merging.
15454         Added some comments.
15455
15456         * tests/check/Makefile.am:
15457         * tests/check/libs/adapter.c: (GST_START_TEST),
15458         (gst_adapter_suite), (main):
15459         Added GstAdapter check.
15460
15461 2006-05-04  Wim Taymans  <wim@fluendo.com>
15462
15463         * docs/design/part-overview.txt:
15464         Fix some typos, add blurb about buffer flags.
15465
15466 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15467
15468         * docs/libs/gstreamer-libs-sections.txt:
15469           make sure GstBaseTransformClass shows up in the docs
15470         * libs/gst/base/gstbasetransform.c:
15471         * libs/gst/base/gstbasetransform.h:
15472           move docs so gtk-doc picks it up now
15473
15474 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15475
15476         * docs/libs/gstreamer-libs-sections.txt:
15477           add missing symbols to docs
15478
15479 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15480
15481         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15482           back out the newsegment handling change, see #340060 for ongoing
15483           discussion
15484
15485 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15486
15487         * tools/gst-run.c: (get_candidates), (main):
15488           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15489           work); fix typo in error message. Fixes #340079.
15490
15491 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15492
15493         * common/Makefile.am:
15494         * docs/Makefile.am:
15495         * docs/faq/Makefile.am:
15496         * docs/gst/Makefile.am:
15497         * docs/libs/Makefile.am:
15498         * docs/manual/Makefile.am:
15499         * docs/plugins/Makefile.am:
15500         * docs/pwg/Makefile.am:
15501         * docs/slides/Makefile.am:
15502         * docs/upload.mak:
15503         * common/upload.mak:
15504           move upload.mak to common
15505
15506 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15507
15508         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15509           add more asserts on refcounts
15510           do more cleanup at end of tests
15511           fix test leaks showing in FC5
15512
15513 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15514
15515         * plugins/elements/gsttypefindelement.c:
15516         (gst_type_find_element_handle_event):
15517         reverted wrong change and reflowed code to avoid others falling into
15518         this trap
15519
15520 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15521
15522         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15523           fix changelog entry about last collectpads change,
15524           add notes about proper fix
15525
15526 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15527
15528         * gst/gst.c:
15529         * gst/gstregistry.c: (gst_registry_scan_path_level),
15530         (gst_registry_scan_path):
15531         * gst/gstregistry.h:
15532           only write out registry if it has changed, fixes #338339
15533
15534 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15535
15536         * gst/gstbin.c:
15537         * gst/gstpipeline.c:
15538         * plugins/elements/gstcapsfilter.c:
15539         * plugins/elements/gstfakesink.c:
15540         * plugins/elements/gstfakesrc.c:
15541         * plugins/elements/gstfdsink.c:
15542         * plugins/elements/gstfdsrc.c:
15543         * plugins/elements/gstfilesink.c:
15544         * plugins/elements/gstfilesrc.c:
15545         * plugins/elements/gstidentity.c:
15546         * plugins/elements/gstqueue.c:
15547         * plugins/elements/gsttee.c:
15548         * plugins/elements/gsttypefindelement.c:
15549         (gst_type_find_element_handle_event):
15550           make GstElementDetails const
15551
15552 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15553
15554         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15555         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15556         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15557           more detailed debug and formatting cleanup,
15558           forward newsegments to src-pad (so that e.g. adder not eats them)
15559
15560 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15561
15562         * gst/gstutils.c: (gst_element_link_pads):
15563           cleanup double code
15564
15565 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15566
15567         * libs/gst/controller/gstcontroller.c:
15568         (gst_controller_sync_values):
15569           some little tuning
15570         * tests/check/libs/controller.c: (GST_START_TEST),
15571         (gst_controller_suite):
15572           a new test for live value handling
15573
15574 2006-04-28  Wim Taymans  <wim@fluendo.com>
15575
15576         * gst/gstutils.c: (push_and_ref):
15577         Added some more docs.
15578         Fix refcount issue whith gst_element_found_tags() helper 
15579         function. Fixes #338335
15580
15581         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15582         Added testsuite for gst_element_found_tags().
15583
15584 2006-04-28  Michael Smith  <msmith@fluendo.com>
15585
15586         * gst/gstvalue.c: (gst_value_serialize_flags):
15587           Avoid NULL dereference when trying to serialize flags containing
15588           invalid values.
15589
15590 2006-04-28  Michael Smith  <msmith@fluendo.com>
15591
15592         * plugins/elements/gsttypefindelement.c:
15593         (gst_type_find_element_handle_event):
15594           If we get EOS before any data is accumulated, don't use
15595           uninitialised local variables.
15596
15597 2006-04-28  Michael Smith  <msmith@fluendo.com>
15598
15599         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15600         (gst_dp_event_from_packet):
15601           Fixes in reading/writing events over GDP (not currently used?) - 
15602           dereferencing NULL events for unknown/invalid event types, memory
15603           leak, and change g_warning to GST_WARNING.
15604
15605 2006-04-28  Wim Taymans  <wim@fluendo.com>
15606
15607         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15608         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15609         (gst_base_sink_get_position), (gst_base_sink_change_state):
15610         When frame dropping is enabled, we should not ignore frames
15611         without a duration.
15612         Update some documentation.
15613
15614 2006-04-28  Wim Taymans  <wim@fluendo.com>
15615
15616         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15617         (gst_base_src_send_event), (gst_base_src_change_state):
15618         Documentation updates.
15619
15620 2006-04-28  Wim Taymans  <wim@fluendo.com>
15621
15622         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15623         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15624         handle EAGAIN, EINTR and short writes correctly. Also clean
15625         up some error cases, avoid a deadlock on bad file descriptors and
15626         use GST_DEBUG_OBJECT.
15627         Fixes #339843
15628
15629 2006-04-28  Wim Taymans  <wim@fluendo.com>
15630
15631         * gst/gstvalue.c: (gst_value_serialize_buffer),
15632         (gst_value_deserialize_buffer):
15633         Don't try to serialize a GValue with a NULL buffer. 
15634         Fixes #339821.
15635
15636         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15637         Added check for serialisation of NULL buffers.
15638
15639 2006-04-28  Wim Taymans  <wim@fluendo.com>
15640
15641         * gst/gstminiobject.c: (gst_value_take_mini_object):
15642         Taking a NULL miniobject is valid, fix the case where
15643         we try to unref the NULL miniobject.
15644
15645 2006-04-28  Wim Taymans  <wim@fluendo.com>
15646
15647         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15648
15649         * gst/gstbin.c: (gst_bin_handle_message_func):
15650         Update docs.
15651         Don't leak bin refcount when a state recalc is
15652         in progress and we delay another one #339808.
15653
15654 2006-04-28  Wim Taymans  <wim@fluendo.com>
15655
15656         * docs/design/part-TODO.txt:
15657         Mention QoS as an ongoing work item.
15658
15659         * docs/design/part-buffering.txt:
15660         New doc about buffering that needs to be fleshed out
15661         at some point.
15662
15663         * docs/design/part-qos.txt:
15664         More QoS policy for decoders/demuxers/transforms
15665
15666         * docs/design/part-trickmodes.txt:
15667         Small update.
15668
15669 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15670
15671         * configure.ac:
15672           back to HEAD
15673
15674 === release 0.10.5 ===
15675
15676 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15677
15678         * configure.ac:
15679           releasing 0.10.5, "Fogo"
15680
15681 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15682
15683         patch by: Wim Taymans
15684
15685         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15686         (gst_pad_configure_src), (gst_pad_push):
15687         * gst/gstpipeline.c: (gst_pipeline_init):
15688           Fix internal data flow errors.  Fixes #338711.
15689
15690 2006-04-12  Wim Taymans  <wim@fluendo.com>
15691
15692         * tests/check/gst/gstelement.c: (GST_START_TEST):
15693         Don't leak the factory.
15694
15695 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15696
15697         * configure.ac:
15698         * win32/common/config.h:
15699           prerelease
15700
15701 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15702
15703         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15704         (gst_controller_unset_all):
15705           Free allocated GstTimedValues when freeing list nodes.
15706           Should fix leaks 'make check-valgrind' complains about.
15707
15708         * win32/common/libgstcontroller.def:
15709           Add gst_controller_unset_all.
15710
15711 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15712
15713         * docs/libs/gstreamer-libs-sections.txt:
15714         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15715         (gst_controller_unset_all):
15716         * libs/gst/controller/gstcontroller.h:
15717         API: Added new method gst_controller_unset_all()
15718         fixed gst_controller_unset()
15719         * tests/check/libs/controller.c: (GST_START_TEST),
15720         (gst_controller_suite):
15721         Added two testcases for new and fixed method
15722
15723 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15724
15725         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15726           MSG_DONTWAIT is not defined on Cygwin, so work
15727           around that (fixes #317048).
15728           
15729 2006-04-11  Wim Taymans  <wim@fluendo.com>
15730
15731         * gst/gstelementfactory.c: (gst_element_register),
15732         (gst_element_factory_create), (gst_element_factory_make):
15733         Some cleanups.
15734         Fixed a FIXME.
15735         Updated docs (Fixes #131079)
15736
15737         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15738         Small cleanups.
15739
15740         * tests/check/gst/gstelement.c: (GST_START_TEST),
15741         (gst_element_suite):
15742         Added testcase for elementfactory class field.
15743
15744 2006-04-10  Wim Taymans  <wim@fluendo.com>
15745
15746         * gst/gstsegment.c:
15747         Added some more docs.
15748
15749         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15750         (gst_base_sink_reset_qos):
15751         Calculate more accurate rate values.
15752
15753 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15754
15755         * gst/gst_private.h:
15756           add a new #ifdef to use __declspec(dllimport) only for
15757           other modules and not for gstreamer core
15758         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15759           use gst_guint64_to_gdouble for conversion
15760         * win32/common/libgstreamer.def:
15761           add new exported functions
15762         * win32/vs6/gst_inspect.dsp:
15763         * win32/vs6/gst_launch.dsp:
15764         * win32/vs6/libgstbase.dsp:
15765         * win32/vs6/libgstcontroller.dsp:
15766         * win32/vs6/libgstcoreelements.dsp:
15767         * win32/vs6/libgstdataprotocol.dsp:
15768         * win32/vs6/libgstnet.dsp:
15769           update project files
15770
15771 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15772
15773         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15774         * gst/gstclock.c: (gst_clock_class_init):
15775         * gst/gstelement.c: (gst_element_class_init):
15776         * gst/gstindex.c: (gst_index_class_init):
15777         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15778         * gst/gstobject.c: (gst_object_class_init),
15779         (gst_signal_object_class_init):
15780         * gst/gstpad.c: (gst_pad_class_init):
15781         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15782         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15783         * gst/gstregistry.c: (gst_registry_class_init):
15784         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15785         * gst/gsttask.c: (gst_task_class_init):
15786         * gst/gstxml.c: (gst_xml_class_init):
15787         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15788         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15789         (gst_base_src_loop):
15790         * libs/gst/controller/gstcontroller.c:/
15791         (_gst_controller_class_init):
15792         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15793         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15794         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15795         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15796         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15797         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15798
15799 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15800
15801         * gst/gstpad.c: (gst_pad_link):
15802           Must set peer pads before calling the link function, otherwise
15803           a task started from a link function might get a flow-not-linked
15804           result when trying to push because the other thread where the
15805           linking happens hasn't had a chance to set the peers yet. This
15806           might happen for example when a queue gets linked to a downstream
15807           element, as queue starts a streaming task when its source pad
15808           gets linked. Happens in real life when playing back flac/musepack
15809           files in playbin (#332390).
15810           
15811 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15812
15813         * gst/gstindex.h:
15814         * gst/gstxml.h:
15815         * libs/gst/base/gstadapter.h:
15816         * libs/gst/base/gstbasesink.h:
15817         * libs/gst/base/gstbasesrc.h:
15818         * libs/gst/base/gstbasetransform.h:
15819         * libs/gst/base/gstcollectpads.h:
15820         * libs/gst/base/gstpushsrc.h:
15821         Fix broken GObject macros
15822
15823 2006-04-07  Wim Taymans  <wim@fluendo.com>
15824
15825         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15826         Initialize start and stop times, thanks valgrind.
15827
15828 2006-04-07  Wim Taymans  <wim@fluendo.com>
15829
15830         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15831         Be a bit nicer to badly behaving upstream elements that expect
15832         us to deal with non TIME segments and timestamps (such as fakesrc
15833         in the testsuite).
15834
15835 2006-04-07  Wim Taymans  <wim@fluendo.com>
15836
15837         * gst/gstbus.c:
15838         Small documentation clarification about the signal watch.
15839
15840         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15841         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15842         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15843         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15844         (gst_base_sink_get_position_last),
15845         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15846         Convert and store timestamps in stream time and running time, the
15847         raw timestamps are not useful, also document this better.
15848         Use different window sizes for good and bad QoS observations so
15849         we react to badness a little quicker.
15850         Keep track of the amount of rendered and dropped buffers.
15851         Send QoS timestamps in running time.
15852
15853         * libs/gst/base/gstbasetransform.c:
15854         (gst_base_transform_sink_eventfunc),
15855         (gst_base_transform_handle_buffer):
15856         Compare QoS timestamps against running time.
15857
15858 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15859
15860         * gst/gstpad.c:
15861           Typo fixes in docs.
15862
15863 2006-04-06  Michael Smith  <msmith@fluendo.com>
15864
15865         * gst/gstpad.c: (gst_pad_set_property):
15866           Use g_value_get_object() instead of g_value_dup_gst_object(),
15867           to avoid double-reffing the pad template (which we then sink,
15868           so this worked previously if (and only if) the pad template
15869           was floating.
15870
15871         * gst/gstpadtemplate.c: (gst_pad_template_init),
15872         (gst_pad_template_pad_created):
15873           Never return floating references to pad templates, create
15874           them as initially-sunken.
15875
15876           Document an extra function (and make this stop sinking our
15877           pad template, since that is now guaranteed to do nothing,
15878           since we created it sunken).
15879
15880         * gst/gstghostpad.c:
15881           Fix docs typo.
15882
15883 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15884
15885         * gst/gstinfo.c: (__gst_in_valgrind):
15886           Add some newlines.
15887
15888         * plugins/elements/gsttypefindelement.c:
15889         (gst_type_find_element_chain):
15890           Don't leak buffer caps.
15891
15892 2006-04-06  Michael Smith  <msmith@fluendo.com>
15893
15894         * gst/parse/grammar.y:
15895           Fix a leak in parse-launch for any source-or-sink named element 
15896           references used.
15897
15898         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15899           Unref the pipeline if it exists after we've failed parsing.
15900
15901 2006-04-05  Michael Smith  <msmith@fluendo.com>
15902
15903         * gst/gstpipeline.c: (gst_pipeline_init):
15904           When we create a pipeline bus, initially create it in flushing mode.
15905           Fixes leaks in at least one test, and makes a new pipeline work the
15906           same as one that has gone to READY and then back to NULL.
15907
15908         * gst/gstelement.c:
15909           Typo fix in docs.
15910
15911 2006-04-05  Michael Smith  <msmith@fluendo.com>
15912
15913         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15914           Unref a pad we reffed.
15915         * tests/check/gst/gstutils.c: (GST_START_TEST):
15916           Unref bins
15917
15918 2006-04-05  Michael Smith  <msmith@fluendo.com>
15919
15920         * gst/gstquery.c: (gst_query_set_formats),
15921         (gst_query_set_formatsv):
15922           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15923
15924 2006-04-05  Michael Smith  <msmith@fluendo.com>
15925
15926         * tests/check/generic/sinks.c: (GST_START_TEST):
15927           Fix a variety of memleaks in sinks check, which are only sometimes 
15928           shown by running the tests under valgrind (weird?).
15929
15930 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15931
15932         * docs/version.entities.in:
15933           Fix the substituted entity name after thomas' changes on the
15934           weekend.
15935
15936 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15937
15938         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15939         VALGRIND_PRINTF
15940         
15941 2006-04-05  Andy Wingo  <wingo@pobox.com>
15942
15943         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15944
15945         * libs/gst/base/gstbasetransform.c
15946         (gst_base_transform_sink_eventfunc): When resetting our segment on
15947         FLUSH_STOP, also update the flag saying we haven't seen a
15948         newsegment.
15949
15950 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15951
15952         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15953
15954         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15955         (gst_plugin_check_license):
15956           minor clean-ups: G_DEFINE_TYPE already takes care of the
15957           parent_class stuff, no need to do it twice. Mark array of
15958           license strings as constant. (#337103)
15959           
15960 2006-04-04  Michael Smith  <msmith@fluendo.com>
15961
15962         * tools/gst-inspect.c: (print_element_list):
15963           Free the right plugin list; fixes a memory leak.
15964
15965 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15966
15967         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15968
15969         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15970           Don't error out on empty buffers (#336945).
15971           
15972 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15973
15974         * docs/libs/gstreamer-libs-sections.txt:
15975         * gst/gsttaglist.c:
15976         * libs/gst/base/gstbasesink.c:
15977         * libs/gst/base/gstbasesink.h:
15978         * libs/gst/base/gstbasesrc.c:
15979         * libs/gst/base/gstbasesrc.h:
15980           Documentation updates. Make BaseSink and BaseSrc docs contain the
15981           class structure so that people can actually see the prototypes for
15982           virtual functions they're supposed to be overriding.
15983
15984 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15985
15986         * plugins/elements/gsttypefindelement.c:
15987         (gst_type_find_element_chain):
15988           More debug info; when skipping typefinding, send cached
15989           events in all cases.
15990
15991 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15992
15993         * configure.ac:
15994           use new AS_VERSION and AS_NANO macros
15995         * gst/gst-i18n-lib.h:
15996         * gst/gst.c:
15997         * gst/gsterror.c:
15998         * gst/gstversion.h.in:
15999         * win32/common/config.h:
16000         * win32/common/config.h.in:
16001           update accordingly
16002
16003 2006-03-31  Michael Smith  <msmith@fluendo.com>
16004
16005         * plugins/elements/gsttypefindelement.c:
16006         (gst_type_find_element_chain):
16007           Do not typefind content if the buffers already have caps.
16008           Neccesary for icydemux (#333657), and the right thing to do anyway.
16009
16010 2006-03-30  Wim Taymans  <wim@fluendo.com>
16011
16012         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16013         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16014         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16015         (gst_base_sink_record_qos_observation),
16016         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16017         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16018         (gst_base_sink_change_state):
16019         More QoS measurements as described in the design doc.
16020         Get rid of ringbuffer with observations, running average is
16021         more simple and equally good.
16022         Calculates valid proportion now.
16023         Added beginning of flood measurement.
16024
16025 2006-03-29  Wim Taymans  <wim@fluendo.com>
16026
16027         * docs/design/part-qos.txt:
16028         * gst/gstclock.c:
16029         Small documentation updates and additions.
16030
16031 2006-03-29  Wim Taymans  <wim@fluendo.com>
16032
16033         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16034         (gst_base_src_send_event), (gst_base_src_loop),
16035         (gst_base_src_change_state):
16036         Perform the EOS logic when we reach the segment stop position.
16037         Fix compilation on gcc4.1
16038
16039 2006-03-29  Wim Taymans  <wim@fluendo.com>
16040
16041         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16042
16043         * plugins/elements/gstqueue.c: (gst_queue_init),
16044         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16045         (gst_queue_set_property):
16046         * plugins/elements/gstqueue.h:
16047         In queue, when EOS is received, if minimum threshold > max_size -
16048         current_level, there is chance that queue blocks forever in conditional
16049         item del wait. This is because the queue is not emptied completely due
16050         to minimum threshold.  Here is another approach. Instead of setting
16051         cur_levels to max in EOS, just zero all minimum threshold levels. This
16052         should make sure that queue gives out all data. When going to READY
16053         (stop) state, just reset the original minimum threshold levels.
16054         Fixes #336336.
16055
16056 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16057
16058         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16059         (gst_type_find_element_handle_event),
16060         (gst_type_find_element_send_cached_events),
16061         (gst_type_find_element_change_state):
16062         * plugins/elements/gsttypefindelement.h:
16063           When typefinding is done in push mode, we should cache
16064           events we receive during typefinding instead of just
16065           dropping them (e.g. newsegment, custom events from
16066           dvdreadsrc etc.) and then send them out once we've
16067           determined the type of the stream (and decodebin
16068           has had a chance to plug in a decoder/demuxer).
16069           
16070 2006-03-27  Wim Taymans  <wim@fluendo.com>
16071
16072         * docs/design/part-qos.txt:
16073         First QoS ideas.
16074
16075 2006-03-27  Wim Taymans  <wim@fluendo.com>
16076
16077         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16078
16079         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16080         (gst_base_src_send_event), (gst_base_src_change_state):
16081         Handle element seek correctly when we are streaming.
16082         Fixes #326998.
16083
16084 2006-03-24  Michael Smith  <msmith@fluendo.com>
16085
16086         * docs/faq/gst-uninstalled:
16087           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16088           allow you to correctly run intalled applications built against old 
16089           core, using plugins that require updated core (e.g. running
16090           installed totem against a full uninstalled gstreamer stack)
16091
16092 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16093
16094         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16095         more debug details
16096
16097 2006-03-24  Wim Taymans  <wim@fluendo.com>
16098
16099         * docs/gst/gstreamer-sections.txt:
16100         Rearrange the order of the methods so that related methods
16101         are grouped together in sections.
16102
16103 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16104
16105         * gst/gstelement.c:
16106           Little clarification in the docs
16107
16108 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16109
16110         * docs/README:
16111         formatting fix
16112         * plugins/elements/gstidentity.c:
16113         * plugins/elements/gstqueue.c:
16114         * plugins/elements/gsttee.c:
16115         * plugins/elements/gsttypefindelement.c:
16116         GST_ELEMENT_DETAILS formatting
16117
16118 2006-03-24  Wim Taymans  <wim@fluendo.com>
16119
16120         * libs/gst/base/gstbasesink.h:
16121         Only add fields, not insert or we break ABI.
16122
16123 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16124
16125         * win32/common/libgstbase.def:
16126         * win32/common/libgstreamer.def:
16127           Update, add recently added functions.
16128
16129 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16130
16131         * docs/gst/gstreamer-sections.txt:
16132         * gst/gstutils.c: (gst_pad_query_peer_position),
16133         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16134         * gst/gstutils.h:
16135           API: add some new utility functions:
16136            - gst_pad_query_peer_position()
16137            - gst_pad_query_peer_duration()
16138            - gst_pad_query_peer_convert()
16139           
16140 2006-03-23  Wim Taymans  <wim@fluendo.com>
16141
16142         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16143         (gst_base_sink_init), (gst_base_sink_finalize),
16144         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16145         (gst_base_sink_set_property), (gst_base_sink_get_property),
16146         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16147         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16148         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16149         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16150         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16151         (gst_base_sink_preroll_object), (gst_base_sink_event),
16152         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16153         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16154         (gst_base_sink_query), (gst_base_sink_change_state):
16155         Decouple max-lateness and the fact that QoS messages are generated
16156         with a new property (qos).
16157         added API: GstBaseSink::async_play()
16158         Add vmethod so subclasses can be notified of ASYNC playing
16159         state changes.
16160         Collect timestamp start and stop to report better current
16161         position in EOS/PLAYING/PAUSED/READY/NULL.
16162         Refactor QoS/frame dropping and other measurements.
16163         API: GstBaseSrc::qos
16164         Fixes #326311
16165
16166         * libs/gst/base/gstbasesink.h:
16167         Added Private struct.
16168         API: gst_base_sink_set_qos_enabled()
16169         API: gst_base_sink_is_qos_enabled()
16170
16171 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16172
16173         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16174           If compiling against GLib-2.8 or newer, try to read the
16175           registry file using GMappedFile first before falling back
16176           to fopen() + fread() (#332151).
16177
16178 2006-03-22  Wim Taymans  <wim@fluendo.com>
16179
16180         * gst/gstinfo.c: (gst_debug_set_active),
16181         (gst_debug_category_set_threshold):
16182         Disable debugging unless explicitly activated.
16183         Fixes #335480.
16184
16185 2006-03-22  Wim Taymans  <wim@fluendo.com>
16186
16187         * gst/gstelement.c: (gst_element_set_locked_state),
16188         (gst_element_dispose):
16189         Cleanup the error case.
16190
16191         * gst/gstobject.c: (gst_object_dispose):
16192         print a critical when some object was disposed with
16193         a parent, also revive the object since it might
16194         crash the parent.
16195
16196 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16197
16198         * tools/gst-launch.1.in:
16199           Fix another typo.
16200
16201 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16202
16203         * configure.ac:
16204         * tests/check/Makefile.am:
16205           disable some tests when we don't have a registry
16206         * tests/check/gst/gstutils.c: (gst_utils_suite):
16207           don't build the part that needs parsing
16208
16209 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16210
16211         * gst/Makefile.am
16212         * tests/examples/Makefile.am:
16213           fix --disable-parse build
16214
16215 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16216
16217         * tools/gst-feedback.1.in:
16218           Fix typo: s/feeback/feedback/ (#133494).
16219
16220 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16221
16222         * tools/Makefile.am:
16223         * tools/gst-launch.1.in:
16224           Add FILES section and correct entry about GST_REGISTRY_PATH
16225           environment variable (#133495; #133494).
16226
16227 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16228
16229         * tools/Makefile.am:
16230         * tools/gst-md5sum.1.in:
16231         * tools/gst-md5sum.c:
16232           Remove gst-md5sum and man page (the md5sink element
16233           required was removed ages ago)
16234
16235 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16236
16237         * gst/gststructure.c: (gst_structure_id_set_value):
16238           Make sure that string fields in structures/taglists
16239           contain valid UTF-8 - we don't want to pass rubbish to
16240           applications because of a buggy plugin (cp. #334167).
16241
16242 2006-03-21  Edward Hervey  <edward@fluendo.com>
16243
16244         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16245         (gst_bin_handle_message_func):
16246         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16247         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16248         (gst_element_set_bus_func):
16249         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16250         * gst/gstminiobject.c: (gst_value_set_mini_object),
16251         (gst_value_take_mini_object):
16252         * gst/gstpad.c: (gst_pad_set_pad_template):
16253         * gst/gstpipeline.c: (gst_pipeline_dispose),
16254         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16255         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16256         (gst_collect_pads_chain):
16257         * libs/gst/net/gstnettimeprovider.c:
16258         (gst_net_time_provider_set_property):
16259         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16260         It's in fact all issues with gst_*object_replace().
16261
16262 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16263
16264         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16265         
16266         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16267         * pkgconfig/gstreamer-check.pc.in:
16268           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16269
16270 2006-03-21  Edward Hervey  <edward@fluendo.com>
16271
16272         * gst/gstbuffer.h:
16273         * gst/gstevent.h:
16274         * gst/gstmessage.h:
16275         gst_[buffer|event|message]_ref() macros are replaced by a static
16276         inline functions because gcc-4.1 will about if the return value
16277         isn't used.
16278         * tests/check/gst/gstevent.c: (event_probe):
16279         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16280
16281 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16282
16283         * gst/gstutils.h:
16284         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16285         the type' case. (Closes: #335195 for now). In the future, when we
16286         depend on GLib 2.10, we could also intern the type name using
16287         g_intern_static_string()
16288
16289 2006-03-20  Wim Taymans  <wim@fluendo.com>
16290
16291         * gst/gstbin.c: (gst_bin_handle_message_func),
16292         (bin_query_max_init), (bin_query_position_fold),
16293         (bin_query_position_done), (gst_bin_query):
16294         Position query should also take max of all streams.
16295
16296 2006-03-20  Wim Taymans  <wim@fluendo.com>
16297
16298         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16299         (gst_fake_src_finalize):
16300         Fix leaks in fakesrc.
16301
16302         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16303         Fix leaks in the testcase.
16304
16305 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16306
16307         * gst/gst_private.h:
16308           add win32 specific import decoration(__declspec(dllimport)) 
16309           for all extern GstDebugCategory * variables
16310         * win32/common/libgstbase.def:
16311         * win32/common/libgstcontroller.def:
16312         * win32/common/libgstreamer.def:
16313           Add some exports, remove empty lines
16314         * win32/common/libgstdataprotocol.def:
16315         * win32/common/libgstdataprotocol.dsp:
16316         * win32/common/libgstnet.def:
16317         * win32/common/libgstnet.dsp:
16318           new project files and exportation files added
16319         
16320 2006-03-19  Wim Taymans  <wim@fluendo.com>
16321
16322         * tests/check/libs/basesrc.c: (eos_event_counter):
16323         Use proper return value for probe.
16324
16325 2006-03-17  Wim Taymans  <wim@fluendo.com>
16326
16327         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16328         (gst_pad_push):
16329         Don't leak buffers, caps and pads on negotiation errors.
16330
16331 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16332
16333         * docs/faq/cvs.xml:
16334         * docs/faq/dependencies.xml:
16335         * docs/faq/developing.xml:
16336         * docs/faq/faq.xml:
16337         * docs/faq/general.xml:
16338         * docs/faq/getting.xml:
16339         * docs/faq/legal.xml:
16340         * docs/faq/troubleshooting.xml:
16341         * docs/faq/using.xml:
16342         Faq review and update.
16343
16344 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16345
16346         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16347         (gst_pad_push):
16348         Don't pound the cpu to pieces by checking get_caps when accept_caps
16349         is called with the same caps as the pad already has.
16350         Use GST_DEBUG_OBJECT when outputting caps change information.
16351
16352 2006-03-15  Wim Taymans  <wim@fluendo.com>
16353
16354         * gst/gstclock.c: (gst_clock_class_init):
16355         Fix docs.
16356
16357 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16358
16359         * gst/gstbuffer.h:
16360         Documentation fix.
16361
16362         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16363         (gst_pad_accept_caps), (gst_pad_configure_sink),
16364         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16365         Make the default acceptcaps behaviour be to check the requested 
16366         caps against the gst_pad_get_caps output. 
16367
16368         Ensure that gst_pad_accept_caps is used to check caps when a pad
16369         doesn't have a setcaps function, so that pads automatically refuse 
16370         caps that they don't allow in their pad template. (Fixes #332986)
16371
16372         When a buffer with attached caps is pushed, ensure that the source 
16373         pad receives those caps even if the element didn't call
16374         gst_pad_set_caps first.
16375
16376 2006-03-15  Wim Taymans  <wim@fluendo.com>
16377
16378         * libs/gst/base/gstadapter.c:
16379         Add some docs.
16380
16381 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16382
16383         * win32/common/libgstbase.def:
16384         * win32/common/libgstcontroller.def:
16385         * win32/common/libgstreamer.def:
16386           Add a whole bunch of missing functions (#334434).
16387
16388 2006-03-14  Wim Taymans  <wim@fluendo.com>
16389
16390         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16391         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16392         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16393         Better debug info when we receive a segment event.
16394         Reorganize a bit so we can pass the get_times() results around.
16395         Use the segment format when calculating the running time.
16396         Don't do QoS is sync is disabled or we have no clock or the
16397         element does not want us to sync to the clock.
16398         Don't drop buffers if QoS is disabled for now.
16399
16400 2006-03-14  Wim Taymans  <wim@fluendo.com>
16401
16402         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16403         Marked the stats property as unimplemented so people don't get
16404         wild ideas.
16405         Add debug message when regression goes wrong.
16406         Added some more docs.
16407
16408 2006-03-14  Wim Taymans  <wim@fluendo.com>
16409
16410         * gst/gstsegment.c: (gst_segment_to_stream_time):
16411         Return correct return type in case of errors.
16412
16413 2006-03-14  Wim Taymans  <wim@fluendo.com>
16414
16415         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16416           Don't segfault on invalid formats.
16417
16418 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16419
16420         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16421           Can't use gst_segment_to_running_time() when the segment
16422           is not in GST_TIME_FORMAT (like with filesink, for example).
16423           Stops flac encoding pipelines from spewing critical warnings
16424           at EOS (#331248).
16425           
16426 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16427
16428         * gst/gstpipeline.c: (gst_pipeline_class_init):
16429           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16430
16431         * plugins/elements/gsttypefindelement.c:
16432         (gst_type_find_element_handle_event):
16433           Don't try to typefind empty streams.
16434
16435 2006-03-14  Wim Taymans  <wim@fluendo.com>
16436
16437         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16438         (gst_base_sink_do_qos):
16439         Separate QoS calculation.
16440         Only drop buffers when lateness is bigger than the 
16441         duration of the buffer.
16442
16443 2006-03-13  Wim Taymans  <wim@fluendo.com>
16444
16445         * gst/gstpipeline.c: (gst_pipeline_set_property),
16446         (gst_pipeline_get_property), (do_pipeline_seek),
16447         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16448         (gst_pipeline_get_delay):
16449         Don't deadlock when reading properties.
16450
16451 2006-03-13  Wim Taymans  <wim@fluendo.com>
16452
16453         * libs/gst/base/gstbasetransform.c:
16454         (gst_base_transform_class_init), (gst_base_transform_init),
16455         (gst_base_transform_sink_event),
16456         (gst_base_transform_sink_eventfunc),
16457         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16458         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16459         (gst_base_transform_set_property),
16460         (gst_base_transform_get_property),
16461         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16462         (gst_base_transform_set_qos_enabled),
16463         (gst_base_transform_is_qos_enabled):
16464         * libs/gst/base/gstbasetransform.h:
16465         Make basetransform virtual method for src events too.
16466         Handle QOS in basetransform.
16467         API: gst_base_transform_update_qos()
16468         API: gst_base_transform_set_qos_enabled()
16469         API: gst_base_transform_is_qos_enabled()
16470
16471 2006-03-13  Wim Taymans  <wim@fluendo.com>
16472
16473         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16474         (gst_base_sink_do_sync):
16475         Small cleanups.
16476         Use QOS debug category.
16477
16478 2006-03-13  Wim Taymans  <wim@fluendo.com>
16479
16480         * plugins/elements/gstqueue.c:
16481         Very small doc update.
16482
16483 2006-03-13  Wim Taymans  <wim@fluendo.com>
16484
16485         * gst/gst_private.h:
16486         * gst/gstinfo.c: (_gst_debug_init):
16487         Added QOS debug category
16488
16489 2006-03-13  Wim Taymans  <wim@fluendo.com>
16490
16491         * docs/gst/gstreamer-sections.txt:
16492         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16493         * gst/gstbin.h:
16494         * gst/gstbus.c: (gst_bus_class_init):
16495         * gst/gstbus.h:
16496         * gst/gstclock.c:
16497         * gst/gstelement.c: (gst_element_set_locked_state):
16498         * gst/gstsegment.c:
16499         Documentation updates.
16500
16501         * gst/gstpipeline.c: (gst_pipeline_get_type),
16502         (gst_pipeline_class_init), (gst_pipeline_init),
16503         (gst_pipeline_dispose), (gst_pipeline_set_property),
16504         (gst_pipeline_get_property), (do_pipeline_seek),
16505         (gst_pipeline_send_event), (gst_pipeline_change_state),
16506         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16507         (gst_pipeline_get_delay):
16508         * gst/gstpipeline.h:
16509         Added methods for setting the delay.
16510         API: gst_pipeline_set_delay()
16511         API: gst_pipeline_get_delay()
16512         Add pipeline debug category
16513         Various cleanups.
16514         Updated docs.
16515         Don't reset stream time when seek failed.
16516
16517 2006-03-13  Wim Taymans  <wim@fluendo.com>
16518
16519         * docs/design/draft-klass.txt:
16520         * docs/design/part-clocks.txt:
16521         * docs/design/part-events.txt:
16522         * docs/design/part-gstbin.txt:
16523         * docs/design/part-gstpipeline.txt:
16524         * docs/design/part-messages.txt:
16525         * docs/design/part-negotiation.txt:
16526         * docs/design/part-overview.txt:
16527         * docs/design/part-preroll.txt:
16528         * docs/design/part-seeking.txt:
16529         * docs/design/part-states.txt:
16530         * docs/design/part-streams.txt:
16531         Documentation updates.
16532
16533 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16534
16535         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16536         us to leak strings...
16537
16538 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16539
16540         * libs/gst/net/gstnettimeprovider.c:
16541           fix docs
16542         * win32/common/config.h:
16543           update
16544
16545 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16546
16547         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16548
16549         * configure.ac:
16550           Don't check for libgnomeui (leftover from old examples
16551           that aren't built or disted any longer) (#334303).
16552           
16553 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16554
16555         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16556         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16557           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16558           there's no space left on the device.
16559
16560 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16561
16562         * gst/gstclock.h:
16563           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16564           to cast the input to GstClockTime before comparing with
16565           another GstClockTime value.
16566
16567 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16568
16569         * configure.ac:
16570           back to trunk
16571
16572 === release 0.10.4 ===
16573
16574 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16575
16576         * configure.ac:
16577           releasing 0.10.4, "Light"
16578
16579 2006-03-10  Michael Smith  <msmith@fluendo.com>
16580
16581         * libs/gst/dataprotocol/dataprotocol.c:
16582           Fix docs for dataprocotol to not get the return types completely
16583           wrong for a few functions.
16584
16585 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16586
16587         * docs/gst/gstreamer-sections.txt:
16588         * gst/gstpipeline.c: (gst_pipeline_class_init),
16589         (gst_pipeline_init), (gst_pipeline_set_property),
16590         (gst_pipeline_get_property), (gst_pipeline_change_state),
16591         (gst_pipeline_set_auto_flush_bus),
16592         (gst_pipeline_get_auto_flush_bus):
16593         * gst/gstpipeline.h:
16594           Add new API: gst_pipeline_set_auto_flush_bus() and
16595           gst_pipeline_get_auto_flush_bus() to disable automatic
16596           flushing of the pipeline's GstBus when going from READY
16597           to NULL state (#332045).
16598
16599 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16600
16601         * docs/gst/gstreamer-sections.txt:
16602         * gst/gsturi.c: (gst_uri_has_protocol):
16603         * gst/gsturi.h:
16604            Add new API: gst_uri_has_protocol() (#333779).
16605
16606 2006-03-09  Wim Taymans  <wim@fluendo.com>
16607
16608         * gst/gstclock.c: (gst_clock_entry_new),
16609         (gst_clock_id_compare_func), (gst_clock_id_wait),
16610         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16611         (gst_clock_init), (gst_clock_get_internal_time),
16612         (gst_clock_set_master), (do_linear_regression),
16613         (gst_clock_add_observation), (gst_clock_set_property):
16614         * gst/gstclock.h:
16615         Review docs.
16616         Small cleanups.
16617         Fix a possible segfault when the window-size is made smaller.
16618         Calculate jitter before performing the clock wait. Ideally
16619         the clock implementation should calculate jitter but we need
16620         API breakage for that.
16621
16622         * gst/gstsystemclock.c: (gst_system_clock_init):
16623         Docs review.
16624         
16625         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16626         Remove leftover else
16627
16628         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16629         (gst_systemclock_suite):
16630         Added check to test GST_CLOCK_DIFF.
16631
16632 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16633
16634         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16635         (gst_type_find_helper_get_range):
16636           If we are provided with the size, we should implement
16637           GstTypeFind::get_length, so that typefind functions who
16638           want to can actually peek at the middle of a file.
16639
16640 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16641
16642         * docs/manual/advanced-dataaccess.xml:
16643           Add some very very basic error checking.
16644
16645         * docs/pwg/appendix-checklist.xml:
16646           Some updates to the list of things to check when writing an element.
16647
16648 2006-03-08  Wim Taymans  <wim@fluendo.com>
16649
16650         * docs/design/part-element-transform.txt:
16651         Added some docs about the design of tranform elements.
16652
16653         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16654         (gst_base_src_loop), (gst_base_src_change_state):
16655         Mark buffers with the DISCONT flag.
16656
16657 2006-03-08  Michael Smith  <msmith@fluendo.com>
16658
16659         * gst/gstregistry.h:
16660         * gst/gstregistryxml.c: (gst_registry_save),
16661         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16662         (gst_registry_xml_save_pad_template),
16663         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16664         (gst_registry_xml_write_cache):
16665           Rewrite registry-saving to avoid race conditions and check for
16666           failed writes.
16667
16668 2006-03-08  Wim Taymans  <wim@fluendo.com>
16669
16670         * libs/gst/base/gstbasetransform.c:
16671         (gst_base_transform_transform_caps),
16672         (gst_base_transform_transform_size),
16673         (gst_base_transform_prepare_output_buffer),
16674         (gst_base_transform_get_unit_size),
16675         (gst_base_transform_buffer_alloc),
16676         (gst_base_transform_handle_buffer),
16677         (gst_base_transform_change_state):
16678         Cleanups, separate normal flow from errors, add sensible
16679         DEBUG lines.
16680         Don't try to renegotiate when allocating an output buffer.
16681         Also copy DISCONT buffer flag when copying a buffer.
16682         Reset the transform after we finish streaming, not during.
16683
16684 2006-03-08  Wim Taymans  <wim@fluendo.com>
16685
16686         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16687         Use last buffer timestamp in qos message.
16688
16689 2006-03-07  Wim Taymans  <wim@fluendo.com>
16690
16691         Patch by: Christophe Fergeau
16692
16693         * docs/pwg/advanced-tagging.xml:
16694         * docs/pwg/building-pads.xml:
16695           fixes #333416
16696
16697 2006-03-07  Wim Taymans  <wim@fluendo.com>
16698
16699         * docs/libs/gstreamer-libs-sections.txt:
16700         Added basesink new methods.
16701
16702         * gst/gstevent.c:
16703         * gst/gstevent.h:
16704         Docs updates. Flesh out the QoS docs.
16705
16706         * libs/gst/base/gstadapter.c:
16707         Small doc clarification about ownership and flushing.
16708
16709         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16710         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16711         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16712         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16713         * libs/gst/base/gstbasesink.h:
16714         API additions: 
16715         Added new methods to allow subclass to control max-lateness 
16716         and sync.
16717         Generate very basic QoS events based on last sync observation.
16718         Updated docs, fix typo, added some QoS blurb.
16719
16720         * libs/gst/base/gstbasesrc.c:
16721         Remove obsolete _get_state() calls from docs.
16722
16723 2006-03-07  Wim Taymans  <wim@fluendo.com>
16724
16725         * docs/libs/gstreamer-libs-sections.txt:
16726         * libs/gst/base/gstbasetransform.h:
16727         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16728         Fix docs for GstBaseSrc.
16729
16730 2006-03-07  Wim Taymans  <wim@fluendo.com>
16731
16732         * docs/gst/gstreamer-sections.txt:
16733         * gst/gstbuffer.h:
16734         * gst/gstvalue.c:
16735         * libs/gst/base/gstbasetransform.h:
16736         Small documentation fixes.
16737
16738 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16739
16740         * gst/gstvalue.c:
16741           Document thread-unsafety of gst_value_register_foo_func()
16742           when used at the same time as gst_value_foo() (#322628).
16743
16744 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16745
16746         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16747         (gst_push_src_check_get_range):
16748           Push sources don't support pull mode by default.
16749
16750 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16751
16752         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16753         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16754         (gst_base_src_default_check_get_range):
16755         * libs/gst/base/gstbasesrc.h:
16756           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16757           provide default implementation, and rename
16758           gst_base_src_check_get_range() to
16759           gst_base_src_pad_check_get_range() for clarity.
16760
16761 2006-03-06  Wim Taymans  <wim@fluendo.com>
16762
16763         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16764         Make property overridable.
16765
16766 2006-03-06  Wim Taymans  <wim@fluendo.com>
16767
16768         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16769         (gst_base_sink_init), (gst_base_sink_set_property),
16770         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16771         * libs/gst/base/gstbasesink.h:
16772         API addition: Make max-lateness a property.
16773
16774 2006-03-06  Wim Taymans  <wim@fluendo.com>
16775
16776         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16777         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16778         Don't ever draw a frame that is >10ms late.
16779
16780 2006-03-06  Michael Smith  <msmith@fluendo.com>
16781
16782         * gst/gstmessage.c: (_gst_message_copy):
16783           When copying a message, set the parent_refcount of the enclosed
16784           structure to point at the copy, not the original message.
16785
16786 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16787
16788         Patch by: Christophe Fergeau
16789
16790         * gst/gstutils.h:
16791           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16792           usable in c++ code (#333417)
16793
16794 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16795
16796         * gst/gstclock.h:
16797           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16798
16799 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16800
16801         * libs/gst/base/gstbasetransform.c:
16802         (gst_base_transform_transform_caps):
16803           Make sure caps are writable before passing them to
16804           gst_caps_append().
16805
16806 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16807
16808         * gst/gsterror.h:
16809           Fix some minor docs errors.
16810
16811 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16812
16813           Patch by: Ross Burton <ross at burtonini dot com>
16814
16815         * gst/gsterror.c: (_gst_resource_errors_init):
16816         * gst/gsterror.h:
16817           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16818
16819 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16820
16821         * gst/gst.c:
16822         Add a check and output a g_warning when GStreamer is built
16823         against GLib 2.6 but running against 2.8 or higher, and vice 
16824         versa. (Closes: #323542)
16825
16826 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16827
16828         * gst/parse/parse.l:
16829           Commit patch for parse_launch syntax from #331255. Removes 
16830           support for quoted strings and mimetypes when writing filtered 
16831           caps. See the bug report for more details - I'm pretty sure this
16832           obscure feature is not in use by _anyone_ anywhere.
16833
16834           With this simple change, the size of the gstreamer.so here 
16835           drops from 2193KB to 1565KB.
16836
16837 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16838
16839         * plugins/elements/gsttypefindelement.h:
16840         * plugins/elements/gsttypefindelement.c:
16841         (gst_type_find_element_src_event), (start_typefinding),
16842         (stop_typefinding), (gst_type_find_element_handle_event),
16843         (gst_type_find_element_chain),
16844         (gst_type_find_element_chain_do_typefinding):
16845           Use gst_type_find_helper_for_buffer() for chain-based
16846           typefinding.
16847
16848 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16849
16850         * plugins/elements/gsttypefindelement.c:
16851         (gst_type_find_element_class_init),
16852         (gst_type_find_element_set_property),
16853         (gst_type_find_element_get_property):
16854           Deprecate "maximum" property (not only was it only taken into
16855           account for typefinding in push-mode anyway, it also was never
16856           actually possible to set it in the first place because the
16857           property was registered with the numeric property ID for the
16858           "minimum" property). Register "maximum" property correctly,
16859           for the sake of future copy'n'pasters. Remove some cruft
16860           from property get/set functions.
16861
16862 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16863
16864         * plugins/elements/gsttypefindelement.c:
16865         (gst_type_find_element_activate):
16866           Use gst_type_find_helper_get_range() here, so we
16867           can honour the "minimum" property and also emit
16868           the signal with the correct probability of the found caps.
16869
16870 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16871
16872         * docs/libs/gstreamer-libs-sections.txt:
16873         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16874         (helper_find_suggest), (gst_type_find_helper_get_range),
16875         (gst_type_find_helper):
16876         * libs/gst/base/gsttypefindhelper.h:
16877           New API: gst_type_find_helper_get_range() (#333042).
16878
16879 2006-03-02  Michael Smith  <msmith@fluendo.com>
16880
16881         * gst/gstregistryxml.c: (load_feature):
16882           Asserting on a failure to read part of the registry is Not Cool.
16883           Just log a warning and return NULL (which is already handled)
16884
16885 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16886
16887         * win32/common/libgstbase.def:
16888           added export of gst_type_find_helper_for_buffer
16889         * win32/common/libgstbase.def:
16890           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16891           gst_ghost_pad_get_target
16892
16893 2006-02-28  Wim Taymans  <wim@fluendo.com>
16894
16895         * docs/design/draft-klass.txt:
16896         We use Filter now.
16897         Added Connector to mark elements that are only used to
16898         allow pipeline connections.
16899         Moved Debug to extra feature since most of them are 
16900         functionally something else.
16901
16902 2006-02-28  Wim Taymans  <wim@fluendo.com>
16903
16904         * docs/design/draft-klass.txt:
16905         Some updates and clarifications.
16906
16907 2006-02-28  Wim Taymans  <wim@fluendo.com>
16908
16909         * docs/design/draft-klass.txt:
16910         Proposal for klass field values.
16911
16912         * docs/design/part-streams.txt:
16913         Start of a doc describing stream anatomy.
16914
16915 2006-02-28  Wim Taymans  <wim@fluendo.com>
16916
16917         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16918         Help the compiler a bit with type registration.
16919         Use existing forward cod path instead of duplicating it when 
16920         handling a message.
16921         
16922         * gst/gstbus.c: (gst_bus_get_type):
16923         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16924         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16925         * gst/gstclock.c: (gst_clock_get_type):
16926         * gst/gstelement.c: (gst_element_get_type),
16927         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16928         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16929         * gst/gstminiobject.c: (gst_mini_object_get_type):
16930         * gst/gstpad.c: (gst_pad_get_type):
16931         * gst/gstsegment.c: (gst_segment_get_type):
16932         * gst/gststructure.c: (gst_structure_get_type):
16933         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16934         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16935         * gst/gstvalue.c:
16936         Help compiler with type registration.
16937
16938         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16939         Small doc update.
16940
16941 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16942
16943         * plugins/elements/gsttypefindelement.c:
16944         (gst_type_find_element_handle_event):
16945           When we get an EOS event and have not found a type yet
16946           (most likely because we had not yet accumulated
16947           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16948           type given the data we have so far. Fixes typefinding
16949           for very short streams again, most notably quicktime
16950           redirections as used on Apple's trailer site (#331701).
16951
16952 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16953
16954         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16955         (gst_type_find_helper):
16956           Try typefinding factories with the highest rank first.
16957
16958 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16959
16960         * docs/libs/gstreamer-libs-docs.sgml:
16961         * docs/libs/gstreamer-libs-sections.txt:
16962         * libs/gst/base/gsttypefindhelper.c:
16963           Add section for typefind helper and add documentation
16964           for the old and the new function.
16965
16966 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16967
16968         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16969         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16970         (gst_type_find_helper_for_buffer):
16971         * libs/gst/base/gsttypefindhelper.h:
16972           New API: gst_type_find_helper_for_buffer() (#332723).
16973           
16974 2006-02-27  Michael Smith  <msmith@fluendo.com>
16975
16976         Patch by: Loïc Minier
16977
16978         * configure.ac:
16979         * docs/Makefile.am:
16980         * docs/slides/Makefile.am:
16981           prevent CVS directories getting disted.
16982
16983 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16984
16985         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16986           Use the REFCOUNTING category for caps refcounting.
16987           
16988 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16989
16990         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16991           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16992
16993 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16994
16995         * plugins/elements/gsttypefindelement.c:
16996         (gst_type_find_element_activate):
16997           Use gst_pad_check_pull_range() before _activate_pull()
16998           to avoid unnecessary open/close (see #331690).
16999
17000 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17001
17002         * gst/gstutils.c:
17003           Docs enhancement: make it crystal clear what the
17004           gst_pad_add_*_probe() callbacks should look like.
17005
17006 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17007
17008         * libs/gst/base/gstbasesrc.c:
17009           Document how applications can stop recording from
17010           live sources (see #330996).
17011
17012 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17013
17014         * tests/check/Makefile.am:
17015         * tests/check/libs/basesrc.c: (eos_event_counter),
17016         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17017         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17018         (gst_basesrc_suite), (main):
17019           ... and add some tests for the base source EOS stuff.
17020
17021 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17022
17023         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17024           Test case originally showed the problem fixed below,
17025           but was then amended. Add checks back at the place
17026           where they used to be.
17027
17028 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17029
17030         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17031         (gst_base_src_init), (gst_base_src_loop),
17032         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17033         (gst_base_src_change_state):
17034         * libs/gst/base/gstbasesrc.h:
17035           Don't unconditionally send EOS when going from PAUSED to
17036           READY state, esp. make sure we don't send two EOS events
17037           in some cases (e.g. one when reaching EOS and one when
17038           going from PAUSED to READY). Also, we don't want to send
17039           EOS events when operating in pull mode. However, we do
17040           want to send an EOS event when shutting down a live
17041           source explicitly, for example (fixes #330996).
17042           
17043 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17044
17045         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17046           Update src->read_position after a seek when not using mmap.
17047           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17048
17049 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17050
17051         * gst/Makefile.am:
17052         * gst/gstparse.h:
17053         * gst/gstutils.c:
17054         * gst/gstutils.h:
17055         Make things work with --disable-parse as they do with 
17056         --disable-load-save - the symbols involved disappear, but the
17057         header is still installed and GST_DISABLE_PARSE is included via
17058         gstconfig.h
17059
17060 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17061
17062         * libs/gst/base/gstbasetransform.c:
17063         (gst_base_transform_change_state): Fix a stupid bug. I was 
17064         sure I compiled that.
17065
17066 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17067
17068         * gst/gstpad.c: (gst_pad_set_blocked_async):
17069         * gst/gstutils.c: (gst_pad_add_data_probe),
17070         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17071         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17072         (gst_pad_remove_buffer_probe): Make those function act on the
17073         ghostpad target when it's a ghostpad. (Closes #331727)
17074
17075 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17076
17077         * libs/gst/base/gstbasetransform.c:
17078         (gst_base_transform_change_state): Make basetransform reusable.
17079         (Closes #331898)
17080
17081 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17082
17083         * docs/random/release:
17084         Move the current documentation of how to do a release to the top
17085         of the file.
17086
17087         * gst/gstbin.c: (gst_bin_class_init),
17088         (gst_bin_handle_message_func):
17089         Allow multiple state-recalculation threads. (Closes #328873)
17090
17091 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17092
17093         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17094         * gst/gstpad.c: (gst_pad_set_event_function),
17095         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17096         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17097         2 strings. You can't use the STR_NULL macro on that.
17098
17099 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17100
17101         * gst/gstpad.c: (gst_pad_set_event_function),
17102         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17103         (gst_pad_set_getcaps_function)
17104         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17105           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17106           So now, we can use --gst-debug-level=5 on Windows
17107         * win32/common/libgstcontroller.def:
17108           Added export of gst_controller_init
17109         * win32/vs6/libgstcontroller.dsp:
17110           Fixed Release post build configuration
17111
17112 2006-02-17  Wim Taymans  <wim@fluendo.com>
17113
17114         * tests/check/gst/gstquery.c: (GST_START_TEST):
17115         Added another check.
17116
17117 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17118
17119         * plugins/elements/gsttypefindelement.c: (find_peek):
17120           We can do peeks at non-zero offsets, as long as they
17121           fall within the buffer we have.
17122
17123 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17124
17125         * tests/check/Makefile.am:
17126         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17127         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17128         (parse_suite), (main):
17129           Add testsuite for parse launch syntax
17130
17131 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17132
17133         * plugins/elements/gsttypefindelement.c:
17134         (gst_type_find_element_chain):
17135           When typefinding is unsuccessful in the chain function, don't
17136           error out immediately. Only error out with NO_CAPS_FOUND if
17137           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17138           otherwise simply wait for more data so we can try typefinding
17139           again with more data later. Also, don't attempt to typefind
17140           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17141           this should improve typefinding from network sources where the
17142           size of the first buffer can be somewhat random.
17143
17144 2006-02-14  Wim Taymans  <wim@fluendo.com>
17145
17146         * docs/gst/gstreamer-sections.txt:
17147         * gst/gstpadtemplate.c:
17148         * gst/gstpadtemplate.h:
17149         Fix padtemplate docs, fixes #328805.
17150
17151 2006-02-14  Wim Taymans  <wim@fluendo.com>
17152
17153         * tools/gst-launch.c: (main):
17154         NO_PREROLL is not an ERROR so don't send confusing messages
17155         to the user.
17156
17157 2006-02-14  Wim Taymans  <wim@fluendo.com>
17158
17159         Patch by: Torsten Schoenfeld
17160
17161         * gst/gstregistry.c: (gst_registry_get_default),
17162         (_gst_registry_cleanup):
17163         Protect default registry with lock and ref/sink it.
17164         Fixes #324818
17165
17166 2006-02-14  Wim Taymans  <wim@fluendo.com>
17167
17168         * gst/gstbuffer.c:
17169         * gst/gstquery.c: (gst_query_list_add_format),
17170         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17171         (gst_query_parse_formats_nth):
17172         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17173         Docs fixes.
17174
17175 2006-02-14  Wim Taymans  <wim@fluendo.com>
17176
17177         * docs/gst/gstreamer-sections.txt:
17178         Reworked query docs.
17179
17180         * gst/gstquery.c: (gst_query_new_formats),
17181         (gst_query_list_add_format), (gst_query_set_formats),
17182         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17183         (gst_query_parse_formats_nth):
17184         * gst/gstquery.h:
17185         Flesh out formats query, added some new methods.
17186         Fix part of #324398.
17187
17188         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17189         Added query creation tests.
17190
17191 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17192
17193         * gst/gstpad.c: (fixate_value):
17194         Add a default fixation for fraction lists.
17195
17196 2006-02-13  Wim Taymans  <wim@fluendo.com>
17197
17198         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17199         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17200         (gst_task_join):
17201         * gst/gsttask.h:
17202         Detect and warn for obvious deadlocks. fixes #320340
17203         Fix error case where lock was not released.
17204
17205         * tests/check/Makefile.am:
17206         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17207         (task_func), (gst_element_suite), (main):
17208         Add task check.
17209
17210 2006-02-13  Wim Taymans  <wim@fluendo.com>
17211
17212         * docs/gst/gstreamer-sections.txt:
17213         * gst/gstbus.c:
17214         Add new functions to docs.
17215
17216 2006-02-13  Wim Taymans  <wim@fluendo.com>
17217
17218         * docs/design/part-TODO.txt:
17219         Updated TODO list, basesrc supports seeking to non-bytes
17220         formats.
17221
17222         * docs/design/part-element-sink.txt:
17223         Update docs.
17224
17225         * gst/gstbin.c: (bin_replace_message),
17226         (gst_bin_handle_message_func):
17227         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17228         * gst/gstevent.c: (gst_event_finalize):
17229         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17230         (gst_pad_send_event):
17231         Use shiny new _TYPE_NAME macros.
17232
17233         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17234         Move debug statement up.
17235
17236         * gst/gstelement.c: (gst_element_set_locked_state):
17237         Add some debugging.
17238
17239 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17240
17241         * docs/gst/gstreamer-sections.txt:
17242         * gst/gstmessage.h:
17243         * gst/gstquery.h:
17244           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17245           macros (#330906). Also, document the already existing
17246           GST_QUERY_TYPE macro.
17247
17248 2006-02-13  Wim Taymans  <wim@fluendo.com>
17249
17250         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17251         (event_probe), (GST_START_TEST):
17252         Only events up to the pipeline EOS are counted, there are
17253         some more when going to NULL currently which we don't care
17254         about for now.
17255
17256 2006-02-13  Wim Taymans  <wim@fluendo.com>
17257
17258         * gst/gstpad.c: (gst_pad_send_event):
17259         Correctly check flushing and emit probes. fixes #330125
17260
17261 2006-02-10  Andy Wingo  <wingo@pobox.com>
17262
17263         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17264         structure.
17265         (gst_bus_init): Cache the location of the private data in the
17266         instance structure.
17267         (gst_bus_enable_sync_message_emission) 
17268         (gst_bus_disable_sync_message_emission): Implement new public
17269         functions.
17270         (gst_bus_post): Emit the sync-message signal if the user asked for
17271         it. Fixes #330684.
17272
17273         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17274         location of the bus-private structure.
17275         (gst_bus_enable_sync_message_emission)
17276         (gst_bus_disable_sync_message_emission): API addition
17277
17278 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17279
17280         Patch by: Vincent Torri
17281
17282         * docs/pwg/building-boiler.xml:
17283         PWG patch from #326800
17284
17285 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17286
17287         * configure.ac:
17288         * docs/Makefile.am:
17289         * docs/design/Makefile.am:
17290           Dist design docs.
17291
17292 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17293
17294         * configure.ac:
17295           back to CVS
17296
17297 === release 0.10.3 ===
17298
17299 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17300
17301         * configure.ac:
17302           releasing 0.10.3, "Like a virgin"
17303
17304 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17305
17306         * configure.ac:
17307           2nd prerelease of 0.10.3
17308           Bump libtool versioning.
17309
17310 2006-02-07  Andy Wingo  <wingo@pobox.com>
17311
17312         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17313         update last_stop if we're in TIME format and the timestamp is
17314         valid.
17315
17316         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17317         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17318         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17319         If we get a new newsegment with a different format, adapt
17320         accordingly.
17321
17322         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17323         of 0. Not a problem, really.
17324
17325         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17326         warn if sync=true.
17327
17328 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17329
17330         * configure.ac:
17331           Prelease of 0.10.3
17332
17333 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17334
17335         * win32/vs7:
17336           project files updated to the default vs7 configuration
17337         * win32/common/libgstbase.def:
17338         * win32/common/libgstreamer.def:
17339           added new symbols,
17340           removed empty lines,
17341           sorted all exported symbols alphabetically
17342         * win32/common/dirent.c:
17343         * win32/common/dirent.h:
17344         * win32/common/gchar.h:
17345           use windows line end.
17346           
17347 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17348
17349         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17350           Send EOS event when stopping.
17351
17352 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17353
17354         * docs/README:
17355           Tell folks what to do if the plugin-foobar.xml file
17356           hasn't been generated for a newly-added plugin.
17357
17358 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17359
17360         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17361         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17362         (gst_collect_pads_start), (gst_collect_pads_stop),
17363         (gst_collect_pads_event): Collectpads now holds a reference
17364         to the GstPad that was added. Indeed we don't want to look
17365         at pads that might just go away with no warning...
17366
17367 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17368
17369         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17370         (gst_collect_pads_start), (gst_collect_pads_stop),
17371         (gst_collect_pads_event), (gst_collect_pads_chain):
17372         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17373         Mark Nauwelaerts's patch on bug #328491.
17374
17375 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17376
17377         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17378         (gst_utils_suite):
17379           Add some simple tests for gst_parse_bin_from_description() and
17380           gst_bin_find_unconnected_pad() (#329069).
17381
17382 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17383
17384         * tools/gst-launch.c: (event_loop), (main):
17385           Catch errors during preroll (#320084).
17386
17387 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17388
17389         * plugins/elements/gsttypefindelement.c:
17390         (gst_type_find_element_activate):
17391           Post TYPE_NOT_FOUND error message when typefinding
17392           is unsuccessful in the activate function as well.
17393
17394 2006-02-02  Wim Taymans  <wim@fluendo.com>
17395
17396         * docs/design/part-element-sink.txt:
17397         Updated doc.
17398
17399 2006-02-02  Wim Taymans  <wim@fluendo.com>
17400
17401         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17402         (gst_base_sink_render_object),
17403         (gst_base_sink_queue_object_unlocked):
17404         Only keep track of prerollable items when we are 
17405         prerolling.
17406         Before rendering after preroll, always check if we
17407         have queued items.
17408         Added some more debugging.
17409
17410 2006-02-02  Wim Taymans  <wim@fluendo.com>
17411
17412         * gst/gstelement.c: (gst_element_continue_state),
17413         (gst_element_set_state_func), (gst_element_change_state):
17414         Fixed #326576, been running this for quite some time with
17415         no regressions at all.
17416
17417 2006-02-02  Wim Taymans  <wim@fluendo.com>
17418
17419         * common/gst.supp:
17420         Added more suppressions
17421
17422 2006-02-02  Wim Taymans  <wim@fluendo.com>
17423
17424         * docs/design/part-element-sink.txt:
17425         Updated document.
17426
17427         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17428         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17429         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17430         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17431         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17432         (gst_base_sink_preroll_object),
17433         (gst_base_sink_queue_object_unlocked),
17434         (gst_base_sink_queue_object), (gst_base_sink_event),
17435         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17436         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17437         (gst_base_sink_get_position), (gst_base_sink_change_state):
17438         * libs/gst/base/gstbasesink.h:
17439         Totally refactored matching the design doc.
17440         Use two segments, one to clip incomming buffers and another to
17441         perform sync.
17442         Handle queueing correctly, bypass the queue when playing.
17443         Make EOS cancelable.
17444         Handle errors correctly when operating in pull based mode.
17445
17446         * tests/check/elements/fakesink.c: (GST_START_TEST),
17447         (fakesink_suite):
17448         Added new check for sinks.
17449
17450 2006-02-02  Wim Taymans  <wim@fluendo.com>
17451
17452         * gst/gstsegment.c: (gst_segment_clip):
17453         No reason to refuse to clip when start == -1
17454
17455 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17456
17457         * docs/README:
17458         * docs/manual/intro-basics.xml:
17459         * docs/manual/intro-preface.xml:
17460         * docs/manual/manual.xml:
17461         * docs/pwg/advanced-dparams.xml:
17462         * docs/pwg/intro-basics.xml:
17463         * docs/pwg/intro-preface.xml:
17464         * docs/pwg/pwg.xml:
17465           describe dparams (controller) for plugins
17466           unify docs a little more
17467
17468 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17469
17470         * docs/gst/gstreamer-sections.txt:
17471         * gst/gstutils.c: (element_find_unconnected_pad),
17472         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17473         * gst/gstutils.h:
17474           Add new API: gst_parse_bin_from_description() and
17475           gst_bin_find_unconnected_pad() (#329069).
17476
17477 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17478
17479         * docs/manual/README:
17480           uncover a nasty detail of the docs build
17481
17482 2006-01-31  Wim Taymans  <wim@fluendo.com>
17483
17484         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17485         Don't cache duration messages if we're not going to use or
17486         free them.
17487
17488 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17489
17490         * docs/manual/advanced-dparams.xml:
17491         * docs/pwg/advanced-dparams.xml:
17492           more dparam docs
17493         * gst/gstindex.c:
17494           fix docs
17495         * libs/gst/controller/lib.c: (gst_controller_init):
17496           init just once
17497
17498 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17499
17500         * gst/gstelement.c: (gst_element_message_full):
17501           also show file/line/func if no additional debug was given
17502
17503 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17504         
17505         * win32/vs7/grammar.vcproj:
17506           activate copy of autogenerated files for Release mode
17507
17508 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17509         
17510         * win32/common/libgstreamer.def:
17511           export gst_value_compare
17512
17513 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17514
17515         * plugins/elements/Makefile.am:
17516         * plugins/elements/gstelements.c:
17517         * plugins/elements/gstfdsink.c: (_do_init),
17518         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17519         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17520         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17521         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17522         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17523         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17524         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17525         * plugins/elements/gstfdsink.h:
17526         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17527
17528 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17529
17530         * docs/manual/advanced-dparams.xml:
17531           describe controller
17532         * docs/manual/advanced-position.xml:
17533         * docs/manual/basics-init.xml:
17534         * docs/manual/manual.xml:
17535         * docs/manual/titlepage.xml:
17536         * docs/pwg/pwg.xml:
17537         * docs/pwg/titlepage.xml:
17538           cleanup xml (more to come)
17539         * libs/gst/controller/gstcontroller.c:
17540           fix typo
17541
17542 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17543         
17544         * win32/vs6/grammar.dsp:
17545           add autogen of gstmarshal.c,h for Release mode
17546                 
17547 2006-01-30  Wim Taymans  <wim@fluendo.com>
17548
17549         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17550         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17551         (gst_base_sink_handle_object), (gst_base_sink_event),
17552         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17553         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17554         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17555         (gst_base_sink_deactivate), (gst_base_sink_activate),
17556         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17557         (gst_base_sink_query), (gst_base_sink_change_state):
17558         Basesink cleanups, remove some old code.
17559         Handle the case where a subclass can preroll in the render
17560         method (mostly audiosinks).
17561         Handle more events.
17562         Remove some locks around variables that are now protected
17563         with the PREROLL_LOCK (clock_id, flushing, ..).
17564         Optimize position query some more, do correct locking.
17565         Remove old code to push queue in state change, this is not
17566         needed anymore since preroll blocks on all prerollable items 
17567         now.
17568         Almost implemented as described in design doc.
17569
17570 2006-01-30  Wim Taymans  <wim@fluendo.com>
17571
17572         * tests/check/gst/gstbin.c: (GST_START_TEST):
17573         Wait for refcount to settle down before checking.
17574
17575 2006-01-30  Wim Taymans  <wim@fluendo.com>
17576
17577         * docs/design/part-element-sink.txt:
17578         Pseudo code overview of desired sink behaviour regarding
17579         preroll.
17580
17581 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17582         * win32/vs6/grammar.dsp:
17583           fix some bugs in Release mode for autogenerated files
17584                 
17585 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17586         * win32/common/libgstbase.def:
17587         * win32/common/libgstreamer.def:
17588           export some new symbols: gst_base_src_set_format,
17589           gst_iterator_next, gst_structure_set_valist
17590
17591 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17592
17593         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17594         Set pad functions unconditionally. Fixes #329105.
17595
17596 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17597         * win32/vs8:
17598           add vs8 project files created by Sergey Scobich
17599
17600 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17601
17602         * gst/gstutils.c: (gst_element_unlink_pads):
17603         Don't leak pad references.
17604
17605         * tests/check/elements/fakesink.c: (GST_START_TEST):
17606         * tests/check/generic/sinks.c: (GST_START_TEST):
17607         * tests/check/generic/states.c: (GST_START_TEST):
17608         * tests/check/gst/gstbin.c: (GST_START_TEST):
17609         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17610         * tests/check/gst/gstelement.c: (GST_START_TEST):
17611         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17612         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17613         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17614         Fix a bunch of leaks. Make generic/sinks.c
17615         use a bit less cpu by slowing the buffer rate
17616         between fakesrc and fakesink.
17617         
17618 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17619         * gst/gstcaps.c:
17620         * gst/gstelement.c: (gst_element_send_event):
17621         * gst/gstevent.c:
17622         * gst/gstinfo.c:
17623         * gst/gstiterator.c:
17624         * gst/gstiterator.h:
17625         * gst/gstpad.c: (gst_pad_send_event):
17626         * gst/gststructure.c:
17627         * gst/gsturi.c:
17628         * gst/gstutils.c:
17629         * gst/gstvalue.c:
17630         * libs/gst/base/gstadapter.c:
17631           doc fixes, to link to function, just write gst_cool_function(), don't
17632           prefix with '#'
17633
17634 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17635
17636         * plugins/elements/gsttee.c: (gst_tee_do_push),
17637         (gst_tee_handle_buffer):
17638         Always prefer an actual return value from a src
17639         pad in place of NOT_LINKED. This means we return
17640         WRONG_STATE when all src pads are WRONG_STATE
17641         instead of NOT_LINKED.
17642
17643         Lock when replacing the last message to prevent
17644         racing with the get_property method.
17645
17646         Add debug output
17647
17648 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17649
17650         * tests/check/Makefile.am:
17651         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17652         (main):
17653         Add a very simple check that should have caught the memleak I fixed
17654         last night (if not for the slice allocator hiding it)
17655
17656 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17657
17658         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17659         (gst_bin_remove_func), (gst_bin_handle_message_func),
17660         (bin_query_duration_fold), (bin_query_generic_fold):
17661         Clean up references to the clock provider when disposed or when
17662         handling a clock-lost message from it.
17663
17664         Unref sinks when performing a query via gst_iterator_fold, as the
17665         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17666
17667         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17668         (gst_clock_set_master):
17669         Drop our reference to the master clock, if any, when we are disposed.
17670
17671         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17672         Chain up in dispose. 
17673
17674 2006-01-26  Wim Taymans  <wim@fluendo.com>
17675
17676         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17677         Add some debugging.
17678
17679 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17680
17681         * plugins/elements/gsttee.c: (gst_tee_do_push),
17682         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17683         handles pad being NOT_LINKED or in WRONG_STATE.
17684
17685 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17686
17687         * win32/MANIFEST:
17688           more updating
17689
17690 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17691
17692         * win32/MANIFEST:
17693           remove obsolete entry
17694
17695 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17696
17697         * docs/gst/gstreamer-sections.txt:
17698         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17699         (gst_bin_iterate_sources), (gst_bin_send_event):
17700         * gst/gstbin.h:
17701         * gst/gstelement.c: (gst_element_send_event):
17702         * gst/gstevent.c:
17703         * gst/gstpad.c: (gst_pad_send_event):
17704           added code for downstream events, reviewed docs in gstevent.c
17705
17706 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17707
17708         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17709         We only query position using the clock in the playing state.
17710         Query peer in the other cases.
17711         * win32/common/config.h: Updates.
17712
17713 2006-01-24  Wim Taymans  <wim@fluendo.com>
17714
17715         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17716         A clock entry that is scheduled for the exact time of the
17717         clock is still in time.
17718
17719         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17720         (gst_base_sink_do_sync):
17721         Add some more debug info.
17722
17723 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17724
17725         * win32/vs7:
17726           Add new vs7 project files and solution.
17727
17728 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17729
17730         * win32/vs7:
17731           all files removed as they were out-dated.
17732
17733 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17734
17735         * docs/random/release:
17736           update notes
17737         * gst/gstbin.c: (gst_bin_init):
17738         * gst/gstbus.c: (gst_bus_new):
17739         * gst/gstbus.h:
17740         * gst/gstpipeline.c: (gst_pipeline_init):
17741           use gst_bus_new(), improve logging, fix docs
17742         * win32/common/config.h:
17743           update for cvs build
17744
17745 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17746
17747         * autogen.sh:
17748           up required version of automake to 1.7
17749
17750 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17751
17752         * win32/common/libgstreamer.def:
17753           export gst_buffer_is_metadata_writable
17754
17755 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17756
17757         * docs/gst/gstreamer-sections.txt:
17758         * gst/gstevent.h:
17759           Add gst_event_replace() (#327001)
17760
17761 2006-01-20  Wim Taymans  <wim@fluendo.com>
17762
17763         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17764         Make it actually compile too..
17765
17766 2006-01-20  Wim Taymans  <wim@fluendo.com>
17767
17768         * gst/gstcaps.c:
17769         Clarify behaviour of _is_equal() when passing NULL parameters.
17770
17771         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17772         (gst_pad_set_caps):
17773         Cleanups. Don't unref NULL caps.
17774         When setting the same caps, protect caps of the pad with
17775         proper lock.
17776         Use full functionality of _is_equal() when comparing caps.
17777
17778 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17779
17780         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17781         Don't loop infinitely if there are no buffers to present. Partially
17782         fixes #327197, but collectpads is just broken for reusing elements
17783         to do multiple encodes atm.
17784
17785 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17786
17787         * tools/gst-inspect.c: (print_element_features):
17788         * tools/gst-xmlinspect.c: (main):
17789         URL_HANDLER is not a plugin feature we can search for in
17790         the registry.
17791
17792 2006-01-19  Edward Hervey  <edward@fluendo.com>
17793
17794         * gst/gstelement.c: (gst_element_pads_activate): 
17795         When activating, do src pads first, then sink pads.
17796         When de-activating, do sink pads first, then src pads.
17797
17798 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17799
17800         * docs/gst/gstreamer-sections.txt:
17801         Add gst_index_add_associationv to the docs
17802
17803 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17804
17805         * gst/gstevent.c:
17806           Fix docs typo
17807
17808         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17809         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17810           Do some refactoring. Doesn't actually change functionality,
17811           but makes landing the DRAIN event easier later.
17812
17813 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17814
17815         * docs/pwg/advanced-scheduling.xml:
17816           Update from 0.9.x to 0.10 API and make example a bit
17817           clearer.
17818
17819 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17820
17821         * docs/gst/gstreamer-sections.txt:
17822         Add gst_buffer_(is|make)_metadata_writable methods.
17823
17824 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17825
17826         * docs/design/part-sparsestreams.txt:
17827         Update sparse streams doc, hopefully for greater clarity
17828
17829 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17830
17831         * docs/design/part-events.txt:
17832         Remove mention of FILLER events.
17833         Add DRAIN event.
17834
17835         * docs/design/part-sparsestreams.txt:
17836         Write some things about using NEWSEGMENT to keep sparse streams
17837         flowing.
17838
17839 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17840
17841         * gst/gstbin.c: (gst_bin_dispose):
17842           Guard gst_object_unref call against a NULL object (dispose
17843           can theoretically be called multiple times).
17844           
17845 2006-01-18  Wim Taymans  <wim@fluendo.com>
17846
17847         * gst/gstbin.c: (gst_bin_element_set_state):
17848         * gst/gstclock.c: (gst_clock_id_wait):
17849         Added some more debug info.
17850
17851         * libs/gst/base/gstadapter.c:
17852         Added more docs.
17853
17854         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17855         (gst_base_sink_do_sync), (gst_base_sink_chain):
17856         Added some comments.
17857
17858 2006-01-18  Wim Taymans  <wim@fluendo.com>
17859
17860         * tests/check/Makefile.am:
17861         * tests/check/elements/fakesink.c: (chain_async_buffer),
17862         (chain_async), (chain_async_return), (GST_START_TEST),
17863         (fakesink_suite), (main):
17864         Added fakesink test that checks prerolling and clipping
17865         behaviour.
17866
17867         * tests/check/gst/gstutils.c: (GST_START_TEST):
17868         Make check run faster so that buildbots don't timeout.
17869
17870 2006-01-18  Wim Taymans  <wim@fluendo.com>
17871
17872         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17873         (gst_base_sink_do_sync):
17874         Some cleanups.
17875         When the sink finishes blocking on the preroll buffer, it can
17876         immediatly render it instead of rendering when the next buffer
17877         arrives.
17878
17879 2006-01-18  Wim Taymans  <wim@fluendo.com>
17880
17881         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17882         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17883         (gst_base_sink_chain):
17884         Small cleanups.
17885         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17886         Don't store _last_stop if the buffer is dropped.
17887
17888 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17889
17890         * plugins/elements/gsttypefindelement.c:
17891         (gst_type_find_element_class_init):
17892           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17893           object method handler that sets the caps on the pad and we want
17894           that to happen before we emit the signal (fixes e.g. feeding a
17895           plain text file to decodebin).
17896
17897 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17898
17899         * gst/gstplugin.c: Add MPL and Proprietary as license options
17900
17901 2006-01-18  Andy Wingo  <wingo@pobox.com>
17902
17903         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17904         symbol was exported before, it appears this was just an oversight.
17905         Fixes #168703.
17906         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17907
17908         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17909         prototype to gint. OK since this prototype was not in the header.
17910
17911 2006-01-17  Andy Wingo  <wingo@pobox.com>
17912
17913         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17914         registry while we remove plugins.
17915
17916         * tools/gst-inspect.c (print_element_info): Don't unref the
17917         factory arg, that should be the responsibility of whatever code
17918         received the ref. Fixes a double-free when called from
17919         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17920         (main): Unref the factory if we have one.
17921         (print_element_list): No change -- relies on the
17922         plugin_feature_list_free to free the list of features.
17923
17924 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17925
17926         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17927         (gst_buffer_make_metadata_writable):
17928         * gst/gstbuffer.h:
17929         * libs/gst/base/gstbasetransform.c:
17930         (gst_base_transform_prepare_output_buf):
17931         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17932         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17933           Replace gst_buffer_(make|is)_metadata_writable patch now
17934           that the release is out.
17935
17936 2006-01-17  Andy Wingo  <wingo@pobox.com>
17937
17938         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17939         in the present tense without reference to versions.
17940
17941         * gst/gstregistry.c (gst_registry_add_plugin)
17942         (gst_registry_remove_plugin, gst_registry_remove_feature)
17943         (gst_registry_find_feature, gst_registry_get_feature_list)
17944         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17945         (gst_registry_lookup, gst_registry_scan_path)
17946         (_gst_registry_remove_cache_plugins)
17947         (gst_registry_get_feature_list_by_plugin): Add argument
17948         validation.
17949
17950 === release 0.10.2 ===
17951
17952 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17953
17954         * configure.ac:
17955           releasing 0.10.2, "If man is five"
17956
17957 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17958
17959         * gst/gstbuffer.c:
17960         * gst/gstbuffer.h:
17961         * libs/gst/base/gstbasetransform.c:
17962         (gst_base_transform_prepare_output_buf):
17963         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17964         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17965           Back out patch until after the release.
17966
17967 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17968
17969         * gst/gstminiobject.c:
17970           Spelling fix in docs.
17971         * ChangeLog - remove conflict indicator
17972
17973 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17974
17975         Reviewed By: Andy Wingo
17976
17977         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17978         (gst_buffer_make_metadata_writable):
17979         * gst/gstbuffer.h:
17980           Add gst_buffer_(is|make)_metadata_writable as analogues of
17981           gst_buffer_(is|make)_writable.
17982
17983         * libs/gst/base/gstbasetransform.c:
17984         (gst_base_transform_prepare_output_buf):
17985         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17986           Use name gst_buffer_(is|make)_metadata_writable functions.
17987
17988         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17989           Test gst_buffer_(is|make)_metadata_writable
17990         
17991           (Closes: #324162)
17992
17993 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17994
17995         * docs/manual/Makefile.am:
17996           don't do parallel make
17997         * configure.ac:
17998           AC_SUBST HOST_CPU
17999         * win32/common/config.h.in:
18000           add generations for HOST_CPU and GST_MAJORMINOR
18001         * win32/common/config.h:
18002           commit generated result
18003
18004 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18005
18006         * docs/manual/appendix-integration.xml:
18007           Update GNOME integration section to use gst_init_get_option_group()
18008           instead of the old popt stuff (#322911). Also, GNOME applications
18009           should  now use gconf*sink and gconf*src instead of the old gconf
18010           helper lib we had.
18011
18012 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18013
18014
18015         * docs/gst/gstreamer-docs.sgml:
18016         * docs/gst/gstreamer-sections.txt:
18017         * docs/libs/gstreamer-libs-sections.txt:
18018           add new API entries to the docs
18019         * libs/gst/controller/Makefile.am:
18020         * libs/gst/controller/gstcontroller.c:
18021         * libs/gst/controller/gstcontroller.h:
18022         * libs/gst/controller/gstcontrollerprivate.h:
18023         * libs/gst/controller/gsthelper.c:
18024         * libs/gst/controller/gstinterpolation.c:
18025           move private structs to private header
18026         * po/README:
18027           gstreamer-0.7 -> gstreamer-0.10
18028         * tests/check/libs/struct_i386.h:
18029           remove private structs
18030
18031 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18032
18033         * plugins/indexers/Makefile.am:
18034           Fixes as part of #317048
18035
18036 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18037
18038         * plugins/indexers/Makefile.am:
18039           fix #316086 - compilation when mmap is missing
18040
18041 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18042
18043         * libs/gst/base/gstbasesink.c:
18044           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18045           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18046         * win32/common/config.h:
18047           added some defines GST_MAJORMINOR and HOST_CPU
18048         * win32/common/libgstbase.def:
18049         * win32/common/libgstreamer.def:
18050           added some exported functions.
18051
18052 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18053
18054         * libs/gst/controller/gstcontroller.c:
18055         (gst_controlled_property_set_interpolation_mode),
18056         (gst_controlled_property_new):
18057         * libs/gst/controller/gstcontroller.h:
18058         * libs/gst/controller/gstinterpolation.c:
18059         (interpolate_none_get_string_value_array):
18060           make G_TYPE_STRING controlable
18061
18062 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18063
18064         * tools/README:
18065         * tools/gst-feedback.1.in:
18066         * tools/gst-inspect.1.in:
18067         * tools/gst-launch.1.in:
18068         * tools/gst-md5sum.1.in:
18069         * tools/gst-typefind.1.in:
18070         * tools/gst-xmlinspect.1.in:
18071         * tools/gst-xmllaunch.1.in:
18072           cleanup man-pages, remove reference to gst-register, document env-vars
18073
18074 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18075
18076         * gst/gstbuffer.c: (gst_buffer_span):
18077           gst_buffer_span should copy the timestamp of the first buffer
18078           if they were both originally overlapping subbuffers of the 
18079           same parent, using the same logic as the 'slow copy' case.
18080
18081 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18082
18083         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18084           Need to awaken ALL the pads when we pop a buffer, otherwise
18085           collectpads only works when there is 2 input streams.
18086
18087 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18088
18089         * docs/random/ensonic/media-device-daemon.txt:
18090           more ideas (dbus)
18091         * gst/gstbuffer.c:
18092           fix doc example, add clarification
18093         * tools/gst-launch.1.in:
18094           add initial info about GST_PLUGIN_PATH, needs more work
18095
18096 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18097
18098         * docs/manual/basics-bins.xml:
18099         * docs/manual/basics-elements.xml:
18100         * docs/manual/intro-basics.xml:
18101           Some more minor docs additions and updates.
18102
18103 2006-01-11  Wim Taymans  <wim@fluendo.com>
18104
18105         * docs/manual/basics-bins.xml:
18106         * docs/manual/basics-elements.xml:
18107         Some small fixes as pointed out by Ser-ver on IRC.
18108
18109 2006-01-10  Edward Hervey  <edward@fluendo.com>
18110
18111         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18112         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18113         the single-segment mode.
18114
18115 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18116
18117         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18118
18119         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18120         (gst_base_src_perform_seek), (gst_base_src_send_event),
18121         (gst_base_src_set_property), (gst_base_src_get_property),
18122         (gst_base_src_loop), (gst_base_src_start),
18123         (gst_base_src_activate_push):
18124         * libs/gst/base/gstbasesrc.h:
18125           Name (private) union; makes Sun's Forte compiler happy (#324900).
18126
18127 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18128
18129         * README:
18130           gst-register is gone.
18131
18132 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18133
18134         * gst/gstvalue.c: (_gst_value_initialize):
18135           make the G_TYPE_DATE instantiation work if debug is disabled
18136
18137 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18138
18139         * gst/gstmessage.c: (gst_message_parse_tag),
18140         (gst_message_parse_error), (gst_message_parse_warning):
18141           Don't crash when return location for error/warning debug
18142           string is NULL; add fact that return locations can be
18143           NULL to docs where appropriate.
18144
18145 2006-01-05  Wim Taymans  <wim@fluendo.com>
18146
18147         * gst/gstplugin.c: (gst_plugin_load_file):
18148         Replace strdup by g_strdup.
18149
18150 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18151
18152         * docs/pwg/advanced-types.xml:
18153           fix doc borkage
18154
18155 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18156
18157         submitted by: Abel Cheung
18158
18159         * po/LINGUAS:
18160         * po/zh_TW.po:
18161           Added Chinese (traditional) translation
18162
18163 2006-01-04  Wim Taymans  <wim@fluendo.com>
18164
18165         * docs/manual/basics-pads.xml:
18166         * docs/plugins/Makefile.am:
18167         * docs/plugins/gstreamer-plugins-docs.sgml:
18168         * docs/plugins/gstreamer-plugins-sections.txt:
18169         * docs/pwg/advanced-clock.xml:
18170         * docs/pwg/advanced-scheduling.xml:
18171         * docs/pwg/advanced-types.xml:
18172         * plugins/elements/gstfdsink.c:
18173         * plugins/elements/gstfdsrc.c:
18174         * plugins/elements/gstfdsrc.h:
18175         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18176         * plugins/elements/gstidentity.h:
18177         * plugins/elements/gstqueue.h:
18178         * plugins/elements/gsttee.c:
18179         * plugins/elements/gsttee.h:
18180         * plugins/elements/gsttypefindelement.c:
18181         (gst_type_find_element_class_init):
18182         * plugins/elements/gsttypefindelement.h:
18183         Small updates to various docs.
18184         Added core plugins to docs.
18185
18186 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18187
18188         * common/gst.supp:
18189           add a suppression for liboil's uninitialized variable
18190
18191 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18192
18193         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18194
18195         * gst/gstutils.h:
18196           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18197           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18198           compiler switch is being used (#325429).
18199
18200 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18201
18202         * gst/gstbin.c: (gst_bin_query):
18203           Disable duration query caching in bins until it gets
18204           fixed (see #324807).
18205
18206 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18207
18208         * tools/gst-inspect.c: (print_element_properties_info):
18209           Handle properties of POINTER and BOXED type.
18210
18211 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18212
18213         * gst/gst.c: (init_post):
18214           Init tags stuff and some other things before loading
18215           any static plugins (there may be other static plugins
18216           than just the GStreamer ones, and they may want to
18217           register their own tags or formats or whatever, and
18218           preferably without segfaulting).
18219
18220         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18221           Print at least a warning in the debug logs if we drop a
18222           query just because we don't know how to adjust the value
18223           in the particular format.
18224
18225 2005-12-24  David Schleef  <ds@schleef.org>
18226
18227         * tools/gstreamer-completion:
18228           Replacement for gst-complete written in sh and sed.  Only
18229           completes names of features, but that's 90% of what I want
18230           it for.  Properties are not available in registry.xml.  (Maybe
18231           they should be...)
18232
18233 === release 0.10.1 ===
18234
18235 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18236
18237         * configure.ac:
18238           releasing 0.10.1, "Nollaig chridheil"
18239
18240 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18241
18242         * docs/faq/cvs.xml:
18243           Add missing quote, should be make ERROR_CFLAGS="".
18244
18245 2005-12-20  Wim Taymans  <wim@fluendo.com>
18246
18247         * docs/design/part-trickmodes.txt:
18248         More documentation on trickmodes.
18249
18250 2005-12-20  Edward Hervey  <edward@fluendo.com>
18251
18252         * gst/gstcaps.c: (gst_static_caps_get_type):
18253         * gst/gstcaps.h:
18254           API addition: GST_TYPE_STATIC_CAPS
18255         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18256         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18257         * gst/gstpadtemplate.h:
18258           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18259         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18260         bindings.
18261
18262 2005-12-18  Wim Taymans  <wim@fluendo.com>
18263
18264         * libs/gst/base/gstadapter.c:
18265         * libs/gst/base/gstadapter.h:
18266         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18267         (gst_base_sink_get_position):
18268         * libs/gst/base/gstbasesink.h:
18269         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18270         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18271         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18272         (gst_base_src_send_event), (gst_base_src_update_length),
18273         (gst_base_src_get_range), (gst_base_src_loop),
18274         (gst_base_src_start):
18275         * libs/gst/base/gstbasesrc.h:
18276         * libs/gst/base/gstbasetransform.h:
18277         * libs/gst/base/gstcollectpads.h:
18278         * libs/gst/base/gstpushsrc.c:
18279         * libs/gst/base/gstpushsrc.h:
18280         * libs/gst/dataprotocol/dataprotocol.c:
18281         * libs/gst/dataprotocol/dataprotocol.h:
18282         * libs/gst/net/gstnetclientclock.h:
18283         * libs/gst/net/gstnettimeprovider.h:
18284         Documentation updates.
18285
18286 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18287
18288         * docs/manual/basics-helloworld.xml:
18289           Remove superfluous closing bracket in helloworld example.
18290
18291 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18292
18293         * tools/gst-launch.1.in:
18294           Update gst-launch man page; add a section with useful
18295           environment variables. Fixes #323882.
18296
18297 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18298
18299         * gst/gst.c:
18300         * gst/gst_private.h:
18301           change some char* into char[]
18302
18303 2005-12-16  Wim Taymans  <wim@fluendo.com>
18304
18305         * gst/gstregistryxml.c: (load_feature):
18306         Cleanups.
18307         Don't use g_object_unref on GstObjects so that we avoid
18308         leaks on unsafe glibs.
18309
18310 2005-12-16  Wim Taymans  <wim@fluendo.com>
18311
18312         * gst/gstbin.c: (gst_bin_recalc_state):
18313         Small doc updates.
18314
18315 2005-12-16  Wim Taymans  <wim@fluendo.com>
18316
18317         * common/check.mak:
18318         Added make forever target for check.
18319
18320 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18321
18322         * gst/gst.c: (init_post):
18323           make the registry cache file HOST_CPU-dependent
18324
18325 2005-12-16  Andy Wingo  <wingo@pobox.com>
18326
18327         * plugins/elements/gstbufferstore.c
18328         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18329         return value.
18330
18331         * tests/check/gst/gstobject.c
18332         (test_fake_object_name_threaded_unique): Pay attention to
18333         g_list_sort return value.
18334
18335 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18336
18337         * tools/gst-feedback-m.m:
18338           Update for 0.9/0.10 (fixes #323870).
18339
18340 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18341
18342         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18343           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18344           
18345         * tests/check/gst/gstminiobject.c: (my_foo_init),
18346         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18347         (test_value_collection), (gst_mini_object_suite):
18348           Add test to ensure refcounts end up as expected when passing
18349           GstMiniObjects through g_object_get() and g_object_set().
18350
18351 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18352
18353         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18354         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18355         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18356         of collectpads. This version removes a lot of races without
18357         touching API/ABI. Yay !
18358
18359 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18360
18361         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18362           Don't allow activation of a srcpad in pull_range if it has no
18363           getrange function.
18364           Change some debug statements to be a little clearer
18365
18366         * plugins/elements/gsttypefindelement.c:
18367         (gst_type_find_handle_src_query):
18368           Check that we have a peer before executing queries thereupon.
18369
18370         * tests/examples/metadata/read-metadata.c: (message_loop):
18371           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18372           immediately return us any available message with 0 timeout.
18373
18374 2005-12-12  Michael Smith  <msmith@fluendo.com>
18375
18376         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18377           Don't unref factories after calling them.
18378         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18379         * plugins/elements/gsttypefindelement.c:
18380         (gst_type_find_element_chain):
18381           Free lists of factories after using them. Fixing typefinding memory
18382           leaks.
18383
18384 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18385
18386         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18387         (gst_plugin_feature_load):
18388           more meaningful debug output
18389         * configure.ac:
18390         * tests/Makefile.am:
18391         * tests/old/examples/Makefile.am:
18392           make make distcheck happy again
18393
18394 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18395
18396         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18397           Catch the special case where we are operating chain-based,
18398           but the downstream peer pad has no chain function. Emit a
18399           custom error message in this case instead of letting the
18400           core generate one implying that this is some sort of core
18401           bug. It's not, it just means that whatever got plugged
18402           into the pipeline downstream when we announced the type
18403           can only operate pull-based, while our source can only
18404           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18405           Error string has not been marked for translation yet, as
18406           it probably needs some more work first.
18407
18408         (gst_type_find_element_get_best_possibility):
18409           Add helper function to find the best of all available
18410           found possibilities that qualify given the min. threshold.
18411
18412         (gst_type_find_element_handle_event):
18413           Fix the case where we get an EOS while still in TYPEFIND
18414           mode (we want to chose the best of all possible types,
18415           not just the first type that happens to be in our unsorted
18416           list of possible types).
18417
18418         (gst_type_find_element_chain):
18419           Make sure we return GST_FLOW_ERROR when we errored out
18420           in stop_typefinding(); also, don't just find the best of
18421           all found type entries and then use the last examined
18422           type entry, but actually use the best entry.
18423
18424 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18425
18426         * tests/examples/typefind/typefind.c: (type_found):
18427         * tests/examples/xml/runxml.c: (xml_loaded):
18428           More gcc4 fixes and a mem leak fix.
18429
18430 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18431
18432         * tests/examples/xml/createxml.c: (object_saved):
18433           gcc 4 fixes
18434
18435 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18436
18437         * tests/Makefile.am:
18438           enable the examples even more
18439
18440 2005-12-12  Andy Wingo  <wingo@pobox.com>
18441
18442         * libs/gst/net/gstnettimeprovider.c
18443         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18444         (gst_net_time_provider_set_property)
18445         (gst_net_time_provider_get_property):
18446         API addition: Export "active" as a GObject property.
18447         (gst_net_time_provider_thread): Only respond to time queries if
18448         the time provider is active.
18449
18450         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18451         NetTimeProvider, preserving binary compat.
18452
18453 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18454
18455         * tests/examples/controller/audio-example.c: (main):
18456         * tests/examples/launch/Makefile.am:
18457           convert comments again
18458
18459 2005-12-12  Wim Taymans  <wim@fluendo.com>
18460
18461         * libs/gst/base/gstpushsrc.c:
18462         Fix typo.
18463
18464 2005-12-12  Wim Taymans  <wim@fluendo.com>
18465
18466         * docs/libs/gstreamer-libs-sections.txt:
18467         Added new symbol to docs.
18468
18469         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18470         (gst_base_src_init), (gst_base_src_set_format),
18471         (gst_base_src_default_query), (gst_base_src_query),
18472         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18473         (gst_base_src_perform_seek), (gst_base_src_send_event),
18474         (gst_base_src_default_event), (gst_base_src_event_handler),
18475         (gst_base_src_set_property), (gst_base_src_get_property),
18476         (gst_base_src_wait), (gst_base_src_do_sync),
18477         (gst_base_src_update_length), (gst_base_src_get_range),
18478         (gst_base_src_check_get_range), (gst_base_src_loop),
18479         (gst_base_src_default_negotiate), (gst_base_src_start),
18480         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18481         (gst_base_src_change_state):
18482         * libs/gst/base/gstbasesrc.h:
18483         Implement seeking to other formats than _BYTES.
18484         Implement more seeking methods correctly.
18485         Doc updates.
18486         Added query vmethod.
18487         Added do_seek vmethod to make life easier for subclasses
18488         when seeking.
18489         API addition: gst_base_src_set_format()
18490
18491 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18492
18493         * tests/examples/Makefile.am:
18494           added that too
18495
18496 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18497
18498         * configure.ac:
18499         * docs/random/ensonic/media-device-daemon.txt:
18500         * tests/examples/controller/.cvsignore:
18501         * tests/examples/controller/Makefile.am:
18502         * tests/examples/controller/audio-example.c: (main):
18503         * tests/examples/helloworld/.cvsignore:
18504         * tests/examples/helloworld/Makefile.am:
18505         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18506         * tests/examples/launch/.cvsignore:
18507         * tests/examples/launch/Makefile.am:
18508         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18509         * tests/examples/metadata/.cvsignore:
18510         * tests/examples/metadata/Makefile.am:
18511         * tests/examples/metadata/read-metadata.c: (message_loop),
18512         (make_pipeline), (print_tag), (main):
18513         * tests/examples/queue/.cvsignore:
18514         * tests/examples/queue/Makefile.am:
18515         * tests/examples/queue/queue.c: (event_loop), (main):
18516         * tests/examples/typefind/.cvsignore:
18517         * tests/examples/typefind/Makefile.am:
18518         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18519         (main):
18520         * tests/examples/xml/.cvsignore:
18521         * tests/examples/xml/Makefile.am:
18522         * tests/examples/xml/createxml.c: (object_saved), (main):
18523         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18524         * tests/old/examples/Makefile.am:
18525         * tests/old/examples/TODO:
18526         * tests/old/examples/controller/.cvsignore:
18527         * tests/old/examples/controller/Makefile.am:
18528         * tests/old/examples/controller/audio-example.c:
18529         * tests/old/examples/helloworld/.cvsignore:
18530         * tests/old/examples/helloworld/Makefile.am:
18531         * tests/old/examples/helloworld/helloworld.c:
18532         * tests/old/examples/launch/.cvsignore:
18533         * tests/old/examples/launch/Makefile.am:
18534         * tests/old/examples/launch/mp3parselaunch.c:
18535         * tests/old/examples/launch/mp3play:
18536         * tests/old/examples/manual/Makefile.am:
18537         * tests/old/examples/metadata/Makefile.am:
18538         * tests/old/examples/metadata/read-metadata.c:
18539         * tests/old/examples/queue/.cvsignore:
18540         * tests/old/examples/queue/Makefile.am:
18541         * tests/old/examples/queue/queue.c:
18542         * tests/old/examples/typefind/.cvsignore:
18543         * tests/old/examples/typefind/Makefile.am:
18544         * tests/old/examples/typefind/typefind.c:
18545         * tests/old/examples/xml/.cvsignore:
18546         * tests/old/examples/xml/Makefile.am:
18547         * tests/old/examples/xml/createxml.c:
18548         * tests/old/examples/xml/runxml.c:
18549           applied some simple fixing to some examples
18550           re-enabled the working examples
18551
18552 2005-12-12  Wim Taymans  <wim@fluendo.com>
18553
18554         * gst/gstsegment.c: (gst_segment_init),
18555         (gst_segment_set_last_stop), (gst_segment_set_seek),
18556         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18557         (gst_segment_to_running_time):
18558         Added more documentation.
18559         Make sure the last_pos value is updated properly.
18560         Make sure to_stream_time and to_running_time don't
18561         operate on wrong values.
18562
18563         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18564         Update check.
18565
18566 2005-12-12  Michael Smith  <msmith@fluendo.com>
18567
18568         * plugins/elements/gsttypefindelement.c: (free_entry),
18569         (gst_type_find_element_chain):
18570           Now that we're not leaking factories, make sure we keep references
18571           to them while we need them.
18572
18573 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18574
18575         * tests/check/gst/struct_i386.h:
18576           ifdef out the XML structs
18577
18578 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18579
18580         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18581           floor is not needed, F is always positive; this obviates the
18582           need for adding -lm when building without libxml
18583
18584 2005-12-12  Wim Taymans  <wim@fluendo.com>
18585
18586         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18587         Take current playback rate into account when reporting
18588         the position.
18589
18590 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18591
18592         * docs/manual/mime-world.fig:
18593           Let's try this again, this time with a file that is
18594           actually in XFig format.
18595
18596 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18597
18598         * docs/manual/mime-world.fig:
18599           Add audioconvert element to diagram so that it
18600           matches the text and the code (fixes #319526).
18601
18602 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18603
18604         * docs/pwg/building-chainfn.xml:
18605         * docs/pwg/building-pads.xml:
18606         * docs/pwg/building-state.xml:
18607         * docs/pwg/other-source.xml:
18608           Update state change stuff for 0.10 (fixes #322969).
18609
18610 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18611
18612         * docs/manual/advanced-dataaccess.xml:
18613         * docs/manual/appendix-checklist.xml:
18614         * docs/manual/appendix-programs.xml:
18615         * docs/manual/basics-pads.xml:
18616         * docs/manual/highlevel-components.xml:
18617         * docs/manual/manual.xml:
18618           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18619           add converters in front of pipelines; remove curly
18620           brackets for threads stuff, they no longer exist; use
18621           GST_TYPE_FRACTION for framerates; update some pieces of
18622           code to 0.10, but there's plenty more to do.
18623
18624         * docs/manual/appendix-porting.xml:
18625           Expand on asynchroneous state changes; s/0.9/0.10/;
18626           mention disappearance of gst_init_get_popt_table()
18627           (fixes #322916).
18628
18629 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18630
18631         * docs/faq/using.xml:
18632           Spider no longer exists, and neither does gst-launch-ext.
18633           Update examples to use decodebin and playbin and put
18634           converters in front of sinks (fixes #323726).
18635
18636 2005-12-09  Michael Smith  <msmith@fluendo.com>
18637
18638         * plugins/elements/gsttypefindelement.c: (find_peek),
18639         (gst_type_find_element_chain):
18640           Fix leaking element factories in typefinding.
18641           Fix problem where we forgot about a probable type on non-seekable
18642           files, and thus later mis-typefound it.
18643
18644 2005-12-09  Michael Smith  <msmith@fluendo.com>
18645
18646         * common/m4/gst-makecontext.m4:
18647         * common/m4/gst-mcsc.m4:
18648         * configure.ac:
18649         * win32/common/config.h:
18650         * win32/common/config.h.in:
18651           Remove makecontext stuff; not used in 0.10 and causes problems on
18652           HPUX according to bug #322441
18653
18654 2005-12-07  Wim Taymans  <wim@fluendo.com>
18655
18656         * tests/check/Makefile.am:
18657         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18658         (main):
18659         * tests/check/libs/struct_i386.h:
18660         Added ABI check for libs
18661
18662 2005-12-07  Wim Taymans  <wim@fluendo.com>
18663
18664         * tests/check/Makefile.am:
18665         And add the struct_i386.h to dist.
18666
18667 2005-12-07  Wim Taymans  <wim@fluendo.com>
18668
18669         * tests/check/Makefile.am:
18670         * tests/check/gst/.cvsignore:
18671         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18672         (main):
18673         * tests/check/gst/struct_i386.h:
18674         Added check for ABI compatibility.
18675
18676 2005-12-07  Wim Taymans  <wim@fluendo.com>
18677
18678         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18679         (gst_fake_src_get_times), (gst_fake_src_create):
18680         Fix broken sync option, fixes #323259
18681
18682 2005-12-07  Wim Taymans  <wim@fluendo.com>
18683
18684         * gst/gstbuffer.c:
18685         Small docs update.
18686
18687         * gst/gstcaps.c: (gst_caps_is_equal):
18688         Don't assert on NULL <--> X. Fixes #323260
18689
18690         * gst/gstminiobject.c: (gst_mini_object_replace):
18691         If we're doing atomic operations, we might just as well use
18692         the proper way to get an atomic pointer.
18693
18694         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18695         Clean up debugging.
18696
18697 2005-12-07  Michael Smith  <msmith@fluendo.com>
18698
18699         * gst/parse/grammar.y:
18700           Remove handling of { } for threads.
18701
18702 2005-12-06  David Schleef  <ds@schleef.org>
18703
18704         * libs/gst/base/gstbasetransform.c: speling fix.
18705
18706 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18707
18708         * docs/libs/tmpl/gstdataprotocol.sgml:
18709         * docs/random/omega/testing/gstobject.c:
18710         * gst/gst.c:
18711         * gst/gstclock.c:
18712         * gst/gstelement.c:
18713         * gst/gstelementfactory.c:
18714         * gst/gsterror.c:
18715         * gst/gstevent.c:
18716         * gst/gstghostpad.c:
18717         * gst/gstinfo.c:
18718         * gst/gstpadtemplate.c:
18719         * gst/gstregistryxml.c:
18720         * gst/gsttaglist.c:
18721         * gst/gsttagsetter.c:
18722         * gst/gsttypefind.c:
18723         * gst/gstvalue.c:
18724         * libs/gst/base/gstbasesrc.c:
18725         * libs/gst/net/gstnetclientclock.c:
18726         * libs/gst/net/gstnettimeprovider.c:
18727         * plugins/elements/gstfakesrc.c:
18728         * plugins/elements/gstfdsrc.c:
18729         * plugins/elements/gstfilesrc.c:
18730         * plugins/elements/gstidentity.c:
18731         * plugins/elements/gstqueue.c:
18732         * plugins/elements/gsttypefindelement.c:
18733         * plugins/indexers/gstfileindex.c:
18734         * plugins/indexers/gstmemindex.c:
18735         * tests/check/gst/gsttag.c:
18736         * tests/old/examples/cutter/cutter.c:
18737         * tests/old/examples/mixer/mixer.c:
18738         * tests/old/examples/xml/runxml.c: (main):
18739         * tests/old/testsuite/caps/normalisation.c:
18740         * tests/old/testsuite/debug/global.c:
18741         * tests/old/testsuite/parse/parse1.c:
18742         * tools/gst-xmlinspect.c:
18743         * win32/common/dirent.c:
18744           expand tabs
18745
18746 === release 0.10.0 ===
18747
18748 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18749
18750         * configure.ac:
18751           releasing 0.10.0, "Maroilles"
18752
18753 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18754
18755         submitted by: Funda Wang <fundawang@linux.net.cn>
18756
18757         * po/LINGUAS:
18758         * po/zh_CN.po:
18759           added Chinese (Traditional) translation
18760
18761 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18762
18763         * docs/gst/gstreamer-sections.txt:
18764         * docs/libs/tmpl/gstdataprotocol.sgml:
18765         * docs/random/thomasvs/TODO:
18766         * gst/gstutils.c:
18767         * gst/gstutils.h:
18768           fix docs
18769
18770 2005-12-05  Andy Wingo  <wingo@pobox.com>
18771
18772         patch by: Wim Taymans <wim@fluendo.com>
18773
18774         * libs/gst/base/gstbasetransform.c
18775         (gst_base_transform_prepare_output_buf)
18776         (gst_base_transform_buffer_alloc):
18777         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18778         alloc_buffer_and_set_caps.
18779
18780         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18781         set_caps on the source pad.
18782         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18783         alloc_buffer used to do. Fixes #322874.
18784
18785         * docs/gst/gstreamer-sections.txt: 
18786         * docs/design/part-negotiation.txt: 
18787         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18788         changes.
18789
18790 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18791
18792         patch by: Sebastien Moutte
18793
18794         * win32/MANIFEST:
18795         * win32/common/config.h.in:
18796         * win32/vs6/libgstcontroller.dsp:
18797           win32 build fixes
18798
18799 2005-12-05  Wim Taymans  <wim@fluendo.com>
18800
18801         * gst/gstcaps.c: (gst_caps_is_equal):
18802         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18803         (gst_fake_src_create):
18804         Back out previous code changes, leave doc updates, file bugs 
18805         instead. 
18806
18807 2005-12-05  Wim Taymans  <wim@fluendo.com>
18808
18809         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18810         (gst_fake_src_get_times), (gst_fake_src_create):
18811         * plugins/elements/gstfakesrc.h:
18812         Fix broken sync code.
18813
18814 2005-12-05  Wim Taymans  <wim@fluendo.com>
18815
18816         * gst/gstcaps.c: (gst_caps_is_equal):
18817         Comparing NULL against !NULL yields different caps, not a
18818         failure.
18819
18820 2005-12-05  Wim Taymans  <wim@fluendo.com>
18821
18822         * gst/gstpipeline.c:
18823         Fix small typo in docs.
18824
18825 2005-12-05  Andy Wingo  <wingo@pobox.com>
18826
18827         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18828
18829         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18830         registries/plugins with a MAJORMINOR one.
18831         (plugin_desc): Rename library from gstcoreleements to
18832         staticelements. Fixes #323222.
18833
18834 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18835
18836         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18837           Change debug category to 'collectpads' from 'collect_pads'
18838           (fixes #323250).
18839
18840 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18841
18842         patch by: Sebastien Moutte
18843
18844         * libs/gst/controller/gstinterpolation.c:
18845           use convert function for uint64/double
18846         * win32/vs6/libgstcontroller.dsp:
18847           link to GLib
18848
18849 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18850
18851         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18852         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18853         * gst/gstutils.h:
18854         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18855           add tests that seem to show that the guint64/gdouble conversions
18856           are correct.
18857
18858 2005-12-02  Wim Taymans  <wim@fluendo.com>
18859
18860         * gst/gstregistry.c: (gst_registry_add_path):
18861         * gst/gstregistry.h:
18862         * gst/gstregistryxml.c:
18863         Fix docs again.
18864
18865 2005-12-02  Wim Taymans  <wim@fluendo.com>
18866
18867         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18868         (gst_util_uint64_scale_int):
18869         Small cleanup.
18870
18871         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18872         Add debug log line.
18873
18874         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18875         Add FIXME.
18876
18877 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18878
18879         * win32/MANIFEST:
18880         * win32/common/config.h:
18881         * win32/vs6/gstreamer.dsw:
18882         * win32/vs6/libgstcoreelements.dsp:
18883         * win32/vs6/libgstelements.dsp:
18884           renamed core elements plugin
18885
18886 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18887
18888         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18889         (get_candidates):
18890           do piece-wise major/minor comparison so 0.9 < 0.10
18891           also allow .exe extensions for tools
18892
18893 2005-12-02  Michael Smith  <msmith@fluendo.com>
18894
18895         * gst/gst.c:
18896           Escape a % to make gtkdoc happier; bug 322958.
18897
18898 === release 0.9.7 ===
18899
18900 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18901
18902         * configure.ac:
18903           releasing 0.9.7, "My Dog Has No Nose"
18904
18905 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18906
18907         * common/gst-xmlinspect.py:
18908         * configure.ac:
18909         * docs/libs/tmpl/gstdataprotocol.sgml:
18910         * docs/random/release:
18911         * po/af.po:
18912         * po/az.po:
18913         * po/bg.po:
18914         * po/ca.po:
18915         * po/cs.po:
18916         * po/de.po:
18917         * po/en_GB.po:
18918         * po/fr.po:
18919         * po/it.po:
18920         * po/nb.po:
18921         * po/nl.po:
18922         * po/ru.po:
18923         * po/sq.po:
18924         * po/sr.po:
18925         * po/sv.po:
18926         * po/tr.po:
18927         * po/uk.po:
18928         * po/vi.po:
18929         * win32/common/config.h:
18930         * win32/common/config.h.in:
18931         * win32/vs6/gst_inspect.dsp:
18932         * win32/vs6/gst_launch.dsp:
18933         * win32/vs6/libgstbase.dsp:
18934         * win32/vs6/libgstelements.dsp:
18935         * win32/vs6/libgstreamer.dsp:
18936         * win32/vs7/GStreamer.vcproj:
18937         * win32/vs7/gst-inspect.vcproj:
18938         * win32/vs7/gst-launch.vcproj:
18939         * win32/vs7/libgstbase.vcproj:
18940           bump GST_MAJORMINOR to 0.10
18941           reset libtool version
18942
18943 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18944
18945         * po/LINGUAS:
18946         * po/bg.po:
18947           Added Bulgarian translation by (Alexander Shopov)
18948
18949 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18950
18951         * tests/check/gst/gstplugin.c:
18952           fix test
18953
18954 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18955
18956         * common/gst-xmlinspect.py:
18957         * common/gtk-doc-plugins.mak:
18958         * configure.ac:
18959         * docs/Makefile.am:
18960         * docs/gst/Makefile.am:
18961         * docs/gst/gstreamer-docs.sgml:
18962         * docs/gst/gstreamer-sections.txt:
18963         * docs/gst/gstreamer.types:
18964         * docs/gst/gstreamer.types.in:
18965         * docs/plugins/Makefile.am:
18966         * docs/plugins/gstreamer-plugins-docs.sgml:
18967         * docs/plugins/gstreamer-plugins-sections.txt:
18968         * docs/plugins/gstreamer-plugins.types:
18969         * docs/plugins/inspect.stamp:
18970         * docs/plugins/inspect/plugin-coreelements.xml:
18971         * docs/plugins/inspect/plugin-coreindexers.xml:
18972         * docs/plugins/scanobj-build.stamp:
18973         * gstreamer.spec.in:
18974         * plugins/elements/Makefile.am:
18975         * plugins/elements/gstelements.c:
18976         * plugins/elements/gstfakesink.c:
18977         * plugins/elements/gstfakesrc.c:
18978         * plugins/elements/gstfilesink.c:
18979         * plugins/elements/gstfilesrc.c:
18980         * plugins/elements/gstqueue.c:
18981         * plugins/indexers/Makefile.am:
18982         * plugins/indexers/gstindexers.c:
18983           document core plugins in a separate document just like all the
18984           others
18985           rename these plugins to something starting with core
18986
18987 2005-12-01  Andy Wingo  <wingo@pobox.com>
18988
18989         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18990         padding here before, but it missed the commit.
18991
18992 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18993
18994         * libs/gst/controller/gstinterpolation.c:
18995           whitespace prices have crashed, we should feel free to use some now
18996           use gst_guint64_to_gdouble
18997
18998 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18999
19000         * libs/gst/controller/gstcontroller.c:
19001         * libs/gst/controller/gsthelper.c:
19002         * libs/gst/controller/gstinterpolation.c:
19003         * libs/gst/controller/lib.c:
19004           wrap config.h include
19005
19006 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19007
19008         * docs/gst/gstreamer-sections.txt:
19009           update docs
19010
19011 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19012
19013         * plugins/elements/gstelements.c:
19014         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19015         (gst_fd_sink__class_init), (gst_fd_sink__init),
19016         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19017         (gst_fd_sink__get_property):
19018         * plugins/elements/gstfdsink.h:
19019         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19020         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19021         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19022         (gst_fd_src_unlock), (gst_fd_src_set_property),
19023         (gst_fd_src_get_property), (gst_fd_src_create),
19024         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19025         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19026         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19027         (gst_fd_src_uri_handler_init):
19028         * plugins/elements/gstfdsrc.h:
19029         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19030           more anal cleanup
19031
19032 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19033
19034         * docs/gst/Makefile.am:
19035         * docs/gst/gstreamer.types.in:
19036         * gst/Makefile.am:
19037           fix the docs build
19038
19039 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19040
19041         * configure.ac:
19042         * gst/Makefile.am:
19043         * gst/gst.c:
19044         * gst/gstplugin.h:
19045         * gst/gstregistry.h:
19046         * tests/benchmarks/complexity.c:
19047         * tests/benchmarks/mass-elements.c:
19048         * tests/check/Makefile.am:
19049         * tools/Makefile.am:
19050         * tools/gst-inspect.c:
19051         * tools/gst-xmlinspect.c:
19052           various fixes to make
19053           --disable-nls --disable-registry --disable-loadsave
19054           --disable-parse --disable-gst-debug
19055           work and get the core .so down to 360444 bytes after stripping
19056
19057 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19058
19059         * Makefile.am:
19060         * configure.ac:
19061           descend into tests
19062         * docs/random/thomasvs/TODO:
19063         * tests/Makefile.am:
19064         * tests/README:
19065           add a README
19066
19067 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19068
19069         * win32/GStreamer.vcproj:
19070         * win32/MANIFEST:
19071         * win32/Makefile:
19072         * win32/Makefile.inspect:
19073         * win32/Makefile.launch:
19074         * win32/Makefile.register:
19075         * win32/README.txt:
19076         * win32/gst-inspect.vcproj:
19077         * win32/gst-launch.vcproj:
19078         * win32/gst-register.vcproj:
19079         * win32/gstelements.vcproj:
19080         * win32/gstgetbits.def:
19081         * win32/gstgetbits.vcproj:
19082         * win32/gstreamer-dbg.def:
19083         * win32/gstreamer.def:
19084         * win32/libgstbase.def:
19085         * win32/libgstbase.vcproj:
19086         * win32/link_oldruntime.c:
19087         * win32/mman.c:
19088         * win32/mman.h:
19089         * win32/mman.inl:
19090         * win32/msvc71.sln:
19091           move even more stuff, win32/ is nice and clean now
19092
19093 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19094
19095         * libs/gst/control/.cvsignore:
19096         * win32/MANIFEST:
19097         * win32/config.h:
19098         * win32/dirent.c:
19099         * win32/dirent.h:
19100         * win32/gstbytestream.def:
19101         * win32/gstbytestream.vcproj:
19102         * win32/gstconfig.h:
19103         * win32/gstenumtypes.c:
19104         * win32/gstenumtypes.h:
19105         * win32/gstoptimalscheduler.vcproj:
19106         * win32/gstversion.h:
19107         * win32/gtchar.h:
19108         * win32/testsuite/bins.vcproj:
19109         * win32/testsuite/bytestream.vcproj:
19110         * win32/testsuite/caps.vcproj:
19111         * win32/testsuite/cleanup.vcproj:
19112         * win32/testsuite/clock.vcproj:
19113         * win32/testsuite/debug.vcproj:
19114         * win32/testsuite/dlopen.vcproj:
19115         * win32/testsuite/dynparams.vcproj:
19116         * win32/testsuite/elements.vcproj:
19117         * win32/testsuite/ghostpads.vcproj:
19118         * win32/testsuite/indexers.vcproj:
19119         * win32/testsuite/negotiation.vcproj:
19120         * win32/testsuite/parse.vcproj:
19121         * win32/testsuite/plugin.vcproj:
19122         * win32/testsuite/refcounting.vcproj:
19123         * win32/testsuite/schedulers.vcproj:
19124         * win32/testsuite/states.vcproj:
19125         * win32/testsuite/tags.vcproj:
19126         * win32/testsuite/threads.vcproj:
19127           remove old win32 stuff that isn't maintained and should be
19128           reorganized
19129
19130 2005-11-30  Andy Wingo  <wingo@pobox.com>
19131
19132         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19133         loading the gst.interfaces python module bork.
19134
19135         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19136         available since GLib 2.2. Fixes #318031.
19137
19138 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19139
19140         * Makefile.am:
19141         * check/.cvsignore:
19142         * check/Makefile.am:
19143         * check/elements/.cvsignore:
19144         * check/elements/fakesrc.c:
19145         * check/elements/fdsrc.c:
19146         * check/elements/identity.c:
19147         * check/generic/.cvsignore:
19148         * check/generic/states.c:
19149         * check/gst-libs/.cvsignore:
19150         * check/gst-libs/controller.c:
19151         * check/gst-libs/gdp.c:
19152         * check/gst/.cvsignore:
19153         * check/gst/capslist.h:
19154         * check/gst/gst.c:
19155         * check/gst/gstbin.c:
19156         * check/gst/gstbuffer.c:
19157         * check/gst/gstbus.c:
19158         * check/gst/gstcaps.c:
19159         * check/gst/gstelement.c:
19160         * check/gst/gstevent.c:
19161         * check/gst/gstghostpad.c:
19162         * check/gst/gstiterator.c:
19163         * check/gst/gstmessage.c:
19164         * check/gst/gstminiobject.c:
19165         * check/gst/gstobject.c:
19166         * check/gst/gstpad.c:
19167         * check/gst/gstpipeline.c:
19168         * check/gst/gstplugin.c:
19169         * check/gst/gstsegment.c:
19170         * check/gst/gststructure.c:
19171         * check/gst/gstsystemclock.c:
19172         * check/gst/gsttag.c:
19173         * check/gst/gstutils.c:
19174         * check/gst/gstvalue.c:
19175         * check/net/.cvsignore:
19176         * check/net/gstnetclientclock.c:
19177         * check/net/gstnettimeprovider.c:
19178         * check/pipelines/.cvsignore:
19179         * check/pipelines/cleanup.c:
19180         * check/pipelines/simple_launch_lines.c:
19181         * check/pipelines/stress.c:
19182         * check/states/.cvsignore:
19183         * check/states/sinks.c:
19184         * configure.ac:
19185         * examples/Makefile.am:
19186         * examples/appreader/.cvsignore:
19187         * examples/appreader/Makefile.am:
19188         * examples/appreader/appreader.c:
19189         * examples/controller/.cvsignore:
19190         * examples/controller/Makefile.am:
19191         * examples/controller/audio-example.c:
19192         * examples/cutter/.cvsignore:
19193         * examples/cutter/Makefile.am:
19194         * examples/cutter/cutter.c:
19195         * examples/cutter/cutter.h:
19196         * examples/events/Makefile.am:
19197         * examples/events/seek.c:
19198         * examples/helloworld/.cvsignore:
19199         * examples/helloworld/Makefile.am:
19200         * examples/helloworld/helloworld.c:
19201         * examples/helloworld2/.cvsignore:
19202         * examples/helloworld2/Makefile.am:
19203         * examples/helloworld2/helloworld2.c:
19204         * examples/launch/.cvsignore:
19205         * examples/launch/Makefile.am:
19206         * examples/launch/mp3parselaunch.c:
19207         * examples/launch/mp3play:
19208         * examples/manual/.cvsignore:
19209         * examples/manual/Makefile.am:
19210         * examples/manual/extract.pl:
19211         * examples/metadata/Makefile.am:
19212         * examples/metadata/read-metadata.c:
19213         * examples/mixer/.cvsignore:
19214         * examples/mixer/Makefile.am:
19215         * examples/mixer/mixer.c:
19216         * examples/mixer/mixer.h:
19217         * examples/pingpong/.cvsignore:
19218         * examples/pingpong/Makefile.am:
19219         * examples/pingpong/pingpong.c:
19220         * examples/plugins/.cvsignore:
19221         * examples/plugins/Makefile.am:
19222         * examples/plugins/example.c:
19223         * examples/plugins/example.h:
19224         * examples/pwg/.cvsignore:
19225         * examples/pwg/Makefile.am:
19226         * examples/pwg/extract.pl:
19227         * examples/queue/.cvsignore:
19228         * examples/queue/Makefile.am:
19229         * examples/queue/queue.c:
19230         * examples/queue2/.cvsignore:
19231         * examples/queue2/Makefile.am:
19232         * examples/queue2/queue2.c:
19233         * examples/queue3/.cvsignore:
19234         * examples/queue3/Makefile.am:
19235         * examples/queue3/queue3.c:
19236         * examples/queue4/.cvsignore:
19237         * examples/queue4/Makefile.am:
19238         * examples/queue4/queue4.c:
19239         * examples/retag/.cvsignore:
19240         * examples/retag/Makefile.am:
19241         * examples/retag/retag.c:
19242         * examples/retag/transcode.c:
19243         * examples/thread/.cvsignore:
19244         * examples/thread/Makefile.am:
19245         * examples/thread/thread.c:
19246         * examples/typefind/.cvsignore:
19247         * examples/typefind/Makefile.am:
19248         * examples/typefind/typefind.c:
19249         * examples/xml/.cvsignore:
19250         * examples/xml/Makefile.am:
19251         * examples/xml/createxml.c:
19252         * examples/xml/runxml.c:
19253         * tests/Makefile.am:
19254         * tests/check/Makefile.am:
19255         * testsuite/.cvsignore:
19256         * testsuite/Makefile.am:
19257         * testsuite/Rules:
19258         * testsuite/caps/.cvsignore:
19259         * testsuite/caps/Makefile.am:
19260         * testsuite/caps/app_fixate.c:
19261         * testsuite/caps/audioscale.c:
19262         * testsuite/caps/caps.c:
19263         * testsuite/caps/caps.h:
19264         * testsuite/caps/caps_strings:
19265         * testsuite/caps/compatibility.c:
19266         * testsuite/caps/deserialize.c:
19267         * testsuite/caps/enumcaps.c:
19268         * testsuite/caps/eratosthenes.c:
19269         * testsuite/caps/filtercaps.c:
19270         * testsuite/caps/fixed.c:
19271         * testsuite/caps/fraction-convert.c:
19272         * testsuite/caps/fraction-multiply-and-zero.c:
19273         * testsuite/caps/intersect2.c:
19274         * testsuite/caps/intersection.c:
19275         * testsuite/caps/normalisation.c:
19276         * testsuite/caps/random.c:
19277         * testsuite/caps/renegotiate.c:
19278         * testsuite/caps/sets.c:
19279         * testsuite/caps/simplify.c:
19280         * testsuite/caps/string-conversions.c:
19281         * testsuite/caps/structure.c:
19282         * testsuite/caps/subtract.c:
19283         * testsuite/caps/union.c:
19284         * testsuite/debug/.cvsignore:
19285         * testsuite/debug/Makefile.am:
19286         * testsuite/debug/category.c:
19287         * testsuite/debug/commandline.c:
19288         * testsuite/debug/global.c:
19289         * testsuite/debug/output.c:
19290         * testsuite/debug/printf_extension.c:
19291         * testsuite/dlopen/.cvsignore:
19292         * testsuite/dlopen/Makefile.am:
19293         * testsuite/dlopen/dlopen_gst.c:
19294         * testsuite/dlopen/loadgst.c:
19295         * testsuite/elements/.cvsignore:
19296         * testsuite/elements/Makefile.am:
19297         * testsuite/elements/gst-inspect-check.in:
19298         * testsuite/elements/struct_i386.h:
19299         * testsuite/elements/struct_size.c:
19300         * testsuite/indexers/.cvsignore:
19301         * testsuite/indexers/Makefile.am:
19302         * testsuite/indexers/cache1.c:
19303         * testsuite/indexers/indexdump.c:
19304         * testsuite/parse/.cvsignore:
19305         * testsuite/parse/Makefile.am:
19306         * testsuite/parse/parse1.c:
19307         * testsuite/parse/parse2.c:
19308         * testsuite/plugin/.cvsignore:
19309         * testsuite/plugin/Makefile.am:
19310         * testsuite/plugin/README:
19311         * testsuite/plugin/dynamic.c:
19312         * testsuite/plugin/linked.c:
19313         * testsuite/plugin/loading.c:
19314         * testsuite/plugin/registry.c:
19315         * testsuite/plugin/static.c:
19316         * testsuite/plugin/static2.c:
19317         * testsuite/plugin/testplugin.c:
19318         * testsuite/plugin/testplugin2.c:
19319         * testsuite/plugin/testplugin2_s.c:
19320         * testsuite/plugin/testplugin_s.c:
19321         * testsuite/refcounting/.cvsignore:
19322         * testsuite/refcounting/Makefile.am:
19323         * testsuite/refcounting/bin.c:
19324         * testsuite/refcounting/element.c:
19325         * testsuite/refcounting/element_pad.c:
19326         * testsuite/refcounting/mainloop.c:
19327         * testsuite/refcounting/mem.c:
19328         * testsuite/refcounting/mem.h:
19329         * testsuite/refcounting/object.c:
19330         * testsuite/refcounting/pad.c:
19331         * testsuite/refcounting/sched.c:
19332         * testsuite/refcounting/thread.c:
19333         * testsuite/states/.cvsignore:
19334         * testsuite/states/Makefile.am:
19335         * testsuite/states/bin.c:
19336         * testsuite/states/locked.c:
19337         * testsuite/states/parent.c:
19338         * testsuite/threads/.cvsignore:
19339         * testsuite/threads/159566.c:
19340         * testsuite/threads/159852.c:
19341         * testsuite/threads/Makefile.am:
19342         * testsuite/threads/queue.c:
19343         * testsuite/threads/signals.c:
19344         * testsuite/threads/staticrec.c:
19345         * testsuite/threads/thread.c:
19346         * testsuite/threads/threadb.c:
19347         * testsuite/threads/threadc.c:
19348         * testsuite/threads/threadd.c:
19349         * testsuite/threads/threade.c:
19350         * testsuite/threads/threadf.c:
19351         * testsuite/threads/threadg.c:
19352         * testsuite/threads/threadh.c:
19353         * testsuite/threads/threadi.c:
19354           move all of these under tests
19355
19356 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19357
19358         * configure.ac:
19359         * tests/Makefile.am:
19360           fix distcheck
19361
19362 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19363
19364         * docs/gst/gstreamer-sections.txt:
19365         * tests/sched/.cvsignore:
19366         * tests/sched/Makefile.am:
19367         * tests/sched/cases/(fs-fs).xml:
19368         * tests/sched/cases/(fs-i-fs).xml:
19369         * tests/sched/cases/(fs-i-i-fs).xml:
19370         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19371         * tests/sched/dynamic-pipeline.c:
19372         * tests/sched/interrupt1.c:
19373         * tests/sched/interrupt2.c:
19374         * tests/sched/interrupt3.c:
19375         * tests/sched/runtestcases:
19376         * tests/sched/runxml.c:
19377         * tests/sched/sched-stress.c:
19378         * tests/sched/sort.c:
19379         * tests/sched/testcases:
19380         * tests/sched/testcases1.tc:
19381         * tests/seeking/.cvsignore:
19382         * tests/seeking/Makefile.am:
19383         * tests/seeking/seeking1.c:
19384         * tests/threadstate/.cvsignore:
19385         * tests/threadstate/Makefile.am:
19386         * tests/threadstate/test1.c:
19387         * tests/threadstate/test2.c:
19388         * tests/threadstate/threadstate1.c:
19389         * tests/threadstate/threadstate2.c:
19390         * tests/threadstate/threadstate3.c:
19391         * tests/threadstate/threadstate4.c:
19392         * tests/threadstate/threadstate5.c:
19393           remove obsolete tests
19394         * configure.ac:
19395         * tests/bench-complexity.scm:
19396         * tests/bench-mass_elements.scm:
19397         * tests/complexity.c:
19398         * tests/complexity.gnuplot:
19399         * tests/instantiate/.cvsignore:
19400         * tests/instantiate/Makefile.am:
19401         * tests/instantiate/caps.c:
19402         * tests/mass_elements.c:
19403         * tests/network-clock-utils.scm:
19404         * tests/network-clock.scm:
19405         * tests/plot-data:
19406         First pass at cleaning up tests/ dir before moving the rest
19407         Combined with CVS surgery
19408
19409 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19410
19411         * po/POTFILES.in:
19412           queue has moved, update
19413
19414 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19415
19416         * docs/gst/gstreamer-sections.txt:
19417           remove double entries from the docs
19418         * gst/gst_private.h:
19419         * gst/gstinfo.c: (_gst_debug_init):
19420           remove the THREAD debug category
19421         * gst/Makefile.am:
19422         * gst/gstqueue.c:
19423         * gst/gstqueue.h:
19424         * docs/gst/gstreamer.types:
19425         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19426         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19427           completely move queue and fix up debugging categories
19428
19429 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19430
19431         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19432           make initialization portable, using LL is not
19433
19434 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19435
19436         * win32/common/gstconfig.h:
19437           add large padding
19438
19439 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19440
19441         * win32/common/libgstreamer.def:
19442           rename symbols; sort base section
19443
19444 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19445
19446         * gst/gstclock.c: (do_linear_regression):
19447           remove crack non-portable handrolled DEBUG macro
19448
19449 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19450
19451         * docs/random/release:
19452           update notes
19453         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19454         (gst_object_flags_get_type), (register_gst_bin_flags),
19455         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19456         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19457         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19458         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19459         (gst_caps_flags_get_type), (register_gst_clock_return),
19460         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19461         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19462         (gst_clock_flags_get_type), (register_gst_state),
19463         (gst_state_get_type), (register_gst_state_change_return),
19464         (gst_state_change_return_get_type), (register_gst_state_change),
19465         (gst_state_change_get_type), (register_gst_element_flags),
19466         (gst_element_flags_get_type), (register_gst_core_error),
19467         (gst_core_error_get_type), (register_gst_library_error),
19468         (gst_library_error_get_type), (register_gst_resource_error),
19469         (gst_resource_error_get_type), (register_gst_stream_error),
19470         (gst_stream_error_get_type), (register_gst_event_type_flags),
19471         (gst_event_type_flags_get_type), (register_gst_event_type),
19472         (gst_event_type_get_type), (register_gst_seek_type),
19473         (gst_seek_type_get_type), (register_gst_seek_flags),
19474         (gst_seek_flags_get_type), (register_gst_format),
19475         (gst_format_get_type), (register_gst_index_certainty),
19476         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19477         (gst_index_entry_type_get_type),
19478         (register_gst_index_lookup_method),
19479         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19480         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19481         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19482         (gst_index_flags_get_type), (register_gst_debug_level),
19483         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19484         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19485         (gst_iterator_result_get_type), (register_gst_iterator_item),
19486         (gst_iterator_item_get_type), (register_gst_message_type),
19487         (gst_message_type_get_type), (register_gst_mini_object_flags),
19488         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19489         (gst_pad_link_return_get_type), (register_gst_flow_return),
19490         (gst_flow_return_get_type), (register_gst_activate_mode),
19491         (gst_activate_mode_get_type), (register_gst_pad_direction),
19492         (gst_pad_direction_get_type), (register_gst_pad_flags),
19493         (gst_pad_flags_get_type), (register_gst_pad_presence),
19494         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19495         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19496         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19497         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19498         (gst_plugin_flags_get_type), (register_gst_rank),
19499         (gst_rank_get_type), (register_gst_query_type),
19500         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19501         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19502         (gst_tag_flag_get_type), (register_gst_task_state),
19503         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19504         (gst_alloc_trace_flags_get_type),
19505         (register_gst_type_find_probability),
19506         (gst_type_find_probability_get_type), (register_gst_uri_type),
19507         (gst_uri_type_get_type), (register_gst_parse_error),
19508         (gst_parse_error_get_type):
19509         * win32/common/gstenumtypes.h:
19510         * win32/common/gstversion.h:
19511           update visual studio generated files
19512
19513 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19514
19515         * win32/vs6/libgstbase.dsp:
19516         * win32/vs6/libgstelements.dsp:
19517           update project files for new locations
19518
19519 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19520
19521         * Makefile.am:
19522           remove some files
19523         * README:
19524           reinstate and update
19525         * DEVEL:
19526         * REQUIREMENTS:
19527           removed
19528         * LICENSE:
19529         * docs/random/LICENSE:
19530           moved to random
19531
19532 2005-11-30  Edward Hervey  <edward@fluendo.com>
19533
19534         * gst/gsttypefind.c: (gst_type_find_register):
19535         * gst/gsttypefind.h:
19536         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19537         (gst_type_find_factory_dispose):
19538         * gst/gsttypefindfactory.h:
19539         Fix memory leak in GstTypeFindFactory.
19540
19541 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19542
19543         * gst/gst.c:
19544         * plugins/elements/Makefile.am:
19545         * plugins/elements/gstelements.c:
19546         * plugins/elements/gstqueue.c:
19547           move queue from core to the elements plugin
19548
19549 2005-11-29  Andy Wingo  <wingo@pobox.com>
19550
19551         * libs/gst/base/gstbasetransform.h: 
19552         * libs/gst/base/gstbasesrc.h: 
19553         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19554
19555         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19556         of pointers by which to pad very extensible base classes (like the
19557         ones in libs/gst/base).
19558
19559 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19560
19561         * docs/gst/gstreamer-docs.sgml:
19562         * docs/gst/gstreamer-sections.txt:
19563         * docs/libs/gstreamer-libs-docs.sgml:
19564         * docs/libs/gstreamer-libs-sections.txt:
19565           moving documentation from core to lib
19566
19567 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19568
19569         * check/Makefile.am:
19570         * configure.ac:
19571         * docs/gst/Makefile.am:
19572         * gst/Makefile.am:
19573         * gst/base/.cvsignore:
19574         * gst/base/Makefile.am:
19575         * gst/base/README:
19576         * gst/base/gstadapter.c:
19577         * gst/base/gstadapter.h:
19578         * gst/base/gstbasesink.c:
19579         * gst/base/gstbasesink.h:
19580         * gst/base/gstbasesrc.c:
19581         * gst/base/gstbasesrc.h:
19582         * gst/base/gstbasetransform.c:
19583         * gst/base/gstbasetransform.h:
19584         * gst/base/gstcollectpads.c:
19585         * gst/base/gstcollectpads.h:
19586         * gst/base/gstpushsrc.c:
19587         * gst/base/gstpushsrc.h:
19588         * gst/base/gsttypefindhelper.c:
19589         * gst/base/gsttypefindhelper.h:
19590         * gst/check/Makefile.am:
19591         * gst/check/gstcheck.c:
19592         * gst/check/gstcheck.h:
19593         * gst/net/Makefile.am:
19594         * gst/net/gstnet.h:
19595         * gst/net/gstnetclientclock.c:
19596         * gst/net/gstnetclientclock.h:
19597         * gst/net/gstnettimepacket.c:
19598         * gst/net/gstnettimepacket.h:
19599         * gst/net/gstnettimeprovider.c:
19600         * gst/net/gstnettimeprovider.h:
19601         * libs/gst/Makefile.am:
19602         * libs/gst/base/Makefile.am:
19603         * libs/gst/base/gstbasetransform.c:
19604         * libs/gst/check/Makefile.am:
19605         * plugins/elements/Makefile.am:
19606         * po/POTFILES.in:
19607           CVS surgery + support to move base, check, and net out of gst
19608           and into libs/gst
19609
19610 2005-11-29  Andy Wingo  <wingo@pobox.com>
19611
19612         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19613
19614         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19615         padding.
19616
19617         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19618
19619         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19620
19621         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19622
19623         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19624         padding; reduces object size by about 30%. We don't expect
19625         anything else to go into gstobject.
19626
19627         * gst/gstminiobject.h (struct _GstMiniObject)
19628         (struct _GstMiniObjectClass): Only one pointer of padding; the
19629         payload is only a pointer and two ints anyway. For the class there
19630         are only two methods as well.
19631         
19632         * gst/gstelement.h (struct _GstElementClass): Removed
19633         the state_changed signal callback, it is not used.
19634
19635 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19636
19637         * docs/gst/gstreamer.types:
19638           fix includes, though they are a little dinky
19639
19640 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19641
19642         * check/Makefile.am:
19643           look in the right place for elements, a lot more chance of
19644           success
19645         * gst/Makefile.am:
19646           remove indexers and elements subdirs
19647         * plugins/Makefile.am:
19648           make indexers conditional
19649
19650 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19651
19652         * Makefile.am:
19653         * configure.ac:
19654         * plugins/elements/Makefile.am:
19655         * plugins/elements/gstcapsfilter.c:
19656         * plugins/elements/gstfilesink.c:
19657         * plugins/elements/gstfilesrc.c:
19658         * plugins/elements/gstidentity.c:
19659         * plugins/indexers/Makefile.am:
19660           do CVS surgery and related build fixery to move elements
19661           and indexers in a new gstreamer/plugins directory, out of the
19662           gst/ directory
19663
19664 2005-11-29  Andy Wingo  <wingo@pobox.com>
19665
19666         * check/Makefile.am:
19667         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19668         * pkgconfig/gstreamer-net.pc.in:
19669         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19670         #322257.
19671
19672 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19673
19674         * tools/Makefile.am:
19675         * tools/gst-complete.1.in:
19676         * tools/gst-complete.c:
19677         * tools/gst-compprep.1.in:
19678         * tools/gst-compprep.c:
19679           removing -compprep and -complete
19680
19681 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19682
19683         * gst/gstevent.c: (gst_event_new_new_segment),
19684         (gst_event_parse_new_segment):
19685         * gst/gstevent.h:
19686           fix #320529 - clean up new_segment API and structure.
19687           Let's hope everyone was using the methods, and not the structure.
19688
19689 2005-11-29  Edward Hervey  <edward@fluendo.com>
19690
19691         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19692         (gst_base_sink_event), (gst_base_sink_do_sync),
19693         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19694         Properly handle non GST_FORMAT_TIME segment
19695         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19696         Properly handle non GST_FORMAT_TIME segment
19697         * gst/gstsegment.c:
19698         This function is valid if the accumulator is 0 and the format
19699         is different from the requested format.
19700         
19701 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19702
19703         * docs/gst/gstreamer-sections.txt:
19704         Add gst_query_new_seeking and gst_query_parse_seeking to the
19705         docs.
19706
19707 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19708
19709         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19710           Treat a pad alloc with new caps the same as if we were not
19711           negotiated, in order to allow a changing upstream output
19712           to produce a new format of data.
19713
19714 2005-11-29  Edward Hervey  <edward@fluendo.com>
19715
19716         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19717         (gst_base_transform_event), (gst_base_transform_eventfunc):
19718         The event virtual method is now properly implemented, with a default
19719         handler
19720         Sub classes should call the parent_class event method. They should
19721         return FALSE if they had a problem handling the given event, or don't
19722         want GstBaseTransform to send that even downstream
19723         * gst/elements/gstidentity.c: (gst_identity_class_init),
19724         (gst_identity_init), (gst_identity_event),
19725         (gst_identity_transform_ip), (gst_identity_set_property),
19726         (gst_identity_get_property):
19727         * gst/elements/gstidentity.h:
19728         Added the single-segment boolean property.
19729         If set to TRUE, it will output a single segment of data, starting from
19730         0, will eat up all incoming newsegment, and modify the timestamp of the
19731         buffers accordingly
19732
19733 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19734
19735         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19736           Don't ref NULL target pad (#322751). Improve docs.
19737
19738 2005-11-29  Michael Smith  <msmith@fluendo.com>
19739
19740         * gst/gstregistryxml.c: (load_plugin):
19741           Don't crash if we failed to load a feature from a plugin. 
19742
19743 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19744
19745         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19746         (GST_START_TEST):
19747           use more check API and less GLib API
19748
19749 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19750
19751         * Makefile.am:
19752           don't run checks if we don't have check
19753         * common/check.mak:
19754           remove the registry when running make torture
19755         * docs/gst/gstreamer-sections.txt:
19756           remove second multiply
19757         * gst/gstqueue.c: (gst_queue_loop):
19758           fix a compile warning when disabling debug
19759
19760 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19761
19762         * gst/gstinfo.h:
19763         Hey! Let's print the pad name if the pointer != NULL instead
19764         of when it == NULL :-)
19765
19766 2005-11-28  Wim Taymans  <wim@fluendo.com>
19767
19768         * check/gst/gstutils.c: (GST_START_TEST):
19769         Updated check, add some scaling accuracy checking code.
19770
19771         * gst/gstutils.c: (gst_util_div128_64),
19772         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19773         (gst_util_uint64_scale_int):
19774         Fix 6 times faster division code. Optimize for common 
19775         1/1 and less common X/1 cases.
19776
19777 2005-11-28  Wim Taymans  <wim@fluendo.com>
19778
19779         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19780         More checks.
19781
19782         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19783         (do_linear_regression), (gst_clock_add_observation):
19784         Cleanups.
19785         Release lock when the clock cannot be slaved.
19786         Catch the case where the regression returned an invalid denominator.
19787
19788         * gst/gstutils.c: (gst_util_div128_64_iterate),
19789         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19790         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19791         Add protentially more performant non-iterative 128/64 divide function
19792         that unfortunatly does not work yet.
19793         Shortcut the trivial 0/X = 0 case.
19794         Remove the warnings on overflow.
19795
19796 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19797
19798         * gst/gstplugin.c: (gst_plugin_register_func):
19799           everything causing a plugin not to load should be at least a WARNING
19800
19801 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19802
19803         * docs/random/ensonic/dparams.txt:
19804           some TODOs for the next dev cycle
19805         * libs/gst/controller/gstcontroller.c:
19806         (gst_controlled_property_set_interpolation_mode),
19807         (gst_controlled_property_new):
19808         * libs/gst/controller/gstcontroller.h:
19809           use base type to assign acccessor functions
19810
19811 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19812
19813         * check/Makefile.am:
19814         Oops, that should have been top_srcdir
19815
19816 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19817
19818         * check/Makefile.am:
19819         * check/elements/fdsrc.c: (GST_START_TEST):
19820         Use a cmdline define to specify the location of a file to use for
19821         testing, to avoid breaking distcheck.
19822
19823 2005-11-28  Andy Wingo  <wingo@pobox.com>
19824
19825         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19826
19827 2005-11-28  Edward Hervey  <edward@fluendo.com>
19828
19829         * tools/gst-launch.c: (main):
19830         Clarify the output strings, makes it easier to translate.
19831         Fixes #322626
19832
19833 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19834
19835         * gst/Makefile.am:
19836           don't try and build net if we don't even have <sys/socket.h>
19837
19838 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19839
19840         * check/Makefile.am:
19841         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19842         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19843           Add tests for fdsrc seekability
19844
19845         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19846         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19847         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19848         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19849         * gst/elements/gstfdsrc.h:
19850           fdsrc should not be a 'live' source.
19851           Implement seeking on seekable fd's.
19852
19853         * gst/gstquery.c: (gst_query_new_seeking),
19854         (gst_query_parse_seeking):
19855         * gst/gstquery.h:
19856           Implement SEEKING query functions: 
19857             *_new_seeking and *_parse_seeking
19858
19859 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19860
19861         * gst/gstelement.c: (gst_element_dispose):
19862           don't loop forever
19863
19864         * gst/gstiterator.c:
19865         * gst/gststructure.c:
19866           doc fixes
19867
19868         * libs/gst/controller/gstcontroller.c:
19869         (gst_controlled_property_set_interpolation_mode):
19870         * libs/gst/controller/gstcontroller.h:
19871         * libs/gst/controller/gstinterpolation.c:
19872         (interpolate_none_get_enum_value_array):
19873           support controlling enums
19874
19875 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19876
19877         * gst/gstvalue.c:
19878           Improve documentation for gst_value_union().
19879
19880         * gst/gstvalue.h:
19881           Change return value for union, intersect and subtract functions
19882           from gint to gboolean.
19883
19884 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19885
19886         * gst/gstvalue.c: (gst_value_serialize_any_list),
19887         (gst_value_transform_any_list_string),
19888         (gst_value_deserialize_list), (gst_value_deserialize_array),
19889         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19890         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19891         (gst_value_set_fraction_range_full),
19892         (gst_value_deserialize_fraction_range),
19893         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19894         (gst_value_deserialize_boolean),
19895         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19896         (gst_value_serialize_float), (gst_value_deserialize_float),
19897         (gst_string_wrap), (gst_value_deserialize_string),
19898         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19899         (gst_value_union_int_range_int_range),
19900         (gst_value_intersect_int_range_int_range),
19901         (gst_value_intersect_double_range_double_range),
19902         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19903         (gst_value_subtract_int_range_int_range),
19904         (gst_value_subtract_double_double_range),
19905         (gst_value_subtract_double_range_double_range),
19906         (gst_value_deserialize_fraction):
19907         * gst/gstvalue.h:
19908           Use gint, gdouble and gchar in our API instead of int, double and
19909           char (and make usage in gstvalue.c more consistent).
19910
19911 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19912
19913         * check/Makefile.am:
19914         * libs/gst/controller/Makefile.am:
19915         * libs/gst/dataprotocol/Makefile.am:
19916           fix up Makefile.am and remove GST_ENABLE_NEW
19917
19918 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19919
19920         * configure.ac:
19921         * gst/Makefile.am:
19922         * gst/base/Makefile.am:
19923         * gst/check/Makefile.am:
19924         * gst/elements/Makefile.am:
19925         * gst/net/Makefile.am:
19926           update LDFLAGS use some more
19927
19928 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19929
19930         * common/m4/gst-doc.m4:
19931           Fixes #312589
19932
19933 2005-11-26  Edward Hervey  <edward@fluendo.com>
19934
19935         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19936         This shouldn't issue a g_warning since it returns NULL if it
19937         couldn't find the plugin, and all functions using this behave
19938         properly on a NULL return. Switching to a GST_WARNING.
19939
19940 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19941
19942         * gst/gstbin.c: (gst_bin_handle_message_func):
19943         Don't leak clock messages.
19944
19945 2005-11-25  Wim Taymans  <wim@fluendo.com>
19946
19947         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19948         (gst_util_uint64_scale_int):
19949         Optimisations, remove unneeded vars.
19950
19951 2005-11-25  Wim Taymans  <wim@fluendo.com>
19952
19953         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19954         Added more checks for the high precision uint64 cases.
19955
19956         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19957         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19958         Implement high precision (guint64 * guint64) / guint64.
19959
19960 2005-11-24  Wim Taymans  <wim@fluendo.com>
19961
19962         * gst/base/gstbasesrc.c: (gst_base_src_query):
19963         Fix wrong percentage query.
19964
19965         * gst/gstutils.c: (gst_util_uint64_scale),
19966         (gst_util_uint64_scale_int):
19967         Add some more common cases that can be handled 
19968         efficiently to _scale.
19969
19970 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19971
19972         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19973         (gst_mini_object_suite):
19974           don't use check calls from threads; check probably isn't
19975           threadsafe and using a lock to make it threadsafe would
19976           defeat the purpose of this check
19977         * gst/check/gstcheck.c:
19978         * gst/check/gstcheck.h:
19979           use GST_DEBUG some more
19980
19981 2005-11-24  Wim Taymans  <wim@fluendo.com>
19982
19983         * gst/gstutils.c: (gst_util_uint64_scale),
19984         (gst_util_uint64_scale_int):
19985         Chain trivial case to _scale_int.
19986
19987 2005-11-24  Wim Taymans  <wim@fluendo.com>
19988
19989         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19990         Added test for scaling.
19991
19992         * gst/gstclock.h:
19993         Small doc fix.
19994
19995         * gst/gstutils.c: (gst_util_uint64_scale_int):
19996         Implemented high precision scaling code.
19997
19998 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19999
20000         * gst/gstinfo.h:
20001           do not crash on pad==NULL
20002
20003 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20004
20005         Patch by: Stefan Kost
20006
20007         * common/gtk-doc.mak:
20008         * docs/gst/Makefile.am:
20009         * docs/libs/Makefile.am:
20010           Fix distcheck issues for the libraries docs build
20011           Closes #319599.
20012
20013 2005-11-24  Michael Smith <msmith@fluendo.com>
20014
20015         * docs/manual/basics-helloworld.xml:
20016           Fix bug #315027: memory leak in example code in docs.
20017
20018 2005-11-24  Michael Smith <msmith@fluendo.com>
20019
20020         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20021           Unlock the PREROLL_LOCK in a failure case.
20022
20023 2005-11-24  Wim Taymans  <wim@fluendo.com>
20024
20025         * docs/gst/gstreamer-sections.txt:
20026         * gst/base/gstadapter.h:
20027         * gst/base/gstbasesink.h:
20028         * gst/base/gstbasesrc.h:
20029         * gst/base/gstbasetransform.h:
20030         * gst/base/gstpushsrc.h:
20031         * gst/elements/gstfakesink.h:
20032         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20033         * gst/elements/gstfakesrc.h:
20034         * gst/elements/gstfilesink.h:
20035         * gst/elements/gstfilesrc.h:
20036         * gst/gst.c:
20037         * gst/gstbin.c:
20038         * gst/gstbuffer.c: (_gst_buffer_copy):
20039         * gst/gstbus.h:
20040         * gst/gstcaps.c:
20041         * gst/gstchildproxy.c:
20042         * gst/gstclock.c:
20043         * gst/gstelement.c:
20044         * gst/gstelementfactory.c:
20045         * gst/gstelementfactory.h:
20046         * gst/gstevent.c:
20047         * gst/gstghostpad.h:
20048         * gst/gstindex.h:
20049         * gst/gstinterface.h:
20050         * gst/gstminiobject.c:
20051         * gst/gstminiobject.h:
20052         * gst/gstpad.c:
20053         * gst/gstpad.h:
20054         * gst/gstpadtemplate.h:
20055         * gst/gstpipeline.h:
20056         * gst/gstpluginfeature.h:
20057         * gst/gstquery.h:
20058         * gst/gstqueue.h:
20059         * gst/gsttaglist.c:
20060         * gst/gsttaglist.h:
20061         * gst/gsttagsetter.c:
20062         * gst/gsttagsetter.h:
20063         * gst/gsttrace.c:
20064         * gst/gsttrace.h:
20065         * gst/gsttypefind.h:
20066         * gst/gsturi.h:
20067         * gst/gstvalue.c:
20068         * gst/net/gstnetclientclock.c:
20069         * gst/net/gstnetclientclock.h:
20070         * gst/net/gstnettimepacket.c:
20071         * gst/net/gstnettimeprovider.c:
20072         * gst/net/gstnettimeprovider.h:
20073         Doc fixes.
20074
20075 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20076
20077         * configure.ac: back to HEAD
20078
20079 === release 0.9.6 ===
20080
20081 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20082
20083         * configure.ac:
20084           releasing 0.9.6, "Always On Time"
20085
20086 2005-11-23  Wim Taymans  <wim@fluendo.com>
20087
20088         * docs/gst/gstreamer-sections.txt:
20089         * gst/glib-compat.c:
20090         * gst/gsttagsetter.c:
20091         * gst/gstvalue.c:
20092         * gst/net/gstnetclientclock.c:
20093         * gst/net/gstnettimepacket.h:
20094         Doc updates.
20095
20096 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20097
20098         * docs/faq/using.xml:
20099         * docs/libs/tmpl/gstcontrol.sgml:
20100         * docs/manual/advanced-dparams.xml:
20101         * docs/manual/appendix-checklist.xml:
20102         * docs/manual/basics-elements.xml:
20103         * docs/pwg/other-source.xml:
20104         * docs/random/moving-plugins:
20105         * gst/gstpad.c:
20106         * tools/gst-launch.1.in:
20107           remove mentions of sinesrc
20108
20109 2005-11-23  Michael Smith <msmith@fluendo.com>
20110
20111         * docs/gst/gstreamer-sections.txt:
20112           Update for new API and API changes.
20113         * gst/gstobject.h:
20114           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20115         * gst/gstvalue.c:
20116           Documentation typo fix.
20117         * gst/net/gstnettimepacket.c:
20118           Documentation fixes for arguments.
20119
20120 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20121
20122         * gst/gststructure.c: (gst_structure_get_fraction),
20123         (gst_structure_parse_value),
20124         (gst_structure_fixate_field_nearest_fraction):
20125         * gst/gststructure.h:
20126         * gst/gstutils.c: (gst_util_uint64_scale_int):
20127         * gst/gstutils.h:
20128         * scripts/update-funcnames:
20129         API Changes. 
20130         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20131         Make gst_structure_fixate_field_nearest_fraction take a numerator
20132         and denominator argument instead of a GValue
20133         add gst_structure_get_fraction helper function.
20134
20135 2005-11-23  Wim Taymans  <wim@fluendo.com>
20136
20137         * docs/design/part-TODO.txt:
20138         Update TODO.
20139
20140         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20141         * gst/net/gstnetclientclock.h:
20142         Use parent fields for timeout and window_size.
20143
20144 2005-11-23  Andy Wingo  <wingo@pobox.com>
20145
20146         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20147         rate_num/rate_denom change.
20148
20149         * gst/net/gstnetclientclock.c
20150         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20151         OBJECT_LOCK. Don't call add_observation with the lock.
20152
20153         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20154         fraction.
20155         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20156         rate fraction.
20157         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20158         deal with rate as a fraction whose numerator and denominator are
20159         GstClockTime values.
20160         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20161         master; the other fields are protected by the SLAVE_LOCK.
20162         (do_linear_regression): Note that this must be called with the
20163         SLAVE_LOCK.
20164         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20165         OBJECT_LOCK. Call set_calibration instead of touching the
20166         variables directly.
20167         (gst_clock_set_property, gst_clock_get_property): Protect
20168         master/slave parameters with the SLAVE_LOCK.
20169
20170         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20171         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20172         note that all of the instance variables that add_observation and
20173         the set_master functions use are protected by that lock and not
20174         the OBJECT_LOCK.
20175         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20176
20177         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20178         the caller to take the object lock.
20179
20180 2005-11-23  Wim Taymans  <wim@fluendo.com>
20181
20182         * gst/gsterror.c: (_gst_core_errors_init):
20183         * gst/gsterror.h:
20184         Add error for clock stuff.
20185
20186         * gst/gstpipeline.c: (gst_pipeline_change_state),
20187         (gst_pipeline_set_clock):
20188         Post clock error when clock cannot be used in a pipeline.
20189
20190 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20191
20192         * docs/gst/gstreamer-sections.txt:
20193           make two symbols from gstinfo private for the docs
20194         * gst/base/gstcollectpads.h:
20195         * gst/gstutils.c:
20196           fix doc typos, update docs
20197
20198 2005-11-22  Wim Taymans  <wim@fluendo.com>
20199
20200         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20201         (gst_base_sink_wait), (gst_base_sink_do_sync),
20202         (gst_base_sink_handle_event):
20203         * gst/base/gstbasesink.h:
20204         No need to store the clock, the parent element class already
20205         has it.
20206
20207         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20208         Updates for clock_set returning a gboolean
20209
20210         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20211         (gst_clock_id_wait_async), (gst_clock_class_init),
20212         (gst_clock_init), (gst_clock_finalize),
20213         (gst_clock_get_internal_time), (gst_clock_get_time),
20214         (gst_clock_slave_callback), (gst_clock_set_master),
20215         (gst_clock_get_master), (do_linear_regression),
20216         (gst_clock_add_observation), (gst_clock_set_property),
20217         (gst_clock_get_property):
20218         * gst/gstclock.h:
20219         Implement master/slave. When setting a clock as a slave, a
20220         periodic timeout is scheduled to sample master and slave times.
20221         Then the slave clock is recalibrated to match offset and rate
20222         of the master clock.
20223         Update logging a bit.
20224         Add flag so that a clock can state that is cannot be slaved to
20225         another clock.
20226
20227         * gst/gstelement.c: (gst_element_set_clock):
20228         * gst/gstelement.h:
20229         The set clock returns a gboolean for when an element cannot
20230         deal with the selected clock in the pipeline. 
20231
20232         * gst/gstpipeline.c: (gst_pipeline_change_state),
20233         (gst_pipeline_set_clock):
20234         * gst/gstpipeline.h:
20235         Handle the case where the selected clock cannot be set on
20236         the pipeline.
20237
20238         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20239         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20240         (gst_net_client_clock_set_property),
20241         (gst_net_client_clock_get_property),
20242         (gst_net_client_clock_observe_times):
20243         * gst/net/gstnetclientclock.h:
20244         Use regression code in GstClock parent, remove duplicated
20245         functionality.
20246
20247 2005-11-22  Michael Smith <msmith@fluendo.com>
20248
20249         * gst/gstutils.c: (gst_util_clock_time_scale):
20250         * gst/gstutils.h:
20251         * docs/gst/gstreamer-sections.txt:
20252           Rename method to have extra underscore.
20253
20254 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20255
20256         * gst/elements/Makefile.am:
20257         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20258         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20259         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20260         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20261         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20262         * gst/elements/gstfakesrc.h:
20263         * gst/gstqueue.c: (queue_leaky_get_type):
20264           correctly fix GEnumValues so that nick is the short lowercase
20265           dashed tag
20266         * tools/gst-inspect.c: (print_element_properties_info):
20267           also show the nick, since it's useful to use from parse_launch
20268           syntax
20269           Fixes #322139
20270
20271 2005-11-22  Michael Smith <msmith@fluendo.com>
20272
20273         * gst/gstutils.c: (gst_util_clocktime_scale):
20274         * gst/gstutils.h:
20275         * docs/gst/gstreamer-sections.txt:
20276           Add util method for scaling a clocktime by a fraction. Useful 
20277           implementation is left as an exercise for the reader.
20278
20279 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20280
20281         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20282         If needed, allocate storage in the destination value during
20283         collection.
20284
20285 2005-11-22  Edward Hervey  <edward@fluendo.com>
20286
20287         * docs/gst/gstreamer-sections.txt:
20288         * gst/Makefile.am:
20289         * gst/gst.h:
20290         * gst/gsturitype.c:
20291         * gst/gsturitype.h:
20292         * gst/gstutils.c: (gst_util_set_object_arg):
20293         * tools/gst-compprep.c: (main):
20294         * tools/gst-inspect.c: (print_element_properties_info):
20295         Removed GstURI, closes bug #321061
20296
20297 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20298
20299         * check/gst/gststructure.c: (GST_START_TEST):
20300         * gst/gststructure.c: (gst_structure_parse_value):
20301           Oops, broke automatic string type parsing.
20302           Add a test to catch it in future.
20303
20304 2005-11-22  Andy Wingo  <wingo@pobox.com>
20305
20306         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20307         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20308         Actually rename the function implementations. Grr.
20309
20310 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20311
20312         * check/gst/capslist.h:
20313           Comment test cases
20314         * check/gst/gststructure.c: (GST_START_TEST),
20315         (gst_structure_suite):
20316           Test automatic value type detection in gst_structure_from_string.
20317         * gst/gststructure.c: (gst_structure_parse_value):
20318           Add fraction as a type we try and guess automatically in
20319           caps/structure strings.
20320
20321 2005-11-22  Andy Wingo  <wingo@pobox.com>
20322
20323         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20324
20325         * gst/gsttagsetter.h:
20326         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20327         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20328         (gst_tag_setter_add_tag_valist)
20329         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20330         _add_values, _add_valist, and _add_valist_values. Since this is an
20331         interface the function suffixes should be more explicit so
20332         language binding don't end up with element.add_valist ->
20333         gst_tag_setter_add_valist, for example. Fixes #322069.
20334
20335 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20336
20337         * check/gst/gstcaps.c: (GST_START_TEST):
20338           Extend caps string tests to check that a caps to string
20339           conversion is reversible and produces the same caps.
20340
20341         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20342           Output "fraction" as the generic type fraction range, so caps
20343           serialisation and deserialisation works.
20344         * check/gst/capslist.h:
20345         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20346           Support 'MIN' and 'MAX' for deserialising fractions.
20347
20348 2005-11-22  Andy Wingo  <wingo@pobox.com>
20349
20350         * gst/gstevent.h (gst_event_new_new_segment)
20351         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20352         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20353         Renamed from *_newsegment, *_buffersize, *_notarget.
20354
20355         * scripts/update-funcnames: New script, performs the changes
20356         listed above.
20357
20358 2005-11-22  Wim Taymans  <wim@fluendo.com>
20359
20360         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20361         Make sure the GstFlowReturn is returned.
20362
20363         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20364         (gst_bus_add_signal_watch):
20365         * gst/gstbus.h:
20366         add gst_bus_add_signal_watch_full.
20367
20368         * gst/gstplugin.c: (gst_plugin_load_file):
20369         Small style cleanup.
20370
20371 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20372
20373         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20374           Block the fakesrc srcpad when we send an event, to avoid
20375           contention on the stream_lock causing random test failures.
20376
20377 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20378
20379         * check/gst/gstvalue.c: (GST_START_TEST):
20380         * gst/gstvalue.c: (gst_value_fraction_subtract):
20381           Fix subtraction.
20382
20383 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20384
20385         * gst/gst.h:
20386           include "gstchildproxy.h"
20387         * gst/gstchildproxy.h:
20388         * libs/gst/controller/gstcontroller.h:
20389           use G_GNUC_NULL_TERMINATED
20390
20391 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20392
20393         * check/gst/capslist.h:
20394         * check/gst/gstcaps.c: (GST_START_TEST):
20395         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20396         * gst/gststructure.c: (gst_structure_parse_range),
20397         (gst_structure_fixate_field_nearest_fraction):
20398         * gst/gststructure.h:
20399         * gst/gstvalue.c: (gst_value_init_fraction_range),
20400         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20401         (gst_value_collect_fraction_range),
20402         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20403         (gst_value_set_fraction_range_full),
20404         (gst_value_get_fraction_range_min),
20405         (gst_value_get_fraction_range_max),
20406         (gst_value_serialize_fraction_range),
20407         (gst_value_transform_fraction_range_string),
20408         (gst_value_compare_fraction_range),
20409         (gst_value_deserialize_fraction_range),
20410         (gst_value_intersect_fraction_fraction_range),
20411         (gst_value_intersect_fraction_range_fraction_range),
20412         (gst_value_subtract_fraction_fraction_range),
20413         (gst_value_subtract_fraction_range_fraction),
20414         (gst_value_subtract_fraction_range_fraction_range),
20415         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20416         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20417         (gst_value_transform_string_fraction), (_gst_value_initialize):
20418         * gst/gstvalue.h:
20419           Implement fraction ranges and extend GstFraction to support
20420           arithmetic subtraction, as well as deserialization from integer
20421           strings such as "100"
20422           Add a testsuite as for int and double range set operations
20423
20424 2005-11-21  Andy Wingo  <wingo@pobox.com>
20425
20426         * gst/gsttaglist.h: 
20427         * gst/gstcaps.h: 
20428         * gst/gststructure.h: Add glib-compat.h.
20429
20430 2005-11-21  Wim Taymans  <wim@fluendo.com>
20431
20432         * gst/gstbin.c: (gst_bin_change_state_func):
20433         Fix for #321595
20434
20435 2005-11-21  Wim Taymans  <wim@fluendo.com>
20436
20437         * gst/gstsegment.h:
20438         And add a nice define too.
20439
20440 2005-11-21  Wim Taymans  <wim@fluendo.com>
20441
20442         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20443         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20444         (gst_segment_set_duration), (gst_segment_set_last_stop),
20445         (gst_segment_set_seek), (gst_segment_set_newsegment),
20446         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20447         (gst_segment_clip):
20448         * gst/gstsegment.h:
20449         Make binding friendly.
20450
20451 2005-11-21  Andy Wingo  <wingo@pobox.com>
20452
20453         * gst/gsttagsetter.h: 
20454         * gst/gsttaglist.h: 
20455         * gst/gststructure.h: 
20456         * gst/gstcaps.h: 
20457         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20458         #319940.
20459
20460         * gst/gsterror.c (_gst_core_errors_init):
20461         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20462         category.
20463
20464         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20465         (noinst_HEADERS): noinst the -private.
20466
20467 2005-11-21  Michael Smith <msmith@fluendo.com>
20468
20469         * gst/gstplugin.h:
20470         * gst/gstregistry.h:
20471           Remove unimplemented declarations for which we can see no sensible
20472           use.
20473
20474 2005-11-21  Andy Wingo  <wingo@pobox.com>
20475
20476         * gst/gst.h: Include glib-compat.h.
20477
20478         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20479
20480         * gst/glib-compat.c: Include the public and the private header.
20481
20482         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20483
20484         * gst/gstvalue.c: 
20485         * gst/gstpad.c: 
20486         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20487
20488         * check/gst/gstevent.c (create_custom_events): Check that
20489         FLUSH_STOP is serialized.
20490
20491         * check/elements/identity.c (event_func): 
20492         * check/elements/fakesrc.c (event_func): No stream lock, the core
20493         takes it.
20494
20495         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20496         stream lock taking, yay.
20497
20498         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20499         ensure that core takes the stream lock.
20500
20501         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20502         lock name change.
20503
20504         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20505         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20506         it already. For the flush start we do take it though so we get the
20507         right preroll state change messages.
20508
20509         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20510         the stream lock here, the core does it for us.
20511
20512         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20513         GST_STREAM_GET_LOCK.
20514         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20515         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20516         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20517         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20518         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20519         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20520
20521         * gst/gstpad.c: Update for stream lock name change.
20522
20523         * gst/base/gstbasesink.c: Update for preroll lock name change.
20524
20525 2005-11-21  Wim Taymans  <wim@fluendo.com>
20526
20527         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20528         (gst_clock_get_master):
20529         * gst/gstclock.h:
20530         * gst/gstsystemclock.c: (gst_system_clock_init):
20531         Convert Clock flags to object flags.
20532         Added methods to manage master/slave clocks.
20533
20534 2005-11-21  Wim Taymans  <wim@fluendo.com>
20535
20536         * check/gst/gstsegment.c: (GST_START_TEST):
20537         * docs/design/part-TODO.txt:
20538         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20539         (gst_base_sink_event), (gst_base_sink_do_sync),
20540         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20541         (gst_base_sink_query), (gst_base_sink_change_state):
20542         * gst/base/gstbasesink.h:
20543         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20544         (gst_base_src_default_newsegment),
20545         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20546         (gst_base_src_get_range), (gst_base_src_loop),
20547         (gst_base_src_change_state):
20548         * gst/base/gstbasesrc.h:
20549         * gst/base/gstbasetransform.c:
20550         (gst_base_transform_prepare_output_buf),
20551         (gst_base_transform_event), (gst_base_transform_change_state):
20552         * gst/base/gstbasetransform.h:
20553         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20554         (gst_collect_pads_event):
20555         * gst/base/gstcollectpads.h:
20556         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20557         (gst_fake_src_create):
20558         * gst/elements/gstfakesrc.h:
20559         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20560         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20561         (gst_segment_set_last_stop), (gst_segment_set_seek),
20562         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20563         (gst_segment_to_running_time), (gst_segment_clip):
20564         * gst/gstsegment.h:
20565         More segment updates, replace code in plugins with segment
20566         helper functions.
20567
20568 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20569
20570         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20571         Don't ignore sscanf results
20572
20573 2005-11-21  Andy Wingo  <wingo@pobox.com>
20574
20575         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20576
20577         * *.h:
20578         * *.c: Ran scripts/update-macros. Oh yes.
20579
20580         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20581         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20582         GST_GET_LOCK, etc.
20583
20584         * scripts/update-macros: New script. Run it on your files to
20585         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20586         well.
20587
20588 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20589
20590         * docs/gst/Makefile.am:
20591         * docs/gst/gstreamer-docs.sgml:
20592         * docs/gst/gstreamer-sections.txt:
20593         * docs/gst/gstreamer.types:
20594         * gst/gstinfo.h:
20595           more docs fixes, add new api to the docs
20596
20597 2005-11-21  Andy Wingo  <wingo@pobox.com>
20598
20599         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20600         state_broadcast call.
20601
20602         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20603
20604 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20605
20606         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20607         function calls for arrays.
20608
20609 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20610
20611         * docs/random/ensonic/media-device-daemon.txt:
20612           wild idea, can this be done?
20613         * docs/gst/gstreamer-sections.txt:
20614         * gst/gsterror.h:
20615         * gst/gstfilter.c:
20616         * gst/gstfilter.h:
20617         * gst/gstplugin.h:
20618         * gst/gstpluginfeature.c:
20619         * gst/gsttrace.c:
20620         * gst/gstvalue.c:
20621         * gst/gstvalue.h:
20622           doc fixes and additions
20623
20624 2005-11-21  Andy Wingo  <wingo@pobox.com>
20625
20626         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20627         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20628         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20629         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20630         private to the basesrc implementation.
20631
20632         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20633         behalf of event function if necessary. It should no longer be
20634         necessary to take the stream lock in pad's event functions. Fixes
20635         #320299.
20636
20637 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20638         * docs/gst/gstreamer-sections.txt:
20639         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20640         (gst_structure_fixate_field_nearest_double),
20641         (gst_structure_fixate_field_boolean):
20642         * gst/gststructure.h:
20643         * win32/common/libgstreamer.def:
20644         * win32/gstreamer.def:
20645
20646         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20647         (#322027)
20648
20649 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20650
20651         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20652         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20653         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20654         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20655         (gst_fdsrc_uri_handler_init):
20656         * gst/elements/gstfdsrc.h:
20657           Port fd:// URI handler from 0.8 to fdsrc
20658
20659 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20660
20661         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20662         (gst_value_serialize_fourcc):
20663         * gst/gstvalue.h:
20664           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20665           consistent with our other format defines (#320324).
20666
20667 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20668
20669         * gst/gstvalue.c: (gst_value_is_fixed):
20670           Revert previous commit. Value lists are by definition
20671           not fixed, as they are a list of possible values.
20672
20673 2005-11-21  Andy Wingo  <wingo@pobox.com>
20674
20675         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20676         during the stable series if we need it. Fixes #319178.
20677
20678         * gst/gstevent.c (gst_event_new_filler): Removed.
20679
20680         * check/gst/gstevent.c: Update comment about filler events.
20681
20682 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20683
20684         * gst/gstvalue.c: (gst_value_is_fixed):
20685           Should handle both value arrays and value lists.
20686
20687 2005-11-21  Andy Wingo  <wingo@pobox.com>
20688
20689         patch by: Alessandro Dessina <alessandro nnva org>
20690
20691         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20692         functions to access arrays. Fixes #321962.
20693
20694 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20695
20696         * docs/gst/gstreamer.types:
20697           gst_collectpads_get_type => gst_collect_pads_get_type.
20698           
20699         * gst/base/gstbasetransform.c:
20700           Remove unused SIGNAL_HANDOFF enum.
20701
20702 2005-11-21  Andy Wingo  <wingo@pobox.com>
20703
20704         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20705         the event type (upstream, downstream, serialized). Renamed
20706         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20707         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20708         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20709
20710         * gst/gstevent.c: Update for new CUSTOM event names.
20711
20712         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20713
20714         * gst/gstevent.h:
20715         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20716         bug #319392.
20717
20718 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20719
20720         * docs/gst/gstreamer-sections.txt:
20721         * win32/common/libgstbase.def:
20722         * win32/libgstbase.def:
20723         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20724         (gst_collect_pads_class_init), (gst_collect_pads_init),
20725         (gst_collect_pads_finalize), (gst_collect_pads_new),
20726         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20727         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20728         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20729         (gst_collect_pads_start), (gst_collect_pads_stop),
20730         (gst_collect_pads_peek), (gst_collect_pads_pop),
20731         (gst_collect_pads_available), (gst_collect_pads_read),
20732         (gst_collect_pads_flush), (gst_collect_pads_event),
20733         (gst_collect_pads_chain):
20734         * gst/base/gstcollectpads.h:
20735           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20736           unimplemented functions as unimplemented. Add padding to
20737           GstCollectData. (#320766, #320423)
20738
20739 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20740
20741         * gst/gstmessage.c:
20742           Improve docs for DURATION message (usage of duration parameter)
20743           (#320113)
20744
20745 2005-11-20  Wim Taymans  <wim@fluendo.com>
20746
20747         * check/Makefile.am:
20748         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20749         (main):
20750         * gst/Makefile.am:
20751         * gst/gst.h:
20752         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20753         (gst_segment_set_seek), (gst_segment_set_newsegment),
20754         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20755         (gst_segment_clip):
20756         * gst/gstsegment.h:
20757         Added segment helper structure and methods. Not fully implemented
20758         yet.
20759         Added segment check.
20760
20761 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20762
20763         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20764           Add a deserialisation test for fractions
20765         * examples/metadata/read-metadata.c: (message_loop),
20766         (make_pipeline), (main):
20767           Fix up metadata reading sample.
20768         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20769           Debug format fix
20770         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20771           Don't try and fixate empty caps
20772         * gst/gst_private.h:
20773           Wrap in G_BEGIN_DECLS/G_END_DECLS
20774         * gst/gstvalue.c: (gst_value_collect_fraction),
20775         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20776         (gst_value_transform_string_fraction),
20777         (gst_value_compare_fraction):
20778           Add some extra guards to ensure that we don't end up 
20779           with an invalid denominator of 0 in a gstfraction and
20780           that fractions always get reduced.
20781
20782 2005-11-20  Wim Taymans  <wim@fluendo.com>
20783
20784         * docs/gst/gstreamer-sections.txt:
20785         * gst/gstbuffer.h:
20786         * gst/gstelement.c:
20787         * gst/gstformat.c:
20788         * gst/gstformat.h:
20789         * gst/gstindex.h:
20790         * gst/gstquery.c:
20791         * gst/gstquery.h:
20792         * gst/gstvalue.c:
20793         Doc fixes.
20794
20795 2005-11-20  Wim Taymans  <wim@fluendo.com>
20796
20797         * docs/design/part-TODO.txt:
20798         * gst/gstcaps.h:
20799         Make a proper enum of the flag.
20800
20801 2005-11-19  Wim Taymans  <wim@fluendo.com>
20802
20803         * docs/design/part-TODO.txt:
20804         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20805         (gst_format_to_quark), (gst_format_register):
20806         * gst/gstformat.h:
20807         * gst/gstquery.c: (_gst_query_initialize),
20808         (gst_query_type_get_name), (gst_query_type_to_quark),
20809         (gst_query_type_register):
20810         * gst/gstquery.h:
20811         Add type to quark and type to string conversions.
20812
20813 2005-11-19  Andy Wingo  <wingo@pobox.com>
20814
20815         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20816         #320097.
20817
20818 2005-11-19  Wim Taymans  <wim@fluendo.com>
20819
20820         * docs/design/part-TODO.txt:
20821         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20822         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20823         (gst_bin_handle_message_func):
20824         * gst/gstbin.h:
20825         Make message handling overridable.
20826
20827 2005-11-19  Andy Wingo  <wingo@pobox.com>
20828
20829         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20830
20831         * gst/gstclock.h:
20832         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20833         be a GstClockTime.
20834         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20835         is a GstClockTime. Fixes #321710.
20836
20837         * gst/gstclock.h (GstClock): Remove offset property. Add
20838         internal_calibration and external_calibration. Fix padding. Pad
20839         also by GstClockTime so we don't run into problems.
20840
20841         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20842         (gst_clock_get_rate_offset): Remove.
20843         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20844
20845         * gst/gstutils.h:
20846         * gst/gstutils.c (g_static_rec_cond_wait)
20847         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20848
20849         * gst/gstbin.c: Remove terrible continue_state prototype.
20850
20851         * gst/gstelement.h (gst_element_continue_state): Make public.
20852
20853         * gst/gstelement.h:
20854         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20855         by continue_state. Fixes #319389.
20856
20857         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20858         Really fixes #168438. However I don't see anywhere where the
20859         filter function is called... stupid GStreamer...
20860         
20861         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20862         don't have a dispose function, so it won't get called when the
20863         object is unreffed, but oh well!
20864
20865         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20866         allows a destroy function to be set so user_data can be freed.
20867         Fixes #168438.
20868         (gst_index_set_filter): Call gst_index_set_filter_full.
20869
20870         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20871
20872         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20873         string should produce an error, given the lack of a way to
20874         represent NULL strings. Fixes #165650.
20875         
20876         * gst/gstvalue.h: 
20877         * gst/gstvalue.c (gst_value_array_append_value) 
20878         (gst_value_array_prepend_value, gst_value_array_get_size) 
20879         (gst_value_array_get_value): New API, copied from
20880         gst_value_list_*, only operates on arrays.
20881         (gst_value_list_append_value, gst_value_list_prepend_value) 
20882         (gst_value_list_concat, gst_value_list_get_size) 
20883         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20884
20885         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20886         init_list, because it works on both.
20887         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20888         (gst_value_copy_list_or_array): Renamed from copy_list.
20889         (gst_value_free_list_or_array): Renamed from free_list.
20890         (gst_value_collect_list_or_array): Renamed from collect_list.
20891         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20892         (gst_value_list_or_array_peek_pointer): Renamed from
20893         list_peek_pointer.
20894         (_gst_value_array_value_table, _gst_value_list_value_table):
20895         Update value table functions.
20896         (gst_value_compare_list_or_array): Renamed from compare_list.
20897
20898         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20899         some constness.
20900
20901         * gst/gsttaglist.c:
20902         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20903         GstTagList*. Fixes #143472.
20904
20905         * gst/gststructure.h: Clarify what the foreach/map functions can
20906         or can't do to their arguments.
20907
20908 2005-11-18  Wim Taymans  <wim@fluendo.com>
20909
20910         * gst/gstclock.c: (gst_clock_set_calibration),
20911         (gst_clock_get_calibration):
20912         Doc and API fixes.
20913         Calibration can be set with internal time equal to current
20914         internal time too.
20915
20916 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20917
20918         * gst/gsterror.c:
20919         * gst/gsterror.h:
20920           document
20921
20922 2005-11-18  Andy Wingo  <wingo@pobox.com>
20923
20924         * configure.ac: 
20925         * pkgconfig/gstreamer-net.pc.in:
20926         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20927         * pkgconfig/Makefile.am: Add net pkgconfig files.
20928
20929 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20930
20931         * gst/gstcaps.c:
20932         * gst/gstghostpad.c:
20933         * gst/gsttrace.c:
20934         * gst/gstvalue.c:
20935         * gst/gstvalue.h:
20936           docs fixes
20937
20938 2005-11-18  Andy Wingo  <wingo@pobox.com>
20939
20940         * gst/net/gstnetclientclock.c: Turn off debugging.
20941
20942         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20943         times connverge somewhat. Can't make a real test.
20944
20945         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20946         integer arithmetic. Return the minimum of the domain, which can be
20947         set as "internal" for gst_clock_set_calibration.
20948         (gst_net_client_clock_observe_times): Call _set_calibration.
20949         (gst_net_client_clock_new): Call _set_calibration instead of
20950         rate_offset.
20951
20952         * check/net/gstnetclientclock.c (test_functioning): Use the right
20953         adjustment api.
20954
20955         * gst/gstclock.h:
20956         * gst/gstclock.c (gst_clock_get_calibration) 
20957         (gst_clock_set_calibration): New functions, obsolete the ones I
20958         added yesterday. Doh. Precision issues mean we have to extrapolate
20959         from a point in the more recent past than 1970.
20960         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20961         obsolete.
20962         (gst_clock_adjust_unlocked): Use the right calibration data.
20963
20964 2005-11-18  Edward Hervey  <edward@fluendo.com>
20965
20966         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20967         Also reset the ->current_* values in READY->PAUSED
20968
20969 2005-11-18  Andy Wingo  <wingo@pobox.com>
20970
20971         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20972         Whoops, check the right fd. Also add some debugging.
20973         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20974         (do_linear_regression): Add a crapload of debugging. Subtract off
20975         the minimum values from the input series to discard unneeded bits.
20976         Use only int arithmetic. There is still double arithmetic when
20977         calculating the intercept that needs fixing. Return boolean to
20978         indicate success; FALSE would mean the domain or range is too
20979         great. Still needs fixes.
20980
20981 2005-11-18  Wim Taymans  <wim@fluendo.com>
20982
20983         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20984         For the current position in stream time, we need to subtract
20985         accumulated time.
20986         
20987         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20988         Release lock before calling the callback function of async
20989         entries.
20990
20991 2005-11-18  Andy Wingo  <wingo@pobox.com>
20992
20993         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20994         Port goes all the way to MAXUINT16.
20995
20996         * gst/net/gstnettimeprovider.c: Make the port range the same as
20997         for the kernel: 0 assigns, otherwise ports are less than
20998         MAXUINT16.
20999
21000         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21001         port change.
21002
21003         * check/net/gstnetclientclock.c (test_functioning): Add the start
21004         of another test. 
21005
21006 2005-11-18  Wim Taymans  <wim@fluendo.com>
21007
21008         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21009         (gst_bin_remove_func), (bin_bus_handler):
21010         * gst/gstbin.h:
21011         Removing a clock provider from a bin, triggers a clock lost message
21012         so that a new clock will be selected.
21013         Adding a clock to a bin triggers a clock provider message.
21014         Make sure we reselect a clock when we received a clock lost message.
21015         Keep a reference to the element that provided the clock.
21016
21017 2005-11-18  Andy Wingo  <wingo@pobox.com>
21018
21019         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21020         the clock initially so it produces values around the base time.
21021         (gst_net_client_clock_class_init): Typo fix.
21022         (gst_net_client_clock_thread): Add note on when the socket gets
21023         closed.
21024
21025 2005-11-17  Wim Taymans  <wim@fluendo.com>
21026
21027         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21028         Free remote and local time arrays.
21029
21030 2005-11-17  Wim Taymans  <wim@fluendo.com>
21031
21032         * gst/net/gstnetclientclock.c: (do_linear_regression),
21033         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21034         Fix compilation, uninitialized vars and a forgotten continue.
21035
21036 2005-11-17  Andy Wingo  <wingo@pobox.com>
21037
21038         * check/Makefile.am (check_PROGRAMS): 
21039         * check/net/gstnetclientclock.c: Add a most minimal test for the
21040         net client clock. More to come later.
21041
21042         * gst/net/gstnet.h: 
21043         * gst/net/Makefile.am: Add netclientclock.
21044
21045         * gst/net/gstnetclientclock.h:
21046         * gst/net/gstnetclientclock.c: New files, implement an untested
21047         GstClock that takes its time from a network time provider.
21048         Implements the algorithm in network-clock.scm.
21049
21050         * tests/network-clock.scm (*window-size*): Rename from
21051         *queue-length*.
21052         * tests/network-clock.scm (network-time): 
21053         * tests/network-clock-utils.scm (q-push): Update callers.
21054
21055 2005-11-17  Wim Taymans  <wim@fluendo.com>
21056
21057         * gst/gstbin.c: (gst_bin_provide_clock_func),
21058         (gst_bin_sort_iterator_new):
21059         And unref the child too..
21060
21061 2005-11-17  Wim Taymans  <wim@fluendo.com>
21062
21063         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21064         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21065         Refactor the sort iterator so it can be used while holding the
21066         LOCK too.
21067         Make clock selection select a clock closest to the source.
21068
21069 2005-11-17  Michael Smith <msmith@fluendo.com>
21070
21071         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21072         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21073         * gst/gstclock.h:
21074           Anonymous structs are a gcc (and some other compilers) extension, so
21075           don't use them. Since this is only for ABI-compatibility, and our
21076           API/ABI freeze is over in a few days, this whole thing will only
21077           last a few days, so don't bother trying to think up a meaningful
21078           name for the struct.
21079
21080 2005-11-17  Andy Wingo  <wingo@pobox.com>
21081
21082         * gst/gstclock.h (GstClock): Add rate and offset properties,
21083         preserving ABI stability. Add rate/offset accessors. Will file bug
21084         for the freeze break.
21085
21086         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21087         and offset, trying to keep precision and avoiding
21088         underflow/overflow.
21089         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21090         functions. Make gst_clock_set_time_adjust obsolete.
21091         (gst_clock_set_time_adjust): Note that this function is obsolete.
21092         Will file bug soon.
21093
21094         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21095         greppable by using GST_PADDING-1+1.
21096
21097 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21098
21099         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21100
21101         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21102           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21103
21104         * gst/gstpadtemplate.h:
21105         * gst/gstpluginfeature.h:
21106           Don't use c++ style comments in headers (#321638).
21107
21108 2005-11-16  Andy Wingo  <wingo@pobox.com>
21109
21110         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21111         buffer.
21112
21113         * check/net/gstnettimeprovider.c: Check to see that the time
21114         provider actually provides times. Works, yo!
21115
21116 2005-11-16  Wim Taymans  <wim@fluendo.com>
21117
21118         * check/Makefile.am:
21119         Enable more tests.
21120
21121         * check/elements/fakesrc.c: (GST_START_TEST):
21122         Set element to NULL before disposing it.
21123
21124 2005-11-16  Andy Wingo  <wingo@pobox.com>
21125
21126         * gst/net/Makefile.am:
21127         * gst/net/gstnet.h:
21128         * gst/net/gstnettimeprovider.c: 
21129         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21130         provider, include it from gstnet.h, and add it to the build.
21131
21132         * gst/net/gstnettimepacket.h: 
21133         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21134         sending and receiving.
21135
21136 2005-11-16  Wim Taymans  <wim@fluendo.com>
21137
21138         * check/Makefile.am:
21139         Enable valgrind check.
21140
21141         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21142         (gst_fake_src_alloc_buffer):
21143         Fix memleak.
21144
21145 2005-11-16  Wim Taymans  <wim@fluendo.com>
21146
21147         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21148         Call parent finalize too.
21149
21150 2005-11-16  Wim Taymans  <wim@fluendo.com>
21151
21152         * check/Makefile.am:
21153         Enable valgrind check that should work fine now.
21154
21155         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21156         * gst/gstqueue.c: (gst_queue_init):
21157         Fix memleaks in pad allocation.
21158
21159 2005-11-16  Andy Wingo  <wingo@pobox.com>
21160
21161         * gst/net/Makefile.am:
21162         * gst/net/gstnet.h: New part of core to hold network elements and
21163         objects. Put in core because it exposes API that applications want
21164         to use. The library is named libgstnet-tempname right now because
21165         of the existing libgstnet in gst-plugins-base. Solution is
21166         probably to rename the one in plugins-base; will file a bug for
21167         the freeze break.
21168
21169         * gst/net/gstnettimeprovider.c: 
21170         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21171         get_time call over the network.
21172
21173         * configure.ac: 
21174         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21175
21176         * check/Makefile.am:
21177         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21178         get additions shortly.
21179
21180 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21181
21182         * gst/gstpad.c: (gst_pad_new_from_static_template):
21183         * gst/gstpad.h:
21184           add gst_pad_new_from_static_template functions
21185         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21186         (gst_check_setup_sink_pad):
21187         * gst/elements/gsttee.c: (gst_tee_init):
21188           and use them
21189
21190 2005-11-16  Wim Taymans  <wim@fluendo.com>
21191
21192         * gst/gstpad.c: (gst_pad_pause_task):
21193         Removed warning, it's not really an error either.
21194
21195 2005-11-16  Wim Taymans  <wim@fluendo.com>
21196
21197         * gst/base/gstbasetransform.c:
21198         (gst_base_transform_prepare_output_buf),
21199         (gst_base_transform_event):
21200         Check if the caps are NULL, this can happen if the element
21201         is shutting down and the pad caps are set to NULL.
21202
21203 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21204
21205         * gst/elements/gsttee.c: (gst_tee_init):
21206           fix pad template leak in tee
21207
21208 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21209
21210         * gst/glib-compat.c: (g_value_dup_gst_object):
21211         * gst/glib-compat.h:
21212         * gst/gstpad.c: (gst_pad_set_property):
21213           use gst_object_ref when setting the pad template; this will
21214           trigger the pad template leaks on GLib 2.6 and the slaves
21215
21216 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21217
21218         * gst/glib-compat.c: (gst_flags_get_first_value):
21219         * gst/glib-compat.h:
21220         * gst/gstregistryxml.c:
21221           remove functions copied from GLib 2.6
21222
21223 2005-11-16  Michael Smith <msmith@fluendo.com>
21224
21225         * gst/Makefile.am:
21226           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21227           do, but only breaks with newer valgrind versions. We're not a
21228           valgrind tool, we have no link-time dependencies on libcoregrind.
21229
21230 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21231
21232         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21233           some debug changes
21234         * gst/gstmessage.h:
21235           typo fixes
21236
21237 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21238
21239         * gst/base/gstbasesrc.c: (gst_base_src_init):
21240         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21241         * gst/gstqueue.c: (gst_queue_init):
21242         * gst/gstregistryxml.c: (load_feature):
21243           Revert all these unrefs, they don't even pass make check !
21244
21245 2005-11-15  Johan Dahlin  <johan@gnome.org>
21246
21247         * gst/base/gstbasesrc.c: (gst_base_src_init):
21248         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21249         * gst/gstqueue.c: (gst_queue_init): 
21250         Free pad templates, fixes a couple of leaks.
21251
21252 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21253
21254         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21255
21256         * gst/gstpad.c: (gst_pad_get_property):
21257           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21258           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21259           (#321452)
21260
21261 2005-11-15  Wim Taymans  <wim@fluendo.com>
21262
21263         * gst/gstevent.c:
21264         Small doc update.
21265
21266 2005-11-15  Andy Wingo  <wingo@pobox.com>
21267
21268         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21269
21270         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21271         using GST_CLOCK_TIME_NONE to disable base time management.
21272         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21273         time if it was NONE before.
21274         (gst_pipeline_change_state): Only munge the base time if
21275         stream_time != GST_CLOCK_TIME_NONE.
21276
21277         * check/gst/gstpipeline.c (test_base_time): Punt around the
21278         problem of the probe not being called, because that's not the
21279         issue I'm looking at. Add a check that setting stream_time to NONE
21280         disables base time management.
21281         
21282 2005-11-15  Wim Taymans  <wim@fluendo.com>
21283
21284         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21285         segment_stop == -1 at startup.
21286
21287         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21288         (gst_base_transform_change_state):
21289         Init segment values at start.
21290
21291 2005-11-15  Wim Taymans  <wim@fluendo.com>
21292
21293         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21294         0 segment values are 0 in any format.
21295
21296         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21297         * gst/base/gstbasetransform.h:
21298         Parse newsegment correctly in basetransform
21299
21300         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21301         Sync to clock using updated segment values.
21302
21303 2005-11-15  Andy Wingo  <wingo@pobox.com>
21304
21305         * check/gst/gstpipeline.c (test_base_time): Add check that the
21306         base time and stream time are reset correctly.
21307
21308 2005-11-15  Wim Taymans  <wim@fluendo.com>
21309
21310         * docs/design/part-TODO.txt:
21311         Some more TODO items.
21312
21313 2005-11-15  Andy Wingo  <wingo@pobox.com>
21314
21315         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21316         error if the user selected "no clock" as the clocking method.
21317
21318         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21319         timestamps with live capture.
21320
21321         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21322         is 0 but we are a live source, timestamp the buffers using the
21323         element's clock.
21324
21325 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21326
21327         * docs/gst/gstreamer-sections.txt:
21328         * gst/gsterror.c:
21329         * gst/gstghostpad.c:
21330         * gst/gstobject.h:
21331         * gst/gstxml.c:
21332           more section docs
21333
21334 2005-11-14  Wim Taymans  <wim@fluendo.com>
21335
21336         * common/gst.supp:
21337           add suppressions from Wim's Debian machine
21338
21339 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21340
21341         * common/gst.supp:
21342           add suppressions from Andy's AMD64 Ubuntu machine
21343
21344 2005-11-14  Andy Wingo  <wingo@pobox.com>
21345
21346         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21347         STATE_LOCK not necessary. Fixes #311489.
21348
21349         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21350         #305291.
21351
21352         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21353         this function is not implemented.
21354
21355 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21356
21357         * gst/base/gstbasetransform.c:
21358         (gst_base_transform_prepare_output_buf):
21359         Ref the source pad caps while we need them.
21360         Fixes (#321386)
21361
21362 2005-11-11  Wim Taymans  <wim@fluendo.com>
21363
21364         * docs/gst/gstreamer-sections.txt:
21365         Added some docs for GstCollectData.
21366
21367         * gst/base/gstadapter.c:
21368         Some small code example fix.
21369
21370         * gst/base/gstcollectpads.c:
21371         * gst/base/gstcollectpads.h:
21372         Document some more.
21373
21374 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21375
21376         * configure.ac: back to HEAD
21377
21378 === release 0.9.5 ===
21379
21380 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21381
21382         * configure.ac:
21383           releasing 0.9.5, "Bike Lunch Day"
21384
21385 2005-11-11  Wim Taymans  <wim@fluendo.com>
21386
21387         * gst/gstbuffer.c: (_gst_buffer_copy):
21388         Copy more flags.
21389
21390         * gst/gstcaps.c: (gst_caps_is_equal):
21391         Fix some docs.
21392         Make _is_equal fast in the trivial cases.
21393
21394         * gst/gstminiobject.c:
21395         * gst/gstminiobject.h:
21396         More docs. Spifify .h file.
21397
21398         * gst/gstutils.c:
21399         Small doc update.
21400
21401 2005-11-11  Wim Taymans  <wim@fluendo.com>
21402
21403         * gst/base/gstbasetransform.c:
21404         (gst_base_transform_prepare_output_buf),
21405         (gst_base_transform_handle_buffer):
21406         Small cleanups.
21407         If we're processing a buffer and need to allocate an output
21408         buffer, we cannot accept a format change. If we did get a 
21409         format change, we have to alloc a buffer ourselves of the 
21410         right size.
21411
21412 2005-11-11  Wim Taymans  <wim@fluendo.com>
21413
21414         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21415         While checking the flag for reentrancy in the gstcaps function
21416         is nice to detect recursive invocations, it also makes it 
21417         impossible to call getcaps from multiple threads, which must be
21418         possible. So, checking for recursive calls has to go.
21419
21420 2005-11-11  Michael Smith <msmith@fluendo.com>
21421
21422         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21423           Don't sync on buffers that fall partially outside our current
21424           segment. Prevents an assertion failure/abort playing some files.
21425
21426 2005-11-10  Andy Wingo  <wingo@pobox.com>
21427
21428         * check/gst/gstbin.c (test_message_state_changed_children): Style
21429         fix..
21430
21431         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21432         gst_bus_poll with the signal watch. Ensures that poll and a signal
21433         watch see the same messages.
21434
21435         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21436         a poll and a watch at the same time get the same messages.
21437
21438 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21439
21440         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21441         * gst/gstcaps.c: (gst_caps_intersect):
21442           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21443           and it's not needed.
21444
21445 2005-11-10  Wim Taymans  <wim@fluendo.com>
21446
21447         * docs/design/part-TODO.txt:
21448         Updated todo.
21449
21450 2005-11-10  Wim Taymans  <wim@fluendo.com>
21451
21452         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21453         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21454         (gst_base_src_do_sync), (gst_base_src_get_range):
21455         Implement clock sync in base class.
21456
21457 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21458
21459         patch by: Tim-Philipp Müller <tim at centricular dot net>
21460
21461         * gst/gststructure.c: (gst_structure_parse_field),
21462         (gst_structure_from_string):
21463           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21464           so that gst_parse_launch() can deal with spaces in filtered link
21465           caps (fixes #164479)
21466         * check/gst/capslist.h:
21467         * check/gst/gststructure.c: (GST_START_TEST):
21468           add unit tests for this change
21469
21470 2005-11-10  Wim Taymans  <wim@fluendo.com>
21471
21472         * docs/gst/gstreamer-sections.txt:
21473         * gst/gstelement.c:
21474         * gst/gstelement.h:
21475         Fix docs, move some STATE macros to private.
21476
21477 2005-11-10  Wim Taymans  <wim@fluendo.com>
21478
21479         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21480         Added check for bug #317341
21481
21482         * gst/gstbuffer.c:
21483         * gst/gstbuffer.h:
21484         Some more spiffifying.
21485
21486         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21487         Call peer linkfunction if we are a source pad. Totally fixes
21488         #317341
21489
21490         * gst/gstpad.c:
21491         Update docs, source pads should call the peer linkfunction
21492         so they can atomically perform the pad link.
21493
21494 2005-11-09  Wim Taymans  <wim@fluendo.com>
21495
21496         * gst/gstbuffer.c:
21497         * gst/gstbuffer.h:
21498         Uber-spiffy-spiffify some more.
21499
21500 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21501
21502         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21503         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21504         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21505         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21506         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21507         * gst/gstpad.c: (gst_pad_init):
21508           Use GST_DEBUG_FUNCPTR() more extensively.
21509
21510 2005-11-09  Wim Taymans  <wim@fluendo.com>
21511
21512         * gst/gstobject.c: (gst_object_class_init):
21513         * gst/gstobject.h:
21514         Documentation fixes.
21515
21516 2005-11-09  Edward Hervey  <edward@fluendo.com>
21517
21518         * gst/gsttypefindfactory.c:
21519         Fix docs.
21520         
21521 2005-11-09  Edward Hervey  <edward@fluendo.com>
21522
21523         * gst/base/gsttypefindhelper.c:
21524         * gst/gsttypefind.c:
21525         * gst/gsttypefind.h:
21526         Fix docs.
21527
21528 2005-11-09  Wim Taymans  <wim@fluendo.com>
21529
21530         * gst/gstiterator.c:
21531         Fix revision data.
21532
21533         * gst/gsttask.c:
21534         * gst/gsttask.h:
21535         Fix docs.
21536
21537 2005-11-09  Wim Taymans  <wim@fluendo.com>
21538
21539         * gst/gstevent.h:
21540         * gst/gsturi.h:
21541         Fix docs.
21542
21543 2005-11-09  Wim Taymans  <wim@fluendo.com>
21544
21545         * docs/gst/gstreamer-sections.txt:
21546         Moved the message async delivery private lock and cond
21547         to the private section.
21548
21549         * gst/gstmessage.c:
21550         * gst/gstmessage.h:
21551         Fixed docs.
21552
21553 2005-11-09  Edward Hervey  <edward@fluendo.com>
21554
21555         * docs/gst/gstreamer-sections.txt:
21556         * gst/gsturi.c:
21557         * gst/gsturi.h:
21558         Document GstURIHandler
21559
21560 2005-11-09  Wim Taymans  <wim@fluendo.com>
21561
21562         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21563         (gst_iterator_find_custom):
21564         * gst/gstiterator.h:
21565         Fix iterator docs.
21566
21567 2005-11-09  Wim Taymans  <wim@fluendo.com>
21568
21569         * gst/gstbin.h:
21570         Document another field.
21571
21572         * gst/gststructure.c:
21573         * gst/gststructure.h:
21574         Document.
21575
21576 2005-11-09  Wim Taymans  <wim@fluendo.com>
21577
21578         * gst/gstbin.h:
21579         Documented structs.
21580
21581 2005-11-09  Wim Taymans  <wim@fluendo.com>
21582
21583         * docs/gst/gstreamer-sections.txt:
21584         Added some new macros.
21585
21586         * gst/gstclock.c:
21587         * gst/gstclock.h:
21588         * gst/gstobject.h:
21589         Docs updates.
21590
21591 2005-11-09  Wim Taymans  <wim@fluendo.com>
21592
21593         * docs/design/part-TODO.txt:
21594         Some more items for the TODO
21595
21596         * gst/gstcaps.c:
21597         * gst/gstcaps.h:
21598         Document GstCaps.
21599
21600 2005-11-09  Andy Wingo  <wingo@pobox.com>
21601
21602         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21603         to work on something else now tho...
21604
21605         * gst/base/gstadapter.c: More adapter docs.
21606
21607         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21608         (gst_file_sink_stop): New functions, replace the state change
21609         handler.
21610         (gst_file_sink_class_init): Hook up the start and stop functions.
21611         (gst_file_sink_base_init): Don't set the state change handler any
21612         more. It was a bit ugly too, being set from here...
21613         (gst_file_sink_get_property, gst_file_sink_set_property):
21614         Cleanups...
21615         (gst_file_sink_set_location): More robust check that doesn't call
21616         GST_STATE. Ugggggg.
21617
21618 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21619
21620         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21621           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21622
21623 2005-11-08  Wim Taymans  <wim@fluendo.com>
21624
21625         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21626         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21627         (gst_base_sink_chain), (gst_base_sink_change_state):
21628         * gst/base/gstbasesink.h:
21629         * gst/base/gstbasesrc.h:
21630         * gst/gstelement.h:
21631         * gst/gstevent.h:
21632         Avoid excessive typechecking in macros.
21633
21634         * gst/gstminiobject.c: (gst_mini_object_get_type),
21635         (gst_mini_object_init), (gst_mini_object_new),
21636         (gst_mini_object_free):
21637         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21638         (gst_object_finalize):
21639         Remove cruft code, optimize alloc_trace.
21640
21641 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21642
21643         * docs/faq/gst-uninstalled:
21644           fix up PS1 for systems that try to reset it
21645
21646 2005-11-07  Wim Taymans  <wim@fluendo.com>
21647
21648         * gst/base/gstbasesrc.c: (gst_base_src_init),
21649         (gst_base_src_get_range):
21650         Set the segment_end to -1 initially. Fixed typefind.
21651
21652 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21653
21654         * gst/base/gstadapter.c:
21655           Debug category should be 'adapter', not 'GstAdapter'.
21656           
21657         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21658         (gst_collectpads_class_init), (gst_collectpads_init),
21659         (gst_collectpads_peek), (gst_collectpads_pop),
21660         (gst_collectpads_event), (gst_collectpads_chain):
21661           Add debug category and some debugging output. Use boilerplate
21662           macros. Remove some extraneous words from docs.
21663
21664 2005-11-05  Andy Wingo  <wingo@pobox.com>
21665
21666         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21667         macro.
21668
21669 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21670
21671         * docs/gst/gstreamer-sections.txt:
21672         * gst/gstcaps.h:
21673         * gst/gstinfo.c:
21674         * gst/gstminiobject.h:
21675         * gst/gstobject.h:
21676         * gst/gstutils.h:
21677           more docs added
21678
21679 2005-11-04  Wim Taymans  <wim@fluendo.com>
21680
21681         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21682         Small update to stop at the configured segment_end
21683         position.
21684
21685 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21686
21687         * gst/gstregistry.c:
21688         * gst/gstregistry.h:
21689           added missing docs
21690
21691 2005-11-04  Edward Hervey  <edward@fluendo.com>
21692
21693         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21694         Check if we are doing a segment seek and have arrived at the
21695         end of that segment.
21696
21697 2005-11-04  Wim Taymans  <wim@fluendo.com>
21698
21699         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21700         Don't leak a mutex unlock in case of an error.
21701
21702         * gst/gstbus.h:
21703         Doc fixes.
21704
21705 2005-11-04  Wim Taymans  <wim@fluendo.com>
21706
21707         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21708         (gst_bus_post):
21709         Get the context to wake up only once.
21710
21711 2005-11-03  Wim Taymans  <wim@fluendo.com>
21712
21713         * check/states/sinks.c: (GST_START_TEST):
21714         Uncomment fixed check.
21715
21716         * docs/design/part-TODO.txt:
21717         Updated TODO.
21718
21719         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21720         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21721         (gst_base_sink_get_position):
21722         If we are going to PLAYING, post the right pending state
21723         when we post the intermediate paused message.
21724
21725         * gst/gstelement.c: (gst_element_continue_state),
21726         (gst_element_set_state_func), (gst_element_change_state):
21727         Don't post state changes that were between the same state
21728         and were not ASYNC.
21729
21730 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21731
21732         * docs/gst/gstreamer-sections.txt:
21733         * gst/gstcaps.h:
21734         * gst/gstinfo.c:
21735         * gst/gstminiobject.h:
21736         * gst/gstobject.h:
21737         * gst/gstutils.h:
21738           more docs and doc style fixes
21739
21740 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21741
21742         * docs/gst/gstreamer-sections.txt:
21743         * gst/gstelement.c:
21744         * gst/gstminiobject.c:
21745         doc fixes
21746
21747 2005-11-03  Andy Wingo  <wingo@pobox.com>
21748
21749         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21750         state-changed messages actually have the right order and the right
21751         values.
21752
21753 2005-11-03  Wim Taymans  <wim@fluendo.com>
21754
21755         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21756         Added some more checks. Specifically the case where NO_PREROLL
21757         elements are in the pipeline.
21758
21759         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21760         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21761         (gst_base_sink_get_position):
21762         Post READY->PAUSED state change messages too.
21763         Fix bug where VOID was posted as pending state...
21764
21765         * gst/gstbin.c: (gst_bin_recalc_state):
21766         use _element_continue_state() to continue the state change.
21767
21768         * gst/gstelement.c: (gst_element_continue_state),
21769         (gst_element_commit_state), (gst_element_set_state_func),
21770         (gst_element_change_state), (gst_element_change_state_func):
21771         Lots of state change cleanups, assign the STATE_RETURN in
21772         a new continue_state() function that also propagates the
21773         last return value from a state change to the app.
21774         Update some debug statements with proper category.
21775
21776 2005-11-03  Wim Taymans  <wim@fluendo.com>
21777
21778         * docs/design/part-events.txt:
21779         * docs/design/part-gstpipeline.txt:
21780         * docs/design/part-messages.txt:
21781         * docs/design/part-overview.txt:
21782         * docs/design/part-seeking.txt:
21783         * docs/design/part-states.txt:
21784         * docs/design/part-trickmodes.txt:
21785         * docs/manual/advanced-position.xml:
21786         Small docs updates.
21787
21788         * gst/gstobject.h:
21789         People think !! is ugly, this looks better.
21790
21791         * gst/gstpad.c: (gst_pad_set_blocked_async):
21792         Remove !! since it's fixed elsewhere now.
21793
21794 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21795
21796         * gst/gstminiobject.h:
21797         * gst/gstobject.h:
21798           Add !! to _FLAG_IS_SET macros to make the result boolean.
21799
21800 2005-11-03  Edward Hervey  <edward@fluendo.com>
21801
21802         * gst/gstpad.c: (gst_pad_set_blocked_async):
21803         comparing a flag and a gboolean rarely returns coherent results...
21804         Added two characters (!!) to make that work correctly.
21805         
21806 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21807
21808         * gst/gstbus.c: (gst_bus_class_init):
21809           Fix some typos.
21810           
21811         * gst/gstqueue.c: (gst_queue_loop):
21812           Don't assume a miniobject that isn't a buffer is an
21813           event (it could be that there is a refcounting
21814           problem somewhere and the pointer is stale and
21815           refers to an already destroyed miniobject).
21816
21817 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21818
21819         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21820
21821 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21822
21823         * docs/manual/advanced-position.xml:
21824           Update seek example and explanations to current 0.9 API.
21825
21826         * gst/elements/gsttypefindelement.c:
21827         (gst_type_find_element_activate):
21828           Remove FIXME comment now that the found caps
21829           are unreffed.
21830
21831 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21832
21833         * gst/gstregistryxml.c: (load_feature):
21834           Add another GST_STR_NULL instance
21835
21836 2005-11-02  Edward Hervey  <edward@fluendo.com>
21837
21838         * gst/gstpad.c: (handle_pad_block):
21839         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21840         
21841 2005-11-02  Wim Taymans  <wim@fluendo.com>
21842
21843         * gst/gstbin.c:
21844         Fix typo in docs.
21845
21846         * gst/gstelement.c: (gst_element_commit_state):
21847         Remove unused value.
21848
21849         * gst/gstiterator.c:
21850         Mention that the returned element is reffed in the docs.
21851
21852 2005-11-02  Wim Taymans  <wim@fluendo.com>
21853
21854         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21855         (gst_pad_push), (gst_pad_push_event):
21856         Unlock blocked pads when they are flushed.
21857
21858 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21859
21860         * docs/README:
21861         * docs/gst/gstreamer-sections.txt:
21862         * gst/gstbin.c:
21863           doc updates
21864         * gst/gstregistry.c: (gst_registry_scan_path_level):
21865           fix for a nasty little missed situation where an installed plug-in
21866           which was in the cache did not get overridden by an uninstalled one
21867           which was earlier in the plugin path because the newly created plugin
21868           for the uninstalled one (not in the registry) didn't get its
21869           ->registered set to TRUE
21870
21871 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21872
21873         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21874         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21875         (gst_collectpads_is_active), (gst_collectpads_collect),
21876         (gst_collectpads_collect_range), (gst_collectpads_start),
21877         (gst_collectpads_stop), (gst_collectpads_peek),
21878         (gst_collectpads_pop), (gst_collectpads_available),
21879         (gst_collectpads_read), (gst_collectpads_flush):
21880           Guard public API with assertions.
21881         
21882         * gst/gstpad.c:
21883           Fix docs for gst_pad_set_link_function().
21884
21885 2005-11-02  Johan Dahlin  <johan@gnome.org>
21886
21887         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21888         Unref found_caps after we used it.
21889
21890 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21891
21892         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21893           Don't try to ref NULL.
21894
21895 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21896
21897         * win32/common/config.h.in:
21898           provide a GST_FUNCTION that just gives a string for now
21899
21900 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21901
21902         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21903         (gst_object_flags_get_type), (register_gst_bin_flags),
21904         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21905         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21906         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21907         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21908         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21909         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21910         (gst_clock_flags_get_type), (register_gst_state),
21911         (gst_state_get_type), (register_gst_state_change_return),
21912         (gst_state_change_return_get_type), (register_gst_state_change),
21913         (gst_state_change_get_type), (register_gst_element_flags),
21914         (gst_element_flags_get_type), (register_gst_core_error),
21915         (gst_core_error_get_type), (register_gst_library_error),
21916         (gst_library_error_get_type), (register_gst_resource_error),
21917         (gst_resource_error_get_type), (register_gst_stream_error),
21918         (gst_stream_error_get_type), (register_gst_event_type),
21919         (gst_event_type_get_type), (register_gst_seek_type),
21920         (gst_seek_type_get_type), (register_gst_seek_flags),
21921         (gst_seek_flags_get_type), (register_gst_format),
21922         (gst_format_get_type), (register_gst_index_certainty),
21923         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21924         (gst_index_entry_type_get_type),
21925         (register_gst_index_lookup_method),
21926         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21927         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21928         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21929         (gst_index_flags_get_type), (register_gst_debug_level),
21930         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21931         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21932         (gst_iterator_result_get_type), (register_gst_iterator_item),
21933         (gst_iterator_item_get_type), (register_gst_message_type),
21934         (gst_message_type_get_type), (register_gst_mini_object_flags),
21935         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21936         (gst_pad_link_return_get_type), (register_gst_flow_return),
21937         (gst_flow_return_get_type), (register_gst_activate_mode),
21938         (gst_activate_mode_get_type), (register_gst_pad_direction),
21939         (gst_pad_direction_get_type), (register_gst_pad_flags),
21940         (gst_pad_flags_get_type), (register_gst_pad_presence),
21941         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21942         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21943         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21944         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21945         (gst_plugin_flags_get_type), (register_gst_rank),
21946         (gst_rank_get_type), (register_gst_query_type),
21947         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21948         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21949         (gst_tag_flag_get_type), (register_gst_task_state),
21950         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21951         (gst_alloc_trace_flags_get_type),
21952         (register_gst_type_find_probability),
21953         (gst_type_find_probability_get_type), (register_gst_uri_type),
21954         (gst_uri_type_get_type), (register_gst_parse_error),
21955         (gst_parse_error_get_type):
21956         * win32/common/gstversion.h:
21957           update win32 copies
21958
21959 2005-11-01  Luca Ognibene  <luogni@tin.it>
21960
21961         * gst/gst.c:
21962           fix docs. popt is dead, long live GOption.
21963
21964 2005-10-31  Wim Taymans  <wim@fluendo.com>
21965
21966         * gst/gstbuffer.h:
21967         Small doc fix.
21968
21969 2005-10-31  Andy Wingo  <wingo@pobox.com>
21970
21971         * Boo!
21972
21973         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21974
21975         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21976         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21977         the possibility of deadlocks here if code calling notify() or
21978         set() has a lock that can be taken in another notify handler (ABBA
21979         with class lock and e.g. python GIL state lock).
21980
21981 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21982
21983         * gst/gstbus.c: Doc updates.
21984
21985 2005-10-28  Wim Taymans  <wim@fluendo.com>
21986
21987         * docs/design/part-TODO.txt:
21988         * gst/gstiterator.c:
21989         * gst/gstsystemclock.c:
21990         * gst/gstsystemclock.h:
21991         Doc updates.
21992
21993 2005-10-28  Edward Hervey  <edward@fluendo.com>
21994
21995         * docs/gst/gstreamer-docs.sgml:
21996         * docs/gst/gstreamer-sections.txt:
21997         the GstURIType documentation page is private, it only defines GstURIType
21998         which should be defined in the GstURIHandler page
21999         
22000 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22001
22002         * gst/gstbin.c: (gst_bin_class_init):
22003         * gst/gstbin.h:
22004         * gst/gstutils.c:
22005         Documentation updates.
22006
22007 2005-10-28  Wim Taymans  <wim@fluendo.com>
22008
22009         * docs/gst/gstreamer-sections.txt:
22010         * gst/gstclock.c:
22011         * gst/gstclock.h:
22012         Documented the clocks.
22013
22014 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22015
22016         * docs/gst/gstreamer-sections.txt:
22017           move some macros to private sections
22018         * gst/gstminiobject.c:
22019         * gst/gstminiobject.h:
22020           add descriptions provided by ds and some more
22021         * gst/gstpad.h:
22022           mark macro as to be removed
22023
22024 2005-10-28  Wim Taymans  <wim@fluendo.com>
22025
22026         * docs/design/part-TODO.txt:
22027         Add an item to TODO.
22028
22029         * gst/gstiterator.c: (gst_iterator_fold),
22030         (gst_iterator_find_custom):
22031         * gst/gstiterator.h:
22032         Add iterator docs.
22033
22034 2005-10-28  Wim Taymans  <wim@fluendo.com>
22035
22036         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22037         (gst_base_transform_init):
22038         Don't leak class.
22039
22040         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22041         An EOS event marks the queue as completely filled.
22042
22043 2005-10-27  Wim Taymans  <wim@fluendo.com>
22044
22045         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22046         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22047         Some more debugging.
22048
22049         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22050         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22051         (gst_base_transform_event), (gst_base_transform_getrange),
22052         (gst_base_transform_chain):
22053         * gst/base/gstbasetransform.h:
22054         Fix debugging,
22055         Protect transform and concurrent buffer alloc with a new lock.
22056         Try not to break ABI/API.
22057
22058 2005-10-27  Wim Taymans  <wim@fluendo.com>
22059
22060         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22061         (gst_base_src_init), (gst_base_src_query),
22062         (gst_base_src_default_newsegment),
22063         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22064         (gst_base_src_send_event), (gst_base_src_event_handler),
22065         (gst_base_src_pad_get_range), (gst_base_src_loop),
22066         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22067         (gst_base_src_start), (gst_base_src_deactivate),
22068         (gst_base_src_activate_push), (gst_base_src_change_state):
22069         Move some stuff around and cleanup things.
22070
22071 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22072
22073         * gst/base/gstbasesrc.c: (gst_base_src_query):
22074           Add missing break statements.
22075
22076 2005-10-27  Wim Taymans  <wim@fluendo.com>
22077
22078         * check/gst/gstbin.c: (GST_START_TEST):
22079         An extra refcount is taken in basesrc.
22080
22081         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22082         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22083         (gst_base_src_loop):
22084         Small cleanups, check for flushing after being unlocked from the 
22085         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22086         Don't send out EOS when going to READY.
22087
22088 2005-10-27  Wim Taymans  <wim@fluendo.com>
22089
22090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22091         (gst_base_sink_get_position):
22092         Some more debug.
22093
22094         * gst/gstbin.c: (message_check), (bin_replace_message),
22095         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22096         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22097         (bin_query_duration_init), (bin_query_duration_fold),
22098         (bin_query_duration_done), (bin_query_generic_fold),
22099         (gst_bin_query):
22100         * tools/gst-launch.c: (main):
22101         Remove old option.
22102
22103 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22104
22105         * examples/controller/audio-example.c: (main):
22106         * examples/queue/queue.c: (event_loop):
22107         * gst/base/gstbasetransform.h:
22108         * gst/gstelement.c: (gst_element_send_event):
22109         * gst/gstevent.h:
22110         * gst/gstpad.c: (gst_pad_send_event):
22111           fixing examples
22112           fixing docs typos
22113           changing log priority in error situations
22114
22115 2005-10-25  Wim Taymans  <wim@fluendo.com>
22116
22117         * gst/gstbin.c: (message_check), (bin_replace_message),
22118         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22119         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22120         (bin_query_duration_init), (bin_query_duration_fold),
22121         (bin_query_duration_done), (bin_query_generic_fold),
22122         (gst_bin_query):
22123         Some doc and debug updates.
22124         Cache previously requested query DURATION for speed. invalidate
22125         cached duration if element posts a DURATION message.
22126
22127 2005-10-25  Wim Taymans  <wim@fluendo.com>
22128
22129         * docs/design/part-TODO.txt:
22130         Update TODO.
22131
22132         * gst/gstbin.c: (message_check), (bin_replace_message),
22133         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22134         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22135         (bin_query_duration_init), (bin_query_duration_fold),
22136         (bin_query_duration_done), (bin_query_generic_fold),
22137         (gst_bin_query):
22138         Handle SEGMENT_START/DONE messages correctly.
22139         More evolved query algorithm that handles duration queries
22140         correctly.
22141
22142         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22143         (gst_element_get_state_func), (gst_element_abort_state),
22144         (gst_element_commit_state), (gst_element_lost_state):
22145         Some more debugging.
22146
22147         * gst/gstmessage.h:
22148         Added doc.
22149
22150 2005-10-25  Wim Taymans  <wim@fluendo.com>
22151
22152         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22153         Don't use invalid stream_time.
22154
22155         * gst/gstevent.c: (gst_event_new_newsegment):
22156         stream_time in newsegment cannot be undefined.
22157
22158 2005-10-24  Wim Taymans  <wim@fluendo.com>
22159
22160         * gst/gstbus.c:
22161         Doc fix.
22162
22163         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22164         (gst_queue_loop):
22165         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22166
22167 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22168
22169         * docs/libs/tmpl/gstdparam.sgml:
22170         * docs/libs/tmpl/gstdplinint.sgml:
22171         * docs/libs/tmpl/gstdpman.sgml:
22172         * docs/libs/tmpl/gstdpsmooth.sgml:
22173         * docs/libs/tmpl/gstunitconvert.sgml:
22174           these are obsolete
22175
22176 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22177
22178         * configure.ac:
22179           back to HEAD
22180
22181 === release 0.9.4 ===
22182
22183 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22184
22185         * configure.ac:
22186           releasing 0.9.4, "Tyrannosaurus Rex"
22187
22188 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22189
22190         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22191         (gst_file_sink_get_current_offset):
22192           Use fseeko() and ftello() if available. When falling back on
22193           lseek() to get the current offset, fflush() first to make sure
22194           everything is up-to-date and we get the right offset.
22195
22196 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22197
22198         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22199         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22200         * gst/gsterror.c: (_gst_stream_errors_init):
22201         * gst/gsterror.h:
22202         * gst/gstqueue.c: (gst_queue_loop):
22203         * po/POTFILES.in:
22204           remove prematurely added error category and clean up the instances
22205
22206 2005-10-21  Wim Taymans  <wim@fluendo.com>
22207
22208         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22209         (gst_base_sink_get_position), (gst_base_sink_query),
22210         (gst_base_sink_change_state):
22211         Simply set the right flag when going to playing, that's all
22212         we need to do instead of calling a function inside the object
22213         lock (that could take the lock as well and deadlock)
22214
22215 2005-10-21  Wim Taymans  <wim@fluendo.com>
22216
22217         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22218         (gst_base_src_loop):
22219         Don't warn, the peer element knows what to do best when
22220         the seek failed, it might try something else.
22221
22222 2005-10-21  Wim Taymans  <wim@fluendo.com>
22223
22224         * gst/base/gstbasesrc.c: (gst_base_src_init),
22225         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22226         Fix seeking.
22227
22228 2005-10-21  Wim Taymans  <wim@fluendo.com>
22229
22230         * docs/design/part-segments.txt:
22231         More docs.
22232
22233         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22234         Correctly set caps, even on the subbufer.
22235
22236 2005-10-21  Wim Taymans  <wim@fluendo.com>
22237
22238         * docs/gst/gstreamer-docs.sgml:
22239         * docs/gst/gstreamer-sections.txt:
22240         * gst/gstelement.h:
22241         * gst/gstevent.c:
22242         * gst/gstevent.h:
22243         * gst/gstmessage.h:
22244         * gst/gstpad.h:
22245         * gst/gstparse.h:
22246         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22247         * gst/gsttask.h:
22248         * gst/gstutils.c:
22249         * gst/gstutils.h:
22250         And 2% more doc coverage.
22251
22252 2005-10-21  Andy Wingo  <wingo@pobox.com>
22253
22254         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22255         position reporting.
22256
22257 2005-10-20  Wim Taymans  <wim@fluendo.com>
22258
22259         * gst/gsterror.c: (gst_error_get_message):
22260         * gst/gstparse.h:
22261         * gst/gstquery.h:
22262         * gst/gststructure.c:
22263         * gst/gsttrace.c:
22264         * gst/gstutils.c:
22265         More docs.
22266
22267 2005-10-20  Wim Taymans  <wim@fluendo.com>
22268
22269         * gst/gstbuffer.h:
22270         * gst/gstpad.c:
22271         * gst/gstparse.c:
22272         Another 1% more coverage.
22273
22274 2005-10-20  Wim Taymans  <wim@fluendo.com>
22275
22276         * docs/gst/gstreamer-sections.txt:
22277         * gst/gstelement.c: (gst_element_get_state_func),
22278         (gst_element_abort_state), (gst_element_commit_state),
22279         (gst_element_lost_state):
22280         * gst/gstevent.h:
22281         * gst/gstquery.c: (gst_query_set_position),
22282         (gst_query_parse_position), (gst_query_set_duration),
22283         (gst_query_parse_duration), (gst_query_new_convert):
22284         * gst/gstutils.c:
22285         Yay! 1% more docs coverage.
22286
22287 2005-10-20  Wim Taymans  <wim@fluendo.com>
22288
22289         * gst/gstpad.h:
22290         * gst/gstquery.c: (gst_query_set_position),
22291         (gst_query_parse_position), (gst_query_set_duration),
22292         (gst_query_parse_duration), (gst_query_new_convert):
22293         * gst/gstquery.h:
22294         * gst/gstutils.c: (gst_element_query_convert):
22295         * gst/gstutils.h:
22296         Docs and consistency fixes.
22297
22298 2005-10-20  Wim Taymans  <wim@fluendo.com>
22299
22300         * gst/gsttask.c:
22301         * gst/gsttask.h:
22302         More docs.
22303
22304 2005-10-20  Wim Taymans  <wim@fluendo.com>
22305
22306         * gst/gstbin.c: (message_check), (bin_replace_message),
22307         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22308         (update_degree), (gst_bin_sort_iterator_next),
22309         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22310         Reworked the message handling a bit, cache the messages instead of
22311         only the senders. alows us to do more in the future.
22312
22313 2005-10-20  Wim Taymans  <wim@fluendo.com>
22314
22315         * docs/design/part-TODO.txt:
22316         Update TODO
22317
22318         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22319         (gst_base_sink_query):
22320         Don't use clock time to report position when in EOS.
22321
22322 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22323
22324         * tools/gst-inspect.c: (print_interfaces),
22325         (print_element_properties_info), (print_element_info):
22326           Fix interface output with gst-inspect -a; don't print
22327           newlines after double/float properties.
22328
22329 2005-10-20  Wim Taymans  <wim@fluendo.com>
22330
22331         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22332         (gst_base_sink_query):
22333         Speed up current position calculation.
22334
22335         * gst/base/gstbasesrc.c: (gst_base_src_query),
22336         (gst_base_src_default_newsegment):
22337         Correctly set stream position in newsegment.
22338
22339         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22340         (update_degree), (gst_bin_sort_iterator_next),
22341         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22342         * gst/gstmessage.c: (gst_message_new_custom):
22343         Clean up debugging info
22344
22345         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22346         (gst_queue_loop), (gst_queue_handle_src_query):
22347         Pause task faster.
22348
22349 2005-10-19  Wim Taymans  <wim@fluendo.com>
22350
22351         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22352         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22353         Fix query handling again.
22354
22355 2005-10-19  Wim Taymans  <wim@fluendo.com>
22356
22357         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22358         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22359         * gst/base/gstbasesrc.c: (gst_base_src_query):
22360         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22361         * gst/elements/gsttypefindelement.c:
22362         (gst_type_find_handle_src_query), (find_element_get_length),
22363         (gst_type_find_element_activate):
22364         API change fix.
22365
22366         * gst/gstquery.c: (gst_query_new_position),
22367         (gst_query_set_position), (gst_query_parse_position),
22368         (gst_query_new_duration), (gst_query_set_duration),
22369         (gst_query_parse_duration), (gst_query_set_segment),
22370         (gst_query_parse_segment):
22371         * gst/gstquery.h:
22372         Bundling query position/duration is not a good idea since duration
22373         does not change much and we don't want to recalculate it for every
22374         position query, so they are separated again..
22375         Base value in segment query is not needed.
22376
22377         * gst/gstqueue.c: (gst_queue_handle_src_query):
22378         * gst/gstutils.c: (gst_element_query_position),
22379         (gst_element_query_duration), (gst_pad_query_position),
22380         (gst_pad_query_duration):
22381         * gst/gstutils.h:
22382         Updates for query API change.
22383         Added some docs here and there.
22384
22385 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22386
22387         * check/gst/gstbin.c: (GST_START_TEST):
22388         * check/gst/gstghostpad.c: (GST_START_TEST):
22389         * check/pipelines/cleanup.c: (GST_START_TEST):
22390           wait on thread to die so we can check refcount correctly
22391
22392 2005-10-18  Wim Taymans  <wim@fluendo.com>
22393
22394         * check/pipelines/stress.c: (GST_START_TEST):
22395         Make check a little more time consuming.
22396
22397 2005-10-18  Wim Taymans  <wim@fluendo.com>
22398
22399         * check/Makefile.am:
22400         * check/pipelines/stress.c: (GST_START_TEST),
22401         (simple_launch_lines_suite), (main):
22402         Small state change torture test.
22403
22404         * docs/design/part-states.txt:
22405         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22406         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22407         (gst_base_sink_change_state):
22408         Never take state lock from streaming thread, clean up ugly
22409         hacks. Unfortunatly core does not yet support nice ways to
22410         async commit state.
22411         
22412         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22413         (bin_bus_handler):
22414         Start state recalc if a STATE_DIRTY message is posted, but only
22415         on the toplevel bin.
22416
22417         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22418         (gst_element_get_state_func), (gst_element_abort_state),
22419         (gst_element_commit_state), (gst_element_lost_state),
22420         (gst_element_set_state_func), (gst_element_change_state):
22421         * gst/gstelement.h:
22422         State variables are now protected with the LOCK, the state
22423         lock is only used to serialize _set_state().
22424
22425 2005-10-18  Wim Taymans  <wim@fluendo.com>
22426
22427         * check/gst/gstbin.c: (GST_START_TEST):
22428         * check/gst/gstmessage.c: (GST_START_TEST):
22429         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22430         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22431         (bin_bus_handler):
22432         * gst/gstelement.c: (gst_element_abort_state),
22433         (gst_element_commit_state), (gst_element_lost_state):
22434         * gst/gstmessage.c: (gst_message_new_state_changed),
22435         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22436         (gst_message_new_segment_done), (gst_message_new_duration),
22437         (gst_message_parse_state_changed),
22438         (gst_message_parse_segment_start),
22439         (gst_message_parse_segment_done), (gst_message_parse_duration):
22440         * gst/gstmessage.h:
22441         * tools/gst-launch.c: (event_loop):
22442         Seriously, this is better than a previous commit as we only need
22443         to notify the fact that an element changed state in a streaming
22444         thread, marking the state of the parents dirty, hence the 
22445         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22446         message.
22447
22448 2005-10-18  Wim Taymans  <wim@fluendo.com>
22449
22450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22451         (gst_bin_recalc_func):
22452         * gst/gstelement.c: (gst_element_set_clock),
22453         (gst_element_abort_state), (gst_element_lost_state):
22454         Cleanups, prepare for state change fixes.
22455
22456 2005-10-18  Wim Taymans  <wim@fluendo.com>
22457
22458         * gst/gstbin.h:
22459         * gst/gstelement.c: (gst_element_class_init),
22460         (gst_element_set_state), (gst_element_set_state_func):
22461         * gst/gstelement.h:
22462         Pending ABI changes.
22463         GThreadPool in GstBinClass to monitor async state changes.
22464         state_cookie in GstElement to detect concurrent gst/set state.
22465         set_state is now virtual too in case a very complicated element
22466         has to be constructed.
22467
22468 2005-10-18  Wim Taymans  <wim@fluendo.com>
22469
22470         * check/gst/gstbin.c: (GST_START_TEST):
22471         * check/gst/gstmessage.c: (GST_START_TEST):
22472         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22473         * gst/gstbin.c: (bin_bus_handler):
22474         * gst/gstelement.c: (gst_element_commit_state),
22475         (gst_element_lost_state):
22476         * gst/gstmessage.c: (gst_message_new_state_changed),
22477         (gst_message_new_segment_start), (gst_message_new_segment_done),
22478         (gst_message_new_duration), (gst_message_parse_state_changed),
22479         (gst_message_parse_segment_start),
22480         (gst_message_parse_segment_done), (gst_message_parse_duration):
22481         * gst/gstmessage.h:
22482         * tools/gst-launch.c: (event_loop):
22483         Make messages future proof.
22484         state-change gets a flag if it was a message comming from the
22485         streaming thread.
22486         segment-start/stop can also be specified in other formats.
22487         A message to notify an app that a pipeline changed playback 
22488         duration.
22489         Also fix a GstMessage leak in -launch
22490
22491 2005-10-18  Andy Wingo  <wingo@pobox.com>
22492
22493         * gst/gstelement.c (gst_element_dispose): More helpful message.
22494
22495 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22496
22497         reviewed by: <delete if not using a buddy>
22498
22499         * common/gtk-doc.mak:
22500
22501 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22502
22503         * gst/gstregistry.c: (gst_registry_scan_path_level):
22504           unref a plug-in we get that was already initialized
22505
22506 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22507
22508         * docs/gst/gstreamer-sections.txt:
22509         * docs/libs/gstreamer-libs-sections.txt:
22510         * gst/gstelement.h:
22511           add new api entries
22512           hide internal macro
22513
22514 2005-10-17  Andy Wingo  <wingo@pobox.com>
22515
22516         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22517         cleanup.
22518
22519         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22520
22521         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22522
22523         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22524         (gst_element_get_state_func): Better debug message.
22525         (gst_element_commit_state): s/INFO/DEBUG/.
22526         (gst_element_lost_state, gst_element_change_state): 
22527
22528         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22529         (gst_message_new_custom): s/INFO/LOG/.
22530
22531 2005-10-17  Michael Smith <msmith@fluendo.com>
22532
22533         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22534           Check if end time is valid using end time, not start time.
22535
22536 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22537
22538         * check/gst-libs/controller.c: (GST_START_TEST),
22539         (gst_controller_suite):
22540         * libs/gst/controller/gstcontroller.c:
22541         (gst_controlled_property_set_interpolation_mode):
22542         * libs/gst/controller/gstcontroller.h:
22543         * libs/gst/controller/gstinterpolation.c:
22544         * testsuite/controller/.cvsignore:
22545         * testsuite/controller/Makefile.am:
22546         * testsuite/controller/interpolator.c:
22547           merge controller testsuites
22548           fix broken tests
22549           remove mem-chunk from docs
22550
22551 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22552
22553         * gst/gstmemchunk.c:
22554         * gst/gstmemchunk.h:
22555         * gst/gsttrashstack.c:
22556         * gst/gsttrashstack.h:
22557           out.  get out.  you're fired.  to the Attic !
22558
22559 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22560
22561         * gst/gstcaps.c: (gst_caps_intersect):
22562           fix signedness issues in a (hopefully) correct way
22563         * gst/gstelement.c: (gst_element_pads_activate):
22564           some debugging
22565         * gst/gstobject.c: (gst_object_set_parent):
22566           some debugging
22567
22568 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22569
22570         * gst/gstvalue.h: Fix prototypes.
22571
22572 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22573
22574         * docs/gst/gstreamer-sections.txt:
22575         * gst/gst.c: (gst_version_string):
22576         * gst/gst.h:
22577         * gst/gstversion.h.in:
22578         * win32/common/libgstreamer.def:
22579           add gst_version_string ()
22580
22581 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22582
22583         * configure.ac:
22584           clean up further
22585         * gst/gst.c: (init_post):
22586         * win32/common/config.h.in:
22587           it's PLUGINDIR now
22588         * gst/gstcaps.c: (gst_caps_intersect):
22589           use gint64, the range could be bigger than a guint
22590
22591 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22592
22593         * gst/gstclock.h:
22594           document potential problem in 2038
22595
22596 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22597
22598         * gst/gstcaps.c: (gst_caps_intersect):
22599           Fix guint j diving under 0
22600
22601 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22602
22603         * configure.ac:
22604         * win32/common/config.h:
22605         * win32/common/config.h.in:
22606           check for process.h, declares getpid() on Windows
22607         * gst/gstinfo.c:
22608           include process.h if we have it
22609         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22610         * gst/gstmemchunk.h:
22611           fix signedness issues
22612         * win32/common/libgstreamer.def:
22613           fix get_type's
22614
22615 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22616
22617         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22618         fix. Because of unsigned ints, caps intersection was going nuts and
22619         trying to access structures with G_MAXUINT index. That fixes
22620         videotestsrc ! ffmpegcolorspace ! fakesink
22621         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22622         consistency.
22623
22624 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22625
22626         * configure.ac:
22627           use the gettext macro
22628         * gst/elements/gstelements.c:
22629         * gst/gst.c:
22630         * gst/indexers/gstindexers.c:
22631           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22632         * win32/common/config.h:
22633           updated config.h
22634         * win32/common/config.h.in:
22635           add the template to generate config.h
22636         * win32/common/gstenumtypes.c:
22637         * win32/common/gstversion.h:
22638           updated copies
22639
22640 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22641
22642         * gst/gst.c: (gst_version):
22643         * gst/gstversion.h.in:
22644           add the nano
22645
22646 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22647
22648         * gst/gstevent.h:
22649           Oops, add missing closing bracket.
22650
22651 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22652
22653         * configure.ac:
22654           use common m4's for argument checking
22655
22656 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22657
22658         * docs/gst/gstreamer-sections.txt:
22659         * gst/gstevent.h:
22660           Add GST_EVENT_TYPE_NAME() macro.
22661
22662 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22663
22664         * gst/gstinfo.c:
22665         * gst/gstpluginfeature.c:
22666         * gst/gsttask.c:
22667           privatize more symbols
22668
22669 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22670
22671         * configure.ac:
22672           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22673           everything that uses GStreamer API should have the includes
22674
22675 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22676
22677         * docs/gst/gstreamer-sections.txt:
22678         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22679         * gst/gstvalue.h:
22680           give each value a _get_type, removes the DATA exports
22681
22682 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22683
22684         * gst/gst.c:
22685         * gst/gst.h:
22686           remove _gst_registry_auto_load, not used anymore
22687         * gst/gstbin.c: (gst_bin_get_type):
22688         * gst/gstbin.h:
22689         * gst/gstelement.c: (gst_element_get_type):
22690         * gst/gstelement.h:
22691         * gst/gstobject.c: (gst_object_get_type):
22692         * gst/gstobject.h:
22693         * gst/gstpad.c: (gst_pad_get_type):
22694         * gst/gstpad.h:
22695           make _get_type functions similar, fixes data export from library
22696
22697 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22698
22699         * configure.ac:
22700           correctly make conditionals
22701         * gst/elements/Makefile.am:
22702         * gst/elements/gstelements.c:
22703           fix typo causing fdsrc not to build
22704
22705 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22706
22707         * testsuite/Makefile.am:
22708         * testsuite/bytestream/.cvsignore:
22709         * testsuite/bytestream/Makefile.am:
22710         * testsuite/bytestream/filepadsink.c:
22711         * testsuite/bytestream/gstbstest.c:
22712         * testsuite/bytestream/test1.c:
22713         * testsuite/bytestream/testfile1:
22714         * testsuite/caps/normalisation.c:
22715         * testsuite/caps/random.c: (main):
22716         * testsuite/cleanup/.cvsignore:
22717         * testsuite/cleanup/Makefile.am:
22718         * testsuite/cleanup/cleanup1.c:
22719         * testsuite/cleanup/cleanup2.c:
22720         * testsuite/cleanup/cleanup3.c:
22721         * testsuite/cleanup/cleanup4.c:
22722         * testsuite/cleanup/cleanup5.c:
22723         * testsuite/controller/interpolator.c:
22724         * testsuite/debug/printf_extension.c: (main):
22725         * testsuite/elements/tee.c:
22726         * testsuite/negotiation/.cvsignore:
22727         * testsuite/negotiation/Makefile.am:
22728         * testsuite/negotiation/pad_link.c:
22729         * testsuite/pad/Makefile.am:
22730         * testsuite/pad/chainnopull.c:
22731         * testsuite/pad/getnopush.c:
22732         * testsuite/pad/link.c:
22733         * testsuite/refcounting/sched.c: (create_pipeline):
22734         * testsuite/registry/Makefile.am:
22735         * testsuite/registry/gst-print-formats.c:
22736         * testsuite/schedulers/.cvsignore:
22737         * testsuite/schedulers/142183-2.c:
22738         * testsuite/schedulers/142183.c:
22739         * testsuite/schedulers/143777-2.c:
22740         * testsuite/schedulers/143777.c:
22741         * testsuite/schedulers/147713.c:
22742         * testsuite/schedulers/147819.c:
22743         * testsuite/schedulers/147894-2.c:
22744         * testsuite/schedulers/147894.c:
22745         * testsuite/schedulers/Makefile.am:
22746         * testsuite/schedulers/group_link.c:
22747         * testsuite/schedulers/queue_link.c:
22748         * testsuite/schedulers/relink.c:
22749         * testsuite/schedulers/unlink.c:
22750         * testsuite/schedulers/unref.c:
22751         * testsuite/schedulers/useless_iteration.c:
22752         * testsuite/states/bin.c:
22753           clean out/remove some stuff from the testsuite directories
22754
22755 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22756
22757         * configure.ac:
22758           check for some headers
22759         * gst/elements/Makefile.am:
22760         * gst/elements/gstelements.c:
22761           don't compile fdsrc without sys/socket.h
22762         * gst/indexers/Makefile.am:
22763         * gst/indexers/gstindexers.c: (plugin_init):
22764           don't compile fileindex without mmap
22765
22766 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22767
22768         * configure.ac:
22769           reorganize
22770           clean up
22771           document more
22772           remove cruft
22773         * check/Makefile.am:
22774         * docs/gst/Makefile.am:
22775         * examples/helloworld/Makefile.am:
22776         * gst/Makefile.am:
22777         * gst/base/Makefile.am:
22778         * gst/check/Makefile.am:
22779         * gst/elements/Makefile.am:
22780         * gst/indexers/Makefile.am:
22781         * gst/parse/Makefile.am:
22782         * libs/gst/controller/Makefile.am:
22783         * libs/gst/dataprotocol/Makefile.am:
22784         * examples/helloworld/helloworld.c: (event_loop):
22785           compile fixes, though it's not being compiled currently
22786
22787 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22788
22789         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22790           Add some simple tests for the new taglist date API.
22791
22792 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22793
22794         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22795         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22796           Beautify 'last-message' output: print 'none' for buffer timestamps
22797           and durations if none is set; improve alignment with next messages.
22798
22799 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22800
22801         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22802         * gst/gstpluginfeature.h:
22803         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22804         * gst/gstregistry.h:
22805         * docs/gst/gstreamer-sections.txt:
22806           Add new API to check plugin feature version requirements.
22807
22808         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22809           Some basic tests for the above.         
22810
22811 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22812
22813         * gst/gststructure.c: (gst_structure_to_string):
22814           guard against NULL printf - happens when for example
22815           a message structure with GstClock gets serialized
22816
22817 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22818
22819         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22820           Fix presumable copy'n'pasto.
22821
22822 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22823
22824         * gst/elements/gstfakesrc.h:
22825         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22826         * gst/elements/gsttypefindelement.c:
22827           fix some signedness
22828         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22829           I wonder if this could actually write +2GB files before
22830
22831 2005-10-13  Andy Wingo  <wingo@pobox.com>
22832
22833         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22834         Fix Timmeke Waymans bug.
22835         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22836         string of the proper length to gst_caps_from_string. There's a
22837         potential for, before this fix, that this could cause someone
22838         connecting over the network to cause a segfault if the payload is
22839         not NUL-terminated.
22840
22841 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22842
22843         * docs/design/draft-push-pull.txt:
22844         * docs/design/part-overview.txt:
22845         * docs/random/TODO-pre-0.9:
22846         * docs/random/old/ChangeLog.gstreamer:
22847         * gst/base/gstpushsrc.c:
22848         * gst/gstclock.c:
22849           fixed typos
22850
22851 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22852
22853         * gst/glib-compat.c: (gst_flags_get_first_value):
22854         * gst/glib-compat.h:
22855         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22856         (gst_value_compare_double), (gst_value_serialize_flags):
22857           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22858           infinite loop
22859
22860 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22861
22862         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22863         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22864           fix up debugging
22865         * tools/gst-launch.c: (event_loop):
22866           print out clock nicely
22867
22868 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22869
22870         * docs/gst/gstreamer-sections.txt:
22871         * gst/gsttaglist.h:
22872         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22873         (gst_tag_list_get_date_index):
22874           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22875           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22876
22877 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22878
22879         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22880         (gst_collectpads_chain):
22881         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22882         in CollectData.
22883
22884 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22885
22886         * docs/gst/gstreamer-sections.txt:
22887         * gst/gst.c:
22888         * gst/gsterror.h:
22889         * tools/gst-inspect.c: (main):
22890         * tools/gst-launch.c: (main):
22891         * tools/gst-run.c: (main):
22892         * tools/gst-xmlinspect.c: (main):
22893           fix GOption context leaks
22894           doc fixes
22895
22896 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22897
22898         * gst/gstbus.c:
22899           use HAVE_UNISTD_H
22900         * win32/common/config.h:
22901           update config
22902         * win32/vs6/grammar.dsp:
22903         * win32/vs6/libgstelements.dsp:
22904         * win32/vs6/libgstreamer.dsp:
22905           update vs6 files
22906
22907 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22908
22909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22910         * gst/base/gstbasesrc.c: (gst_base_src_query):
22911           fix more guint64<->gdouble conversions
22912
22913 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22914
22915         * Makefile.am:
22916           add win32-update target
22917         * win32/common/gstconfig.h:
22918         * win32/common/gstenumtypes.c:
22919         * win32/common/gstenumtypes.h:
22920         * win32/common/gstversion.h:
22921           add files that visual studio can't generate
22922
22923 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22924
22925         * Makefile.am:
22926           add a win32-update target
22927         * configure.ac:
22928
22929 2005-10-12  Wim Taymans  <wim@fluendo.com>
22930
22931         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22932         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22933         * gst/gstelement.c: (gst_element_commit_state),
22934         (gst_element_set_state):
22935         Protect flags with proper lock.
22936         unref provided cached clock in dispose.
22937
22938 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22939
22940         * gst/gst.c:
22941         * gst/gstminiobject.h:
22942         * gst/gstpad.h:
22943         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22944           removed unused flags from miniobject
22945           doc fixes
22946
22947 2005-10-12  Wim Taymans  <wim@fluendo.com>
22948
22949         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22950         (gst_file_sink_event), (gst_file_sink_render):
22951         Flush before seeking.
22952
22953 2005-10-12  Andy Wingo  <wingo@pobox.com>
22954
22955         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22956         always been the case.
22957
22958 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22959
22960         * check/gst/gstbin.c: (GST_START_TEST):
22961         * docs/gst/gstreamer-sections.txt:
22962         * gst/base/gstbasesink.c: (gst_base_sink_init):
22963         * gst/base/gstbasesrc.c: (gst_base_src_init),
22964         (gst_base_src_get_range), (gst_base_src_check_get_range),
22965         (gst_base_src_start), (gst_base_src_stop):
22966         * gst/base/gstbasesrc.h:
22967         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22968         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22969         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22970         (bin_bus_handler):
22971         * gst/gstbin.h:
22972         * gst/gstbuffer.h:
22973         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22974         * gst/gstbus.h:
22975         * gst/gstelement.c: (gst_element_is_locked_state),
22976         (gst_element_set_locked_state), (gst_element_commit_state),
22977         (gst_element_set_state):
22978         * gst/gstelement.h:
22979         * gst/gstindex.c: (gst_index_init):
22980         * gst/gstindex.h:
22981         * gst/gstminiobject.h:
22982         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22983         (gst_object_set_parent):
22984         * gst/gstobject.h:
22985         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22986         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22987         * gst/gstpad.h:
22988         * gst/gstpadtemplate.h:
22989         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22990         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22991         * gst/gstpipeline.h:
22992         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22993         (gst_file_index_commit):
22994         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22995         * testsuite/pad/link.c: (gst_test_src_init),
22996         (gst_test_filter_init), (gst_test_sink_init):
22997         * testsuite/states/locked.c: (main):
22998           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22999           moved bitshift from macro to enum definition
23000
23001 2005-10-12  Wim Taymans  <wim@fluendo.com>
23002
23003         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23004         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23005         (gst_file_sink_render):
23006         Some more debugging info.
23007
23008 2005-10-12  Wim Taymans  <wim@fluendo.com>
23009
23010         * docs/design/part-states.txt:
23011         * tools/gst-launch.c: (main):
23012         Some doc updates.
23013         Revert non-intentional change.
23014
23015 2005-10-12  Wim Taymans  <wim@fluendo.com>
23016
23017         * check/gst/gstbin.c: (GST_START_TEST):
23018         * check/gst/gstelement.c: (GST_START_TEST):
23019         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23020         * check/gst/gstghostpad.c: (GST_START_TEST):
23021         * check/gst/gstpipeline.c: (GST_START_TEST):
23022         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23023         * check/states/sinks.c: (GST_START_TEST):
23024         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23025         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23026         (gst_bin_remove_func), (gst_bin_get_state_func),
23027         (gst_bin_recalc_state), (gst_bin_change_state_func),
23028         (bin_bus_handler):
23029         * gst/gstelement.c: (gst_element_get_state_func),
23030         (gst_element_get_state), (gst_element_abort_state),
23031         (gst_element_commit_state), (gst_element_set_state),
23032         (gst_element_change_state), (gst_element_change_state_func):
23033         * gst/gstelement.h:
23034         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23035         (gst_pipeline_provide_clock_func):
23036         * gst/gstutils.c: (gst_element_link_pads_filtered):
23037         * tools/gst-launch.c: (main):
23038         * tools/gst-typefind.c: (main):
23039         Use GstClockTime in _get_state() instead of GTimeVal.
23040         Remove old code in gstutils.c
23041
23042 2005-10-12  Andy Wingo  <wingo@pobox.com>
23043
23044         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23045         removed.
23046
23047         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23048         there is no task. Shouldn't affect any code, as nothing in our
23049         plugins checks this return value.
23050         (gst_pad_stop_task): Also take the stream lock if the pad has no
23051         task. Docs updated.
23052
23053 2005-10-12  Wim Taymans  <wim@fluendo.com>
23054
23055         * gst/gstpad.c: (pre_activate), (post_activate),
23056         (gst_pad_activate_pull), (gst_pad_activate_push):
23057         Cleanup activation code. Reset old state if
23058         activation failed.
23059
23060 2005-10-12  Wim Taymans  <wim@fluendo.com>
23061
23062         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23063         (gst_base_sink_change_state):
23064         No need to prerol after receiving EOS.
23065
23066         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23067         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23068         * gst/elements/gstidentity.c: (gst_identity_event):
23069         Print events more verbosely.
23070
23071 2005-10-12  Wim Taymans  <wim@fluendo.com>
23072
23073         * check/Makefile.am:
23074         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23075         * check/states/sinks2.c:
23076         Moved sinks2 testcode in sinks check.
23077
23078         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23079         (gst_bin_remove_func), (gst_bin_recalc_state),
23080         (gst_bin_change_state_func), (bin_bus_handler):
23081         Fix potential race condition when _get_state() iterated over an
23082         ASYNC element right before it posted a state completion.
23083
23084         * gst/gstclock.h:
23085         Do proper cast here.
23086
23087         * gst/gstevent.c: (gst_event_new_newsegment),
23088         (gst_event_parse_newsegment):
23089         A playback rate of 0.0 is not allowed.
23090
23091 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23092
23093         * win32/common/config.h:
23094         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23095         (_trewinddir), (_ttelldir), (_tseekdir):
23096         * win32/common/dirent.h:
23097         * win32/common/gtchar.h:
23098         * win32/common/libgstbase.def:
23099         * win32/common/libgstreamer.def:
23100         * win32/vs6/grammar.dsp:
23101         * win32/vs6/gst_inspect.dsp:
23102         * win32/vs6/gst_launch.dsp:
23103         * win32/vs6/gstreamer.dsw:
23104         * win32/vs6/libgstbase.dsp:
23105         * win32/vs6/libgstelements.dsp:
23106         * win32/vs6/libgstreamer.dsp:
23107           Visual Studio 6 project files, and a new common directory.
23108           Phear.
23109
23110 2005-10-11  Wim Taymans  <wim@fluendo.com>
23111
23112         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23113         (gst_base_sink_do_sync), (gst_base_sink_query),
23114         (gst_base_sink_change_state):
23115         * gst/base/gstbasesink.h:
23116         Correctly parse newsegment info.
23117
23118 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23119
23120         * gst/gst.c: (init_post):
23121           split plugin paths correctly
23122
23123 2005-10-11  Wim Taymans  <wim@fluendo.com>
23124
23125         * check/gst/gstevent.c: (GST_START_TEST):
23126         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23127         (gst_base_sink_change_state):
23128         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23129         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23130         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23131         * gst/gstevent.c: (gst_event_new_newsegment),
23132         (gst_event_parse_newsegment):
23133         * gst/gstevent.h:
23134         Added extra flag to newsegment for future API freeze.
23135         Updated check and base elements.
23136
23137 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23138
23139         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23140         (gst_collectpads_add_pad), (gst_collectpads_pop),
23141         (gst_collectpads_event), (gst_collectpads_chain):
23142         * gst/base/gstcollectpads.h: Handle EOS correctly.
23143
23144 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23145
23146         * tools/gst-launch.c: (main):
23147           more null protecting
23148
23149 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23150
23151         * gst/gst-i18n-lib.h:
23152           check for ENABLE_NLS, not GETTEXT_PACKAGE
23153         * gst/gstregistry.c: (gst_registry_add_plugin),
23154         (gst_registry_scan_path_level),
23155         (_gst_registry_remove_cache_plugins):
23156           protect possibly NULL strings
23157         * gst/parse/types.h:
23158           config.h already included before
23159         * tools/gst-inspect.c: (main):
23160           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23161           check for ENABLE_NLS, not GETTEXT_PACKAGE
23162         * tools/gst-launch.c: (main):
23163           check for ENABLE_NLS, not GETTEXT_PACKAGE
23164
23165 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23166
23167         * configure.ac:
23168           if we don't have glib, fail before testing 2.8
23169         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23170           fix a leak, should fix plugins-base testsuite
23171
23172 2005-10-11  Andy Wingo  <wingo@pobox.com>
23173
23174         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23175         take the mode we're going to as an arg. Go head and set the mode
23176         and flushing flags now, so that if the activate function starts a
23177         thread all the flags will be in the right state.
23178         (post_activate): Renamed also. Just handle making sure streaming
23179         finishes for the deactivation case, and setting the deactivated
23180         mode.
23181         (gst_pad_set_active): Complain loudly if deactivation fails.
23182         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23183         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23184         remove the terrible hack.
23185
23186 2005-10-11  Wim Taymans  <wim@fluendo.com>
23187
23188         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23189         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23190         (gst_bin_recalc_state), (gst_bin_change_state_func),
23191         (gst_bin_dispose), (bin_bus_handler):
23192         * gst/gstbin.h:
23193         Prepare to make current EOS message queue more generic.
23194         Fix some typos.
23195
23196         * gst/gstevent.c: (gst_event_new_newsegment),
23197         (gst_event_parse_newsegment):
23198         * gst/gstevent.h:
23199         Rename base to stream_time.
23200
23201         * gst/gstmessage.h:
23202         Fix typo in docs.
23203
23204 2005-10-11  Wim Taymans  <wim@fluendo.com>
23205
23206         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23207         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23208         (gst_bin_change_state_func), (bin_bus_handler):
23209         * gst/gstbin.h:
23210         Work on proper clock selection.
23211
23212 2005-10-11  Edward Hervey  <edward@fluendo.com>
23213
23214         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23215         * libs/gst/controller/gstcontroller.h:
23216         Added GList* version of _remove_properties() in order to be able to wrap
23217         it in bindings.
23218
23219 2005-10-11  Wim Taymans  <wim@fluendo.com>
23220
23221         * docs/design/part-states.txt:
23222         Some more docs.
23223
23224         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23225         (gst_bin_change_state_func), (bin_bus_handler):
23226         Doc updates. Don't distribute the same clock over and over again.
23227
23228         * gst/gstclock.c:
23229         * gst/gstclock.h:
23230         Doc updates.
23231
23232         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23233         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23234         (gst_pad_send_event):
23235         * gst/gstpad.h:
23236         Make probe emission threadsafe again.
23237         Register quarks and move _get_name() from utils.
23238         Doc updates.
23239
23240         * gst/gstpipeline.c: (gst_pipeline_class_init),
23241         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23242         Only redistribute the clock of it changed.
23243
23244         * gst/gstsystemclock.h:
23245         Doc updates. 
23246
23247         * gst/gstutils.c:
23248         * gst/gstutils.h:
23249         Moved the _flow_get_name() to GstPad.
23250
23251 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23252
23253         * check/gst-libs/gdp.c: (GST_START_TEST):
23254         * check/gst/gstcaps.c: (GST_START_TEST):
23255         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23256         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23257         (gst_dp_packet_from_caps):
23258           fix more valgrind warnings before turning up the heat
23259
23260 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23261
23262         * gst/parse/grammar.y:
23263           some cleanup before the hacking
23264
23265 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23266
23267         * gst/base/gstbasesrc.c: (gst_base_src_query):
23268           use conversions
23269         * gst/gstutils.c: (gst_guint64_to_gdouble),
23270         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23271         * gst/gstutils.h:
23272           externalize, basesrc uses it
23273           obviously the implementation needs testing
23274
23275 2005-10-10  Wim Taymans  <wim@fluendo.com>
23276
23277         * tests/sched/Makefile.am:
23278         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23279         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23280
23281 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23282
23283         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23284           apparently converting from guint64 to double is not implemented
23285           on MSVC
23286
23287 2005-10-10  Wim Taymans  <wim@fluendo.com>
23288
23289         * check/Makefile.am:
23290         * check/generic/states.c: (GST_START_TEST):
23291         * check/gst/gstbin.c: (GST_START_TEST):
23292         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23293         * check/states/sinks.c: (GST_START_TEST):
23294         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23295         (main):
23296         Check fixes, use API as stated in design docs, remove hacks.
23297
23298         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23299         (gst_base_sink_change_state):
23300         Catch stopping our task while we're shutting down.
23301
23302         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23303         (gst_bin_remove_func), (gst_bin_get_state_func),
23304         (gst_bin_recalc_state), (gst_bin_change_state_func),
23305         (bin_bus_handler):
23306         * gst/gstbin.h:
23307         * gst/gstelement.c: (gst_element_init),
23308         (gst_element_get_state_func), (gst_element_abort_state),
23309         (gst_element_commit_state), (gst_element_lost_state),
23310         (gst_element_set_state), (gst_element_change_state),
23311         (gst_element_change_state_func):
23312         * gst/gstelement.h:
23313         New state change algorithm (see #318116)
23314
23315         * gst/gstpipeline.c: (gst_pipeline_class_init),
23316         (gst_pipeline_init), (gst_pipeline_set_property),
23317         (gst_pipeline_get_property), (do_pipeline_seek),
23318         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23319         * gst/gstpipeline.h:
23320         Remove crude state change hacks.
23321
23322         * gst/gstutils.h:
23323         Remove crude hacks.
23324
23325         * tools/gst-launch.c: (main):
23326         Fixes for state change. Needs some more work to fully use the
23327         new stuff.
23328
23329 2005-10-10  Andy Wingo  <wingo@pobox.com>
23330
23331         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23332
23333         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23334         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23335         issue.
23336
23337 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23338
23339         * gst/gstiterator.c: (gst_iterator_new):
23340           Fix my previous commit: GTypes passed to gst_iterator_new()
23341           can be fundamental types.
23342
23343 2005-10-10  Wim Taymans  <wim@fluendo.com>
23344
23345         * gst/gstelement.c: (gst_element_iterate_pad_list),
23346         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23347         (gst_element_iterate_sink_pads):
23348         Use src/sink pads lists for the respective iterators instead
23349         of filtering.
23350
23351 2005-10-10  Andy Wingo  <wingo@pobox.com>
23352
23353         Merged in popt removal + GOption addition patch from Ronald, bug
23354         #169772.
23355
23356         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23357         GstElement macros around, remove popt-related symbols, add goption
23358         stuff.
23359
23360         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23361         
23362         * docs/gst/Makefile.am:
23363         * docs/libs/Makefile.am: No POPT_CFLAGS.
23364         
23365         * examples/manual/Makefile.am:
23366         * docs/manual/basics-init.xml: Doc updates with an example.
23367         
23368         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23369         (gst_init), (parse_one_option), (parse_goption_arg):
23370         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23371         bit of hand merging and debugging to get the GOption stuff working
23372         tho.
23373         
23374         * tests/Makefile.am:
23375         * tools/Makefile.am:
23376         * tools/gst-inspect.c: (main):
23377         * tools/gst-launch.c: (main):
23378         * tools/gst-run.c: (main):
23379         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23380
23381 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23382
23383         * gst/gstiterator.c: (gst_iterator_new):
23384           Add assertions to make sure passed GType is likely to really
23385           be a GType (as the compiler won't catch it if the size and
23386           GType arguments get mixed up, see #318447).
23387
23388 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23389
23390         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23391
23392         * gst/gstbin.c: (gst_bin_iterate_sorted):
23393           Pass GType and size arguments to gst_iterator_new() in the right
23394           order (maybe we should make _new() take the GType as first argument
23395           just like _new_list()?) (#318447).
23396           
23397
23398 2005-10-10  Wim Taymans  <wim@fluendo.com>
23399
23400         * gst/gstelement.c: (gst_element_finalize):
23401         And free the GStaticRecMutex too
23402
23403 2005-10-10  Andy Wingo  <wingo@pobox.com>
23404
23405         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23406         Allocate and free the mutex properly.
23407
23408         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23409         New macros.
23410         (GstElement): The state_lock is now recursive. Rebuild your
23411         plugins, suckers. Old macros adapted.
23412
23413         * docs/gst/gstreamer-sections.txt: Doc updates.
23414
23415         * gst/gstutils.h:
23416         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23417         (g_static_rec_cond_wait): Ported from state changes patch, while
23418         we wait on bug #317802 to be solved in a well-distributed GLib.
23419
23420         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23421         gst_element_change_state, variable name changes.
23422         (gst_element_change_state): Split out of gst_element_set_state in
23423         preparation for the state change merge. Doesn't pay attention to
23424         the 'transition' argument.
23425         (gst_element_set_state): Updates, hopefully purely cosmetic.
23426         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23427         state change patch.
23428         (gst_element_get_state_func): Renamed from get_state, cosmetic
23429         changes.
23430
23431 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23432
23433         * gst/elements/gstelements.c:
23434         * win32/GStreamer.vcproj:
23435         * win32/config.h:
23436         * win32/dirent.c: (_tseekdir):
23437         * win32/gst-inspect.vcproj:
23438         * win32/gst-launch.vcproj:
23439         * win32/gstconfig.h:
23440         * win32/gstelements.vcproj:
23441         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23442         * win32/gstreamer.def:
23443         * win32/msvc71.sln:
23444           updates for the win32 build (patch from Sebastien Moutte)
23445
23446 2005-10-10  Andy Wingo  <wingo@pobox.com>
23447
23448         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23449         gst_bin_get_state, cleaned up (but no logic changes).
23450         (bin_element_is_sink): Comment updates.
23451         (sink_iterator_filter): Remove needless cast.
23452         (gst_bin_iterate_sinks): Doc update.
23453         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23454         cleaned up (but no logic changes).
23455
23456         * check/states/sinks.c (test_src_sink): Cleanups from the state
23457         change patch.
23458         (test_livesrc_sink): Sync on the state.
23459
23460         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23461         the state change patch.
23462
23463         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23464         change patch.
23465
23466         * check/gst/gstbin.c: Merge in some style fixes and additional
23467         checks from Wim's state change patch.
23468
23469 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23470
23471         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23472         (gst_type_find_helper):
23473           Check whether we have the requested data already in our list of
23474           cached buffers before pulling a new buffer; also make the buffer
23475           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23476
23477 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23478
23479         * gst/gstcaps.c:
23480         * gst/gstevent.c:
23481           doc updates
23482         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23483           don't use long long, it's not portable.  Replacing with
23484           gint64 seems to work; let's hope no skeletons fall out of the closet.
23485
23486 2005-10-10  Andy Wingo  <wingo@pobox.com>
23487
23488         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23489
23490 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23491
23492         * docs/gst/gstreamer-sections.txt:
23493         * gst/gstevent.c:
23494         * gst/gstevent.h:
23495         * gst/gstinfo.c:
23496         * gst/gstinfo.h:
23497         * gst/gstmessage.c: (gst_message_parse_state_changed):
23498         * gst/gstpad.c:
23499         * gst/gstpad.h:
23500           more docs, fix compilation
23501
23502 2005-10-09  Philippe Khalaf <burger@speedy.org>
23503         * gst/gstmessage.c:
23504           Fixed a few forgotten variables on previous commit
23505
23506 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23507
23508         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23509           Fix evil typefind crasher: getrange() might return a short
23510           buffer at the end of a file, but gst_type_find_peek() must
23511           either return the full data as requested or NULL, but
23512           never a short buffer.
23513
23514 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23515
23516         * gst/gstmessage.c: (gst_message_new_state_changed),
23517         (gst_message_parse_state_changed):
23518         * gst/gstmessage.h:
23519           don't use "new", it's a C++ keyword
23520
23521 2005-10-08  Wim Taymans  <wim@fluendo.com>
23522
23523         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23524         * gst/gstelement.c: (gst_element_post_message):
23525         * gst/gstpipeline.c: (gst_pipeline_change_state):
23526         Small docs and debug updates.
23527
23528 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23529
23530         * docs/gst/gstreamer-sections.txt:
23531         * gst/gstelementfactory.c:
23532         * gst/gstevent.c:
23533         * gst/gsttaglist.c:
23534           more docs
23535
23536 2005-10-08  Wim Taymans  <wim@fluendo.com>
23537
23538         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23539         (gst_bin_dispose), (bin_bus_handler):
23540         Fix typos, add comments.
23541         Clear EOS list when going to PAUSED from any direction and do it
23542         in a threadsafe way.
23543         Get base time in a threadsafe way too.
23544         Fix confusing debug in the change_state function.
23545         Various other small cleanups.
23546         
23547         * gst/gstelement.c: (gst_element_post_message):
23548         Fix very verbose bus posting code.
23549
23550         * gst/gstpipeline.c: (gst_pipeline_class_init),
23551         (gst_pipeline_set_property), (gst_pipeline_get_property),
23552         (gst_pipeline_change_state):
23553         Small ARG_ -> PROP_ cleanup
23554
23555 2005-10-08  Wim Taymans  <wim@fluendo.com>
23556
23557         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23558         Do a less CPU demanding EOS check because we can.
23559
23560 2005-10-08  Wim Taymans  <wim@fluendo.com>
23561
23562         * libs/gst/dataprotocol/dataprotocol.c:
23563         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23564         (gst_dp_packet_from_event):
23565         * libs/gst/dataprotocol/dataprotocol.h:
23566         * libs/gst/dataprotocol/dp-private.h:
23567         It's about time we bump the version number.
23568         Since event types don't fit in the guint8 anymore describing
23569         the payload type, make payload type 16 bits wide.
23570
23571 2005-10-08  Wim Taymans  <wim@fluendo.com>
23572
23573         * docs/design/part-TODO.txt:
23574         * docs/design/part-clocks.txt:
23575         * docs/design/part-events.txt:
23576         * docs/design/part-gstbin.txt:
23577         * docs/design/part-gstelement.txt:
23578         * docs/design/part-gstpipeline.txt:
23579         * docs/design/part-live-source.txt:
23580         * docs/design/part-messages.txt:
23581         * docs/design/part-overview.txt:
23582         * docs/design/part-states.txt:
23583         Many doc updates.
23584
23585 2005-10-08  Wim Taymans  <wim@fluendo.com>
23586
23587         * gst/gstevent.c:
23588         * gst/gstevent.h:
23589         Fix event quark registration.
23590         Add some space between events so we can insert them in the
23591         right groups.
23592
23593 2005-10-08  Wim Taymans  <wim@fluendo.com>
23594
23595         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23596         (gst_base_sink_handle_buffer):
23597         Better log message.
23598
23599         * gst/gstbus.h:
23600         * gst/gstelement.h:
23601         More docs.
23602
23603         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23604         (gst_queue_set_property), (gst_queue_get_property):
23605         * gst/gstqueue.h:
23606         Remove old unused properties.
23607
23608 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23609         * docs/gst/gstreamer-sections.txt:
23610         * gst/gstmessage.c:
23611         * gst/gstmessage.h:
23612         * gst/gstminiobject.c:
23613         * gst/gstminiobject.h:
23614         * gst/gstobject.h:
23615         * gst/gstpad.h:
23616         * gst/gstutils.h:
23617           lots of new docs and doc fixes
23618
23619 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23620
23621         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23622         * gst/gstplugin.h:
23623         * gst/gstregistry.c: (gst_registry_lookup_locked),
23624         (gst_registry_scan_path_level):
23625         * gst/gstregistryxml.c: (load_plugin):
23626           Only ever load one plugin for a given plugin basename.
23627           This ensures correct overriding of GST_PLUGIN_PATH over
23628           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23629           system installed plugins.
23630
23631 2005-10-08  Wim Taymans  <wim@fluendo.com>
23632
23633         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23634         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23635         Prepare for doing QOS.
23636
23637 2005-10-08  Wim Taymans  <wim@fluendo.com>
23638
23639         * check/gst/gstbin.c: (GST_START_TEST):
23640         * check/pipelines/cleanup.c: (GST_START_TEST):
23641         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23642         Allow new clock message too.
23643
23644 2005-10-08  Wim Taymans  <wim@fluendo.com>
23645
23646         * gst/gstmessage.c: (gst_message_new_error),
23647         (gst_message_new_warning), (gst_message_new_tag),
23648         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23649         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23650         (gst_message_new_segment_start), (gst_message_new_segment_done),
23651         (gst_message_parse_state_changed),
23652         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23653         (gst_message_parse_new_clock):
23654         * gst/gstmessage.h:
23655         Also carry the clock in question.
23656
23657 2005-10-08  Wim Taymans  <wim@fluendo.com>
23658
23659         * gst/gstmessage.c: (gst_message_new_custom),
23660         (gst_message_new_eos), (gst_message_new_error),
23661         (gst_message_new_warning), (gst_message_new_tag),
23662         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23663         (gst_message_new_new_clock), (gst_message_new_segment_start),
23664         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23665         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23666         * gst/gstmessage.h:
23667         Clean up.
23668         Added clock related messages.
23669
23670         * gst/gstpipeline.c: (gst_pipeline_change_state):
23671         Post message when the clock changed.
23672
23673         * tools/gst-launch.c: (event_loop):
23674         Print new clock.
23675
23676 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23677
23678         * tools/gst-inspect.c: (print_element_properties_info):
23679           Can't pass NULL strings to g_print() on windows.
23680
23681 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23682
23683         * docs/Makefile.am:
23684         * docs/gst/Makefile.am:
23685         * docs/gst/gstreamer-docs.sgml:
23686         * docs/gst/running.xml:
23687         * docs/version.entities.in:
23688           add a chapter on running GStreamer.
23689           document GST_DEBUG and GST_PLUGIN* env vars
23690
23691 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23692
23693         * Makefile.am:
23694           remove include dir
23695         * configure.ac:
23696           remove PLUGINS_BUILDDIR stuff
23697         * gst/gst.c: (init_post):
23698           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23699         * idiottest.mak:
23700           remove, it was condescending and not needed
23701
23702 2005-10-08  Wim Taymans  <wim@fluendo.com>
23703
23704         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23705         (gst_base_sink_handle_object), (gst_base_sink_event),
23706         (gst_base_sink_wait), (gst_base_sink_handle_event),
23707         (gst_base_sink_change_state):
23708         * gst/base/gstbasesink.h:
23709         Repost EOS message while going to PLAYING if still EOS.
23710         Make sure that when receiving a FLUSH_START we don't attempt
23711         to sync on the clock anymore.
23712
23713 2005-10-08  Wim Taymans  <wim@fluendo.com>
23714
23715         * tools/gst-launch.c: (event_loop):
23716         Better message printout.
23717
23718 2005-10-08  Wim Taymans  <wim@fluendo.com>
23719
23720         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23721         (gst_bin_child_proxy_get_children_count):
23722         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23723         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23724         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23725         (gst_child_proxy_set_valist):
23726         * gst/parse/grammar.y:
23727         Make ChildProxy threadsafe and fix mem leaks.
23728
23729 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23730
23731         * gst/gst.c: (init_post):
23732           debug the GST_PLUGIN_ env vars
23733
23734 2005-10-08  Wim Taymans  <wim@fluendo.com>
23735
23736         * check/gst/gstbin.c: (GST_START_TEST):
23737         * check/gst/gstmessage.c: (GST_START_TEST):
23738         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23739         * gst/gstelement.c: (gst_element_commit_state),
23740         (gst_element_lost_state):
23741         * gst/gstmessage.c: (gst_message_new_state_changed),
23742         (gst_message_parse_state_changed):
23743         * gst/gstmessage.h:
23744         * tools/gst-launch.c: (event_loop):
23745         Added extra field to STATE_CHANGE message with the pending
23746         state, which will be different from the new state soon.
23747
23748 2005-10-08  Wim Taymans  <wim@fluendo.com>
23749
23750         * gst/gstbus.c: (gst_bus_pop):
23751         * gst/gstclock.c:
23752         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23753         Small cleanups and doc updates.
23754
23755 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23756
23757         * gst/gst.c: (init_pre):
23758         * gst/gstbin.c: (gst_bin_add_func):
23759           log distributing clocks and base time
23760         * gst/gstregistry.c: (gst_registry_add_plugin),
23761         (gst_registry_scan_path_level), (gst_registry_scan_path):
23762           clean up the debugging output a little
23763         * gst/gstutils.c: (gst_element_state_get_name):
23764           warn about a memleak (I've actually seen this be used, though
23765           it was probably a bug)
23766
23767 2005-10-07  Wim Taymans  <wim@fluendo.com>
23768
23769         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23770         (gst_base_src_init), (gst_base_src_default_newsegment),
23771         (gst_base_src_newsegment), (gst_base_src_do_seek),
23772         (gst_base_src_loop), (gst_base_src_start):
23773         * gst/base/gstbasesrc.h:
23774         Make the newsegment event customizable by subclasses.
23775
23776 2005-10-07  Wim Taymans  <wim@fluendo.com>
23777
23778         * gst/gstevent.c: (gst_event_new_buffersize),
23779         (gst_event_parse_buffersize):
23780         * gst/gstevent.h:
23781         New event for future idea.
23782
23783 2005-10-07  Andy Wingo  <wingo@pobox.com>
23784
23785         * gst/gstelement.c (gst_element_post_message): Doc update.
23786
23787         * docs/gst/gstreamer-sections.txt: Update.
23788
23789         * gst/gstmessage.c (gst_message_new_application): Made into a
23790         function like honest API calls.
23791         (gst_message_new_element): New message type.
23792
23793         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23794
23795         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23796         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23797         times.
23798
23799         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23800         NO_PREROLL from gst_element_change_state to fall through.
23801
23802 2005-10-07  Wim Taymans  <wim@fluendo.com>
23803
23804         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23805         (gst_ghost_pad_do_activate_push):
23806         Activating a ghostpad with no internal pad in push mode
23807         is ok.
23808
23809 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23810
23811         * gst/gstobject.h:
23812           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23813           Fixes compilation on Windows.
23814
23815 2005-10-07  Michael Smith <msmith@fluendo.com>
23816
23817         * tools/gst-inspect.c:
23818           Print out feature and plugin count at the end when printing out
23819           all features.
23820
23821 2005-10-04  Michael Smith <msmith@fluendo.com>
23822
23823         * gst/gsterror.c: (_gst_stream_errors_init):
23824           Add another error string used in a few existing plugins.
23825
23826         * gst/gstplugin.c:
23827         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23828         * tools/gst-inspect.c: (print_element_info):
23829           When a feature disappears from a plugin (and the feature exists in
23830           the cached registry file), things went horribly wrong. This isn't a
23831           complete fix, we should actually be removing the 'missing' features
23832           from the features list when we load the actual plugin. That's not
23833           yet implemented. 
23834
23835 2005-10-04  Johan Dahlin  <johan@gnome.org>
23836
23837         * check/gst/gstiterator.c: (GST_START_TEST):
23838         * gst/gstbin.c: (gst_bin_iterate_elements),
23839         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23840         * gst/gstelement.c: (gst_element_iterate_pads):
23841         * gst/gstformat.c: (gst_format_iterate_definitions):
23842         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23843         (gst_iterator_new_list), (gst_iterator_filter):
23844         * gst/gstiterator.h:
23845         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23846         Add a GType to GstIterator, update callsites and tests.
23847
23848 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23849
23850         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23851           give events a chance to be handled by event probes when the pad
23852           is not linked
23853
23854 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23855
23856         * gst/gstevent.c: (gst_event_type_get_name),
23857         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23858         * gst/gstevent.h:
23859           add string representations for event types
23860
23861 2005-10-06  Wim Taymans  <wim@fluendo.com>
23862
23863         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23864         Don't use NULL pointers.
23865
23866 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23867
23868         * gst/gst_private.h:
23869         * gst/gstbus.c:
23870         * gst/gstelement.c:
23871         * gst/gstinfo.c:
23872         * gst/gstpluginfeature.c:
23873           widen the debug category in output to fit the biggest one we have
23874           add a bus category and use it
23875           play with the colors
23876           fix up some categories
23877
23878 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23879
23880         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23881           add push activation of sink ghost pads.
23882           Andye, please verify
23883
23884 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23885
23886         * gst/gstutils.c: (gst_element_link_pads):
23887           fix a bug in the case where neither element has a pad
23888         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23889           add a test for that case
23890
23891 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23892
23893         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23894           emit have-data before checking for peers.  This allows
23895           for probe handlers to connect elements.  This helps autopluggers.
23896         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23897         (gst_pad_suite):
23898           add six checks, linked/unlinked with no/true/false probe
23899
23900 2005-10-04  Wim Taymans  <wim@fluendo.com>
23901
23902         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23903         (gst_fake_sink_event), (gst_fake_sink_preroll),
23904         (gst_fake_sink_render), (gst_fake_sink_change_state):
23905         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23906         (gst_fake_src_get_property), (gst_fake_src_create),
23907         (gst_fake_src_stop):
23908         * gst/elements/gstidentity.c: (gst_identity_stop):
23909         Protect last_message with lock.
23910
23911 2005-10-04  Edward Hervey  <edward@fluendo.com>
23912
23913         * gst/gstformat.h: 
23914         Added precision in the comments for GST_FORMAT_DEFAULT
23915
23916 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23917
23918         * tools/gst-launch.c: (main):
23919           Don't try to run erroneous pipelines.
23920
23921 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23922
23923         * gst/gstbus.c: We don't need this header.
23924
23925 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23926
23927         * configure.ac:
23928           back to development
23929
23930 === release 0.9.3 ===
23931
23932 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23933
23934         * README:
23935         * configure.ac:
23936           Releasing 0.9.3, "Unregistered"
23937
23938 2005-10-03  Andy Wingo  <wingo@pobox.com>
23939
23940         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23941         whereby calling a pad's activatepush() function can start a thread
23942         that starts to push or pull before the pad gets the FLUSHING flag
23943         unset. Hack around it by holding the stream lock until the flag is
23944         set. Need to replace this with a proper solution. Together with
23945         the ghost pad fixes, this fixes mp3 playing/tagreading.
23946
23947         * docs/design/part-gstghostpad.txt: Add a note about activation of
23948         proxy pads outside of ghost pads.
23949
23950         * gst/gstghostpad.c: Implement the ghost pad activation design.
23951
23952 2005-10-02  Andy Wingo  <wingo@pobox.com>
23953
23954         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23955         It is volatile, after all.
23956
23957         * docs/design/part-gstghostpad.txt: Flesh out activation with
23958         ghost pads.
23959
23960         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23961         GST_DEBUG_FUNCPTR.
23962
23963 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23964
23965         * configure.ac:
23966           Fix (unused) AM_CONDITIONAL tests.
23967
23968 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23969
23970         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23971
23972         * gst/gstutils.c: (gst_pad_query_convert):
23973           Add assertion that makes sure src_val is >=0, just like
23974           gst_query_new_convert() has. (#315895)
23975
23976 2005-09-30  Edward Hervey  <edward@fluendo.com>
23977
23978         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23979         Let's not iterate pads we're not interested in, it avoids getting 
23980         sky-high refcounts on sinkpad.
23981
23982 2005-09-30  Wim Taymans  <wim@fluendo.com>
23983
23984         * gst/gstelement.c: (gst_element_set_state),
23985         (gst_element_change_state):
23986         Small tweak, element in ASYNC remains ASYNC.
23987
23988 2005-09-30  Wim Taymans  <wim@fluendo.com>
23989
23990         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23991         Only error is an error.
23992
23993         * gst/gstbin.c: (gst_bin_change_state):
23994         Better debugging.
23995
23996         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23997         Also call pad_block in pad alloc.
23998
23999         * gst/gstutils.c: (gst_flow_get_name):
24000         Better debugging.
24001
24002 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24003
24004         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24005         (gst_base_src_get_range):
24006           Fix documentation typos. Add some more debug info.
24007
24008 2005-09-29  David Schleef  <ds@schleef.org>
24009
24010         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24011           more end-user friendly.
24012         * tools/gst-inspect.c: (main): Check if command-line argument is
24013           a file and attempt to load that file as a plugin.
24014
24015 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24016
24017         * check/gst/gstbin.c:
24018         * check/states/sinks.c:
24019           fix tests for the new warning
24020         * check/gst/gstpipeline.c:
24021           add a test for pipeline and bus interaction
24022         * gst/gstelement.c:
24023           elements should be NULL if they get disposed; add a warning if not
24024
24025 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24026
24027         * gst/gstobject.c:
24028           for 2.6 refcounting, make debug log more correct by printing
24029           the actual refcounts at the time of swap (Wim)
24030
24031 2005-09-29  Andy Wingo  <wingo@pobox.com>
24032
24033         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24034         removes signal watches previously added via
24035         gst_bus_add_signal_watch.
24036         (gst_bus_add_signal_watch): Don't return the source id, just store
24037         it on the bus if there wasn't an id already.
24038
24039         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24040         add_signal_watch and remove_signal_watch.
24041
24042 2005-09-29  Edward Hervey  <edward@fluendo.com>
24043
24044         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24045         Better if we actually iterate the list :)
24046
24047 2005-09-29  Wim Taymans  <wim@fluendo.com>
24048
24049         * check/gst/gstbin.c: (GST_START_TEST):
24050         Change for new bus API.
24051
24052         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24053         (send_messages), (GST_START_TEST), (gstbus_suite):
24054         Change for new bus signal API.
24055
24056         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24057         (gst_bus_source_prepare), (gst_bus_source_check),
24058         (gst_bus_create_watch), (gst_bus_add_watch_full),
24059         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24060         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24061         * gst/gstbus.h:
24062         Remove support for multiple GSources operating on different
24063         message types as it is too complex and unneeded when using
24064         signals.
24065         Added support for receiving signals from the bus.
24066
24067 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24068
24069         * docs/libs/tmpl/gstdataprotocol.sgml:
24070         * docs/manual/advanced-dataaccess.xml:
24071         * gst/elements/gstcapsfilter.c:
24072         * gst/gstutils.c:
24073           rename filter-caps to caps property
24074
24075 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24076
24077         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24078           More robust fraction string parsing.
24079
24080         * docs/pwg/appendix-porting.xml:
24081           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24082
24083 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24084
24085         * gst/gstcaps.c: (gst_caps_do_simplify):
24086           Thou shalt not free a structure and then continue using it
24087           in the next loop iteration.
24088
24089         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24090         (gst_caps_suite):
24091           Add test case for caps simplification.
24092
24093 2005-09-29  Wim Taymans  <wim@fluendo.com>
24094
24095         * check/gst/gstbin.c: (GST_START_TEST):
24096         Oops.
24097
24098 2005-09-29  Wim Taymans  <wim@fluendo.com>
24099
24100         * check/gst/gstbin.c: (GST_START_TEST):
24101         Add bus to bin.
24102
24103         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24104         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24105         (find_element), (gst_bin_sort_iterator_next),
24106         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24107         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24108         (gst_bin_change_state), (gst_bin_dispose):
24109         A bin does not have a bus, it gets the bus from the parent.
24110
24111         * gst/gstelement.c: (gst_element_requires_clock),
24112         (gst_element_provides_clock), (gst_element_is_indexable),
24113         (gst_element_is_locked_state), (gst_element_change_state),
24114         (gst_element_set_bus_func):
24115         Small cleanups.
24116
24117         * gst/gstpipeline.c: (gst_pipeline_class_init),
24118         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24119         The pipeline provides a bus.
24120
24121 2005-09-28  Johan Dahlin  <johan@gnome.org>
24122
24123         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24124         gst_structure_get_enum instead of gst_structure_get_int
24125
24126         * gst/gststructure.c (gst_structure_get_enum): Impl.
24127
24128         * gst/gststructure.h (gst_structure_get_enum): Add
24129
24130         * docs/gst/gstreamer-sections.txt: Ditto
24131
24132         * gst/gstmessage.c (gst_message_new_state_changed): Use
24133         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24134         which does introspection.
24135         Reviewed by Christian Schaller
24136
24137 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24138
24139         * gst/gstinfo.c: (gst_debug_log_default):
24140           don't do dummy g_strdup()s
24141         * libs/gst/controller/gstcontroller.c:
24142         (on_object_controlled_property_changed),
24143         (gst_controlled_property_new), (gst_controller_new_valist),
24144         (gst_controller_new_list),
24145         (gst_controller_remove_properties_valist), (gst_controller_set),
24146         (gst_controller_get), (gst_controller_sync_values),
24147         (gst_controller_get_value_array), (_gst_controller_class_init),
24148         (gst_controller_get_type):
24149         * libs/gst/controller/gstcontroller.h:
24150         * libs/gst/controller/gstinterpolation.c:
24151         (gst_controlled_property_find_timed_value_node):
24152           convert // to /**/ comments
24153
24154 2005-09-28  Wim Taymans  <wim@fluendo.com>
24155
24156         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24157         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24158         (gst_bus_sync_signal_handler):
24159         * gst/gstbus.h:
24160         Added async-message and sync-message signals to the bus.
24161         Added helper BusFunc to emit signals for all posted messages.
24162
24163         * gst/gstmessage.c: (gst_message_type_get_name),
24164         (gst_message_type_to_quark), (gst_message_get_type):
24165         * gst/gstmessage.h:
24166         Register quarks for message names.
24167
24168 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24169
24170         * docs/libs/gstreamer-libs-sections.txt:
24171         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24172         (gst_controller_new_list):
24173         * libs/gst/controller/gstcontroller.h:
24174           added another constructor for language bindings
24175
24176 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24177
24178         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24179           add another check
24180         * gst/gstbus.c:
24181           add some doc
24182         * gst/gstinfo.c: (_gst_debug_init):
24183           slightly more readable color for refcount debugging
24184
24185 2005-09-28  Wim Taymans  <wim@fluendo.com>
24186
24187         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24188         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24189         (find_element), (gst_bin_sort_iterator_next),
24190         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24191         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24192         (gst_bin_change_state), (gst_bin_dispose):
24193         Small doc fixes. get_clock -> provide_clock.
24194
24195         * gst/gstelement.c: (gst_element_class_init),
24196         (gst_element_provides_clock), (gst_element_provide_clock),
24197         (gst_element_get_clock), (gst_element_commit_state),
24198         (gst_element_lost_state):
24199         * gst/gstelement.h:
24200         Make get/set_clock() symetric. Add provide_clock vmethod since
24201         that is actually what this function does.
24202
24203         * gst/gstpipeline.c: (gst_pipeline_class_init),
24204         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24205         (gst_pipeline_get_clock):
24206         get_clock -> provide_clock.
24207
24208 2005-09-28  Andy Wingo  <wingo@pobox.com>
24209
24210         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24211         lieu of real docs...
24212
24213         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24214
24215 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24216
24217         * gst/elements/gstcapsfilter.c:
24218         * gst/elements/gstfakesink.c:
24219         * gst/elements/gstfakesrc.c:
24220         * gst/elements/gstfdsink.c:
24221         * gst/elements/gstfdsrc.c:
24222         * gst/elements/gstfilesink.c:
24223         * gst/elements/gstfilesrc.c:
24224         * gst/elements/gstidentity.c:
24225         * gst/elements/gsttee.c:
24226         * gst/elements/gsttypefindelement.c:
24227           Make element details static.
24228
24229 2005-09-28  Wim Taymans  <wim@fluendo.com>
24230
24231         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24232         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24233         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24234         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24235         (gst_bin_change_state), (gst_bin_dispose):
24236         Some documentation updates.
24237         Clean up dispose handlers.
24238
24239         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24240         * gst/gstpad.c: (gst_pad_dispose):
24241         Clean up dispose handler.
24242
24243         * gst/gstpipeline.c: (gst_pipeline_change_state):
24244         Removed spurious UNLOCK.
24245
24246 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24247
24248         * docs/gst/gstreamer-sections.txt:
24249         * gst/base/gstbasesrc.h:
24250         * gst/gstelement.h:
24251         * gst/gstevent.h:
24252         * gst/gstobject.h:
24253         * gst/gstpad.h:
24254         * gst/gstpipeline.c:
24255         * gst/gstpipeline.h:
24256         * gst/gstutils.h:
24257         * gst/gstxml.h:
24258           added two new functions to the docs
24259                 documents all undocumented GstXXXFlags
24260                 completed some incomplete docs 
24261
24262 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24263
24264         * gst/gstbin.c: (gst_bin_dispose):
24265         * gst/gstelement.c: (gst_element_dispose):
24266           remove now useless and leaky resurrection code in dispose
24267         * gst/base/gstbasesrc.c: (gst_base_src_init):
24268         * gst/gstelementfactory.c: (gst_element_factory_create):
24269         * gst/gstobject.c: (gst_object_set_parent):
24270           add some debugging
24271
24272 2005-09-27  Wim Taymans  <wim@fluendo.com>
24273
24274         * docs/design/part-TODO.txt:
24275         Update TODO.
24276
24277         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24278         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24279         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24280         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24281         (gst_bin_change_state):
24282         * gst/gstelement.h:
24283         Remove element variable, we keep element info in the iterator now.
24284
24285 2005-09-27  Andy Wingo  <wingo@pobox.com>
24286
24287         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24288         values.
24289
24290 2005-09-27  Wim Taymans  <wim@fluendo.com>
24291
24292         * check/gst/gstbin.c: (GST_START_TEST):
24293         Enable check that works now.
24294
24295         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24296         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24297         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24298         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24299         (gst_bin_change_state):
24300         * gst/gstbin.h:
24301         Redid the state change algorithm using a topological sort algo.
24302         Handles all cases correctly.
24303         Exposed iterator for state change order.
24304
24305         * gst/gstelement.h:
24306         Temp storage for state changes. Need to get rid of this soon.
24307
24308 2005-09-27  Wim Taymans  <wim@fluendo.com>
24309
24310         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24311         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24312         (link_fold_func), (gst_pad_proxy_setcaps):
24313         Leak fixes, the fold functions need to unref the passed object and
24314         _get_parent_*() returns ref to parent.
24315
24316 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24317
24318         * check/gst/gstbuffer.c: (test_make_writable):
24319           Plug leak in test case and fix 'make check-valgrind'
24320
24321 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24322
24323         * gst/gstbuffer.c: (gst_subbuffer_init):
24324           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24325           works correctly in all circumstances (we could have just copied
24326           the parent buffer's readonly flag, but conceptually it seems
24327           cleaner to mark all subbuffers as read-only). (based on patch
24328           by Alessandro Decina, #314710).
24329         
24330         * check/gst/gstbuffer.c: (create_read_only_buffer),
24331         (test_make_writable), (test_subbuffer_make_writable),
24332         (gst_test_suite):
24333           Add some tests for gst_buffer_make_writable().
24334
24335 2005-09-27  Wim Taymans  <wim@fluendo.com>
24336
24337         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24338         use gst_object_has_ancestor().
24339
24340         * gst/gstobject.c: (gst_object_has_ancestor):
24341         * gst/gstobject.h:
24342         gst_object_has_ancestor() copied from gstbin.c as it is a
24343         useful function.
24344
24345         * tests/instantiate/create.c: (create_all_elements):
24346         * tests/lat.c: (handoff_src), (handoff_sink):
24347         * tests/sched/runxml.c: (main):
24348         * tests/seeking/seeking1.c: (main):
24349         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24350         (main):
24351         Fix compilation of some tests.
24352
24353 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24354
24355         * gst/gsterror.h:
24356           Remove comment. GST_TYPE_G_ERROR is here to stay,
24357           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24358           (#316961, #300610).
24359
24360 2005-09-26  Wim Taymans  <wim@fluendo.com>
24361
24362         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24363         Added check that shows error in state change order.
24364
24365 2005-09-26  Wim Taymans  <wim@fluendo.com>
24366
24367         * gst/gstbin.c: (gst_bin_change_state):
24368         Make state change function use 3 queues again, we were
24369         adding elements in the wrong order.
24370
24371         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24372         Some debug info,
24373
24374         * gst/gstpad.c: (gst_pad_dispose):
24375         Added some debug info first.
24376
24377 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24378
24379         * docs/design/draft-push-pull.txt:
24380         * docs/design/part-events.txt:
24381         * docs/design/part-overview.txt:
24382         * docs/design/part-scheduling.txt:
24383           Replace all _pull_region() with _pull_range()
24384           
24385 2005-09-26  Andy Wingo  <wingo@pobox.com>
24386
24387         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24388
24389         * check/gst-libs/controller.c: Update for controller api change.
24390
24391         * configure.ac: 
24392         * tests/Makefile.am:
24393         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24394         over by GLib bug 118439.
24395         
24396         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24397         routines to a function.
24398
24399         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24400
24401         * libs/gst/controller/gsthelper.c:
24402         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24403         (gst_object_sync_values): Renamed from sink_values. Ugh.
24404
24405         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24406
24407         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24408         Renamed from controller_key, as it is exported.
24409
24410         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24411
24412 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24413
24414         * gst/Makefile.am:
24415         * gst/gst.h:
24416         * gst/gstpad.h:
24417         * gst/gstpadtemplate.h:
24418         * gst/gstquery.c:
24419         * gst/gstquery.h:
24420         * gst/gstqueryutils.c:
24421         * gst/gstqueryutils.h:
24422           remove queryutils headers after moving the two used functions
24423           to gstquery.  also fixes build problem for gstsiddec
24424
24425 2005-09-26  Michael Smith <msmith@fluendo.com>
24426
24427         * tools/gst-launch.1.in:
24428         Correct documentation in manpage of debug syntax
24429
24430 2005-09-26  Wim Taymans  <wim@fluendo.com>
24431
24432         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24433         (gst_base_src_is_seekable), (gst_base_src_change_state):
24434         Some more debugging info.
24435
24436 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24437
24438         * docs/gst/gstreamer-sections.txt:
24439         * gst/base/gstbasetransform.h:
24440         * gst/gstindex.h:
24441           added more docs
24442
24443 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24444
24445         * docs/gst/.cvsignore:
24446         * docs/gst/tmpl/.cvsignore:
24447         * docs/gst/tmpl/gstpipeline.sgml:
24448         * docs/gst/tmpl/gstplugin.sgml:
24449         * gst/gstpipeline.c:
24450         * gst/gstplugin.c:
24451         * gst/gstplugin.h:
24452           inlined the last two docs files
24453           removed the tmpl directory from cvs (no more conflicts here!)
24454
24455 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24456
24457         * docs/gst/gstreamer-sections.txt:
24458         * docs/gst/tmpl/.cvsignore:
24459         * docs/gst/tmpl/gstpad.sgml:
24460         * docs/gst/tmpl/gstpadtemplate.sgml:
24461         * gst/Makefile.am:
24462         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24463         (gst_pad_finalize), (gst_pad_set_pad_template):
24464         * gst/gstpad.h:
24465         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24466         (gst_pad_template_class_init), (gst_pad_template_init),
24467         (gst_pad_template_dispose), (name_is_valid),
24468         (gst_static_pad_template_get), (gst_pad_template_new),
24469         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24470         (gst_pad_template_pad_created):
24471         * gst/gstpadtemplate.h:
24472           inlined two more docs
24473           factored gstpadtemplate out of gstpad
24474
24475 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24476
24477         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24478         (test_children_state_change_order_semi_sink):
24479           Fix test case: we can't rely on a fixed state change order when
24480           going from READY => PAUSED because the sink might commit its 
24481           new state first when the first buffer created by the source 
24482           reaches the sink before the source has finished its change state.
24483           (Test case still fails at times, see #316856, comment 5 onwards)
24484
24485 2005-09-24  Wim Taymans  <wim@fluendo.com>
24486
24487         * docs/design/part-events.txt:
24488         * docs/design/part-gstbus.txt:
24489         * docs/design/part-gstpipeline.txt:
24490         * docs/design/part-messages.txt:
24491         * docs/design/part-overview.txt:
24492         * docs/design/part-segments.txt:
24493         * gst/gstbin.c:
24494         * gst/gstbuffer.c:
24495         * gst/gstclock.c:
24496         * gst/gstelement.c:
24497         * gst/gstevent.c:
24498         * gst/gstfilter.c:
24499         * gst/gstiterator.c:
24500         Various documentation updates.
24501
24502 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24503
24504         * gst/gstclock.h:
24505           Well, that's embarassing.  Luckily we weren't using
24506           GST_CLOCK_DIFF anywhere.
24507
24508 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24509
24510         * common/gtk-doc.mak:
24511           don't fail on building XML, FC4 slave shows a bunch of doc
24512           missing bits that I don't get
24513         * gst/gstpad.c:
24514         * gst/gstpipeline.c:
24515         * gst/gststructure.c:
24516           some doc updates
24517
24518 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24519
24520         * docs/design/part-gstbin.txt:
24521         * docs/design/part-gstbus.txt:
24522         * gst/gstbus.c:
24523           Add blurb about how the bus goes into flushing mode and
24524           drops all messages when its bin goes from READY into NULL 
24525           state.
24526
24527 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24528
24529         * docs/gst/gstreamer-sections.txt:
24530         * gst/gststructure.c: (gst_structure_get_clock_time):
24531         * gst/gststructure.h:
24532           add a method to get a GstClockTime out of a structure
24533
24534 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24535
24536         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24537         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24538           Added test to check state change order in bins (can still be made
24539           to fail here under heavy disk load; bails out with 'Push on pad
24540           fakesink:sink0, but it was not activated in push mode').
24541
24542         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24543           Fix state change order when there is only a semi sink (#316856)
24544
24545         * gst/gstbus.c: (gst_bus_class_init):
24546           Use _class_peek_parent(), not _class_ref(); fix docs to say
24547           'default main context' instead of 'mainloop' where that is
24548           what's meant.
24549
24550         * gst/gstelement.c: (gst_element_commit_state),
24551         (gst_element_set_state):
24552           Fix typos in debug messages
24553
24554 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24555
24556         * docs/README:
24557         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24558         * gst/gstpluginfeature.c:
24559         * gst/gstutils.c:
24560           various doc updates
24561         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24562           change an assert into an error until it gets fixed properly
24563
24564 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24565
24566         * docs/gst/gstreamer-sections.txt:
24567         * docs/gst/tmpl/.cvsignore:
24568         * docs/gst/tmpl/gstelement.sgml:
24569         * docs/gst/tmpl/gstinfo.sgml:
24570         * docs/gst/tmpl/gstobject.sgml:
24571         * gst/gstelement.c:
24572         * gst/gstelement.h:
24573         * gst/gstinfo.c:
24574         * gst/gstinfo.h:
24575         * gst/gstobject.c: (gst_object_class_init):
24576         * gst/gstobject.h:
24577           inlined 3 more biiiig doc files and added some missing docs on the fly
24578
24579 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24580
24581         * check/gst/.cvsignore:
24582         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24583         * gst/gstregistryxml.c: (load_plugin),
24584         (gst_registry_xml_save_plugin):
24585           put back source in registry.  add checks for find_plugin.
24586         * testsuite/states/bin.c: (assert_state), (empty_bin),
24587         (test_adding_one_element), (main):
24588         * testsuite/states/locked.c: (main):
24589           some compile/run fixes
24590
24591 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24592
24593         * check/gst/gstvalue.c: (GST_START_TEST):
24594           fix leaks in the test itself
24595
24596 2005-09-22  Wim Taymans  <wim@fluendo.com>
24597
24598         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24599         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24600         (gst_base_sink_query):
24601         Prepare for more accurate position reporting and query
24602         handling.
24603
24604         * gst/gstelement.c: (gst_element_send_event),
24605         (gst_element_set_state):
24606         Add some comment.
24607
24608 2005-09-22  Wim Taymans  <wim@fluendo.com>
24609
24610         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24611         (gst_query_parse_segment):
24612         * gst/gstquery.h:
24613         More documentation.
24614         Add segment query for future use.
24615
24616 2005-09-22  Wim Taymans  <wim@fluendo.com>
24617
24618         * gst/gstbin.c: (gst_bin_add_func):
24619         Some more debug info.
24620
24621         * gst/gstelement.c: (gst_element_send_event):
24622         Simplify send_event
24623
24624         * gst/gstelement.h:
24625         Don't know how flags got broken.
24626
24627         * gst/gstquery.h:
24628         Added new query.
24629
24630 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24631
24632         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24633           Add simplistic test suite for GST_TYPE_DATE serialisation and
24634           deserialisation.
24635
24636 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24637
24638         * docs/gst/gstreamer-sections.txt:
24639         * gst/gststructure.c: (gst_structure_set_valist),
24640         (gst_structure_get_date):
24641         * gst/gststructure.h:
24642         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24643         (gst_date_copy), (gst_value_compare_date),
24644         (gst_value_serialize_date), (gst_value_deserialize_date),
24645         (gst_value_transform_date_string),
24646         (gst_value_transform_string_date), (_gst_value_initialize):
24647         * gst/gstvalue.h:
24648           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24649           bunch of utility functions along with a hack that checks that
24650           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24651           is required. Part of the grand scheme in #170777.
24652
24653 2005-09-22  Andy Wingo  <wingo@pobox.com>
24654
24655         * gst/gstconfig.h.in: Psych out gtk-doc.
24656
24657         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24658
24659         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24660
24661         * tools/gst-inspect.c (print_element_list): Plug some
24662         inconsequential leaks.
24663
24664         * gst/gstregistry.c (gst_registry_get_default): Doc.
24665
24666         * check/gst/gstplugin.c: 
24667         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24668         * gst/gstelementfactory.c (gst_element_factory_create): 
24669         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24670         refcount changes.
24671
24672         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24673         (gst_plugin_feature_load): Doc, don't eat refs.
24674
24675         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24676         (gst_plugin_list_free): Doc.
24677         (gst_plugin_load_file): Doc updates.
24678
24679         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24680         accessors returning refcounted objects, return a ref.
24681
24682         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24683         accessor for caps. IDEMPOTENCE. Oh yes.
24684
24685 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24686
24687         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24688
24689         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24690         (_gst_debug_register_funcptr):
24691           Add mutex to serialise access to the hash table with
24692           the function pointer => function name string mapping;
24693           make that hash table static scope (#316809).
24694
24695         * gst/registries/.cvsignore:
24696           Remove left-over file.
24697
24698 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24699
24700         * docs/pwg/appendix-porting.xml:
24701           And something about newsegment events and caps-on-buffers to
24702           the porting guide (feel free to improve).
24703
24704 2005-09-21  Andy Wingo  <wingo@pobox.com>
24705
24706         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24707         data and event probes on the same pad.
24708         (test_buffer_probe_once): Test that removing probes from within
24709         the probe functions works.
24710
24711 2005-09-21  Andy Wingo  <wingo@pobox.com>
24712
24713         * check/gst/gstutils.c: New file.
24714         (test_buffer_probe_n_times): A simple buffer probe test. More to
24715         come, foolios.
24716
24717         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24718         have-data::buffer, not have-data.
24719         (gst_pad_add_event_probe): Likewise for have-data::event.
24720         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24721         peer' isn't quite right yet though.
24722         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24723         (gst_pad_remove_data_probe): Change to take the guint handler_id
24724         as their arg, not the function+data, which is more glib-like.
24725
24726         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24727         the signal emission to indicate if the data is a buffer or an
24728         event.
24729         (gst_pad_get_type): Initialize buffer and event quarks.
24730         (gst_pad_class_init): have-data is now a detailed signal, yes it
24731         is.
24732
24733 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24734
24735         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24736         * gst/gstutils.c: (gst_util_set_value_from_string),
24737         (gst_util_set_object_arg):
24738           Don't put functional code in g_return_if_fail() or
24739           g_return_val_if_fail() statements, otherwise things will 
24740           break when G_DISABLE_CHECKS is defined during compilation.
24741
24742 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24743
24744         * docs/gst/tmpl/.cvsignore:
24745         * docs/gst/tmpl/gstvalue.sgml:
24746         * gst/gstvalue.c:
24747         * gst/gstvalue.h:
24748           inlied another one and added  some obvious docs
24749
24750 2005-09-21  Wim Taymans  <wim@fluendo.com>
24751
24752         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24753         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24754         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24755         (gst_fdsrc_get_property), (gst_fdsrc_create):
24756         * gst/elements/gstfdsrc.h:
24757         Properly implement fdsrc. Removed signal and timeout,
24758         better implemented somewhere else.
24759
24760 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24761
24762         * docs/gst/tmpl/.cvsignore:
24763         * docs/gst/tmpl/gstimplementsinterface.sgml:
24764         * gst/gstinterface.c:
24765           inlined more docs
24766
24767 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24768
24769         * docs/gst/gstreamer-sections.txt:
24770         * docs/gst/tmpl/.cvsignore:
24771         * docs/gst/tmpl/gstenumtypes.sgml:
24772           remove obsolete doc file
24773
24774 2005-09-21  David Schleef  <ds@schleef.org>
24775
24776         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24777         little beer, fix a little leak.
24778
24779 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24780
24781         * docs/gst/gstreamer-docs.sgml:
24782         * docs/gst/gstreamer-sections.txt:
24783         * docs/gst/tmpl/.cvsignore:
24784         * gst/Makefile.am:
24785         * gst/gst.h:
24786         * gst/gstbin.c:
24787         * gst/gstelement.h:
24788         * gst/gstindex.c: (gst_index_class_init):
24789         * gst/gstindex.h:
24790         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24791         (gst_index_factory_class_init), (gst_index_factory_init),
24792         (gst_index_factory_finalize), (gst_index_factory_new),
24793         (gst_index_factory_destroy), (gst_index_factory_find),
24794         (gst_index_factory_create), (gst_index_factory_make):
24795         * gst/gstindexfactory.h:
24796         * gst/gstpluginfeature.c:
24797         * gst/gstpluginfeature.h:
24798         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24799           more docs inlined, splitted gstindex.{c,h}
24800
24801 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24802
24803         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24804           fix a leak
24805
24806 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24807
24808         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24809           Set sync to FALSE by default.
24810
24811 2005-09-20  Wim Taymans  <wim@fluendo.com>
24812
24813         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24814         (gst_base_sink_init):
24815         Make sync property settable from subclass.
24816
24817         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24818         (gst_fake_sink_change_state):
24819         Set sync to FALSE by default.
24820
24821 2005-09-20  Wim Taymans  <wim@fluendo.com>
24822
24823         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24824         * tools/gst-launch.c: (main):
24825         The timeout handler should have lower priority than the source
24826         so we don't timeout before popping a message with 0 timeout.
24827         Dump error messages after failed state change.
24828
24829 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24830
24831         * tools/gst-inspect.c: (print_element_properties_info):
24832           Fix two typos.
24833
24834 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24835
24836         * check/gst/gstevent.c:
24837         * gst/elements/gstfakesink.c:
24838         * gst/elements/gstfakesink.h:
24839           remove the sync property from fakesink.
24840           has the side effect of setting sync TRUE
24841           for fakesink, which is a change.  Anyone who knows how
24842           to fix this nicely in a GObject-y way, feel free.
24843
24844 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24845
24846         * docs/gst/gstreamer-docs.sgml:
24847           remove probe refsection
24848
24849 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24850
24851         * check/Makefile.am:
24852           disable valgrinding the controller test again
24853         * docs/gst/gstreamer-sections.txt:
24854           update for api-changes
24855
24856 2005-09-20  Wim Taymans  <wim@fluendo.com>
24857
24858         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24859         (gst_base_sink_set_property), (gst_base_sink_get_property),
24860         (gst_base_sink_do_sync):
24861         * gst/base/gstbasesink.h:
24862         Added sync property to basesink to disable clock sync.
24863
24864 2005-09-20  Andy Wingo  <wingo@pobox.com>
24865
24866         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24867         eating the caller's refcount.
24868
24869         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24870         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24871         refcount.
24872
24873         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24874         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24875         of GLib 2.8 public, so we can know which refcount to check in
24876         tests.
24877
24878         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24879         (gst_object_init): Only set the gst refcount if we're going ahead
24880         with the refcount hack.
24881
24882 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24883
24884         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24885         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24886           more leaks plumbed, added more debug-logging
24887         * gst/gstmacros.h:
24888           whitespace fix
24889
24890 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24891
24892         * gst/gstmessage.c:
24893           remove include of gstmemchunk.h
24894
24895 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24896
24897         * gst/gstclock.c: (_gst_clock_id_free):
24898           Commit from the Political Party For More Atomic CVS Commits,
24899           so that people don't waste too much of their day fishing
24900           out obvious leaks out of massive commits.
24901           Oh, and fix a pretty damn obvious leak in the memchunk
24902           removal code.
24903
24904 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24905
24906         * check/Makefile.am:
24907         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24908           plug mem-leak, re-add to valgrindable tests
24909
24910 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24911
24912         * gst/gstplugin.h:
24913           unbreak the build for those who have chronic arthritis
24914           and typing "make check" is just too taxing on the hands
24915
24916 2005-09-20  Andy Wingo  <wingo@pobox.com>
24917
24918         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24919         really want it out, you should fix plugins at the same time.
24920
24921 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24922
24923         * configure.ac:
24924         * docs/gst/gstreamer-sections.txt:
24925         * gst/gstobject.c:
24926           added missing symbols to api docs
24927           disable ref-count hack if we have glib >= 2.8
24928
24929 2005-09-19  David Schleef  <ds@schleef.org>
24930
24931         * docs/gst/Makefile.am: Ignore a few more internal headers
24932         * docs/gst/gstreamer-docs.sgml: Remove old sections
24933         * docs/gst/gstreamer-sections.txt: Remove old sections
24934         * docs/gst/tmpl/gstobject.sgml: update
24935         * docs/gst/tmpl/gstplugin.sgml: update
24936         * docs/gst/tmpl/gstpluginfeature.sgml: update
24937         * docs/random/ds/0.9-suggested-changes: update.
24938         * gst/Makefile.am: remove memchunk and trashstack, since they're
24939           not used.
24940         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24941         * gst/gst.h: don't include some headers
24942         * gst/gstchildproxy.c: add gstmarshal.h
24943         * gst/gstclock.c: Don't use memchunks
24944         * gst/gstminiobject.c: Add some docs
24945         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24946         * gst/gstobject.h: same
24947         * gst/gstplugin.c: include gstmacros.h
24948         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24949         * gst/gstquery.c: don't use memchunks
24950         * gst/gstregistry.c: rename gst_registry_deinit()
24951         * gst/gstregistry.h: same
24952
24953 2005-09-19  David Schleef  <ds@schleef.org>
24954
24955         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24956         * docs/libs/gstreamer-libs-sections.txt:
24957         * docs/libs/tmpl/gstgetbits.sgml:
24958         * docs/libs/tmpl/gstputbits.sgml:
24959
24960 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24961
24962         * win32/gstenumtypes.c:
24963         * win32/gstenumtypes.h:
24964           Update.
24965
24966 2005-09-19  Wim Taymans  <wim@fluendo.com>
24967
24968         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24969         Automatically PAUSE and RESUME a pipeline when a flushing seek
24970         is performed.
24971
24972 2005-09-19  Andy Wingo  <wingo@pobox.com>
24973
24974         * gst/gstregistry.h: Spacing fixen.
24975
24976 2005-09-19  Wim Taymans  <wim@fluendo.com>
24977
24978         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24979         Handle state change failure more correctly.
24980
24981 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24982
24983         * check/Makefile.am:
24984         * check/pipelines/cleanup.c: (run_pipeline):
24985         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24986         (GST_START_TEST):
24987           enable cleanup again after fixing the leak
24988         * docs/README:
24989           some more info on docs
24990
24991 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24992
24993         * check/Makefile.am:
24994           re-enable tests now that leaks are plugged
24995         * check/gst/gst.c:
24996         * check/gst/gstbin.c:
24997         * check/gst/gstpipeline.c:
24998           add some more tests while fixing leaks
24999         * common/check.mak:
25000           make sure binaries are uptodate when valgrinding/gdbing
25001         * gst/gst.c:
25002         * gst/gstelementfactory.c:
25003           remove a ref too many, and add a FIXME for when we get
25004           round to disposing of classes
25005         * gst/gstplugin.c:
25006           fix the refcounting when loading a plugin from a file and
25007           the code pretends that the pointer is the same even though
25008           of course it can change
25009         * gst/gstpluginfeature.c:
25010           unref plugins marked cached (a bit confusing as a name)
25011           as the docs state should be done
25012           various doc additions to explain refcounting
25013         * gst/gstregistry.c:
25014         * gst/gstregistryxml.c:
25015           debugging
25016
25017 2005-09-19  Wim Taymans  <wim@fluendo.com>
25018
25019         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25020         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25021         (send_messages), (GST_START_TEST), (gstbus_suite):
25022         * check/gst/gstpipeline.c: (GST_START_TEST):
25023         * check/pipelines/cleanup.c: (run_pipeline):
25024         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25025         (GST_START_TEST):
25026         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25027         (gst_bus_source_check), (gst_bus_source_dispatch),
25028         (gst_bus_create_watch), (gst_bus_add_watch_full),
25029         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25030         * gst/gstbus.h:
25031         * tools/gst-launch.c: (event_loop):
25032         * tools/gst-md5sum.c: (event_loop):
25033         GstBusHandler -> GstBusFunc, return value has the same meaning as
25034         any other GSource (FALSE == remove source).
25035         _add_watch() and _add_watch_full() now take a MessageType mask to
25036         only handle specific types of messages.
25037         _poll() returns the GstMessage instead of the message type to avoid
25038         race conditions.
25039         _have_pending() takes a MessageType mask now too.
25040         Added testsuite for multiple bus watches.
25041         Fix testsuites and applications for new bus API.
25042
25043 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25044
25045         * check/Makefile.am:
25046           mark a bunch of the tests as to fix until we fix them
25047
25048 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25049
25050         * common/check.mak:
25051           use GST_PLUGIN settings for valgrind tests as well, so we're
25052           valgrinding the correct thing
25053         * gst/gst.c: (init_post):
25054           plug another leak
25055
25056 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25057
25058         * gst/gst.c: (init_post), (gst_deinit):
25059         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25060         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25061         * gst/gstindex.c: (gst_index_factory_class_init),
25062         (gst_index_factory_finalize):
25063         * gst/gstobject.c: (gst_object_dispose):
25064         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25065         (gst_plugin_load_file), (gst_plugin_desc_free):
25066         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25067         (gst_plugin_feature_finalize):
25068         * gst/gstregistry.c: (gst_registry_class_init),
25069         (gst_registry_init), (gst_registry_finalize),
25070         (gst_registry_get_default), (gst_registry_deinit):
25071         * gst/gstregistry.h:
25072         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25073           various cleanups and memleak plugging.  make valgrind is happy now.
25074
25075 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25076
25077         * common/check.mak:
25078           add a check-valgrind target
25079
25080 2005-09-18  David Schleef  <ds@schleef.org>
25081
25082         * tools/gst-inspect.c: Revert the GOption code.
25083
25084 2005-09-17  David Schleef  <ds@schleef.org>
25085
25086         * check/Makefile.am: Fix environment variables.
25087         * check/gst/gstplugin.c: Fix for API changes.
25088         * tools/gst-inspect.c: Fix for API changes.
25089         * tools/gst-xmlinspect.c: Fix for API changes.
25090         * gst/gstelementfactory.c:
25091         * gst/gstplugin.c:
25092         * gst/gstplugin.h:
25093         * gst/gstpluginfeature.c:
25094         * gst/gstpluginfeature.h:
25095         * gst/gstregistry.c:
25096         * gst/gstregistry.h:
25097         * gst/gstregistryxml.c:
25098         * gst/gsttypefind.c:
25099         * gst/gsttypefindfactory.c:
25100         * gst/indexers/gstfileindex.c:
25101         * gst/indexers/gstmemindex.c:
25102         * gst/schedulers/Makefile.am:
25103           Change registry to keep track of both plugins and features,
25104           removing the feature tracking from plugins themselves.
25105
25106 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25107
25108         * check/Makefile.am:
25109         * tools/gst-register.1.in:
25110           remove gst-register
25111
25112 2005-09-15  David Schleef  <ds@schleef.org>
25113
25114         * check/gst/gstplugin.c:
25115         * gst/gstelementfactory.c:
25116         * gst/gstplugin.c:
25117         * gst/gstpluginfeature.c:
25118         * gst/gstregistry.c:
25119           Getting tired of debugging.  Disabled all the unreffing of
25120           plugins and features, which fixes the segfaults, but of
25121           course leaks like crazy.  At least playbin works.
25122
25123 2005-09-15  David Schleef  <ds@schleef.org>
25124
25125         * check/gst/gstplugin.c: (register_check_elements),
25126         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25127         More testing
25128         * gst/elements/gsttypefindelement.c: Fix refcounting.
25129         * gst/gsttypefind.c:
25130         * gst/gsttypefindfactory.c:
25131         * gst/gsttypefindfactory.h:
25132
25133 2005-09-15  David Schleef  <ds@schleef.org>
25134
25135         * gst/gstindex.c: get refcounting correct.
25136         * gst/gstregistry.c: Handle the case where a feature/plugin is
25137           not found.
25138
25139 2005-09-15  David Schleef  <ds@schleef.org>
25140
25141         * check/Makefile.am:
25142         * check/gst/gstplugin.c: Add test
25143         * gst/gstplugin.c: Fix problems noticed by testsuite
25144         * gst/gstplugin.h:
25145         * gst/gstregistry.c: 
25146         * gst/gstregistry.h:
25147
25148 2005-09-15  David Schleef  <ds@schleef.org>
25149
25150         * gst/gstplugin.c: Implement semi-decent recounting and locking
25151           in plugins and plugin features.
25152         * gst/gstplugin.h:
25153         * gst/gstpluginfeature.c:
25154         * gst/gstpluginfeature.h:
25155         * gst/gstregistry.c:
25156
25157 2005-09-15  Michael Smith <msmith@fluendo.com>
25158
25159         * gst/gstregistry.c: (gst_registry_get_feature_list):
25160           Implement this. Makes oggdemux work; decodebin still broken.
25161
25162 2005-09-14  David Schleef  <ds@schleef.org>
25163
25164         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25165           #316076)
25166         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25167         * gst/check/Makefile.am:
25168         * libs/gst/controller/Makefile.am:
25169         * libs/gst/dataprotocol/Makefile.am:
25170
25171 2005-09-14  David Schleef  <ds@schleef.org>
25172
25173         * configure.ac: Remove getbits library.  Nothing uses it, and
25174           it should be in something like liboil if someone did want
25175           to use it.
25176         * libs/gst/Makefile.am:
25177         * libs/gst/getbits/Makefile.am:
25178         * libs/gst/getbits/gbtest.c:
25179         * libs/gst/getbits/getbits.c:
25180         * libs/gst/getbits/getbits.h:
25181         * libs/gst/getbits/gstgetbits_generic.c:
25182         * libs/gst/getbits/gstgetbits_i386.s:
25183         * libs/gst/getbits/gstgetbits_inl.h:
25184
25185 2005-09-14  David Schleef  <ds@schleef.org>
25186
25187         * gst/Makefile.am: Dist glib-compat.h
25188
25189 2005-09-14  David Schleef  <ds@schleef.org>
25190
25191         * configure.ac: Remove gst/registries, since it's no longer used.
25192         * gst/registries/Makefile.am:
25193         * gst/registries/gstlibxmlregistry.c:
25194         * gst/registries/gstlibxmlregistry.h:
25195         * gst/registries/gstxmlregistry.c:
25196         * gst/registries/gstxmlregistry.h:
25197         * gst/registries/registrytest.c:
25198
25199 2005-09-14  David Schleef  <ds@schleef.org>
25200
25201         * gst/glib-compat.h:
25202         * gst/gstregistryxml.c:
25203           Convergence is near.  Seriously.
25204
25205 2005-09-14  David Schleef  <ds@schleef.org>
25206
25207         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25208         * gst/glib-compat.h:
25209           Attempt #4 to appease the buildbots.
25210
25211 2005-09-14  David Schleef  <ds@schleef.org>
25212
25213         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25214           Attempt #3.
25215
25216 2005-09-14  David Schleef  <ds@schleef.org>
25217
25218         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25219         Attempt #2.
25220
25221 2005-09-14  David Schleef  <ds@schleef.org>
25222
25223         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25224           the new functions.
25225
25226 2005-09-14  David Schleef  <ds@schleef.org>
25227
25228         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25229         * gst/glib-compat.h: Add some functions that are in newer versions
25230           of glib than we care to require.
25231         * gst/gstregistryxml.c: Use them.
25232
25233 2005-09-14  David Schleef  <ds@schleef.org>
25234
25235         * po/POTFILES.in: remove gst-register.c
25236
25237 2005-09-14  David Schleef  <ds@schleef.org>
25238
25239         * docs/gst/gstreamer-docs.sgml:
25240         * docs/gst/gstreamer-sections.txt:
25241         * docs/gst/gstreamer.types:
25242         * docs/gst/tmpl/gstelement.sgml:
25243         * docs/gst/tmpl/gstplugin.sgml:
25244         * docs/gst/tmpl/gstpluginfeature.sgml:
25245           Documentation updates for registry changes.
25246
25247 2005-09-14  David Schleef  <ds@schleef.org>
25248
25249         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25250           because we don't require glib-2.8.
25251
25252 2005-09-14  David Schleef  <ds@schleef.org>
25253
25254         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25255           registries directory.
25256
25257 2005-09-14  David Schleef  <ds@schleef.org>
25258
25259         * check/Makefile.am:
25260         * check/generic/states.c:
25261         * gst/Makefile.am:
25262         * gst/gst.c:
25263         * gst/gst.h:
25264         * gst/gst_private.h:
25265         * gst/gstelementfactory.c:
25266         * gst/gstindex.c:
25267         * gst/gstinfo.c:
25268         * gst/gstplugin.c:
25269         * gst/gstplugin.h:
25270         * gst/gstpluginfeature.c:
25271         * gst/gstpluginfeature.h:
25272         * gst/gstregistry.c:
25273         * gst/gstregistry.h:
25274         * gst/gstregistrypool.c: remove
25275         * gst/gstregistrypool.h: remove
25276         * gst/gsttypefind.c:
25277         * gst/gsttypefindfactory.c:
25278         * gst/gsturi.c:
25279         * tools/Makefile.am:
25280         * tools/gst-compprep.c:
25281         * tools/gst-inspect.c:
25282         * tools/gst-register.c: remove
25283         * tools/gst-xmlinspect.c:
25284           Registry rewrite.  Changes registry from being a file created
25285           by a tool into a simple cache file created automatically by 
25286           libgstreamer.  Removed gst-register (because it's no longer
25287           needed).  Remove registry pools, because we only have one
25288           registry implementation (XML).  Fix up other subsystems as
25289           necessary.
25290
25291 2005-09-13  Michael Smith <msmith@fluendo.com>
25292
25293         * gst/gstconfig.h.in:
25294           Don't Use windows linking attributes for MinGW. Fixes #316157
25295
25296 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25297
25298         * gst/gstutils.c: (set_state_async_thread_func),
25299         (gst_element_set_state_async):
25300           Apparently people think it's better if this function doesn't
25301           try to set the state to whatever state was asked for on the first
25302           call to this function for any object.  Seriously.
25303
25304 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25305
25306         * check/gst/gstpipeline.c: (GST_START_TEST):
25307         * docs/gst/gstreamer-sections.txt:
25308         * gst/gstutils.c: (set_state_async_thread_func),
25309         (gst_element_set_state_async):
25310         * gst/gstutils.h:
25311           add a "gst_element_set_state_async" method that
25312           sets the state and starts a thread to make sure the state
25313           change completes as best as it can
25314
25315 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25316
25317         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25318           codify design+behaviour in testsuite after discussion
25319
25320 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25321
25322         * docs/gst/tmpl/gstelement.sgml:
25323         * docs/manual/appendix-quotes.xml:
25324           add a quote
25325         * gst/gstelement.c: (gst_element_set_state):
25326           add some debug
25327
25328 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25329
25330         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25331         (gst_base_transform_prepare_output_buf),
25332         (gst_base_transform_handle_buffer):
25333         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25334         (gst_capsfilter_prepare_buf):
25335           Remove the requirement for sub-classes to call the parent
25336           implementation of prepare_output_buffer with a wrapper function.
25337           
25338         * gst/gsttaglist.h:
25339         * gst/gsttagsetter.h:
25340           Fix #define wrapper
25341
25342 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25343
25344         * docs/gst/gstreamer-sections.txt:
25345           more doc cleanups
25346
25347 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25348
25349         * docs/gst/gstreamer-sections.txt:
25350         * docs/gst/tmpl/gstelement.sgml:
25351         * docs/gst/tmpl/gstplugin.sgml:
25352         * gst/gstminiobject.c:
25353         * gst/gstvalue.h:
25354           docs now stop throwing warnings
25355
25356 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25357
25358         * docs/gst/gstreamer-sections.txt:
25359         * docs/gst/gstreamer.types:
25360         * docs/gst/tmpl/gstpad.sgml:
25361         * docs/gst/tmpl/gsttypes.sgml:
25362         * gst/base/gstadapter.h:
25363         * gst/base/gstbasesink.h:
25364         * gst/base/gstbasesrc.h:
25365         * gst/gstbin.h:
25366         * gst/gstbuffer.h:
25367         * gst/gstbus.h:
25368         * gst/gstcaps.h:
25369         * gst/gstclock.h:
25370         * gst/gstelement.h:
25371         * gst/gstevent.h:
25372         * gst/gstmessage.h:
25373         * gst/gstpad.h:
25374         * gst/gststructure.c:
25375         * gst/registries/gstlibxmlregistry.h:
25376           various documentation fixes
25377
25378 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25379
25380         * docs/gst/gstreamer-sections.txt:
25381         * docs/gst/tmpl/gstvalue.sgml:
25382           rearrange gstvalue section
25383         * gst/gstutils.c: (gst_element_state_get_name):
25384           NONE -> VOID
25385         * gst/gstvalue.c: (_gst_value_initialize):
25386         * gst/gstvalue.h:
25387           doc updates
25388
25389 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25390
25391         * check/gst-libs/controller.c:
25392           Header include fix.
25393         * gst/base/gstbasetransform.c:
25394         (gst_base_transform_default_prepare_buf),
25395         (gst_base_transform_handle_buffer):
25396         * gst/base/gstbasetransform.h:
25397           Some more basetransform changes and fixes to enable sub-classes
25398           that modify buffer metadata only.
25399         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25400         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25401         (gst_capsfilter_prepare_buf):
25402           If the output pad has fixed allowed caps and input buffers 
25403           don't have any, set the fixed caps on outgoing buffers.
25404
25405 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25406         * check/elements/identity.c: (GST_START_TEST):
25407           Make the error a little clearer when the test fails because
25408           identity made a copy of the buffer.
25409         * docs/gst/gstreamer-sections.txt:
25410           New symbols in gstbasetransform.h
25411         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25412         (gst_base_transform_init), (gst_base_transform_transform_size),
25413         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25414         (gst_base_transform_default_prepare_buf),
25415         (gst_base_transform_get_unit_size),
25416         (gst_base_transform_buffer_alloc),
25417         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25418         (gst_base_transform_change_state),
25419         (gst_base_transform_set_passthrough),
25420         (gst_base_transform_set_in_place),
25421         (gst_base_transform_is_in_place):
25422         * gst/base/gstbasetransform.h:
25423           Change BaseTransform to separate in_place operate from same_caps
25424           output. in_place implies that the element can perform the transform
25425           on incoming buffers in-place, even if the caps on the output are
25426           different.
25427           Sub-class elements can now implement special buffer allocation
25428           methods for outgoing buffers if they wish to.
25429           Big documentation addition.
25430         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25431         * gst/elements/gstelements.c:
25432           Changes for basetransform modifications.
25433         * gst/elements/Makefile.am:
25434         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25435           Compile fix. Extra debug output.
25436
25437 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25438
25439         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25440         (gst_pad_suite):
25441           add tests for valid pad naming
25442         * gst/check/gstcheck.c: (gst_check_log_message_func),
25443         (gst_check_log_critical_func):
25444           add ASSERT_WARNING
25445           remove printing of code, it is fragile when the code contains
25446           % and the line number is enough info
25447         * gst/check/gstcheck.h:
25448         * gst/gstpad.c: (gst_pad_template_new):
25449           fix memleaks
25450
25451 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25452
25453         * configure.ac:
25454           say what CHECK flags we use
25455         * docs/libs/gstreamer-libs.types:
25456         * libs/gst/controller/Makefile.am:
25457         * libs/gst/controller/gst-controller.c:
25458         * libs/gst/controller/gst-controller.h:
25459         * libs/gst/controller/gst-helper.c:
25460         * libs/gst/controller/gst-interpolation.c:
25461         * libs/gst/controller/gstcontroller.c:
25462         * libs/gst/controller/gsthelper.c:
25463         * libs/gst/controller/gstinterpolation.c:
25464         * tools/gst-inspect.c: (print_plugin_info):
25465           we don't use dashes in header names
25466
25467 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25468
25469         * check/Makefile.am:
25470         * check/gst/.cvsignore:
25471         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25472         (gst_pipeline_suite), (main):
25473           adding a test for pipelines and state changes
25474         * gst/gstutils.c: (get_state_func):
25475           add some debugging
25476         * gstreamer.spec.in:
25477           fix up spec file
25478
25479 2005-09-08  Michael Smith <msmith@fluendo.com>
25480
25481         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25482         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25483         (gst_file_src_is_seekable), (gst_file_src_get_size),
25484         (gst_file_src_start):
25485         * gst/elements/gstfilesrc.h:
25486           Various fixes for unseekable, unmmapable, and non-normal files, so
25487           that fallback to read() rather than mmap() works.
25488         * gst/gstevent.c: (gst_event_new_newsegment):
25489           Allow newsegment events with segment_start == segment_end, as will
25490           correctly happen if you use filesrc on a zero-size file, for
25491           example.
25492
25493 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25494
25495         * gst/gstplugin.c: (gst_plugin_load_file):
25496           Call g_module_close when we don't load the module
25497
25498         * gst/registries/gstlibxmlregistry.c:
25499         (gst_xml_registry_get_property):
25500           Port leak fix from 0.8
25501
25502 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25503
25504         * docs/gst/gstreamer-docs.sgml:
25505         * docs/gst/tmpl/.cvsignore:
25506         * docs/gst/tmpl/gsttrace.sgml:
25507         * docs/gst/tmpl/gsttrashstack.sgml:
25508         * gst/Makefile.am:
25509         * gst/gst.h:
25510         * gst/gstelement.h:
25511         * gst/gstevent.h:
25512         * gst/gstmessage.c:
25513         * gst/gstmessage.h:
25514         * gst/gsttag.c:
25515         * gst/gsttag.h:
25516         * gst/gsttaginterface.c:
25517         * gst/gsttaginterface.h:
25518         * gst/gsttaglist.c:
25519         * gst/gsttaglist.h:
25520         * gst/gsttagsetter.c:
25521         * gst/gsttagsetter.h:
25522         * gst/gsttrace.c:
25523         * gst/gsttrace.h:
25524         * gst/gsttrashstack.c:
25525           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25526           inlined docs for gsttrace, gsttrashstack
25527
25528 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25529
25530         * gst/Makefile.am:
25531         * gst/elements/gstbufferstore.h:
25532         * gst/elements/gsttypefindelement.c:
25533         * gst/elements/gsttypefindelement.h:
25534         * gst/gst.h:
25535         * gst/gsttypefind.c:
25536         * gst/gsttypefind.h:
25537         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25538         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25539         (gst_type_find_factory_dispose),
25540         (gst_type_find_factory_unload_thyself),
25541         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25542         (gst_type_find_factory_get_caps),
25543         (gst_type_find_factory_get_extensions),
25544         (gst_type_find_factory_call_function):
25545         * gst/gsttypefindfactory.h:
25546         * gst/registries/gstlibxmlregistry.c:
25547         * gst/registries/gstxmlregistry.c:
25548           splitted gsttypefind into gsttypefind, gsttypefindfactory
25549
25550 2005-09-07  Andy Wingo  <wingo@pobox.com>
25551
25552         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25553         condition whereby the pad's task function is entered before the
25554         pad_mode variable was set.
25555
25556 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25557
25558         * gst/gstpad.c: (gst_pad_alloc_buffer):
25559           Catch misbehaving pad_alloc functions that don't
25560           set up caps and do it for them.
25561
25562 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25563
25564         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25565           test for pipe!=NULL
25566         * docs/gst/tmpl/.cvsignore:
25567         * docs/gst/tmpl/gstmemchunk.sgml:
25568         * docs/gst/tmpl/gstparse.sgml:
25569         * docs/gst/tmpl/gsttaglist.sgml:
25570         * docs/gst/tmpl/gsttagsetter.sgml:
25571         * docs/gst/tmpl/gsttypefind.sgml:
25572         * docs/gst/tmpl/gsttypefindfactory.sgml:
25573         * gst/gstmemchunk.c:
25574         * gst/gstparse.c:
25575         * gst/gsttag.c:
25576         * gst/gsttaginterface.c:
25577         * gst/gsttypefind.c:
25578         * gst/gsttypefind.h:
25579           inlined more docs
25580
25581 === release 0.9.2 ===
25582
25583 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25584
25585         * NEWS:
25586         * RELEASE:
25587         * configure.ac:
25588           releasing 0.9.2, "South"
25589
25590 2005-09-05  Andy Wingo  <wingo@pobox.com>
25591
25592         * gst/registries/gstxmlregistry.h:
25593         * gst/registries/gstxmlregistry.c: Um... resurrect...
25594         
25595         * gst/registries/gstxmlregistry.h:
25596         * gst/registries/gstxmlregistry.c: and update to newer API.
25597         Incidentally they should be a bit faster now that they don't have
25598         to parse the caps.
25599         
25600 2005-09-05  Andy Wingo  <wingo@pobox.com>
25601
25602         * gst/registries/gstxmlregistry.h:
25603         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25604         replaced by the libxml registry a while back
25605
25606 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25607
25608         * docs/gst/tmpl/gstplugin.sgml:
25609         * gst/elements/gstelements.c:
25610         * gst/gst.c:
25611         * gst/gstplugin.c: (gst_plugin_register_func),
25612         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25613         (gst_plugin_get_source):
25614         * gst/gstplugin.h:
25615         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25616         (gst_xml_registry_save_plugin):
25617         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25618         (gst_xml_registry_save_plugin):
25619         * tools/gst-inspect.c: (print_plugin_info):
25620           add a "source" plugin description field, to represent the source
25621           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25622           will set it to PACKAGE, which is automake's idea of the name of
25623           the source project.
25624
25625 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25626
25627         * Makefile.am:
25628         * autogen.sh:
25629         * configure.ac:
25630         * docs/Makefile.am:
25631         * docs/faq/Makefile.am:
25632         * docs/gst/tmpl/gstelement.sgml:
25633         * docs/gst/tmpl/gsttypes.sgml:
25634         * docs/htmlinstall.mak:
25635         * docs/manual/Makefile.am:
25636         * docs/pwg/Makefile.am:
25637           reorganize doc build a little
25638           split out docbook and gtk-doc stuff
25639           have two separate --enable's and enable them through autogen
25640           but disable by default in configure (to be similar to other
25641           projects)
25642         * gstreamer.spec.in:
25643           clean up docs install
25644         * po/af.po:
25645         * po/az.po:
25646         * po/ca.po:
25647         * po/cs.po:
25648         * po/de.po:
25649         * po/en_GB.po:
25650         * po/fr.po:
25651         * po/it.po:
25652         * po/nb.po:
25653         * po/nl.po:
25654         * po/ru.po:
25655         * po/sq.po:
25656         * po/sr.po:
25657         * po/sv.po:
25658         * po/tr.po:
25659         * po/uk.po:
25660         * po/vi.po:
25661           translation updates
25662
25663 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25664
25665         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25666           Add comment.
25667           
25668         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25669         (gst_fake_sink_change_state):
25670           Make state change function thread-safe.
25671           
25672         * gst/gstpad.c: (gst_pad_alloc_buffer):
25673           Set offset on generic buffer allocated by fallback.
25674
25675 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25676
25677         * docs/gst/gstreamer-sections.txt:
25678         * docs/gst/tmpl/gstelement.sgml:
25679         * gst/gstpad.c:
25680         * libs/gst/controller/gst-controller.c:
25681         (gst_controlled_property_set_interpolation_mode),
25682         (gst_controlled_property_new),
25683         (gst_controller_find_controlled_property):
25684          run the wingo-magic script against the docs
25685
25686 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25687
25688         * docs/gst/gstreamer-docs.sgml:
25689         * docs/gst/gstreamer-sections.txt:
25690         * docs/gst/tmpl/.cvsignore:
25691         * docs/gst/tmpl/gstelementdetails.sgml:
25692         * docs/gst/tmpl/gstelementfactory.sgml:
25693         * gst/gst.c:
25694         * gst/gstbus.c:
25695         * gst/gstelementfactory.c:
25696         * gst/gstelementfactory.h:
25697           merged elementdetails docs into elementfactory docs
25698           inlined both
25699
25700 2005-09-02  Andy Wingo  <wingo@pobox.com>
25701
25702         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25703         consider this enum an enum and not a flags.
25704
25705 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25706
25707         * docs/gst/gstreamer-docs.sgml:
25708         * docs/gst/tmpl/.cvsignore:
25709         * docs/gst/tmpl/gstghostpad.sgml:
25710         * docs/gst/tmpl/gstiterator.sgml:
25711         * docs/gst/tmpl/gstmacros.sgml:
25712         * docs/gst/tmpl/gstrealpad.sgml:
25713         * docs/gst/tmpl/gstregistry.sgml:
25714         * docs/gst/tmpl/gstregistrypool.sgml:
25715         * docs/gst/tmpl/gststructure.sgml:
25716         * docs/gst/tmpl/gstsystemclock.sgml:
25717         * docs/gst/tmpl/gsttrace.sgml:
25718         * gst/gstghostpad.c:
25719         * gst/gstmacros.h:
25720         * gst/gstmemchunk.c:
25721         * gst/gstmemchunk.h:
25722         * gst/gstqueue.c:
25723         * gst/gstregistry.c:
25724         * gst/gstregistrypool.c:
25725         * gst/gststructure.c:
25726         * gst/gstsystemclock.c:
25727           more docs inlined
25728
25729 2005-09-02  Andy Wingo  <wingo@pobox.com>
25730
25731         * gst/gstelement.h (GstState): Renamed from GstElementState,
25732         changed to be a normal enum instead of flags.
25733         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25734         munged to be GST_STATE_CHANGE_*.
25735         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25736         work with the new state representation.
25737         (GstStateChange): New enumeration of possible state transitions.
25738         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25739         (GstElementClass::change_state): Pass the GstStateChange along as
25740         an argument. Helps language bindings, so they don't have to use
25741         tricky lock-needing macros like GST_STATE_CHANGE ().
25742
25743         * scripts/update-states (file): New script. Run it on a file to
25744         update it for state naming and API changes. Updates files in
25745         place.
25746
25747         * All files updated for the new API.
25748
25749 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25750
25751         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25752         * gst/gstutils.c: (gst_util_set_value_from_string),
25753         (gst_util_set_object_arg):
25754           fix a bunch of unchecked return values
25755         * tools/gst-complete.c: (main):
25756         * gstreamer.spec.in:
25757           clean up a little
25758
25759 2005-09-01  Wim Taymans  <wim@fluendo.com>
25760
25761         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25762         (gst_base_sink_event), (gst_base_sink_do_sync),
25763         (gst_base_sink_handle_event):
25764         * gst/base/gstbasesink.h:
25765         Handle newsegments more correctly.
25766
25767         * gst/gstbus.c:
25768         Fix docs.
25769
25770         * gst/gstevent.c: (gst_event_new_newsegment):
25771         A newsegment cannot have a start_time of -1
25772
25773 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25774
25775         * win32/gstenumtypes.c:
25776         * win32/gstenumtypes.h:
25777           Update
25778
25779 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25780
25781         * libs/gst/controller/gst-controller.c:
25782         (gst_controlled_property_set_interpolation_mode),
25783         (gst_controlled_property_new):
25784          fixed boolean again
25785
25786 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25787
25788         * docs/faq/gst-uninstalled:
25789           add -good
25790         * gst/gstevent.c:
25791         * gst/gstevent.h:
25792           remove wrong docs
25793         * gst/gstutils.c: (gst_element_link_filtered):
25794         * gst/gstutils.h:
25795           add gst_element_link_filtered
25796
25797 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25798
25799         * docs/gst/gstreamer-docs.sgml:
25800         * docs/gst/gstreamer-sections.txt:
25801         * docs/gst/tmpl/.cvsignore:
25802         * docs/gst/tmpl/gsterror.sgml:
25803         * docs/gst/tmpl/gstfilter.sgml:
25804         * docs/gst/tmpl/gsturihandler.sgml:
25805         * docs/gst/tmpl/gsturitype.sgml:
25806         * docs/gst/tmpl/gstutils.sgml:
25807         * docs/gst/tmpl/gstxml.sgml:
25808         * gst/gsterror.c:
25809         * gst/gsterror.h:
25810         * gst/gstfilter.c:
25811         * gst/gsturi.c:
25812         * gst/gsturitype.c:
25813         * gst/gstutils.c:
25814         * gst/gstxml.c:
25815           inlined more docs, fixed double id-ref
25816
25817 2005-08-31  Wim Taymans  <wim@fluendo.com>
25818
25819         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25820         (gst_base_transform_handle_buffer):
25821         Passthrough elements don't need the caps as they don't care.
25822
25823 2005-08-31  Wim Taymans  <wim@fluendo.com>
25824
25825         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25826         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25827         Don't leak refcounts on buffers.
25828
25829 2005-08-31  Wim Taymans  <wim@fluendo.com>
25830
25831         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25832         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25833         (gst_base_transform_chain), (gst_base_transform_change_state):
25834         * gst/base/gstbasetransform.h:
25835         Handle the case where we are not negotiated more gracefully.
25836
25837 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25838
25839         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25840         (gst_file_src_map_region):
25841           Set READONLY flag on mmap'ed buffers, otherwise
25842           gst_buffer_make_writable() won't work properly (#314708).
25843
25844 2005-08-31  Wim Taymans  <wim@fluendo.com>
25845
25846         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25847         passthrough elements can even do inplace on non writable
25848         buffers (as they don't touch them).
25849
25850 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25851
25852         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25853         (gst_test_mono_source_set_property),
25854         (gst_test_mono_source_class_init), (GST_START_TEST),
25855         (gst_controller_suite):
25856           more tests (hehe I have the most)
25857         * gst/gstbus.c:
25858           describe popping messages whenusing mulltiple sources
25859         * libs/gst/controller/gst-controller.c:
25860         (gst_controlled_property_set_interpolation_mode),
25861         (gst_controlled_property_new):
25862         * libs/gst/controller/gst-controller.h:
25863         * libs/gst/controller/gst-interpolation.c:
25864           implement boolean properties
25865
25866 2005-08-31  Wim Taymans  <wim@fluendo.com>
25867
25868         * gst/gstminiobject.c: (gst_mini_object_ref):
25869         Cannot assert that the refcount has to be positive
25870         since a disposed object can be resurrected.
25871
25872 2005-08-31  Wim Taymans  <wim@fluendo.com>
25873
25874         * gst/gstpad.c: (gst_pad_init):
25875         Revert change, need to first fix badly behaving 
25876         apps.
25877
25878 2005-08-30  Wim Taymans  <wim@fluendo.com>
25879
25880         * check/elements/fakesrc.c: (setup_fakesrc):
25881         * check/elements/identity.c: (setup_identity):
25882         Activate pads before using them.
25883
25884 2005-08-30  Wim Taymans  <wim@fluendo.com>
25885
25886         * gst/base/gstadapter.c: (gst_adapter_flush):
25887         Flushing out 0 bytes is ok for this function.
25888
25889         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25890         no newsegment gives a warning and sets the start/stop to 
25891         invalid.
25892
25893         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25894         (gst_base_transform_set_passthrough):
25895         Some debug info.
25896
25897         * gst/gstminiobject.c: (gst_mini_object_ref):
25898         Check refcount here too.
25899
25900         * gst/gstpad.c: (gst_pad_init):
25901         Pads are initially flushing and refusing data.
25902
25903         * gst/gstutils.c: (gst_element_link_pads_filtered):
25904         When adding a capsfilter element make sure it has the
25905         same state as the parent bin.
25906
25907 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25908
25909         * docs/gst/tmpl/.cvsignore:
25910         * docs/gst/tmpl/gstformat.sgml:
25911         * docs/gst/tmpl/gstversion.sgml:
25912         * gst/gstbus.h:
25913         * gst/gstformat.c:
25914         * gst/gstformat.h:
25915         * gst/gstversion.h.in:
25916           more docs and two more inlined
25917
25918 2005-08-30  Wim Taymans  <wim@fluendo.com>
25919
25920         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25921         Don't sync to clock.
25922
25923 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25924
25925         * docs/gst/gstreamer-sections.txt:
25926           ultral33t func10ns deserve to appear in the docs actually
25927         * docs/gst/tmpl/.cvsignore:
25928         * docs/gst/tmpl/gstcompat.sgml:
25929         * docs/gst/tmpl/gstconfig.sgml:
25930         * gst/check/gstcheck.c:
25931         * gst/gstcompat.h:
25932         * gst/gstconfig.h.in:
25933           inlined more docs
25934
25935 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25936
25937         * docs/gst/tmpl/.cvsignore:
25938         * docs/gst/tmpl/gstquery.sgml:
25939         * docs/gst/tmpl/gstutils.sgml:
25940         * gst/gstquery.c:
25941         * gst/gstquery.h:
25942           inlined and extended docs
25943
25944 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25945
25946         * check/gst-libs/controller.c: (GST_START_TEST),
25947         (gst_controller_suite):
25948           more tests
25949         * docs/gst/tmpl/gstutils.sgml:
25950         * docs/libs/gstreamer-libs-sections.txt:
25951         * docs/libs/tmpl/gstdataprotocol.sgml:
25952           include path fixes
25953         * examples/controller/audio-example.c: (main):
25954           controller example works now
25955         * gst/gstclock.h:
25956           doc fixes
25957         * tools/gst-inspect.c: (print_element_properties_info):
25958           show param spec flags
25959
25960 2005-08-29  Andy Wingo  <wingo@pobox.com>
25961
25962         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25963
25964 2005-08-28  Andy Wingo  <wingo@pobox.com>
25965
25966         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25967         as having two arguments instead of just one. Allows superclasses
25968         to access information on subclasses -- see the terrible for() loop
25969         in gtype.c:g_type_create_instance for the reason why. All callers
25970         changed.
25971
25972 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25973
25974         * docs/design/part-messages.txt:
25975           update info
25976         * docs/gst/tmpl/.cvsignore:
25977         * docs/gst/tmpl/gstcaps.sgml:
25978         * docs/gst/tmpl/gstclock.sgml:
25979         * gst/gstbus.c:
25980         * gst/gstcaps.c:
25981         * gst/gstcaps.h:
25982         * gst/gstclock.c:
25983         * gst/gstclock.h:
25984         * gst/gstmessage.c:
25985           added descriptions for bus and message
25986           inline caps and clock docs
25987
25988 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25989
25990         * gst/gstmessage.c:
25991         * gst/gstmessage.h:
25992           doc fixes
25993
25994 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25995
25996         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25997           fix div-by-zero
25998
25999 2005-08-26  Andy Wingo  <wingo@pobox.com>
26000
26001         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26002         element_set_state's return val.
26003         (test_2_elements): Add test that's been disabled for months.
26004
26005         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26006         can-activate-pull properties.
26007
26008         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26009         can-activate-pull properties. Implement is_seekable so fakesrc can
26010         operate in pull mode.
26011
26012         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26013         properties.
26014         (gst_base_sink_activate, gst_base_sink_activate_pull)
26015         (gst_base_sink_activate_push): Make activation mode choosing work.
26016         Cleanups.
26017         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26018         is right. Make pull mode work. Post an eos before pausing in pull
26019         mode.
26020         (gst_base_sink_change_state): Pay attention to the core's
26021         change_state() return val.
26022         
26023         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26024         has-getrange properties. Cleanups.
26025         
26026         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26027         has_getrange and replace with can_activate_pull and
26028         can_activate_push.
26029
26030         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26031         locking comments. Remove has_loop, has_chain and replace with
26032         can_activate_pull and can_activate_push.
26033
26034 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26035
26036         * configure.ac:
26037         * examples/Makefile.am:
26038         * examples/metadata/Makefile.am:
26039         * examples/metadata/read-metadata.c: (message_loop),
26040         (have_pad_handler), (make_pipeline), (print_tag), (main):
26041           Add metadata reading example that loops over a list of filenames,
26042           dumping any tags found.
26043
26044         * gst/gstbus.c: (gst_bus_dispose):
26045         * gst/gstelement.c: (gst_element_dispose):
26046           Release a few potentially-held references in dispose.
26047
26048 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26049
26050         * docs/gst/tmpl/gstminiobject.sgml:
26051           do *not* add tmpl/*.sgml files to CVS!
26052
26053 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26054
26055         * libs/gst/bytestream/.cvsignore:
26056         * libs/gst/bytestream/Makefile.am:
26057         * libs/gst/bytestream/adapter.c:
26058         * libs/gst/bytestream/adapter.h:
26059         * libs/gst/bytestream/bytestream.c:
26060         * libs/gst/bytestream/bytestream.h:
26061         * libs/gst/bytestream/filepad.c:
26062         * libs/gst/bytestream/filepad.h:
26063           removing obsolete files
26064
26065 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26066
26067         * docs/gst/gstreamer-docs.sgml:
26068         * docs/libs/gstreamer-libs-docs.sgml:
26069           disabed additional index entries again, as this makes docs-gen just
26070           slow and they aren't useful yet
26071         * docs/libs/gstreamer-libs-sections.txt:
26072           little -section.txt cleanup for libs
26073
26074 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26075
26076         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26077         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26078           fix up some debugging
26079         (gst_base_transform_get_unit_size),
26080         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26081         (gst_base_transform_handle_buffer):
26082         * gst/base/gstbasetransform.h:
26083           handle and store timed NEWSEGMENT events so that subclasses that
26084           calculate time by counting samples have a segment_start time they
26085           need to add to their timestamps - see audioresample
26086
26087 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26088
26089         * gst/gstbin.h:
26090           removed ';' from the end of macro defs
26091         * docs/gst/gstreamer-docs.sgml:
26092         * docs/gst/gstreamer-sections.txt:
26093         * docs/gst/tmpl/.cvsignore:
26094         * gst/gstbus.h:
26095         * gst/gstelement.c: (gst_element_class_init),
26096         (gst_element_set_state), (activate_pads),
26097         (gst_element_save_thyself):
26098         * gst/gstevent.c: (gst_event_new_newsegment):
26099         * gst/gstevent.h:
26100         * gst/gstiterator.c:
26101         * gst/gstiterator.h:
26102         * gst/gstpad.c:
26103         * gst/gstprobe.h:
26104         * gst/gstutils.c: (gst_pad_query_convert):
26105         * gst/gstutils.h:
26106           fixed parameter name mismatches between source, header and docs
26107           added some more docs, resolved the last batch of unused elements in
26108           docs (now someone needs to doc them)
26109
26110 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26111
26112         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26113         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26114           don't walk through the plugins backwards.  Where is all this
26115           reversed logic coming from ?
26116
26117 2005-08-25  Wim Taymans  <wim@fluendo.com>
26118
26119         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26120         (gst_base_transform_transform_size),
26121         (gst_base_transform_configure_caps),
26122         (gst_base_transform_get_unit_size),
26123         (gst_base_transform_buffer_alloc),
26124         (gst_base_transform_change_state):
26125         * gst/base/gstbasetransform.h:
26126         Cache caps unit_size.
26127         Make sure we cannot negotiate up and downstream at the
26128         same time.
26129
26130 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26131
26132         * gst/gst.c: (init_pre), (init_post):
26133           register the installed plugin path after the env var
26134         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26135         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26136           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26137           directories, so the tests can prefer uninstalled over installed
26138
26139 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26140
26141         * gst/base/gstbasetransform.h:
26142           comment
26143         * gst/gstpad.c:
26144           add to docs
26145
26146 2005-08-25  Wim Taymans  <wim@fluendo.com>
26147
26148         * gst/gstbin.c: (bin_bus_handler):
26149         Be a bit more conservative about the posted message.
26150         
26151         * gst/gstbus.c: (gst_bus_post):
26152         Some cleanups, warn wrong return values.
26153
26154 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26155
26156         * check/gst/gstbin.c: (GST_START_TEST):
26157         * gst/gstbin.c: (bin_bus_handler):
26158         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26159         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26160         (gst_message_new_warning), (gst_message_new_tag),
26161         (gst_message_new_state_changed), (gst_message_new_segment_start),
26162         (gst_message_new_segment_done), (gst_message_new_custom):
26163         * gst/gstmessage.h:
26164         * tools/gst-launch.c: (event_loop):
26165         * tools/gst-md5sum.c: (event_loop):
26166           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26167
26168 2005-08-25  Wim Taymans  <wim@fluendo.com>
26169
26170         * check/generic/states.c: (GST_START_TEST):
26171         Cleanup can be done at the end.
26172
26173         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26174         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26175         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26176         Oh boy.. Thanks for finding this, Thomas. 
26177
26178 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26179
26180         * docs/gst/gstreamer.types:
26181           added missing types
26182
26183 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26184
26185         * docs/gst/gstreamer-docs.sgml:
26186         * docs/gst/gstreamer-sections.txt:
26187         * docs/gst/tmpl/.cvsignore:
26188         * gst/gstbin.c:
26189         * gst/gstiterator.c:
26190         * gst/gstutils.c:
26191         * gst/registries/gstxmlregistry.h:
26192           added missing classes and symbols (123 more to go)
26193           removed removed symbols from section file
26194           fixed many doc-comments
26195
26196 2005-08-24  Wim Taymans  <wim@fluendo.com>
26197
26198         * check/generic/states.c: (GST_START_TEST):
26199         Make sure all tasks are stopped.
26200
26201         * check/gst/gstbin.c: (GST_START_TEST):
26202         Unref after usage for proper valgrinding.
26203
26204         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26205         Really wait for the task to stop before destroying the
26206         mutex.
26207
26208         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26209         (gst_queue_src_activate_push):
26210         Small cleanups. Don't stop the task when we did not start
26211         it.
26212
26213         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26214         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26215         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26216         (gst_task_join):
26217         * gst/gsttask.h:
26218         Protect the stream lock with the object lock.
26219         Disallow setting the stream lock when running.
26220         Add cleanup_all to wait for the threadpool to finish.
26221         Remove code to autoallocate a mutex if none was provided.
26222         Add _join() to wait for a task to stop.
26223         Protect the thread pool with a global lock.
26224
26225 2005-08-24  Wim Taymans  <wim@fluendo.com>
26226
26227         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26228         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26229         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26230         * gst/base/gstbasesink.h:
26231         Handle newsegment events correctly.
26232         Drop buffers out of the segment range.
26233
26234 2005-08-22  Andy Wingo  <wingo@pobox.com>
26235
26236         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26237         macro, implements an interface and gstimplementsinterface for a
26238         new type.
26239
26240 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26241
26242         * check/Makefile.am:
26243         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26244           add a test that does a bunch of state changes on elements
26245           needs some fixing for valgrind
26246         * check/states/sinks.c: (gst_object_suite):
26247           whitespace
26248         * gst/gstcaps.h:
26249           add prototype for gst_caps_is_equal_fixed
26250         * gst/gstplugin.c:
26251         * gst/gstregistrypool.c:
26252           doc fixes
26253
26254 2005-08-24  Andy Wingo  <wingo@pobox.com>
26255
26256         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26257         convert a negative value. Doesn't make much sense. Mostly this is
26258         here to force callers to ensure -1 maps to -1.
26259
26260 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26261
26262         * docs/pwg/advanced-types.xml:
26263           Well done to Michael for catching my deliberate introduction
26264           of this spelling mistake. 
26265         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26266         * gst/gstelement.h:
26267           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26268           unlink pads before removing the element from the bin.
26269
26270 2005-08-24  Andy Wingo  <wingo@pobox.com>
26271
26272         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26273         the same thing as GST_DEBUG=*:4.
26274         (parse_debug_level, parse_debug_category): New helper parsers.
26275
26276 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26277
26278         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26279         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26280         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26281         (gst_base_transform_buffer_alloc),
26282         (gst_base_transform_handle_buffer):
26283           use gboolean return values and pointers to size so we can use the
26284           full GST_BUFFER_SIZE range (guint) for buffer sizes
26285           use GstPadDirection for transform_caps
26286         * gst/base/gstbasetransform.h:
26287           rename get_size to get_unit_size since that's what it is
26288         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26289           use GstPadDirection for transform_caps
26290         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26291         * gst/gstutils.h:
26292           cleanup and debugging
26293
26294 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26295
26296         * gst/gstelement.c: (gst_element_class_init),
26297         (gst_element_set_state), (activate_pads),
26298         (gst_element_save_thyself):
26299         * tools/gst-compprep.c: (main):
26300         * tools/gst-inspect.c: (print_element_properties_info):
26301         * tools/gst-xmlinspect.c: (print_element_properties):
26302           Fixed long standing mem-leak
26303
26304 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26305
26306         * check/gst/gstbin.c: (GST_START_TEST):
26307         * gst/gstbin.c: (bin_bus_handler):
26308         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26309         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26310         (gst_message_new_warning), (gst_message_new_tag),
26311         (gst_message_new_state_changed), (gst_message_new_segment_start),
26312         (gst_message_new_segment_done), (gst_message_new_custom):
26313         * gst/gstmessage.h:
26314         * tools/gst-launch.c: (event_loop):
26315         * tools/gst-md5sum.c: (event_loop):
26316           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26317           that applications can sensibly post custom messages with references
26318           to their own objects.
26319
26320 2005-08-24  Andy Wingo  <wingo@pobox.com>
26321
26322         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26323         already.
26324
26325 2005-08-24  Wim Taymans  <wim@fluendo.com>
26326
26327         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26328         (gst_base_transform_transform_caps),
26329         (gst_base_transform_transform_size),
26330         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26331         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26332         (gst_base_transform_handle_buffer):
26333         * gst/base/gstbasetransform.h:
26334         Many fixes and new features added by Thomas. Can now also do
26335         transforms with variable sizes and a custom fixate_caps function.
26336
26337 2005-08-24  Wim Taymans  <wim@fluendo.com>
26338
26339         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26340         Some debugging.
26341
26342         * gst/gstclock.h:
26343         Cast to ClockTime before formatting to time.
26344
26345         * gst/gstutils.h:
26346         Cleanups.
26347
26348 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26349
26350         * check/gst-libs/controller.c: (GST_START_TEST),
26351         (gst_controller_suite):
26352         * docs/gst/tmpl/gstcaps.sgml:
26353         * docs/gst/tmpl/gstghostpad.sgml:
26354         * docs/gst/tmpl/gstquery.sgml:
26355         * docs/gst/tmpl/gstutils.sgml:
26356         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26357         (gst_object_sink_values), (gst_object_get_value_arrays),
26358         (gst_object_get_value_array):
26359           gracefully handle helper method calls to objects that are not beeing
26360           controlled, added test case for that          
26361
26362 2005-08-23  Wim Taymans  <wim@fluendo.com>
26363
26364         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26365         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26366         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26367         (gst_event_parse_qos), (gst_event_new_seek),
26368         (gst_event_parse_seek):
26369         * gst/gstevent.h:
26370         Some more debugging output and doc cleanups.
26371
26372         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26373         Fix possible deadlock.
26374
26375 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26376
26377         * docs/gst/gstreamer-docs.sgml:
26378         * docs/gst/gstreamer-sections.txt:
26379         * docs/gst/gstreamer.types:
26380         * docs/gst/tmpl/.cvsignore:
26381         * gst/gstbin.h:
26382         * gst/gstbus.c:
26383         * gst/gstelement.c:
26384         * gst/gstevent.h:
26385           added 100 symbols from gstreamer-unused.txt to the right sections
26386           fixed more broken comments
26387           added GstBus to docs
26388
26389 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26390
26391         * docs/gst/gstreamer-sections.txt:
26392         * docs/gst/tmpl/.cvsignore:
26393         * docs/gst/tmpl/gstbin.sgml:
26394         * docs/gst/tmpl/gstbuffer.sgml:
26395         * gst/base/gstbasesrc.c:
26396         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26397         * gst/gstbuffer.c:
26398         * gst/gstbuffer.h:
26399         * tools/gst-launch.1.in:
26400           inlined more doc comments, added missing comments and fixed comments
26401           fixed typos
26402
26403 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26404
26405         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26406           some debugging
26407         * gst/gstcaps.h:
26408           whitespace fixes
26409         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26410           more debugging
26411         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26412         * gst/gststructure.h:
26413           add a fixate function for booleans; add a FIXME that these func
26414           names should probably be gst_structure_fixate_*
26415
26416 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26417
26418         * docs/gst/gstreamer-docs.sgml:
26419         * docs/gst/gstreamer-sections.txt:
26420         * gst/Makefile.am:
26421         * gst/gstbin.c: (gst_bin_get_type),
26422         (gst_bin_child_proxy_get_child_by_index),
26423         (gst_bin_child_proxy_get_children_count),
26424         (gst_bin_child_proxy_init):
26425         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26426         (gst_child_proxy_get_child_by_index),
26427         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26428         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26429         (gst_child_proxy_get), (gst_child_proxy_set_property),
26430         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26431         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26432         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26433         * gst/gstchildproxy.h:
26434         * gst/parse/grammar.y:
26435         * tools/gst-inspect.c: (print_interfaces),
26436         (print_element_properties_info), (print_element_info):
26437           ported gstchildproxy over from 0.8
26438           ported gst-inspect fixes and enhancements over from 0.8
26439
26440 2005-08-22  Wim Taymans  <wim@fluendo.com>
26441
26442         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26443         (gst_base_transform_handle_buffer):
26444         Also call the transform function if we have ANY caps.
26445
26446         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26447         Fix debug info.
26448
26449 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26450
26451         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26452           Don't pretend to handle seek events if the source is not seekable
26453
26454 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26455
26456         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26457           Remove extra parameter to debug output
26458
26459         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26460         (gst_base_src_do_seek), (gst_base_src_activate_push):
26461           Fix seek event handling.
26462
26463         * gst/gstpipeline.c: (gst_pipeline_change_state):
26464         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26465         (gst_queue_src_activate_push):
26466           Don't start the src pad task on FLUSH_STOP if the pad
26467           isn't linked.
26468           Debug changes.
26469
26470 2005-08-22  Wim Taymans  <wim@fluendo.com>
26471
26472         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26473         Added check for gst_static_caps_get() refcounting.
26474
26475 2005-08-22  Wim Taymans  <wim@fluendo.com>
26476
26477         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26478         Make _static_caps_get() refcounting sane.
26479         
26480         * gst/gstelement.c: (gst_element_set_state):
26481         Add g_return_val_if_fail() to protect against segfaults.
26482
26483 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26484
26485         * docs/gst/tmpl/gstevent.sgml:
26486         * gst/gstevent.c:
26487         * gst/gstevent.h:
26488           inlined remaining docs, added missing doc comments
26489
26490 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26491
26492         * check/gst/gstbin.c: (GST_START_TEST):
26493           since we don't know when preroll is done, use refcount range
26494           check for the sink
26495         * gst/check/gstcheck.h:
26496           add macro for checking refcount range
26497
26498 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26499
26500         * check/Makefile.am:
26501           clean up environment for when registry gets built versus
26502           when actual tests are run; valgrind seems to not report
26503           leaks if GST_PLUGIN_PATH is set to some specific values
26504         * check/gst/gstbin.c: (GST_START_TEST):
26505           add more refcounting checks; maybe this exposes a
26506           preroll lock bug ?
26507         * common/check.mak:
26508         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26509         * gst/check/gstcheck.h:
26510         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26511         (gst_bin_change_state):
26512         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26513           add/fix debugging/whitespace
26514
26515 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26516
26517         * check/gst/gstevent.c: (event_probe), (test_event),
26518         (GST_START_TEST):
26519          Er, don't call gst_bin_watch_for_state_change you idiot.
26520
26521 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26522
26523         * check/Makefile.am:
26524           Use CHECK_CFLAGS and CHECK_LIBS
26525         * check/gst/gstevent.c: (event_probe), (test_event),
26526         (GST_START_TEST):
26527           Don't leak events.
26528         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26529         (gst_base_src_start), (gst_base_src_stop),
26530         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26531         (gst_base_src_change_state):
26532           Sprinkle gst_base_src_stop liberally around error paths to fix
26533           problems reusing a source after failed state changes.
26534         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26535         (helper_find_suggest), (gst_type_find_helper):
26536           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26537         * gst/gstevent.h:
26538         * docs/gst/tmpl/gstevent.sgml:
26539           Migrate part of the docs from the SGML file. Wait for ensonic to
26540           tell me how I did it wrong ;)
26541         * tools/gst-typefind.c: (main):
26542           Extra robustness to state changes between files.
26543
26544 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26545
26546         * check/Makefile.am:
26547           don't valgrind the controller test - it's leaking - Stefan, HELP
26548         * gst/check/gstcheck.c: (gst_check_message_error),
26549         (gst_check_chain_func), (gst_check_setup_element),
26550         (gst_check_teardown_element), (gst_check_setup_src_pad),
26551         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26552         (gst_check_teardown_sink_pad):
26553         * gst/check/gstcheck.h:
26554           add a bunch of methods to set up elements, and src and sink pads
26555         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26556         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26557         (GST_START_TEST):
26558           use them
26559         * gst/gstmessage.c:
26560         * gst/gsttag.h:
26561           whitespace/doc fixes
26562
26563 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26564
26565         * gst/gstelement.h:
26566           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26567           be handled by the application and not always printed as well
26568
26569 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26570
26571         * check/Makefile.am:
26572           set GST_TOOLS_DIR
26573         * gst/check/gstcheck.c: (gst_check_message_error):
26574         * gst/check/gstcheck.h:
26575           add a fail_unless_equals_int
26576           add fail_unless for error messages
26577
26578 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26579
26580         * check/Makefile.am:
26581         * check/gst.supp:
26582         * common/Makefile.am:
26583         * common/check.mak:
26584         * common/gst.supp:
26585           factor out some of the common stuff so we can use it
26586
26587 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26588
26589         * check/Makefile.am:
26590         * check/gst/gstiterator.c: (GST_START_TEST):
26591         * check/gst/gstsystemclock.c: (GST_START_TEST),
26592         (gst_systemclock_suite):
26593         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26594         * gst/gstclock.c:
26595           valgrind more tests
26596
26597 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26598
26599         * check/elements/.cvsignore:
26600         * check/elements/gstfakesrc.c:
26601           rename to name of element
26602         * check/elements/identity.c: (chain_func), (event_func),
26603         (setup_identity), (cleanup_identity), (GST_START_TEST),
26604         (identity_suite), (main):
26605           add a test for identity
26606         * check/Makefile.am:
26607         * pkgconfig/Makefile.am:
26608         * pkgconfig/gstreamer-check.pc.in:
26609         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26610         * gst/check:
26611         * gst/Makefile.am:
26612         * configure.ac:
26613           move the check stuff to a library that gets installed
26614         * check/gst-libs/controller.c: (GST_START_TEST):
26615         * check/gst-libs/gdp.c:
26616         * check/gst/gst.c: (GST_START_TEST):
26617         * check/gst/gstbin.c:
26618         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26619         * check/gst/gstbus.c:
26620         * check/gst/gstcaps.c: (GST_START_TEST):
26621         * check/gst/gstelement.c:
26622         * check/gst/gstghostpad.c:
26623         * check/gst/gstiterator.c:
26624         * check/gst/gstmessage.c:
26625         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26626         * check/gst/gstobject.c:
26627         * check/gst/gstpad.c: (GST_START_TEST):
26628         * check/gst/gststructure.c: (GST_START_TEST):
26629         * check/gst/gstsystemclock.c: (GST_START_TEST),
26630         (gst_systemclock_suite):
26631         * check/gst/gsttag.c: (gst_tag_suite):
26632         * check/gst/gstvalue.c:
26633         * check/pipelines/cleanup.c:
26634         * check/pipelines/simple_launch_lines.c:
26635         * check/states/sinks.c:
26636           change include statement
26637
26638         * docs/gst/gstreamer-sections.txt:
26639         * docs/gst/tmpl/gstpad.sgml:
26640           document more pad stuff
26641         * gst/gstminiobject.c: (gst_mini_object_ref),
26642         (gst_mini_object_unref):
26643           debug refcounting
26644
26645 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26646
26647         * docs/gst/tmpl/gst.sgml:
26648         * gst/gst.c:
26649           eliminate another tmpl file, fix spelling in the long-description
26650
26651 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26652
26653         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26654         (test_event), (timediff), (gstevents_suite):
26655           Should fix build on 64-bit arch's
26656
26657 2005-08-18  Andy Wingo  <wingo@pobox.com>
26658
26659         Make sure that when a pipeline goes to PLAYING, that data has
26660         actually hit the sink.
26661
26662         * check/states/sinks.c (test_sink): A sink that doesn't get any
26663         data shouldn't return SUCCESS for going to either PLAYING or
26664         PAUSED. Test also the return values on the way back down.
26665
26666         * gst/gstelement.c (gst_element_set_state): When changing the
26667         state of an element currently changing state asynchronously, go to
26668         lost-state after commiting the pending state. Makes future calls
26669         to get_state continue to return ASYNC.
26670
26671         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26672         ASYNC when going to PLAYING if we still don't have preroll, as can
26673         happen with live sources.
26674
26675 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26676
26677         * docs/pwg/advanced-types.xml:
26678           Hack long paragraph into 2 chunks as a workaround for buggy
26679           jadetex version in sid and breezy that loops infinitely and
26680           eats all RAM.
26681
26682 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26683
26684         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26685         (test_event), (timediff), (gstevents_suite):
26686           Provide more error margin in clock measurements to allow for 
26687           g_get_current_time inaccuracies.
26688
26689 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26690
26691         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26692         (test_event), (timediff), (gstevents_suite):
26693            Fix error message output so I might be able to tell why the
26694            test works here but fails on the build farm.
26695
26696 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26697
26698         * check/Makefile.am:
26699         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26700         (test_event), (timediff), (gstevents_suite), (main):
26701           I wrote a test!
26702
26703         * docs/design/part-seeking.txt:
26704           Spelling correction
26705
26706         * docs/gst/tmpl/gstevent.sgml:
26707         * docs/gst/tmpl/gstfakesrc.sgml:
26708           Docs updates.
26709
26710         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26711           Treat a buffer-without-newsegment the same as a receiving 
26712           a newsegment not in time format, and disable syncing to the clock
26713           with a warning.
26714
26715         * gst/gstbus.c: (gst_bus_set_sync_handler):
26716           Assert if anyone tries to replace the existing sync_handler for bus, 
26717           as only the owner should be setting it.
26718
26719         * gst/gstevent.h:
26720           Have a fixed set of custom event enums with events identified by
26721           their structure name (as in 0.8), rather than a free-for-all
26722           allowing collisions between enum values from different plugins.
26723
26724         * gst/gstpad.c: (gst_pad_class_init):
26725           Docs change.
26726           
26727         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26728           Handle out-of-band downstream events from the sending thread.
26729
26730 2005-08-17  Andy Wingo  <wingo@pobox.com>
26731
26732         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26733         play-timeout==0 to mean no timeout at all. In that case, don't
26734         bother with a get_state or a warning, just return directly, even
26735         if it's ASYNC.
26736
26737         * gst/base/gstbasetransform.c: Debug changes.
26738
26739         * gst/gstutils.h:
26740         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26741         ensure bins post state change messages. A bit of a hack but I can't
26742         think of a way to avoid it.
26743
26744         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26745
26746 2005-08-16  Andy Wingo  <wingo@pobox.com>
26747
26748         * gst/base/gstadapter.h:
26749         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26750         peek() but you own the data. Not terribly efficient atm.
26751
26752 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26753
26754         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26755         (gst_element_found_tags):
26756         * gst/gstutils.h:
26757           Add two utility functions for tag handling.
26758
26759 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26760
26761         * docs/manual/advanced-dataaccess.xml:
26762         * docs/manual/basics-helloworld.xml:
26763           Fix docs to use _bin_add() before _link(), which fixes the examples
26764           with recent core versions (reported by Madhan Raj M
26765           <raj_madan@rediffmail.com>, #313199).
26766
26767 2005-08-16  Wim Taymans  <wim@fluendo.com>
26768
26769         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26770         Added subtract checks.
26771
26772         * docs/design/part-events.txt:
26773         Some more docs about newsegment
26774
26775         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26776         Fix FIXME
26777
26778         * gst/gstcaps.c: (gst_caps_to_string):
26779         Add comments, cleanups.
26780         
26781         * gst/gstelement.c: (gst_element_save_thyself):
26782         cleanups
26783         
26784         * gst/gstvalue.c: (gst_value_collect_int_range),
26785         (gst_string_unwrap), (gst_value_union_int_int_range),
26786         (gst_value_union_int_range_int_range),
26787         (gst_value_intersect_int_int_range),
26788         (gst_value_intersect_int_range_int_range),
26789         (gst_value_intersect_double_double_range),
26790         (gst_value_intersect_double_range_double_range),
26791         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26792         (gst_value_subtract_int_range_int),
26793         (gst_value_subtract_double_range_double),
26794         (gst_value_subtract_double_range_double_range),
26795         (gst_value_subtract_from_list), (gst_value_subtract_list),
26796         (gst_value_can_compare), (gst_value_compare_fraction):
26797         Cleanups, add comments, remove unneeded asserts.
26798
26799 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26800
26801         * tools/gst-launch.c: (event_loop):
26802           don't convert NULL structures to strings
26803
26804 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26805
26806         * docs/gst/gstreamer-sections.txt:
26807           made some defines private
26808         * docs/gst/tmpl/gstconfig.sgml:
26809         * docs/gst/tmpl/gstqueue.sgml:
26810         * docs/gst/tmpl/gsttaglist.sgml:
26811         * docs/gst/tmpl/gsttypes.sgml:
26812         * docs/gst/tmpl/gstutils.sgml:
26813         * docs/pwg/appendix-porting.xml:
26814         * gst/base/gstbasesink.h:
26815         * gst/base/gstbasesrc.c:
26816         * gst/base/gstbasesrc.h:
26817         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26818         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26819         * gst/gstelement.c: (gst_element_class_init):
26820         * gst/gstpad.c: (gst_pad_class_init):
26821         * gst/gstqueue.c: (gst_queue_class_init):
26822         * gst/gstxml.c: (gst_xml_class_init):
26823           documented all undocumented signal inline
26824         * libs/gst/controller/gst-controller.h:
26825           added padding
26826
26827 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26828
26829         * docs/pwg/appendix-porting.xml:
26830           Document _set_link_function -> _set_setcaps_function.
26831
26832 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26833
26834         * check/Makefile.am:
26835           add a .check target for running the check
26836         * check/gst-libs/controller.c: (GST_START_TEST):
26837           cosmetic fixups
26838         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26839           complete checks for gstbuffer; would be nice if I could get the
26840           gcov stuff to work so I can see if I actually completed gstbuffer.c
26841         * check/gstcheck.h:
26842           add ASSERT_BUFFER_REFCOUNT
26843
26844 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26845
26846         * docs/gst/gstreamer-sections.txt:
26847         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26848         * gst/gsttag.h:
26849           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26850           spew out a warning if a tag that is already registered
26851           is re-registered, unless it is re-registered with a 
26852           different type (#308438).
26853
26854 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26855
26856         * docs/pwg/appendix-porting.xml:
26857         * docs/pwg/building-state.xml:
26858           Add some paragraphs about state changes in 0.9 to the PWG
26859           and the porting guide, in particular about the new meaning
26860           of GST_STATE_PAUSED and how to write state change functions
26861           with concurrent access by multiple threads in mind.
26862
26863 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26864
26865         * docs/gst/gstreamer-docs.sgml:
26866         * docs/libs/gstreamer-libs-docs.sgml:
26867           added deprecation and since indexes
26868         * libs/gst/controller/gst-controller.c:
26869         * libs/gst/controller/gst-helper.c:
26870           added since tags
26871
26872
26873 2005-08-11  Wim Taymans  <wim@fluendo.com>
26874
26875         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26876         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26877         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26878         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26879         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26880         (gst_ghost_pad_set_target):
26881         Actually implement (re)setting the target on a ghostpad
26882         as described in the docs.
26883
26884 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26885
26886         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26887           Check whether GST_DEBUG_NO_COLOR environment variable is
26888           set and disable coloured debug output if that is the case.
26889
26890 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26891
26892         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26893         (gst_type_find_helper):
26894           The memory returned by gst_type_find_peek() needs to
26895           stay valid until the end of a typefind function, and
26896           typefind functions may keep results from different 
26897           offsets around, so we can't just unref the buffer from
26898           the previous _peek(), but have to save all buffers 
26899           returned by _peek() until typefinding is done and only
26900           free them then.
26901
26902 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26903
26904         * docs/gst/gstreamer-sections.txt:
26905         * gst/gstutils.h:
26906           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26907
26908 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26909
26910         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26911           Fix a pretty good memleak.
26912
26913 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26914
26915         * gst/gstiterator.h:
26916           Fix wrong include and 'make distcheck'.
26917
26918 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26919
26920         * gst/gstbin.c: (bin_bus_handler):
26921           Use gst_element_post_message() instead.
26922
26923 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26924
26925         * gst/base/gstadapter.h:
26926         * gst/base/gstbasesink.h:
26927         * gst/base/gstbasesrc.h:
26928         * gst/base/gstbasetransform.h:
26929         * gst/base/gstcollectpads.h:
26930         * gst/base/gstpushsrc.h:
26931         * gst/gstiterator.h:
26932           Add padding to our base elements' class and instance structs and
26933           to GstIterator (you will need to rebuild all plugins and apps!)
26934
26935 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26936
26937         * gst/gstbin.c: (bin_bus_handler):
26938           Make default message forwarding from child->bus to bin->bus
26939           threadsafe and make it not emit warnings if the parent has no bus.
26940
26941 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26942
26943         * gst/gstelement.c: (activate_pads):
26944           On paused->ready, set pad->caps to NULL, as is the documented
26945           behaviour in this state change. Fixes playback of series of
26946           media files when visualization is enabled in Totem.
26947
26948 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26949
26950         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26951           Allow NULL as filter-caps (which means "any").
26952
26953 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26954
26955         * docs/libs/gstreamer-libs-sections.txt:
26956         * libs/gst/controller/gst-controller.c:
26957         * libs/gst/controller/gst-controller.h:
26958         * libs/gst/controller/gst-helper.c:
26959           adding more entries to the docs and fix small doc-bugs
26960
26961 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26962
26963         * docs/gst/gstreamer-docs.sgml:
26964         * docs/gst/gstreamer-sections.txt:
26965         * docs/gst/gstreamer.types:
26966         * docs/gst/tmpl/gstbasesink.sgml:
26967         * docs/gst/tmpl/gstbasesrc.sgml:
26968         * docs/gst/tmpl/gstbasetransform.sgml:
26969         * docs/gst/tmpl/gstfakesrc.sgml:
26970         * gst/base/gstcollectpads.c:
26971         * gst/base/gstcollectpads.h:
26972         * libs/gst/controller/gst-controller.c:
26973         * libs/gst/controller/gst-controller.h:
26974         * libs/gst/controller/gst-helper.c:
26975         * libs/gst/controller/gst-interpolation.c:
26976         * libs/gst/controller/lib.c:
26977           added long/short desc for controller docs
26978           added collectpads base class docs
26979           added correct includes to base-class docs
26980
26981 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26982
26983         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26984         (gst_test_mono_source_set_property),
26985         (gst_test_mono_source_class_init), (GST_START_TEST),
26986         (gst_controller_suite):
26987         * docs/gst/gstreamer-docs.sgml:
26988         * docs/gst/gstreamer-sections.txt:
26989         * docs/gst/gstreamer.types:
26990         * docs/libs/gstreamer-libs-docs.sgml:
26991         * docs/libs/gstreamer-libs-sections.txt:
26992         * gst/base/gstadapter.c:
26993         * libs/gst/controller/gst-controller.c:
26994         (gst_controlled_property_new), (gst_controlled_property_free),
26995         (gst_controller_new_valist),
26996         (gst_controller_remove_properties_valist),
26997         (gst_controller_sink_values), (_gst_controller_finalize):
26998         * libs/gst/controller/gst-controller.h:
26999         * libs/gst/controller/gst-helper.c:
27000         (gst_object_control_properties), (gst_object_uncontrol_properties),
27001         (gst_object_get_controller), (gst_object_set_controller),
27002         (gst_object_sink_values), (gst_object_get_value_arrays),
27003         (gst_object_get_value_array):
27004           more tests (and fixes) for the controller
27005           more docs for the controller
27006           integrated companies docs for the adapter 
27007
27008 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27009
27010         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27011         (GST_START_TEST), (fakesrc_suite):
27012           add tests for sizetype
27013
27014 2005-08-04  Andy Wingo  <wingo@pobox.com>
27015
27016         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27017         fixes buffer_alloc proxying among other things.
27018
27019         * gst/base/gstbasetransform.c:
27020         * gst/base/gstbasetransform.h:
27021         Revert patch to gstbasetransform from 7-28 removing
27022         delay_configure.
27023
27024         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27025         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27026         Semantics changed, should return not the size of the output buffer
27027         but the byte size of a buffer with a given caps.
27028
27029         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27030         debug object.
27031         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27032         out) are not the pad caps until setcaps finishes.
27033         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27034         not-in-place case as well. Deal with changing from in-place to
27035         not-in-place within calling pad_alloc_buffer. Still a bit
27036         concerned about the overhead here...
27037
27038 2005-08-03  Andy Wingo  <wingo@pobox.com>
27039
27040         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27041         fixating is an error.
27042
27043 2005-08-04  Edward Hervey  <edward@fluendo.com>
27044
27045         * gst/base/gstadapter.h: 
27046         Added gst_adapter_get_type() to the header
27047
27048 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27049
27050         * check/Makefile.am:
27051         * check/gst-libs/controller.c:
27052         * libs/gst/controller/gst-controller.c:
27053         (gst_controller_new_valist):
27054           added check test suite for the controller
27055         * gst/base/gstpushsrc.c:
27056           fixed a doc typo
27057
27058 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27059
27060         * docs/gst/Makefile.am:
27061         * docs/gst/gstreamer-docs.sgml:
27062         * docs/gst/gstreamer-sections.txt:
27063         * docs/gst/gstreamer.types:
27064         * docs/gst/tmpl/gstfakesrc.sgml:
27065         * gst/base/README:
27066         * gst/base/gstbasesink.c:
27067         * gst/base/gstbasesink.h:
27068         * gst/base/gstbasesrc.c:
27069         * gst/base/gstbasesrc.h:
27070         * gst/base/gstbasetransform.c:
27071         * gst/base/gstpushsrc.c:
27072         * gst/base/gstpushsrc.h:
27073           add short/long description docs to base classes
27074           add pushsrc to the docs
27075           remove consolidated doc fragments
27076
27077 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27078
27079         * configure.ac:
27080         * docs/libs/Makefile.am:
27081         * docs/libs/gstreamer-libs-docs.sgml:
27082         * docs/libs/gstreamer-libs-sections.txt:
27083         * docs/libs/gstreamer-libs.types:
27084         * examples/Makefile.am:
27085         * examples/controller/.cvsignore:
27086         * examples/controller/Makefile.am:
27087         * examples/controller/audio-example.c: (main):
27088         * libs/gst/Makefile.am:
27089         * libs/gst/controller/.cvsignore:
27090         * libs/gst/controller/Makefile.am:
27091         * libs/gst/controller/gst-controller.c:
27092         (on_object_controlled_property_changed), (gst_timed_value_compare),
27093         (gst_timed_value_find),
27094         (gst_controlled_property_set_interpolation_mode),
27095         (gst_controlled_property_new), (gst_controlled_property_free),
27096         (gst_controller_find_controlled_property),
27097         (gst_controller_new_valist), (gst_controller_new),
27098         (gst_controller_remove_properties_valist),
27099         (gst_controller_remove_properties), (gst_controller_set),
27100         (gst_controller_set_from_list), (gst_controller_unset),
27101         (gst_controller_get), (gst_controller_get_all),
27102         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27103         (gst_controller_get_value_array),
27104         (gst_controller_set_interpolation_mode),
27105         (_gst_controller_finalize), (_gst_controller_init),
27106         (_gst_controller_class_init), (gst_controller_get_type):
27107         * libs/gst/controller/gst-controller.h:
27108         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27109         (g_object_uncontrol_properties), (g_object_get_controller),
27110         (g_object_set_controller), (g_object_sink_values),
27111         (g_object_get_value_arrays), (g_object_get_value_array):
27112         * libs/gst/controller/gst-interpolation.c:
27113         (gst_controlled_property_find_timed_value_node),
27114         (interpolate_none_get), (interpolate_trigger_get),
27115         (interpolate_trigger_get_value_array):
27116         * libs/gst/controller/lib.c: (gst_controller_init):
27117         * pkgconfig/Makefile.am:
27118         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27119         * pkgconfig/gstreamer-control.pc.in:
27120         * testsuite/Makefile.am:
27121         * testsuite/controller/.cvsignore:
27122         * testsuite/controller/Makefile.am:
27123         * testsuite/controller/interpolator.c: (main):
27124           added controller code
27125           removed dparam pc files
27126
27127 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27128         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27129         (gst_collectpads_stop):
27130           Broadcast the condition when shutting down, to make sure we wake all
27131           threads up. Shut down pads on finalize, for safety.
27132
27133 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27134         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27135         (gst_base_transform_handle_buffer),
27136         (gst_base_transform_change_state):
27137           Handle PAUSED->READY->PAUSED transition after negotiation
27138           occurred already.
27139         * gst/gstmessage.c: (gst_message_init):
27140           Extra piece of debug for new messages.
27141
27142 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27143
27144         * configure.ac:
27145         * docs/gst/tmpl/gstbasesrc.sgml:
27146         * docs/gst/tmpl/gstelement.sgml:
27147         * docs/gst/tmpl/gstevent.sgml:
27148         * docs/gst/tmpl/gstfakesrc.sgml:
27149         * docs/gst/tmpl/gstformat.sgml:
27150         * docs/gst/tmpl/gstghostpad.sgml:
27151         * docs/gst/tmpl/gstpad.sgml:
27152         * docs/gst/tmpl/gstquery.sgml:
27153         * docs/gst/tmpl/gststructure.sgml:
27154         * docs/gst/tmpl/gsttaglist.sgml:
27155         * docs/gst/tmpl/gstvalue.sgml:
27156         * docs/libs/gstreamer-libs-docs.sgml:
27157         * docs/libs/gstreamer-libs-sections.txt:
27158         * docs/libs/gstreamer-libs.types:
27159         * libs/gst/Makefile.am:
27160         * libs/gst/control/.cvsignore:
27161         * libs/gst/control/Makefile.am:
27162         * libs/gst/control/control.c:
27163         * libs/gst/control/control.h:
27164         * libs/gst/control/dparam.c:
27165         * libs/gst/control/dparam.h:
27166         * libs/gst/control/dparam_smooth.c:
27167         * libs/gst/control/dparam_smooth.h:
27168         * libs/gst/control/dparamcommon.h:
27169         * libs/gst/control/dparammanager.c:
27170         * libs/gst/control/dparammanager.h:
27171         * libs/gst/control/dplinearinterp.c:
27172         * libs/gst/control/dplinearinterp.h:
27173         * libs/gst/control/unitconvert.c:
27174         * libs/gst/control/unitconvert.h:
27175         * testsuite/Makefile.am:
27176         * testsuite/dynparams/.cvsignore:
27177         * testsuite/dynparams/Makefile.am:
27178         * testsuite/dynparams/dparamstest.c:
27179         * tools/Makefile.am:
27180         * tools/gst-inspect.c: (print_element_info), (main):
27181         * tools/gst-xmlinspect.c: (print_element_info), (main):
27182           deactivate and remove dparams (libgstcontrol)
27183
27184 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27185
27186         * gst/elements/gsttypefindelement.c:
27187         (gst_type_find_element_have_type), (gst_type_find_element_init),
27188         (stop_typefinding), (gst_type_find_element_handle_event),
27189         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27190         * gst/elements/gsttypefindelement.h:
27191           Set caps on all outgoing buffers, not just the first one.
27192
27193 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27194
27195         * gst/elements/gsttypefindelement.c:
27196         (gst_type_find_element_have_type),
27197         (gst_type_find_element_check_set_buffer_caps),
27198         (gst_type_find_element_init), (stop_typefinding),
27199         (gst_type_find_element_handle_event),
27200         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27201         * gst/elements/gsttypefindelement.h:
27202           Set caps on first outgoing buffer when we've found the type.
27203
27204 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27205
27206         * docs/gst/gstreamer-docs.sgml:
27207         * docs/gst/gstreamer-sections.txt:
27208         * docs/gst/tmpl/gstscheduler.sgml:
27209         * docs/gst/tmpl/gstschedulerfactory.sgml:
27210           Remove some old cruft from docs.
27211
27212 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27213
27214         * gst/gstpad.h:
27215           Fix inline docs for GstPadLinkReturn.
27216           
27217         * gst/gststructure.c: (gst_structure_has_name):
27218         * gst/gststructure.h:
27219         * docs/gst/gstreamer-sections.txt:
27220           New API: gst_structure_has_name().
27221
27222 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27223
27224         * configure.ac:
27225           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27226           and _LARGEFILE_SOURCE in config.h as required. Do not 
27227           export those flags in our .pc files any longer (#142209).
27228
27229           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27230
27231         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27232         (gst_file_sink_do_seek), (gst_file_sink_event),
27233         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27234           Redo seek/tell calls with large file support in mind; add some
27235           debugging messages; add log message that tells us when large
27236           file support is unavailable or not enabled for some reason.
27237
27238         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27239           Add log message that tells us when large file support 
27240           is unavailable or not enabled for some reason.
27241
27242 2005-07-29  Wim Taymans  <wim@fluendo.com>
27243
27244         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27245         Added test for removing an element with ghostpad from a bin.
27246         Fixed test as current implementation does the right thing.
27247
27248         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27249         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27250         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27251         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27252         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27253         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27254         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27255         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27256         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27257         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27258         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27259         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27260         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27261         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27262         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27263         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27264         * gst/gstghostpad.h:
27265         Clean up ghostpads, remove properties for internal stuff.
27266         Make threadsafe.
27267         Fix refcounting.
27268         Prepare for switching targets, not all use cases work yet.
27269
27270 2005-07-29  Wim Taymans  <wim@fluendo.com>
27271
27272         * docs/design/part-gstghostpad.txt:
27273         Small update.
27274
27275         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27276         (gst_bin_remove_func):
27277         Unlinking pads while holding the bin LOCK is not a good
27278         idea.
27279
27280         * gst/gstpad.c: (gst_pad_class_init),
27281         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27282         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27283         No prob setting template after creating the pad.
27284
27285 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27286
27287         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27288         (gst_bus_peek), (gst_bus_source_dispatch),
27289         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27290         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27291           gst_bus_poll may be called from other threads. Handle
27292           this nicely by not making poll_data disappear off the
27293           stack once gst_bus_poll returns.
27294           gst_bus_peek now increments the refcount on the returned
27295           message.
27296
27297 2005-07-29  Wim Taymans  <wim@fluendo.com>
27298
27299         * docs/design/part-gstghostpad.txt:
27300         Overview of current GhostPad datastructures and use
27301         cases for changing the target.
27302
27303 2005-07-28  Wim Taymans  <wim@fluendo.com>
27304
27305         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27306         Added checks for hierarchy consistency whan adding linked
27307         elements to bins.
27308
27309         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27310         Added check to test element scheduling without bin/pipeline.
27311
27312         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27313         First add elements to bin, then link.
27314         
27315         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27316         (gst_bin_remove_func):
27317         Unlink pads from elements added/removed from bin to maintain
27318         hierarchy consistency.
27319
27320 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27321
27322         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27323         (gst_base_transform_handle_buffer):
27324         * gst/base/gstbasetransform.h:
27325           Remove broken delay_configure (fixes renegotiation of software
27326           scaling pipelines); remove some leftover printf()s.
27327
27328 2005-07-28  Wim Taymans  <wim@fluendo.com>
27329
27330         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27331         Added some more tests for wrong hierarchy
27332
27333         * docs/design/part-overview.txt:
27334         Some updates.
27335
27336         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27337         Cleanups.
27338
27339         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27340         (gst_element_dispose):
27341         Some more cleanups.
27342
27343         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27344         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27345         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27346         (gst_pad_set_caps), (gst_pad_send_event):
27347         Check for correct hierarchy when linking pads. Moving to
27348         strict requirement for ghostpads when linking elements in
27349         different bins.
27350
27351         * gst/gstpad.h:
27352         Clean ups. Added WRONG_HIERARCHY return value.
27353
27354 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27355
27356         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27357           Better debug if no transform is possible.
27358
27359 2005-07-27  Wim Taymans  <wim@fluendo.com>
27360
27361         * docs/random/wtay/network-transp:
27362         Some old doc I had.
27363
27364 2005-07-27  Wim Taymans  <wim@fluendo.com>
27365
27366         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27367         (gst_dp_event_from_packet):
27368         Fix serialization of seek events.
27369
27370 2005-07-27  Wim Taymans  <wim@fluendo.com>
27371
27372         * check/gst-libs/gdp.c: (GST_START_TEST):
27373         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27374         Fix compilation and fix event serialization.
27375
27376 2005-07-27  Wim Taymans  <wim@fluendo.com>
27377
27378         * CHANGES-0.9:
27379         * docs/design/part-TODO.txt:
27380         * docs/design/part-events.txt:
27381         Some docs updates
27382
27383         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27384         (gst_base_sink_event), (gst_base_sink_do_sync),
27385         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27386         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27387         (gst_base_src_do_seek), (gst_base_src_event_handler),
27388         (gst_base_src_loop):
27389         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27390         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27391         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27392         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27393         (gst_base_transform_set_passthrough),
27394         (gst_base_transform_is_passthrough):
27395         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27396         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27397         Event updates.
27398
27399         * gst/gstbuffer.h:
27400         Use faster casts.
27401
27402         * gst/gstelement.c: (gst_element_seek):
27403         * gst/gstelement.h:
27404         Update gst_element_seek.
27405
27406         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27407         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27408         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27409         (gst_event_new_eos), (gst_event_new_newsegment),
27410         (gst_event_parse_newsegment), (gst_event_new_tag),
27411         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27412         (gst_event_parse_qos), (gst_event_new_seek),
27413         (gst_event_parse_seek), (gst_event_new_navigation):
27414         * gst/gstevent.h:
27415         Make GstEvent use GstStructure. Add parsing code, make sure the
27416         API is sufficiently generic.
27417         Mark possible directions of events and serialization.
27418
27419         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27420         (_gst_message_copy), (gst_message_new_segment_start),
27421         (gst_message_new_segment_done), (gst_message_new_custom),
27422         (gst_message_parse_segment_start),
27423         (gst_message_parse_segment_done):
27424         Small cleanups.
27425
27426         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27427         (gst_pad_set_caps), (gst_pad_send_event):
27428         Update for new events. 
27429         Catch events sent in wrong directions.
27430
27431         * gst/gstqueue.c: (gst_queue_link_src),
27432         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27433         (gst_queue_handle_src_query):
27434         Event updates.
27435
27436         * gst/gsttag.c:
27437         * gst/gsttag.h:
27438         Remove event code from this file.
27439
27440         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27441         (gst_dp_event_from_packet):
27442         Event updates.
27443
27444 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27445
27446         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27447         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27448         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27449           Make debugging actually useful.
27450
27451 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27452
27453         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27454         (gst_pad_fixate_caps):
27455           Implement default fixation once again, so that gst_pad_fixate()
27456           actually does anything at all. This probably needs to be some
27457           sort of a last resort, and use profile-based fixation first, but
27458           since that doesn't exist yet, this is the best we have. Fixes
27459           visualization in Totem.
27460
27461 2005-07-22  Wim Taymans  <wim@fluendo.com>
27462
27463         * docs/design/part-events.txt:
27464         Small update.
27465
27466         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27467         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27468         (gst_base_sink_activate_pull):
27469         Some more comments.
27470
27471         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27472         (gst_fake_src_create):
27473         Fix handoff marshall.
27474
27475         * gst/elements/gstidentity.c: (gst_identity_class_init),
27476         (gst_identity_transform_ip):
27477         We're a real inplace element.
27478
27479         * gst/gstbus.c: (gst_bus_post):
27480         Added some comments.
27481
27482         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27483         * tests/muxing/case1.c: (main):
27484         * tests/sched/dynamic-pipeline.c: (main):
27485         * tests/sched/interrupt1.c: (main):
27486         * tests/sched/interrupt2.c: (main):
27487         * tests/sched/interrupt3.c: (main):
27488         * tests/sched/runxml.c: (main):
27489         * tests/sched/sched-stress.c: (main):
27490         * tests/seeking/seeking1.c: (event_received), (main):
27491         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27492         (main):
27493         * tests/threadstate/threadstate3.c: (main):
27494         * tests/threadstate/threadstate4.c: (main):
27495         * tests/threadstate/threadstate5.c: (main):
27496         Fix the tests.
27497
27498 2005-07-21  Wim Taymans  <wim@fluendo.com>
27499
27500         * docs/design/part-seeking.txt:
27501         Some small additions.
27502
27503         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27504         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27505         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27506         * gst/base/gstbasesink.h:
27507         discont values are gint64, handle the math correctly.
27508
27509         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27510         Make the basesrc report error if the source pad is not linked.
27511
27512         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27513         (gst_queue_loop), (gst_queue_handle_src_query),
27514         (gst_queue_src_activate_push):
27515         Make queue collect data even if the srcpad is not linked.
27516         Start pushing out data as soon as it is linked.
27517
27518         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27519         * gst/gstutils.h:
27520         Added gst_flow_get_name() to ease error reporting.
27521
27522 2005-07-20  Wim Taymans  <wim@fluendo.com>
27523
27524         * gst/gstmessage.c: (gst_message_new_segment_start),
27525         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27526         (gst_message_parse_segment_done):
27527         * gst/gstmessage.h:
27528         Added a bunch of messages for advanced seeking.
27529
27530         * gst/parse/grammar.y:
27531         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27532         (gst_dpman_state_changed):
27533         Fix some new-pad -> pad-added signals
27534
27535 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27536
27537         * docs/manual/appendix-porting.xml:
27538         * docs/pwg/appendix-porting.xml:
27539           Document new-pad/state-change signal renames and the FixedList
27540           type rename.
27541
27542 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27543
27544         * docs/manual/advanced-autoplugging.xml:
27545         * docs/manual/basics-helloworld.xml:
27546         * docs/manual/basics-pads.xml:
27547         * docs/random/ds/0.9-suggested-changes:
27548         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27549         * gst/gstelement.h:
27550         * gst/gstevent.h:
27551         * gst/gstformat.h:
27552         * gst/gstquery.h:
27553         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27554         (gst_structure_parse_array), (gst_structure_parse_value):
27555         * gst/gstvalue.c: (gst_type_is_fixed),
27556         (gst_value_list_prepend_value), (gst_value_list_append_value),
27557         (gst_value_list_get_size), (gst_value_list_get_value),
27558         (gst_value_transform_array_string), (gst_value_serialize_array),
27559         (gst_value_deserialize_array), (gst_value_intersect_array),
27560         (gst_value_is_fixed), (_gst_value_initialize):
27561         * gst/gstvalue.h:
27562           GstElement::new-pad -> pad-added, GstElement::state-change ->
27563           state-changed, GstValueFixedList -> GstValueArray, add format and
27564           flags as their own arguments in gst_element_seek() (should improve
27565           "bindeability"), remove function generators since they don't work
27566           under a whole bunch of compilers (they were deprecated already
27567           anyway).
27568
27569 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27570
27571         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27572         (_gst_debug_register_funcptr):
27573         * gst/gstinfo.h:
27574           Fix illegal cast on some platforms (#309253).
27575
27576 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27577
27578         * gst/gstmessage.c: (gst_message_new_custom):
27579         * gst/gstmessage.h:
27580           Add _new_custom, make _new_application a macro to _new_custom.
27581
27582 2005-07-20  Wim Taymans  <wim@fluendo.com>
27583
27584         * gst/base/gstbasesrc.c: (gst_base_src_init),
27585         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27586         * gst/base/gstbasesrc.h:
27587         Add a gboolean to decide when to push out a discont.
27588
27589         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27590         (gst_queue_loop), (gst_queue_handle_src_query),
27591         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27592         (gst_queue_set_property), (gst_queue_get_property):
27593         Some cleanups.
27594
27595         * tests/threadstate/threadstate1.c: (main):
27596         Make a thread test compile and run... very silly..
27597
27598
27599 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27600
27601         * docs/manual/appendix-porting.xml:
27602           Mention removal of libgstgconf-0.9.la and existence of gconf
27603           elements.
27604
27605 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27606
27607         * docs/pwg/advanced-clock.xml:
27608         * docs/pwg/appendix-porting.xml:
27609         * docs/pwg/intro-preface.xml:
27610         * docs/pwg/other-base.xml:
27611         * docs/pwg/other-manager.xml:
27612         * docs/pwg/other-nton.xml:
27613         * docs/pwg/other-ntoone.xml:
27614         * docs/pwg/other-oneton.xml:
27615         * docs/pwg/pwg.xml:
27616           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27617           demuxer), remove n-to-n (was never written), fix some code examples
27618           and links and update the porting section to include all this.
27619
27620 2005-07-19  Wim Taymans  <wim@fluendo.com>
27621
27622         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27623         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27624         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27625         (gst_queue_src_activate_push), (gst_queue_change_state),
27626         (gst_queue_get_property):
27627         * gst/gstqueue.h:
27628         Propagate GstFlowReturn more intelligently upstream and output
27629         an ERROR/EOS when streaming stopped due to fatal error.
27630
27631 2005-07-19  Wim Taymans  <wim@fluendo.com>
27632
27633         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27634         Don't block forever for the state change to complete, the
27635         pipeline already did with a sensible timeout.
27636
27637 2005-07-19  Wim Taymans  <wim@fluendo.com>
27638
27639         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27640         Make sure we never call the create function is we
27641         got deactivated.
27642
27643 2005-07-19  Andy Wingo  <wingo@pobox.com>
27644
27645         * gst/parse/parse.l: Attempt to solve bug #172815.
27646
27647 2005-07-19  Wim Taymans  <wim@fluendo.com>
27648
27649         * docs/design/part-clocks.txt:
27650         * docs/design/part-events.txt:
27651         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27652         Small docs updates.
27653         Only update the seeking values when we are not
27654         busy streaming.
27655
27656 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27657
27658         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27659           Oops, ignore the result of gst_pad_push_event here.
27660
27661 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27662
27663         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27664         (gst_base_src_activate_push):
27665           Send discont event from the loop function, as pads
27666           aren't activated yet in the activate_push handler.
27667
27668         * gst/gstbin.c: (bin_bus_handler):
27669           Don't leak element name.
27670
27671 2005-07-18  Andy Wingo  <wingo@pobox.com>
27672
27673         * configure.ac: Use AS_LIBTOOL_TAGS.
27674
27675 2005-07-18  Wim Taymans  <wim@fluendo.com>
27676
27677         * docs/gst/gstreamer.types:
27678         Remove deleted types.
27679
27680 2005-07-18  Wim Taymans  <wim@fluendo.com>
27681
27682         * check/elements/gstfakesrc.c: (GST_START_TEST):
27683         * configure.ac:
27684         * gst/Makefile.am:
27685         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27686         (init_popt_callback):
27687         * gst/gst.h:
27688         * gst/gst_private.h:
27689         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27690         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27691         * gst/gstbin.h:
27692         * gst/gstbus.h:
27693         * gst/gstconfig.h.in:
27694         * gst/gstelement.c: (gst_element_class_init),
27695         (gst_element_set_base_time), (gst_element_get_base_time),
27696         (iterator_fold_with_resync), (gst_element_change_state),
27697         (gst_element_dispose), (gst_element_get_bus):
27698         * gst/gstelement.h:
27699         * gst/gstelementfactory.h:
27700         * gst/gsterror.c: (_gst_core_errors_init):
27701         * gst/gsterror.h:
27702         * gst/gstevent.h:
27703         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27704         * gst/gstindex.c:
27705         * gst/gstinfo.c: (_gst_debug_init):
27706         * gst/gstmessage.c: (_gst_message_copy):
27707         * gst/gstmessage.h:
27708         * gst/gstminiobject.h:
27709         * gst/gstobject.c:
27710         * gst/gstobject.h:
27711         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27712         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27713         * gst/gstpad.h:
27714         * gst/gstparse.h:
27715         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27716         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27717         (gst_pipeline_get_last_stream_time):
27718         * gst/gstpipeline.h:
27719         * gst/gstpluginfeature.h:
27720         * gst/gstquery.h:
27721         * gst/gstscheduler.c:
27722         * gst/gstscheduler.h:
27723         * gst/gststructure.h:
27724         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27725         (gst_task_finalize), (gst_task_func), (gst_task_create),
27726         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27727         (gst_task_stop), (gst_task_pause):
27728         * gst/gsttask.h:
27729         * gst/gsttypefind.h:
27730         * gst/gsttypes.h:
27731         * gst/registries/gstlibxmlregistry.c: (load_feature),
27732         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27733         * gst/registries/gstxmlregistry.c:
27734         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27735         * gst/schedulers/threadscheduler.c:
27736         * libs/gst/control/dparammanager.h:
27737         * tools/gst-inspect.c: (print_element_list),
27738         (print_plugin_features), (print_element_features):
27739         * tools/gst-xmlinspect.c: (print_element_list),
27740         (print_plugin_info), (main):
27741         Removed plugable schedulers.
27742         Removed Scheduler/Manager from elements.
27743         Removed gsttypes.h, rearranged includes.
27744         Removed dependency pad<->element, element<>pipeline, and
27745         various others,  fix includes.
27746         implement gst_pad_get_parent() with gst_object_get_parent()
27747         Make GstTask sefcontained.
27748         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27749         timeout.
27750         Fix endless loop in iterator_fold_with_resync.
27751
27752
27753 2005-07-18  Wim Taymans  <wim@fluendo.com>
27754
27755         * gst/Makefile.am:
27756         * gst/gstarch.h:
27757         Remove old file.
27758
27759 2005-07-18  Wim Taymans  <wim@fluendo.com>
27760
27761         * gst/Makefile.am:
27762         No more cothreads.h
27763
27764 2005-07-18  Wim Taymans  <wim@fluendo.com>
27765
27766         * gst/cothreads.c:
27767         * gst/cothreads.h:
27768         Let's remove these.
27769
27770 2005-07-18  Wim Taymans  <wim@fluendo.com>
27771
27772         * docs/design/part-dynamic.txt:
27773         * docs/design/part-events.txt:
27774         * docs/design/part-seeking.txt:
27775         Some more docs in the works.
27776
27777         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27778         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27779         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27780         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27781         (gst_base_transform_handle_buffer),
27782         (gst_base_transform_sink_activate_push),
27783         (gst_base_transform_src_activate_pull),
27784         (gst_base_transform_set_passthrough),
27785         (gst_base_transform_is_passthrough):
27786         Refcounting fixes.
27787
27788         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27789         Cleanups.
27790
27791         * gst/gstevent.c: (gst_event_finalize):
27792         Set SRC to NULL.
27793
27794         * gst/gstutils.c: (gst_element_unlink),
27795         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27796         (gst_pad_proxy_setcaps):
27797         * gst/gstutils.h:
27798         Add _get_parent_element() to get a pads parent as an element.
27799
27800 2005-07-18  Wim Taymans  <wim@fluendo.com>
27801
27802         * check/gst/gstbin.c: (GST_START_TEST):
27803         Remove bogus test.
27804
27805 2005-07-18  Wim Taymans  <wim@fluendo.com>
27806
27807         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27808         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27809         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27810         (gst_base_sink_event), (gst_base_sink_do_sync),
27811         (gst_base_sink_chain), (gst_base_sink_loop),
27812         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27813         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27814         Refcounting fixes.
27815         Fix logic for returning ASYNC when not prerolled.
27816
27817 2005-07-18  Wim Taymans  <wim@fluendo.com>
27818
27819         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27820         Fix nasty refcount bug.
27821
27822 2005-07-16 Philippe Khalaf <burger@speedy.org>
27823
27824         * gst/elements/gstfdsrc.c:
27825         * gst/elements/gstfdsrc.h:
27826         * gst/elements/gstelements.c:
27827         * gst/elements/Makefile.am:
27828         Ported fdsrc to 0.9.
27829
27830 2005-07-16  Wim Taymans  <wim@fluendo.com>
27831
27832         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27833         (gst_base_sink_do_sync):
27834         Fix compile error.
27835
27836 2005-07-16  Wim Taymans  <wim@fluendo.com>
27837
27838         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27839         (gst_base_sink_event), (gst_base_sink_get_times),
27840         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27841         * gst/base/gstbasesink.h:
27842         Store and use discont values when syncing buffers as described
27843         in design docs.
27844         
27845         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27846         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27847         (gst_base_src_activate_push):
27848         Push discont event when starting.
27849
27850         * gst/elements/gstidentity.c: (gst_identity_transform):
27851         Small cleanups.
27852
27853         * gst/gstbin.c: (gst_bin_change_state):
27854         Small cleanups in base_time  distribution.
27855
27856         * gst/gstelement.c: (gst_element_set_base_time),
27857         (gst_element_get_base_time), (gst_element_change_state):
27858         * gst/gstelement.h:
27859         Added methods for the base_time of the element.
27860         Some MT fixes.
27861
27862         * gst/gstpipeline.c: (gst_pipeline_send_event),
27863         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27864         (gst_pipeline_get_last_stream_time):
27865         * gst/gstpipeline.h:
27866         MT fixes.
27867         Handle seeking as described in design doc, remove stream_time
27868         hack.
27869         Cleanups clock and stream_time selection code. Added accessors
27870         for the stream_time.
27871         
27872
27873 2005-07-16  Andy Wingo  <wingo@pobox.com>
27874
27875         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27876         (#305291).
27877
27878 2005-07-16  Wim Taymans  <wim@fluendo.com>
27879
27880         * check/gst/gstbin.c: (GST_START_TEST):
27881         Make elements silent as the deep_notify refs the
27882         parent, which might make the test fail.
27883
27884         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27885         Don't hold the lock for too long.
27886
27887 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27888
27889         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27890           Don't unref the caps we passed to gst_caps_make_writable() after
27891           passing them. gst_caps_make_writable() will do that for us.
27892
27893 2005-07-15  Andy Wingo  <wingo@pobox.com>
27894
27895         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27896         (#157311).
27897
27898         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27899         own marshalling function for the handoff signal. Properly type the
27900         buffer as a buffer. Fixes some warnings. Should do a more general
27901         solution.
27902         (gst_identity_class_init): Plug into the right marshaller.
27903
27904 2005-07-15  Wim Taymans  <wim@fluendo.com>
27905
27906         * docs/design/part-TODO.txt:
27907         * docs/design/part-clocks.txt:
27908         * docs/design/part-element-sink.txt:
27909         * docs/design/part-events.txt:
27910         * docs/design/part-gstpipeline.txt:
27911         Updated docs, mostly DISCONT related.
27912
27913 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27914
27915         * docs/pwg/building-pads.xml:
27916           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27917
27918 2005-07-15  Andy Wingo  <wingo@pobox.com>
27919
27920         * tools/gst-typefind.c: Update, add copyright block.
27921
27922         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27923         Normalize and truncate caps before fixation.
27924
27925         * gst/gstcaps.h:
27926         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27927         discards all but the first structure from its argument.
27928
27929 2005-07-15  Wim Taymans  <wim@fluendo.com>
27930
27931         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27932         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27933         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27934         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27935         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27936         (gst_base_transform_chain), (gst_base_transform_change_state),
27937         (gst_base_transform_set_passthrough),
27938         (gst_base_transform_is_passthrough):
27939         * gst/base/gstbasetransform.h:
27940         Make passthrough work using the bufferpools.
27941         Changed API a bit, subclasses have to write into a buffer
27942         provided by the base class.
27943         More debug info in nego functions.
27944         
27945         * gst/elements/gstidentity.c: (gst_identity_init),
27946         (gst_identity_transform):
27947         Port to new base class.
27948
27949 2005-07-15  Wim Taymans  <wim@fluendo.com>
27950
27951         * gst/gstmessage.c: (gst_message_new_state_changed):
27952         * tools/gst-launch.c: (event_loop), (main):
27953         Totally dump messages in -launch with the -m option.
27954         Fix message name for State messages,
27955
27956 2005-07-14  Wim Taymans  <wim@fluendo.com>
27957
27958         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27959         Post error messages on errors.
27960
27961 2005-07-14  Wim Taymans  <wim@fluendo.com>
27962
27963         * gst/gstcaps.c: (gst_caps_do_simplify):
27964         Remove debug info.
27965
27966         * gst/gsterror.h:
27967         Define error for stream stopped.
27968
27969         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27970         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27971         Do proper return values.
27972
27973         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27974         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27975         (gst_pad_get_range):
27976         Better return values.
27977
27978         * gst/gstpad.h:
27979         Reorganise return values, add macro to check for fatal errors.
27980
27981         * gst/gstqueue.c: (gst_queue_chain):
27982         Return proper GstFlowReturn values,
27983
27984 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27985
27986         * docs/gst/gstreamer-sections.txt:
27987         * docs/gst/gstreamer.types:
27988         * docs/gst/tmpl/gst.sgml:
27989         * docs/gst/tmpl/gstbasesink.sgml:
27990         * docs/gst/tmpl/gstbasesrc.sgml:
27991         * docs/gst/tmpl/gstbasetransform.sgml:
27992         * docs/gst/tmpl/gstbin.sgml:
27993         * docs/gst/tmpl/gstbuffer.sgml:
27994         * docs/gst/tmpl/gstcaps.sgml:
27995         * docs/gst/tmpl/gstclock.sgml:
27996         * docs/gst/tmpl/gstcompat.sgml:
27997         * docs/gst/tmpl/gstconfig.sgml:
27998         * docs/gst/tmpl/gstelement.sgml:
27999         * docs/gst/tmpl/gstelementdetails.sgml:
28000         * docs/gst/tmpl/gstelementfactory.sgml:
28001         * docs/gst/tmpl/gstenumtypes.sgml:
28002         * docs/gst/tmpl/gsterror.sgml:
28003         * docs/gst/tmpl/gstevent.sgml:
28004         * docs/gst/tmpl/gstfakesink.sgml:
28005         * docs/gst/tmpl/gstfakesrc.sgml:
28006         * docs/gst/tmpl/gstfilesink.sgml:
28007         * docs/gst/tmpl/gstfilesrc.sgml:
28008         * docs/gst/tmpl/gstfilter.sgml:
28009         * docs/gst/tmpl/gstformat.sgml:
28010         * docs/gst/tmpl/gstghostpad.sgml:
28011         * docs/gst/tmpl/gstimplementsinterface.sgml:
28012         * docs/gst/tmpl/gstindex.sgml:
28013         * docs/gst/tmpl/gstindexfactory.sgml:
28014         * docs/gst/tmpl/gstinfo.sgml:
28015         * docs/gst/tmpl/gstiterator.sgml:
28016         * docs/gst/tmpl/gstmacros.sgml:
28017         * docs/gst/tmpl/gstmemchunk.sgml:
28018         * docs/gst/tmpl/gstminiobject.sgml:
28019         * docs/gst/tmpl/gstobject.sgml:
28020         * docs/gst/tmpl/gstpad.sgml:
28021         * docs/gst/tmpl/gstpadtemplate.sgml:
28022         * docs/gst/tmpl/gstparse.sgml:
28023         * docs/gst/tmpl/gstpipeline.sgml:
28024         * docs/gst/tmpl/gstplugin.sgml:
28025         * docs/gst/tmpl/gstpluginfeature.sgml:
28026         * docs/gst/tmpl/gstquery.sgml:
28027         * docs/gst/tmpl/gstqueue.sgml:
28028         * docs/gst/tmpl/gstregistry.sgml:
28029         * docs/gst/tmpl/gstregistrypool.sgml:
28030         * docs/gst/tmpl/gstscheduler.sgml:
28031         * docs/gst/tmpl/gstschedulerfactory.sgml:
28032         * docs/gst/tmpl/gststructure.sgml:
28033         * docs/gst/tmpl/gstsystemclock.sgml:
28034         * docs/gst/tmpl/gsttaglist.sgml:
28035         * docs/gst/tmpl/gsttagsetter.sgml:
28036         * docs/gst/tmpl/gsttrace.sgml:
28037         * docs/gst/tmpl/gsttrashstack.sgml:
28038         * docs/gst/tmpl/gsttypefind.sgml:
28039         * docs/gst/tmpl/gsttypefindfactory.sgml:
28040         * docs/gst/tmpl/gsttypes.sgml:
28041         * docs/gst/tmpl/gsturihandler.sgml:
28042         * docs/gst/tmpl/gsturitype.sgml:
28043         * docs/gst/tmpl/gstutils.sgml:
28044         * docs/gst/tmpl/gstvalue.sgml:
28045         * docs/gst/tmpl/gstversion.sgml:
28046         * docs/gst/tmpl/gstxml.sgml:
28047         * docs/libs/tmpl/gstcontrol.sgml:
28048         * docs/libs/tmpl/gstdataprotocol.sgml:
28049         * docs/libs/tmpl/gstdparam.sgml:
28050         * docs/libs/tmpl/gstdplinint.sgml:
28051         * docs/libs/tmpl/gstdpman.sgml:
28052         * docs/libs/tmpl/gstdpsmooth.sgml:
28053         * docs/libs/tmpl/gstgetbits.sgml:
28054         * docs/libs/tmpl/gstunitconvert.sgml:
28055         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28056         (gst_push_src_base_init), (gst_push_src_class_init),
28057         (gst_push_src_init), (gst_push_src_create):
28058         * gst/base/gstpushsrc.h:
28059         * gst/elements/gstelements.c:
28060         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28061         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28062         (gst_fake_sink_init), (gst_fake_sink_set_property),
28063         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28064         (gst_fake_sink_event), (gst_fake_sink_preroll),
28065         (gst_fake_sink_render), (gst_fake_sink_change_state):
28066         * gst/elements/gstfakesink.h:
28067         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28068         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28069         (gst_fake_src_base_init), (gst_fake_src_class_init),
28070         (gst_fake_src_init), (gst_fake_src_event_handler),
28071         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28072         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28073         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28074         (gst_fake_src_create_buffer), (gst_fake_src_create),
28075         (gst_fake_src_start), (gst_fake_src_stop):
28076         * gst/elements/gstfakesrc.h:
28077         * gst/elements/gstfilesink.c: (_do_init),
28078         (gst_file_sink_base_init), (gst_file_sink_class_init),
28079         (gst_file_sink_init), (gst_file_sink_dispose),
28080         (gst_file_sink_set_location), (gst_file_sink_set_property),
28081         (gst_file_sink_get_property), (gst_file_sink_open_file),
28082         (gst_file_sink_close_file), (gst_file_sink_query),
28083         (gst_file_sink_event), (gst_file_sink_render),
28084         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28085         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28086         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28087         * gst/elements/gstfilesink.h:
28088         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28089         (gst_file_src_class_init), (gst_file_src_init),
28090         (gst_file_src_finalize), (gst_file_src_set_location),
28091         (gst_file_src_set_property), (gst_file_src_get_property),
28092         (gst_file_src_map_region), (gst_file_src_map_small_region),
28093         (gst_file_src_create_mmap), (gst_file_src_create_read),
28094         (gst_file_src_create), (gst_file_src_is_seekable),
28095         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28096         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28097         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28098         (gst_file_src_uri_handler_init):
28099         * gst/elements/gstfilesrc.h:
28100           more autistic cleanliness in functions/names/defines
28101
28102 2005-07-13  Andy Wingo  <wingo@pobox.com>
28103
28104         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28105         source couldn't negotiate.
28106
28107         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28108         connections again.
28109
28110         * gst/gstutils.h:
28111         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28112         function. I am channeling Hades. Put your boots on suckers!!!
28113
28114 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28115
28116         * testsuite/caps/Makefile.am:
28117         * testsuite/caps/value_compare.c:
28118         * testsuite/caps/value_intersect.c:
28119         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28120           move two testsuite apps over to the check dir
28121
28122 2005-07-12  Wim Taymans  <wim@fluendo.com>
28123
28124         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28125         Added more debug info in the negotiate process.
28126
28127         * gst/gstmessage.h:
28128         Prepare for segment playback.
28129
28130         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28131         Better debugging.
28132
28133         * gst/gstutils.c:
28134         Some more docs.
28135
28136         * tools/gst-launch.c: (main):
28137         NULL pipeline on errors.
28138
28139 2005-07-12  Andy Wingo  <wingo@pobox.com>
28140
28141         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28142         not it comes from a malloc region. Make sure our copy gets freed.
28143
28144 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28145
28146         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28147         * check/gst/gstmessage.c: (GST_START_TEST):
28148         * check/gst/gststructure.c: (GST_START_TEST),
28149         (gst_structure_suite), (main):
28150           more testing
28151         * gst/gstelement.c: (gst_element_message_full):
28152           clean up GError and debug string now that they get copied
28153         * gst/gstmessage.c: (gst_message_new_error),
28154         (gst_message_new_warning), (gst_message_parse_error),
28155         (gst_message_parse_warning):
28156           use GST_TYPE_G_ERROR for structure_new, and take copies of
28157           arguments, so that we don't mess up refcounting
28158
28159 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28160
28161         * check/Makefile.am:
28162           add per-test valgrind targets
28163         * check/gst-libs/gdp.c: (GST_START_TEST),
28164         (gst_data_protocol_suite), (main):
28165           clean up
28166
28167 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28168
28169         * check/Makefile.am:
28170           instate more valgrindable tests
28171         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28172         (GST_START_TEST), (fakesrc_suite):
28173         * check/gst/gstpad.c: (GST_START_TEST):
28174         * check/gst/gststructure.c: (GST_START_TEST):
28175           fix test leaks
28176         * docs/gst/tmpl/gstminiobject.sgml:
28177         * gst/gstpad.c: (gst_pad_finalize):
28178           fix the static mutex leak
28179
28180 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28181
28182         * check/Makefile.am:
28183           add two more tests for valgrinding
28184         * check/gst/gstvalue.c: (GST_START_TEST):
28185           test refcount of deserialized buffer, found a leak
28186         * docs/gst/gstreamer-docs.sgml:
28187         * docs/gst/gstreamer-sections.txt:
28188         * docs/gst/gstreamer.types:
28189         * docs/gst/tmpl/gstminiobject.sgml:
28190           add miniobject to docs
28191         * gst/gstminiobject.c:
28192           add some docs
28193         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28194         (gst_string_unwrap):
28195           fix a hard-to-find invalid write for one of the tests
28196           fix a leak for deserialized buffers
28197
28198 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28199
28200         * docs/pwg/advanced-events.xml:
28201         * docs/pwg/advanced-request.xml:
28202         * docs/pwg/advanced-scheduling.xml:
28203         * docs/pwg/appendix-porting.xml:
28204         * docs/pwg/building-boiler.xml:
28205         * docs/pwg/intro-preface.xml:
28206         * docs/pwg/other-ntoone.xml:
28207           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28208           of example code and explanation for pad activation, loop() and
28209           getrange() functions and a bit more. Remove old comments pointing
28210           to loop-functions.
28211         * examples/pwg/Makefile.am:
28212           Add loop/getrange examples.
28213
28214 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28215
28216         * configure.ac:
28217           check for valgrind binary + some fixes
28218         * check/gst.supp:
28219           valgrind suppressions for the tests
28220         * check/Makefile.am:
28221           add a valgrind: target that valgrinds the unit tests
28222         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28223         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28224         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28225         * check/gst/gstghostpad.c:
28226           added some cleanup
28227         * check/gst/gstdata.c:
28228           removed
28229         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28230         (thread_unref), (gst_mini_object_suite), (main):
28231           added
28232         * gst/gst.c: (gst_deinit):
28233         * gst/gst.h:
28234           add a method to clean up.
28235         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28236         (gst_system_clock_obtain):
28237           allow for disposing the system clock.
28238         * tools/gst-launch.c: (main):
28239           deinit
28240
28241 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28242
28243         * docs/gst/tmpl/gstbasesrc.sgml:
28244         * docs/gst/tmpl/gstfakesrc.sgml:
28245         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28246         (gst_base_src_init), (gst_base_src_set_property),
28247         (gst_base_src_get_property), (gst_base_src_get_range),
28248         (gst_base_src_start):
28249         * gst/base/gstbasesrc.h:
28250           add num-buffers property
28251         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28252         (gst_fakesrc_init), (gst_fakesrc_set_property),
28253         (gst_fakesrc_get_property), (gst_fakesrc_create),
28254         (gst_fakesrc_start):
28255           remove num-buffers property
28256
28257 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28258
28259         * docs/gst/gstreamer-sections.txt:
28260         * docs/gst/tmpl/gstbasesink.sgml:
28261         * docs/gst/tmpl/gstbasesrc.sgml:
28262         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28263         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28264         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28265         (gst_base_sink_set_property), (gst_base_sink_get_property),
28266         (gst_base_sink_handle_object), (gst_base_sink_event),
28267         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28268         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28269         (gst_base_sink_loop), (gst_base_sink_deactivate),
28270         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28271         (gst_base_sink_change_state):
28272         * gst/base/gstbasesink.h:
28273         * gst/base/gstbasesrc.h:
28274         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28275         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28276         (gst_filesink_init):
28277           more macro splitting
28278
28279 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28280
28281         * gst/gstelement.c: (gst_element_get_bus):
28282           add debug
28283         * tools/gst-launch.c: (check_intr), (event_loop):
28284           fix bus leaks
28285
28286 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28287
28288         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28289           fix a caps leak
28290
28291 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28292
28293         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28294         (gst_base_src_finalize):
28295           add finalize method and clean up properly
28296         * gst/gstpipeline.c: (gst_pipeline_dispose):
28297           add debug
28298
28299 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28300
28301         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28302         (gst_bin_suite):
28303           add more things to check
28304         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28305         * gst/gstelement.c:
28306           more debug
28307
28308 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28309
28310         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28311         (GST_START_TEST), (fakesrc_suite):
28312         * check/gst-libs/gdp.c: (GST_START_TEST):
28313         * check/gst/gst.c: (GST_START_TEST):
28314         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28315         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28316         * check/gst/gstbus.c: (GST_START_TEST):
28317         * check/gst/gstcaps.c: (GST_START_TEST):
28318         * check/gst/gstdata.c: (GST_START_TEST):
28319         * check/gst/gstelement.c: (GST_START_TEST):
28320         * check/gst/gstghostpad.c: (GST_START_TEST):
28321         * check/gst/gstiterator.c: (GST_START_TEST):
28322         * check/gst/gstmessage.c: (GST_START_TEST):
28323         * check/gst/gstobject.c: (GST_START_TEST):
28324         * check/gst/gstpad.c: (GST_START_TEST):
28325         * check/gst/gststructure.c: (GST_START_TEST):
28326         * check/gst/gstsystemclock.c: (GST_START_TEST),
28327         (gst_systemclock_suite):
28328         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28329         * check/gst/gstvalue.c: (GST_START_TEST):
28330         * check/pipelines/cleanup.c: (GST_START_TEST):
28331         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28332         * check/states/sinks.c: (GST_START_TEST):
28333         * check/gstcheck.c: (gst_check_init):
28334         * check/gstcheck.h:
28335           add debugging category
28336           use GST_START_TEST now, so we add a debug line
28337
28338 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28339
28340         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28341           add test for state change message on a bin
28342         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28343           add another test
28344         * gst/gstbin.c: (gst_bin_init):
28345         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28346         * gst/gstelement.c: (gst_element_post_message),
28347         (gst_element_set_state):
28348         * gst/gstelementfactory.c: (gst_element_factory_create):
28349         * gst/gstmessage.c: (gst_message_new):
28350         * gst/gstscheduler.c:
28351           various debugging additions and cleanups
28352
28353 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28354
28355         * check/Makefile.am:
28356         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28357         (main):
28358           adding tests for elements
28359         * gst/gstelement.c: (gst_element_dispose):
28360
28361 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28362
28363         * gst/registries/gstlibxmlregistry.c: (load_feature):
28364           plug more leaks.  A simple gst_init() now is leakfree, yay.
28365
28366 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28367
28368         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28369         (gst_xml_registry_load):
28370           plug another memleak
28371
28372 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28373
28374         * configure.ac:
28375           use GST_SET_ERROR_CFLAGS
28376         * docs/faq/cvs.xml:
28377           change to ERROR_CFLAGS
28378
28379 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28380
28381         * configure.ac:
28382           make GST_ERROR_CFLAGS overridable and re-enable Werror
28383         * docs/faq/cvs.xml:
28384           add a note about error CFLAGS
28385         * docs/gst/tmpl/gstfakesrc.sgml:
28386         * gst/elements/gstfakesrc.c:
28387           comment out some unused code
28388         * gst/gst.c: (split_and_iterate):
28389         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28390         (load_feature):
28391           plug some memleaks
28392
28393 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28394
28395         * common/Makefile.am:
28396         * common/gtk-doc.mak:
28397         * docs/gst/Makefile.am:
28398           factor out gtk-doc.mak
28399
28400 2005-07-07  Wim Taymans  <wim@fluendo.com>
28401
28402         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28403         (gst_thread_scheduler_dispose):
28404         Unlock the STREAM_LOCK completely.
28405
28406 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28407
28408         * check/Makefile.am:
28409         * check/elements/.cvsignore:
28410         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28411         (START_TEST), (fakesrc_suite), (main):
28412         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28413         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28414         (gst_fakesrc_create), (gst_fakesrc_start):
28415         * gst/elements/gstfakesrc.h:
28416           adding a first element test
28417
28418 2005-07-07  Andy Wingo  <wingo@pobox.com>
28419
28420         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28421         debug message.
28422
28423 2005-07-07  Wim Taymans  <wim@fluendo.com>
28424
28425         * gst/gstquery.c:
28426         * gst/gstquery.h:
28427         Remove old types
28428
28429 2005-07-07  Wim Taymans  <wim@fluendo.com>
28430
28431         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28432         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28433         Allow subclasses to implement their own negotiation.
28434
28435 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28436
28437         * docs/design/part-gstbin.txt:
28438         * docs/design/part-gstpipeline.txt:
28439           Update design notes to reflect the movement of
28440           responsibility for bus handling from GstPipeline to
28441           GstBin
28442
28443 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28444
28445         * configure.ac:
28446           Remove unnecessary queue2/3/4 examples.
28447
28448 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28449
28450         * examples/Makefile.am:
28451         * examples/helloworld/helloworld.c: (event_loop), (main):
28452         * examples/queue/queue.c: (event_loop), (main):
28453         * examples/queue2/queue2.c: (main):
28454           Update a couple of the examples to work again.
28455
28456         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28457         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28458          Spelling corrections and extra debug.
28459         
28460         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28461         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28462         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28463         * gst/gstbin.h:
28464         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28465         (gst_pipeline_change_state):
28466         * gst/gstpipeline.h:
28467           Move the bus handler for children to the GstBin, and create a
28468           separate bus for receiving messages from children to the one the
28469           bus sends 'upwards' on.
28470
28471 2005-07-06  Wim Taymans  <wim@fluendo.com>
28472
28473         * gst/base/README:
28474         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28475         (gst_base_sink_handle_object), (gst_base_sink_loop),
28476         (gst_base_sink_change_state):
28477         * gst/base/gstbasesink.h:
28478         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28479         (gst_base_src_init), (gst_base_src_setcaps),
28480         (gst_base_src_getcaps), (gst_base_src_loop),
28481         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28482         (gst_base_src_start), (gst_base_src_change_state):
28483         * gst/base/gstbasesrc.h:
28484         Make basesrc negotiate.
28485         Handle the case where preroll fails in basesink.
28486         Update README.
28487
28488 2005-07-06  Wim Taymans  <wim@fluendo.com>
28489
28490         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28491         Implement the fixate function.
28492         Clean up acceptcaps.
28493
28494 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28495
28496         * docs/pwg/building-filterfactory.xml:
28497         * docs/pwg/pwg.xml:
28498           Remove never-written filter-factory chapter; I'll add the various
28499           base classes to part 4 ("other element types") later on.
28500
28501 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28502
28503         * docs/pwg/advanced-negotiation.xml:
28504         * docs/pwg/building-boiler.xml:
28505         * docs/pwg/building-pads.xml:
28506         * docs/pwg/pwg.xml:
28507         * examples/pwg/Makefile.am:
28508           Add a chapter on caps negotiation, simplify the original code
28509           samples a bit w.r.t. caps negotiation, add link to the advanced
28510           section. Add a bunch of examples showing different use cases of
28511           different types of caps negotiation. Upstream renegotiation isn't
28512           fully documented yet since nobody knows how that works.
28513
28514 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28515
28516         * check/gst/gstpad.c:
28517         * check/gstcheck.c:
28518         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28519           if pad has no parent, return NULL as list of internal links
28520
28521 2005-07-05  Andy Wingo  <wingo@pobox.com>
28522
28523         * gst/elements/gstfilesrc.c:
28524         * gst/elements/gstfakesrc.c: 
28525         * gst/base/gstpushsrc.c:
28526         * gst/base/gstbasesrc.h: 
28527         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28528         
28529 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28530
28531         * Makefile.am:
28532           better report generation target (lcov needs a patch)
28533
28534 2005-07-05  Andy Wingo  <wingo@pobox.com>
28535
28536         * gst/elements, testsuite: Null if we got it...
28537
28538 2005-07-05  Wim Taymans  <wim@fluendo.com>
28539
28540         * configure.ac:
28541         * libs/gst/dataprotocol/Makefile.am:
28542         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28543         * libs/gst/dataprotocol/dataprotocol.h:
28544         * pkgconfig/Makefile.am:
28545         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28546         * pkgconfig/gstreamer-dataprotocol.pc.in:
28547         Ported dataprotol to 0.9. 
28548         Added pkgconfig files.
28549
28550 2005-07-05  Andy Wingo  <wingo@pobox.com>
28551
28552         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28553         Default to returning TRUE for the case when tranform_caps returns
28554         a fixed caps, like for identity or volume.
28555
28556         * check/gst/gstbus.c (pound_bus_with_messages): 
28557         * check/gst/gstmessage.c (START_TEST): 
28558         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28559         message API change.
28560
28561         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28562         logic weaks here: always run transform_caps, trying passthrough
28563         operation only if the original caps intersects with the transform.
28564
28565         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28566         source and sink caps.
28567
28568         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28569         Intersect the peer caps with the pad template before going into
28570         transform_caps.
28571         (gst_base_transform_transform_caps): More debugging.
28572
28573         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28574         src argument.
28575
28576 2005-07-04  Edward Hervey  <edward@fluendo.com>
28577
28578         * gst/gstutils.c:
28579         * gst/gstutils.h:
28580         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28581         in bindings.
28582
28583 2005-07-04  Andy Wingo  <wingo@pobox.com>
28584
28585         * check/gst/gstpad.c: Only set explicit caps on pads.
28586
28587 2005-07-01  Andy Wingo  <wingo@pobox.com>
28588
28589         * tests/network-clock.scm: Commentary update.
28590
28591         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28592         Didn't really make sense, not implementable with basetransform,
28593         etc.
28594         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28595         attempt at implementing the sync property, needs an unlock method.
28596
28597         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28598         New func, by default returns the same caps (the identity
28599         transformation).
28600         (gst_base_transform_getcaps): Uses transform_caps to return
28601         something sensible.
28602         (gst_base_transform_setcaps): Complicated logic to get caps on
28603         both pads, even if they are different, and to call set_caps once
28604         for every time both pads get their caps set.
28605         (gst_base_transform_handle_buffer): Give the ref to the transform
28606         function. Allows in-place modification of the buffer.
28607
28608         * gst/base/gstbasetransform.h (transform_caps): New class method.
28609         Given caps on one side, what can I do on the other.
28610         (set_caps): Take two caps, one for each side of the element.
28611
28612         * gst/gstpad.h:
28613         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28614         caps in place. This is safe because we can check the mutability of
28615         the caps, and a good idea because fixate functions are just called
28616         as a matter of last resort. (Not actually implemented.)
28617         (gst_pad_set_caps): If the caps we're setting is actually the same
28618         as the existing pad caps, just update the pointer without calling
28619         setcaps. Assert that caps is either NULL or fixed, as per the
28620         docs.
28621
28622         * gst/gstghostpad.c: Update for fixate changes.
28623
28624 2005-07-02  Andy Wingo  <wingo@pobox.com>
28625
28626         * gst/gstcaps.c:
28627         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28628         two refcounts makes it immutable, which is enough. Doc more.
28629
28630 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28631
28632         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28633           Put the mini_object into GValue as a mini_object,
28634           not a gpointer, since that's how we declared
28635           the signal.
28636
28637 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28638
28639         * examples/pwg/Makefile.am:
28640           Fix buildbot again.
28641
28642 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28643
28644         * docs/pwg/building-testapp.xml:
28645           Add extra check.
28646         * examples/pwg/Makefile.am:
28647           Fix buildbot.
28648
28649 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28650
28651         * configure.ac:
28652         * examples/Makefile.am:
28653         * examples/pwg/Makefile.am:
28654         * examples/pwg/extract.pl:
28655           Enable building the PWG examples.
28656         * docs/pwg/advanced-interfaces.xml:
28657           Add URI interface stub.
28658         * docs/pwg/advanced-types.xml:
28659         * docs/pwg/other-autoplugger.xml:
28660         * docs/pwg/appendix-porting.xml:
28661         * docs/pwg/pwg.xml:
28662           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28663         * docs/pwg/building-boiler.xml:
28664         * docs/pwg/building-chainfn.xml:
28665         * docs/pwg/building-pads.xml:
28666         * docs/pwg/building-props.xml:
28667         * docs/pwg/building-state.xml:
28668         * docs/pwg/building-testapp.xml:
28669           Update the building-*.xml parts for 0.9 changes. All examples
28670           code blocks compile in examples/pwg/*.
28671
28672 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28673
28674         * docs/manual/advanced-autoplugging.xml:
28675         * docs/manual/appendix-checklist.xml:
28676         * docs/manual/appendix-integration.xml:
28677         * docs/manual/highlevel-components.xml:
28678           Fix playbin/decodebin examples, update docs a bit, mention bus
28679           instead of signals in various places, mention kmplayer and
28680           kaffeine since they have a working GStreamer backend in the KDE
28681           section.
28682
28683 2005-06-30  Wim Taymans  <wim@fluendo.com>
28684
28685         * CHANGES-0.9:
28686         * docs/design/draft-ghostpads.txt:
28687         * docs/design/draft-push-pull.txt:
28688         * docs/design/draft-query.txt:
28689         * docs/design/part-TODO.txt:
28690         * docs/design/part-query.txt:
28691         Added CHANGES-0.9 doc, updated status of other docs.
28692         
28693         * gst/gstquery.h:
28694         Remove "hmm" macro
28695
28696 2005-06-30  Wim Taymans  <wim@fluendo.com>
28697
28698         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28699         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28700         (gst_base_sink_change_state):
28701         * gst/base/gstbasesink.h:
28702         Some tweaks, only EOS and a buffer complete a preroll.
28703
28704 2005-06-30  Andy Wingo  <wingo@pobox.com>
28705
28706         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28707         activate_push down to the internal pad as well.
28708
28709 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28710
28711         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28712
28713         * gst/gsttaginterface.c:
28714           Some documentation fixes (#307394 and #307397).
28715
28716 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28717
28718         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28719
28720         * gst/gstvalue.c: (gst_value_intersect_list):
28721           Fix memleak (#309125).
28722
28723 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28724
28725         * docs/manual/advanced-dataaccess.xml:
28726           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28727         * docs/manual/basics-pads.xml:
28728           Add reference for filtered caps to above chapter.
28729
28730 2005-06-30  Wim Taymans  <wim@fluendo.com>
28731
28732         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28733         (gst_bin_change_state):
28734         Probes are gone.
28735         Lame attempt at making the state change function a bit
28736         more readable.
28737
28738 2005-06-30  Wim Taymans  <wim@fluendo.com>
28739
28740         * docs/design/part-clocks.txt:
28741         * docs/design/part-element-sink.txt:
28742         * docs/design/part-events.txt:
28743         * docs/design/part-preroll.txt:
28744         * docs/design/part-states.txt:
28745         Some more tweeks and additions to the docs.
28746
28747 2005-06-30  Wim Taymans  <wim@fluendo.com>
28748
28749         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28750         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28751         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28752         (gst_pad_check_pull_range), (gst_pad_get_range),
28753         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28754         * gst/gstpad.h:
28755         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28756         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28757         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28758         (gst_pad_remove_buffer_probe):
28759         Removed atomic operations, use existing LOCK.
28760         Move exception handling out of main code path.
28761
28762 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28763
28764         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28765         (silly_return_true_function), (gst_pad_class_init),
28766         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28767         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28768         (gst_pad_send_event):
28769           Fix accumulator, add default value by using _emitv() instead
28770           of _emit() for signal emission.
28771
28772 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28773
28774         * docs/manual/advanced-dataaccess.xml:
28775         * examples/manual/Makefile.am:
28776           Add probe example.
28777         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28778           Make work (??).
28779
28780 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28781
28782         * gst/elements/gstfilesink.c: (gst_filesink_render):
28783           Simplify code so that we don't have to handle short
28784           writes and return GST_FLOW_ERROR if an error occured.
28785
28786 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28787
28788         * docs/gst/gstreamer-docs.sgml:
28789           Remove probes more.
28790
28791 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28792
28793         * docs/gst/gstreamer-sections.txt:
28794         * docs/gst/tmpl/gstpad.sgml:
28795         * docs/gst/tmpl/gstprobe.sgml:
28796         * gst/Makefile.am:
28797         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28798         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28799         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28800         (gst_pad_push_event), (gst_pad_send_event):
28801         * gst/gstpad.h:
28802         * gst/gstutils.c: (gst_pad_add_data_probe),
28803         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28804         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28805         (gst_pad_remove_buffer_probe):
28806         * gst/gstutils.h:
28807           Remove old probes, add new g-signal-based probes and some utility
28808           functions.
28809
28810 2005-06-29  Edward Hervey  <edward@fluendo.com>
28811
28812         * gst/gstelementfactory.c:
28813         * gst/gstutils.h:
28814         * gst/gstutils.c:
28815         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28816         the definition to the header file.
28817
28818 2005-06-29  Andy Wingo  <wingo@pobox.com>
28819
28820         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28821         plugins from the source directory.
28822
28823 2005-06-29  Wim Taymans  <wim@fluendo.com>
28824
28825         * docs/gst/tmpl/gstbuffer.sgml:
28826         * docs/gst/tmpl/gstclock.sgml:
28827         Some fixings for blantently wrong text.
28828
28829 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28830
28831         * check/Makefile.am:
28832         * gst/gst.c: (add_path_func), (init_pre):
28833         * gst/gstregistry.c: (gst_registry_add_path):
28834           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28835           only scan the GST_PLUGIN_PATH locations, and not add
28836           system locations
28837
28838 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28839
28840         * docs/gst/gstreamer-sections.txt:
28841         * docs/gst/tmpl/gstbasesrc.sgml:
28842         * gst/gstelement.c:
28843         * gst/gstelement.h:
28844         * gst/gstevent.c:
28845         * gst/gstutils.c:
28846           doc fixes
28847
28848 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28849
28850         * docs/manual/advanced-autoplugging.xml:
28851           Fix autoplugging example.
28852
28853 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28854
28855         * docs/manual/advanced-autoplugging.xml:
28856         * docs/manual/mime-world.fig:
28857           Try to get autoplugging working, fix type detection. Fix text
28858           in hello-world image.
28859
28860 2005-06-29  Wim Taymans  <wim@fluendo.com>
28861
28862         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28863         (gst_base_sink_change_state):
28864         Small debug line.
28865
28866         * gst/gstclock.h:
28867         map SIGNAL and BROADCAST to the right function.
28868
28869         * gst/gstobject.h:
28870         Remove redundant braces.
28871
28872         * gst/gstpad.c: (gst_pad_set_caps):
28873         Don't call setcaps function when reseting caps to NULL.
28874
28875         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28876         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28877         (gst_system_clock_id_unschedule):
28878         Use BROADCAST as this is what we do.
28879
28880 2005-06-29  Wim Taymans  <wim@fluendo.com>
28881
28882         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28883         We are actually prerolling before commiting the state
28884         change. 
28885
28886 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28887
28888         * docs/manual/advanced-clocks.xml:
28889         * docs/manual/advanced-interfaces.xml:
28890         * docs/manual/advanced-metadata.xml:
28891         * docs/manual/advanced-position.xml:
28892         * docs/manual/advanced-schedulers.xml:
28893         * docs/manual/advanced-threads.xml:
28894         * docs/manual/appendix-porting.xml:
28895         * docs/manual/basics-bins.xml:
28896         * docs/manual/basics-bus.xml:
28897         * docs/manual/basics-elements.xml:
28898         * docs/manual/basics-helloworld.xml:
28899         * docs/manual/basics-pads.xml:
28900         * docs/manual/highlevel-components.xml:
28901         * docs/manual/manual.xml:
28902         * docs/manual/thread.fig:
28903           Update (until threads/scheduling) Application Development Manual;
28904           remove GstThread, add GstBus, add simple porting checklist, add
28905           documentation for tag writing, clocks, make all examples until this
28906           part compile and run.
28907         * examples/manual/Makefile.am:
28908           Update from changes to Application Development Manual; add bus
28909           example, remove thread example.
28910
28911 2005-06-28  Wim Taymans  <wim@fluendo.com>
28912
28913         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28914         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28915         (gst_bus_source_dispatch):
28916         Add debugging messages.
28917         Make internal methods static.
28918         Handle the case where the bus is flushed in the handler.
28919         
28920         * gst/gstelement.c: (gst_element_get_bus):
28921         Fix refcount in _get_bus();
28922
28923         * gst/gstpipeline.c: (gst_pipeline_change_state),
28924         (gst_pipeline_get_clock_func):
28925         Clock refcounting fixes.
28926         Handle the case where preroll timed out more gracefully.
28927         
28928         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28929         Clean up the internal thread in dispose. This is needed
28930         for subclasses that actually get disposed.
28931         
28932         * gst/schedulers/threadscheduler.c:
28933         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28934         (gst_thread_scheduler_dispose):
28935         Free thread pool in dispose.
28936
28937 2005-06-28  Andy Wingo  <wingo@pobox.com>
28938
28939         * tests/network-clock-utils.scm (debug, print-event): New utils.
28940
28941         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28942         (*packet-loss*): Unified loss probability.
28943         (network-time): Report out-of-band events.
28944
28945         * tests/plot-data: Add support for out-of-band events. Hack it
28946         into this script instead of passing it down the pipe; should fix
28947         this later.
28948
28949 2005-06-28  Wim Taymans  <wim@fluendo.com>
28950
28951         * docs/gst/gstreamer.types:
28952         * docs/gst/tmpl/gstbasesrc.sgml:
28953         * docs/gst/tmpl/gstpad.sgml:
28954         Docs fixes.
28955
28956 2005-06-28  Wim Taymans  <wim@fluendo.com>
28957
28958         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28959         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28960         (gst_proxy_pad_do_fixatecaps):
28961         Correctly proxy the check_pull_range function.
28962
28963 2005-06-28  Andy Wingo  <wingo@pobox.com>
28964
28965         * tests/network-clock.scm: Removed need for slib.
28966         
28967 2005-06-28  Wim Taymans  <wim@fluendo.com>
28968
28969         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28970         (gst_basesink_preroll_queue_flush):
28971         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28972         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28973         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28974         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28975         (gst_proxy_pad_set_property):
28976         * gst/gstpad.c:
28977         * gst/gstpad.h:
28978         * gst/gstqueue.c: (gst_queue_init):
28979         The deprecated pad loop function is removed now.
28980
28981 2005-06-28  Andy Wingo  <wingo@pobox.com>
28982
28983         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28984         New parameters, simulate network packet loss.
28985
28986         * tests/network-clock-utils.scm: Initialize the RNG.
28987
28988 2005-06-28  Wim Taymans  <wim@fluendo.com>
28989
28990         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28991         (gst_basesink_event), (gst_basesink_deactivate):
28992         Flushing the preroll queue always needs to unlock the waiters.
28993
28994 2005-06-28  Edward Hervey  <edward@fluendo.com>
28995
28996         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28997         Wheen a seek was successful on a pipeline, set the stream_time to the
28998         seek offset in order to have a synchronized stream_time.
28999
29000 2005-06-28  Wim Taymans  <wim@fluendo.com>
29001
29002         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29003         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29004         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29005         (gst_proxy_pad_do_fixatecaps):
29006         Call wrapper function instead of just calling the function
29007         pointers. This takes care of any locking and whatmore.
29008
29009 2005-06-28  Wim Taymans  <wim@fluendo.com>
29010
29011         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29012         (gst_pad_pull_range):
29013         * gst/gstpad.h:
29014         CONNECTED -> LINKED.
29015
29016 2005-06-28  Andy Wingo  <wingo@pobox.com>
29017
29018         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29019         source-munging commit!!!
29020
29021         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29022         (gst_object_sink): Take gpointer arguments, not GstObject --
29023         avoids casts. Like GLib.
29024
29025         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29026         activate.
29027
29028 2005-06-27  Andy Wingo  <wingo@pobox.com>
29029
29030         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29031         remaining buffer.
29032
29033         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29034         returns a sorted copy of the trace list.
29035         (gst_alloc_trace_print_live): New API, only prints traces with
29036         live objects. Sort the list.
29037         (gst_alloc_trace_print_all): Sort the list.
29038         (gst_alloc_trace_print): Align columns.
29039
29040         * gst/elements/gstttypefindelement.c:
29041         * gst/elements/gsttee.c:
29042         * gst/base/gstbasesrc.c:
29043         * gst/base/gstbasesink.c:
29044         * gst/base/gstbasetransform.c:
29045         * gst/gstqueue.c: Adapt for pad activation changes.
29046
29047         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29048         sched.
29049         (gst_pipeline_dispose): Drop ref on sched.
29050
29051         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29052         (gst_pad_activate_default): Push mode by default.
29053         (pre_activate_switch, post_activate_switch): New stubs, things to
29054         do before and after switching activation modes on pads.
29055         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29056         the pad's activate function to choose which mode to activate.
29057         Shortcut on deactivation and call the right function directly.
29058         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29059         mode.
29060         (gst_pad_activate_push): New API, same for push mode.
29061         (gst_pad_set_activate_function) 
29062         (gst_pad_set_activatepull_function) 
29063         (gst_pad_set_activatepush_function): Setters for new API.
29064
29065         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29066         Trace all miniobjects.
29067         (gst_mini_object_make_writable): Unref the arg if we copy, like
29068         gst_caps_make_writable.
29069
29070         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29071
29072         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29073         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29074         Adapt for new pad API.
29075
29076         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29077
29078         * gst/gstelement.h:
29079         * gst/gstelement.c (gst_element_iterate_src_pads) 
29080         (gst_element_iterate_sink_pads): New API functions.
29081         
29082         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29083         should fold into gstiterator.c in some form.
29084         (gst_element_pads_activate): Simplified via use of fold and
29085         delegation of decisions to gstpad->activate.
29086
29087         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29088         help in debugging.
29089
29090         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29091         class once in init, like gstmessage. Didn't run into this issue
29092         but it seems correct. Don't initialize a trace, gstminiobject does
29093         that.
29094
29095         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29096         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29097         to the bus.
29098         (assert_live_count): New util function, uses alloc traces to check
29099         cleanup.
29100
29101         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29102         To be modified when unlink drops the internal pad.
29103
29104 2005-06-27  Wim Taymans  <wim@fluendo.com>
29105
29106         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29107         (gst_bin_change_state):
29108         Cleanup the get_state() function a little, make sure it
29109         iterates the same set of elements.
29110         Added stub iterate_state_order().
29111
29112 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29113
29114         * docs/gst/gstreamer-docs.sgml:
29115         * docs/gst/gstreamer-sections.txt:
29116         * docs/gst/gstreamer.types:
29117         * docs/gst/tmpl/gstbasesink.sgml:
29118         * docs/gst/tmpl/gstbasesrc.sgml:
29119         * docs/gst/tmpl/gstbasetransform.sgml:
29120         * docs/gst/tmpl/gstelement.sgml:
29121         * docs/gst/tmpl/gstiterator.sgml:
29122         * gst/base/gstbasesrc.c:
29123         * gst/base/gstbasesrc.h:
29124         * gst/base/gstbasetransform.h:
29125         * gst/gstelement.c:
29126         * gst/gstiterator.h:
29127           adding basetransform and iterator docs
29128
29129 2005-06-27  Andy Wingo  <wingo@pobox.com>
29130
29131         * docs/design/part-activation.txt: Notes on how activation should
29132         work -- not quite implemented yet.
29133
29134 2005-06-25  Wim Taymans  <wim@fluendo.com>
29135
29136         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29137         At least get the chain function correct, needs more
29138         fixing.
29139
29140 2005-06-25  Wim Taymans  <wim@fluendo.com>
29141
29142         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29143         (gst_basesink_handle_object), (gst_basesink_event),
29144         (gst_basesink_do_sync), (gst_basesink_handle_event),
29145         (gst_basesink_change_state):
29146         * gst/gsttask.h:
29147         Right, two problems here: ghostpads don't take locks and
29148         glib _rec_mutex_lock_full() with depth==0 still locks.
29149         Catch illegal locking and g_warn them.
29150
29151 2005-06-25  Wim Taymans  <wim@fluendo.com>
29152
29153         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29154         Have to check for completion now...
29155
29156 2005-06-25  Wim Taymans  <wim@fluendo.com>
29157
29158         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29159         (gst_basesink_handle_object), (gst_basesink_event),
29160         (gst_basesink_do_sync), (gst_basesink_handle_event),
29161         (gst_basesink_change_state):
29162         * gst/gstpad.h:
29163         Unlock STREAM_LOCK whatever the recursion was.
29164
29165 2005-06-25  Wim Taymans  <wim@fluendo.com>
29166
29167         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29168         (gst_basesink_preroll_queue_empty),
29169         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29170         (gst_basesink_event), (gst_basesink_do_sync),
29171         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29172         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29173         (gst_basesink_change_state):
29174         Reworked the base sink, handle event and buffer serialisation
29175         correctly and removed possible deadlock.
29176         Handle EOS correctly.
29177
29178 2005-06-25  Wim Taymans  <wim@fluendo.com>
29179
29180         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29181         (gst_pipeline_change_state):
29182         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29183         Allow elements to post EOS in the state change function.
29184         Fix up -launch, make it exit the poll loop when the
29185         pipeline actually changed state.
29186         Fix up warning parsing in -launch.
29187
29188 2005-06-25  Wim Taymans  <wim@fluendo.com>
29189
29190         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29191         (gst_tee_sink_activate):
29192         Core takes STREAM_LOCK for us now.
29193
29194 2005-06-25  Wim Taymans  <wim@fluendo.com>
29195
29196         * gst/gstelement.c: (gst_element_get_state_func),
29197         (gst_element_set_state):
29198         * gst/gstelement.h:
29199         * gst/gstmessage.c: (gst_message_parse_error),
29200         (gst_message_parse_warning):
29201         Keep track of current target state while performing a state
29202         change so that subclasses can do something interesting.
29203         Fix parsing of warning/error messages when GError is NULL.
29204
29205 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29206
29207         * docs/gst/Makefile.am:
29208         * docs/gst/gstreamer-docs.sgml:
29209         * docs/gst/gstreamer-sections.txt:
29210         * docs/gst/gstreamer.types:
29211         * docs/gst/tmpl/gstbasesink.sgml:
29212         * docs/gst/tmpl/gstbasesrc.sgml:
29213         * docs/gst/tmpl/gstbin.sgml:
29214         * docs/gst/tmpl/gstcompat.sgml:
29215         * docs/gst/tmpl/gstfakesink.sgml:
29216         * docs/gst/tmpl/gstfakesrc.sgml:
29217         * docs/gst/tmpl/gstfilesink.sgml:
29218         * docs/gst/tmpl/gstfilesrc.sgml:
29219         * docs/gst/tmpl/gstindex.sgml:
29220         * docs/manual/appendix-quotes.xml:
29221         * gst/base/gstbasesrc.h:
29222         * gst/elements/gstfakesrc.h:
29223         * gst/gstmessage.h:
29224           start pulling in base classes and elements in our docs
29225
29226 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29227
29228         * docs/gst/Makefile.am:
29229         * docs/libs/Makefile.am:
29230           fixed make distcheck with gtk-doc 1.3
29231
29232 2005-06-23  Wim Taymans  <wim@fluendo.com>
29233
29234         * gst/gstelement.c: (gst_element_get_state_func),
29235         (gst_element_set_state), (gst_element_change_state):
29236         When the state did not change, also report NO_PREROLL
29237         when it matters.
29238
29239 2005-06-23  Wim Taymans  <wim@fluendo.com>
29240
29241         * gst/gstpad.c: (gst_pad_event_default):
29242         * gst/gstqueue.c: (gst_queue_loop):
29243         No unsafe task pausing please.
29244
29245 2005-06-23  Wim Taymans  <wim@fluendo.com>
29246
29247         * gst/schedulers/threadscheduler.c:
29248         (gst_thread_scheduler_task_start),
29249         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29250         Ref the task before pushing it on the threadpool. This
29251         makes sure that we have a ref when the threadfunction is
29252         actually called.
29253
29254 2005-06-23  Andy Wingo  <wingo@pobox.com>
29255
29256         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29257         offset is greater than the file's size.
29258
29259         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29260         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29261         * gst/gstobject.c (gst_object_class_init): Make the class lock
29262         recursive. Wim won't let me drop deep_notify. Decodebin works
29263         again, whoopdy doo.
29264
29265         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29266         internal pad, and hacks accordingly. Doesn't do it on the target
29267         pad because we change its caps. Probably catches all cases of
29268         interest tho.
29269         (gst_ghost_pad_set_property): Connect to notify::caps as
29270         appropritate.
29271
29272         * tests/network-clock.scm (plot-simulation): Pipe data to the
29273         elite python skript.
29274
29275         * tests/network-clock-utils.scm (define-parameter): New macro,
29276         defines a parameter that can be set via the command line.
29277         (set-parameter!, parse-parameter-arguments): Command line args
29278         parser.
29279
29280         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29281         stdin.
29282
29283 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29284
29285         * gst/elements/gsttypefindelement.c:
29286         (gst_type_find_element_handle_event):
29287           Don't restart typefinding on a discont.
29288         * gst/gstelement.c: (gst_element_set_state):
29289           Debug spelling fix.
29290         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29291           Allow changing mode of an active pad.
29292           Debug output fixes.
29293         * gst/registries/gstlibxmlregistry.c: (load_feature):
29294           Don't cast a static pad template to a normal pad template.
29295
29296 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29297
29298         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29299         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29300           remove gst_strtoll completely, since it didn't actually do
29301           anything more than what g_ascii_strtoull already does.
29302           check for range errors when deserializing
29303           do a cast for the unsigned cases; but further fixing needs
29304           a decision on what the interpretation of "(int)" and
29305           deserialization should be for values that fall outside the
29306           type's boundaries (ie, refuse, or interpret as casting)
29307
29308 2005-06-23  Wim Taymans  <wim@fluendo.com>
29309
29310         * check/Makefile.am:
29311         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29312         * docs/design/part-live-source.txt:
29313         * docs/design/part-states.txt:
29314         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29315         (gst_basesrc_set_live), (gst_basesrc_is_live),
29316         (gst_basesrc_get_range), (gst_basesrc_activate),
29317         (gst_basesrc_change_state):
29318         * gst/base/gstbasesrc.h:
29319         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29320         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29321         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29322         * gst/gstelement.c: (gst_element_get_state_func),
29323         (gst_element_set_state):
29324         * gst/gstelement.h:
29325         * gst/gsttypes.h:
29326         * tools/gst-launch.c: (event_loop), (main):
29327         Added support for live sources and other elements that
29328         cannot do preroll.
29329         Updated design docs, added live-source design doc.
29330         Implemented live source functionality in basesrc
29331         Fix error condition in _bin_get_state()
29332         Implement live source handling in -launch.
29333         Added check for live sources.
29334         Fixed case in GstBin where elements were changed state
29335         multiple times.
29336
29337
29338 2005-06-23  Andy Wingo  <wingo@pobox.com>
29339
29340         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29341         borken refcounting.
29342
29343         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29344         gst_caps_replace takes care of this for us.
29345
29346         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29347         gst_pad_set_caps on the target, not just its setcaps() function.
29348
29349         * tests/network-clock.scm: 
29350         * tests/network-clock-utils.scm: A network clock simulator.
29351         Something of an algorithmic testbed before doing something in C.
29352
29353 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29354
29355         * check/Makefile.am:
29356         * check/gst/capslist.h:
29357           copy over from 0.8, and add two with bitmasks specified with
29358           (int) 0xFF...
29359         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29360           add test to parse everything from capslist.h
29361         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29362         (main):
29363           add test for structure deserialization
29364         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29365           add tests for deserialization of strings to int types
29366         * gst/gststructure.c: (gst_structure_nth_field_name):
29367         * gst/gststructure.h:
29368           add a way to get the name of a field referenced by index
29369         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29370           instead of checking if the resulting long long lies between
29371           min and max, we check if the long long would fit into
29372           a number of bytes for the final type.
29373           This fixes cases where a string represents 2^32 - 1, which
29374           when cast to int would be the (valid) -1, but is bigger than
29375           G_MAXINT
29376
29377 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29378
29379         * gst/parse/grammar.y:
29380           add a log line for type deserialization
29381
29382 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29383
29384         * check/gst/gstvalue.c: (START_TEST):
29385         * gst/gstvalue.c: (gst_value_deserialize):
29386           return long long, not int, so gint64 deserialization actually
29387           works.  Is there any flag that makes the compiler check this ?
29388           Fixes #308559
29389
29390 2005-06-22  Wim Taymans  <wim@fluendo.com>
29391
29392         * gst/gstbuffer.h:
29393         Added convenience macros for setting buffers in GValue.
29394
29395 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29396
29397         * check/gst/.cvsignore:
29398         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29399           add a test deserializing int64, and comment part out because
29400           it fails, yay !
29401
29402 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29403
29404         * check/Makefile.am:
29405         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29406         * testsuite/Makefile.am:
29407         * testsuite/caps/Makefile.am:
29408         * testsuite/caps/value_serialize.c:
29409         * testsuite/test_gst_init.c:
29410           move a value_serialize test over
29411
29412 2005-06-20  Wim Taymans  <wim@fluendo.com>
29413
29414         * gst/gstpad.c:
29415         Small doc updates.
29416         
29417         * gst/gstvalue.c: (gst_value_compare_buffer),
29418         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29419         (gst_value_compare_flags), (gst_value_serialize_flags),
29420         (gst_value_deserialize_flags), (_gst_value_initialize):
29421         Fix serialisation of buffers, they are not boxed types anymore
29422
29423 2005-06-20  Wim Taymans  <wim@fluendo.com>
29424
29425         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29426         Testcase to show error in buffer-on-caps serialisation.
29427
29428 2005-06-20  Andy Wingo  <wingo@pobox.com>
29429
29430         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29431         will be adding to later.
29432
29433         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29434         if its socks fill with rocks.
29435         (gst_system_clock_obtain): Set the name on object construction.
29436         Avoid double-checked locking.
29437
29438 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29439
29440         * gst/gsturi.c: (gst_element_make_from_uri):
29441           Fix potential endless loop.
29442
29443 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29444
29445         * check/Makefile.am:
29446           add gsttag
29447         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29448         (main):
29449           move over from testsuite dir and clean up
29450         * configure.ac:
29451         * gst/gsttag.c:
29452         * testsuite/Makefile.am:
29453         * testsuite/tags/.cvsignore:
29454         * testsuite/tags/Makefile.am:
29455         * testsuite/tags/merge.c:
29456           remove testsuite/tags
29457
29458 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29459
29460         * docs/gst/gstreamer-sections.txt:
29461         * docs/gst/tmpl/gstenumtypes.sgml:
29462         * win32/gstenumtypes.c:
29463           clean up documentation build a little
29464
29465 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29466
29467         * check/gstcheck.h:
29468           add macros for checking refcounts on objects and caps
29469         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29470           add some more unit tests
29471         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29472         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29473           fix leaked refcounts (I hope :)) so unittest works
29474         * gst/gstpad.h:
29475           whitespace removal
29476
29477 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29478
29479         * configure.ac: back to HEAD
29480
29481 === release 0.9.1 ===
29482
29483 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29484
29485         * NEWS:
29486         * RELEASE:
29487           updated
29488
29489 2005-06-17  Andy Wingo  <wingo@pobox.com>
29490
29491         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29492         assert; it's always possible that the pad gets deactivated in
29493         between the checks in gstpad.c and the implementation. Rely on
29494         finish_preroll() to return a FLUSHING or similar instead of on the
29495         assert.
29496         
29497         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29498         clock and post an EOS message if we come out of finish_preroll in
29499         the playing state.
29500
29501 2005-06-16  David Schleef  <ds@schleef.org>
29502
29503         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29504         (gst_capsfilter_set_property): Allow NULL as possible value
29505         for filter_caps property, indicating GST_CAPS_ANY.
29506
29507 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29508
29509         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29510           fix debug output
29511         * gst/schedulers/Makefile.am:
29512           use libgst prefix
29513         * gstreamer.spec.in:
29514           fix spec for it
29515
29516 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29517
29518         * gstreamer.spec.in:
29519           clean up
29520
29521 2005-06-08  Andy Wingo  <wingo@pobox.com>
29522
29523         * gst/gstutils.c: RPAD fixes all around.
29524         (gst_element_link_pads): Refcounting fixes.
29525
29526         * tools/gst-inspect.c:
29527         * tools/gst-xmlinspect.c:
29528         * parse/grammar.y:
29529         * gst/base/gsttypefindhelper.c:
29530         * gst/base/gstbasesink.c:
29531         * gst/gstqueue.c: RPAD fixes.
29532
29533         * gst/gstghostpad.h:
29534         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29535         pads. The tricky thing is they provide both source and sink
29536         interfaces, since they proxy the internal pad for the external
29537         pad, and vice versa. Implement with lower-level ProxyPad objects,
29538         with the interior proxy pad as a child of the exterior ghost pad.
29539         Should write a doc on this.
29540         
29541         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29542         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29543         gst_object API.
29544         
29545         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29546         pads are real pads. No ghost pads in this file. Not documenting
29547         the myriad s/RPAD/PAD/ and REALIZE fixes.
29548         (gst_pad_class_init): Add properties for "direction" and
29549         "template". Both are construct-only, so they can't change during
29550         the life of the pad. Fixes properly deriving from GstPad.
29551         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29552         derived objects, just set properties when creating the objects via
29553         g_object_new.
29554         (gst_pad_get_parent): Implement as a function, return NULL if the
29555         parent is not an element.
29556         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29557         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29558         
29559         * gst/gstobject.c (gst_object_class_init): Make name a construct
29560         property. Don't set it in the object init.
29561
29562         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29563         with UNKNOWN direction.
29564         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29565         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29566         (gst_element_remove_pad): Remove ghost-pad special cases.
29567         (gst_element_pads_activate): Remove rpad cruft.
29568
29569         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29570         catch the pad's-parent-not-an-element case.
29571
29572         * gst/gst.h: Include gstghostpad.h.
29573
29574         * gst/gst.c (init_post): No more real, ghost pads.
29575
29576         * gst/Makefile.am: Add gstghostpad.[ch].
29577
29578         * check/Makefile.am:
29579         * check/gst/gstbin.c:
29580         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29581         into a bin creates ghost pads, and that the refcounts are right.
29582         Partly moved from gstbin.c.
29583
29584 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29585
29586         * check/gst-libs/.cvsignore:
29587         * check/gst/.cvsignore:
29588         * check/pipelines/.cvsignore:
29589           ignore more
29590         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29591         (START_TEST), (cleanup_suite), (main):
29592           add some tests related to cleanup after running pipelines
29593
29594 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29595
29596         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29597           add a testsuite for GstBuffer
29598
29599 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29600
29601         * gst/gstminiobject.h:
29602           add defines for accessing the refcount
29603
29604 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29605
29606         * Makefile.am: added support for html unit test coverage reports
29607
29608 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29609
29610         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29611           Free existing caps if the capsfilter changes. Add a FIXME about
29612           setting those caps on the pads.
29613
29614         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29615           Before adding a ghost pad to a parent bin, check that there isn't
29616           already one for the element on the bin. Prevents infinite recursion
29617           when using decodebin in parse pipelines. Andy says he'll rewrite the
29618           way this works anyway, so ignore the hack.
29619
29620 2005-06-02  Andy Wingo  <wingo@pobox.com>
29621
29622         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29623         file size, pass it on to the type find helper.
29624
29625         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29626         segment_start and segment_end properly according to the seek
29627         method. Segment_end is still a bit flaky because offset can be
29628         negative for CUR and END cases, but it takes -1 as an "unset"
29629         value.
29630
29631 2005-06-02  Wim Taymans  <wim@fluendo.com>
29632
29633         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29634         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29635         (gst_basesink_activate):
29636         * gst/base/gstbasesink.h:
29637         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29638         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29639         (gst_pad_query), (gst_pad_start_task):
29640         * gst/gstpad.h:
29641         * gst/gstqueue.c: (gst_queue_bufferalloc),
29642         (gst_queue_handle_sink_event), (gst_queue_chain):
29643         Bufferalloc: return GstFlowReturn to more accuratly report
29644         why allocation failed.
29645
29646 2005-06-02  Wim Taymans  <wim@fluendo.com>
29647
29648         * gst/gstpipeline.c: (gst_pipeline_send_event):
29649         Take snapshot of state without blocking.
29650
29651 2005-06-02  Wim Taymans  <wim@fluendo.com>
29652
29653         * docs/design/part-TODO.txt:
29654         * docs/design/part-caps.txt:
29655         * docs/design/part-clocks.txt:
29656         * docs/design/part-negotiation.txt:
29657         * docs/design/part-preroll.txt:
29658         Small doc updates 
29659
29660 2005-05-30  Wim Taymans  <wim@fluendo.com>
29661
29662         * gst/elements/gstidentity.c: (gst_identity_event),
29663         (gst_identity_transform), (gst_identity_get_property):
29664         Protect last_message property as it is accessed from
29665         multiple threads.
29666
29667 2005-05-30  Wim Taymans  <wim@fluendo.com>
29668
29669         * gst/gstelement.c: (gst_element_init),
29670         (gst_element_pads_activate), (gst_element_change_state):
29671         Slicker pad activation code.
29672
29673 2005-05-30  Wim Taymans  <wim@fluendo.com>
29674
29675         * gst/Makefile.am:
29676         * gst/gstelement.h:
29677         * gst/gstelementfactory.h:
29678         * gst/gsttypes.h:
29679         Move elementfactory methods to separate .h file.
29680
29681 2005-05-30  Wim Taymans  <wim@fluendo.com>
29682
29683         * docs/design/part-overview.txt:
29684         * gst/gstsystemclock.h:
29685         Small typo fixes, doc updates.
29686
29687 2005-05-30  Wim Taymans  <wim@fluendo.com>
29688
29689         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29690         (init_popt_callback):
29691         Remove cpu-opt flag.
29692
29693 2005-05-30  Wim Taymans  <wim@fluendo.com>
29694
29695         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29696         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29697         * gst/gstbuffer.h:
29698         Avoid typechecking in places where not needed.
29699         Added accessor for malloc_data.
29700
29701 2005-05-30  Wim Taymans  <wim@fluendo.com>
29702
29703         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29704         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29705         (gst_pad_configure_sink), (gst_pad_configure_src),
29706         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29707         (gst_pad_start_task):
29708         Propagate errors from _set_caps() in configure_src/sink
29709         functions instead of returning TRUE.
29710         FLUSH events can travel up and downstream
29711
29712
29713 2005-05-30  Wim Taymans  <wim@fluendo.com>
29714
29715         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29716         (gst_basesink_activate):
29717         Handle EOS in preroll.
29718
29719 2005-05-30  Wim Taymans  <wim@fluendo.com>
29720
29721         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29722         (gst_queue_loop), (gst_queue_handle_src_event):
29723         Remove old pieces of code
29724         Flushing the queue in an upstream event is a very bad idea.
29725
29726 2005-05-26  Andy Wingo  <wingo@pobox.com>
29727
29728         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29729         gst_value_set_mini_object so as to add a ref on the object (which
29730         will be removed when the value is unset).
29731
29732         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29733         arg type in ::handoff.
29734
29735         * gst/gstelement.c (gst_element_change_state): Also deactivate
29736         pads in READY->NULL, just in case the element didn't make it to
29737         PAUSED. Wingo tested, Wim approved.
29738
29739 2005-05-26  Wim Taymans  <wim@fluendo.com>
29740
29741         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29742         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29743         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29744         A flushing pad cannot be used to alloc_buffer from.
29745
29746 2005-05-26  Wim Taymans  <wim@fluendo.com>
29747
29748         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29749         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29750         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29751         (gst_bus_create_watch), (gst_bus_add_watch_full):
29752         * gst/gstbus.h:
29753         Implement a real GSource and use g_main_context_wakeup() to
29754         signal new messages instead of the socketpair.
29755
29756 2005-05-25  Wim Taymans  <wim@fluendo.com>
29757
29758         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29759         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29760         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29761         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29762         (gst_pad_send_event), (gst_pad_start_task):
29763         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29764         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29765         (gst_queue_sink_activate), (gst_queue_src_activate),
29766         (gst_queue_change_state):
29767         * gst/gstqueue.h:
29768         Fix state changes for non sinks. We now change sinks, then elements
29769         with unconnected srcpads, then the rest.
29770         More efficient queue unlocking in flush and state changes.
29771         Set the pad activate mode even if it does not have an activate
29772         function.
29773
29774 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29775
29776         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29777           Don't go in pull mode for non-seekable sources.
29778         * gst/elements/gsttypefindelement.h:
29779         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29780         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29781         (free_entry), (stop_typefinding),
29782         (gst_type_find_element_handle_event), (find_peek),
29783         (gst_type_find_element_chain), (do_pull_typefind),
29784         (gst_type_find_element_change_state):
29785           Allow typefinding (w/o seeking) in push-mode, simplified version
29786           of what was in 0.8.
29787         * gst/gstutils.c: (gst_buffer_join):
29788         * gst/gstutils.h:
29789           gst_buffer_join() from 0.8.
29790
29791 2005-05-25  Wim Taymans  <wim@fluendo.com>
29792
29793         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29794         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29795         (gst_pad_send_event), (gst_pad_start_task):
29796         Disable attempt at mode switching until it is figured out.
29797
29798 2005-05-25  Wim Taymans  <wim@fluendo.com>
29799
29800         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29801         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29802         (gst_basesink_finish_preroll), (gst_basesink_chain),
29803         (gst_basesink_loop), (gst_basesink_activate),
29804         (gst_basesink_change_state):
29805         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29806         (gst_basesrc_get_range), (gst_basesrc_loop),
29807         (gst_basesrc_activate):
29808         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29809         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29810         (gst_real_pad_init), (gst_real_pad_set_property),
29811         (gst_real_pad_get_property), (gst_pad_set_active),
29812         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29813         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29814         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29815         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29816         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29817         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29818         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29819         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29820         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29821         (gst_pad_stop_task):
29822         * gst/gstpad.h:
29823         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29824         (gst_queue_loop), (gst_queue_src_activate):
29825         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29826         (gst_task_get_state):
29827         * gst/gsttask.h:
29828         * gst/schedulers/threadscheduler.c:
29829         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29830         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29831         in task function.
29832         Remove ACTIVE pad flag, use FLUSHING everywhere
29833         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29834         functions.
29835         Add locks around IS_FLUSHING when reading.
29836         Take STREAM lock in chain(), get_range() functions so plugins
29837         don't need to take it anymore.
29838         
29839
29840
29841 2005-05-25  Wim Taymans  <wim@fluendo.com>
29842
29843         * tools/gst-launch.c: (event_loop):
29844         Unref message after using its contents instead of
29845         before.
29846
29847 2005-05-24  Wim Taymans  <wim@fluendo.com>
29848
29849         * docs/design/draft-ghostpads.txt:
29850         * docs/design/draft-push-pull.txt:
29851         * docs/design/draft-query.txt:
29852         * docs/design/part-overview.txt:
29853         Docs updates, added general overview doc.
29854
29855 2005-05-21  David Schleef  <ds@schleef.org>
29856
29857         * docs/gst/tmpl/old/GstBin.sgml:
29858         * docs/gst/tmpl/old/GstBuffer.sgml:
29859         * docs/gst/tmpl/old/GstCaps.sgml:
29860         * docs/gst/tmpl/old/GstClock.sgml:
29861         * docs/gst/tmpl/old/GstCompat.sgml:
29862         * docs/gst/tmpl/old/GstData.sgml:
29863         * docs/gst/tmpl/old/GstElement.sgml:
29864         * docs/gst/tmpl/old/GstEvent.sgml:
29865         * docs/gst/tmpl/old/GstIndex.sgml:
29866         * docs/gst/tmpl/old/GstStructure.sgml:
29867         * docs/gst/tmpl/old/GstTag.sgml:
29868         * docs/gst/tmpl/old/cothreads.sgml:
29869         * docs/gst/tmpl/old/cothreads_compat.sgml:
29870         * docs/gst/tmpl/old/gettext.sgml:
29871         * docs/gst/tmpl/old/gobject2gtk.sgml:
29872         * docs/gst/tmpl/old/grammar.tab.sgml:
29873         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29874         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29875         * docs/gst/tmpl/old/gst_private.sgml:
29876         * docs/gst/tmpl/old/gstaggregator.sgml:
29877         * docs/gst/tmpl/old/gstarch.sgml:
29878         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29879         * docs/gst/tmpl/old/gstbufferstore.sgml:
29880         * docs/gst/tmpl/old/gstdata_private.sgml:
29881         * docs/gst/tmpl/old/gstdisksink.sgml:
29882         * docs/gst/tmpl/old/gstdisksrc.sgml:
29883         * docs/gst/tmpl/old/gstelementfactory.sgml:
29884         * docs/gst/tmpl/old/gstextratypes.sgml:
29885         * docs/gst/tmpl/old/gstfakesink.sgml:
29886         * docs/gst/tmpl/old/gstfakesrc.sgml:
29887         * docs/gst/tmpl/old/gstfdsink.sgml:
29888         * docs/gst/tmpl/old/gstfdsrc.sgml:
29889         * docs/gst/tmpl/old/gstfilesink.sgml:
29890         * docs/gst/tmpl/old/gstfilesrc.sgml:
29891         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29892         * docs/gst/tmpl/old/gstidentity.sgml:
29893         * docs/gst/tmpl/old/gstindexfactory.sgml:
29894         * docs/gst/tmpl/old/gstmarshal.sgml:
29895         * docs/gst/tmpl/old/gstmd5sink.sgml:
29896         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29897         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29898         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29899         * docs/gst/tmpl/old/gstpipefilter.sgml:
29900         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29901         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29902         * docs/gst/tmpl/old/gstshaper.sgml:
29903         * docs/gst/tmpl/old/gstspider.sgml:
29904         * docs/gst/tmpl/old/gstspideridentity.sgml:
29905         * docs/gst/tmpl/old/gststatistics.sgml:
29906         * docs/gst/tmpl/old/gsttee.sgml:
29907         * docs/gst/tmpl/old/gsttimecache.sgml:
29908         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29909         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29910         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29911         * docs/gst/tmpl/old/types.sgml:
29912           I didn't intend to add these or check them in.
29913
29914 2005-05-19  David Schleef  <ds@schleef.org>
29915
29916         * configure.ac: Use -no-common everywhere.  In a sane world, it
29917           would be the default in libtool, because without it, you can't
29918           build DLLs on Windows.
29919         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29920         * docs/gst/gstreamer-sections.txt:
29921         * docs/gst/tmpl/gstcpu.sgml:
29922         * docs/gst/tmpl/gstdata.sgml:
29923         * docs/gst/tmpl/gstthread.sgml:
29924
29925 2005-05-19  David Schleef  <ds@schleef.org>
29926
29927         * gst/gstminiobject.c: (gst_value_set_mini_object),
29928         (gst_value_take_mini_object), (gst_value_get_mini_object):
29929         * gst/gstminiobject.h: Add GValue set/get functions.
29930
29931 2005-05-19  Wim Taymans  <wim@fluendo.com>
29932
29933         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29934         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29935         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29936         * gst/gstbuffer.h:
29937         * gst/gstbus.c: (gst_bus_post):
29938         * gst/gstelement.c: (gst_element_get_random_pad):
29939         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29940         Make subbufer unref the parent in finalize.
29941         some more debugging info.
29942
29943
29944 2005-05-19  Wim Taymans  <wim@fluendo.com>
29945
29946         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29947         (gst_basesink_init), (gst_basesink_finalize),
29948         (gst_basesink_activate), (gst_basesink_change_state):
29949         Don't free preroll queue too early.
29950
29951 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29952
29953         * gst/Makefile.am:
29954         * gst/ROADMAP:
29955           Hi, I'm outdated. Please shoot me.
29956
29957 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29958
29959         * gst/gstpipeline.c: (gst_pipeline_send_event):
29960           Do not access variables after they have been deleted.
29961
29962 2005-05-19  Wim Taymans  <wim@fluendo.com>
29963
29964         * tools/gst-inspect.c: (print_plugin_features):
29965         A plugin feature does unfortunatly not use the
29966         object name yet...
29967
29968 2005-05-18  Wim Taymans  <wim@fluendo.com>
29969
29970         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29971         Port _span() functions to new subbuffers.
29972
29973 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29974
29975         * gst/gstbin.c: (gst_bin_add_func):
29976           Fix clock settery in bins when adding kids after the clock has
29977           been selected.
29978
29979 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29980
29981         * gst/elements/gstidentity.c: (gst_identity_class_init):
29982           Workaround until signals support GstMiniObject.
29983
29984 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29985
29986         * gst/gstbuffer.c:
29987         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29988
29989 2005-05-18  Wim Taymans  <wim@fluendo.com>
29990
29991         * gst/base/Makefile.am:
29992         * gst/base/gstadapter.c: (gst_adapter_base_init),
29993         (gst_adapter_class_init), (gst_adapter_init),
29994         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29995         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29996         (gst_adapter_flush), (gst_adapter_available),
29997         (gst_adapter_available_fast):
29998         * gst/base/gstadapter.h:
29999         Ported and added adapter to the base classes.
30000
30001 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30002
30003         * gst/gst.c:
30004         * gst/gstmessage.c:
30005           Make sure the class is reffed/unreffed once before threads can be
30006           used.  Fixes #304551.
30007
30008 2005-05-17  Wim Taymans  <wim@fluendo.com>
30009
30010         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30011         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30012         * gst/gstminiobject.c: (gst_mini_object_get_type),
30013         (gst_mini_object_free):
30014         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30015         (gst_pad_push), (gst_pad_push_event):
30016         * gst/gstqueue.c: (gst_queue_change_state):
30017         Don't queue buffers in basesink when we are flushing.
30018         Unref buffer when flushing in basesink.
30019         Flush queue when going to READY
30020         Unref buffer when _push() returns an error.
30021         Don't free MiniObject instance when refcount is incremented
30022         in _finalize() so that we can recover objects.
30023
30024 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30025
30026         * docs/manual/advanced-schedulers.xml:
30027         * docs/manual/appendix-checklist.xml:
30028         * docs/pwg/advanced-clock.xml:
30029         * docs/pwg/advanced-interfaces.xml:
30030         * docs/pwg/advanced-request.xml:
30031         * docs/pwg/advanced-types.xml:
30032         * docs/pwg/intro-preface.xml:
30033         * examples/plugins/example.c: (gst_example_get_type),
30034         (gst_example_class_init), (gst_example_chain),
30035         (gst_example_set_property), (gst_example_get_property),
30036         (gst_example_change_state), (plugin_init):
30037         * examples/plugins/example.h:
30038           small doc fixes
30039
30040 2005-05-17  Wim Taymans  <wim@fluendo.com>
30041
30042         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30043         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30044         * gst/gstqueue.c: (gst_queue_change_state):
30045         Clear queue when going to READY.
30046         Remove IN_SETCAPS flag too.
30047
30048 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30049
30050         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30051           Remove implicit cast from gboolean to GstElementStateReturn;
30052           make sure we still return failure in paused => ready case if
30053           the parent class fails to change state and our own stop 
30054           vfunc succeeds.
30055
30056 2005-05-17  Wim Taymans  <wim@fluendo.com>
30057
30058         * tools/gst-launch.c: (event_loop):
30059         Message was unreffed too soon.
30060
30061 2005-05-16  Andy Wingo  <wingo@pobox.com>
30062
30063         * gst/gstbin.c (sink_iterator_filter): Err... um...
30064
30065         * check/gst/gstbin.c (test_ghost_pads): New test for the
30066         ghosting-if-elements-not-in-same-bin behavior.
30067
30068 2005-05-16  David Schleef  <ds@schleef.org>
30069
30070         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30071         accessing refcount directly.
30072
30073 2005-05-15  David Schleef  <ds@schleef.org>
30074
30075         * check/Makefile.am: remove GstData checks
30076         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30077         * gst/Makefile.am: add miniobject, remove data
30078         * gst/gst.h: add miniobject, remove data
30079         * gst/gstdata.c: remove
30080         * gst/gstdata.h: remove
30081         * gst/gstdata_private.h: remove
30082         * gst/gsttypes.h: remove GstEvent and GstMessage
30083         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30084         * gst/gstmarshal.list: change BOXED -> OBJECT
30085
30086         Implement GstMiniObject.
30087         * gst/gstminiobject.c:
30088         * gst/gstminiobject.h:
30089
30090         Modify to be subclasses of GstMiniObject.
30091         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30092         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30093         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30094         (gst_subbuffer_get_type), (gst_subbuffer_init),
30095         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30096         (gst_buffer_span):
30097         * gst/gstbuffer.h:
30098         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30099         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30100         (_gst_event_copy), (gst_event_new):
30101         * gst/gstevent.h:
30102         * gst/gstmessage.c: (_gst_message_initialize),
30103         (gst_message_get_type), (gst_message_class_init),
30104         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30105         (gst_message_new), (gst_message_new_error),
30106         (gst_message_new_warning), (gst_message_new_tag),
30107         (gst_message_new_state_changed), (gst_message_new_application):
30108         * gst/gstmessage.h:
30109         * gst/gstprobe.c: (gst_probe_perform),
30110         (gst_probe_dispatcher_dispatch):
30111         * gst/gstprobe.h:
30112         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30113         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30114         (_gst_query_copy), (gst_query_new):
30115
30116         Update elements for GstData -> GstMiniObject changes
30117         * gst/gstquery.h:
30118         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30119         (gst_queue_chain), (gst_queue_loop):
30120         * gst/elements/gstbufferstore.c:
30121         (gst_buffer_store_add_buffer_func),
30122         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30123         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30124         (gst_fakesink_render):
30125         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30126         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30127         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30128         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30129         (gst_filesrc_create_read):
30130         * gst/elements/gstidentity.c: (gst_identity_class_init):
30131         * gst/elements/gsttypefindelement.c:
30132         (gst_type_find_element_src_event), (free_entry_buffers),
30133         (gst_type_find_element_handle_event):
30134         * libs/gst/dataprotocol/dataprotocol.c:
30135         (gst_dp_header_from_buffer):
30136         * libs/gst/dataprotocol/dataprotocol.h:
30137         * libs/gst/dataprotocol/dp-private.h:
30138
30139 2005-05-15  David Schleef  <ds@schleef.org>
30140
30141         * gst/elements/gstelements.c: Don't include headers that were
30142         just removed.
30143
30144 2005-05-15  David Schleef  <ds@schleef.org>
30145
30146         * gst/elements/Makefile.am: Remove some elements that don't
30147         need to be in the core (or even exist at all).
30148         * gst/elements/gstaggregator.c:
30149         * gst/elements/gstaggregator.h:
30150         * gst/elements/gstmd5sink.c:
30151         * gst/elements/gstmd5sink.h:
30152         * gst/elements/gstmultifilesrc.c:
30153         * gst/elements/gstmultifilesrc.h:
30154         * gst/elements/gstpipefilter.c:
30155         * gst/elements/gstpipefilter.h:
30156         * gst/elements/gstshaper.c:
30157         * gst/elements/gstshaper.h:
30158         * gst/elements/gststatistics.c:
30159         * gst/elements/gststatistics.h:
30160         * po/POTFILES.in: Remove above files.
30161
30162 2005-05-14  Andy Wingo  <wingo@pobox.com>
30163
30164         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30165         so as to get the refs right.
30166         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30167         unreffing objects that don't pass the filter.
30168
30169         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30170         gst_element_set_bus.
30171         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30172         normal cases, this will destroy the bus.
30173
30174         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30175         object.
30176
30177         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30178         has no sinks.
30179
30180 2005-05-13  Andy Wingo  <wingo@pobox.com>
30181
30182         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30183         gst_pad_link, call pad_link_maybe_ghosting,
30184         (pad_link_maybe_ghosting): Links pads, making sure that the
30185         elements being linked are in the same bin.
30186         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30187         Helpers for pad_link_maybe_ghosting.
30188
30189 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30190
30191         * configure.ac:
30192           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30193
30194 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30195
30196         * docs/design/part-element-source.txt:
30197           Mention GstPushSrc
30198
30199 2005-05-12  Wim Taymans  <wim@fluendo.com>
30200
30201         * gst/base/gstbasesink.c: (gst_basesink_init),
30202         (gst_basesink_activate):
30203         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30204         (gst_basesrc_is_seekable):
30205         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30206         (bin_element_is_sink), (gst_bin_change_state):
30207         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30208         * gst/gstelement.h:
30209         Identify sinks by their flag to avoid overly complicated
30210         checks (fow now).
30211         Do state changes even for elements not reachable from the
30212         sinks.
30213         BaseSink is a sink now :)
30214         Some more debugging info in the basesrc.
30215
30216
30217 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30218
30219         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30220           Implement _query on a bin, similar to _send_event.
30221
30222 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30223
30224         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30225           Discont event offset format should be GST_FORMAT_BYTES,
30226           not GST_FORMAT_TIME.
30227
30228 2005-05-12  Wim Taymans  <wim@fluendo.com>
30229
30230         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30231         Same fix as Ronald's but without the signal. 
30232
30233 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30234
30235         * gst/gstutils.c: (gst_element_query_position):
30236           No, an element is not a pad.
30237
30238 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30239
30240         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30241         (gst_bin_get_state):
30242           If a child is removed from a bin while we remove the child from
30243           the bin and while we're retrieving its state, signal this to the
30244           get_state function so we abort the wait (instead of waiting for
30245           a timeout) and can immediately re-iterate over all other elements.
30246
30247 2005-05-12  Wim Taymans  <wim@fluendo.com>
30248
30249         * gst/base/Makefile.am:
30250         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30251         (gst_basesrc_start):
30252         * gst/base/gstbasesrc.h:
30253         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30254         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30255         (gst_pushsrc_init), (gst_pushsrc_create):
30256         * gst/base/gstpushsrc.h:
30257         Added is_seekable to BaseSrc
30258         Added simple PushSrc.
30259
30260 2005-05-11  Wim Taymans  <wim@fluendo.com>
30261
30262         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30263         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30264         (gst_element_link_pads), (gst_element_query_position),
30265         (gst_element_query_convert), (intersect_caps_func),
30266         (gst_pad_query_position), (gst_pad_query_convert):
30267         Fix refcounting in utils function.
30268         No point in trying to activate a pad when it's added, it could
30269         be added from the state change function and then we deadlock, the
30270         element has to decide what to do.
30271
30272 2005-05-10  Andy Wingo  <wingo@pobox.com>
30273
30274         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30275         *all* the arguments.
30276
30277         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30278         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30279         lock (according to the docs -- if this is wrong change the docs).
30280
30281         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30282         flush messages in the NULL state.
30283
30284         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30285         message immediately and return.
30286         (gst_bus_set_flushing): New function. If a bus is flushing, it
30287         flushes out any queued messages and immediately unrefs new
30288         messages. This is so when an element goes to NULL, all of the
30289         unhandled messages coming from it can be freed, and their
30290         references to the element dropped. In other words: message source
30291         ref considered harmful :P
30292
30293         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30294         we're finished with it.
30295
30296         * gst/gstmessage.c (gst_message_new_state_changed): 
30297
30298 2005-05-10  Wim Taymans  <wim@fluendo.com>
30299
30300         * gst/gstvalue.c: (gst_value_compare_flags),
30301         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30302         (_gst_value_initialize):
30303         Added flags serialize/deserialize/compare code.
30304
30305 2005-05-09  Andy Wingo  <wingo@pobox.com>
30306
30307         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30308         Intersect the peer's caps with our caps.
30309
30310 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30311
30312         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30313         * gst/elements/gsttypefindelement.c: (find_peek):
30314           Handle negative offsets better. Fixes decodebin.
30315
30316 2005-05-09  Wim Taymans  <wim@fluendo.com>
30317
30318         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30319         (gst_base_transform_event):
30320         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30321         Implement accept_caps.
30322         Fix silly lock/unlock mismatch in base class.
30323
30324 2005-05-09  Wim Taymans  <wim@fluendo.com>
30325
30326         * docs/design/draft-push-pull.txt:
30327         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30328         * gst/elements/gstfilesink.c: (gst_filesink_init),
30329         (gst_filesink_query):
30330         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30331         (gst_type_find_handle_src_query), (find_element_get_length):
30332         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30333         * gst/gstelement.h:
30334         * gst/gstmessage.c:
30335         * gst/gstmessage.h:
30336         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30337         (gst_real_pad_get_caps_unlocked),
30338         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30339         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30340         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30341         (gst_real_pad_dispose), (gst_real_pad_finalize),
30342         (gst_pad_load_and_link), (gst_pad_save_thyself),
30343         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30344         (gst_pad_check_pull_range), (gst_pad_pull_range),
30345         (gst_pad_template_get_type), (gst_pad_template_class_init),
30346         (gst_pad_template_init), (gst_pad_template_dispose),
30347         (name_is_valid), (gst_static_pad_template_get),
30348         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30349         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30350         (gst_pad_get_element_private), (gst_pad_start_task),
30351         (gst_pad_pause_task), (gst_pad_stop_task),
30352         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30353         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30354         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30355         (gst_ghost_pad_new):
30356         * gst/gstpad.h:
30357         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30358         (gst_query_new_position), (gst_query_set_position),
30359         (gst_query_parse_position), (gst_query_new_convert),
30360         (gst_query_set_convert), (gst_query_parse_convert):
30361         * gst/gstquery.h:
30362         * gst/gstqueryutils.c:
30363         * gst/gstqueryutils.h:
30364         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30365         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30366         (gst_queue_handle_src_query):
30367         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30368         (gst_element_query_position), (gst_element_query_convert),
30369         (intersect_caps_func), (gst_pad_query_position),
30370         (gst_pad_query_convert):
30371         * gst/gstutils.h:
30372         * tools/gst-inspect.c: (print_pad_info):
30373         * tools/gst-xmlinspect.c: (print_element_info):
30374         Remove old query functions. Ported old code.
30375         Added position/convert helper functions to gstutils.
30376         Reordered gstpad.c code, grouping relevant things.
30377         Remove gst_message_new(), always need to speficy a specific
30378         message.
30379
30380
30381 2005-05-09  Andy Wingo  <wingo@pobox.com>
30382
30383         * gst/gstiterator.h: Add some includes.
30384
30385         * gst/gstqueryutils.h: Include more headers.
30386
30387         * gst/gstpad.h:
30388         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30389         some uses of gst_pad_query.
30390
30391         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30392         NULL out parameters.
30393         (gst_query_new_position): New proc, allocates a new position
30394         query.
30395
30396         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30397         gstqueryutils.c to the build.
30398
30399         * gst/gststructure.c (gst_structure_set_valist): Implement with
30400         the generic G_VALUE_COLLECT.
30401         
30402 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30403
30404         * gst/Makefile.am: (gst_headers):
30405         Added gstqueryutils.h to the list of headers to install, that was
30406         a 'nachty' move wingo :)
30407
30408 2005-05-06  Andy Wingo  <wingo@pobox.com>
30409
30410         * gst/gstquery.h
30411         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30412         GstData, init a memchunk.
30413         (standard_definitions): Add a few query types, deprecate a few.
30414         (gst_query_get_type): New proc.
30415         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30416         implementation.
30417         (gst_query_new_application, gst_query_get_structure): New public
30418         procs.
30419
30420         * docs/design/draft-query.txt: Removed LINKS from the query types,
30421         because all the rest can be dispatched to other pads -- seemed
30422         ugly to have a query that couldn't be dispatched. internal_links
30423         is fine as a pad method.
30424
30425         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30426         in gstpad.c, but maintain binary compatibility for the moment.
30427         Will fix before 0.9 is out.
30428
30429         * gst/gstqueryutils.c: 
30430         * gst/gstqueryutils.h: New files, implement 3 methods for each
30431         query type: parse_query, parse_response, and set. Probably need an
30432         allocator as well.
30433
30434         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30435
30436         * gst/elements/gstfilesink.c (gst_filesink_query2):
30437         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30438         query_types, and formats methods.
30439
30440         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30441         (gst_pad_set_query2_function): New functions.
30442         (gst_real_pad_init): Set query2_default as the default query2
30443         function. Basically just dispatches to internally linked pads.
30444
30445         Needs review!
30446         
30447         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30448         without using the atomic operations. Only one thread can possibly
30449         be accessing the data at this point. Changed so as to avoid
30450         gst_atomic operations.
30451
30452 2005-05-06  Wim Taymans  <wim@fluendo.com>
30453
30454         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30455         Also set caps if we use the fallback buffer alloc.
30456
30457 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30458
30459         * docs/gst/Makefile.am:
30460         * docs/gst/gstreamer-docs.sgml:
30461         * docs/gst/gstreamer-sections.txt:
30462         * docs/gst/tmpl/gstatomic.sgml:
30463         * docs/gst/tmpl/gstmemchunk.sgml:
30464         * testsuite/elements/struct_i386.h:
30465         * win32/GStreamer.vcproj:
30466         * win32/Makefile:
30467           Purge GstAtomic stuff from docs and win32 makefiles as well
30468
30469 2005-05-06  Wim Taymans  <wim@fluendo.com>
30470
30471         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30472         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30473         * gst/gstpad.c: (gst_pad_peer_get_caps):
30474         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30475         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30476         (gst_queue_src_activate), (gst_queue_change_state):
30477         * gst/gstqueue.h:
30478         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30479         (intersect_caps_func):
30480         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30481         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30482         Some fixes for the peer_get_caps() change.
30483
30484 2005-05-06  Wim Taymans  <wim@fluendo.com>
30485
30486         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30487         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30488         (gst_basesink_activate):
30489         Actually do something with error codes returned from the push
30490         functions.
30491
30492 2005-05-06  Wim Taymans  <wim@fluendo.com>
30493
30494         * docs/design/part-element-sink.txt:
30495         * docs/design/part-element-source.txt:
30496         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30497         (gst_basesink_event), (gst_basesink_activate):
30498         * gst/base/gstbasesink.h:
30499         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30500         (gst_basesrc_activate):
30501         * gst/base/gstbasesrc.h:
30502         * gst/gstelement.c: (gst_element_pads_activate):
30503         Some more documentation.
30504         Fixed scheduling decision in _pads_activate().
30505
30506 2005-05-05  Andy Wingo  <wingo@pobox.com>
30507
30508         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30509         the test suite.
30510
30511 2005-05-05  Wim Taymans  <wim@fluendo.com>
30512
30513         * gst/base/Makefile.am:
30514         * gst/base/gstbasesink.h:
30515         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30516         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30517         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30518         (gst_collectpads_class_init), (gst_collectpads_init),
30519         (gst_collectpads_finalize), (gst_collectpads_new),
30520         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30521         (find_pad), (gst_collectpads_remove_pad),
30522         (gst_collectpads_is_active), (gst_collectpads_collect),
30523         (gst_collectpads_collect_range), (gst_collectpads_start),
30524         (gst_collectpads_stop), (gst_collectpads_peek),
30525         (gst_collectpads_pop), (gst_collectpads_available),
30526         (gst_collectpads_read), (gst_collectpads_flush),
30527         (gst_collectpads_chain):
30528         * gst/base/gstcollectpads.h:
30529         * gst/elements/Makefile.am:
30530         * gst/elements/gstelements.c:
30531         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30532         (gst_fakesink_get_times), (gst_fakesink_event),
30533         (gst_fakesink_preroll), (gst_fakesink_render):
30534         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30535         (gst_filesink_init), (gst_filesink_set_location),
30536         (gst_filesink_open_file), (gst_filesink_close_file),
30537         (gst_filesink_pad_query), (gst_filesink_event),
30538         (gst_filesink_render), (gst_filesink_change_state):
30539         * gst/elements/gstfilesink.h:
30540         Added object to help in making collect pad based elements.
30541         Ported filesink.
30542         Make event function in sink baseclass return gboolean.
30543
30544 2005-05-05  Wim Taymans  <wim@fluendo.com>
30545
30546         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30547         (gst_bin_get_by_name):
30548         * gst/gstbuffer.h:
30549         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30550         (gst_clock_finalize):
30551         * gst/gstdata.c: (gst_data_replace):
30552         * gst/gstdata.h:
30553         * gst/gstelement.c: (gst_element_request_pad),
30554         (gst_element_pads_activate):
30555         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30556         (gst_object_unref):
30557         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30558         (gst_pad_set_checkgetrange_function),
30559         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30560         (gst_pad_check_pull_range), (gst_pad_pull_range),
30561         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30562         (gst_pad_pause_task), (gst_pad_stop_task):
30563         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30564         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30565         Fix name lookup in GstBin.
30566         Added _data_replace() function and _buffer_replace()
30567         Use finalize method to clean up clock.
30568         Fix refcounting on request pads.
30569         Fix pad schedule mode error.
30570         Some more object refcounting debug info,
30571
30572
30573 2005-05-04  Andy Wingo <wingo@pobox.com>
30574
30575         * check/Makefile.am:
30576         * docs/gst/tmpl/gstatomic.sgml:
30577         * docs/gst/tmpl/gstplugin.sgml:
30578         * gst/base/gstbasesink.c: (gst_basesink_activate):
30579         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30580         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30581         (gst_basesrc_query), (gst_basesrc_set_property),
30582         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30583         (gst_basesrc_activate):
30584         * gst/base/gstbasesrc.h:
30585         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30586         (gst_base_transform_src_activate):
30587         * gst/elements/gstelements.c:
30588         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30589         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30590         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30591         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30592         (gst_type_find_element_checkgetrange),
30593         (gst_type_find_element_activate):
30594         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30595         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30596         (gst_caps_load_thyself):
30597         * gst/gstelement.c: (gst_element_pads_activate),
30598         (gst_element_save_thyself), (gst_element_restore_thyself):
30599         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30600         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30601         * gst/gstpad.h:
30602         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30603         (gst_xml_parse_file), (gst_xml_parse_memory),
30604         (gst_xml_get_element), (gst_xml_make_element):
30605         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30606         (_file_index_id_save_xml), (gst_file_index_commit):
30607         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30608         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30609         (load_paths):
30610         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30611         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30612         * tools/gst-complete.c: (main):
30613         * tools/gst-compprep.c: (main):
30614         * tools/gst-inspect.c: (print_element_properties_info):
30615         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30616         * tools/gst-xmlinspect.c: (print_element_properties):
30617         GCC 4 fixen.
30618         
30619 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30620
30621         * gst/gstplugin.c: (gst_plugin_check_module),
30622         (gst_plugin_check_file), (gst_plugin_load_file):
30623             apply patch from #172526 to make register work on MacOSX
30624
30625 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30626
30627         * docs/gst/tmpl/gstconfig.sgml:
30628         * gst/gstconfig.h.in:
30629           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30630         * testsuite/debug/printf_extension.c: (main):
30631           Do not use GST_PTR_FORMAT on pointers to types with
30632           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30633         * testsuite/elements/property.h:
30634           use correct printf format
30635
30636 2005-05-02  Wim Taymans  <wim@fluendo.com>
30637
30638         * docs/design/draft-push-pull.txt:
30639         * docs/design/draft-query.txt:
30640         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30641         (gst_basesrc_start):
30642         Added draft for new query API.
30643         Added draft for better selecting scheduling methods.
30644         Make basesrc ignore length if the subclass does not support
30645         it.
30646
30647 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30648
30649         * gst/Makefile.am:
30650           possible fixes for automake-1.5 - _LIBADD is reserved
30651
30652 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30653
30654         * docs/faq/Makefile.am:
30655         * docs/manual/Makefile.am:
30656         * docs/manuals.mak:
30657         * docs/pwg/Makefile.am:
30658         * gst/Makefile.am:
30659           possible fixes for automake-1.5
30660
30661 2005-04-28  Wim Taymans  <wim@fluendo.com>
30662
30663         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30664         (gst_basesink_pad_getcaps), (gst_basesink_init),
30665         (gst_basesink_do_sync):
30666         * gst/gstclock.c: (gst_clock_entry_new):
30667         * gst/gstevent.c: (gst_event_discont_get_value):
30668         * gst/gstpipeline.c: (pipeline_bus_handler),
30669         (gst_pipeline_change_state):
30670         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30671         Better debugging of clocking info.
30672         Allow NULL values when getting discont values.
30673
30674 2005-04-27  Wim Taymans  <wim@fluendo.com>
30675
30676         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30677         * check/gst/gstpad.c: (gst_pad_suite):
30678         Increase timeout for checks.
30679
30680 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30681
30682         * check/Makefile.am:
30683           fix the broken rule for cleanup.  Apparently this rule is
30684           only needed on FC2, so maybe this warrants further autotool
30685           inspection.
30686
30687 2005-04-26  Wim Taymans  <wim@fluendo.com>
30688
30689         * gst/gsttrashstack.h:
30690         Ooohh. a nasty one! After having a failed pop() from the stack,
30691         it's possible that the stack is empty. In that case, don't
30692         follow the NULL pointer.
30693
30694 2005-04-25  Wim Taymans  <wim@fluendo.com>
30695
30696         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30697         (gst_pad_set_checkgetrange_function),
30698         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30699         (gst_pad_check_pull_range), (gst_pad_pull_range),
30700         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30701         (gst_pad_pause_task), (gst_pad_stop_task):
30702         * gst/gstplugin.c: (gst_plugin_load):
30703         * gst/gstplugin.h:
30704         Remove gst_library_load as it does more harm than good with
30705         the new g_module flags.
30706         Revert bogus caps template check in pad linking, pad caps
30707         are important when linking not the template, which is more
30708         general than the current caps.
30709
30710 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30711
30712         * gst/autoplug/.cvsignore:
30713         * gst/autoplug/Makefile.am:
30714         * gst/autoplug/gstsearchfuncs.c:
30715         * gst/autoplug/gstsearchfuncs.h:
30716         * gst/autoplug/gstspider.c:
30717         * gst/autoplug/gstspider.h:
30718         * gst/autoplug/gstspideridentity.c:
30719         * gst/autoplug/gstspideridentity.h:
30720         * gst/autoplug/spidertest.c:
30721           Die, spider, die.
30722
30723 2005-04-25  Wim Taymans  <wim@fluendo.com>
30724
30725         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30726         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30727         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30728         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30729         * gst/gstpad.h:
30730         Added stubs for unimplemented functions. 
30731
30732 2005-04-24  David Schleef  <ds@schleef.org>
30733
30734         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30735         please fix.
30736
30737 2005-04-24  David Schleef  <ds@schleef.org>
30738
30739         Convert everything from GstAtomicInt to g_atomic_int_*, and
30740         remove gstatomic.
30741         * gst/Makefile.am:
30742         * gst/gstatomic.c:
30743         * gst/gstatomic.h:
30744         * gst/gstatomic_impl.h:
30745         * gst/gstbuffer.c:
30746         * gst/gstcaps.c:
30747         * gst/gstcaps.h:
30748         * gst/gstclock.c:
30749         * gst/gstclock.h:
30750         * gst/gstdata.c:
30751         * gst/gstdata.h:
30752         * gst/gstdata_private.h:
30753         * gst/gstevent.c:
30754         * gst/gstinfo.c:
30755         * gst/gstinfo.h:
30756         * gst/gstmessage.c:
30757         * gst/gstobject.c:
30758         * gst/gstobject.h:
30759         * gst/gststructure.c:
30760         * gst/gststructure.h:
30761         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30762         * gst/gstutils.h:
30763
30764 2005-04-24  David Schleef  <ds@schleef.org>
30765
30766         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30767         make the regressions tests work.  Remove some code that is no
30768         longer true.
30769         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30770         Disable warning for pads without templates.
30771
30772 2005-04-24  David Schleef  <ds@schleef.org>
30773
30774         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30775         functions that handle filtered links.
30776         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30777         removed functions.
30778         * gst/gstutils.c: Fix/remove utility functions that handle
30779         filtered caps.
30780         * gst/gstutils.h:
30781         * gst/gstvalue.c: Add serialization/deserialization of caps
30782         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30783         requires fixing so that the filter caps notation creates
30784         a capsfilter element and sets the filter_caps property.  I
30785         think everyone probably wants to keep the shorthand notation.
30786         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30787         * docs/gst/tmpl/gstpad.sgml:
30788
30789         * gst/elements/gstelements.c: Register capsfilter element.
30790         * gst/Makefile.am: fix spacing
30791         * docs/random/ds/0.9-suggested-changes: random
30792
30793 2005-04-23  David Schleef  <ds@schleef.org>
30794
30795         * gst/elements/Makefile.am:
30796         * gst/elements/gstcapsfilter.c: New element that acts like an
30797         identity, but filters caps.  Will eventually replace filtered
30798         caps in pad linking.
30799         * gst/gstutils.c: (gst_element_create_all_pads): New function
30800         to create all the ALWAYS pads that are registered with an
30801         element class.  This functionality should eventually be
30802         merged in with GstElement initialization.
30803         * gst/gstutils.h:
30804         * testsuite/trigger/README: part of trigger test code that should
30805         have been checked in a long time ago.
30806
30807 2005-04-23  David Schleef  <ds@schleef.org>
30808
30809         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30810         needed with new versions of libtool (nobody will confirm this),
30811         and hard to carry around.
30812         * gst/autoplug/Makefile.am:
30813         * gst/base/Makefile.am:
30814         * gst/elements/Makefile.am:
30815         * gst/indexers/Makefile.am:
30816         * gst/schedulers/Makefile.am:
30817         * libs/gst/bytestream/Makefile.am:
30818         * libs/gst/control/Makefile.am:
30819         * libs/gst/dataprotocol/Makefile.am:
30820         * libs/gst/getbits/Makefile.am:
30821
30822 2005-04-21  Wim Taymans  <wim@fluendo.com>
30823
30824         * docs/design/draft-push-pull.txt:
30825         * docs/design/part-MT-refcounting.txt:
30826         * docs/design/part-TODO.txt:
30827         * docs/design/part-caps.txt:
30828         * docs/design/part-events.txt:
30829         * docs/design/part-gstbus.txt:
30830         * docs/design/part-gstpipeline.txt:
30831         * docs/design/part-messages.txt:
30832         * docs/design/part-push-pull.txt:
30833         * docs/design/part-query.txt:
30834         Some more docs.
30835
30836 2005-04-21  Wim Taymans  <wim@fluendo.com>
30837
30838         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30839         (gst_message_new), (gst_message_new_error),
30840         (gst_message_new_warning), (gst_message_new_tag),
30841         (gst_message_new_state_changed), (gst_message_new_application),
30842         (gst_message_get_structure):
30843         * gst/gstmessage.h:
30844         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30845         (gst_structure_copy_conditional):
30846         Use parent refcount in GstMessage to ensure GstStructure
30847         consistency.
30848         Cleaned up headers a bit.
30849         
30850
30851 2005-04-20  Wim Taymans  <wim@fluendo.com>
30852
30853         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30854         (gst_basesink_pad_getcaps), (gst_basesink_init),
30855         (gst_basesink_chain_unlocked):
30856         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30857         (gst_type_find_helper):
30858         * gst/elements/gsttypefindelement.c:
30859         (gst_type_find_element_have_type), (gst_type_find_element_init),
30860         (stop_typefinding), (gst_type_find_element_handle_event),
30861         (find_suggest), (gst_type_find_element_chain),
30862         (gst_type_find_element_checkgetrange),
30863         (gst_type_find_element_getrange), (do_typefind),
30864         (gst_type_find_element_activate):
30865         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30866         (gst_buffer_default_free), (gst_buffer_default_copy),
30867         (gst_buffer_set_caps):
30868         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30869         (gst_caps_replace):
30870         * gst/gstmessage.c: (gst_message_new),
30871         (gst_message_new_state_changed):
30872         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30873         (gst_pad_set_checkgetrange_function),
30874         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30875         (gst_pad_set_caps), (gst_pad_check_pull_range),
30876         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30877         * gst/gstpad.h:
30878         * gst/gsttypefind.c: (gst_type_find_register):
30879         Make gst_caps_replace() work like other _replace() functions.
30880         Use _caps_replace() where possible.
30881         Make sure _message_new() initialises its field.
30882         Add gst_static_pad_template_get_caps()
30883
30884
30885 2005-04-18  Andy Wingo  <wingo@pobox.com>
30886
30887         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30888         on the peer, not the pad. I think that was a typo. Pass an extra
30889         arg to see if random access is possible. Activate the pads as
30890         PULL_RANGE if possible.
30891
30892         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30893
30894         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30895         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30896         to PROP_....
30897
30898 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30899
30900         * docs/faq/using.xml:
30901           Add note on gstreamer-properties (#154996).
30902
30903 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30904
30905         * docs/random/bbb/optional-properties:
30906           Some analysis on optional properties.
30907
30908 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30909
30910         * docs/gst/tmpl/gstelementfactory.sgml:
30911         * gst/gstelement.h:
30912         * gst/gstelementfactory.c: (gst_element_factory_init),
30913         (gst_element_factory_cleanup), (gst_element_register),
30914         (__gst_element_factory_add_static_pad_template),
30915         (gst_element_factory_get_static_pad_templates),
30916         (gst_element_factory_can_src_caps),
30917         (gst_element_factory_can_sink_caps):
30918         * gst/registries/Makefile.am:
30919         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30920         (gst_xml_registry_class_init), (gst_xml_registry_init),
30921         (gst_xml_registry_new), (gst_xml_registry_set_property),
30922         (gst_xml_registry_get_property), (get_time), (make_dir),
30923         (gst_xml_registry_get_perms_func),
30924         (plugin_times_older_than_recurse), (plugin_times_older_than),
30925         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30926         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30927         (add_to_char_array), (read_string), (read_uint), (read_enum),
30928         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30929         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30930         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30931         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30932         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30933         (gst_xml_registry_rebuild):
30934         * gst/registries/gstlibxmlregistry.h:
30935         * tools/gst-compprep.c: (main):
30936         * tools/gst-inspect.c: (print_pad_templates_info):
30937         * tools/gst-xmlinspect.c: (print_element_info):
30938           Use libxml2 for registry parsing, use staticpadtemplates in
30939           elementfactories. Makes gst_init() +/- 10x faster.
30940
30941 2005-04-12  Wim Taymans  <wim@fluendo.com>
30942
30943         * gst/base/Makefile.am:
30944         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30945         (gst_basesink_pad_getcaps), (gst_basesink_init),
30946         (gst_basesink_event), (gst_basesink_change_state):
30947         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30948         (gst_basesrc_init), (gst_basesrc_query),
30949         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30950         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30951         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30952         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30953         (gst_basesrc_stop), (gst_basesrc_activate),
30954         (gst_basesrc_change_state):
30955         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30956         (helper_find_suggest), (gst_type_find_helper):
30957         * gst/base/gsttypefindhelper.h:
30958         * gst/elements/Makefile.am:
30959         * gst/elements/gstelements.c:
30960         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30961         (gst_fakesink_get_times), (gst_fakesink_event),
30962         (gst_fakesink_preroll), (gst_fakesink_render):
30963         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30964         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30965         (gst_fakesrc_get_property), (gst_fakesrc_create),
30966         (gst_fakesrc_start), (gst_fakesrc_stop):
30967         * gst/elements/gstfakesrc.h:
30968         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30969         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30970         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30971         (gst_filesrc_create_read), (gst_filesrc_create),
30972         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30973         (gst_filesrc_start):
30974         * gst/elements/gsttypefindelement.c:
30975         (gst_type_find_element_have_type), (gst_type_find_element_init),
30976         (start_typefinding), (stop_typefinding), (push_buffer_store),
30977         (gst_type_find_element_handle_event),
30978         (gst_type_find_element_chain),
30979         (gst_type_find_element_checkgetrange),
30980         (gst_type_find_element_getrange), (do_typefind),
30981         (gst_type_find_element_activate),
30982         (gst_type_find_element_change_state):
30983         * gst/elements/gsttypefindelement.h:
30984         * gst/gstpipeline.c: (pipeline_bus_handler):
30985         Added typefind helper.
30986         Small preroll fix in the base sink.
30987         Disable typefind code in basesrc.
30988         Crude port of typefindelement.
30989         Fakesrc cleanups.
30990
30991
30992 2005-04-11  Wim Taymans  <wim@fluendo.com>
30993
30994         * check/gst/gstbus.c: (gstbus_suite):
30995         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30996         * check/gstcheck.h:
30997           Fix up the timeout so that the test does not fail.
30998
30999 2005-04-06  Wim Taymans  <wim@fluendo.com>
31000
31001         * gst/base/README:
31002         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31003         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31004         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31005         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31006         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31007         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31008         (gst_basesrc_stop), (gst_basesrc_activate),
31009         (gst_basesrc_change_state), (basesrc_find_peek),
31010         (basesrc_find_suggest), (gst_basesrc_type_find):
31011         * gst/base/gstbasesrc.h:
31012         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31013         (gst_filesrc_class_init), (gst_filesrc_init),
31014         (gst_filesrc_finalize), (gst_filesrc_set_location),
31015         (gst_filesrc_set_property), (gst_filesrc_get_property),
31016         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31017         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31018         (gst_filesrc_create_read), (gst_filesrc_create),
31019         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31020         * gst/elements/gstfilesrc.h:
31021         * gst/gstelement.c: (gst_element_get_state_func),
31022         (gst_element_lost_state), (gst_element_pads_activate):
31023         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31024         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31025         (gst_pad_pull_range):
31026         * gst/gstpad.h:
31027         More work on the generic source base class, implement seeking,
31028         query.
31029         Make filesrc extend the base source class.
31030         Added gst_pad_set_checkgetrange_function to GstPad.
31031
31032 2005-04-06  Andy Wingo  <wingo@pobox.com>
31033
31034         * pkgconfig/gstreamer-base.pc.in:
31035         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31036
31037         * pkgconfig/Makefile.am:
31038         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31039
31040 2005-04-04  Wim Taymans  <wim@fluendo.com>
31041
31042         * gst/base/Makefile.am:
31043         * gst/base/README:
31044         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31045         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31046         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31047         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31048         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31049         (gst_basesrc_base_init), (gst_basesrc_class_init),
31050         (gst_basesrc_init), (gst_basesrc_get_formats),
31051         (gst_basesrc_get_query_types), (gst_basesrc_query),
31052         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31053         (gst_basesrc_set_property), (gst_basesrc_get_property),
31054         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31055         (gst_basesrc_loop), (gst_basesrc_activate),
31056         (gst_basesrc_change_state):
31057         * gst/base/gstbasesrc.h:
31058         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31059         (gst_fakesrc_class_init), (gst_fakesrc_init),
31060         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31061         (gst_fakesrc_get_property), (gst_fakesrc_create):
31062         * gst/elements/gstfakesrc.h:
31063         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31064         (gst_filesrc_open_file), (gst_filesrc_loop),
31065         (gst_filesrc_activate), (filesrc_find_peek),
31066         (gst_filesrc_type_find):
31067         Made base source class, make fakesrc extend it.
31068         Add comments to basesink class.
31069         Some filesrc cleanup.
31070
31071 2005-03-31  David Schleef  <ds@schleef.org>
31072
31073         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31074         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31075         expected to link against libgstreamer.
31076         * gst/base/Makefile.am: link against libgstreamer
31077         * gst/elements/Makefile.am: same
31078
31079 2005-03-31  Andy Wingo  <wingo@pobox.com>
31080
31081         * tests/instantiate/Makefile.am:
31082         * tests/instantiate/caps.c: Add test to test speed of caps copy
31083         and free.
31084
31085         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31086         GMemChunk to be fair.
31087
31088         * gst/gsttrashstack.h: Remove warning about using the fallback
31089         trash stack implementation, it's still faster than malloc.
31090
31091 2005-03-30  Andy Wingo  <wingo@pobox.com>
31092
31093         * tests/complexity.c: Add a copyright.
31094
31095 2005-03-31  Wim Taymans  <wim@fluendo.com>
31096
31097         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31098         (gst_base_transform_class_init), (gst_base_transform_init),
31099         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31100         (gst_base_transform_get_property),
31101         (gst_base_transform_sink_activate),
31102         (gst_base_transform_src_activate),
31103         (gst_base_transform_change_state):
31104         * gst/base/gstbasetransform.h:
31105         * gst/elements/gstidentity.c: (gst_identity_class_init),
31106         (gst_identity_event), (gst_identity_check_perfect),
31107         (gst_identity_transform), (gst_identity_start),
31108         (gst_identity_stop):
31109         Added start/stop methods to transform base class so subclasses 
31110         don't need to deal with state changes even.
31111
31112 2005-03-31  Wim Taymans  <wim@fluendo.com>
31113
31114         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31115         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31116         * gst/gstevent.h:
31117         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31118         (gst_pad_pull_range):
31119         Added rate to the discont event to prepare for variable speed
31120         and reverse playback.
31121
31122 2005-03-29  David Schleef  <ds@schleef.org>
31123
31124         * configure.ac:
31125         * testsuite/trigger/Makefile.am:
31126         * testsuite/trigger/trigger.c: A little example program to show
31127         how trigger-based elements can work.
31128
31129 2005-03-29  Wim Taymans  <wim@fluendo.com>
31130
31131         * gst/base/Makefile.am:
31132         * gst/base/README:
31133         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31134         (gst_basesink_base_init), (gst_basesink_class_init),
31135         (gst_basesink_pad_getcaps), (gst_basesink_init),
31136         (gst_basesink_activate), (gst_basesink_change_state):
31137         * gst/base/gstbasesink.h:
31138         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31139         (gst_base_transform_base_init), (gst_base_transform_finalize),
31140         (gst_base_transform_class_init), (gst_base_transform_init),
31141         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31142         (gst_base_transform_event), (gst_base_transform_getrange),
31143         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31144         (gst_base_transform_set_property),
31145         (gst_base_transform_get_property),
31146         (gst_base_transform_sink_activate),
31147         (gst_base_transform_src_activate),
31148         (gst_base_transform_change_state):
31149         * gst/base/gstbasetransform.h:
31150         * gst/elements/gstidentity.c: (gst_identity_finalize),
31151         (gst_identity_class_init), (gst_identity_init),
31152         (gst_identity_event), (gst_identity_check_perfect),
31153         (gst_identity_transform), (gst_identity_set_property),
31154         (gst_identity_get_property), (gst_identity_change_state):
31155         * gst/elements/gstidentity.h:
31156         * gst/gstelement.c: (gst_element_get_state_func),
31157         (gst_element_lost_state), (gst_element_pads_activate):
31158         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31159         (gst_pad_check_pull_range), (gst_pad_pull_range):
31160         * gst/gstpad.h:
31161         Simplify pad activation.
31162         Added function to check if pull_range can be performed.
31163         Error out when pulling inactive or flushing pads.
31164         Removed const from refcounted types as it does not make sense.
31165         Simplify pad templates in basesink
31166         Added base class for simple 1-to-1 transforms.
31167         Make identity subclass the base transform.
31168
31169 2005-03-29  Andy Wingo  <wingo@pobox.com>
31170
31171         * docs/libs/gstreamer-libs-overrides.txt: 
31172         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31173         really don't understand what's going on, but like whatever. I want
31174         green buildbot!
31175
31176         * docs/gst/Makefile.am:
31177         * docs/libs/Makefile.am: Dist the overrides files.
31178
31179         * check/Makefile.am (clean-local): Remove .libs directories.
31180
31181         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31182         elements to EXTRA_DIST, so po/ files are happy.
31183
31184         * po/POTFILES.in: Er, remove it here.
31185
31186         * po/POTFILES: Remove gstspider.c.
31187
31188         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31189
31190         * docs/libs/gstreamer-libs-docs.sgml: 
31191         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31192         bytestream.
31193
31194         * tests/complexity.c (main): Set the length of the preroll queue
31195         on the sinks to prevent a lockup.
31196
31197         * libs/gst/dataprotocol/Makefile.am: 
31198         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31199         the same as the one in check/gst-libs/gdp.c.
31200
31201         * po/, docs/gst/: Commit automatic changes to docs and po files.
31202
31203         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31204         the versioned libgstbase.
31205
31206         * check/Makefile.am: Depend on an unversioned gst-register, seems
31207         to make autoconf happier.
31208
31209         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31210
31211 2005-03-28  Wim Taymans  <wim@fluendo.com>
31212
31213         * configure.ac:
31214         * docs/design/part-gstelement.txt:
31215         * docs/design/part-negotiation.txt:
31216         * docs/design/part-preroll.txt:
31217         * docs/design/part-scheduling.txt:
31218         * docs/design/part-states.txt:
31219         * gst/Makefile.am:
31220         * gst/base/Makefile.am:
31221         * gst/base/README:
31222         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31223         (gst_basesink_base_init), (gst_basesink_class_init),
31224         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31225         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31226         (gst_basesink_set_pad_functions),
31227         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31228         (gst_basesink_set_property), (gst_basesink_get_property),
31229         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31230         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31231         (gst_basesink_preroll_queue_push),
31232         (gst_basesink_preroll_queue_empty),
31233         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31234         (gst_basesink_event), (gst_basesink_get_times),
31235         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31236         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31237         (gst_basesink_loop), (gst_basesink_activate),
31238         (gst_basesink_change_state):
31239         * gst/base/gstbasesink.h:
31240         * gst/elements/Makefile.am:
31241         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31242         (gst_fakesink_class_init), (gst_fakesink_init),
31243         (gst_fakesink_set_property), (gst_fakesink_get_property),
31244         (gst_fakesink_get_times), (gst_fakesink_event),
31245         (gst_fakesink_preroll), (gst_fakesink_render),
31246         (gst_fakesink_change_state):
31247         * gst/elements/gstfakesink.h:
31248         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31249         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31250         * gst/gstelement.c: (gst_element_add_pad),
31251         (gst_element_get_state_func), (gst_element_abort_state),
31252         (gst_element_commit_state), (gst_element_lost_state),
31253         (gst_element_set_state), (gst_element_pads_activate):
31254         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31255         * gst/gstpipeline.c: (gst_pipeline_send_event),
31256         (gst_pipeline_change_state):
31257         Added state change code.
31258         Added/updated docs.
31259         Added sink base class, make fakesink extend the base class.
31260         Small cleanups in GstPipeline.
31261
31262 2005-03-26  David Schleef  <ds@schleef.org>
31263
31264         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31265         is broken and should be implemented in a different library.
31266         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31267         * gst/gst.h: remove gstcpu.h
31268         * gst/gstcpu.c: remove
31269         * gst/gstcpu.h: remove
31270         * gst/Makefile.am.future: Remove this file.  It's ancient.
31271
31272 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31273
31274         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31275         (gst_bin_send_event):
31276           Add default event/set_manager handlers. The set_manager handler
31277           takes care that the manager is distributed over kids that were
31278           already in the bin before the manager was set. The event handler
31279           is a utility virtual function that sends the event over all sinks,
31280           so that gst_element_send_event (bin, event); has the expected
31281           behaviour.
31282         * gst/gstpad.c: (gst_pad_event_default):
31283           Re-install default event handling for discontinuities, so that
31284           seeking works without requiring hacks in applications or extra
31285           code in sinks.
31286         * gst/gstpipeline.c: (gst_pipeline_class_init),
31287         (gst_pipeline_send_event):
31288           Half hack, half utility: set a pipeline to PAUSED for seek events,
31289           since that is the only way we can guarantee a/v sync. Means that
31290           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31291           and it "just works".
31292
31293 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31294
31295         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31296           Lock/unlock mismatch.
31297
31298 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31299
31300         * docs/faq/gst-uninstalled:
31301           add gst-plugins-base
31302         * docs/gst/Makefile.am:
31303           don't error out until docs are fixed
31304         * docs/gst/gstreamer.types:
31305           remove thread
31306
31307 2005-03-22  Wim Taymans  <wim@fluendo.com>
31308
31309         * check/Makefile.am:
31310         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31311         * gst/gststructure.c: (gst_structure_set_valist),
31312         (gst_structure_copy_conditional):
31313         Activated more tests.
31314         Added message test.
31315         Added G_TYPE_POINTER to GstStructure.
31316         
31317
31318 2005-03-22  Wim Taymans  <wim@fluendo.com>
31319
31320         * docs/design/part-TODO.txt:
31321         * docs/design/part-events.txt:
31322         * docs/design/part-gstbin.txt:
31323         * docs/design/part-gstbus.txt:
31324         * docs/design/part-gstpipeline.txt:
31325         * docs/design/part-messages.txt:
31326         * gst/gstbus.c:
31327         * gst/gstmessage.c:
31328         Docs updates
31329
31330 2005-03-21  Wim Taymans  <wim@fluendo.com>
31331
31332         * gst/gstbus.c: (gst_bus_post):
31333         Fix copy-and-paste error.
31334
31335 2005-03-21  Wim Taymans  <wim@fluendo.com>
31336
31337         * check/Makefile.am:
31338         * gst/Makefile.am:
31339         * gst/elements/Makefile.am:
31340         * gst/elements/gstelements.c:
31341         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31342         (gst_fakesink_event), (gst_fakesink_chain):
31343         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31344         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31345         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31346         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31347         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31348         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31349         (gst_fakesrc_loop), (gst_fakesrc_activate),
31350         (gst_fakesrc_change_state):
31351         * gst/elements/gstfakesrc.h:
31352         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31353         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31354         (gst_filesrc_open_file), (gst_filesrc_loop),
31355         (gst_filesrc_activate), (gst_filesrc_change_state),
31356         (filesrc_find_peek), (filesrc_find_suggest),
31357         (gst_filesrc_type_find):
31358         * gst/elements/gstidentity.c: (gst_identity_finalize),
31359         (gst_identity_class_init), (gst_identity_init),
31360         (gst_identity_proxy_getcaps), (identity_queue_push),
31361         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31362         (gst_identity_getrange), (gst_identity_chain),
31363         (gst_identity_sink_loop), (gst_identity_src_loop),
31364         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31365         (gst_identity_set_property), (gst_identity_get_property),
31366         (gst_identity_change_state):
31367         * gst/elements/gstidentity.h:
31368         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31369         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31370         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31371         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31372         (gst_tee_sink_activate):
31373         * gst/elements/gsttee.h:
31374         * gst/gst.c: (gst_register_core_elements), (init_post):
31375         * gst/gst.h:
31376         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31377         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31378         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31379         (gst_bin_change_state):
31380         * gst/gstbin.h:
31381         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31382         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31383         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31384         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31385         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31386         (bus_watch_callback), (bus_watch_destroy),
31387         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31388         (poll_timeout), (gst_bus_poll):
31389         * gst/gstbus.h:
31390         * gst/gstcaps.h:
31391         * gst/gstdata.h:
31392         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31393         (gst_element_post_message), (gst_element_message_full),
31394         (gst_element_get_state_func), (gst_element_get_state),
31395         (gst_element_abort_state), (gst_element_commit_state),
31396         (gst_element_lost_state), (gst_element_set_state),
31397         (gst_element_pads_activate), (gst_element_change_state),
31398         (gst_element_dispose), (gst_element_set_manager_func),
31399         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31400         (gst_element_set_manager), (gst_element_get_manager),
31401         (gst_element_set_bus), (gst_element_get_bus),
31402         (gst_element_set_scheduler), (gst_element_get_scheduler):
31403         * gst/gstelement.h:
31404         * gst/gstevent.c: (gst_event_new_segment_seek),
31405         (gst_event_new_flush):
31406         * gst/gstevent.h:
31407         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31408         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31409         (gst_message_new_eos), (gst_message_new_error),
31410         (gst_message_new_warning), (gst_message_new_tag),
31411         (gst_message_new_state_changed), (gst_message_new_application),
31412         (gst_message_get_structure), (gst_message_parse_tag),
31413         (gst_message_parse_state_changed), (gst_message_parse_error),
31414         (gst_message_parse_warning):
31415         * gst/gstmessage.h:
31416         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31417         (gst_real_pad_set_property), (gst_pad_set_active),
31418         (gst_pad_is_active), (gst_pad_set_blocked_async),
31419         (gst_pad_set_blocked), (gst_pad_is_blocked),
31420         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31421         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31422         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31423         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31424         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31425         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31426         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31427         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31428         (gst_pad_set_caps), (gst_pad_configure_sink),
31429         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31430         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31431         (gst_real_pad_dispose), (gst_real_pad_finalize),
31432         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31433         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31434         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31435         * gst/gstpad.h:
31436         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31437         (pipeline_bus_handler), (gst_pipeline_change_state),
31438         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31439         * gst/gstpipeline.h:
31440         * gst/gstprobe.h:
31441         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31442         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31443         (gst_queue_link_src), (gst_queue_bufferalloc),
31444         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31445         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31446         (gst_queue_loop), (gst_queue_handle_src_event),
31447         (gst_queue_handle_src_query), (gst_queue_src_activate),
31448         (gst_queue_change_state):
31449         * gst/gstqueue.h:
31450         * gst/gstscheduler.c: (gst_scheduler_init),
31451         (gst_scheduler_dispose), (gst_scheduler_create_task),
31452         (gst_scheduler_factory_create):
31453         * gst/gstscheduler.h:
31454         * gst/gststructure.c: (gst_structure_get_type),
31455         (gst_structure_copy_conditional):
31456         * gst/gststructure.h:
31457         * gst/gsttaginterface.h:
31458         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31459         (gst_task_init), (gst_task_dispose), (gst_task_create),
31460         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31461         (gst_task_pause):
31462         * gst/gsttask.h:
31463         * gst/gstthread.c:
31464         * gst/gstthread.h:
31465         * gst/gsttypes.h:
31466         * gst/schedulers/Makefile.am:
31467         * gst/schedulers/cothreads_compat.h:
31468         * gst/schedulers/entryscheduler.c:
31469         * gst/schedulers/faircothreads.c:
31470         * gst/schedulers/faircothreads.h:
31471         * gst/schedulers/fairscheduler.c:
31472         * gst/schedulers/gstbasicscheduler.c:
31473         * gst/schedulers/gstoptimalscheduler.c:
31474         * gst/schedulers/gthread-cothreads.h:
31475         * gst/schedulers/threadscheduler.c:
31476         (gst_thread_scheduler_task_get_type),
31477         (gst_thread_scheduler_task_class_init),
31478         (gst_thread_scheduler_task_init),
31479         (gst_thread_scheduler_task_start),
31480         (gst_thread_scheduler_task_stop),
31481         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31482         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31483         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31484         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31485         (plugin_init):
31486         * libs/gst/Makefile.am:
31487         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31488         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31489         (gst_file_pad_parent_set):
31490         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31491         (gst_dp_event_from_packet):
31492         * tests/complexity.c: (main):
31493         * tests/mass_elements.c: (main):
31494         * testsuite/states/locked.c: (message_received), (main):
31495         * testsuite/states/parent.c: (main):
31496         * tools/gst-inspect.c: (print_element_flag_info),
31497         (print_implementation_info), (print_pad_info):
31498         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31499         (main):
31500         * tools/gst-md5sum.c: (event_loop), (main):
31501         * tools/gst-typefind.c: (main):
31502         * tools/gst-xmlinspect.c: (print_element_info):
31503         Next big merge.
31504         Added GstBus for mainloop integration.
31505         Added GstMessage for sending notifications on the bus.
31506         Added GstTask as an abstraction for pipeline entry points.
31507         Removed GstThread.
31508         Removed Schedulers.
31509         Simplified GstQueue for multithreaded core.
31510         Made _link threadsafe, removed old capsnego.
31511         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31512         Added pad blocking functions.
31513         Reworked scheduling functions in GstPad to prepare for
31514         scheduling updates soon.
31515         Moved events out of data stream.
31516         Simplified GstEvent types.
31517         Added return values to push/pull.
31518         Removed clocking from GstElement.
31519         Added prototypes for state change function for next merge.
31520         Removed iterate from bins and state change management.
31521         Fixed some elements, disabled others for now.
31522         Fixed -inspect and -launch.
31523         Added check for GstBus.
31524
31525 2005-03-10  Wim Taymans  <wim@fluendo.com>
31526
31527         * docs/design/part-MT-refcounting.txt:
31528         * docs/design/part-clocks.txt:
31529         * docs/design/part-gstelement.txt:
31530         * docs/design/part-gstobject.txt:
31531         * docs/design/part-standards.txt:
31532         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31533         (gst_bin_remove_func), (gst_bin_remove):
31534         * gst/gstbin.h:
31535         * gst/gstbuffer.c:
31536         * gst/gstcaps.h:
31537         * testsuite/clock/clock1.c: (main):
31538         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31539         (main):
31540         * testsuite/dlopen/loadgst.c: (do_test):
31541         * testsuite/refcounting/bin.c: (add_remove_test1),
31542         (add_remove_test2), (main):
31543         * testsuite/refcounting/element.c: (main):
31544         * testsuite/refcounting/element_pad.c: (main):
31545         * testsuite/refcounting/pad.c: (main):
31546         * tools/gst-launch.c: (sigint_handler_sighandler):
31547         * tools/gst-typefind.c: (main):
31548         Doc updates.
31549         Added doc about clock.
31550         removed gst_bin_iterate_recurse_up(), marked methods
31551         for removal.
31552         Fix more testsuites.
31553
31554 2005-03-09  Wim Taymans  <wim@fluendo.com>
31555
31556         * gst/gstpad.c: (gst_pad_get_direction),
31557         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31558         (gst_pad_collect_valist):
31559         * testsuite/bins/interface.c: (main):
31560         * testsuite/caps/audioscale.c: (test_caps):
31561         * testsuite/caps/caps.c: (test1), (test2), (test3):
31562         * testsuite/caps/deserialize.c: (main):
31563         * testsuite/caps/enumcaps.c: (main):
31564         * testsuite/caps/filtercaps.c: (main):
31565         * testsuite/caps/intersect2.c: (main):
31566         * testsuite/caps/random.c: (main):
31567         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31568         * testsuite/caps/sets.c: (check_caps):
31569         * testsuite/caps/simplify.c: (check_caps), (main):
31570         * testsuite/caps/subtract.c: (check_caps):
31571         Fix _pad_get_direction wrt ghostpads.
31572         Fix caps testsuite.
31573
31574 2005-03-09  Wim Taymans  <wim@fluendo.com>
31575
31576         * check/Makefile.am:
31577         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31578         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31579         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31580         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31581         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31582         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31583         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31584         (bin_element_is_sink), (gst_bin_iterate_sinks),
31585         (gst_bin_iterate_all_by_interface):
31586         * gst/gstbin.h:
31587         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31588         (gst_element_change_state), (gst_element_dispose),
31589         (gst_element_finalize), (gst_element_set_loop_function):
31590         * gst/gstelement.h:
31591         * gst/gstiterator.c: (find_custom_fold_func):
31592         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31593         (gst_pad_collectv), (gst_pad_collect_valist),
31594         (gst_pad_template_new):
31595         * gst/gstpipeline.c: (gst_pipeline_class_init),
31596         (gst_pipeline_dispose), (gst_pipeline_set_property),
31597         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31598         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31599         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31600         * gst/gstutils.h:
31601         * gst/schedulers/entryscheduler.c:
31602         * gst/schedulers/gstbasicscheduler.c:
31603         (gst_basic_scheduler_cothreaded_chain),
31604         (gst_basic_scheduler_chain_add_element):
31605         * testsuite/bins/interface.c: (main):
31606         Added GstBin test.
31607         Added GstSystemClock test.
31608         Implemented clock distribution code in GstBin.
31609         Implemented iterate sinks method for future use.
31610         Rearranged gstelement.h
31611         Fix GstIterator comparison bug.
31612         Moved some code to GstPipeline, mostly clocking related.
31613
31614 2005-03-09  Wim Taymans  <wim@fluendo.com>
31615
31616         * configure.ac:
31617         * gst/gst_private.h:
31618         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31619         (gst_bin_remove_func), (gst_bin_remove),
31620         (gst_bin_get_by_name_recurse_up):
31621         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31622         (gst_clock_id_compare_func), (gst_clock_id_wait),
31623         (gst_clock_id_wait_async), (gst_clock_init),
31624         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31625         * gst/gstelement.h:
31626         * gst/gstinfo.c: (_gst_debug_init):
31627         * gst/gstobject.h:
31628         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31629         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31630         * gst/gstpad.h:
31631         Bump version number, we're now 0.9.0
31632         Add future debugging category.
31633         Fix NULL _unref() in _get_by_name_recurse_up
31634         Rearrange gstpad.h.
31635         Update some docs.
31636
31637 2005-03-08  Wim Taymans  <wim@fluendo.com>
31638
31639         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31640         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31641         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31642         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31643         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31644         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31645         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31646         * gst/elements/gstidentity.c: (gst_identity_class_init):
31647         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31648         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31649         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31650         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31651         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31652         (gst_tee_link):
31653         * gst/gstelement.c: (gst_element_class_init),
31654         (gst_element_base_class_init), (gst_element_init),
31655         (gst_element_get_random_pad), (gst_element_wait_state_change),
31656         (gst_element_change_state), (gst_element_dispose),
31657         (gst_element_finalize), (gst_element_set_loop_function):
31658         * gst/gstelement.h:
31659         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31660         * gst/gstthread.c: (gst_thread_class_init),
31661         (gst_thread_release_children_locks), (gst_thread_change_state):
31662         * gst/schedulers/gstbasicscheduler.c:
31663         (gst_basic_scheduler_loopfunc_wrapper),
31664         (gst_basic_scheduler_chain_wrapper),
31665         (gst_basic_scheduler_src_wrapper),
31666         (gst_basic_scheduler_remove_element):
31667         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31668         Remove threadsafe properties. Fix elements because GObject
31669         complains when installing a property before declaring a
31670         set/get_property handler.
31671         Rearrange gstelement.h file, use STATE macros for state locks.
31672         Free mutexes in the finalize method instead of dispose.
31673
31674 2005-03-08  Wim Taymans  <wim@fluendo.com>
31675
31676         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31677         * gst/gstthread.c: (gst_thread_release_children_locks):
31678         Added parentage check.
31679         Fix build og GstThread again.
31680
31681 2005-03-08  Wim Taymans  <wim@fluendo.com>
31682
31683         * docs/design/part-MT-refcounting.txt:
31684         * docs/design/part-conventions.txt:
31685         * docs/design/part-gstobject.txt:
31686         * docs/design/part-relations.txt:
31687         * docs/design/part-standards.txt:
31688         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31689         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31690         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31691         (gst_bin_iterate_all_by_interface):
31692         * gst/gstbuffer.h:
31693         * gst/gstclock.h:
31694         * gst/gstelement.c: (gst_element_class_init),
31695         (gst_element_change_state), (gst_element_set_loop_function):
31696         * gst/gstelement.h:
31697         * gst/gstiterator.c:
31698         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31699         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31700         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31701         (gst_object_set_parent), (gst_object_unparent),
31702         (gst_object_check_uniqueness):
31703         * gst/gstobject.h:
31704         Docs updates, clean up some headers.
31705
31706 2005-03-07  Wim Taymans  <wim@fluendo.com>
31707
31708         * check/.cvsignore:
31709         * check/Makefile.am:
31710         * check/gst-libs/.cvsignore:
31711         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31712         * check/gst/.cvsignore:
31713         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31714         (START_TEST), (gstbus_suite), (main):
31715         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31716         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31717         (gst_data_suite), (main):
31718         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31719         (add_fold_func), (gstiterator_suite), (main):
31720         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31721         (thread_name_object), (thread_name_object_default),
31722         (gst_object_name_compare), (gst_object_suite), (main):
31723         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31724         (gst_pad_suite), (main):
31725         * check/gstcheck.c: (gst_check_log_message_func),
31726         (gst_check_log_critical_func), (gst_check_init):
31727         * check/gstcheck.h:
31728         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31729         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31730         Added checks.
31731
31732 2005-03-07  Wim Taymans  <wim@fluendo.com>
31733
31734         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31735         (gst_list_iterator_next), (gst_list_iterator_resync),
31736         (gst_list_iterator_free), (gst_iterator_new_list),
31737         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31738         (gst_iterator_free), (gst_iterator_push), (filter_next),
31739         (filter_resync), (filter_uninit), (filter_free),
31740         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31741         (gst_iterator_foreach), (find_custom_fold_func),
31742         (gst_iterator_find_custom):
31743         * gst/gstiterator.h:
31744         Added missing files.
31745
31746 2005-03-07  Wim Taymans  <wim@fluendo.com>
31747
31748         * Makefile.am:
31749         * configure.ac:
31750         * docs/design/part-MT-refcounting.txt:
31751         * docs/design/part-conventions.txt:
31752         * docs/design/part-gstobject.txt:
31753         * docs/design/part-relations.txt:
31754         * examples/mixer/mixer.c: (main):
31755         * examples/thread/thread.c: (eos), (main):
31756         * gst/Makefile.am:
31757         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31758         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31759         (gst_spider_plug_from_srcpad):
31760         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31761         (gst_spider_identity_change_state),
31762         (gst_spider_identity_sink_loop_type_finding):
31763         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31764         * gst/elements/gstidentity.c: (gst_identity_init):
31765         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31766         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31767         * gst/elements/gsttypefindelement.c: (free_entry):
31768         * gst/gst.c:
31769         * gst/gst.h:
31770         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31771         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31772         (gst_bin_set_index), (gst_bin_set_element_sched),
31773         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31774         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31775         (gst_bin_iterate_elements), (iterate_child_recurse),
31776         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31777         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31778         (compare_interface), (gst_bin_get_by_interface),
31779         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31780         * gst/gstbin.h:
31781         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31782         (gst_buffer_default_free), (gst_buffer_default_copy),
31783         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31784         (gst_buffer_create_sub):
31785         * gst/gstbuffer.h:
31786         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31787         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31788         (gst_caps_unref), (gst_static_caps_get),
31789         (gst_caps_remove_and_get_structure), (gst_caps_append),
31790         (gst_caps_append_structure), (gst_caps_remove_structure),
31791         (gst_caps_copy_nth), (gst_caps_set_simple),
31792         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31793         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31794         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31795         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31796         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31797         (gst_caps_structure_figure_out_union),
31798         (gst_caps_switch_structures), (gst_caps_do_simplify),
31799         (gst_caps_replace), (gst_caps_from_string),
31800         (gst_caps_copy_conditional):
31801         * gst/gstcaps.h:
31802         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31803         (_gst_clock_id_free), (gst_clock_id_unref),
31804         (gst_clock_id_compare_func), (gst_clock_id_wait),
31805         (gst_clock_id_wait_async), (gst_clock_class_init),
31806         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31807         (gst_clock_get_time), (gst_clock_set_time_adjust),
31808         (gst_clock_set_property), (gst_clock_get_property):
31809         * gst/gstclock.h:
31810         * gst/gstcompat.h:
31811         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31812         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31813         * gst/gstdata.h:
31814         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31815         (gst_element_requires_clock), (gst_element_provides_clock),
31816         (gst_element_set_clock), (gst_element_clock_wait),
31817         (gst_element_wait), (gst_element_set_time_delay),
31818         (gst_element_is_indexable), (gst_element_add_pad),
31819         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31820         (pad_compare_name), (gst_element_get_static_pad),
31821         (gst_element_request_pad), (gst_element_get_request_pad),
31822         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31823         (gst_element_class_get_pad_template_list),
31824         (gst_element_class_get_pad_template), (gst_element_error_func),
31825         (gst_element_get_random_pad), (gst_element_get_event_masks),
31826         (gst_element_send_event), (gst_element_seek),
31827         (gst_element_get_query_types), (gst_element_query),
31828         (gst_element_get_formats), (gst_element_convert),
31829         (gst_element_is_locked_state), (gst_element_set_locked_state),
31830         (gst_element_sync_state_with_parent), (gst_element_change_state),
31831         (gst_element_finalize), (gst_element_yield),
31832         (gst_element_interrupt), (gst_element_set_scheduler),
31833         (gst_element_get_scheduler), (gst_element_set_loop_function):
31834         * gst/gstelement.h:
31835         * gst/gstevent.h:
31836         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31837         (gst_format_get_by_nick), (gst_format_get_details),
31838         (gst_format_iterate_definitions):
31839         * gst/gstformat.h:
31840         * gst/gstindex.c: (gst_index_gtype_resolver):
31841         * gst/gstinfo.c:
31842         * gst/gstinfo.h:
31843         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31844         (gst_mem_chunk_free):
31845         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31846         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31847         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31848         (gst_object_dispatch_properties_changed),
31849         (gst_object_set_name_default), (gst_object_set_name),
31850         (gst_object_get_name), (gst_object_set_name_prefix),
31851         (gst_object_get_name_prefix), (gst_object_set_parent),
31852         (gst_object_get_parent), (gst_object_unparent),
31853         (gst_object_check_uniqueness), (gst_object_save_thyself),
31854         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31855         (gst_object_set_property), (gst_object_get_property),
31856         (gst_object_get_path_string):
31857         * gst/gstobject.h:
31858         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31859         (gst_real_pad_init), (gst_real_pad_get_property),
31860         (gst_pad_custom_new), (gst_pad_get_direction),
31861         (gst_pad_set_active), (gst_pad_is_active),
31862         (gst_pad_set_event_function), (gst_pad_is_linked),
31863         (gst_pad_link_free), (gst_pad_link_intersect),
31864         (gst_pad_link_fixate), (gst_pad_set_caps),
31865         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31866         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31867         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31868         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31869         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31870         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31871         (gst_pad_realize), (gst_pad_get_allowed_caps),
31872         (gst_real_pad_dispose), (gst_real_pad_finalize),
31873         (gst_pad_collectv), (gst_pad_collect_valist),
31874         (gst_pad_template_dispose), (gst_pad_template_new),
31875         (gst_pad_get_internal_links):
31876         * gst/gstpad.h:
31877         * gst/gstpipeline.c: (gst_pipeline_dispose),
31878         (gst_pipeline_change_state):
31879         * gst/gstpipeline.h:
31880         * gst/gstplugin.c:
31881         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31882         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31883         * gst/gstpluginfeature.h:
31884         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31885         * gst/gstquery.c: (_gst_query_type_initialize),
31886         (gst_query_type_register), (gst_query_type_get_by_nick),
31887         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31888         * gst/gstquery.h:
31889         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31890         * gst/gstscheduler.c: (gst_scheduler_add_element),
31891         (gst_scheduler_factory_create):
31892         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31893         (gst_structure_free), (gst_structure_set_name),
31894         (gst_structure_id_set_value), (gst_structure_set_value),
31895         (gst_structure_set_valist), (gst_structure_remove_field),
31896         (gst_structure_remove_fields),
31897         (gst_structure_remove_fields_valist),
31898         (gst_structure_remove_all_fields), (gst_structure_foreach),
31899         (gst_structure_map_in_place),
31900         (gst_caps_structure_fixate_field_nearest_int),
31901         (gst_caps_structure_fixate_field_nearest_double):
31902         * gst/gststructure.h:
31903         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31904         (gst_system_clock_init), (gst_system_clock_dispose),
31905         (gst_system_clock_async_thread),
31906         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31907         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31908         * gst/gstsystemclock.h:
31909         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31910         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31911         * gst/gsttaginterface.c:
31912         * gst/gstthread.c: (gst_thread_dispose),
31913         (gst_thread_release_children_locks), (gst_thread_change_state),
31914         (gst_thread_main_loop):
31915         * gst/gsttrashstack.h:
31916         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31917         * gst/gsttypes.h:
31918         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31919         (gst_element_request_pad), (gst_element_get_pad_from_template),
31920         (gst_element_request_compatible_pad),
31921         (gst_element_get_compatible_pad_filtered),
31922         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31923         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31924         (gst_element_link_many), (gst_element_link),
31925         (gst_element_link_pads), (gst_element_unlink_pads),
31926         (gst_element_unlink_many), (gst_element_unlink),
31927         (gst_pad_can_link_filtered), (gst_pad_can_link),
31928         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31929         (gst_object_default_error), (gst_bin_add_many),
31930         (gst_bin_remove_many), (gst_element_populate_std_props),
31931         (gst_element_class_install_std_props), (gst_buffer_merge),
31932         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31933         (link_fold_func), (gst_pad_proxy_setcaps):
31934         * gst/gstutils.h:
31935         * gst/gstvalue.c: (gst_value_deserialize_string):
31936         * gst/parse/grammar.y:
31937         * gst/schedulers/gstbasicscheduler.c:
31938         (gst_basic_scheduler_cothreaded_chain),
31939         (gst_basic_scheduler_chain_recursive_add),
31940         (gst_basic_scheduler_pad_link):
31941         * gst/schedulers/gstoptimalscheduler.c:
31942         (get_group_schedule_function),
31943         (gst_opt_scheduler_state_transition),
31944         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31945         * libs/gst/bytestream/bytestream.c:
31946         * libs/gst/dataprotocol/dataprotocol.c:
31947         (gst_dp_header_from_buffer):
31948         * po/nb.po:
31949         * po/ru.po:
31950         * tests/threadstate/threadstate2.c: (eos):
31951         * tools/gst-compprep.c: (main):
31952         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31953         (print_pad_info), (print_children_info):
31954         * tools/gst-launch.c: (idle_func), (main):
31955         * tools/gst-md5sum.c: (idle_func), (main):
31956         * tools/gst-xmlinspect.c: (print_element_info):
31957         First THREADED backport attempt, focusing on adding locks and
31958         making sure the API is threadsafe. Needs more work. More docs
31959         follow this week.
31960
31961 2005-02-24  Andy Wingo  <wingo@pobox.com>
31962
31963         * tests/bench-complexity.scm:
31964         * tests/complexity.gnuplot: New files, good for running complexity
31965         benchmarks.
31966
31967         * tests/Makefile.am:
31968         * tests/complexity.c: New test, sets up N elements, at each level
31969         teeing into M streams per element. Eeeenteresting.
31970
31971         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31972         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31973         running bench-mass_elements.scm.
31974
31975         * tests/bench-mass_elements.scm: New script, runs mass_elements
31976         for various numbers of identities, outputting the results to a
31977         file. Requires guile 1.6. Just for testing.
31978
31979 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31980
31981         * gst/schedulers/fairscheduler.c:
31982           compile with debug disabled
31983
31984 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31985
31986         * configure.ac:
31987           hunting season on 0.9 is now OPEN