plugins/elements/gstidentity.c: Don't warning on offset==-1. Taken from _check_imperf...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
2
3         * plugins/elements/gstidentity.c:
4         Don't warning on offset==-1. Taken from _check_imperfect_offset().
5
6 2008-11-21  Michael Smith <msmith@songbirdnest.com>
7
8         * plugins/elements/gstfilesrc.c:
9           Check for localhost in URI was backwards, fix it. Fixes unit test.
10
11 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
12
13         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
14         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
15         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
16         Add beginnings of a more optimized acceptcaps function than the default
17         core one.
18
19 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
20
21         * gst/gstpad.c: (gst_pad_accept_caps):
22         Avoid getting the acceptcaps function too early.
23
24 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
25
26         * tools/gst-launch.c: (event_loop):
27         Make gst-launch handle LATENCY messages and make it recalculate the
28         latency.
29
30 2008-11-20  Michael Smith <msmith@songbirdnest.com>
31
32         * plugins/elements/gstfilesrc.c:
33           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
34           out own slightly incorrect version. Fixes use of some paths on
35           win32.
36
37 2008-11-20  Michael Smith <msmith@songbirdnest.com>
38
39         * gst/gstregistrybinary.c:
40           In win32 codepath, if we fail to write the registry, create the
41           directory for it and try again, matching the behaviour in non-win32
42           codepaths.
43
44 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
45
46         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
47         Changing the render delay changes the latency and so we must post a
48         latency message.
49
50 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
51
52         * gst/gstquery.c:
53         * gst/gstquery.h:
54         Add GstQueryType for custom queries instead of having to use the
55         not-so-very-convenient registration infrastructure to register new
56         types.
57
58 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
59
60         Patch by: Andrew Feren <acferen at yahoo dot com>
61
62         * gst/gstobject.c: (gst_object_default_deep_notify):
63         Unref the GEnumClass after usage again. Fixes bug #561501.
64
65 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
66
67         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
68         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
69         (gst_bin_change_state_func):
70         * gst/gstbin.h:
71         Add do-latency signal with the old default fallback implementation. This
72         allows for custom latency calculations for when the default is not
73         sufficient.
74         API: GstBin::do-latency signal.
75
76 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
77
78         * win32/common/libgstreamer.def:
79         Add new symbols to .def file.
80
81 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
82
83         * docs/gst/gstreamer-sections.txt:
84         * gst/gstbin.c: (gst_bin_recalculate_latency),
85         (gst_bin_change_state_func):
86         * gst/gstbin.h:
87         Add method to recalculate and redistribute the latency on a bin.
88         API: gst_bin_recalculate_latency().
89
90 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
91
92         * gst/gstbuffer.h:
93         Document the free_func.
94
95 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
96
97         * libs/gst/controller/gstinterpolation.c:
98         * libs/gst/controller/gstlfocontrolsource.c:
99         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
100         as it is mapped to a cast on non-win32 platforms.
101
102 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
103
104         * libs/gst/controller/gstcontroller.c:
105         * libs/gst/controller/gstcontrollerprivate.h:
106           Keep last-value and only call set_property if value has changed. This
107           supresses all the g_object_notifies we would trigger otherwise. It
108           also allows the user to chage the value while there is no controller
109           change.
110
111 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
112
113         * gst/gstvalue.c:
114           Don't crash if either of the string GValues is empty.
115
116 2008-11-17  Andy Wingo  <wingo@pobox.com>
117
118         * tools/gst-inspect.c (print_all_uri_handlers): New function,
119         prints a summary of what URI schemes are supported by what
120         elements.
121         (main): Plumb in support for --uri-handlers or -u, and fix the
122         argc check for -a and -u.
123
124 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
125
126         * gst/gstutils.h:
127         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
128         conversion functions.
129
130 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
131
132         * gst/gstbuffer.c: (gst_buffer_finalize):
133         Avoid costly typechecking for trivially correct pointers.
134
135         * gst/gstpoll.c: (gst_poll_wait):
136         Add some G_LIKELY here and there.
137
138         * libs/gst/base/gstadapter.c: (gst_adapter_push):
139         Add some debug info.
140
141 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
142
143         * docs/random/wtay/poll-timeout:
144         Small tweaks.
145
146 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
147
148         * tests/old/testsuite/caps/intersection.c: (main):
149         * tests/old/testsuite/plugin/loading.c: (main):
150         Remove references to deprecated API g_mem_chunk*.
151         Fixes #560442.
152
153 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
154
155         * tools/gst-inspect.c: (main):
156         Add --plugin option. Fixes #560301.
157
158 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
159
160         * docs/random/wtay/poll-timeout:
161         Quick braindump for a possible (not totally verified) atomic case.
162
163 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
164
165         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
166         (gst_registry_binary_initialize_magic),
167         (gst_registry_binary_write_cache),
168         (gst_registry_binary_check_magic):
169         * gst/gstregistrybinary.h:
170         Don't write and check a CRC for the binary registry file. It's
171         guaranteed that the registry is completely written (it's first written
172         to a temporary file and then moved) and if the registry was corrupted
173         by some hardware failure we would have bigger problems.
174
175         Bump binary registry version to 0.10.21.1 for this as it's an
176         incompatible change and to ensure that the registry gets rebuild
177         after the update.
178
179         This saves some milliseconds for reading/writing the registry.
180         Fixes bug #560399.
181
182 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
183
184         * docs/random/wtay/poll-timeout:
185         Some pseudo code for how we could implement clock timeouts with GstPoll.
186
187 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
188
189         * plugins/elements/gstfilesink.c:
190           Update Author string to match others.
191
192 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
193
194         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
195         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
196         being fixed and inline the trivial check.
197
198 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
199
200         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
201         (gst_caps_merge_structure), (gst_caps_get_structure),
202         (gst_caps_copy_nth), (gst_caps_set_simple),
203         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
204         (gst_caps_is_equal_fixed), (gst_caps_intersect),
205         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
206         (gst_caps_to_string):
207         Callgrind micro optimisations.
208         Avoid array bounds checks and force inline of trivial function.
209
210         * gst/gstobject.c: (gst_object_set_name_default):
211         -1 is equivalent to letting glib to the strlen but then there is more
212         room for optimisations and it's not our fault.
213
214         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
215         no need to clear the array, we're cool.
216
217         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
218         The most common _is_fixed() check is done on fundamental glib base
219         types so we check this first instead of doing a huge amount of
220         useless GST_TYPE_ARRAY calls.
221
222 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
223
224         * gst/gstevent.h:
225         Add a SKIP seek flag for use with advanced trickmodes.
226         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
227
228 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
229
230         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
231         No need to memset, we can clear the value ourselves.
232
233         * gst/gstvalue.c: (gst_type_is_fixed),
234         (gst_value_get_compare_func):
235         Some optimisations from a few callgrind sessions:
236         When checking if a type is fixed, check for trivial fundamental types
237         first before checking types for which we need to get the type followed
238         by the heavy duty type checks, this reduces the amount of
239         g_type_fundamental() calls a lot.
240         When getting the compare function, first check for our registered types.
241         If that fails, do the heavy duty g_type_is_a() checks, reduces the
242         amount of g_type_is_a() considerably.
243
244 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
245
246         * docs/design/part-TODO.txt:
247         Mumble something about removing GstXML.
248
249 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
250
251         * gst/gstbin.c: (gst_bin_handle_message_func):
252         Get the seqnum before we dispose the message.
253
254 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
255
256         * docs/design/part-TODO.txt:
257         Refer to the framestepping document.
258
259 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
260
261         * gst/gstbin.c: (bin_handle_async_start),
262         (gst_bin_handle_message_func), (gst_bin_query):
263         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
264         (gst_base_sink_event), (gst_base_sink_change_state):
265         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
266         (gst_base_src_loop), (gst_base_src_change_state):
267         Copy seqnums from events to messages so that they can all be related
268         back to eachother.
269
270 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
271
272         * tools/gst-launch.c: (event_loop):
273         Print the message seqnums.
274
275 2008-11-04  Andy Wingo  <wingo@pobox.com>
276
277         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
278
279 2008-11-04  Andy Wingo  <wingo@pobox.com>
280
281         Add sequence numbers to events and messages. See #559250.
282
283         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
284         API: New functions.
285
286         * gst/gstevent.h:
287         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
288         events with a new sequence number, and copy it when copying.
289         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
290         an event's sequence number.
291
292         * gst/gstmessage.h:
293         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
294         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
295         so with messages.
296
297         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
298
299 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
300
301         * docs/manual/advanced-position.xml:
302         * docs/manual/basics-bins.xml:
303         * docs/manual/basics-bus.xml:
304         * docs/manual/basics-pads.xml:
305         * docs/manual/intro-gstreamer.xml:
306         * docs/manual/intro-preface.xml:
307         Some Application Development Manual fixes thanks to
308         Andrew Feren. Fixes #558459.
309
310 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
311
312         * gst/gstregistrybinary.c:
313           Don't bother with the GTimer if we don't output the results.
314
315 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
316
317         Patch by: David Schleef  <ds@schleef.org>
318
319         * libs/gst/net/Makefile.am:
320         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
321
322 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
323
324         * gst/gstregistrybinary.c:
325           Oh my, studip, stupid me. Remove double stat() call.
326
327 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
328
329         * gst/gstpreset.c:
330           Use g_unlink instead of unlink.
331
332         * gst/gststructure.c:
333           Use glib type.
334
335         * gst/gstutils.c:
336           Add a FIXME:.
337
338         * gst/gsttaglist.c:
339         * gst/gsttypefind.c:
340         * gst/gstvalue.c:
341           Formatting & whitespaces.
342
343 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
344
345         * plugins/elements/gstidentity.c:
346           Doc typo. Use return value of parent_class->event.
347   
348         * plugins/elements/gsttypefindelement.c:
349           Chain up at the end for consistency.
350   
351 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
352
353         * docs/Makefile.am:
354         * docs/gst/gstreamer-docs.sgml:
355         * docs/gst/gstreamer-sections.txt:
356         * docs/gst/running.xml:
357         * docs/libs/gstreamer-libs-docs.sgml:
358           Change to xinclude based build - its faster and easier to maintain.
359
360 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
361
362         * gst/gstregistrybinary.c:
363         * gst/gstregistryxml.c:
364           Use g_unlink() as none of these are directories.
365
366 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
367
368         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
369         Some more comments.
370
371 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
372
373         * libs/gst/base/gstbasetransform.c:
374         (gst_base_transform_find_transform), (gst_base_transform_getrange):
375         If we have a fixate function, call it even if we already have fixed caps
376         because the subclass might add some caps. Makes audioconvert add a
377         default channel layout.
378
379 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
380
381         * libs/gst/base/gstbasetransform.c:
382         (gst_base_transform_prepare_output_buffer),
383         (gst_base_transform_getrange):
384         Clear the output buffer variable.
385         Cleanups to the error path in the getrange function.
386         Fixes #557649.
387
388 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
389
390         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
391         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
392         Use gst_buffer_try_new_and_alloc() and handle errors instead of
393         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
394         be allocated.
395
396 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
397
398         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
399         Set the last_stop to a more meaningful position when configuring the
400         segment. ie. the start/stop of the segment or clipped against the
401         updated segment boundaries.
402
403         * tests/check/gst/gstsegment.c: (GST_START_TEST):
404         Add some unit tests for the last_stop.
405
406 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
407
408         * libs/gst/base/gstbytereader.c:
409         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
410         copies of them.
411
412 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
413
414         * docs/gst/gstreamer-sections.txt:
415         * gst/gstutils.h:
416         API: Move float endianness conversion macros from libgstfloatcast
417         to core as it's useful in general, even in core. Fixes bug #555196.
418         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
419         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
420         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
421
422         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
423         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
424         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
425         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
426
427 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
428
429         * docs/libs/gstreamer-libs-sections.txt:
430         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
431         (gst_byte_reader_peek_data):
432         * libs/gst/base/gstbytereader.h:
433         * win32/common/libgstbase.def:
434         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
435         to get a pointer to the data at the current position and have
436         a guaranteed size.
437
438 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
439
440         * configure.ac:
441         Fix a bug in the output of the configure script summary
442         when --gst-disable-registry is supplied
443
444 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
445
446         * libs/gst/base/gstbitreader.c:
447         * libs/gst/base/gstbytereader.c:
448         Fix the names of 2 functions in the docs strings.
449
450 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
451
452         * libs/gst/base/gstbasetransform.c:
453         (gst_base_transform_prepare_output_buffer),
454         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
455         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
456         refcount problems as seen in banshee and maybe also in farsight2.
457         Remove atomic int now that we need to take the lock anyways.
458
459 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
460
461         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
462         (gst_base_sink_default_prepare_seek_segment),
463         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
464         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
465         (gst_base_sink_query):
466         Implement more seeking in pull mode.
467         Use pad convert functions to convert position to the requested format.
468         Fix position/duration reporting in pull mode.
469         Implement position and duration reporting in other formats than time.
470
471         * libs/gst/base/gstbasesink.h:
472         Add member to keep track of when the segment is playing.
473
474 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
475
476         * gst/gstpad.c: (gst_pad_configure_src):
477         When we use gst_pad_alloc_buffer() without wanting to set the caps we
478         also don't need to check if the caps are compatible because the caller
479         presumably is going to perform its own custom checks. Fixes some cases
480         where basetransform elements would error out when it was not needed.
481
482 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
483
484         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
485         Update comment.
486
487         * libs/gst/base/gstbasetransform.c:
488         (gst_base_transform_handle_buffer),
489         (gst_base_transform_reconfigure):
490         Add some debug info.
491
492         * win32/common/libgstbase.def:
493         Add new method.
494
495 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
496
497         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
498           Remove duplicated assignment and log a message in failure case.
499
500 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
501
502         Patch by: Dig Ge <dig.ge.cn at gmail com>
503
504         * tests/examples/helloworld/helloworld.c: (main):
505           Fix copy'n'paste bug in hello world example (#556900).
506
507 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
508
509         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
510         (gst_base_sink_query):
511         Query the total number of bytes when activating the pad in pull mode.
512         Implement duration query in pull mode by using the installed pad convert
513         function to convert from bytes to the requested format.
514
515 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
516
517         * docs/libs/gstreamer-libs-sections.txt:
518         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
519         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
520         (gst_base_sink_event), (gst_base_sink_perform_seek),
521         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
522         (gst_base_sink_send_event), (gst_base_sink_change_state):
523         * libs/gst/base/gstbasesink.h:
524         Add method to commit the state in subclasses.
525         Refactor the flush_start and flush_stop code because we need it for
526         flushing while seeking too.
527         Implement the beginnings of seeking in pull mode.
528         Use the segment last_stop field for the pulling offset.
529         Fix the pause method in pull mode.
530         Configure the segment to BYTES for pull mode.
531         API: GstBaseSink::gst_base_sink_do_preroll()
532
533 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
534
535         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
536         Update some docs.
537
538 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
539
540         * gst/gstquark.c: (_priv_gst_quarks_initialize):
541           Fix printf format warning.
542
543 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
544
545         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
546         Fix flow aggregation of tee. Error out immediately for all flow returns
547         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
548         and return OK if at least one pad is linked.
549
550         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
551         and otherwise returned the flow return of the last pad, which is wrong.
552         
553         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
554         (GST_START_TEST), (tee_suite):
555         Add unit tests for the flow aggregation.
556
557 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
558
559         * docs/design/part-TODO.txt:
560         Remove item from the todo list because it was fixed with the latency
561         state change rewrites.
562
563         * docs/design/part-seeking.txt:
564         * docs/design/part-segments.txt:
565         Update some docs.
566
567         * gst/gstevent.c: (gst_event_new_new_segment_full),
568         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
569         (gst_event_parse_buffer_size), (gst_event_new_qos),
570         (gst_event_parse_qos), (gst_event_new_seek),
571         (gst_event_parse_seek), (gst_event_new_latency),
572         (gst_event_parse_latency):
573         Use quarks to construct and parse events.
574
575         * gst/gstquark.c: (_priv_gst_quarks_initialize):
576         * gst/gstquark.h:
577         Add some more quarks to the table.
578         Emit a warning when the quark tables are not in sync.
579
580         * tests/check/gst/gstbus.c: (GST_START_TEST):
581         Add an assert.
582
583 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
584
585         * plugins/elements/Makefile.am:
586         * plugins/indexers/Makefile.am:
587           Don't install static libs for plugins. Fixes #550851 for core.
588
589 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
590
591         * gst/gstbus.c: (gst_bus_source_finalize),
592         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
593         (gst_bus_enable_sync_message_emission),
594         (gst_bus_disable_sync_message_emission),
595         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
596         Fix deadlock, g_source_get_id() cannot be called in finalize.
597         Keep track of the watch source by keeping a pointer to the source object
598         instead.
599         Use the bus lock to protect access to the pointer to the current
600         watch source.
601
602 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
603
604         Base on Patch by: Olivier Crete <tester at tester dot ca>
605
606         * gst/gstbus.c: (gst_bus_source_finalize),
607         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
608         Only allow one bus watch to be set at a time. This is necessary
609         because the dispatcher pops the message from the bus and the second
610         watcher will then get NULL or the next message (and the first won't
611         get this next message then, etc). If more than one "watcher" is
612         required signal watches should be used. Fixes bug #526044.
613
614 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
615
616         * tools/gst-launch.c:
617         Change the printing of the 'buffering...' output to avoid putting
618         a \r in a translateable string (flagged by the TP).
619
620 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
621
622         * gst/gstxml.c:
623         Clarify that the save_thyself() and restore_thyself() virtual
624         functions of GstObject need to be overriden, not
625         gst_object_(save|restore)_thyself() which is impossible.
626         Fixes bug #555700.
627
628 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
629
630         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
631         Revert a patch from 21 months ago that broke caps negotiation in pull
632         mode. Basically, having a buffer pass over a pad will trigger the
633         setcaps function when caps change, just like in push mode.
634
635 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
636
637         * docs/design/part-negotiation.txt:
638         Update the docs some more.
639
640         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
641         If we pull a buffer with non-trivial caps, suggest those caps with the
642         max probability.
643
644 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
645
646         * docs/design/part-TODO.txt:
647         Add another limitation of pad-blocking with segment seeks not pushing
648         EOS events.
649
650 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
651
652         * win32/common/libgstbase.def:
653         * win32/common/libgstreamer.def:
654         Add new symbols to the win32 defs files
655
656 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
657
658         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
659         (gst_bin_handle_message_func):
660         The message src can be NULL, don't try to print the object names in that
661         case.
662
663         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
664         Add some more debug info.
665
666         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
667         (GST_START_TEST):
668         Add some debug.
669         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
670         scheduling modes.
671
672 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
673
674         * docs/design/part-negotiation.txt:
675         Small doc update.
676
677         * docs/libs/gstreamer-libs-sections.txt:
678         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
679         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
680         (gst_base_sink_init), (gst_base_sink_set_blocksize),
681         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
682         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
683         (gst_base_sink_loop), (gst_base_sink_pad_activate),
684         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
685         (gst_base_sink_change_state):
686         * libs/gst/base/gstbasesink.h:
687         Add blocksize property and methods to control the amount of data
688         to pull.
689         Negotiate first before activating upstream in pull mode so that they can
690         negotiate themselves.
691         When we operate in pull mode, we only accept the caps that we
692         negotiated.
693         Make the sink go ASYNC to PAUSED, like all other sinks.
694         API: GstBaseSink::gst_base_sink_set_blocksize()
695         API: GstBaseSink::gst_base_sink_get_blocksize()
696         API: GstBaseSink::blocksize
697
698         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
699         (gst_base_src_set_live), (gst_base_src_is_live),
700         (gst_base_src_set_format), (gst_base_src_query_latency),
701         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
702         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
703         (gst_base_src_set_property), (gst_base_src_get_property):
704         * libs/gst/base/gstbasesrc.h:
705         Add typechecking in public API functions.
706         Add methods to control the blocksize in subclasses.
707         API: GstBaseSrc::gst_base_src_set_blocksize()
708         API: GstBaseSrc::gst_base_src_get_blocksize()
709
710 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
711
712         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
713         (buffer_probe), (event_probe), (GST_START_TEST):
714         We now see 3 events go through our pad, since basesink now sends
715         upstream latency events.
716
717 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
718
719         * gst/gstpipeline.c: (gst_pipeline_change_state):
720         Release the object lock before trying to flush the bus.
721
722 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
723
724         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
725         Forward LATENCY events upstreams so that elements know about the total
726         pipeline latency. Fixes #555307.
727
728 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
729
730         * plugins/elements/gstqueue.c:
731         Allow through queries when we don't know how
732         to adjust them (not TIME or BYTES), as otherwise it's
733         not possible to query the current position in order
734         to seek in other formats at all.
735
736 2008-10-08  Andy Wingo  <wingo@pobox.com>
737
738         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
739
740 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
741
742         * gst/gstghostpad.c:
743         * gst/gstghostpad.h:
744         Unbreak -good build, private is a reserved c++ keyword.
745
746 2008-10-08  Andy Wingo  <wingo@pobox.com>
747
748         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
749         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
750         removal: re-add GST_GHOST_PAD_CAST to the header.
751
752         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
753         (GstGhostPadClass): Publically expose these structures so as to
754         allow easy subclassing from C. Hide the member data behind a
755         private opaque data pointer.
756
757         * gst/gstghostpad.c: Adapt to store instance data in the type
758         instance's private data region, not in the public struct.
759
760 2008-10-08  Andy Wingo  <wingo@pobox.com>
761
762         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
763         template via g_object_get(), be sure to unref it.
764
765         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
766
767 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
768
769         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
770         If we can't get a cache file don't try to save something to it.
771         Dereferencing NULL pointers usually isn't a good idea.
772
773 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
774
775         * tests/check/Makefile.am:
776         * tests/check/gst/gstabi.c:
777         * tests/check/gst/struct_sparc.h:
778         * tests/check/libs/libsabi.c:
779         * tests/check/libs/struct_sparc.h:
780         Add Sparc ABI checks
781
782         * tests/check/gst/gstvalue.c: (GST_START_TEST):
783         Cast signed integer to unsigned to avoid a compiler warning.
784
785 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
786
787         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
788         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
789         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
790         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
791         (gst_byte_reader_peek_int24_be):
792         Use new GST_READ_UINT24_(LE|BE) macros.
793
794 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
795
796         * docs/gst/gstreamer-sections.txt:
797         * gst/gstutils.h:
798         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
799         as it's too easy to break the ISO C strict aliasing rules with simple
800         casts to the corresponding type and this would introduce hard to debug
801         bugs. Fixes bug #545714.
802
803         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
804
805 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
806
807         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
808         * gst/gstghostpad.c: (gst_ghost_pad_construct):
809           Add 'Since' bits to gtk-doc chunks for new API.
810
811 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
812
813         * docs/gst/gstreamer-sections.txt:
814         Fix documentation
815
816 2008-10-06  Andy Wingo  <wingo@pobox.com>
817
818         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
819         that will be called on the malloc_data to free it. Basically a way
820         to avoid subclassing when all you need is a different free
821         function, i.e. free() instead of g_free().
822
823         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
824         calling the free function.
825         (gst_buffer_init): Initialize the free function to g_free.
826
827 2008-10-06  Andy Wingo  <wingo@pobox.com>
828
829         * gst/gstghostpad.h:
830         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
831         finishes the initialization of ghost pad. Useful for language
832         bindings and subclassers of GstGhostPad. Fixes #539108.
833         (gst_ghost_pad_new_full): Use the new constructor.
834
835 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
836
837         Base on Patch by: Olivier Crete <tester at tester dot ca>
838
839         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
840         (gst_bin_remove_func), (update_degree),
841         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
842         Keep track of pads that are being linked/unlinked and resync the state
843         changes.
844
845         * gst/gstpad.c: (gst_pad_get_direction),
846         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
847         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
848         (gst_pad_link_prepare), (gst_pad_link),
849         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
850         (gst_pad_check_pull_range), (gst_pad_get_range),
851         (gst_pad_pull_range):
852         Some code cleanups, use macros to check pad direction.
853         Don't need to take the lock on the pad direction.
854         Post structure change when pads are linked/unlinked.
855         Change some checks into _return_if_fail().
856
857         * tests/check/gst/gstbin.c:
858         (test_link_structure_change_state_changed_sync_cb),
859         (GST_START_TEST), (gst_bin_suite):
860         Add testcase for pad link/unlinke resync during a state change.
861         Fixes #510354.
862
863 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
864
865         * docs/gst/gstreamer-sections.txt:
866         * gst/gstmessage.c: (gst_message_new_structure_change),
867         (gst_message_parse_structure_change):
868         * gst/gstmessage.h:
869         Implement STRUCTURE_CHANGED messages. These messages will be used to
870         signal the parent bin of link/unlink operations that could require a
871         resync when doing a state change. See ##510354.
872         API: gst_message_new_structure_change()
873         API: gst_message_parse_structure_change()
874
875 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
876
877         * gst/gstquark.c:
878         * gst/gstquark.h:
879         Add some more quarks for new message. See #510354.
880
881 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
882
883         * docs/libs/gstreamer-libs-docs.sgml:
884         * docs/libs/gstreamer-libs-sections.txt:
885         * libs/gst/base/Makefile.am:
886         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
887         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
888         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
889         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
890         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
891         (gst_bit_reader_skip_to_byte):
892         * libs/gst/base/gstbitreader.h:
893         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
894         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
895         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
896         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
897         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
898         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
899         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
900         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
901         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
902         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
903         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
904         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
905         * libs/gst/base/gstbytereader.h:
906         * tests/check/Makefile.am:
907         * tests/check/libs/bitreader.c: (GST_START_TEST),
908         (gst_bit_reader_suite):
909         * tests/check/libs/bytereader.c: (GST_START_TEST),
910         (gst_byte_reader_suite):
911         API: Add bit reader and byte reader classes, including documentation
912         and an extensive unit test suite. Fixes bug #553554.
913
914 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
915
916         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
917         (gst_base_sink_query):
918         Improve position reporting while flushing and other intermediate state
919         changes. Fixes #553874.
920
921 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
922
923         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
924
925         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
926         Original patch by : Simon Descaries
927         Fix small refount leak in caps compatibility check.
928         Fixes #551676.
929
930 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
931
932         * docs/pwg/advanced-request.xml:
933           Fix 0.8 api usage in example. Fixes #554561
934
935         * docs/pwg/appendix-porting.xml:
936           Change 0.9 to 0.10 here.
937
938 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
939
940         * docs/manual/basics-data.xml:
941           Change "event-event interaction" to "element-element interaction".
942           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
943           updates.
944
945 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
946
947         * configure.ac:
948         Back to development -> 0.10.21.1
949
950 === release 0.10.21 ===
951
952 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
953
954         * configure.ac:
955           releasing 0.10.21, "Take These Things From Me"
956
957 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
958
959         * configure.ac:
960         0.10.20.4 pre-release
961
962 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
963
964         * libs/gst/base/gstbasetransform.c:
965         * plugins/elements/gstcapsfilter.c:
966         * tests/check/Makefile.am:
967         * tests/check/elements/.cvsignore:
968         * tests/check/elements/capsfilter.c:
969         Fix assertion in basetransform when the subclass chooses not to
970         allocate a buffer in prepare_buffer(), and make capsfilter error out
971         cleanly if requested to apply caps that don't completely specify the
972         buffer. Fixes #551509
973
974 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
975
976         * libs/gst/base/gstbasetransform.c:
977         (gst_base_transform_prepare_output_buffer):
978         Take new caps ref because our old one might have been gone when the
979         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
980
981 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
982
983         * configure.ac:
984           Do not probe availability of check unit test library when cross
985           compiling, as test would not work anyway. Also cleanup verbose output
986           of the check test. Fixes #551952.
987
988 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
989
990         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
991
992         * gst/gstelement.c: (gst_element_sync_state_with_parent):
993         Avoid leaking the parent ref when we fail changing the state of the
994         element using gst_element_sync_state_with_parent(). Fixes #551978.
995
996 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
997
998         * docs/manual/intro-motivation.xml::
999           Remove some bits that no longer apply, update others (#551642).
1000
1001 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1002
1003         * configure.ac:
1004         0.10.20.2 pre-release
1005
1006         * po/LINGUAS:
1007         * po/id.po:
1008         * po/pt_BR.po:
1009
1010         New translations.
1011
1012 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1013
1014         * win32/common/config.h.in:
1015           Add GST_DATADIR, hard-code cpu to x86.
1016
1017         * win32/common/libgstreamer.def:
1018           Spaces to tabs.
1019
1020 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1021
1022         * gst/gsttaglist.h:
1023           Fix Since: markers for new geo tags.
1024
1025 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1026
1027         * gst/gsttaglist.h:
1028           Fix actual tag name define after renaming from altitude to elevation.
1029
1030 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1031
1032         * gst/gstpad.c: (add_unref_pad_to_list),
1033         (gst_pad_get_internal_links_default):
1034         Add fallback when calling the deprecated function on an element that
1035         implements the new internal_link handler.
1036
1037 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1038
1039         * docs/gst/gstreamer-sections.txt:
1040         * gst/gsttaglist.c:
1041         * gst/gsttaglist.h:
1042           Add new tags for geo location and clarify purpose of existing location
1043           tag. Fixes #481169
1044
1045 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1046
1047         Patch by: Olivier Crete <tester at tester dot ca>
1048
1049         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1050         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1051         Use thread-safe internal links iterator. Fixes #549504.
1052
1053 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1054
1055         Based on patch by: Olivier Crete <tester at tester dot ca>
1056
1057         * docs/gst/gstreamer-sections.txt:
1058         * win32/common/libgstreamer.def:
1059         * gst/gstpad.c: (gst_pad_init),
1060         (gst_pad_set_iterate_internal_links_function),
1061         (int_link_iter_data_free), (iterate_pad),
1062         (gst_pad_iterate_internal_links_default),
1063         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1064         * gst/gstpad.h:
1065         Add threadsafe replacement functions for getting internal links of an
1066         element. Deprecate the old internal links functions.
1067         API:GstPad::gst_pad_set_iterate_internal_links_function()
1068         API:GstPad::GstPadIterIntLinkFunction
1069         API:GstPad::gst_pad_iterate_internal_links()
1070         API:GstPad::gst_pad_iterate_internal_links_default()
1071
1072         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1073         (gst_proxy_pad_init):
1074         Implement threadsafe internal links.
1075
1076         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1077         Unit test for internal links on tee. See #549504.
1078
1079 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1080
1081         * tests/check/Makefile.am:
1082         libs/transform1 test requires libs/test_transform.c
1083
1084 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1085
1086         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1087         Die evil deadlock, die !
1088
1089 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1090
1091         * gst/gstutils.c: (gst_element_get_compatible_pad):
1092         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1093         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1094         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1095         not steal the refcount of the given caps as stated.
1096
1097         REVERT THIS COMMIT ONCE FIXED !
1098         REVERT THIS COMMIT ONCE FIXED !
1099         REVERT THIS COMMIT ONCE FIXED !
1100         REVERT THIS COMMIT ONCE FIXED !
1101         REVERT THIS COMMIT ONCE FIXED !
1102         REVERT THIS COMMIT ONCE FIXED !
1103
1104 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1105
1106         * gst/gstiterator.c:
1107         * gst/gstiterator.h:
1108         After 3 years it's about time to revise the documentation of the
1109         iterator objects.
1110
1111 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1112
1113         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1114         Make the internal links function less thread-unsafe and add some
1115         comments, dunno why.
1116
1117 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1118
1119         * gst/gst_private.h:
1120           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1121           build with --disable-gst-debug.
1122
1123 2008-08-28  David Schleef  <ds@schleef.org>
1124
1125         * gst/gstpadtemplate.c: Revert last change, since it breaks
1126           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1127           but shouldn't be enabled until we've released fixed versions
1128           of -good and -ffmpeg.
1129
1130 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1131
1132         * gst/gstobject.c:
1133           Put the gst_object_get_name() back in.
1134
1135 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1136
1137         * gst/gstpadtemplate.c:
1138           The old behaviour was that gst_pad_template_new() takes ownership of
1139           the caps. As we now call g_object_new() which calls g_object_set() and
1140           which copies the caps, we have to unref them to not leak them. Fixes
1141           make valgrid for me.
1142
1143 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1144
1145         * gst/gsturi.c:
1146           Don't segfault on input like "tel:+1-123-555-1234".
1147
1148 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1149
1150         * gst/gstobject.c:
1151           Due to popular request also include ObjectType in
1152           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1153
1154 2008-08-26  David Schleef  <ds@schleef.org>
1155
1156         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1157           src_val must be positive, because that's not a requirement.
1158           This causes problems with converting negative granulepos
1159           values for Dirac.
1160         * gst/gstquery.c: Same, gst_query_new_convert().
1161
1162 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1163
1164         * gst/gstclock.c: (gst_clock_add_observation):
1165         Add some more debugging to the clock slaving code.
1166
1167         * win32/common/libgstbase.def:
1168         Add new basetransform method.
1169
1170 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1171
1172         * gst/gstbin.c: (gst_bin_element_set_state):
1173         Take the (recursive) state lock between getting the locked state of an
1174         element and changing the element state. This allows the application to
1175         lock an element's state and then change its state without races.
1176
1177 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1178
1179         * gst/gstbin.c: (gst_bin_element_set_state):
1180         When an element is in the locked state we still want to update the
1181         base_time of the element.
1182
1183 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1184
1185         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1186         Use the result from gst_pad_set_caps() instead of assuming the element
1187         always accepted the caps computed by the default negotiate function.
1188
1189 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1190
1191         * docs/libs/gstreamer-libs-sections.txt:
1192         * libs/gst/base/gstbasetransform.c:
1193         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1194         (gst_base_transform_chain), (gst_base_transform_suggest),
1195         (gst_base_transform_reconfigure):
1196         * libs/gst/base/gstbasetransform.h:
1197         Implement method for reconfiguring basetransform.
1198         API: GstBaseTransform::gst_base_transform_reconfigure()
1199
1200 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1201
1202         patch by: Murray Cumming <murrayc@murrayc.com>
1203
1204         * gst/gstutils.c:
1205           Mention that this is just like gst_buffer_merge() but with extra
1206           unreffing for C coders. Advise language bindings not to wrap it.
1207           Fixes Bug #533856.
1208           
1209           Also fix file comment.
1210
1211 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1212
1213         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1214
1215         * plugins/elements/gstfakesink.c:
1216         * plugins/elements/gstfakesrc.c:
1217           Call super::event() when not handling it. Fixes #544855.
1218
1219 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1220
1221         Patch by: Alessandro Decina <alessandro@nnva.org>
1222         * plugins/elements/gstfilesrc.c:
1223           Use 64 bit variants of stat functions on win32, to enable support
1224           of large files there.
1225           Fixes #547277.
1226
1227 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1228
1229         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1230         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1231         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1232         (gst_base_sink_get_position), (gst_base_sink_change_state):
1233         Improve position reporting in the flushing state.
1234         Also report the position when we are not yet prerolled but we
1235         have a newsegment event. Fixes #543444.
1236         Improve the pull-based negotiation code.
1237
1238         * tests/check/elements/fakesink.c: (GST_START_TEST),
1239         (fakesink_suite):
1240         Add testcase for position reporting while flushing in PAUSED and
1241         PLAYING.
1242
1243         * tests/check/generic/sinks.c: (GST_START_TEST):
1244         Update unit-test, we can now query the position as soon as we receive a
1245         NEWSEGMENT event.
1246
1247 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1248
1249         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1250
1251         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1252         When the subclass event handler releases the PREROLL_LOCK, we could be
1253         in the flushing state and we have to ignore the event. Fixes #548394.
1254
1255 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1256
1257         * tools/gst-launch.1.in:
1258           Document GST_REGISTRY_UPDATE environment variable.
1259
1260 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1261
1262         * libs/gst/base/gstbasetransform.c:
1263         (gst_base_transform_prepare_output_buffer):
1264         If the element is configured in passthrough mode but the
1265         prepare_output_buffer gave us a new output buffer, discard that buffer
1266         and reuse the input buffer.
1267
1268 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1269
1270         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1271
1272         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1273         (gst_tee_request_new_pad), (gst_tee_release_pad),
1274         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1275         * plugins/elements/gsttee.h:
1276         Protect pad_alloc with a new lock so that we can be sure that nothing is
1277         performing a pad_alloc when removing the pad. Fixes #547835.
1278
1279         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1280         (buffer_alloc_harness_teardown), (app_thread_func),
1281         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1282         Added testcase for shutdown race.
1283
1284 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1285
1286         * gst/gstpad.h:
1287         Add doc
1288
1289 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1290
1291         * libs/gst/base/gstbasetransform.c:
1292         (gst_base_transform_prepare_output_buffer),
1293         (gst_base_transform_buffer_alloc):
1294         Go over the buffer_alloc function again and make sure we always end up
1295         allocating a buffer.
1296         Add some more docs.
1297         Avoid doing pad alloc when we have a pending suggestion because we
1298         cannot yet deal with changing caps in that case. Fixes #547728
1299
1300 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1301
1302         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1303
1304         * docs/manual/advanced-clocks.xml:
1305         * docs/manual/clocks.png:
1306         * docs/manual/diagrams-clocks.svg:
1307           Add one more image showing different times together with a describing
1308           paragraph. Fixes #547729.
1309
1310 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1311
1312         * win32/common/libgstbase.def:
1313         Add new method.
1314
1315 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1316
1317         * libs/gst/base/gstbasetransform.c:
1318         (gst_base_transform_transform_caps),
1319         (gst_base_transform_prepare_output_buffer),
1320         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1321         Don't overwrite the outsize when calculating the expected size of a new
1322         buffer because we still need it in case we cannot process the new
1323         buffer.
1324         When converting the size of the new buffer to an upstream size, actually
1325         use the expected size of the buffer, not some other random value.
1326         Use an atomic int to signal that a new upstream caps suggestion is
1327         available.
1328         When we can convert the current buffer to a new format, check if the
1329         buffer size is of the expected size and allocate a new buffer of the
1330         expected size when this is not the case. Fixes #546883.
1331
1332         * tests/check/libs/transform1.c: (GST_START_TEST):
1333         remove ifdeffed code from the unit test.
1334
1335 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1336
1337         * pkgconfig/gstreamer-uninstalled.pc.in:
1338         * pkgconfig/gstreamer.pc.in:
1339           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1340           called gstcontroller-0.10.
1341
1342 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1343
1344         * gst/gstchildproxy.h:
1345         * gst/gstpreset.h:
1346           Remove double interface from doc-string.        
1347
1348 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1349
1350         * libs/gst/base/gstbasesrc.c:
1351         * libs/gst/base/gstbasetransform.c:
1352           Fix headings in docs and gtk-doc warnings.
1353
1354 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1355
1356         * gst/gstregistrybinary.c:
1357           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1358           libc.
1359           Fixes #544776.
1360
1361 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1362
1363         * libs/gst/base/gstbasetransform.c:
1364         (gst_base_transform_buffer_alloc):
1365         Fix a "may be used unitialized" warning.
1366
1367 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1368
1369         * docs/gst/gstreamer-sections.txt:
1370         * gst/gstpreset.h:
1371           Document preset-iface vmethods.
1372
1373 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1374
1375         * docs/manual/advanced-interfaces.xml:
1376           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1377           only used to discover devices.
1378
1379 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1380
1381         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1382
1383         * gst/gst.c: (init_pre):
1384         Make sure gettext returns translations in UTF-8 encoding rather
1385         than in the current locale encoding (#546822).
1386
1387 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1388
1389         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1390         Fix subset test.
1391
1392         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1393         Improve unit test subset tests and add a testcase for the subset failure
1394         cases.
1395
1396         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1397         Improve subtraction unit test.
1398
1399 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1400
1401         * plugins/elements/gsttee.c:
1402           Unlock, instead of locking again.
1403
1404 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1405
1406         * gst/gstpad.h:
1407         Clarify the docs a bit more.
1408
1409 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1410
1411         * tests/examples/metadata/read-metadata.c:
1412           Don't leak old taglist.
1413
1414 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1415
1416         Patch by: Olivier Crete <tester at tester dot ca>
1417
1418         * gst/gststructure.c:
1419         (gst_structure_fixate_field_nearest_fraction):
1420         Avoid overflows in fixation code when dealing with MAXINT values, which
1421         v4l2src seems to do.
1422         Fixes #546328.
1423
1424         * tests/check/gst/gststructure.c: (GST_START_TEST):
1425         Make a unit test to check the fix. 
1426
1427 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1428
1429         * plugins/elements/gstcapsfilter.c: (copy_func),
1430         (gst_capsfilter_set_property):
1431         Use new caps suggestion feature of basetransform to request a caps
1432         negotiation upstream.
1433
1434 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1435
1436         * docs/libs/gstreamer-libs-sections.txt:
1437         Add new function:
1438         API: GstBaseTransform::gst_base_transform_suggest()
1439
1440         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1441         (gst_base_transform_init), (gst_base_transform_transform_caps),
1442         (gst_base_transform_transform_size),
1443         (gst_base_transform_configure_caps),
1444         (gst_base_transform_can_transform),
1445         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1446         (gst_base_transform_prepare_output_buffer),
1447         (gst_base_transform_buffer_alloc),
1448         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1449         (gst_base_transform_chain), (gst_base_transform_activate),
1450         (gst_base_transform_set_passthrough),
1451         (gst_base_transform_is_passthrough),
1452         (gst_base_transform_set_in_place),
1453         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1454         (gst_base_transform_set_qos_enabled),
1455         (gst_base_transform_is_qos_enabled),
1456         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1457         (gst_base_transform_reconfigure):
1458         * libs/gst/base/gstbasetransform.h:
1459         Rewrite of basetransform to perform negotiation outside of the
1460         buffer_alloc functions.  Fixes #545853.
1461
1462         * tests/check/libs/transform1.c: (GST_START_TEST),
1463         (buffer_alloc_ct2):
1464         Update unit test.
1465
1466 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1467
1468         * tests/check/gst/gstpreset.c:
1469           Only run preset tests when $HOME is writable. Preliminary fix for
1470           #545433.
1471
1472 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1473
1474         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1475         (gst_bin_change_state_func), (bin_handle_async_done),
1476         (gst_bin_handle_message_func):
1477         Fix race for bins that simulate ASYNC state changes by inserting
1478         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1479         pending ASYNC messages even when the bin does not have ASYNC children.
1480         We note detect this behaviour because we will receive an ASYNC message
1481         that is originating from the bin itself. 
1482         Fixes races with decodebin2 state changes.
1483
1484         * tests/check/gst/gstbin.c: (GST_START_TEST):
1485         Add some more debug.
1486
1487 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1488
1489         * gst/gsttaglist.c: (_gst_tag_initialize):
1490           Fix typo.
1491
1492 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1493
1494         * gst/gsttaglist.c:
1495           Argh. actually save the text before committing. Now adds
1496           gst_tag_merge_strings_with_comma() to gst_tag_register().
1497
1498 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1499
1500         * gst/gsttaglist.c:
1501         * gst/gsttaglist.h:
1502           Do as tim pointed out and actually register the new tag. Also improve
1503           te docs and use gst_tag_merge_strings_with_comma() method to allow
1504           retriving all keywords merged in one list.
1505
1506 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1507
1508         * configure.ac:
1509         * docs/gst/gstreamer.types:
1510           Revert 'accidential' change of the configure option removal. We still
1511           need to generate the types file in configure --disable-load-save.
1512
1513 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1514
1515         * docs/gst/gstreamer-sections.txt:
1516         * gst/gsttaglist.h:
1517           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1518
1519 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1520
1521         * gst/gstpadtemplate.c:
1522           (gst_pad_template_class_init), (gst_static_pad_template_get),
1523           (gst_pad_template_new), (gst_pad_template_pad_created),
1524           (gst_pad_template_set_property), (gst_pad_template_get_property):
1525           Add "name-template", "direction", "presence" and "caps" properties,
1526           so that gst_pad_template_new() is just a thin wrapper around
1527           g_object_new(), which is better for bindings. (Fixes: #539772)
1528
1529 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1530
1531         * gst/gsturi.c:
1532           Be more liberal in what URIs we accept.
1533           Do not unescape bits of the URI for no apparent reason before passing to
1534           the element. Fixes #545352.
1535
1536 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1537
1538         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1539
1540         * gst/gst.c:
1541         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1542
1543 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1544
1545         * configure.ac:
1546         * docs/gst/gstreamer-sections.txt:
1547         * docs/gst/gstreamer.types:
1548         * docs/gst/gstreamer.types.in:
1549         * gst/Makefile.am:
1550         * gst/gst.c:
1551         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1552         * gst/gstconfig.h.in:
1553         * gst/gstelement.c: (gst_element_get_index):
1554         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1555         (gst_registry_binary_load_feature),
1556         (gst_registry_binary_read_cache):
1557         * gst/gstregistryxml.c: (load_feature),
1558         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1559         * plugins/Makefile.am:
1560         * tools/gst-indent:
1561         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1562         (print_plugin_features), (print_element_features):
1563         * tools/gst-xmlinspect.c: (print_event_masks),
1564         (print_element_info):
1565         * win32/common/gstconfig.h:
1566         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1567
1568         Disabling the indexers and URI handler code will only reduce the
1569         required amount of memory by a very small amount but on the other hand
1570         requires much more maintaince work. Apart from that many places of
1571         code are broken when disabling them.
1572
1573         Disabling the enum types doesn't reduce the required amount of memory
1574         by more than a few bytes and makes it hard to fix bugs like #539772,
1575         i.e. use the enums as GObject properties.
1576
1577 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1578
1579         * docs/design/part-TODO.txt:
1580         Add some thoughts and problems with upstream renegotiation.
1581
1582 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1583
1584         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1585         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1586         Remove silly redundant debug.
1587         Add some more debug info.
1588         Clarify the docs regarding new caps received from pad_alloc.
1589
1590 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1591
1592         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1593         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1594         Make setting the caps more threadsafe.
1595
1596 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1597
1598         * docs/design/part-element-transform.txt:
1599         Update docs.
1600
1601 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1602
1603         * plugins/elements/gstqueue.c: (gst_queue_init),
1604         (gst_queue_acceptcaps):
1605         Add and use a custom acceptcaps function instead of falling back to the
1606         potentially less optimized default implementation.
1607
1608 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1609
1610         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1611           Only sanity-check the buffer size if requested_caps == buffer_caps
1612           (ie. don't take pad caps into account, they're not relevant here)
1613
1614 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1615
1616         * plugins/elements/gsttee.c:
1617         * plugins/elements/gsttee.h:
1618           Reverting as not everything is clear yet. Needs some general design
1619           work.
1620
1621 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1622
1623         * ChangeLog:
1624           ChangeLog surgery for tee commit.
1625
1626 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1627
1628         * docs/gst/gstreamer-sections.txt:
1629           Cleanup section-file.
1630
1631 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1632
1633         * plugins/elements/gsttee.c:
1634         * plugins/elements/gsttee.h:
1635           Relay tag events in tee. Fixes parts of #474016.
1636           Downgrades 3 reoccurring debugs to log.
1637
1638 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1639
1640         * configure.ac:
1641         * libs/gst/Makefile.am:
1642           Build the net library if we have winsock2.
1643
1644 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1645
1646         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1647
1648         * docs/manual/advanced-threads.xml:
1649         * docs/manual/diagrams-pipelines.svg:
1650         * docs/manual/hello-world.png:
1651         * docs/manual/linked-elements.png:
1652         * docs/manual/mime-world.png:
1653         * docs/manual/queue.png:
1654         * docs/manual/thread-buffering.png:
1655         * docs/manual/thread-synchronizing.png:
1656           Replace one diagram with two separate ones and updates others.
1657           Fixes #542401.
1658
1659 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1660
1661         * gst/gstelement.h:
1662         Fix link in documentation.
1663
1664 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1665
1666         * gst/gstmessage.c:
1667         Fix confusing documentation.
1668
1669 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1670
1671         * libs/gst/base/gstbasesrc.h:
1672         revert the changes to the header file for the ABI.
1673
1674 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1675
1676         * libs/gst/base/gstbasesrc.c:
1677         * libs/gst/base/gstbasesrc.h:
1678         Don't cache the seekable status.
1679         Fixes bug #544174
1680
1681 2008-07-24  Rene Stadler  <mail@renestadler.de>
1682
1683         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1684         code to close the pipeline graph.  This prevents the program from
1685         printing internal data flow errors.
1686
1687 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1688
1689         * docs/manual/basics-bus.xml:
1690         Correct typo. Fixes bug #544320.
1691
1692 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1693
1694         * configure.ac:
1695           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1696           Add check (taken from -base) for winsock, adds WIN32_LIBS
1697         * gst/Makefile.am:
1698           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1699           winsock.
1700           Define GST_EXPORTS when building libgstreamer (only used on win32)
1701         * gst/gst_private.h:
1702         * gst/gstinfo.h:
1703           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1704           for symbols that we need to export in both these files.
1705         * gst/gstpoll.c:
1706           Include gst_private.h higher up to avoid some compile problems on win32.
1707
1708 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1709
1710         * gst/gstvalue.c:
1711         Fix typos.
1712
1713 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1714
1715         * gst/gstcaps.c:
1716         Previous commit was wrong NULL caps does not exist
1717         and indicate an error, so also add a FIXME to
1718         gst_caps_is_equal where NULL caps are accepted.
1719
1720 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1721
1722         * gst/gstcaps.c:
1723         Allow passing of NULL to gst_caps_union
1724
1725 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1726
1727         * gst/gstghostpad.c:
1728         Add in doc that gst_ghost_pad_set_target can accept
1729         NULL to clear target
1730
1731 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1732
1733         * gst/gstplugin.c:
1734         * gst/gstregistry.c:
1735           GstRegistryPool doesn't exist; don't refer to it in docs.
1736           Don't refer to functions that don't exist in docs, it's
1737           unhelpful.
1738
1739 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1740
1741         * gst/gst.c:
1742         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1743
1744 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1745
1746         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1747
1748         * docs/pwg/building-testapp.xml:
1749         Don't use an undeclared variable in the example program.
1750         Fixes bug #542573.
1751
1752 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1753
1754         * gst/gstdebugutils.c:
1755           Squeeze ghost-pad links and remove <> from classname labels to save
1756           more horizontal space.
1757
1758 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1759
1760         * gst/gstdebugutils.c:
1761           Give request and sometimes pads a different shpe style. Condense the
1762           graphs a little more.
1763
1764 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1765
1766         * configure.ac:
1767           Don't require flex and bison if the parser is disabled.
1768
1769 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1770
1771         * libs/gst/controller/gstinterpolationcontrolsource.c:
1772         (_list_find_sorted_custom):
1773         Don't use declarations after statements.
1774
1775 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1776
1777         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1778         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1779         of the the child-added / -removed signals as GstChildProxy
1780         only supports GstObjects.
1781
1782 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1783
1784         * gst/gstdebugutils.c:
1785         Fix memleak
1786
1787 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1788
1789         Patch by: Alessandro Decina <alessandro at nnva dot org>
1790
1791         * gst/gstpoll.c:
1792         Fix "ignored return value" compiler warning with newer glibc.
1793
1794 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1795
1796         * gst/gstchildproxy.c:
1797         Fix copy&paste error in gst_child_proxy_removed() documentation.
1798
1799 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1800
1801         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1802           Print error debug message if plugin description fields that should
1803           be set are NULL.
1804
1805         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1806           Don't crash if the string to serialise is NULL (it really should
1807           not be, but apparently this used to work with the xml registry ...).
1808
1809 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1810
1811         * tools/gst-plot-timeline.py:
1812         Fix parsing of log messages
1813
1814 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1815
1816         * win32/common/libgstbase.def::
1817           Sort alphabetically so make check-exports doesn't barf.
1818
1819 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1820
1821         * gst/gstevent.c:
1822           Use gst_format_get_name() to improve debug output.
1823
1824         * gst/gstpreset.c:
1825           Remove #ifdef'ed code. Add TODO comment.
1826
1827         * gst/gstsegment.c:
1828           Add debug output to ease spotting format != segment.format assertions.
1829
1830 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1831
1832         * tests/check/libs/gdp.c: (gst_dp_suite):
1833         Also enable the GDP unit test again on PPC now that the bug
1834         is fixed.
1835
1836 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1837
1838         * libs/gst/dataprotocol/dataprotocol.c:
1839         Don't write to the same region of memory as a uint64 and uint16
1840         as this breaks strict aliasing rules and apparantly breaks on PPC
1841         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1842
1843 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1844
1845         * libs/gst/controller/gstinterpolationcontrolsource.c:
1846           Optimize list handling. Use own find function. Exploit that fact that
1847           the list is sorted. Also pass back the node before, so that we can
1848           insert quickly. Have a fast path for append.
1849
1850 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1851
1852         * docs/design/draft-framestep.txt:
1853         * docs/design/part-negotiation.txt:
1854           Fix two typos.
1855
1856 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1857
1858         * configure.ac:
1859           Show configuration sumary after configure run. Based on patch by
1860           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1861
1862 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1863
1864         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1865
1866         * docs/manual/advanced-autoplugging.xml:
1867         * docs/manual/advanced-threads.xml:
1868         * docs/manual/basics-bins.xml:
1869         * docs/manual/basics-elements.xml:
1870         * docs/manual/basics-helloworld.xml:
1871         * docs/manual/basics-pads.xml:
1872           Add scale factor for pdf output.
1873
1874         * docs/manual/intro-basics.xml:
1875           Switched sections "pads" and "bins" and added a pipeline diagram.
1876
1877         * docs/manual/intro-gstreamer.xml:
1878           Added more info on gstreamer.
1879
1880         * docs/manual/intro-motivation.xml:
1881           Commented out the whole section "current problem", which sounds
1882           historical and somehow osolete; it could be turned in a positive
1883           way and reused to improve the design principles.
1884
1885         * docs/manual/intro-preface.xml:
1886           - Update URLs to library.gnome.org. 
1887           - Do not mention GTK+ in preliminary reading (irrelevant). 
1888           - Mention Plugin Writer's Manual and further reading only in the
1889             previous section.
1890           - Added a list of most relevant GObject/glib topics.
1891
1892         * docs/manual/Makefile.am:
1893         * docs/manual/bin-element-ghost.fig:
1894         * docs/manual/bin-element-ghost.png:
1895         * docs/manual/bin-element-noghost.fig:
1896         * docs/manual/bin-element-noghost.png:
1897         * docs/manual/bin-element.fig:
1898         * docs/manual/bin-element.png:
1899         * docs/manual/filter-element-multi.fig:
1900         * docs/manual/filter-element-multi.png:
1901         * docs/manual/filter-element.fig:
1902         * docs/manual/filter-element.png:
1903         * docs/manual/gstreamer-overview.png:
1904         * docs/manual/hello-world.fig:
1905         * docs/manual/hello-world.png:
1906         * docs/manual/linked-elements.fig:
1907         * docs/manual/linked-elements.png:
1908         * docs/manual/mime-world.fig:
1909         * docs/manual/mime-world.png:
1910         * docs/manual/queue.fig:
1911         * docs/manual/queue.png:
1912         * docs/manual/simple-player.png:
1913         * docs/manual/sink-element.fig:
1914         * docs/manual/sink-element.png:
1915         * docs/manual/src-element.fig:
1916         * docs/manual/src-element.png:
1917         * docs/manual/diagrams-general.svg:
1918         * docs/manual/diagrams-pipelines.svg:
1919           Removed .fig, added .png counterpart.
1920           
1921           Fixes: #539137
1922
1923 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1924
1925         * plugins/elements/gstmultiqueue.c:
1926         * plugins/elements/gstmultiqueue.h:
1927         revert extra-size-buffers stuff, caused some race conditions
1928         and extra-size-buffers is not used anymore. Docs needs some updates
1929
1930 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1931
1932         * win32/common/config.h:
1933         * win32/common/gstenumtypes.c:
1934         * win32/common/gstenumtypes.h:
1935         * win32/common/gstversion.h:
1936           Update win32 files.
1937
1938 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1939
1940         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1941           (GST_DEBUG_BIN_TO_DOT_FILE):
1942           Add missing Since' markers to gtk-doc blurbs.
1943
1944 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1945
1946         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1947         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1948         (set_caps_1), (set_caps_ct1), (transform_ct1),
1949         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1950         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1951         (transform_size_ct2), (buffer_alloc_ct2):
1952         Add some more tests with switching caps in buffer_alloc.
1953
1954 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1955
1956         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1957         (gst_test_trans_class_init), (result_sink_chain),
1958         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1959         (gst_test_trans_push), (gst_test_trans_pop):
1960         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1961         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1962         (set_caps_1), (set_caps_ct1), (transform_ct1),
1963         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1964         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1965         (transform_size_ct2), (buffer_alloc_ct2),
1966         (gst_basetransform_suite):
1967         More tests, prepare for tests with switching caps in buffer_alloc.
1968
1969 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1970
1971         * plugins/elements/gstmultiqueue.c:
1972         * plugins/elements/gstmultiqueue.h:
1973         Fix dead-lock in underrun_cb
1974
1975 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1976
1977         * docs/design/part-states.txt:
1978         Fix device open/close docs.
1979
1980 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1981
1982         * ChangeLog:
1983           Mention bugnumber for last commit.
1984
1985 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
1986
1987         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1988
1989         * docs/manual/manual.xml:
1990         - Reorganised the previous "introduction" bundle into Foreword,
1991         Introduction, and About GStreamer. The two first are <preface>
1992         docbook elements. The later is the first part of the book.
1993         - added intro-gstreamer.xml (content partially from
1994         intro-preface.xml)
1995         - moved appendix-win32.xml into appendix-integration.xml
1996
1997         * docs/manual/intro-preface.xml: gstreamer section moved...
1998         * docs/manual/intro-gstreamer.xml: ...here. new file.
1999
2000         * docs/manual/appendix-win32.xml: removed file. Content moved...
2001         * docs/manual/appendix-integration.xml: ...here.
2002         
2003         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2004         * docs/manual/appendix-checklist.xml: ...here.
2005         
2006         Fixes: 538764
2007
2008 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2009
2010         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2011
2012         * docs/manual/basics-helloworld.xml:
2013         * docs/manual/hello-world.fig:
2014           - Explicitely include glib.h.
2015           - Do not use global variables.
2016           - Use g_printerr() instead of g_print().
2017           - Minor formating/renaming to increase readibility.
2018           - Renamed new_pad() to on_pad_added()
2019           - Improved explenatory comments.
2020           - renamed ogg parser to ogg demuxer
2021           - Use "autoaudiosink" instead of "alsasink".
2022           Fixes: #538619
2023
2024 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2025
2026         * ChangeLog:
2027           Remove cvs conflict marker.
2028
2029 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2030
2031         * docs/README:
2032           Document that for plgin-docs we extraxt he short-desc from the element
2033           details.
2034
2035         * docs/design/part-states.txt:
2036           Tell that devices should be closed in PAUSED -> READY.
2037
2038         * docs/manual/README:
2039           Document how tests in the manual are handled.
2040
2041         * docs/manuals.mak:
2042           Typo in comment.
2043
2044 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2045
2046         * gst/gstbin.c: (bin_query_latency_fold):
2047         Only care about latency min and max when the sink is actually a live
2048         sink.
2049
2050 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2051
2052         * docs/design/part-block.txt:
2053         Fix typo.
2054
2055         * docs/design/part-element-transform.txt:
2056         Add notes about why transform needs to know input/output sizes.
2057         Add some issues that need to be solved.
2058         Add some more use cases.
2059
2060         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2061         (gst_test_trans_class_init), (result_sink_chain),
2062         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2063         (gst_test_trans_push), (gst_test_trans_pop):
2064         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2065         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2066         (set_caps_1), (set_caps_ct1), (transform_ct1),
2067         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2068         (gst_basetransform_suite):
2069         Add suport for different pad templates and buffer-alloc.
2070         Add more checks for caps and buffer-alloc.
2071         Add checks for proxy buffer alloc.
2072         Add unit test for copy transform.
2073
2074 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2075
2076         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2077
2078         * docs/manual/appendix-integration.xml:
2079         * docs/manual/appendix-licensing.xml:
2080         * docs/manual/basics-elements.xml:
2081         * docs/manual/basics-helloworld.xml:
2082         * docs/manual/basics-pads.xml:
2083         * docs/manual/highlevel-components.xml:
2084         * docs/manual/highlevel-xml.xml:
2085         * docs/manual/intro-basics.xml:
2086         * docs/manual/intro-preface.xml:
2087           Typo and formatting fixes (#538594).
2088
2089 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2090
2091         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2092         Fix some memory leaks and uses of object instances that we don't
2093         actually own.
2094
2095 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2096
2097         * plugins/elements/gstmultiqueue.c:
2098         Add functionality to extra-size-buffers property.
2099
2100 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2101
2102         * plugins/elements/gstmultiqueue.c:
2103         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2104         activate the pads if they are added in STATE_NULL.
2105
2106 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2107
2108         * docs/libs/gstreamer-libs-sections.txt:
2109         Add new API to doc
2110         * libs/gst/check/gstcheck.c:
2111         * libs/gst/check/gstcheck.h:
2112         API: gst_check_teardown_pad_by_name
2113
2114 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2115
2116         * libs/gst/check/gstcheck.c:
2117         * libs/gst/check/gstcheck.h:
2118         Also setup request pads and allow setup pads by name (#537812)
2119         API: gst_check_setup_src_pad_by_name
2120         API: gst_check_setup_sink_pad_by_name
2121
2122 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2123
2124         * tests/check/gst/gstbuffer.c:
2125         * tests/check/pipelines/parse-launch.c:
2126           Use HAVE_VALGRIND_H some more.
2127
2128 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2129
2130         * scripts/cvs-update.sh:
2131           Pass arguments to make.
2132           Run autoregen.sh if Makefile is not there.
2133
2134 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2135
2136         * configure.ac:
2137         * gst/gstinfo.c:
2138           Don't assume that <valgrind/valgrind.h> exists just because
2139           the binary is there.
2140
2141 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2142
2143         * tests/check/Makefile.am:
2144         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2145         (gst_test_trans_class_init), (gst_test_trans_init),
2146         (gst_test_trans_set_data), (result_sink_chain),
2147         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2148         (gst_test_trans_pop):
2149         * tests/check/libs/transform1.c: (GST_START_TEST),
2150         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2151         Add some test basetransform element and the beginnings of various
2152         unit tests for it.
2153
2154 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2155
2156         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2157         Increase code readability.
2158         Don't try to compare buffer offsets when ther are invalid.
2159
2160 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2161
2162         * docs/design/Makefile.am:
2163           Dist some more design docs.
2164
2165         * docs/random/moving-plugins:
2166           Small addition: good plugins mustn't have functional code
2167           within assertion macros.
2168
2169 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2170
2171         * docs/design/draft-framestep.txt:
2172         Some ideas about a framestep API
2173
2174         * docs/design/part-element-transform.txt:
2175         Start design and use cases for basetransform in order to get it
2176         fixed soon.
2177
2178 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2179
2180         * gst/gsttaglist.h:
2181           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2182           be in UTF-8 encoding.
2183
2184 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2185
2186         * gst/gstbus.c:
2187           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2188
2189 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2190
2191         * plugins/elements/gstcapsfilter.c:
2192         * plugins/elements/gstfakesink.c:
2193         * plugins/elements/gstfakesrc.c:
2194         * plugins/elements/gstfdsink.c:
2195         * plugins/elements/gstfdsrc.c:
2196         * plugins/elements/gstfilesink.c:
2197         * plugins/elements/gstfilesrc.c:
2198         * plugins/elements/gstidentity.c:
2199         * plugins/elements/gstmultiqueue.c:
2200         * plugins/elements/gstqueue.c:
2201         * plugins/elements/gsttee.c:
2202         * plugins/elements/gsttypefindelement.c:
2203           Remove short_description. Add basic docs for gsttypefindelement.
2204           Simplify markup for fakesrc/fdsrc.
2205
2206 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2207
2208         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2209         Added Since doc.
2210
2211 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2212
2213         Patch by: Joel Larsson <tilljoel at gmail dot com>
2214
2215         * docs/plugins/gstreamer-plugins.args:
2216         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2217         (gst_fd_src_init), (gst_fd_src_update_fd),
2218         (gst_fd_src_set_property), (gst_fd_src_get_property),
2219         (gst_fd_src_create):
2220         * plugins/elements/gstfdsrc.h:
2221         Add timeout property like udpsrc. Fixes #538628.
2222         Add some more docs and example pipelines.
2223
2224 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2225
2226         * docs/libs/gstreamer-libs-sections.txt:
2227         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2228         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2229         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2230         (gst_base_sink_do_sync):
2231         * libs/gst/base/gstbasesink.h:
2232         * win32/common/libgstbase.def:
2233         Add method to allow sinks to specify additional delay between the sync
2234         times and the actual rendering of the data.
2235         API: gst_base_sink_set_render_delay()
2236         API: gst_base_sink_get_render_delay()
2237
2238 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2239
2240         * configure.ac:
2241         Bump version number back to dev -> 0.10.20.1
2242
2243 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2244
2245         * docs/gst/gstreamer-sections.txt:
2246         * gst/gsttaglist.c: (_gst_tag_initialize):
2247         * gst/gsttaglist.h:
2248         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2249         Fixes bug #538568.
2250
2251 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2252
2253         * libs/gst/controller/gstcontroller.c:
2254           Revert one change, that make ret value possible uninitialized.
2255
2256 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2257
2258         * libs/gst/controller/gstcontroller.c:
2259           Use freeze/thaw notify to sync notify emission a bit (its also more
2260           efficient). Move debug output to LOG (is called a lot in a loop).
2261           Always unset g_values if the have been initialized.
2262
2263 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2264
2265         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2266         (gst_base_sink_wait_eos), (gst_base_sink_event):
2267         If we have not seen a buffer before EOS, use the segment values to
2268         report the current position instead of invalid positions.
2269
2270 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2271
2272         * docs/plugins/tmpl/.cvsignore:
2273         * tests/check/gst/.cvsignore:
2274           Ignore more.
2275
2276 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2277
2278         * libs/gst/controller/gstinterpolation.c:
2279         * libs/gst/controller/gstinterpolationcontrolsource.c:
2280         * tests/check/libs/controller.c:
2281           Rewrite handling of default values. Fix overflow with unsigned types
2282           in linear interpolation. Remove now obsolete _first_value() function.
2283           Add more tests. Fixes #538201.
2284
2285 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2286
2287         * libs/gst/base/gstbasetransform.c:
2288         (gst_base_transform_class_init), (gst_base_transform_init),
2289         (gst_base_transform_transform_caps),
2290         (gst_base_transform_prepare_output_buffer):
2291         Add debug info.
2292         When a buffer is writable, its metadata is also writable so we don't
2293         need to subbuffer (which then makes the buffer not-writable anymore).
2294
2295 === release 0.10.20 ===
2296
2297 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2298
2299         * configure.ac:
2300           releasing 0.10.20, "You Crazy Diamond"
2301
2302 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2303
2304         * configure.ac:
2305         0.10.19.3 pre-release
2306
2307 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2308
2309         * configure.ac:
2310         * gst/gstpreset.c:
2311         Rename DATADIR to GST_DATADIR to avoid build problems
2312         on win32. Patch By: David Schleef <ds@schleef.org>
2313         Fixes: #536857
2314
2315 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2316
2317         * configure.ac:
2318         Explicitely link with -ldl if dladdr() is found there. Before it was
2319         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2320         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2321
2322 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2323
2324         * gst/gsterror.c: (_gst_stream_errors_init):
2325           Fix typo (spotted by Fabricio Godoy, #536723).
2326
2327 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2328
2329         * configure.ac:
2330         0.10.19.2 pre-release
2331
2332 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2333
2334         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2335         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2336         Add some debug.
2337         Make sure we don't generate invalid QoS messages.
2338
2339 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2340
2341         * gst/gstevent.c: (gst_event_new_qos):
2342         Add some assert and docs for invalid input to the qos function.
2343
2344 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2345
2346         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2347         (gst_base_sink_get_position):
2348         The reported position must always be smaller than the last seen
2349         timestamps (or timestamp + duration for reverse).
2350
2351 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2352
2353         Patch by: Rob Bradford <rob at robster dot org dot uk>
2354
2355         * gst/gstregistry.c: (gst_registry_scan_path_level):
2356         Don't recurse into .debug directories as some distros install
2357         the debugging symbols next to the plugins in .debug directories
2358         and dlopen() crashes on them sometimes. Fixes bug #508070.
2359
2360         Add FIXME for 0.11 to not recurse into directories at all because
2361         it's very inconsistent to the behaviour of other PATH environment
2362         variables.
2363
2364 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2365
2366         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2367         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2368         Fix position query range checks in reverse playback.
2369
2370 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2371
2372         * gst/gstelement.c:
2373         * gst/gstelement.h:
2374         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2375         clear of the reference to the resulting pad must be released later
2376         or not, resulting in possible leaks. Fixes bug #533865.
2377
2378 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2379
2380         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2381
2382         * gst/gstelementfactory.c:
2383         Small doc fix. Fixes #535285.
2384
2385 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2386
2387         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2388
2389         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2390         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2391         (gst_base_src_loop), (gst_base_src_set_flushing),
2392         (gst_base_src_change_state):
2393         Make sending an EOS event to the basesrc non-blocking even if the
2394         implementation does blocking waits in the create function. This is done
2395         by unlocking the create function when EOS is sent.
2396         Fixes #535218.
2397
2398 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2399
2400         * tools/gst-inspect.c: (print_element_properties_info):
2401         If possible print the element type of GValueArray properties.
2402
2403 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2404
2405         * gst/gstiterator.c:
2406         Remove an unused field from the private GstListIterator struct.
2407
2408 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2409
2410         * libs/gst/controller/gstcontroller.c:
2411           Add parameter guards.
2412
2413 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2414
2415         * tests/check/gst/gstpipeline.c:
2416           Revert test change and add comment why it should not work.
2417
2418 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2419
2420         * tests/check/gst/gstpipeline.c:
2421           Extending the test a little to verify that we also get the NULL state-
2422           change message.
2423
2424 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2425
2426         * gst/gstpreset.c: (gst_preset_default_get_meta),
2427           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2428           (gst_preset_load_preset), (gst_preset_save_preset),
2429           (gst_preset_rename_preset), (gst_preset_delete_preset),
2430           (gst_preset_set_meta):
2431           Add Since: markers to docs blurbs.
2432
2433         * win32/common/libgstreamer.def:
2434           Add recently-added API.
2435
2436 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2437
2438         Patch by: Stefan Kost  <ensonic@users.sf.net>
2439
2440         * configure.ac:
2441         Add DATADIR for storing presets.
2442
2443         * docs/gst/gstreamer-docs.sgml:
2444         * docs/gst/gstreamer-sections.txt:
2445         * docs/gst/gstreamer.types.in:
2446         Add GstPreset to docs.
2447
2448         * gst/Makefile.am:
2449         * gst/gst.h:
2450         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2451         (preset_open_and_parse_header), (preset_parse_version),
2452         (preset_merge), (preset_get_keyfile),
2453         (gst_preset_default_get_preset_names),
2454         (gst_preset_default_get_property_names),
2455         (gst_preset_default_load_preset),
2456         (gst_preset_default_save_presets_file),
2457         (gst_preset_default_save_preset),
2458         (gst_preset_default_rename_preset),
2459         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2460         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2461         (gst_preset_default_reset), (gst_preset_get_preset_names),
2462         (gst_preset_get_property_names), (gst_preset_load_preset),
2463         (gst_preset_save_preset), (gst_preset_rename_preset),
2464         (gst_preset_delete_preset), (gst_preset_set_meta),
2465         (gst_preset_get_meta), (gst_preset_class_init),
2466         (gst_preset_base_init), (gst_preset_get_type):
2467         * gst/gstpreset.h:
2468         Add GstPreset to core. Fixes #396779
2469
2470         * tests/check/Makefile.am:
2471         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2472         (gst_preset_test_set_property), (gst_preset_test_class_init),
2473         (gst_preset_test_base_init), (gst_preset_test_get_type),
2474         (gst_preset_test_plugin_init), (GST_START_TEST),
2475         (remove_preset_file), (test_setup), (test_teardown),
2476         (gst_preset_suite):
2477         Add GstPreset unit tests.
2478
2479 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2480
2481         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2482         The default event function on a sinkpad should return TRUE when
2483         there are no internal links but should collect the return values from
2484         the internal links otherwise.
2485
2486 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2487
2488         * plugins/elements/gsttypefindelement.c:
2489         (gst_type_find_element_src_event),
2490         (gst_type_find_element_handle_event):
2491         Use faster and safer _pad_push_event().
2492
2493 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2494
2495         * docs/gst/gstreamer-sections.txt:
2496         * gst/gstutils.c: (element_find_unlinked_pad),
2497           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2498         * gst/gstutils.h:
2499           API: add gst_bin_find_unlinked_pad()
2500           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2501
2502 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2503
2504         * gst/gstclock.c:
2505         * gst/gstclock.h:
2506         * gst/gsttask.c:
2507         * gst/gsttask.h:
2508         Fixed a bunch of typos.
2509
2510 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2511
2512         * gst/gstpad.h:
2513         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2514           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2515           (gst_parse_bin_from_description_full):
2516         * gst/gstutils.h:
2517           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2518
2519 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2520
2521         * docs/pwg/advanced-tagging.xml:
2522           Small docs update, can't be bothered to rewrite the nonsensical
2523           examples right now.
2524
2525 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2526
2527         * gst/gstevent.h:
2528           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2529
2530 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2531
2532         * gst/parse/grammar.y:
2533           Remove unneeded casts.
2534
2535 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2536
2537         * gst/parse/grammar.y:
2538         * tests/check/pipelines/parse-launch.c:
2539           Get all missing elements from a parse launch string if possible
2540           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2541
2542 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2543
2544         * tests/check/Makefile.am:
2545         * tests/check/pipelines/parse-launch.c:
2546           Add some unit tests for the new gst_parse_launch*_full() API.
2547           (Exposes a previously-existing memory leak in the error code
2548           path, so adding to VALGRIND_TO_FIX for now).
2549
2550 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2551
2552         * docs/gst/gstreamer-sections.txt:
2553         * gst/gst.c: (init_post):
2554         * gst/gst_private.h: (_GstParseContext):
2555         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2556           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2557           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2558           (gst_parse_launch_full):
2559         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2560           (GstParseFlags), (GstParseContext):
2561         * gst/gstutils.c: (gst_parse_bin_from_description),
2562           (gst_parse_bin_from_description_full):
2563         * gst/gstutils.h:
2564         * gst/parse/grammar.y:
2565         * gst/parse/types.h:
2566         * win32/common/libgstreamer.def:
2567           Add new gst_parse_*_full API (#528178):
2568           API: gst_parse_launch_full()
2569           API: gst_parse_launchv_full()
2570           API: gst_parse_bin_from_description_full()
2571           API: gst_parse_context_new()
2572           API: gst_parse_context_free()
2573           API: gst_parse_context_get_missing_elements()
2574
2575 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2576
2577         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2578
2579         * docs/faq/gst-uninstalled:
2580           Also support ffmpeg in gst-uninstalled.
2581
2582 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2583
2584         * configure.ac:
2585         After discussion on IRC use the binary registry as default
2586         but allow to disable it with --disable-binary-registry.
2587
2588         * win32/common/libgstreamer.def:
2589         Add the two new symbols for the binary registry.
2590
2591 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2592
2593         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2594         * gst/gstutils.c: (gst_parse_bin_from_description):
2595         * gst/parse/grammar.y: (graph):
2596           More guards against bad input; typo fix; some minor clean-ups.
2597
2598 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2599
2600         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2601
2602         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2603         If nothing else can be used, use the last buffer's start time as
2604         the segment's last stop. Fixes bug #534258.
2605
2606 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2607
2608         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2609           Move size sanity check to the right place: downstream may return
2610           a buffer with a smaller size if the buffer caps are different than
2611           the requested ones, as may happen when doing reverse negotiation.
2612
2613 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2614
2615         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2616         (gst_file_sink_render):
2617         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2618         (gst_file_src_start):
2619         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2620         use it yet.
2621
2622 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2623
2624         * gst/gstpad.c: (gst_pad_load_and_link):
2625         * gst/gstutils.c: (gst_element_link_pads),
2626         (gst_element_unlink_pads):
2627         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2628         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2629         (gst_check_teardown_sink_pad),
2630         (gst_check_element_push_buffer_list):
2631         * tests/check/elements/fakesink.c: (GST_START_TEST):
2632         * tests/check/elements/filesink.c:
2633         * tests/check/elements/filesrc.c: (GST_START_TEST):
2634         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2635         (mq_sinkpad_to_srcpad):
2636         * tests/check/elements/tee.c: (GST_START_TEST):
2637         * tests/check/generic/sinks.c: (GST_START_TEST):
2638         * tests/check/gst/gstbin.c: (GST_START_TEST):
2639         * tests/check/gst/gstevent.c: (GST_START_TEST):
2640         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2641         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2642         * tests/check/gst/gstquery.c: (GST_START_TEST):
2643         * tests/check/gst/gstutils.c: (GST_START_TEST):
2644         * tests/check/libs/basesrc.c: (GST_START_TEST):
2645         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2646         (gst_parse_test_element_change_state):
2647         Don't use gst_element_get_pad().
2648
2649 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2650
2651         * docs/Makefile.am:
2652         Fix installing plugin documentation when gtk-doc is disabled.
2653
2654 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2655
2656         * docs/manual/advanced-autoplugging.xml:
2657         * docs/manual/basics-helloworld.xml:
2658         * docs/manual/basics-pads.xml:
2659         * docs/manual/highlevel-components.xml:
2660         Avoid using a bad function in the example code.
2661
2662 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2663
2664         * gst/gstclock.c: (gst_clock_set_calibration):
2665         Fix debug of the new clock rate.
2666
2667 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2668
2669         * win32/common/libgstbase.def:
2670         Add gst_base_sink_wait_clock() to the exported symbols.
2671
2672 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2673
2674         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2675
2676         * libs/gst/base/gstbasetransform.c:
2677         (gst_base_transform_sink_event):
2678         Unref events that the GstBaseTransform::event vfunc didn't want to
2679         have forwarded by the base class. Closes a leak in identity.
2680         Fixes bug #446763.
2681
2682 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2683
2684         * docs/libs/gstreamer-libs-sections.txt:
2685         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2686         * libs/gst/base/gstbasesink.h:
2687         Expose a method that was previously used internally to synchronize
2688         against the clock because it can be useful for subclasses too.
2689         API: GstBaseSink::gst_base_sink_wait_clock()
2690
2691 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2692
2693         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2694           Add sanity check to make sure we don't get smaller buffers
2695           than requested (and fallback to normal buffer alloc if we do).
2696
2697 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2698
2699         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2700         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2701         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2702         Refactor adjusting the running_time with latency and offset into a
2703         separate method.
2704         When doing clipping, we still want to use the subclass get_times method,
2705         just in case the DURATION or TIMESTAMP are not set.
2706
2707 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2708
2709         * docs/gst/gstreamer-sections.txt:
2710         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2711         * gst/gsttypefind.h:
2712         * win32/common/libgstreamer.def:
2713           API: add gst_type_find_suggest_simple(), #533740.
2714
2715 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2716
2717         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2718           Use right error code when typefinding fails, so we can use
2719           the default (translated) error messages.
2720
2721 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2722
2723         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2724         (gst_base_src_start):
2725         When the subclass did not set caps on outgoing buffers, configure the
2726         caps we negotiated on the source pad.
2727         When the typefind helper does not find caps, error out properly instead
2728         of doing things with NULL caps.
2729
2730 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2731
2732         * gst/gsttypefind.h:
2733           Tabs to spaces, oh yes!
2734
2735 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2736
2737         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2738           Add David's and Benjamin's tests for array intersection to the
2739           unit test suite (#147931).
2740
2741 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2742
2743         * gst/gstevent.c:
2744           Document that gst_event_new_tag() and gst_event_new_navigation()
2745           take ownership of the taglist/structure passed to them. (#533635).
2746
2747 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2748
2749         * docs/Makefile.am:
2750         Don't descend into the plugins dir if plugin docs building
2751         is disabled.
2752
2753         * docs/README:
2754         Add a note about the new type:GTypeName syntax for the plugin
2755         documentation .types file.
2756
2757 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2758
2759         * gst/gstmessage.c: (gst_message_new_error),
2760         (gst_message_new_warning), (gst_message_new_info):
2761         * gst/gstmessage.h:
2762         Mark the debug string parameters as const. Fixes bug #533490.
2763
2764 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2765
2766         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2767         Sort buffer cache list by end offsets. This makes sure that we don't
2768         stop to search for a cached buffer that contains the requested data
2769         too early.
2770         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2771         more efficient. Fixes bug #459862.
2772
2773 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2774
2775         * gst/gstinfo.c:
2776           Explain why we copy the list.
2777
2778         * gst/gstpipeline.c:
2779           Improve docs.
2780
2781         * gst/gstutils.c:
2782           Add one debug-log statement to help tracing probelms with linking pads.
2783
2784 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2785
2786         * tests/check/gst/gstinfo.c:
2787         Add a test for removing the default log handler. Seems to fail under
2788         windows.
2789
2790 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2791
2792         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2793         Release pad lock before calling out to avoid a possible deadlock.
2794
2795 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2796
2797         * gst/parse/grammar.y:
2798         Remove unneeded value unset.
2799
2800         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2801         Add unit test for de/serialization of caps.
2802
2803 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2804
2805         * plugins/elements/gstfakesink.c:
2806         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2807         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2808         (gst_fake_src_class_init):
2809         Use custom marshalers that take GstMiniObject as first parameter.
2810         Using OBJECT as parameter while a GstMiniObject is given will lead
2811         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2812
2813 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2814
2815         * plugins/elements/gsttypefindelement.c:
2816         (gst_type_find_element_handle_event),
2817         (gst_type_find_element_send_cached_events),
2818         (gst_type_find_element_change_state):
2819         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2820         immediately.
2821
2822 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2823
2824         * plugins/elements/gsttypefindelement.c:
2825         (gst_type_find_handle_src_query), (stop_typefinding),
2826         (gst_type_find_element_handle_event),
2827         (gst_type_find_element_send_cached_events),
2828         (gst_type_find_element_change_state):
2829         Forward FLUSH_START events immediately and clean up instead of
2830         caching them.
2831
2832 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2833
2834         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2835
2836         * libs/gst/base/gstbasetransform.c:
2837         (gst_base_transform_buffer_alloc):
2838         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2839         fall back to default negotiation in the chain function if the caps
2840         are different from what was requested. Fixes bug #526768.
2841
2842 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2843
2844         * gst/gstsegment.c:
2845         * tests/check/gst/gstsegment.c:
2846           No, let's not use g_slice_{dup|copy} here, since they only exist
2847           since GLib 2.14 and we still depend only on >= 2.12. Also add
2848           unit test for gst_segment_copy().
2849
2850 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2851
2852         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2853           Try to fix 'dereferencing type-punned pointer will break strict
2854           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2855           changed the default GType typedef from gulong to gsize at some point,
2856           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2857           g_once_* functions all take a gsize * though, so work around the type
2858           mismatch for C++ by doing everything in gsize and casting to GType
2859           later.
2860
2861 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2862
2863         * plugins/elements/gstmultiqueue.c:
2864         Add documentation for the signals to push our core plugin docs
2865         coverage back up to 100%.
2866
2867 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2868
2869         * gst/gstinfo.h (GST_FUNCTION):
2870           Reverted GST_FUNCTION to the old version as we don't want the
2871           full signature in C++ code. Also added support for MSVC.
2872
2873 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2874
2875         * gst/gstutils.h:
2876         Intern the type name string, similar to what G_DEFINE_TYPE does.
2877
2878 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2879
2880         * gst/gstutils.h:
2881         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2882
2883 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2884
2885         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2886
2887         * libs/gst/base/gstbasetransform.c:
2888         (gst_base_transform_buffer_alloc):
2889         Don't passthrough buffer allocation too easily if the caps change.
2890         This breaks when working in passthrough mode and upstream changes
2891         it's caps. Fixes bug #526768.
2892
2893 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2894
2895         * gst/gstinfo.c (gst_debug_log_valist):
2896           Improved the __FILE__ part of debug output for MSVC.
2897
2898 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2899
2900         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2901           Declaration after statement fix for compilers like MSVC.
2902
2903 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2904
2905         * win32/common/config.h.in:
2906           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2907           use the real thing than having "???" unconditionally.
2908
2909 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2910
2911         * gst/gstinfo.h (GST_FUNCTION):
2912           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2913
2914 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2915
2916         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2917         Small code cleanup.
2918
2919         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2920         (gst_base_sink_set_flushing):
2921         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2922         Fix some comments.
2923
2924 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2925
2926         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2927         (gst_fake_src_init), (gst_fake_src_set_property),
2928         (gst_fake_src_get_property), (gst_fake_src_start):
2929         * plugins/elements/gstfakesrc.h:
2930         Added format property to control the format of the newsegment events.
2931         API: GstFakeSrc:format
2932
2933 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2934
2935         * win32/common/libgstreamer.def:
2936         Add gst_pad_has_name() to the exported symbols.
2937
2938 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2939
2940         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2941         * libs/gst/base/gstbasetransform.c:
2942         (gst_base_transform_prepare_output_buffer):
2943         Don't allow negative sizes when allocating new buffers.
2944         Fixes bug #461253.
2945
2946 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2947
2948         Patch by: Sjoerd Simons <sjoerd at luon net>
2949
2950         * gst/gstbus.c: (gst_bus_source_dispatch):
2951           Don't print a warning if the queue is empty when we try to pop
2952           here. That could happen if another thread or callback set the
2953           bus to flushing between the source's check/prepare and the
2954           dispatch being called (#531538).
2955
2956 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2957
2958         * plugins/elements/gstmultiqueue.c:
2959           Small docs fix.
2960         
2961 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2962
2963         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2964         Add unit test for deserializing uint64s and check some really large
2965         numbers in the int64 test.
2966
2967 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2968
2969         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2970         (print_interfaces), (print_element_properties_info),
2971         (print_signal_info):
2972         Use "%s" as format string instead of printing strings directly.
2973
2974 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2975
2976         * gst/gstclock.c: (gst_clock_set_calibration):
2977         Make some checks actually useful.
2978
2979         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2980         Remove some unused code. Unsigned integers tend to be >= 0.
2981
2982 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2983
2984         * gst/gstminiobject.c: (gst_value_get_mini_object):
2985           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2986           function was not in the unscheduled 0.10.19 release.
2987
2988 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2989
2990         * gst/gstregistry.c: (gst_registry_scan_path_level):
2991           Only print one log message per non-plugin file.
2992
2993 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2994
2995         * gst/gstinfo.c: (gst_debug_log_default):
2996           Fix alignment of debug log columns on 64-bit.
2997
2998 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
2999
3000         * docs/libs/Makefile.am:
3001         * docs/libs/gstreamer-libs-sections.txt:
3002           Ignore private controller headers for docs.
3003
3004 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3005
3006         * libs/gst/controller/gstcontrollerprivate.h:
3007         * libs/gst/controller/gsthelper.c:
3008         * libs/gst/controller/gstinterpolation.c:
3009         * libs/gst/controller/gstinterpolationcontrolsource.c:
3010         (gst_interpolation_control_source_set_interpolation_mode):
3011         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3012         * libs/gst/controller/lib.c:
3013         Move some private declarations into private headers.
3014
3015 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3016
3017         * gst/gstdebugutils.c: (debug_dump_element_pad):
3018         Remove some code that is unused after Stefan's refactoring and uses
3019         uninitialized variables now, resulting in a compiler warning.
3020
3021 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3022
3023         * gst/gstregistry.c: (gst_registry_scan_path_level):
3024           Run g_str_has_suffix() only on the file name, not the
3025           entire file path.
3026
3027 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3028
3029         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3030           Since we're not called only from the chain function any longer,
3031           we can't assume that there's always data in the queue, so move
3032           the is_full check to the beginning of the loop (otherwise we'd
3033           hit the assert when changing the limit properties while the
3034           queue is empty or not running yet).
3035           Also, only set a discont if items were actually removed from
3036           the queue.
3037
3038         * tests/check/elements/queue.c: (test_leaky_downstream):
3039           Test case for the above.
3040
3041 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3042
3043         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3044
3045         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3046         (gst_queue_chain), (queue_capacity_change),
3047         (gst_queue_set_property):
3048         When changing thr max capacity of a leaky queue, immediatly drop buffers
3049         instead of waiting for a push on the sinkpad. Fixes #530637.
3050
3051 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3052
3053         * gst/gstdebugutils.c:
3054           Refactor code and fix handling of ghostpads and their proxypads.
3055
3056 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3057
3058         * docs/gst/gstreamer-sections.txt:
3059         * gst/gstevent.c: (gst_event_has_name):
3060         * gst/gstevent.h:
3061         * tests/check/gst/gstevent.c: (GST_START_TEST):
3062         Add method to conveniently check the name of a custom event with
3063         gst_event_has_name().
3064         Reformat the event docs so that related methods are put together instead
3065         of the default alphabetical sort.
3066         Update unit test with new method.
3067         API: GstEvent::gst_event_has_name()
3068
3069 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3070
3071         * libs/gst/check/Makefile.am:
3072           Don't add an explicit link to libgstreamer-0.10.la; it's already
3073           included in GST_OBJ_LIBS.
3074
3075 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3076
3077         * gst/gst.c:
3078         Register GstClock type from a type-safe context. Fixes bug #530317.
3079
3080 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3081
3082         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3083         * tools/gst-run.c:
3084           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3085
3086 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3087
3088         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3089         (gst_bin_dispose):
3090         Use the GLib stuff to create a private structure.
3091         Add some locking around some dispose methods to make them a little
3092         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3093
3094 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3095
3096         * libs/gst/base/gstbasesink.h:
3097         * libs/gst/base/gstbasesrc.h:
3098         * libs/gst/base/gstbasetransform.h:
3099         * libs/gst/base/gstcollectpads.h:
3100           Fix doc typos and unify caps a bit.
3101
3102 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3103
3104         * tools/gst-launch.1.in:
3105           Forgot to also add the envvar docs here.
3106
3107 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3108
3109         * gst/gst.c: (init_post), (gst_deinit):
3110         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3111           (test_concurrent_create), (gst_pipeline_suite):
3112           Ref some more classes in gst_init() to work around thread-safety
3113           issues in pre-2.16 GLibs, and add basic unit test.
3114
3115 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3116
3117         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3118         (gst_base_sink_send_event):
3119         Rearrange the latency query code. We always want to do the upstream
3120         query, even if we are not live so that the upstream elements can get the
3121         latency results too. If we fail doing the query and we are live, we
3122         return TRUE afterwards.
3123
3124 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3125
3126         patch by: Jason Zhao <e3423c@motorola.com>
3127
3128         * docs/gst/running.xml:
3129         * gst/gst.c:
3130           Enable/disable scan_and_update_registry() based on commandline switch
3131           or environment variable. Fixes #520468.
3132           
3133         * ChangeLog:
3134           Fix typo in my previous commit.
3135
3136 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3137
3138         * gst/gstregistrybinary.c:
3139           Add a warning if we hit unhandled factories when saving.
3140           More debug logging detail, but move to LOG category.
3141
3142 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3143
3144         * gst/gstregistry.c:
3145           Tell the *truth* when improving the documentation.
3146
3147 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3148
3149         * gst/gstelementfactory.c: (gst_element_factory_make):
3150         Unref the factory after it was used the last time, not before.
3151
3152         * gst/gstindexfactory.c: (gst_index_factory_make):
3153         Improve debugging a bit and don't leak a ref to the index factory with
3154         each call.
3155
3156 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3157
3158         * gst/gstregistry.c:
3159           Improve the documentation.
3160
3161 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3162
3163         * gst/gstsegment.c:
3164           The glib macro seems to be borked. Use g_slice_copy directly and cast
3165           in the hope that this fixes the warning on 64bit.
3166
3167 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3168
3169         * gst/gstsegment.c:
3170           Document the new function. Use g_slice_dup() (no need for
3171           gst_segment_init()).    
3172
3173 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3174
3175         * docs/gst/gstreamer-sections.txt:
3176           Move GParamSepc macros to standart section.
3177   
3178         * gst/gstbin.c:
3179           Dn't document _get_type - its in private section in docs anyway and
3180           this doc-blob was incomplete.
3181
3182         * gst/gstclock.h:
3183           Fix wrong symbol names in docs.
3184
3185         * gst/gstmacros.h:
3186           Add once doc sentence.
3187
3188         * tests/check/gst/.cvsignore:
3189           Ignore more.
3190
3191 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3192
3193         * docs/gst/Makefile.am:
3194           And remove those libs here.
3195
3196 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3197
3198         * docs/libs/Makefile.am:
3199           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3200
3201 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3202
3203         Patch by: Olivier Crete <tester at tester dot ca>
3204
3205         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3206         Add the min-threshold to the min latency if possible. Fixes #529148.
3207
3208 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3209
3210         * docs/gst/gstreamer.types.in:
3211           Stupid editor, I removed that line as it should go in yet.
3212
3213 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3214
3215         * docs/gst/gstreamer.types.in:
3216         * docs/libs/gstreamer-libs.types:
3217           Remove library types fro core docs and have them in libs docs.
3218           Reformat and cleanup. Add comment for miniobject types.
3219
3220 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3221
3222         * gst/gsturi.c: (gst_uri_get_protocol):
3223           Fix leak: g_strdown operates on the string in place, while
3224           g_ascii_strdown() returns a newly-allocated string.
3225
3226 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3227
3228         * tools/gst-inspect.c: (print_uri_handler_info),
3229         (print_element_info):
3230         Print the URI protocols and the URI type supported by the element.
3231
3232 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3233
3234         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3235         Use g_value_take_string() instead of the deprecated
3236         g_value_set_string_take_ownership().
3237
3238 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3239
3240         * gst/gstregistrybinary.c: (_gst_crc32):
3241         Return the old CRC instead of 0 if we give a NULL buffer
3242         or a buffer with a length of 0.
3243
3244 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3245
3246         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3247         (gst_uri_get_protocol), (gst_uri_has_protocol),
3248         (gst_uri_construct), (gst_uri_handler_set_uri):
3249         A valid URI scheme can also include '+', '-' and '.' additional
3250         to alphanumeric characters as per RFC 3986 Section 3.1.
3251
3252         Handle URI schemes case insensitive in all places and convert
3253         to lower-case when constructing an URI or setting an URI with
3254         the GstURIHandler interface. Fixes bug #528868.
3255         All elements can still assume (as before) that they will
3256         get passed URIs with a lower-case URI scheme by the GstURIHandler
3257         interface.
3258
3259 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * gst/gstcaps.c: (gst_static_caps_get):
3262         * gst/gstclock.c: (gst_clock_entry_new):
3263           Don't use g_atomic_set_int where it's not needed.
3264
3265 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3266
3267         * gst/gstvalue.c: (gst_value_deserialize_caps):
3268         * gst/parse/grammar.y:
3269         Fix 2 caps leaks.
3270
3271 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3272
3273         * gst/gstutils.c: (gst_atomic_int_set):
3274         Use g_atomic_int_set() here too instead of assignment +
3275         g_atomic_int_get().
3276
3277 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3278         
3279         * gst/gstutils.c:
3280         * gst/gstutils.h:
3281         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3282         now that we depend on new enough GLib.
3283
3284         * gst/gstcaps.c: (gst_static_caps_get):
3285         * gst/gstclock.c: (gst_clock_entry_new):
3286         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3287         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3288         (gst_debug_category_set_threshold):
3289         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3290         (gst_base_sink_set_qos_enabled):
3291         * libs/gst/net/gstnettimeprovider.c:
3292         (gst_net_time_provider_set_property):
3293         Use g_atomic_int_set() instead of gst_atomic_int_set().
3294
3295 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3296
3297         * gst/gstquery.c:
3298           Also use G_GINT64_CONSTANT for the queries.
3299
3300 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3301
3302         * gst/gstmessage.c:
3303           Use G_GINT64_CONSTANT in varargs function.
3304
3305 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3306
3307         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3308         Initialize the registry magic with zeroes.
3309
3310 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3311
3312         * gst/gstregistrybinary.c: (_gst_crc32),
3313         (gst_registry_binary_write),
3314         (gst_registry_binary_initialize_magic),
3315         (gst_registry_binary_write_cache),
3316         (gst_registry_binary_check_magic),
3317         (gst_registry_binary_read_cache):
3318         * gst/gstregistrybinary.h:
3319         Add crc32 checksum to the binary registry file and check this before
3320         accepting a registry file.
3321
3322         Also free the data list when writing to the registry file fails.
3323
3324 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3325
3326         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3327         (gst_registry_binary_load_feature),
3328         (gst_registry_binary_load_plugin):
3329         If an element supports the Uri interface, returns a valid pointer
3330         to the supported URI protocols but this pointer contains nothing
3331         don't try to save that as it will corrupt the registry.
3332
3333         Don't unref the plugin if we added it to the registry already but
3334         fail to load a feature as gst_registry_add_plugin() takes ownership
3335         of the plugin.
3336
3337         Improve debugging a bit.
3338
3339 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3340
3341         * gst/gsttaglist.h:
3342           Clarify some tag item docs after discussion on irc.
3343
3344 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3345
3346         * docs/gst/gstreamer-docs.sgml:
3347           Remove commented out plugins (they have their own docs). Update
3348           comments.
3349
3350 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3351
3352         * docs/gst/gstreamer-docs.sgml:
3353         * docs/gst/gstreamer-sections.txt:
3354         * gst/gstparamspecs.c:
3355         * gst/gstparamspecs.h:
3356           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3357           docs to own section.
3358
3359         * gst/gstvalue.c:
3360           This now only documents GValue.
3361           
3362         * docs/libs/gstreamer-libs-sections.txt:
3363         * libs/gst/controller/gstcontroller.h:
3364           Remove GST_PARAM_CONTROLLABLE.
3365
3366 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3367
3368         * docs/README:
3369           Correct file path. Tell about how to use -overrides.txt.
3370         * docs/design/draft-tagreading.txt:
3371           Small design update.
3372
3373 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3374
3375         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3376         (gst_registry_binary_load_plugin):
3377         Fix a typo in a debug message and revert change from yesterday as
3378         gst_registry_add_plugin() will only fail if something is really wrong
3379         already and we can't survive it anyway.
3380
3381 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3382
3383         * gst/gst.c: (init_post), (gst_deinit):
3384           Pre-register GstGError GType from a thread-safe context
3385           (fixes #527967); unref enum type classes in deinit.
3386
3387 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3388
3389         Patch by: Rene Stadler <mail at renestadler de>
3390
3391         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3392           Merging an empty list with another list in KEEP_ALL mode should
3393           yield an empty list as result and not the second list (#512578).
3394
3395         * tests/check/gst/gsttagsetter.c:
3396           Add unit test for tag merge modes and the aforementioned bug.
3397
3398 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3399
3400         Patch by: Rene Stadler <mail at renestadler de>
3401
3402         * gst/gsttaglist.h:
3403           Fix description to match the order in the table (#512577).
3404   
3405 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3406
3407         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3408
3409         * libs/gst/net/gstnettimepacket.h:
3410         * docs/libs/gstreamer-libs-sections.txt:
3411           Define socklen_t as int if it's not defined yet. Fixes compilation
3412           with MSVC6 and other versions where socklen_t is not defined in
3413           the windows headers (#518022).
3414
3415 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3416
3417         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3418         If gst_registry_add_plugin() fails our reference to the plugin is
3419         invalid so don't try to use it anymore and instead error out.
3420
3421 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3422
3423         * tools/gst-xmlinspect.c: (print_element_info), (main):
3424           De-cruft a bit. If no argument is specified, print all elements in
3425           XML syntax rather than a freestyle list of elements like gst-inspect.
3426           Also, don't print XML header chunk unless we actually have something
3427           to print (ie. don't print it before an error message); print error
3428           message to stderr not stdout. Remove support for printing plugin
3429           info (it would just output something freestyle along the lines of
3430           gst-inspect so far), which fixes #514507. Also add license header.
3431
3432 2008-04-11  Julien Moutte  <julien@fluendo.com>
3433
3434         Mac OS X love...
3435         * configure.ac: Merge platform specific defines, introduce a new
3436         define on OS X to remember that forking when updating registry is
3437         unsafe.
3438         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3439         module.
3440         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3441         is defined.
3442         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3443         condition that leads to absolutely no plugins being registered on
3444         OS X.
3445
3446 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3447
3448         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3449
3450         * gst/gstutils.c: (gst_pad_add_data_probe),
3451           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3452           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3453           (gst_pad_add_buffer_probe_full):
3454         * gst/gstutils.h:
3455         * docs/gst/gstreamer-sections.txt:
3456         * win32/common/libgstreamer.def:
3457           Add gst_pad_add_*_probe_full() functions with a notify callback that
3458           lets the caller free the data it passes to the probe functions. This
3459           is useful for bindings such as gst-python or gstreamermm (#526814).
3460           API: gst_pad_add_data_probe_full
3461           API: gst_pad_add_buffer_probe_full
3462           API: gst_pad_add_event_probe_full
3463
3464         * tests/check/gst/gstutils.c:
3465           Add minimal unit test to make sure freeing the data actually works
3466           as expected.
3467
3468         * tests/benchmarks/.cvsignore:
3469           Random cvsignore addendum.
3470
3471 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3472
3473         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3474           (GST_DEBUG_BIN_TO_DOT_FILE):
3475           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3476           to it in the docs (since these are macros the types of the arguments
3477           won't be shown in the docs otherwise).
3478
3479 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3480
3481         * gst/gstpad.c:
3482           Do not abort on out of memory for pad_alloc_buffer.
3483
3484 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3485
3486         * libs/gst/check/gstcheck.c:
3487           Remove blank line between symbol name ad parameters to fix gtkdoc
3488           warning.
3489
3490 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3491
3492         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3493
3494         * docs/gst/gstreamer-sections.txt:
3495         * gst/gstsegment.c:
3496         * gst/gstsegment.h:
3497         * win32/common/libgstreamer.def:
3498           Expose gst_segment_copy() to make things easier for the c++ bindings.
3499           Fixes #518932.
3500           API: gst_segment_copy()
3501
3502 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3503
3504         * gst/gst.c: (gst_init_get_option_group), (init_post):
3505           Fix const position; ref GType classes for enum types to work
3506           around thread-safety issues in GLib versions < 2.16.
3507
3508 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3509
3510         * docs/design/part-buffering.txt:
3511         Fix some typos and set the estimated total for push mode to -1.
3512
3513         * gst/gstquery.c: (gst_query_new_buffering):
3514         Set buffering-left to 0 as we're not buffering by default.
3515
3516         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3517         Implement BUFFERING query.
3518
3519 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3520
3521         Based on patch by: Milosz Derezynski <internalerror gmail com>
3522
3523         * gst/gsterror.c: (_gst_stream_errors_init):
3524         * gst/gsterror.h:
3525           Add two new error codes for encrypted content. Fixes #524659.
3526           API: GST_STREAM_ERROR_DECRYPT
3527           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3528
3529 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3530
3531         * gst/gstquery.h:
3532           Fix typo.
3533
3534         * win32/common/libgstreamer.def:
3535           Add new functions.
3536
3537 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3538
3539         * plugins/elements/gstidentity.c: (gst_identity_event),
3540         (gst_identity_start):
3541         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3542         event after processing some data. Fixes bug #526042.
3543
3544 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3545
3546         * docs/gst/gstreamer-sections.txt:
3547         * gst/gstquery.c: (gst_query_parse_latency),
3548         (gst_query_set_buffering_percent),
3549         (gst_query_parse_buffering_percent),
3550         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3551         * gst/gstquery.h:
3552         Rename _avail -> _range
3553         API: gst_query_set_buffering_range
3554         API: gst_query_parse_buffering_range
3555
3556 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3557
3558         * docs/design/part-buffering.txt:
3559         * gst/gstquark.c:
3560         * gst/gstquark.h:
3561         * gst/gstquery.c: (gst_query_parse_latency),
3562         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3563         (gst_query_parse_buffering_percent):
3564         * gst/gstquery.h:
3565         Add busy field and quark for the buffering query so that the app can
3566         only use the query to see if buffering is in progress.
3567
3568 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3569
3570         * docs/gst/gstreamer-sections.txt:
3571         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3572         (gst_message_parse_buffering_stats):
3573         * gst/gstmessage.h:
3574         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3575         (gst_query_parse_latency), (gst_query_new_buffering),
3576         (gst_query_set_buffering_percent),
3577         (gst_query_parse_buffering_percent),
3578         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3579         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3580         * gst/gstquery.h:
3581         Reorder the message docs and headers for clarity.
3582         Add aditional buffering stats API for messages.
3583         Add buffering query.
3584         Convert some leftover queries to use GstQuark.
3585         API: gst_message_set_buffering_stats
3586         API: gst_message_parse_buffering_stats
3587         API: GST_QUERY_BUFFERING
3588         API: GstBufferingMode
3589         API: gst_query_new_buffering
3590         API: gst_query_set_buffering_percent
3591         API: gst_query_parse_buffering_percent
3592         API: gst_query_set_buffering_stats
3593         API: gst_query_parse_buffering_stats
3594
3595 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3596
3597         * gst/gstmessage.c: (gst_message_new_error),
3598         (gst_message_new_warning), (gst_message_new_info),
3599         (gst_message_new_buffering), (gst_message_new_state_changed),
3600         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3601         (gst_message_new_new_clock), (gst_message_new_segment_start),
3602         (gst_message_new_segment_done), (gst_message_new_duration),
3603         (gst_message_new_async_start), (gst_message_parse_buffering),
3604         (gst_message_parse_state_changed),
3605         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3606         (gst_message_parse_new_clock), (gst_message_parse_error),
3607         (gst_message_parse_warning), (gst_message_parse_info),
3608         (gst_message_parse_segment_start),
3609         (gst_message_parse_segment_done), (gst_message_parse_duration),
3610         (gst_message_parse_async_start):
3611         Use GstQuark for messages.
3612
3613 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3614
3615         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3616         * gst/gstquark.h:
3617         Add some more quarks needed for messages and queries.
3618
3619 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3620
3621         * docs/design/part-buffering.txt:
3622         Remove the "none" buffering mode, STREAM is a good default.
3623         Move estimated-time to the avail query, that's when it will be needed.
3624         Other small typo fixes and updates.
3625
3626 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3627
3628         * gst/gstindex.c: (gst_index_resolver_get_type):
3629           Don't put descriptions into the nick field of a GEnumValue: it's not
3630           meant for that and some language bindings rely on the nick field to
3631           construct constants and the like. Fixes #526705.
3632
3633 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3634
3635         * NEWS:
3636         * RELEASE:
3637         * gstreamer.doap:
3638           Merge other changes from 0.10.19 release branch.
3639
3640 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3641
3642         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3643
3644         * configure.ac:
3645         Actually build dlls when cross-compiling with mingw32.
3646         Fixes bug #526247.
3647
3648 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3649
3650         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3651
3652         * gst/gstpoll.c:
3653         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3654
3655 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3656
3657         * docs/design/draft-latency.txt:
3658         Fix typo.
3659
3660         * docs/design/part-buffering.txt:
3661         Update design docs with more buffering ideas.
3662
3663 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3664
3665         * configure.ac:
3666           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3667
3668 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3669
3670         * configure.ac:
3671           Revert part that belongs to the preset patch.
3672
3673 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3674
3675         * configure.ac:
3676           Add qoutes to the define. Fixes # 525961.
3677
3678 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3679
3680         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3681         (gst_file_index_load), (gst_file_index_add_id),
3682         (gst_file_index_get_assoc_entry):
3683         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3684         (gst_mem_index_free_id), (gst_mem_index_add_id),
3685         (gst_mem_index_index_format):
3686         Use GSlice when possible.
3687
3688 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3689
3690         * libs/gst/controller/gstinterpolationcontrolsource.c:
3691         (gst_control_point_free),
3692         (gst_interpolation_control_source_set_internal):
3693         Use GSlice for allocating the control points.
3694
3695 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3696
3697         * plugins/elements/gsttypefindelement.c:
3698         (gst_type_find_element_class_init),
3699         (gst_type_find_element_set_property),
3700         (gst_type_find_element_get_property),
3701         (gst_type_find_element_activate):
3702         * plugins/elements/gsttypefindelement.h:
3703         Cleanup properties.
3704         Fix pad leak when peer query fails.
3705         We can still typefind when the peer returns -1.
3706         Add property to force caps and bypass typefinding. This will be used in
3707         uridecodebin.
3708         API::force-caps
3709
3710 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3711
3712         * configure.ac:
3713         Require GLib 2.12.
3714
3715         * gst/glib-compat-private.h:
3716         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3717         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3718         Unconditionally use GSlice for allocation.
3719
3720         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3721         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3722         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3723         (gst_structure_free):
3724         Use GSlice for allocation.
3725
3726 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3727
3728         * gst/parse/Makefile.am:
3729         * gst/parse/grammar.tab.pre.c:
3730         * gst/parse/grammar.tab.pre.h:
3731         * gst/parse/lex._gst_parse_yy.pre.c:
3732         Require a new enough flex and bison and remove the parser hacks to use
3733         a pre-regenerated version.
3734
3735 2008-04-01  Julien Moutte  <julien@fluendo.com>
3736
3737         patch by: Jason Zhao <E3423C@motorola.com>
3738
3739         * configure.ac: Add a configure switch to disable option parsing
3740         in gst_init.
3741         Fixes #522882.
3742
3743 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3744
3745         * configure.ac:
3746         * gst/gstregistry.c:
3747           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3748           and handle this case.
3749
3750         * gst/gst.c:
3751           Add a comment here describing, why we stat each plugin and not try to
3752           be smart.
3753
3754 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3755
3756         * libs/gst/base/gstbasetransform.c:
3757         (gst_base_transform_prepare_output_buffer):
3758         Also unset the GAP flag on buffers if we're working inplace but
3759         the element is not GAP-aware.
3760
3761         Mark a comment as FIXME 0.11.
3762
3763 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3764
3765         * gst/gst.c:
3766           Fix type in log message and add one to ease seeing how long registry
3767           cache verification takes.
3768
3769         * gst/gstregistry.c:
3770           Only test plugin filenames against G_MODULE_SUFFIX.
3771
3772 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3773
3774         * gst/gstdebugutils.c:
3775           Improve handling ghost/proxy pads.
3776
3777 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3778
3779         * docs/gst/gstreamer-sections.txt:
3780         * gst/gstpad.c:
3781         * gst/gstpad.h:
3782           Expose macro to docs and fix link to it.
3783
3784 2008-03-27  Michael Smith <msmith@fluendo.com>
3785
3786         * libs/gst/dataprotocol/dataprotocol.c:
3787         (gst_dp_packet_from_event_1_0):
3788           When calculating GDP body CRC, use the correct pointer. 
3789           Fixes part of #522401.
3790
3791 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3792
3793         Patch by: Mark Nauwelaerts <manauw at skynet be>
3794
3795         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3796         (gst_identity_init), (gst_identity_prepare_output_buffer):
3797         Identity is not always a passthrough element, it can modify the buffer
3798         timestamps when it has a datarate and operates in single-segment mode.
3799         We therefore make it an in_place filter with a custom buffer prepare
3800         function that conditionally makes the input buffer metadata writable
3801         when needed.  Fixes #523985.
3802
3803 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3804
3805         Patch by: Mark Nauwelaerts <manauw at skynet be>
3806
3807         * gst/gstclock.h:
3808         * libs/gst/base/gstbasesrc.h:
3809         * libs/gst/base/gstbasetransform.c:
3810         * libs/gst/check/gstcheck.c:
3811         Small documentation fixes. Fixes #523978.
3812
3813 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3814
3815         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3816         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3817         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3818
3819 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3820
3821         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3822         (single_queue_underrun_cb):
3823         When trying to make room in the queue, bump the max allowed buffers
3824         bigger than the current amount of buffers in the queue. this fixes some
3825         nasty deadlocks in multiqueue when dynamically changing the limits of
3826         the queue.
3827
3828 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3829
3830         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3831
3832         * gst/gstcaps.c: (gst_caps_set_simple),
3833         (gst_caps_set_simple_valist), (gst_caps_intersect):
3834         * gst/gstcaps.h:
3835         Constify the field gchar * params in set_simple and friends.
3836         Fixes #522326.
3837
3838 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3839
3840         * gst/gstvalue.c: (gst_value_transform_object_string):
3841         Transform a GstObject to a more meaningfull string that includes the
3842         object type in addition to its name.
3843
3844 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3845
3846         * ChangeLog:
3847           ChangeLog surgery to add bugnumber to commit.
3848
3849 2008-03-23  Rene Stadler  <mail@renestadler.de>
3850
3851         * libs/gst/base/gstbasetransform.c:
3852         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3853
3854 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3855
3856         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3857         Rename constant everywhere and don't forget one occurence.
3858
3859 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3860
3861         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3862         Align memory to the pointer size even if the architecture allows
3863         unaligned memory access. Unaligned memory access usually comes with
3864         performance penality.
3865
3866 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3867
3868         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3869         (gst_registry_binary_check_magic),
3870         (gst_registry_binary_load_pad_template),
3871         (gst_registry_binary_load_feature),
3872         (gst_registry_binary_load_plugin):
3873         Align memory to the pointer size instead of always 32 bit. Fixes
3874         unaligned memory accesses on ia64 and friends.
3875
3876         * gst/gstregistrybinary.h:
3877         Bump binary registry format version for this as it changes the
3878         format on those architectures that don't have unaligned access
3879         and 64 bit pointers.
3880
3881 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3882
3883         * docs/pwg/advanced-dparams.xml:
3884         * docs/pwg/building-props.xml:
3885         * docs/pwg/other-source.xml:
3886         * gst/glib-compat.h:
3887         * gst/gstbin.c: (gst_bin_class_init):
3888         * gst/gstclock.c: (gst_clock_class_init):
3889         * gst/gstindex.c: (gst_index_class_init):
3890         * gst/gstobject.c: (gst_object_class_init):
3891         * gst/gstpad.c: (gst_pad_class_init):
3892         * gst/gstpipeline.c: (gst_pipeline_class_init):
3893         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3894         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3895         * libs/gst/base/gstbasetransform.c:
3896         (gst_base_transform_class_init):
3897         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3898         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3899         (_gst_check_fault_handler_sighandler),
3900         (_gst_check_fault_handler_setup), (gst_check_init):
3901         * libs/gst/controller/gstcontroller.c:
3902         (_gst_controller_class_init):
3903         * libs/gst/controller/gstlfocontrolsource.c:
3904         (gst_lfo_control_source_class_init):
3905         * libs/gst/net/gstnetclientclock.c:
3906         (gst_net_client_clock_class_init):
3907         * libs/gst/net/gstnettimeprovider.c:
3908         (gst_net_time_provider_class_init):
3909         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3910         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3911         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3912         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3913         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3914         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3915         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3916         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3917         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3918         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3919         * plugins/elements/gsttee.c: (gst_tee_class_init):
3920         * plugins/elements/gsttypefindelement.c:
3921         (gst_type_find_element_class_init):
3922         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3923         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3924         use it everywhere for GParamSpecs that use static strings (i.e. all).
3925         This gives us less memory usage, fewer allocations and thus less
3926         memory defragmentation. Fixes bug #523806.
3927
3928 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3929
3930         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3931         (gst_param_spec_mini_object):
3932         * gst/gstminiobject.h:
3933         * win32/common/libgstreamer.def:
3934         * docs/gst/gstreamer-sections.txt:
3935         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3936         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3937         GstParamSpecMiniObject into a public header for this.
3938
3939         This make GstMiniObject a bit more consistent with GObject and makes
3940         it possible to extend the param specs.
3941
3942         gst_value_dup_mini_object is mainly useful for set_property methods.
3943
3944         Fixes bug #523798.
3945
3946         * tools/gst-inspect.c: (print_element_properties_info):
3947         Print something useful for GstMiniObject properties and not just
3948         "unknown type".
3949
3950 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3951
3952         * docs/gst/gstreamer-sections.txt:
3953         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3954         (gst_registry_binary_check_magic):
3955         * gst/gstregistrybinary.h:
3956         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3957         and add it to the (private part) of the docs to fix the build.
3958
3959 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3960
3961         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3962         (gst_registry_binary_check_magic),
3963         (gst_registry_binary_read_cache):
3964         * gst/gstregistrybinary.h:
3965         Don't use GST_MAJORMINOR for the binary registry version. Instead
3966         hardcode a value that must be changed whenever the format changes
3967         in an incompatible way.
3968         Also don't GST_ERROR when there is a version mismatch, just
3969         regenerate the registry silently.
3970
3971 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3972
3973         * configure.ac:
3974         Back to development - 0.10.18.1
3975
3976 === release 0.10.18 ===
3977
3978 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
3979
3980         * configure.ac:
3981           releasing 0.10.18, "So far away"
3982
3983 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
3984
3985         * configure.ac:
3986         * win32/common/config.h:
3987         0.10.17.4 pre-release
3988
3989 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
3990
3991         Patch by: Ole André Vadla Ravnås
3992             <ole dot andre dot ravnas at tandberg dot com>
3993
3994         * docs/gst/gstreamer-sections.txt:
3995         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3996         (gst_poll_update_winsock_event_mask),
3997         (gst_poll_prepare_winsock_active_sets),
3998         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3999         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4000         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4001         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4002         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4003         * gst/gstpoll.h:
4004         * win32/common/libgstreamer.def:
4005         Add new function gst_poll_fd_ignored() for improved Windows
4006         compatibility.
4007         Various minor fixes and cleanups. See #520808.
4008
4009 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4010
4011         * gst/gstindex.c: (gst_index_entry_free):
4012         * gst/gstindex.h:
4013           Don't free key strings which we don't own. Fixes crash in
4014           gst_index_entry_free() (#522741).
4015
4016         * tests/check/Makefile.am:
4017         * tests/check/gst/.cvsignore:
4018         * tests/check/gst/gstindex.c: (test_index_entries),
4019           (gst_index_suite), (gst_index):
4020           Add unit test for the above.
4021
4022 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4023
4024         * win32/common/libgstreamer.def:
4025         Remove symbols that were removed recently. Fixes bug #521740.
4026
4027 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4028
4029         * configure.ac:
4030         * win32/common/config.h:
4031         0.10.17.3 pre-release
4032
4033 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4034
4035         Patch by: Ole André Vadla Ravnås
4036             <ole dot andre dot ravnas at tandberg dot com>
4037
4038         * docs/gst/gstreamer-sections.txt:
4039         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4040         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4041         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4042         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4043         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4044         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4045         (gst_poll_fd_can_write), (gst_poll_wait),
4046         (gst_poll_set_controllable), (gst_poll_restart),
4047         (gst_poll_set_flushing):
4048         * gst/gstpoll.h:
4049         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4050         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4051         (gst_net_time_provider_new):
4052         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4053         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4054         * tests/benchmarks/gstpollstress.c: (main):
4055         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4056         Remove GstPollMode from the API, it does not make sense to let the
4057         application control this.
4058         Add support for Win32.
4059         Fix the testsuite. Fixes #520671.
4060
4061 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4062
4063         Patch by: Ole André Vadla Ravnås
4064             <ole dot andre dot ravnas at tandberg dot com>
4065
4066         * gst/gstregistrybinary.c:
4067         Include io.h for write() and close() when building with MSVC. Fixes
4068         bug #520877.
4069
4070 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4071
4072         * configure.ac:
4073         * gst/gst_private.h:
4074         * gst/gstconfig.h.in:
4075         * gst/gstregistry.h:
4076         * gst/gstregistrybinary.c:
4077         * win32/common/gstconfig.h:
4078           Move registry backend API to private headers where we can. Add
4079           fixme-0.11 comments for the others. Add stubs for the xml backend when
4080           using the binary to ensure they functions exists (they should not be
4081           used though). Fixes #520756.
4082
4083 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4084
4085         * configure.ac:
4086         * win32/common/config.h:
4087         0.10.17.2 prelease
4088
4089 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4090
4091         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4092         (gst_registry_binary_read_cache):
4093         * gst/gstregistryxml.c: (gst_registry_save):
4094         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4095         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4096         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4097         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4098         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4099         Fixes #520152
4100
4101 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4102
4103         * gst/gstminiobject.c:
4104         Import gst_private.h before any other header that might include other
4105         glib headers. This fixes the build on windows using native compilers.
4106
4107 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4108
4109         * win32/common/gstconfig.h:
4110           Add here too, just for completeness.
4111
4112 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4113
4114         * configure.ac:
4115         * gst/gstconfig.h.in:
4116         * gst/gstregistry.h:
4117           Fix broken use of config.h-defined preprocessor directive in a public
4118           header file. Add a corresponding define to gstconfig.h, since we can't
4119           really remove those function declarations from the header file now
4120           (or can we? and why are they there in the first place?).
4121
4122 2008-03-03  Andy Wingo  <wingo@pobox.com>
4123
4124         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4125         the new warning.
4126
4127         * gst/gststructure.c (gst_structure_from_string): Warn if
4128         structure_from_string didn't consume the whole string, but the
4129         caller did not provide an end pointer.
4130
4131 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4132
4133         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4134
4135         * gst/gstregistryxml.c: (read_string), (load_feature):
4136           Strings allocated by libxml2 should be freed with xmlFree(), not
4137           with g_free(). Fixes issues on windows in certain contexts (#519698).
4138
4139 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4140
4141         * gst/gstinterface.c: (gst_element_implements_interface):
4142           Don't crash if the element supports the interface queried, but does
4143           not implement GstImplementsInterface. Fixes #519584.
4144
4145         * tests/check/Makefile.am:
4146         * tests/check/gst/.cvsignore:
4147         * tests/check/gst/gstinterface.c:
4148           Add unit test for the above.
4149
4150 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4151
4152         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4153         Small doc update.
4154
4155 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4156
4157         * gst/gstsegment.c: (gst_segment_set_seek),
4158         (gst_segment_to_stream_time):
4159         Improve some comment.
4160         Update variables where it makes more sense.
4161
4162 2008-02-29  Rene Stadler  <mail@renestadler.de>
4163
4164         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4165         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4166         URIHandlers implemented using language bindings.
4167
4168 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4169
4170         * gst/gstelementfactory.h:
4171         * tests/check/elements/fakesink.c:
4172         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4173         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4174         * tests/check/elements/filesink.c: (setup_filesink):
4175         * tests/check/elements/filesrc.c: (setup_filesrc):
4176         * tests/check/elements/identity.c: (setup_identity):
4177         * tests/check/elements/tee.c:
4178         * tests/check/generic/sinks.c:
4179         * tests/check/generic/states.c: (setup), (teardown):
4180         * tests/check/gst/gst.c:
4181         * tests/check/gst/gstabi.c:
4182         * tests/check/gst/gstbin.c:
4183         * tests/check/gst/gstbus.c: (pull_messages):
4184         * tests/check/gst/gstcaps.c:
4185         * tests/check/gst/gstelement.c:
4186         * tests/check/gst/gstevent.c:
4187         * tests/check/gst/gstghostpad.c:
4188         * tests/check/gst/gstiterator.c:
4189         * tests/check/gst/gstmessage.c:
4190         * tests/check/gst/gstminiobject.c: (my_foo_init):
4191         * tests/check/gst/gstobject.c: (thread_name_object),
4192         (gst_object_suite):
4193         * tests/check/gst/gstpad.c:
4194         * tests/check/gst/gstplugin.c:
4195         * tests/check/gst/gstpoll.c:
4196         * tests/check/gst/gstquery.c:
4197         * tests/check/gst/gstsegment.c:
4198         * tests/check/gst/gststructure.c:
4199         * tests/check/gst/gstsystemclock.c:
4200         * tests/check/gst/gsttask.c:
4201         * tests/check/gst/gstutils.c:
4202         * tests/check/gst/gstvalue.c:
4203         * tests/check/gst/struct_hppa.h:
4204         * tests/check/gst/struct_i386.h:
4205         * tests/check/gst/struct_ppc32.h:
4206         * tests/check/gst/struct_ppc64.h:
4207         * tests/check/gst/struct_x86_64.h:
4208         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4209         * tests/check/libs/basesrc.c:
4210         * tests/check/libs/controller.c: (GST_START_TEST):
4211         * tests/check/libs/gdp.c:
4212         * tests/check/libs/gstnetclientclock.c:
4213         * tests/check/libs/gstnettimeprovider.c:
4214         * tests/check/libs/libsabi.c:
4215         * tests/check/libs/struct_hppa.h:
4216         * tests/check/libs/struct_i386.h:
4217         * tests/check/libs/struct_ppc32.h:
4218         * tests/check/libs/struct_ppc64.h:
4219         * tests/check/libs/struct_x86_64.h:
4220         * tests/check/pipelines/cleanup.c:
4221         * tests/check/pipelines/simple-launch-lines.c:
4222         * tests/check/pipelines/stress.c:
4223         And correct even more valid sparse warnings.
4224
4225         * win32/common/libgstreamer.def:
4226         Add gst_poll_fd_init to the list of symbols.
4227
4228 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4229
4230         * gst/gstconfig.h.in:
4231         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4232         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4233         (gst_check_log_critical_func), (gst_check_drop_buffers),
4234         (gst_check_element_push_buffer_list):
4235         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4236         (gst_controller_get_type):
4237         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4238         (gst_object_get_controller), (gst_object_get_control_source):
4239         * libs/gst/controller/gstinterpolationcontrolsource.c:
4240         (gst_interpolation_control_source_new):
4241         * libs/gst/controller/gstlfocontrolsource.c:
4242         (gst_lfo_control_source_new):
4243         * libs/gst/dataprotocol/dataprotocol.c:
4244         (gst_dp_event_from_packet_0_2):
4245         * plugins/elements/gstfdsrc.c:
4246         * plugins/elements/gstmultiqueue.c:
4247         * plugins/elements/gsttee.c:
4248         * plugins/elements/gsttypefindelement.c:
4249         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4250         (gst_file_index_add_association):
4251         * plugins/indexers/gstmemindex.c:
4252         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4253         * tests/check/elements/queue.c: (setup_queue):
4254         * tests/check/gst/gstpipeline.c:
4255         * tests/check/libs/collectpads.c: (setup), (teardown),
4256         (gst_collect_pads_suite):
4257         * tests/examples/adapter/adapter_test.c:
4258         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4259         * tests/examples/xml/createxml.c:
4260         * tests/examples/xml/runxml.c:
4261         * tools/gst-inspect.c:
4262         * tools/gst-run.c:
4263         Correct all relevant warnings found by the sparse semantic code
4264         analyzer. This include marking several symbols static, using
4265         NULL instead of 0 for pointers, not using variable sized arrays
4266         on the stack, moving variable declarations to the beginning of
4267         a block and using "foo (void)" instead of "foo ()" for declarations.
4268
4269 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4270
4271         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4272         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4273         Don't reset GstPollFDs, this is not necessary at all.
4274
4275         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4276         (delayed_restart), (delayed_control):
4277         Use GST_POLL_FD_INIT.
4278
4279 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4280
4281         * gst/gstpoll.c: (gst_poll_fd_init):
4282         * gst/gstpoll.h:
4283         Added Since tags.
4284
4285         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4286         Use some more init macros.
4287
4288 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4289
4290         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4291         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4292         Use init macros and functions.
4293
4294 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4295
4296         * docs/gst/gstreamer-sections.txt:
4297         * gst/gstpoll.c: (gst_poll_fd_init):
4298         * gst/gstpoll.h:
4299         Add INIT macro and _init method for initializing the GstPollFD.
4300
4301 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4302
4303         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4304         (gst_fd_sink_update_fd):
4305         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4306         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4307         (delayed_restart), (delayed_control):
4308         Initialize some uninitialized variables as spotted by valgrind.
4309
4310 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4311
4312         * tests/benchmarks/Makefile.am:
4313         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4314         (main):
4315         Add poll stress test.
4316
4317 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4318
4319         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4320
4321         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4322         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4323         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4324         * plugins/elements/gstfdsink.h:
4325         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4326         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4327         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4328         (gst_fd_src_uri_set_uri):
4329         * plugins/elements/gstfdsrc.h:
4330         Port to GstPoll. See #505417.
4331
4332 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4333
4334         * win32/common/libgstreamer.def:
4335         Add new gst_poll_ symbols to win32 defs.
4336
4337 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4338
4339         * docs/libs/gstreamer-libs-sections.txt:
4340         * libs/gst/net/gstnetclientclock.c:
4341         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4342         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4343         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4344         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4345         * libs/gst/net/gstnetclientclock.h:
4346         * libs/gst/net/gstnettimeprovider.c:
4347         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4348         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4349         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4350         (gst_net_time_provider_new):
4351         * libs/gst/net/gstnettimeprovider.h:
4352         Use a private stuct to not break ABI.
4353
4354 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4355
4356         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4357
4358         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4359         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4360         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4361         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4362         * libs/gst/net/gstnetclientclock.h:
4363         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4364         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4365         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4366         (gst_net_time_provider_new):
4367         * libs/gst/net/gstnettimeprovider.h:
4368         Massive code removal and cleanups because of GstPoll.
4369         Fixes #505417.
4370
4371 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4372
4373         * configure.ac:
4374         Add checks for poll, ppoll and pselect.
4375
4376         * docs/gst/gstreamer-docs.sgml:
4377         * docs/gst/gstreamer-sections.txt:
4378         Add docs for GstPoll.
4379
4380         * gst/Makefile.am:
4381         * gst/gst.h:
4382         * gst/gstpoll.c: (find_index), (selectable_fds),
4383         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4384         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4385         (gst_poll_set_mode), (gst_poll_get_mode),
4386         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4387         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4388         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4389         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4390         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4391         (gst_poll_fd_can_write), (gst_poll_wait),
4392         (gst_poll_set_controllable), (gst_poll_restart),
4393         (gst_poll_set_flushing):
4394         * gst/gstpoll.h:
4395         Add generic poll abstraction. We ideally don't want to have this in core
4396         here but in glib intead...
4397         This code will be used in various network elements and ultimately for
4398         the nanosecond precision monotonic clock (that's why it's here in core).
4399         It'll allow us to implement cancelable socket operations for windows too.
4400
4401         * tests/check/Makefile.am:
4402         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4403         (delayed_stop), (delayed_restart), (delayed_flush),
4404         (delayed_control), (gst_poll_suite):
4405         Add GstPoll unit test.
4406
4407 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4408
4409         * gst/gstfilter.c:
4410           Improve documentation of gst_filter_run(). Fixes #518627.
4411
4412 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4413
4414         * docs/README:
4415           Add a few lines about the new 'check-inspected-versions' target.
4416
4417 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4418
4419         * tests/check/gst/gstevent.c:
4420           Add qos to the event test. Rename tcase/tsuite; is not only about
4421           custom events.
4422
4423 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4424
4425         * plugins/elements/gstqueue.c:
4426           Ensure that buffer metadata is writeable, before modifying. Spotted by
4427           Mike.
4428
4429 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4430
4431         * plugins/elements/gstqueue.c:
4432         * plugins/elements/gstqueue.h:
4433           When dropping buffers in leaky modes, mark next buffers we sent as
4434           DISCONT.
4435
4436 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4437
4438         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4439           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4440
4441 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4442
4443         * plugins/elements/Makefile.am:
4444         * plugins/elements/gstbufferstore.c:
4445         * plugins/elements/gstbufferstore.h:
4446         * plugins/elements/gsttypefindelement.h:
4447           Remove GstBufferStore, no idea why we were still building it.
4448           It's not used anywhere and superseded by GstAdapter.
4449
4450         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4451           (gst_file_src_create_mmap):
4452         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4453           Printf format fixes for 64-bit integers.
4454
4455 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4456
4457         * configure.ac:
4458         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4459         We're not in 0.8 times anymore.
4460
4461 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4462
4463         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4464         (gst_check_element_push_buffer_list):
4465         * libs/gst/check/gstcheck.h:
4466         Make the declaration in the header for
4467         gst_check_element_push_buffer_list match the implementation.
4468
4469         Fix up spelling, grammar and wording of the documentation in a few
4470         places, and add the Since keyword to new API functions.
4471         Use g_list_delete_link instead of g_list_remove in
4472         gst_check_drop_buffers, since it's immeasurably more efficient.
4473
4474         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4475         Use new gst_check_drop_buffers function where appropriate.
4476
4477         * win32/common/libgstbase.def:
4478         * win32/common/libgstreamer.def:
4479         Add new symbols gst_collect_pads_take_buffer, 
4480         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4481         exports
4482
4483         Changelog surgery to add API keyword to new gst_check API.
4484
4485 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4486
4487         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4488         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4489         Update pre-generated flex files with flex 2.3.34.
4490
4491 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4492
4493         * gst/gstminiobject.c:
4494           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4495           friendly to subclasses and not require them to know all internals
4496           of their parent class.
4497
4498 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4499
4500         * docs/libs/gstreamer-libs-sections.txt:
4501         * libs/gst/base/gstcollectpads.c:
4502         * libs/gst/base/gstcollectpads.h:
4503           Add sub-buffer functions to collectpads. Fixes #516187.
4504           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4505
4506 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4507
4508         * gst/gstbuffer.c:
4509           Copy selected buffer-flags when creating subbuffers.
4510           Fixes #516395.
4511
4512 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4513
4514         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4515         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4516         * gst/gstmessage.c: (gst_message_class_init),
4517         (gst_message_finalize):
4518         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4519         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4520         (gst_mmap_buffer_finalize):
4521         Properly chain up finalize functions to the parent class.
4522
4523 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4524
4525         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4526
4527         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4528         (gst_index_set_resolver_full):
4529         * gst/gstindex.h:
4530         Add new function with option to dispose of user_data in resolver.
4531         Actually call the dispose function when finalizing the object and not
4532         just when changing the resolver/filter.
4533         API: GstIndex::gst_index_set_resolver_full()
4534
4535         * docs/gst/gstreamer-sections.txt:
4536         Add new function to docs. Fixes #515469.
4537
4538 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4539
4540         * gst/gstindex.c: (gst_index_finalize):
4541         Chain up finalize to the parent class. Fixes leaking the GstObject
4542         name and other things.
4543
4544 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4545
4546         * configure.ac:
4547         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4548         pre-releases or releases.
4549
4550         * docs/faq/gst-uninstalled:
4551         Add gst-plugins-gl
4552
4553         * docs/random/release:
4554         Change one of the steps - we only upload core & base to Gnome FTP
4555
4556 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4557
4558         * gst/gstconfig.h.in:
4559           Add 'id' for example.
4560
4561         * gst/gstpad.c:
4562         * gst/gstutils.c:
4563         * plugins/elements/gstfdsink.c:
4564           Link to signals. Doc and comment fixes.
4565
4566 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4567
4568         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4569         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4570           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4571           unused and unimplemented; finally, it is plugin features, not
4572           plugins, that have ranks.
4573           
4574 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4575
4576         * gst/gstpluginfeature.h:
4577           Clarify GstRank range docs.
4578
4579 2008-02-05  David Schleef  <ds@schleef.org>
4580
4581         * gst/gst.c: Add a separate gst_deinitialized that prevents
4582           gst_init() from being called after gst_deinit().  Fixes #509559
4583
4584 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4585
4586         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4587         (gst_bin_class_init):
4588         * gst/gstelement.c: (gst_element_base_class_init),
4589         (gst_element_class_add_pad_template):
4590         * gst/gstpadtemplate.c: (gst_pad_template_init):
4591         * gst/gstpipeline.c: (gst_pipeline_get_type),
4592         (gst_pipeline_base_init), (gst_pipeline_class_init):
4593         * libs/gst/base/gstbasesink.c:
4594         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4595         (gst_base_src_base_init), (gst_base_src_class_init):
4596         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4597         (gst_capsfilter_class_init):
4598         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4599         (gst_fake_sink_class_init):
4600         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4601         (gst_fake_src_class_init):
4602         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4603         (gst_fd_sink_class_init):
4604         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4605         (gst_fd_src_class_init):
4606         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4607         (gst_file_sink_class_init):
4608         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4609         (gst_file_src_class_init):
4610         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4611         (gst_identity_class_init):
4612         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4613         (gst_multi_queue_class_init):
4614         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4615         (gst_queue_class_init):
4616         * plugins/elements/gsttee.c: (gst_tee_base_init),
4617         (gst_tee_class_init):
4618         * plugins/elements/gsttypefindelement.c:
4619         (gst_type_find_element_base_init),
4620         (gst_type_find_element_class_init):
4621         * tests/check/gst/gstelement.c: (gst_element_suite):
4622         Revert previous changes to the behaviour of GstPadTemplates, etc
4623         and the possiblity to call them in class_init as it breaks too
4624         many elements. Reopens bug #491501.
4625
4626         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4627         several places.
4628
4629 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4630
4631         * tools/gst-launch.c:
4632         Dump one graph per pipeline state-change and state change name
4633         (if GST_DEBUG_DUMP_DOT_DIR is set).
4634
4635 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4636
4637         * gst/gstpad.c:
4638         * tests/check/gst/gstpad.c:
4639         Be sure that we have a new copy of the caps and not
4640         reffed caps from a template
4641
4642 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4643
4644         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4645         * gst/gstpipeline.c: (gst_pipeline_get_type),
4646         (gst_pipeline_class_init):
4647         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4648         (gst_base_sink_class_init):
4649         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4650         (gst_base_src_class_init):
4651         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4652         (gst_base_transform_class_init):
4653         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4654         (gst_collect_pads_class_init):
4655         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4656         * libs/gst/net/gstnettimeprovider.c:
4657         (gst_net_time_provider_base_init),
4658         (gst_net_time_provider_class_init):
4659         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4660         (gst_capsfilter_class_init):
4661         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4662         (gst_fake_sink_class_init):
4663         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4664         (gst_fake_src_class_init):
4665         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4666         (gst_fd_sink_class_init):
4667         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4668         (gst_fd_src_class_init):
4669         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4670         (gst_file_sink_class_init):
4671         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4672         (gst_file_src_class_init):
4673         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4674         (gst_identity_class_init):
4675         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4676         (gst_multi_queue_class_init):
4677         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4678         (gst_queue_class_init):
4679         * plugins/elements/gsttee.c: (gst_tee_base_init),
4680         (gst_tee_class_init):
4681         * plugins/elements/gsttypefindelement.c:
4682         (gst_type_find_element_base_init),
4683         (gst_type_find_element_class_init):
4684         Don't use base_init where not absolutely necessary. For example it's
4685         not necessary anymore for adding pad templates or setting element
4686         details.
4687
4688         Leave empty base_init functions in several places as GST_BOILERPLATE
4689         still defines and uses them.
4690
4691 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4692
4693         * gst/gstelement.c: (gst_element_base_class_init),
4694         (gst_element_class_add_pad_template):
4695         * gst/gstpadtemplate.c:
4696         Make it possible (and recommended) to set element details and add
4697         pad templates in the class_init functions by copying the details/pad
4698         templates in GstElement's base_init.
4699
4700         Also make it possible to replace existing pad templates by adding
4701         a new one with the same name. This was done in a hackish fashion
4702         in same elements before already.
4703
4704         Don't reference pad templates that are added a second time. A
4705         new pad template has a refcount of one and is not floating anymore
4706         and to be owned by the element's class. Make this more explicit by
4707         mentioning it in the docs of gst_element_class_add_pad_template().
4708
4709         These changes are backwards compatible. Fixes bug #491501.
4710
4711         * tests/check/gst/gstelement.c:
4712         Add unit test for setting element details, adding pad templates and
4713         replacing them in a subclass.
4714
4715 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4716
4717         * tools/gst-inspect.c: (print_interfaces),
4718         (print_element_properties_info), (print_pad_info),
4719         (print_signal_info), (print_element_info):
4720         Fix a few memory leaks.
4721
4722 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4723
4724         * docs/libs/gstreamer-libs-sections.txt:
4725         * libs/gst/check/gstcheck.c:
4726         * libs/gst/check/gstcheck.h:
4727         Add more functions for unit testing: gst_check_drop_buffers,
4728         gst_check_caps_equal, gst_check_element_push_buffer_list,
4729         gst_check_element_push_buffer
4730         API: gst_check_drop_buffers
4731         API: gst_check_caps_equal
4732         API: gst_check_element_push_buffer_list
4733         API: gst_check_element_push_buffer
4734
4735 2008-02-01  Julien Moutte  <julien@fluendo.com>
4736
4737         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4738         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4739         (gst_index_finalize), (gst_index_entry_free),
4740         (gst_index_add_association): Fix memory leaks.
4741         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4742         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4743         (gst_mem_index_free_format), (gst_mem_index_free_id),
4744         (gst_mem_index_finalize): Fix memory leaks.
4745         * win32/common/config.h: Updated to CVS HEAD.
4746
4747 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4748
4749         * docs/README:
4750           Some more details about how the plugin docs works.
4751
4752         * docs/plugins/gstreamer-plugins-sections.txt:
4753           Whitespace cleanup.
4754
4755 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4756
4757         * gst/parse/grammar.tab.pre.c:
4758         * gst/parse/grammar.tab.pre.h:
4759         * gst/parse/grammar.y:
4760         * gst/parse/lex._gst_parse_yy.pre.c:
4761           Add delayed set-property. This allows to set properties on dynamicaly
4762           created objects (pads in videomxer). Fixes #509391.
4763
4764 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4765
4766         * gst/gstutils.c:
4767         Check if caps are not NULL (fix bug #510194)
4768
4769 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4770
4771         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4772         (gst_base_sink_get_position_paused):
4773         Add fixme regarding EOS in pull mode.
4774         Fix position reporting in PAUSED for negative rates.
4775
4776 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4777
4778         * gst/gstminiobject.c: (gst_mini_object_replace):
4779         When replacing a miniobject, do a quick equality check first so that we
4780         can avoid a ref/unref pair.
4781
4782 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4783
4784         * docs/design/part-synchronisation.txt:
4785         Update some docs.
4786
4787         * docs/plugins/Makefile.am:
4788         * docs/plugins/gstreamer-plugins-docs.sgml:
4789         * docs/plugins/gstreamer-plugins-sections.txt:
4790         * plugins/elements/gstmultiqueue.c:
4791         Add multiqueue to the docs.
4792
4793 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4794
4795         * configure.ac:
4796           Back to CVS
4797
4798 === release 0.10.17 ===
4799
4800 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4801
4802         * configure.ac:
4803           releasing 0.10.17, "Due Negligence"
4804
4805 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4806
4807         * gst/gstutils.c:
4808         Revert caps != NULL check temporarily for 0.10.17 release.
4809
4810 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4811
4812         * gst/gstutils.c:
4813         Check if caps are not NULL (fix bug #510194)
4814
4815 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4816
4817         * gst/gstutils.c:
4818         Fix compilation on systems that have posix timers but no
4819         monotonic clock.
4820         Fixes: #512715
4821         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4822         dot net>
4823
4824 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4825
4826         * tools/gst-inspect.c:
4827         Revert previous commit in preparation for an impromptu 0.10.17 release
4828
4829 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4830
4831         * tools/gst-inspect.c: (print_interfaces),
4832         (print_element_properties_info), (print_pad_info),
4833         (print_signal_info), (print_element_info):
4834         Fix a few memory leaks.
4835
4836 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4837
4838         * configure.ac:
4839         Back to CVS
4840
4841 === release 0.10.16 ===
4842
4843 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4844
4845         * configure.ac:
4846           releasing 0.10.16, "Special Dispensation"
4847
4848 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4849
4850         * configure.ac:
4851           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4852           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4853           not fail when trying to crosscompile on OpenEmbedded (#511750).
4854
4855 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4856
4857         * docs/manuals.mak:
4858         Use $(MAKE) instead of make to fix the build if GNU make is
4859         called different. Fixes bug #510747.
4860
4861 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4862
4863         * gst/gstplugin.c: (_gst_plugin_initialize):
4864           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4865           again, which I broke two commits ago when changing the API
4866           of gst_plugin_register_static(): the g_list_foreach() in
4867           _gst_plugin_register_static still assumed the old function
4868           signature and would therefore fail (re-fixes #510187).
4869
4870         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4871           (_gst_plugin_register_static), (gst_plugin_register_static):
4872           Revert the (technically correct) change to call g_thread_init() from
4873           the pre-main() constructor. This will break programs which call
4874           g_thread_init() without an if (!g_thread_supported()) guard in their
4875           main function. We could just blame it on GLib or the application, but
4876           it's probably best to just avoid this altogether and simply not use
4877           any GLib functions here and use plain old malloc() with a simple
4878           array to store the plugins to register later when gst_init() is
4879           finally called (re-fixes #510187).
4880
4881         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4882           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4883           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4884           (GST_START_TEST), (gst_plugin_suite):
4885           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4886           works.
4887
4888 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4889
4890         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4891           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4892           This makes gtk-doc complain, but results in slightly better
4893           compiler errors. The old _gst_plugin_register_static() is
4894           still guarded, so there'll be a compiler warning about that
4895           instead. Fixes #510187 too.
4896
4897 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4898
4899         * gst/gst.c: (init_post):
4900         * gst/gstplugin.c: (_gst_plugin_register_static),
4901           (gst_plugin_register_static), (_gst_plugin_initialize):
4902         * gst/gstplugin.h: (GstPluginFilter):
4903           Change API of gst_plugin_register_static() to not take
4904           a GstPluginDesc, but rather just take all the arguments
4905           in a GstPluginDesc directly. This is more intuitive and
4906           avoids certain mistakes when porting code from
4907           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4908           Fixes #510187.
4909
4910         * tests/check/gst/gstplugin.c:
4911           Fix up for changed API.
4912
4913 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4914
4915         * docs/faq/legal.xml:
4916           Update FAQ, Totem actually has an exception these days.
4917
4918 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4919
4920         * win32/common/libgstreamer.def:
4921         Add new API declarations
4922
4923 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4924
4925         * gst/gstminiobject.c:
4926           Spelling fixes for the API docs.
4927
4928 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4929
4930         * libs/gst/base/gstbasetransform.c:
4931           Fix long property description for QoS.
4932
4933 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4934
4935         * gst/gst.c:
4936         _gst_trace_on is already provided by gsttrace.h, no need to declare
4937         it ourselves.
4938
4939         * docs/libs/gstreamer-libs-sections.txt:
4940         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4941         and remove strange tcase_add_test which is outputting a warning.
4942
4943         * libs/gst/check/gstcheck.c:
4944         * libs/gst/check/gstcheck.h:
4945         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4946         and define them in gstcheck.c instead of having every .c file whcih
4947         includes gstcheck.h be defining its own copy and relying on symbol
4948         interposing to marry them all, which doesn't work on Solaris.
4949
4950         * tests/check/elements/identity.c: (GST_START_TEST):
4951         Don't define 'buffers' locally, it comes from libgstcheck.
4952
4953         * tests/check/generic/sinks.c: (send_buffer):
4954         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4955
4956         * tests/check/gst/gststructure.c: (GST_START_TEST):
4957         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4958         * tests/check/gst/gstutils.c: (GST_START_TEST):
4959         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4960         Add a bunch of casts to make various constants fit the types
4961         they're being assigned to.
4962
4963 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4964
4965         * gst/gstchildproxy.c:
4966           Improve docs and add some ideas for making this more general-purpose.
4967
4968 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4969
4970         * gst/gst_private.h: (GST_CAT_TYPES):
4971           Add GST_CAT_TYPES, for consistency, and so that the other
4972           debug categories don't make fun of it. Spotted by Saur on IRC.
4973
4974 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4975
4976         * gst/parse/Makefile.am:
4977           Move types.h from EXTRA_DIST to noinst_HEADERS.
4978
4979 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
4980
4981         * autogen.sh:
4982           Add -Wno-portability to the automake parameters to stop warnings
4983           about GNU make extensions being used. We require GNU make in almost
4984           every Makefile anyway.
4985
4986         * configure.ac:
4987           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4988           at the same time is required for per target flags.
4989
4990 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4991
4992         * gst/gstmacros.h:
4993           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4994           __GNUC__ is defined before using it.
4995
4996 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4997
4998         * docs/gst/gstreamer-sections.txt:
4999         * gst/gst.c: (init_post):
5000         * gst/gstplugin.c: (_gst_plugin_register_static),
5001           (gst_plugin_register_static), (_gst_plugin_initialize),
5002           (gst_plugin_register_func):
5003         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5004           API: add gst_plugin_register_static() and deprecate
5005           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5006           (#498924).
5007           Also, in _gst_plugin_register_static(), make sure to call
5008           g_thread_init() before calling GLib functions such as
5009           g_list_append() if we're not initialised yet, since that
5010           may lead to random crashes with older GSlice/GLib versions.
5011
5012         * tests/check/gst/gstplugin.c:
5013           Adapt unit test to above changes.
5014
5015 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5016
5017         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5018         * gst/gstcaps.c: (gst_caps_to_string):
5019         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5020           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5021           Yet another gratuitous GString micro-optimisation: add a (private)
5022           function that serialises a structure appending to an existing
5023           GString, so that when we serialise caps we don't need to alloc+free
5024           a throwaway GString for each structure (each of which also entailing
5025           multiple reallocs on the way); also use g_string_sized_new() in
5026           various places with an approximate string length to avoid reallocs
5027           within GString. See #500143.
5028
5029 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5030
5031         * gst/gststructure.c: (gst_structure_id_set_value):
5032           Always check UTF-8 conformance of structure strings and not only
5033           if the debugging system is enabled; reasoning: the behaviour of
5034           the actual code shouldn't really change depending on whether the
5035           debugging system is enabled or not (#508291).
5036
5037 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5038
5039         * Makefile.am:
5040           Remove old coverage target in favour of "make lcov".
5041
5042 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5043
5044         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5045         (gst_base_src_loop):
5046         The start segment for reverse playback goes from start to last_stop.
5047
5048 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5049
5050         Patch by: Peter Kjellerstedt <pkj axis com>
5051
5052         * gst/gstclock.h:
5053         Cast the results from the timeval/spec_to_time macros to what the
5054         docs say it casts to, a GstClockTime. fixes #508175.
5055
5056 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5057
5058         * gst/gstbuffer.c:
5059         Update some comments.
5060
5061         * tools/gst-inspect.c: (print_element_properties_info):
5062         Improve printing of flags.
5063
5064 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5065
5066         * libs/gst/base/gstbasetransform.c:
5067           (gst_base_transform_transform_size):
5068           Print element name with g_warning() if there's a problem
5069           with the unit size.
5070
5071 2008-01-07  David Schleef  <ds@schleef.org>
5072
5073         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5074
5075         * libs/gst/controller/gstcontroller.h:
5076         * libs/gst/controller/gstcontrolsource.h:
5077         * libs/gst/controller/gstinterpolationcontrolsource.h:
5078         * libs/gst/controller/gstlfocontrolsource.h:
5079         * libs/gst/dataprotocol/dataprotocol.h:
5080           Fix empty prototypes.  Fixes bug #507957.
5081
5082 2008-01-07  David Schleef  <ds@schleef.org>
5083
5084         * docs/faq/dependencies.xml: Fix typo.
5085
5086 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5087
5088         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5089         (gst_base_src_loop):
5090         Don't update the last_stop position in do_seek, that's the position we
5091         did a seek to.
5092         Read backwards when we have a negative rate.
5093
5094         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5095         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5096         (filesrc_suite):
5097         Add check for reverse reading.
5098
5099 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5100
5101         Patch by: Alexis Ballier <aballier at gentoo org>
5102
5103         * tests/check/gst/gstabi.c:
5104         * tests/check/gst/struct_ppc64.h:
5105         * tests/check/libs/libsabi.c:
5106         * tests/check/libs/struct_ppc64.h:
5107           Decide which header to include based on the userland ABI target
5108           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5109           for 64-bit userland (#503590).  Might need something similar for
5110           x86 too.
5111
5112 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5113
5114         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5115           Log the reason why fopen fails in addition to the fact that it failed.
5116           
5117 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5118
5119         * gst/parse/parse.l:
5120         Use "%option never-interactive" to prevent useless calls to isatty()
5121         on every input when parsing. Also use "%option noinput" to not define
5122         the static input/yyinput functions which we don't use anyway. This
5123         removes a compiler warning with gcc 4.3 and saves some bytes in the
5124         library.
5125         
5126         * gst/parse/lex._gst_parse_yy.pre.c:
5127         Regenerated for the above change.
5128
5129 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5130
5131         * gst/gstpad.c: (fixate_value):
5132         Don't crash when trying to fixate and empty list.
5133         Fixes #506643.
5134
5135 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5136
5137         * docs/faq/gst-uninstalled:
5138         Clarify the comments to make the usage of this script and what it
5139         does easier to understand.
5140
5141 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5142
5143         * tools/gst-plot-timeline.py:
5144         Add more options to gst-plot-timeline
5145
5146 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5147
5148         * docs/design/part-synchronisation.txt:
5149         Some more info on how the stream_time in GstBaseSink is done.
5150
5151 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5152
5153         * tests/check/generic/sinks.c: (gst_sinks_suite):
5154           Put back the tcase_set_timeout(), apparently it's needed after
5155           all; fix it up in a way that makes things work with valgrind too.
5156
5157 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5158
5159         * gst/gstdebugutils.c:
5160           Add warning when failed to open file for writing.
5161
5162 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5163
5164         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5165
5166         * gst/gstvalue.c: (gst_value_is_fixed):
5167           Optimisation: bail out of the loop as early as possible (#500143).
5168
5169 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5170
5171         * gst/gstcaps.c: (gst_caps_to_string):
5172         * gst/gstinfo.c: (gst_debug_construct_term_color):
5173         * gst/gstparse.c: (gst_parse_launchv):
5174         * gst/gstutils.c: (gst_util_dump_mem):
5175         * gst/gstvalue.c: (gst_value_serialize_any_list),
5176           (gst_value_transform_any_list_string):
5177           Bunch of gratuitous nano-optimisations.
5178
5179 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5180
5181         * tests/check/generic/sinks.c: (async_done_func),
5182           (async_done_eos_func):
5183           Fix leak in unit test (bus sync handler must unref the message
5184           if it returns GST_BUS_DROP). Don't fiddle with the default test
5185           timeout, this is smaller than the current preconfigured value
5186           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5187           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5188
5189 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5190
5191         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5192
5193         * configure.ac:
5194         Check for stdio_ext.h for the filesink changes.
5195
5196         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5197         (gst_file_sink_class_init), (gst_file_sink_init),
5198         (gst_file_sink_dispose), (gst_file_sink_set_property),
5199         (gst_file_sink_get_property), (gst_file_sink_open_file),
5200         (gst_file_sink_close_file):
5201         * plugins/elements/gstfilesink.h:
5202         Add two properties to control the buffering mode and size.
5203         API: GstFileSink::buffer-mode
5204         API: GstFileSink::buffer-size
5205         Fixes #500150.
5206
5207 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5208
5209         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5210         Add some more docs to explain why a FIXME was wrongly added. 
5211
5212 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5213
5214         * gst/gstobject.c:
5215           Fix typo in the gst_object_{ref,unref} documentation.
5216
5217 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5218
5219         * tests/check/libs/controller.c:
5220         * tests/check/libs/typefindhelper.c:
5221         * tests/check/pipelines/parse-launch.c:
5222           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5223           going to be deprecated (see #498924).
5224
5225 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5226
5227         * gst/gsttypefind.c: (gst_type_find_register):
5228           Make gst_type_find_register work for static typefind functions,
5229           ie. allow passing plugin == NULL (prerequisite for #498924).
5230
5231         * gst/gstelementfactory.c: (gst_element_register):
5232           Small docs addition.
5233
5234 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5235
5236         * gst/gstpad.c: (gst_pad_dispose):
5237         Really unlink the peer pad instead of setting the peer pointer to NULL
5238         when we dispose the pad.
5239         This correctly calls the unlink functions and makes sure that the peer
5240         does not have a handle to invalid memory. See #504671.
5241
5242         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5243         Add testsuite for above case.
5244
5245 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5246
5247         Patch by: Peter Kjellerstedt <pkj axis com>
5248
5249         * libs/gst/check/gstcheck.h:
5250           Fix detection of the check version we're compiling against (would
5251           otherwise break if check goes v0.10.0); correctly report the
5252           name of the failed test again in case of failure, instead of
5253           just 'tf' (fixes #504499).
5254
5255 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5256
5257         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5258         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5259         (gst_base_src_loop), (gst_base_src_set_flushing),
5260         (gst_base_src_change_state):
5261         Allow sending EOS to the source to make it send out an EOS event from
5262         the streaming thread.
5263         Update docs and deprecate the old NULL/READY shutdown method.
5264
5265         * tests/check/libs/basesrc.c: (GST_START_TEST),
5266         (gst_basesrc_suite):
5267         Add unit test for controlled shutdown.
5268
5269 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5270
5271         * docs/design/part-synchronisation.txt:
5272         Small updates.
5273
5274         * gst/gstsegment.c: (gst_segment_set_seek),
5275         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5276         (gst_segment_to_running_time):
5277         The seek format can be different from the segment format when the start
5278         and stop values are not to be updated, when we only do a rate change for
5279         example.
5280
5281         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5282         (gst_segment_suite):
5283         Add a testcase for the rate-only seeks, checking that the format is
5284         correctly ignored when start and stop are not updated.
5285
5286 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5287
5288         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5289
5290         * win32/vs8/grammar.vcproj:
5291         * win32/vs8/libgstcontroller.vcproj:
5292         * win32/vs8/libgstreamer.vcproj:
5293         Fix compilation with VS8 and include some missing files.
5294
5295 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5296
5297         * gst/gsttaglist.c:
5298           Small docs addition: mention that the strings returned by
5299           gst_tag_list_get_string*() are in UTF-8 encoding.
5300
5301 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5302
5303         * Makefile.am:
5304           The check-exports stuff moved to common/win32.mak, so include that.
5305
5306 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5307
5308         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5309         (gst_base_src_perform_seek), (gst_base_src_get_range),
5310         (gst_base_src_set_playing), (gst_base_src_change_state):
5311         Make _wait_playing() not check any variables so that we can call this
5312         function from subclasses. Move the checks elsewhere similar to
5313         _wait_preroll() in basesink.
5314         Add some debugging.
5315         Only signal the LIVE cond when we are going back to PLAYING.
5316
5317 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5318
5319         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5320           Use g_remove() and g_rename(). Check result of g_rename(), and
5321           don't leak the open file descriptor if we error out when writing.
5322
5323         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5324           Must check the return value of close() after writing out the new
5325           registry file.  Sometimes write problems such as out-of-diskspace
5326           are only reported when the file is closed and not already during
5327           the write.  This may have caused partial/broken registry files in
5328           some rare circumstances. Should fix #503675.
5329
5330 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5331
5332         * docs/gst/.cvsignore:
5333         * docs/libs/.cvsignore:
5334         * docs/plugins/.cvsignore:
5335         Ignore files generated by new common/* modifications
5336
5337 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5338
5339         * win32/common/libgstbase.def:
5340           Yes, you can also have a <TAB> if you want.
5341
5342 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5343
5344         * win32/common/libgstbase.def:
5345           Add new basetransform API to win export file.
5346
5347 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5348
5349         * tests/check/gst/gstbin.c:
5350           Adjust the test to the refcount change two days ago.
5351
5352 2007-12-14  David Schleef  <ds@schleef.org>
5353
5354         * docs/faq/getting.xml: Fix typo.
5355
5356 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5357
5358         * docs/libs/gstreamer-libs-sections.txt:
5359         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5360           (gst_base_transform_prepare_output_buffer),
5361           (gst_base_transform_set_gap_aware):
5362         * libs/gst/base/gstbasetransform.h:
5363           API: Add gst_base_transform_set_gap_aware() to control whether
5364           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5365           get buffers with this flag at all. Fixes #503231.
5366
5367 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5368
5369         * libs/gst/base/gstbasesink.c:
5370         * libs/gst/base/gstbasesrc.c:
5371         * libs/gst/base/gstbasetransform.c:
5372           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5373           thread. Correct log message in gstbasesrc.c.
5374
5375 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5376
5377         * gst/gstutils.c: (element_find_unconnected_pad):
5378           Fix possible compiler warning (#503417).
5379
5380 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5381
5382         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5383           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5384
5385 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5386
5387         * tools/gst-inspect.c: (print_element_properties_info):
5388           Add support for GstFraction properties.
5389
5390 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5391
5392         * Makefile.am:
5393           Add check-exports target and run it as part of 'make check'
5394           (see #499140 and #493983).
5395
5396         * gst/gst_private.h:
5397         * gst/gstelementfactory.h:
5398         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5399         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5400           (_priv_gst_in_valgrind):
5401         * gst/gstinfo.h: (GstLogFunction):
5402         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5403           (gst_type_find_register):
5404         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5405           (gst_type_find_factory_get_type):
5406         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5407           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5408           (gst_controller_new_valist), (gst_controller_new_list),
5409           (_gst_controller_dispose), (_gst_controller_class_init):
5410         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5411         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5412           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5413           (gst_object_get_controller), (gst_object_set_controller),
5414           (gst_object_suggest_next_sync), (gst_object_sync_values),
5415           (gst_object_set_control_source), (gst_object_get_control_source),
5416           (gst_object_get_value_arrays), (gst_object_get_value_array),
5417           (gst_object_get_control_rate), (gst_object_set_control_rate):
5418         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5419         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5420           Make some functions that should be static static; rename some
5421           private symbols so that they don't get exported; add some FIXME
5422           comments so we can move accidentally exported functions into
5423           our private section in 0.11.
5424
5425         * win32/common/libgstreamer.def:
5426           Add gst_utils_get_timestamp().
5427
5428 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5429
5430         * gst/gstvalue.c:
5431         * gst/gstvalue.h:
5432           Add more missing "Since:" tags to docs.
5433
5434 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5435
5436         * gst/gstutils.c:
5437           Add mising "Since:" to docs.
5438
5439 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5440
5441         * gst/gstplugin.c:
5442           Include "glib-compat-private.h" to fix the build on system with
5443           glib < 2.10. Fixes #503131.
5444
5445 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5446
5447         * gst/gstutils.c:
5448         * gst/gstutils.h:
5449           Actually its not PURE as it gets the time from elsewhere.
5450
5451 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5452
5453         * docs/gst/gstreamer-sections.txt:
5454         * gst/gstclock.h:
5455         * gst/gstdebugutils.c:
5456         * gst/gstinfo.c:
5457         * gst/gstutils.c:
5458         * gst/gstutils.h:
5459         * libs/gst/base/gstbasesink.c:
5460         * tools/gst-launch.c:
5461           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5462           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5463           Thanks Tim for spotting.
5464           API: gst_util_get_timestamp
5465
5466 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5467
5468         * configure.ac:
5469           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5470
5471 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5472
5473         * gst/gststructure.c: (gst_structure_validate_name),
5474           (gst_structure_new_valist), (gst_structure_parse_value),
5475           (gst_structure_from_string):
5476           Don't crash in _from_string() if the structure name is not valid
5477           (fixes #501560).  Allow structure names to start with a number
5478           again (this apparently broke the ubuntu codec installer).
5479
5480         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5481           (GST_START_TEST):
5482           Add unit test for the crash; update unit tests for new behaviour.
5483
5484 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5485
5486         * gst/gstutils.c:
5487         Clarify gst_element_get_compatible_pad() documentation.
5488         Fixes #500919.
5489
5490 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5491
5492         * tests/check/Makefile.am:
5493           Don't forget to dist {gst,libs}/struct_hppa.h.
5494
5495 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5496
5497         * libs/gst/base/gstbasesink.c:
5498           Use new API to get elapsed time.
5499
5500 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5501
5502         * gst/gstdebugutils.c:
5503         * gst/gstinfo.c:
5504           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5505
5506         * tools/gst-launch.c:
5507           Use new API to get elapsed time.
5508
5509 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5510
5511         * docs/gst/gstreamer-sections.txt:
5512         * gst/gstclock.h:
5513         * gst/gstdebugutils.c:
5514         * gst/gstinfo.c:
5515           Rename new API + ChangeLog surgery to remove old name from last entry..
5516
5517 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5518
5519         * docs/gst/gstreamer-sections.txt:
5520         * gst/gstclock.h:
5521         * gst/gstdebugutils.c:
5522         * gst/gstinfo.c:
5523           Now hide the different clock stuff behind a macro.
5524
5525 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5526
5527         * configure.ac:
5528         * gst/gstdebugutils.c:
5529         * gst/gstinfo.c:
5530           Apply the posix-timer check from #361155. Conditionally use the posix
5531           timer for logging. This gives better timestamp precission, less
5532           overhead and no ntp jitter.
5533
5534 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5535
5536         * gst/gstminiobject.c: (gst_mini_object_get_type),
5537         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5538         (gst_mini_object_finalize), (gst_mini_object_copy),
5539         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5540         (gst_mini_object_replace), (param_mini_object_validate),
5541         (gst_param_spec_mini_object_get_type):
5542         Some cleanup and checking against invalid function parameters.
5543
5544 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5545
5546         * docs/gst/gstreamer-sections.txt:
5547         * gst/gstclock.h:
5548         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5549         (gst_systemclock_suite):
5550         Start merging in the easy bits of #361155, the monotonic clock patch.
5551         This one adds a few handy macros with docs and a testsuite.
5552
5553 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5554
5555         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5556         Be a bit smarter when seeking, like, don't try to do a seek when it's
5557         not needed. This avoids errors when the file is not seekable.
5558         Fixes #499771.
5559
5560 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5561
5562         * docs/gst/gstreamer-docs.sgml:
5563         * docs/gst/gstreamer-sections.txt:
5564         * docs/gst/gstreamer.types.in:
5565         * gst/Makefile.am:
5566         * gst/gst.h:
5567         * gst/gstpreset.c:
5568         * gst/gstpreset.h:
5569         * plugins/elements/gstqueue.c:
5570           Due to popular request remove preset interface again. :-(.
5571
5572 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5573
5574         * tools/gst-inspect.c:
5575           Print 'default value' for enums and flags too.
5576
5577 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5578
5579         * docs/random/ensonic/profiling.txt:
5580           More ideas.
5581
5582         * gst/gstbin.c:
5583           Fix typo and give better log output.
5584
5585         * gst/gstdebugutils.c:
5586         * gst/gstdebugutils.h:
5587           More ideas, make graphs a bit smaller and fix param name in macro.
5588
5589 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5590
5591         * gst/gstpreset.c:
5592           Try harder to use the return value from fgets().
5593
5594 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5595
5596         * gst/gstpreset.c:
5597           For theses two fgets we handle the error below.
5598
5599 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5600
5601         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5602         Only send upstream events upstream. Fixes #498746.
5603
5604 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5605
5606         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5607
5608         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5609         (gst_identity_init), (gst_identity_transform_ip),
5610         (gst_identity_set_property), (gst_identity_get_property):
5611         * plugins/elements/gstidentity.h:
5612         Add property to disable handoff signal emission. Fixes #498694.
5613         API: GstIdentity::signal-handoffs
5614
5615 2007-11-21  Julien Moutte  <julien@fluendo.com>
5616
5617         * docs/faq/gst-uninstalled: Yet another missing library for the
5618         uninstalled script (fft)
5619
5620 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5621
5622         * docs/faq/developing.xml:
5623         Add a question about how to submit new translations.
5624
5625         * docs/random/release:
5626         Update the contact email address for the Translation Project
5627
5628         * plugins/elements/gstfdsrc.c:
5629         The parent_class for fdsrc is pushsrc, not GstElement.
5630
5631 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5632
5633         * gst/gstpreset.c:
5634           Plug a leak and fix saving.
5635
5636 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5637
5638         * docs/gst/gstreamer-sections.txt:
5639         Add new gst_preset__get_property_names() function to the docs
5640         to fix the build.
5641
5642 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5643
5644         * gst/gstpreset.c:
5645         * gst/gstpreset.h:
5646           Change _get_preset_names API to return a strv with copies. Add
5647           _get_property_names to allow implementations to filter and provide
5648           good default implementation.
5649
5650 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5651
5652         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5653         script (sdp).
5654
5655 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5656
5657         * gst/gstpreset.c:
5658           More cleanups, docs, and TODOs from comments that now slowly come in.
5659
5660 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5661
5662         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5663         search path.
5664
5665 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5666
5667         * gst/gstpreset.c:
5668           Fix bogus warning and make the property type specific code more
5669           similar.
5670
5671 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5672
5673         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5674         it build on OS X.
5675
5676 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5677
5678         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5679         (gst_bin_add_func), (gst_bin_remove_func),
5680         (gst_bin_change_state_func), (gst_bin_continue_func):
5681         Change email, cleanups add some more debug and comments.
5682         Also set bus and clock on new elements when the pipeline was in error.
5683
5684 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5685
5686         * gst/gstbin.c:
5687         * gst/gstdebugutils.c:
5688           Fix build with --disable-gst-debug. Fixes #497859.
5689           Spotted by Sameer Naik.
5690
5691 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5692
5693         * gst/gstevent.c:
5694           Little documentation improvment.
5695
5696         * gst/gstpreset.c:
5697           More TODO cleanups. Remove c++ comments.
5698
5699         * libs/gst/controller/gstcontroller.c:
5700           Add TODO and use quark from static string.
5701
5702         * tests/check/gst/gstmessage.c:
5703         * tests/check/gst/gststructure.c:
5704           Use quark from static string.
5705
5706 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5707
5708         * gst/gstpreset.c:
5709           Add some comments and TODOs.
5710
5711         * gst/gstpreset.h:
5712           Add padding for future changes.
5713
5714         * plugins/elements/gstqueue.c:
5715           Implement the iface.    
5716
5717 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5718
5719         * docs/gst/gstreamer-docs.sgml:
5720         * docs/gst/gstreamer-sections.txt:
5721         * docs/gst/gstreamer.types.in:
5722         * gst/Makefile.am:
5723         * gst/gst.h:
5724         * gst/gstpreset.c:
5725         * gst/gstpreset.h:
5726           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5727
5728 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5729
5730         * configure.ac:
5731
5732         Back to CVS
5733
5734 === release 0.10.15 ===
5735
5736 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5737
5738         * configure.ac:
5739           releasing 0.10.15, "October"
5740
5741 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5742
5743         * win32/vs6/libgstreamer.dsp:
5744         Convert line endings back to DOS.
5745
5746 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5747
5748         * docs/design/draft-tagreading.txt:
5749         * docs/random/ensonic/profiling.txt:
5750         Update fast tagreading draft and performance profiling ideas.
5751
5752 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5753
5754         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5755         Don't hold the object lock when unreffing a buffer because it could
5756         cause a deadlock when the finalize function wants to grab the object
5757         lock too. Fixes #495133.
5758
5759 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5760
5761         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5762         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5763         Also accumulate time correctly when doing reverse playback. Fixes
5764         #488201,
5765         When converting to running and stream time, use default values for
5766         start/stop/time/accum when comparing different formats. Fixes #494245.
5767
5768         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5769         Do running/stream time in TIME format.
5770
5771         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5772         (gst_segment_suite):
5773         2 new unit tests for segment accumulation.
5774
5775 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5776
5777         * gst/gst.c: (init_pre):
5778         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5779           (_gst_debug_bin_to_dot_file):
5780           Move getenv() back into gst_init, so everyone can live happily
5781           ever after. Make sure the symbol isn't exported though.
5782
5783 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5784
5785         Patch by: Sebastien Moutte  <sebastien moutte net>
5786
5787         * win32/common/gstenumtypes.c:
5788         * win32/common/gstenumtypes.h:
5789           Update enum types.
5790
5791         * win32/vs6/libgstreamer.dsp:
5792           Update vs6 project files (#494343).
5793
5794 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5795
5796         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5797         (gst_base_src_perform_seek), (gst_base_src_default_event),
5798         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5799         (gst_base_src_activate_pull):
5800         Unify flushing code, remove some old unlock code that is no longer used.
5801         Take the streaming lock when seeking to avoid races. Fixes #492729.
5802         Added some more comments.
5803
5804 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5805
5806         * gst/gst.c: (_gst_disable_segtrap):
5807           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5808           we can use gst_segtrap_is_enabled() there now that we have that API.
5809           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5810           to do the getenv here (and export the variable).
5811
5812         * gst/gstdebugutils.c: (debug_dump_element),
5813           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5814           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5815
5816         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5817           (gst_debug_log_default):
5818           Rename _gst_info_start_time to priv_gst_info_start_time so it
5819           doesn't get exported (was never in any header).
5820
5821         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5822           (gst_plugin_loading_mutex):
5823           Make static mutex gst_plugin_loading_mutex really static (was never
5824           in any header), and use gst_segtrap_is_enabled() instead of
5825           _gst_disable_segtrap.
5826
5827         * gst/gsttrace.c: (_gst_trace_default):
5828           Make local _gst_trace_default static (was never in any header).
5829
5830 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5833
5834         * win32/common/libgstbase.def:
5835         * win32/common/libgstcontroller.def:
5836         * win32/common/libgstdataprotocol.def:
5837         * win32/common/libgstnet.def:
5838         * win32/common/libgstreamer.def:
5839           Add more missing symbols, remove some duplicates, and sort
5840           as the 'sort' command sorts it (partially fixes #493983).
5841
5842 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5843
5844         * gst/gstelement.c: (gst_element_set_state_func):
5845         Only change the state cookie if a different state was set on the
5846         element. See #492729.
5847
5848 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5849
5850         * gst/gstvalue.c:
5851           Remove unused and uninitialised type variables that were still
5852           exported for some reason (they were never in any header files
5853           though).
5854
5855 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5856
5857         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5858         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5859         (gst_base_sink_event), (gst_base_sink_get_position_last),
5860         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5861         (gst_base_sink_change_state):
5862         Don't try to report a 0 position when we don't know, return -1 and FALSE
5863         instead. This mostly happens when we are prerolling.
5864         Make sure we can report the right position before we post the ASYNC_DONE
5865         message so that a message handler can query position without races.
5866
5867         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5868         (async_done_handoff), (async_done_func), (send_buffer),
5869         (async_done_eos_func), (gst_sinks_suite):
5870         Add two tests for the above.
5871
5872 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5873
5874         * MAINTAINERS:
5875         Update with new email address.
5876
5877         * docs/design/part-TODO.txt:
5878         Add some more info about future pad-block and negotiation changes.
5879
5880         * docs/design/part-buffering.txt:
5881         Add some ideas about buffering reporting.
5882
5883 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5884
5885         * tests/check/gst/gstobject.c:
5886         Disable silly racy test that always fails on this combination of CPU
5887         and kernel.
5888
5889 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5890
5891         Patch by: Murray Cumming  <murrayc@murrayc.com>
5892
5893         * gst/gstobject.c:
5894           Corrected the registration of the parent-set and parent-unset
5895           signals: The parameter is a GstObject, not a GObject (#493134).
5896
5897 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5898
5899         * gst/gst_private.h:
5900         * gst/gstbuffer.h:
5901         * gst/gstevent.h:
5902         * gst/gstformat.h:
5903         * gst/gstmessage.h:
5904         * gst/gstplugin.h:
5905         * gst/gstquery.h:
5906         * gst/gsttaglist.h:
5907         * gst/gstvalue.h:
5908           Move declaration of private _gst_foo_initialize() functions into
5909           our private header file where they should have been all along.
5910
5911 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5912
5913         * docs/plugins/gstreamer-plugins-sections.txt:
5914         * gst/gstdebugutils.h:
5915         * gst/gstxml.h:
5916         * plugins/elements/gstqueue.c:
5917           gtk-doc fixes; trailing-comma-in-enum fix.
5918
5919 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5920
5921         * gst/gst.c: (gst_deinit):
5922           Clean up on deinit (not the external ones though, doesn't seem to be
5923           needed for some reason).
5924
5925 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5926
5927         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5928           Remove __declspec(dllimport) for MSVC that was copied over into core
5929           from a plugin, obviously without ever having been tested (note the
5930           single underscore in _declspec in the initial commit), and that doesn't
5931           really make sense.  See #492077.
5932
5933 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5934
5935         * gst/gst.c: (init_post):
5936         * gst/gstevent.c: (_gst_event_initialize):
5937         * gst/gstquery.c: (_gst_query_initialize):
5938         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5939           g_type_class_ref() other types as well, see #349410 and #64764.
5940
5941         * gst/gstbuffer.c: (_gst_buffer_initialize):
5942         * gst/gstmessage.c: (_gst_message_initialize):
5943           Simplify existing g_type_class_ref().
5944
5945 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5946
5947         * gst/gstformat.c: (_gst_format_initialize):
5948           g_type_class_ref() our GstFormat type to make sure we avoid the
5949           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5950           bug #64764. Should fix intermittent tee unit test failures (#474823).
5951
5952 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5953
5954         * tests/check/elements/tee.c: (test_num_buffers):
5955           Simplify, simplify, simplify - or not.  Rewrite unit test
5956           not to use gst_parse_launch(); allow N sub-streams. Increasing
5957           the number of sub-streams seems to reproduce #474823 more easily.
5958
5959 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5960
5961         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5962
5963         * gst/gsttrace.c:
5964         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5965         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5966         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5967           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5968           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5969           so use _pipe() directly (#492077).
5970
5971         * win32/common/dirent.c: (_treaddir):
5972           Add a couple of casts to make it build without warnings with MSVC.
5973
5974         * win32/common/libgstreamer.def:
5975           Add some more symbols that need to be exported.
5976
5977 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5978
5979         * tests/examples/metadata/read-metadata.c: (message_loop):
5980           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5981           arriving in a second or third tag message are added to
5982           the tag list as well.
5983
5984 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
5985
5986         * libs/gst/base/gstbasesrc.c:
5987           Its "Since:" and not "@Since:". And remove an superflous cast.
5988
5989 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
5990
5991         * docs/libs/gstreamer-libs-sections.txt:
5992         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5993         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5994         (gst_base_sink_get_property), (gst_base_sink_render_object),
5995         (gst_base_sink_preroll_object),
5996         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5997         (gst_base_sink_change_state):
5998         * libs/gst/base/gstbasesink.h:
5999         Add a new last-buffer property that contains the last buffer used in
6000         basesink for preroll or rendering. useful for making snapshots.
6001         API: gst_base_sink_get_last_buffer()
6002         API: GstBaseSink::last-buffer
6003
6004 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6005
6006         * docs/gst/running.xml:
6007         * gst/gst.c:
6008         * gst/gstdebugutils.c:
6009         * gst/gstdebugutils.h:
6010         * tools/gst-launch.c:
6011           Improve bin graph dumping, by using the envvar to specify a path.
6012           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6013
6014 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6015
6016         * plugins/elements/gsttypefindelement.c:
6017           (gst_type_find_element_handle_event),
6018           (gst_type_find_element_activate):
6019           Post special error message if we can't determine the type of a stream
6020           because it's empty.
6021
6022 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6023
6024         * docs/gst/running.xml:
6025         * gst/gstdebugutils.c:
6026           Document new env-var. Add one log-line after dumpng a graph.
6027
6028 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6029
6030         * configure.ac:
6031           Ugly hack to put the (recently removed and non-portable, apparently)
6032           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6033           GNU ld, because without that 'make check' fails miserably on my debian
6034           stable box.  Someone with more knowledge of linker intricacies and
6035           portability issues than me fix this properly please.
6036
6037 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6038
6039         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6040         Reset last seen position after flushing so that we don't report the old
6041         position anymore.
6042
6043 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6044
6045         * gst/gstelementfactory.c: (gst_element_register):
6046         * gst/gsturi.h:
6047         Patch from Alessandro Decina adding get_type_full and
6048         get_protocols_full private vfuncs to the URIHandler interface
6049         to allow bindings to support creating URI handlers. 
6050         Partially fixes: #339279
6051         API: GstURIHandlerInterface::get_type_full
6052         API: GstURIHandlerInterface::get_protocols_full
6053
6054 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6055
6056         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6057         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6058         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6059         Make it so that pads are considered linked until a buffer is pushed
6060         and discovered otherwise. This avoids problems with decodebin2 hanging
6061         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6062         case.
6063
6064         Make sure we lock the multiqueue when updating the max-size properties.
6065         
6066         Fix a crash on Solaris in a debug statement in get_request_pad that
6067         passes a NULL string to GST_DEBUG. 
6068
6069         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6070         (run_output_order_test):
6071         Fix the test to allow the first buffer on not-linked pads to come out
6072         of sequence while multiqueue discovers that they are not-linked.
6073
6074 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6075
6076         * configure.ac:
6077         * libs/gst/check/Makefile.am:
6078         Use a custom export symbol regex for libgstcheck, as it needs
6079         to export symbols that don't match the standard GStreamer gst_*
6080         pattern, and  --export-dynamic is not portable (only works on 
6081         GNU ld)
6082
6083         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6084         (gst_check_setup_sink_pad):
6085         Make sure to pass a message parameter to the fail_* macros.
6086
6087         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6088         Fix some compiler warnings.
6089
6090 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6091
6092         * tests/check/gst/gststructure.c: (test_to_string):
6093           Disable test that checks that white spaces are not allowed
6094           in structure names or field names, since we need to
6095           support that for now for backwards compatibility reasons.
6096
6097 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6098
6099         * docs/gst/gstreamer-sections.txt:
6100         * gst/gsttaglist.c:
6101         * gst/gsttaglist.h:
6102           API: add GST_TAG_ARTIST_SORTNAME
6103           API: add GST_TAG_ALBUM_SORTNAME
6104           API: add GST_TAG_TITLE_SORTNAME
6105           Add tag variants for sorting (#414539).
6106
6107 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * gst/gststructure.c:
6110           Also allow white space for names so we don't break
6111           backwards compatibility.
6112
6113 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6114
6115         * docs/design/part-TODO.txt:
6116         * docs/design/part-segments.txt:
6117         * docs/design/part-streams.txt:
6118         Small updates.
6119
6120 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6121
6122         * docs/gst/gstreamer-sections.txt:
6123          Fixed documentation from my previous commit (added new API add
6124          gst_value_set_structure(), add gst_value_get_structure() and
6125          GST_VALUE_HOLDS_STRUCTURE).
6126
6127 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6128
6129         * gst/gstdebugutils.c:
6130           Reflow code to fix uninitialized variable warning.
6131
6132 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6133
6134         * gst/gstcaps.c: (gst_caps_to_string),
6135         (gst_caps_from_string_inplace):
6136         * gst/gststructure.c: (gst_structure_get_abbrs),
6137         (gst_structure_to_string), (gst_structure_from_string):
6138         * gst/gstvalue.c: (gst_value_set_structure),
6139         (gst_value_get_structure), (gst_value_serialize_structure),
6140         (gst_value_deserialize_structure), (_gst_value_initialize):
6141         * gst/gstvalue.h:
6142         * tests/check/gst/gststructure.c: (GST_START_TEST),
6143         (gst_structure_suite):
6144         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6145          Added GstStructure to gst_value_table and its related functions.
6146          Changed gst_structure_to_string to print ';' in the end.
6147          Changed gst_caps_to_string to not print ';' beteween its
6148          fields (structures) anymore and remove the lastes ';' from latest
6149          structure. Now it is possible to have nested structures.
6150          In addition, backward compatibilty is assured by accepting '\0' as
6151          end delimiter. Fixes: #487969.
6152          API: add gst_value_set_structure()
6153          API: add gst_value_get_structure()
6154          API: add GST_VALUE_HOLDS_STRUCTURE
6155
6156 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6157
6158         * gst/gstbus.c:
6159           When no GSource callback has been set up, tell developer
6160           to use a function that actually exists.
6161
6162 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6163
6164         * docs/gst/gstreamer-sections.txt:
6165         * gst/Makefile.am:
6166         * gst/gst.c:
6167         * gst/gst.h:
6168         * gst/gstdebugutils.c:
6169         * gst/gstdebugutils.h:
6170         * gst/gstinfo.c:
6171         * gst/gstinfo.h:
6172         * tools/gst-launch.c:
6173           Allow dumping pipelines as dot graphs. Fixes #456573.
6174
6175 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6176
6177         * gst/gststructure.c:
6178           Allow '+' as well, it can be part of media or mime types
6179           such as image/svg+xml.
6180
6181 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6182
6183         * docs/gst/gstreamer-sections.txt:
6184         * gst/gstbus.c:
6185         * gst/gstbus.h:
6186           API: add gst_bus_pop_filtered
6187           API: add gst_bus_timed_pop_filtered
6188           Two new functions for waiting for specific message types on the
6189           bus for a specified amount of time without iterating any main
6190           loops or main contexts.
6191
6192         * tests/check/gst/gstbus.c:
6193           Some tests for the new functions.
6194
6195 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6196
6197         * docs/libs/gstreamer-libs-sections.txt:
6198           Make gtk-doc ignore stuff it should ignore.
6199
6200 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6201
6202         * libs/gst/check/gstcheck.c:
6203         * libs/gst/check/gstcheck.h:
6204           Allow runtime selection of unit tests to run via the GST_CHECKS
6205           environment variable (test case function names, comma-separated).
6206
6207 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6208
6209         * gst/gststructure.c:
6210         * tests/check/gst/gststructure.c:
6211           Revert serialisation change and constrain structure-names after
6212           consensus on irc. Update api documentation to reflect the change.
6213
6214 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6215
6216         * gst/gststructure.c:
6217           Improve serialization and fix tests.
6218
6219         * tests/check/gst/gststructure.c:
6220           Add another test that covers why I actually did the previous structure
6221           change.
6222
6223 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6224
6225         * tools/gst-inspect.c: (print_element_info):
6226         Don't crash when inspecting an element.
6227
6228 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6229
6230         * tests/check/gst/gststructure.c:
6231           Add unit test for escaping of structure name when serialising
6232           and deserialising to/from strings.
6233
6234 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6235
6236         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6237         (gst_single_queue_new):
6238         * plugins/elements/gstqueue.c: (gst_queue_init),
6239         (gst_queue_push_one):
6240         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6241         upstream is tricked into thinking it can suggest a format downstream
6242         while downstream does not support that format. The real problem is that
6243         core calls acceptcaps when pushing a buffer with new caps, for which we
6244         do a little workaround by setting the caps on the srcpad ourselves
6245         before pushing the buffer (until this is figured out). Fixes #486758.
6246
6247 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6248
6249         * gst/gststructure.c:
6250         * gst/gstvalue.c:
6251           Add some more comments and debug output. Quote structure name to fix
6252           deserialisation of some strings.
6253
6254 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6255
6256         * gst/gstbuffer.h:
6257           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6258           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6259
6260 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6261
6262         * tools/gst-inspect.c:
6263           Save approx. 400 1 byte allocs when printing. Use API to acces element
6264           details.
6265
6266         * tools/gst-run.c:
6267           Avoid a strdup.
6268
6269         * tools/gst-xmlinspect.c:
6270           Use API to acces element details.
6271
6272 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6273
6274         * gst/gstinfo.c:
6275           Fix some spelling errors.
6276
6277 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6278
6279         * gst/gstbin.c: (bin_handle_async_done):
6280         Correctly set the next state if all of our async children commited their
6281         state. This makes sure we can actually cancel the state change in
6282         progress. Fixes a regression in Rhythmbox when seeking.
6283
6284 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6285
6286         * gst/gstbin.c:
6287           Don't shadow local variable.
6288
6289         * gst/gstinfo.c:
6290           Don't shadow global function name.
6291
6292 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6293
6294         * gst/gstelementfactory.c:
6295         * gst/gstpluginfeature.c:
6296         * gst/gstpluginfeature.h:
6297         * gst/gstregistrybinary.c:
6298         * gst/gstregistryxml.c:
6299         * gst/gsttypefind.c:
6300           Use already-interned string for the private GstPluginFeature
6301           plugin_name field.
6302
6303 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6304
6305         * docs/libs/gstreamer-libs-sections.txt:
6306           Add new API to docs; fixes the build.
6307
6308 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6309         
6310         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6311
6312         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6313         (gst_base_sink_event):
6314         * libs/gst/base/gstbasesink.h:
6315         Add function to wait for EOS, subclasses can use this to correctly wait
6316         for devices to drain before performing the EOS logic. Fixes #485343.
6317         API: gst_base_sink_wait_eos()
6318
6319 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6320
6321         * gst/gstplugin.h:
6322           Cast description string constants in GST_PLUGIN_DEFINE macros
6323           to a (gchar*) to make C++ code using these macros compile
6324           without warning with g++-4.2 (see #462737).  Even if slightly
6325           ugly, this seems preferable to putting the description strings
6326           into the GLib quark table or making the structure member a
6327           const gchar * and doing casts in core code that allocs and
6328           frees these strings, or requiring a cast in the C++ code.
6329
6330 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6331
6332         * gst/gstinfo.h:
6333           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6334           to print the entire class/function signature into the log
6335           file for C++ code.  This only affects C++ code, for C code
6336           everything remains the same.
6337
6338 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6339
6340         * gst/gstbin.c: (remove_from_queue):
6341         Work around a problem with pipelines containing (semi)loops until a
6342         proper, more complicated solution is ready. See #475455.
6343
6344 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6345
6346         * gst/gstplugin.c:
6347         * gst/gstplugin.h:
6348         * gst/gstregistrybinary.c:
6349         * gst/gstregistryxml.c:
6350           Put more strings into the GLib quark table. No need to keep
6351           a hundred-something copies of identical version strings,
6352           license strings, package name strings and package origin
6353           strings around. 
6354
6355 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6356
6357         * docs/manual/advanced-dataaccess.xml:
6358           Don't imply that it's okay to unconditionally change
6359           buffer data or buffer metadata in a pad probe callback,
6360           and a bunch of other comments. Fixes #430031.
6361
6362 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6363
6364         * win32/common/gstenumtypes.c:
6365         * win32/common/gstenumtypes.h:
6366         * win32/common/gstversion.h:
6367           Update generated files.
6368
6369 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6370
6371         * docs/manual/advanced-autoplugging.xml:
6372           Prefix section with broken code with a warning (see #342432).
6373
6374 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6375
6376         * docs/manual/appendix-integration.xml:
6377         * docs/manual/basics-init.xml:
6378           Call g_thread_init() before g_option_context_new() to
6379           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6380
6381 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6382
6383         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6384         (gst_base_sink_queue_object_unlocked),
6385         (gst_base_sink_queue_object), (gst_base_sink_event),
6386         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6387         When we received EOS and are waiting for when to post the EOS message,
6388         our state is prerolled and we should not return ASYNC.
6389         Reorganize some code paths to implement this behavior.
6390
6391         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6392         (gst_sinks_suite):
6393         Add unit test to verify above EOS fix.
6394
6395 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6396
6397         * plugins/elements/gsttypefindelement.c:
6398         (gst_type_find_element_have_type), (gst_type_find_element_init),
6399         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6400         Move detecting the input caps of the sinkpad to the setcaps function.
6401         This allows us to update the output caps when we receive new input caps
6402         instead of always using the first detected caps.
6403
6404 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6405
6406         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6407         (gst_base_sink_get_position):
6408         Don't try to preroll non-async elements after a flush.
6409         Subtract latency form clock times when reporting position.
6410
6411 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6412
6413         * gst/gstpad.c: (gst_pad_pause_task):
6414         * gst/gstutils.c:
6415         Small comment and documentation update.
6416
6417 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6418
6419         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6420         (gst_base_src_set_live), (gst_base_src_is_live),
6421         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6422         (gst_base_src_default_event), (gst_base_src_wait),
6423         (gst_base_src_do_sync), (gst_base_src_get_range),
6424         (gst_base_src_pad_get_range), (gst_base_src_loop),
6425         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6426         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6427         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6428         (gst_base_src_change_state):
6429         Rework the locking of basesrc in a similar fashion to basesink. We
6430         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6431         us to handle live sources and semi live ones much better.
6432         Simplify flushing.
6433         Fix unlocking when seeking, shutting down and pausing in live sources.
6434
6435 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6436
6437         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6438         Fix compilation again.
6439
6440 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6441
6442         * gst/gstelement.c:
6443           Use meaningful categories for the logs to clean the default one.
6444
6445 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6446
6447         * tests/check/pipelines/cleanup.c:
6448           Print message name and not just number.
6449
6450 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6451
6452         * docs/design/draft-tagreading.txt:
6453           Add some more thoughts.
6454
6455 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6456
6457         * tests/check/pipelines/simple-launch-lines.c:
6458           Print message name and not just number.
6459
6460 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6461
6462         * libs/gst/base/gsttypefindhelper.c:
6463           Speedup typefinding. This is work in progress (see #459862).
6464
6465 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6466
6467         * gst/gstplugin.c:
6468           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6469           Spotted by Josep Torra Valles <josep@fluendo.com>.
6470
6471 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6472
6473         * gst/gstclock.h:
6474           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6475           field has moved to GstObject.
6476
6477 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6478
6479         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6480         (gst_base_src_get_range), (gst_base_src_change_state):
6481         Call unlock for live sources so that they can't get stuck in _create and
6482         produce a buffer before they are set back to PLAYING.
6483
6484 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6485
6486         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6487         (gst_queue_locked_dequeue):
6488         Comment the segment-related code... in the PROPER function.
6489         See #482147 and my commit from yesterday.
6490
6491 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6492
6493         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6494         Also initialize the counter that calculates the first timestamp on a
6495         buffer correctly for non-live sources.
6496
6497 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6498
6499         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6500         Disable code that's breaking the current-time-level reporting.
6501         See #482147
6502
6503 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6504
6505         * docs/gst/gstreamer-sections.txt:
6506         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6507         as they shouldn't show up. Fixes the docs build.
6508
6509 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6510         
6511         * gst/gstinfo.h:
6512         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6513         Define M_PI which is used in files which are including gstinfo.h. 
6514         VS6 includes doesn't define it.
6515         * win32/common/libgstbase.def:
6516         * win32/common/libgstcontroller.def:
6517         * win32/common/libgstreamer.def:
6518         Add new exported functions and variables.
6519         * win32/vs6/libgstcontroller.dsp:
6520         * win32/vs6/libgstreamer.dsp:
6521         Update the list of files to build.
6522         
6523 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6524
6525         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6526
6527         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6528         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6529         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6530         Improve debugging. Fixes #480858.
6531
6532 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6533
6534         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6535
6536         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6537         First patch of code cleanups, use the macros and right arguments in the
6538         macros to signal and lock the queue. See #480858.
6539
6540 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6541
6542         * gst/gstbus.c: (poll_func):
6543         Improve debugging when dealing with _poll().
6544
6545 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6546
6547         * gst/gstregistryxml.c:
6548           Fix memory leak I introduced a few days ago.
6549
6550 2007-09-26  Michael Smith <msmith@fluendo.com>
6551
6552         * gst/gstbuffer.c: (gst_buffer_finalize):
6553           Make it once again possible to free GstBuffers in the default
6554           build.
6555           The poisoning scribbles on parts of the miniobject we need in
6556           order to free it.
6557           Fixes #480341
6558
6559 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6560
6561         * docs/gst/gstreamer-sections.txt:
6562         * gst/gsttaglist.c:
6563         * gst/gsttaglist.h:
6564         API: add GST_TAG_COMPOSER, fixes #459809.
6565
6566 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6567
6568         * gst/gstplugin.c:
6569         * gst/gstplugin.h:
6570         Add the 3-clause BSD license and the MIT/X11 license to the license
6571         list. Fixes #479784.
6572
6573 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6574
6575         * docs/faq/getting.xml:
6576           Add Q+A about different GStreamer versions (#364056).
6577
6578 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6579
6580         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6581         (gst_base_sink_event), (gst_base_sink_change_state):
6582         Return correct gboolean from query function.
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_query),
6588         (gst_base_sink_change_state):
6589         Simplify latency query.
6590         When not synchronizing, we can report latency without querying the peer
6591         element.
6592
6593 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6594
6595         * gst/gstobject.h:
6596         * gst/gstvalue.c:
6597         Fix small typos in the docs.
6598
6599 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6600
6601         * docs/design/draft-latency.txt:
6602         * docs/design/draft-push-pull.txt:
6603         * docs/design/draft-tagreading.txt:
6604         * docs/design/part-MT-refcounting.txt:
6605         * docs/design/part-activation.txt:
6606         * docs/design/part-block.txt:
6607         * docs/design/part-element-source.txt:
6608         * docs/design/part-events.txt:
6609         * docs/design/part-gstbin.txt:
6610         * docs/design/part-gstelement.txt:
6611         * docs/design/part-gstobject.txt:
6612         * docs/design/part-gstpipeline.txt:
6613         * docs/design/part-messages.txt:
6614         * docs/design/part-preroll.txt:
6615         * docs/design/part-push-pull.txt:
6616         * docs/design/part-qos.txt:
6617         * docs/design/part-query.txt:
6618         * docs/design/part-scheduling.txt:
6619         * docs/design/part-seeking.txt:
6620         * docs/design/part-segments.txt:
6621         * docs/design/part-states.txt:
6622         Documentation updates and typo fixes.
6623
6624 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6625
6626         * plugins/elements/gstfakesink.c:
6627           Add some debug text to error message to indicate that
6628           we errored out on request.
6629
6630         * tools/gst-launch.c:
6631           When the state change to PLAYING fails, check for an
6632           error message on the bus and print it.
6633
6634 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6635
6636         translated by: Jorge González González <aloriel@gmail.com>
6637
6638         * po/LINGUAS:
6639         * po/es.po:
6640           Added Spanish translation.
6641
6642 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6643
6644         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6645         Fix printf arguments.
6646
6647 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6648
6649         * tests/check/generic/states.c:
6650           Improved state change unit test.
6651
6652 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6653
6654         * gst/gstbin.h:
6655           Move priv to the right place.
6656
6657         * gst/gstsystemclock.c:
6658           Add FIXME: and improve log.
6659
6660         * tests/check/Makefile.am:
6661         * tests/examples/manual/Makefile.am:
6662           Work with all types of registries.
6663
6664 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6665
6666         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6667         Don't unref the event after pushing it. Fixes #478401.
6668
6669 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6670
6671         * .cvsignore:
6672         * tests/examples/manual/.cvsignore:
6673           Ignore registries in any format.
6674
6675 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6676
6677         * gst/glib-compat-private.h:
6678           Add compatibility macro for g_intern_string() for
6679           GLib-2.8 (any reason we can't just bump the
6680           requirement to at least 2.10?)
6681
6682         * gst/gstpadtemplate.h:
6683         * gst/gstelementfactory.c:
6684         * gst/gstregistryxml.c:
6685         * gst/gstregistrybinary.c:
6686           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6687           up the internal code accordingly.  This shouldn't be a problem, since
6688           there is no reason external code could ever assume the string in such
6689           a structure is dynamically allocated unless it did that itself;  the
6690           use of g_strdup() is private to element factories.  The new code also
6691           saves some memory by putting pad template name strings into the GLib
6692           quark table instead of allocating them dynamically.
6693           Declaring this field constant fixes warnings with g++-4.2 when using
6694           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6695
6696 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6697
6698         * gst/gstelementfactory.c:
6699           Release static caps. Fixes #475723.
6700
6701 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6702
6703         * gst/gstinfo.c:
6704         * gst/gstinfo.h:
6705           Make some internal API take const gchar * instead of just
6706           gchar * to avoid compiler warnings with g++-4.2.2 when
6707           passing string constants (partially fixes #478092).
6708
6709 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6710
6711         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6712         A latency query fails when one of the sinks fail.
6713
6714         * gst/gstelement.c: (gst_element_set_base_time):
6715         Improve debugging.
6716
6717 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6718
6719         * gst/gstbin.c: (gst_bin_continue_func):
6720         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6721         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6722         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6723
6724         Fix minor compilation warnings shown with Forte.
6725
6726 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6727
6728         * plugins/elements/gstqueue.c: (apply_buffer),
6729         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6730         Measure queue level based on the diff between head and tail timestamps
6731         even when pushing the first buffer.
6732
6733 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6734
6735         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6736         (gst_base_sink_event), (gst_base_sink_change_state):
6737         Sinks that don't preroll can always be queried for the latency.
6738         Don't post ASYNC start when we are not async.
6739
6740 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6741
6742         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6743         (gst_queue_handle_sink_event), (gst_queue_chain),
6744         (gst_queue_push_one), (gst_queue_handle_src_query),
6745         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6746         * plugins/elements/gstqueue.h:
6747         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6748         push more buffers but allow pushing of EOS and NEWSEGMENT.
6749         Add some more debug info here and there. Fixes #476514.
6750
6751 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6752
6753         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6754         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6755         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6756         (gst_base_sink_set_flushing), (gst_base_sink_query),
6757         (gst_base_sink_change_state):
6758         Latency query is allowed after we are prerolled. Introduce a new flag
6759         for this and stop abusing other variables.
6760
6761 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6762
6763         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6764         Push OOB events downstream when we get them in send_event. This allows
6765         the application to insert events in the pipeline.
6766         Add some more comments.
6767
6768 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6769
6770         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6771         (do_bin_latency), (gst_bin_change_state_func):
6772         * gst/gstpipeline.c: (gst_pipeline_change_state):
6773         Move latency query from GstPipeline to GstBin so that we can also
6774         use it when async-handling is enabled on bins.
6775
6776 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6777
6778         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6779         (gst_base_src_do_sync), (gst_base_src_change_state):
6780         Update docs.
6781         Clean up the timestamping and syncing code for pseudo live sources.
6782
6783 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6784
6785         Patch by: Steve Fink  <sphink gmail com>
6786
6787         * docs/manual/appendix-checklist.xml:
6788           Mention less -R switch in the section about debug output (#474055).
6789
6790 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6791
6792         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6793         Queue can latency to the pipeline up to the configured max size in time.
6794         Report this fact in the latency query.
6795
6796 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6797
6798         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6799
6800         * libs/gst/controller/gstinterpolation.c:
6801         * libs/gst/controller/gstlfocontrolsource.c:
6802         Use gst_guint64_to_gdouble() when converting from a uint64 or
6803         GstClockTime to double to fix the build on win32. Fixes #474371.
6804
6805 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6806
6807         * gst/gstbuffer.c: (gst_buffer_finalize):
6808         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6809         When finalizing a buffer the complete struct is filled with 0xff,
6810         thus making a use of the buffer after the final unref impossible.
6811
6812 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6813
6814         * tests/check/libs/controller.c: (GST_START_TEST):
6815         Use fail_unless_equals_int(a, b) instead of
6816         fail_unless_equals (a == b) to get better output on failures.
6817
6818 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6819
6820         * tests/check/gst/gsturi.c:
6821           Also check for the other file URI variant on win32.
6822
6823 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6824
6825         * gst/gsturi.c: (gst_uri_get_location):
6826           If there's no hostname, we want to return 'c:/foo/bar.txt'
6827           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6828
6829         * tests/check/gst/gsturi.c:
6830           Unit test for the above and a few more things.
6831
6832 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6833
6834         * docs/design/part-live-source.txt:
6835         Add docs on how live sources should timestamp.
6836
6837         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6838         Add some more debug info.
6839         For subclasses that are live and like to sync, add aditional startup
6840         latency to sync time and timestamps so that we timstamp according to the
6841         design doc.
6842
6843 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6844
6845         * gst/gstbuffer.c:
6846           Also do a g_type_class_ref() for the subbuffer type in
6847           the init function.
6848
6849 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6850
6851         * docs/gst/gstreamer-sections.txt:
6852         * gst/gstpad.c: (gst_pad_peer_query):
6853         * gst/gstpad.h:
6854         Add function to perform a query on the peer of a pad.
6855         API: gst_pad_peer_query()
6856
6857 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6858
6859         * tests/check/gst/gstsystemclock.c:
6860           Cleanup the test a little (use gst-logging and not g_message). Improve
6861           test to check if a wait reached the target.
6862
6863 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6864
6865         * docs/libs/gstreamer-libs-sections.txt:
6866           Add new API to docs and fix the build.
6867
6868 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6869
6870         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6871         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6872         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6873         (gst_base_src_get_property), (gst_base_src_do_sync):
6874         * libs/gst/base/gstbasesrc.h:
6875         Add property to make the basesrc timestamp buffers based on the current
6876         running time.
6877         API: GstBaseSrc::do-timestamp
6878         API: gst_base_src_set_do_timestamp()
6879         API: gst_base_src_get_do_timestamp()
6880
6881 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6882
6883         * docs/random/release:
6884           Really make sure translations are up-to-date before
6885           a release (#465010).
6886
6887 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6888
6889         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6890         Always destroy the timer, also in error cases.
6891
6892 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6893
6894         * docs/manual/highlevel-xml.xml:
6895         Fix XML example code. Fixes #472714.
6896
6897 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6898
6899         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6900         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6901         (gst_base_sink_query):
6902         Protect eos and have_preroll with the OBJECT lock so we don't need to
6903         take the PREROLL lock when querying the latency. Fixes #473846.
6904
6905 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6906
6907         * gst/gstelement.c:
6908           Give some log-messages a category.
6909
6910 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6911
6912         * gst/gststructure.c:
6913         (gst_structure_fixate_field_nearest_fraction):
6914         Fix fraction list fixation code. Take the fraction with the smallest
6915         difference with the target instead of the first one in the list.
6916
6917         * tests/check/gst/gststructure.c: (GST_START_TEST),
6918         (gst_structure_suite):
6919         Added test to verify correct fraction list fixation behaviour.
6920
6921 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6922
6923         * win32/common/libgstreamer.def:
6924           Export gst_bus_add_signal_watch too.
6925
6926 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6927
6928         * docs/libs/gstreamer-libs-sections.txt:
6929         Add new methods to docs.
6930
6931         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6932         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6933         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6934         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6935         * libs/gst/base/gstbasesink.h:
6936         Add ts-offset property to fine-tune the synchronisation.
6937         API: GstBaseSink::ts-offset property
6938         API: gst_base_sink_set_ts_offset()
6939         API: gst_base_sink_get_ts_offset()
6940
6941 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6942
6943         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6944         (gst_base_sink_init), (gst_base_sink_set_sync),
6945         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6946         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6947         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6948         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6949         (gst_base_sink_get_property), (gst_base_sink_change_state):
6950         * libs/gst/base/gstbasesink.h:
6951         Add async property to instruct the sink never to inform the parent about
6952         ASYNC state changes, update docs.
6953         Check argument with g_return_* for the public functions.
6954         API: GstBaseSink::async property
6955         API: gst_base_sink_set_async_enabled()
6956         API: gst_base_sink_is_async_enabled()
6957
6958 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6959
6960         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6961         Improve debugging.
6962
6963         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6964         (gst_base_src_default_query), (gst_base_src_wait),
6965         (gst_base_src_do_sync), (gst_base_src_change_state):
6966         Rearrange some code so that we can add support for measuring the 
6967         startup latency.
6968
6969 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6970
6971         * docs/random/ensonic/dynlink.txt:
6972           More thoughs on this.
6973
6974         * plugins/elements/gstcapsfilter.c:
6975           Add bugzilla ticket number to FIXME comment.
6976
6977 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
6978
6979         * docs/design/part-TODO.txt:
6980         * docs/design/part-block.txt:
6981         Update some docs.
6982
6983 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6984
6985         * gst/Makefile.am:
6986           Revert patch which uses $(gst_headers) instead of $^ because it
6987           breaks make dist.
6988
6989 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6990
6991         * tests/check/gst/gstbin.c: (GST_START_TEST):
6992           Fix leaks in the new unit test.
6993
6994 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
6995
6996         * gst/gst.c:
6997           Don't use GST_INFO before the debug system is actually initialised
6998           (shouldn't do any harm, but won't print anything either, so we can
6999           just as well remove it).
7000
7001         * gst/gstinfo.h:
7002           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7003           compilers that don't support variadic macros (such as MSVC), should
7004           check for debug_level <= __gst_debug_min as well, since that's the
7005           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7006           inline helper functions. Should improve performance a bit, but also
7007           makes sure uses of GST_INFO et.al are ignored if the debugging
7008           system isn't initialised yet (instead of printing an assertion
7009           failure).
7010
7011 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7012
7013         patch by: David Nečas <yeti@physics.muni.cz>
7014
7015         * gst/Makefile.am:
7016           Replace some non portable makefile constructs.
7017
7018 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7019
7020         * common/gtk-doc-plugins.mak:
7021           Grrrrr. Don't remove the types file on make clean.
7022
7023 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7024
7025         * tools/gst-launch.1.in:
7026         Add colorspace to example pipeline. Fixes #458274.
7027
7028 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7029
7030         * docs/random/release:
7031           The release manager should run 'make download-po' before making a
7032           release to make sure translations are up-to-date.
7033
7034         * po/LINGUAS:
7035         * po/be.po:
7036         * po/pl.po:
7037         * po/rw.po:
7038           Add some new translations.
7039
7040 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7041
7042         * tools/gst-launch.c: (event_loop), (main):
7043         Don´t try to do any state management when a live pipeline posts
7044         buffering messages.
7045         Also make the buffering string translatable.
7046
7047 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7048
7049         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7050         (bin_handle_async_start), (gst_bin_handle_message_func):
7051         Improve debugging.
7052         When adding elements, insert messages into the bus of the newly added
7053         element and make sure the element is the source of the message. This
7054         allows the parent bin to intercept the message and do the
7055         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7056         messages to the app (which is not allowed).
7057         Update some docs.
7058
7059         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7060         Fix testsuite so that is does not work around messages that should not
7061         have been posted in the first place.
7062
7063 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7064
7065         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7066         (update_degree), (gst_bin_sort_iterator_next):
7067         Fix annoying bug in the sorted iterator where a sink that is not really
7068         a sink (when it has downstream links) screwed up the iterator.
7069
7070         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7071         Unit test to verify the fix.
7072
7073 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7074
7075         * gst/gstmessage.h:
7076         Add some more docs for the messages.
7077
7078         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7079         (gst_base_sink_query):
7080         Add some more debugging.
7081
7082         * tools/gst-launch.c: (event_loop):
7083         When interrupting, don't try to set pipeline to PAUSED twice.
7084
7085 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7086
7087         
7088         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7089         (bin_handle_async_start), (gst_bin_handle_message_func):
7090         Move ASYNC_START message posting to where it belongs, similar to
7091         async_done. 
7092         Don't post ASYNC_START when we are in error. 
7093         Post ASYNC_START when we added an async element to a bin.
7094
7095 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7096
7097         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7098         generation from vargs. Fixes #466595.
7099
7100 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7101
7102         * gst/gstbin.c: (gst_bin_element_set_state):
7103         Always change the state of a NO_PREROLL element even if it has ASYNC
7104         elements inside (in case of a bin).
7105
7106         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7107         Unit test for this case.
7108
7109 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7110
7111         * libs/gst/check/gstbufferstraw.c:
7112         * libs/gst/check/gstcheck.h:
7113         * libs/gst/controller/gstcontroller.c:
7114         * libs/gst/controller/gstcontrolsource.h:
7115         * libs/gst/controller/gstlfocontrolsource.h:
7116         * plugins/elements/gstcapsfilter.h:
7117         * plugins/elements/gstfdsink.h:
7118         * plugins/elements/gstfdsrc.h:
7119           Add more missing docs.
7120
7121 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7122
7123         * gst/gststructure.c:
7124         Add Since tag to docs.
7125
7126 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7127
7128         * docs/gst/gstreamer-sections.txt:
7129         * gst/gststructure.c: (gst_structure_get_uint):
7130         * gst/gststructure.h:
7131         Add function to get uint from a structure.
7132         API: gst_structure_get_uint()
7133
7134 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7135
7136         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7137         (gst_caps_intersect):
7138         Fix proper check for simple caps.
7139
7140 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7141
7142         * docs/gst/Makefile.am:
7143         * docs/libs/Makefile.am:
7144           Remove cruft and do some cleanups.
7145
7146         * docs/gst/gstreamer-docs.sgml:
7147         * docs/libs/gstreamer-libs-docs.sgml:
7148           Prepare for comming gtkdoc features (rebase against online docs).
7149
7150 2007-08-10  Michael Smith <msmith@fluendo.com>
7151
7152         * docs/gst/gstreamer-sections.txt:
7153           Add gst_registry_add_path to docs.
7154
7155 2007-08-10  Michael Smith <msmith@fluendo.com>
7156
7157         * gst/gstregistry.h:
7158           Add gst_registry_add_path, which was missing from this header.
7159
7160 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7161
7162         * libs/gst/controller/gstlfocontrolsource.c:
7163           Printf format fix.
7164
7165 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7166
7167         * libs/gst/base/gstbasesink.c:
7168           Don't send an async_start message during downwards state change if 
7169           target state is less than READY
7170
7171 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7172
7173         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7174
7175         * po/LINGUAS:
7176         * po/hu.po:
7177           Added Hungarian translation.
7178
7179 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7180
7181         * po/fi.po:
7182         * po/it.po:
7183         * po/nl.po:
7184         * po/sv.po:
7185         * po/uk.po:
7186           Updated translations.
7187
7188 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7189
7190         * libs/gst/controller/Makefile.am:
7191         Dist gstlfocontrolsourceprivate.h
7192
7193 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7194
7195         * docs/libs/gstreamer-libs.types:
7196         Don't register the enum type gst_lfo_waveform_get_type() in the
7197         .types file - only GObject derived types belong.
7198
7199 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7200
7201         Patch by: <arenevier at fdn dot fr>
7202
7203         * gst/gstbuffer.h:
7204         Remove comma from last element in enum to avoid compile errors when
7205         using -pendantic. Fixes #464366.
7206
7207 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7208
7209         * docs/design/part-TODO.txt:
7210         Add some more TODO items
7211
7212         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7213         Improve debugging.
7214
7215         * gst/gstcaps.c: (gst_caps_intersect):
7216         Optimize trivial intersection case between identical caps pointers.
7217
7218         * gst/gstelement.c: (gst_element_continue_state),
7219         (gst_element_set_state_func):
7220         * gst/gstpad.c:
7221         Fix spelling and grammar mistakes.
7222
7223 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7224
7225         * po/POTFILES.in:
7226         * po/POTFILES.skip:
7227           Update POTFILES. Fixes #461599.
7228
7229 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7230
7231         * gst/gst.c:
7232         Fix confusing typo in debug output.
7233
7234 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7235
7236         reviewed by: Stefan Kost <ensonic@users.sf.net>
7237
7238         * libs/gst/controller/Makefile.am:
7239         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7240         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7241         (gst_lfo_control_source_new),
7242         (gst_lfo_control_source_set_waveform),
7243         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7244         (gst_lfo_control_source_finalize),
7245         (gst_lfo_control_source_dispose),
7246         (gst_lfo_control_source_set_property),
7247         (gst_lfo_control_source_get_property),
7248         (gst_lfo_control_source_class_init):
7249         * libs/gst/controller/gstlfocontrolsource.h:
7250         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7251         API: Add GstLFOControlSource, a control source that gives values
7252         for specific timestamps based on several periodic waveforms.
7253         Fixes #459717.
7254
7255         * tests/check/libs/controller.c: (GST_START_TEST),
7256         (gst_controller_suite):
7257         * docs/libs/gstreamer-libs-docs.sgml:
7258         * docs/libs/gstreamer-libs-sections.txt:
7259         * docs/libs/gstreamer-libs.types:
7260         Add documentation and unit tests for GstLFOControlSource.
7261
7262 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7263
7264         * configure.ac:
7265         Back to CVS
7266
7267 === release 0.10.14 ===
7268
7269 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7270
7271         * configure.ac:
7272           releasing 0.10.14, "Breathing Vacuum"
7273
7274 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7275
7276         * gst/gstelement.c: (gst_element_class_set_details_simple):
7277         * gst/gstelement.h:
7278           Make strings passed to gst_element_class_set_details_simple()
7279           constant, as they should be (#462752).
7280
7281 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7282
7283         * gst/gstbin.c: (gst_bin_change_state_func),
7284         (bin_handle_async_done), (gst_bin_handle_message_func):
7285         Don't forget about the fact that some element went ASYNC even after a
7286         resync. This makes us post the ASYNC_DONE message correctly.
7287         Fixes #462558.
7288
7289 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7290
7291         * gst/gstregistry.c: (gst_registry_add_feature):
7292         When replacing an existing feature in the registry, make sure to
7293         continue holding a reference until we've replaced the name string
7294         within our feature hash table. Make sure to use g_hash_table_replace
7295         instead of g_hash_table_insert to ensure the new name string is used
7296         as a key instead of the old one that we're about to free.
7297         Fixes: #462085
7298
7299 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7300
7301         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7302         (gst_plugin_feature_set_name):
7303         Revert patch from #459466 until after the release and we can work
7304         out exactly what the problem is (if any).
7305
7306 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7307
7308         * docs/gst/gstreamer-sections.txt:
7309         * gst/gsttaglist.c:
7310         * gst/gsttaglist.h:
7311           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7312
7313 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7314
7315         * docs/libs/Makefile.am:
7316         Include our build-prefix libs and includes before the generic ones to
7317         avoid linking against the installed libs when we want the build-tree
7318         ones.
7319
7320 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7321
7322         Patch by: Steve Fink  <sphink gmail com>
7323
7324         * docs/pwg/building-testapp.xml:
7325           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7326           if people try to build or install the example from the plugin
7327           template against a GStreamer from package using the configure
7328           defaults.
7329
7330 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7331
7332         Patch by: Steve Fink  <sphink gmail com>
7333
7334         * tools/gst-inspect.1.in:
7335           Document --print-all and --print-plugin-auto-install-info command
7336           line options in man page.
7337
7338 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7339
7340         * docs/gst/gstreamer-sections.txt:
7341         Add docs for new api function.
7342
7343 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7344
7345         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7346         * gst/gstelementfactory.h:
7347         API: gst_element_factory_has_interface()
7348         Added method to check if an element factory implements a named
7349         interface.
7350
7351 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7352
7353         * configure.ac:
7354         * docs/gst/gstreamer.types.in:
7355           Another conditional doc check.
7356
7357         * gst/gstmessage.c:
7358         * gst/gstparamspecs.h:
7359         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7360         * gst/gstvalue.c:
7361         * gst/gstxml.h:
7362           API-doc fixes.
7363
7364 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7365
7366         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7367         (gst_registry_binary_load_feature),
7368         (gst_registry_binary_load_plugin),
7369         (gst_registry_binary_read_cache):
7370           Print error just once and with additional info.
7371
7372 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7373
7374         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7375         (helper_find_suggest), (helper_find_get_length),
7376         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7377         (gst_type_find_helper_for_buffer):
7378           Cleanup the typefindhelper code and add private doc comments.
7379
7380 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7381
7382         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7383         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7384         Fix capsfilter for cases where the caps set on capsfilter will provide
7385         additional information.
7386         Fixes #449197
7387
7388 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7389
7390         * gst/gsttypefindfactory.c:
7391           Fix docs that recommened wrong function to use.
7392
7393 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7394
7395         * tools/gst-inspect.c: (print_plugin_features):
7396           Also give media-type for typefinders in element output.
7397
7398 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7399
7400         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7401         (gst_registry_remove_features_for_plugin_unlocked),
7402         (gst_registry_add_feature), (gst_registry_remove_feature),
7403         (gst_registry_lookup_feature_locked):
7404         * gst/gstregistry.h:
7405           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7406           Fixes #459501.
7407
7408 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7409
7410         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7411         (gst_plugin_feature_set_name):
7412           Avoid double memory usage for pluginfeature names. Fixes #459466.
7413
7414 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7415
7416         * gst/gstpad.h:
7417           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7418           driving the pipeline may need to explicitly check for NOT_LINKED as
7419           well, since IS_FATAL doesn't cover that.
7420
7421 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7422
7423         * docs/pwg/advanced-types.xml:
7424           Fix typo and duplicate entry in video formats list.
7425
7426 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7427
7428         * libs/gst/controller/gstinterpolation.c:
7429         Also round to the nearest int when using cubic interpolation.
7430
7431 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7432
7433         * libs/gst/controller/gstinterpolation.c:
7434         When linearly interpolating integer types, round to the nearest int
7435         by adding 0.5. Don't do it for float/double types.
7436         Fixes the failing controller test on my machine, which is somehow
7437         rounding differently than on the buildbots.
7438
7439 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7440
7441         * tools/gst-plot-timeline.py:
7442           Better log parsing (categories can have -). Adjust text vs. lines, so
7443           that they span the same y-range.        
7444
7445 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7446
7447         * docs/random/ensonic/audiobaseclasses.txt:
7448         * docs/random/ensonic/dynlink.txt:
7449         * docs/random/ensonic/profiling.txt:
7450           Save my thoughts.
7451
7452         * docs/random/moving-plugins:
7453           Add note to use g_assert type macros.
7454
7455 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7456
7457         * configure.ac:
7458         * libs/gst/check/Makefile.am:
7459           Add libm check as we use in for plugins.
7460
7461 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7462
7463         * gst/gstbin.c: (gst_bin_continue_func):
7464         Check that the state_cookie hasn't changed since the continue_func
7465         was scheduled. Avoids problems where the state changes back to
7466         something it shouldn't be because it was changed in the meantime.
7467
7468 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7469
7470         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7471         (gst_registry_binary_save_string),
7472         (gst_registry_binary_save_pad_template),
7473         (gst_registry_binary_save_feature),
7474         (gst_registry_binary_save_plugin),
7475         (gst_registry_binary_load_feature),
7476         (gst_registry_binary_load_plugin),
7477         (gst_registry_binary_read_cache):
7478           Fix memory leak. Be less verbose in the log.
7479
7480 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7481
7482         * tests/check/elements/.cvsignore:
7483         Add file to cvsignore as commanded.
7484
7485 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7486
7487         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7488         (mq_dummypad_event), (run_output_order_test):
7489         Use a GStaticMutex to protect all cases where libcheck
7490         fail_if/fail_unless macros might be called from multiple threads
7491         simultaneously to avoid errors like:
7492           "check_pack.c:107: :-1081725400:Bad message type arg"
7493
7494 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7495
7496         * tests/check/pipelines/stress.c: (GST_START_TEST):
7497         Make sure we set the pipeline back to the NULL state before
7498         dropping our final reference.
7499
7500 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7501
7502         * tests/check/elements/tee.c: (GST_START_TEST):
7503         Make the tee stress-test a little less stressful so it doesn't just
7504         time out on slow-machines, and remove a small race when it's starting 
7505         up by adding a get_state() call.
7506
7507 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7508
7509         * gst/gst.c:
7510           Avoid reading registry twice on startup. Fixes #457322.
7511
7512 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7513
7514         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7515         * pkgconfig/gstreamer-check.pc.in:
7516         Substitute the CFLAGS for libcheck into our .pc file too so that
7517         dependent modules will pick it up properly if libcheck is installed
7518         into some other prefix.
7519
7520 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7521
7522         * configure.ac:
7523         Revert the pkg-config check for libcheck, since it pulls in the
7524         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7525         a proper solution, either from the check project, or something else.
7526
7527 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7528
7529         * configure.ac:
7530           Use pkg-config to locate check.
7531
7532 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7533
7534         * gst/gsttaglist.c:
7535           Fix doc syntax.
7536
7537         * gst/gstutils.c:
7538         * gst/gstutils.h:
7539           Add deprecation guards.
7540
7541         * libs/gst/base/gstcollectpads.h:
7542           Don't document object (this is implicitly private).
7543
7544 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7545
7546         * gst/gststructure.c: (gst_structure_parse_value):
7547           When deserialising foo=bar without a type cast, check if it's a
7548           boolean before falling back to a string type, otherwise things like
7549           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7550           because the filtercaps end up having a signed=(string)true field,
7551           which causes problems later when intersection caps.
7552
7553         * tests/check/gst/gststructure.c: (GST_START_TEST):
7554           Add a unit test for this.
7555
7556 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7557
7558         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7559
7560         * libs/gst/controller/Makefile.am:
7561         * libs/gst/controller/gstcontroller.c:
7562         (gst_controlled_property_add_interpolation_control_source),
7563         (gst_controlled_property_new), (gst_controlled_property_free),
7564         (gst_controller_find_controlled_property),
7565         (gst_controller_new_valist), (gst_controller_new_list),
7566         (gst_controller_new), (gst_controller_remove_properties_valist),
7567         (gst_controller_remove_properties_list),
7568         (gst_controller_remove_properties),
7569         (gst_controller_set_property_disabled),
7570         (gst_controller_set_disabled), (gst_controller_set_control_source),
7571         (gst_controller_get_control_source), (gst_controller_get),
7572         (gst_controller_sync_values), (gst_controller_get_value_array),
7573         (_gst_controller_dispose), (gst_controller_get_type),
7574         (gst_controlled_property_set_interpolation_mode),
7575         (gst_controller_set), (gst_controller_set_from_list),
7576         (gst_controller_unset), (gst_controller_unset_all),
7577         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7578         * libs/gst/controller/gstcontroller.h:
7579         * libs/gst/controller/gstcontrollerprivate.h:
7580         * libs/gst/controller/gstcontrolsource.c:
7581         (gst_control_source_class_init), (gst_control_source_init),
7582         (gst_control_source_get_value),
7583         (gst_control_source_get_value_array), (gst_control_source_bind):
7584         * libs/gst/controller/gstcontrolsource.h:
7585         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7586         (gst_object_get_control_source):
7587         * libs/gst/controller/gstinterpolation.c:
7588         (gst_interpolation_control_source_find_control_point_node),
7589         (gst_interpolation_control_source_get_first_value),
7590         (_interpolate_none_get), (interpolate_none_get),
7591         (interpolate_none_get_boolean_value_array),
7592         (interpolate_none_get_enum_value_array),
7593         (interpolate_none_get_string_value_array),
7594         (_interpolate_trigger_get), (interpolate_trigger_get),
7595         (interpolate_trigger_get_boolean_value_array),
7596         (interpolate_trigger_get_enum_value_array),
7597         (interpolate_trigger_get_string_value_array):
7598         * libs/gst/controller/gstinterpolationcontrolsource.c:
7599         (gst_control_point_free), (gst_interpolation_control_source_reset),
7600         (gst_interpolation_control_source_new),
7601         (gst_interpolation_control_source_set_interpolation_mode),
7602         (gst_interpolation_control_source_bind),
7603         (gst_control_point_compare), (gst_control_point_find),
7604         (gst_interpolation_control_source_set_internal),
7605         (gst_interpolation_control_source_set),
7606         (gst_interpolation_control_source_set_from_list),
7607         (gst_interpolation_control_source_unset),
7608         (gst_interpolation_control_source_unset_all),
7609         (gst_interpolation_control_source_get_all),
7610         (gst_interpolation_control_source_get_count),
7611         (gst_interpolation_control_source_init),
7612         (gst_interpolation_control_source_finalize),
7613         (gst_interpolation_control_source_dispose),
7614         (gst_interpolation_control_source_class_init):
7615         * libs/gst/controller/gstinterpolationcontrolsource.h:
7616         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7617         API: Refactor GstController into the core controller which can take
7618         a GstControlSource for providing actual values for timestamps.
7619         Implement a interpolation control source and use this for backward
7620         compatibility, deprecate a bunch of functions that are now handled
7621         by GstControlSource or GstInterpolationControlSource.
7622         Make it possible to disable the controller completely or only for
7623         specific properties. Fixes #450711.
7624         * docs/libs/gstreamer-libs-docs.sgml:
7625         * docs/libs/gstreamer-libs-sections.txt:
7626         * docs/libs/gstreamer-libs.types:
7627         Add new functions and classes to the docs.
7628         * tests/check/libs/controller.c: (GST_START_TEST),
7629         (gst_controller_suite):
7630         * tests/examples/controller/audio-example.c: (main):
7631         Port unit test and example to the new API and add some new
7632         unit tests.
7633
7634 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7635
7636         Patch by: Mark Nauwelaerts <manauw at skynet be>
7637
7638         * plugins/elements/gstmultiqueue.c:
7639         (gst_multi_queue_get_internal_links), (apply_buffer),
7640         (single_queue_overrun_cb), (gst_single_queue_new):
7641         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7642         the pipeline layout can be tracked correctly. Fixes #453732.
7643
7644 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7645
7646         * docs/gst/Makefile.am:
7647         * docs/libs/Makefile.am:
7648         * docs/plugins/Makefile.am:
7649           Simplify --extra-dir as gtkdoc scans recursively.
7650
7651 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7652
7653         * tools/gst-launch.c: (main):
7654         When we got an error, there is no point in waiting for preroll when
7655         shutting down.
7656
7657 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7658
7659         * plugins/elements/gsttee.c: (gst_tee_base_init),
7660         (gst_tee_request_new_pad), (gst_tee_release_pad),
7661         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7662         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7663         (gst_tee_chain):
7664         Be a lot smarter when deciding what srcpad to use for proxying
7665         the buffer_alloc. Also handle pad added/removed when doing so.
7666         Fixes #357959.
7667         Keep track of what pads we already pushed on in case we have pads
7668         added/removed while pushing. Fixes #374639 
7669
7670         * tests/check/Makefile.am:
7671         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7672         (tee_suite):
7673         Added unit test for pad resync.
7674
7675 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7676
7677         * po/nl.po:
7678         * po/sv.po:
7679           Updated translations.
7680
7681 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7682
7683         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7684
7685         * po/LINGUAS:
7686         * po/fi.po:
7687           Added new Finnish translation.
7688
7689 2007-06-28  Wim Taymans  <wim@fluendo.com>
7690
7691         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7692         (single_queue_overrun_cb):
7693         When figuring out when a queue is filled, use our internal time estimate
7694         based on segments, just like check_full does.
7695
7696 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7697
7698         * gst/gstminiobject.c: (gst_mini_object_get_type):
7699           Remove 3 do-nothing methods.
7700
7701 2007-06-27  Wim Taymans  <wim@fluendo.com>
7702
7703         Patch by: Tim Angus <tim at ngus dot net>
7704
7705         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7706         (gst_capsfilter_set_property):
7707         Take a reference instead of a copy when setting "caps".
7708         Fix documentation to clarify this behaviour. Fixes #449414.
7709
7710 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7711
7712         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7713         * gst/gstplugin.c: (gst_plugin_init):
7714         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7715         * gst/gstquery.c: (gst_query_get_type):
7716         * gst/gstregistry.c: (gst_registry_init):
7717         * gst/gsturi.c: (gst_uri_handler_base_init):
7718           Remove empty instance_init() functions to save relocs and lessen the
7719           noise. Remove some of the function prototypes that are doubled by
7720           G_DEFINE_TYPE.
7721           
7722 2007-06-27  Wim Taymans  <wim@fluendo.com>
7723
7724         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7725
7726         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7727         Add peer and direction in the XML serialisation of ghostpads.
7728         Fixes #449226.
7729
7730 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7731
7732         * configure.ac:
7733           Preserve useful information, thanks Tim.
7734
7735 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7736
7737         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7738         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7739         (gst_single_queue_push_one), (gst_multi_queue_loop),
7740         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7741         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7742         (compute_high_id), (gst_single_queue_new):
7743         * plugins/elements/gstmultiqueue.h:
7744         Take the multiqueue lock when updating the fill level so we don't get
7745         confused. 
7746
7747         After applying a buffer or event on the src pad segment, make sure to
7748         call gst_data_queue_limits_changed() to get the data queue to unblock
7749         and check the filled state again.
7750         
7751         Rework the not-linked pad handling so the logic is that not-linked 
7752         pads can push as fast as they like, but only so they never get 
7753         ahead of any linked pads.
7754
7755         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7756         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7757         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7758
7759         Add a test to check that not-linked pads always stay behind
7760         linked pads.
7761
7762         Fixes: #430682
7763
7764 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7765
7766         * docs/random/release:
7767           Some updates to the release procedure.
7768
7769 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7770
7771         * gst/gstelementfactory.c: (__gst_element_details_clear):
7772           Microoptimization that saves stunning 80 bytes.
7773
7774 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7775
7776         * docs/plugins/gstreamer-plugins.args:
7777         * docs/plugins/inspect/plugin-coreelements.xml:
7778         * docs/plugins/inspect/plugin-coreindexers.xml:
7779           Update docs with caps info.
7780
7781 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7782
7783         * po/it.po:
7784           Updated Italian translation.
7785
7786 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7787
7788         * ChangeLog:
7789         * po/vi.po:
7790           Update Vietnamese translations.
7791
7792 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7793
7794         * libs/gst/base/gstbasesink.c:
7795           Remove unused signal enum.
7796
7797 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7798
7799         * docs/gst/gstreamer-sections.txt:
7800         * gst/gstelement.c:
7801         * gst/gstutils.c: (gst_type_register_static_full):
7802         Beef up and include the docs for gst_type_register_static_full and
7803         gst_element_class_set_details_simple and add the API keyword
7804         in the ChangeLog.
7805
7806 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7807
7808         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7809         (update_time_level), (gst_single_queue_push_one),
7810         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7811         (single_queue_overrun_cb), (single_queue_underrun_cb),
7812         (single_queue_check_full):
7813         Fix setting max-* properties after adding queues.
7814         Use IS_FILLED for checking visible items.
7815         Signal overrun if multiple queues overrun.
7816         Add extra debug output.
7817         Patch by: Wim Taymans <wim@fluendo.com>
7818
7819 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7820
7821         * gst/gstelement.c: (gst_element_class_set_details_simple):
7822         * gst/gstelement.h:
7823         * gst/gstutils.c: (gst_type_register_static_full):
7824         * gst/gstutils.h:
7825         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7826         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7827         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7828         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7829         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7830         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7831         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7832         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7833         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7834         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7835         (apply_buffer), (gst_queue_chain):
7836         * plugins/elements/gsttee.c: (gst_tee_base_init):
7837         * plugins/elements/gsttypefindelement.c:
7838         (gst_type_find_element_base_init),
7839         (gst_type_find_element_class_init):
7840           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7841           API: add gst_type_register_static_full
7842           API: add gst_element_class_set_details_simple
7843
7844 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7845
7846         * docs/pwg/advanced-types.xml:
7847           Fix typo in iana.org URI.
7848
7849 2007-06-19  Andy Wingo  <wingo@pobox.com>
7850
7851         * tests/check/pipelines/simple-launch-lines.c
7852         (test_state_change_returns): Enable pull-mode tests now that
7853         basesink has been fixed.
7854
7855         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7856         Changed from gst_base_sink_is_prerolled, reversing the sense of
7857         the return value. Returns FALSE also if the sink is in pull mode,
7858         in which case it needs no preroll.
7859         (gst_base_sink_query, gst_base_sink_change_state): Update for
7860         needs_preroll change.
7861         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7862         chaining up, in which we return SUCCESS directly if we activated
7863         in pull mode instead of ASYNC. Involves countering an async_start
7864         message sent before chaining up; not sure if this is correct, in
7865         an ideal world we only send async-start when activating in push
7866         mode.
7867
7868         * tests/check/pipelines/simple-launch-lines.c
7869         (test_state_change_returns): New test, partially disabled until
7870         basesink is fixed.
7871
7872 2007-06-19  Wim Taymans  <wim@fluendo.com>
7873
7874         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7875         (gst_multi_queue_sink_event):
7876         Fix event leak.
7877
7878 2007-06-19  Wim Taymans  <wim@fluendo.com>
7879
7880         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7881         (gst_bin_change_state_func), (bin_push_state_continue),
7882         (bin_handle_async_start), (bin_handle_async_done),
7883         (gst_bin_handle_message_func):
7884         Move the common code for posting state-change messages into
7885         one function.
7886         Broadcast the state signal after we posted the messages.
7887         Mark the bin as busy when it's doing a state-change.
7888         Make sure async-start/done messages don't interfere with the bin's
7889         state when it's busy.
7890         After the state change, let the bin check which elements completed the
7891         state change while it was busy so that it can update its state.
7892
7893 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7894
7895         * docs/random/release:
7896         Add a note about updating the doap file to the release checklist
7897
7898 2007-06-18  Wim Taymans  <wim@fluendo.com>
7899
7900         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7901         (gst_single_queue_push_one), (gst_multi_queue_chain),
7902         (gst_multi_queue_sink_event):
7903         Make sure we don't reference the buffer/event after we have given away
7904         ownership in the queue.
7905
7906 2007-06-18  Wim Taymans  <wim@fluendo.com>
7907
7908         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7909         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7910         Update queue state _after_ adding the item in the queue because else we
7911         could end up being full without the element added yet.
7912
7913 2007-06-18  Wim Taymans  <wim@fluendo.com>
7914
7915         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7916         (gst_bin_remove_func), (gst_bin_get_state_func),
7917         (gst_bin_element_set_state), (gst_bin_continue_func),
7918         (bin_push_state_continue), (bin_handle_async_start),
7919         (bin_handle_async_done), (gst_bin_handle_message_func):
7920         * gst/gstbin.h:
7921         Immediatly commit the toplevel bin state when receiving an async-done
7922         message. This enables us to avoid spawning a thread to commit the state
7923         in some common cases and it also avoids some races.
7924         Avoid spawning a state thread when adding/removing async elements to a
7925         toplevel bin. Instead we immediatly update the bin state.
7926         Get rid of iterating all the children when getting the state in the bin
7927         because it is now always up-to-date.
7928         Fix bug where locked elements would always return _SUCCESS even it they
7929         returned NO_PREROLL before being locked.
7930         Fix the order of the state_change, async-start/done messages that was
7931         sometimes incorrect.
7932         Mark the state_dirty field as deprecated, we don't need it anymore as we
7933         are always up-to-date.
7934
7935         * gst/gstelement.c: (gst_element_get_state_func),
7936         (gst_element_continue_state):
7937         Small debug inprovements.
7938         Return the previous element state return when nothing is pending instead
7939         of blindly returning SUCCESS.
7940
7941         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7942         (gst_sinks_suite):
7943         Add a whole bunch of new testcases.
7944
7945 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7946
7947         * po/uk.po:
7948         * po/vi.po:
7949           Update translations.
7950
7951 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7952
7953         * gst/gstpad.c:
7954         Fix typo in the docs.
7955
7956 2007-06-15  Wim Taymans  <wim@fluendo.com>
7957
7958         * docs/libs/gstreamer-libs-sections.txt:
7959         Add docs for new methods.
7960
7961 2007-06-15  Wim Taymans  <wim@fluendo.com>
7962
7963         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7964         (gst_multi_queue_item_new):
7965         Don't use GSlice because we don't depend on >= 2.10 yet.
7966
7967 2007-06-15  Wim Taymans  <wim@fluendo.com>
7968
7969         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7970         (update_time_level), (apply_segment), (apply_buffer),
7971         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7972         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7973         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7974         (single_queue_underrun_cb), (single_queue_check_full):
7975         Remove debug printf.
7976
7977 2007-06-15  Wim Taymans  <wim@fluendo.com>
7978
7979         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7980         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7981         (gst_data_queue_set_flushing), (gst_data_queue_push),
7982         (gst_data_queue_pop), (gst_data_queue_drop_head),
7983         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7984         * libs/gst/base/gstdataqueue.h:
7985         Various cleanups.
7986         Added methods to get the current levels and to inform the queue that the
7987         'full' limits changed.
7988
7989         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7990         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7991         (gst_single_queue_flush), (update_time_level), (apply_segment),
7992         (apply_buffer), (gst_single_queue_push_one),
7993         (gst_multi_queue_item_steal_object),
7994         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7995         (gst_multi_queue_loop), (gst_multi_queue_chain),
7996         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7997         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7998         (gst_multi_queue_src_query), (single_queue_overrun_cb),
7999         (single_queue_underrun_cb), (single_queue_check_full),
8000         (gst_single_queue_new):
8001         Keep track of time in the queue by measuring the difference between
8002         running_time on input and output. This gives more accurate results and
8003         can compensate for segments correctly.
8004         Make a queue by default only 5 buffers deep. We will now increase the
8005         buffer size depending on the filledness of the other queues.
8006         Factor out commong flush code.
8007         Make sure we don't add additional refcounts to buffers when we can avoid
8008         it.
8009         Propagate GstFlowReturn differently.
8010         Use GSlice for intermediate GstMultiQueueItems.
8011         Keep track of EOS.
8012         Resize queues on over and underruns based on filled level of other
8013         queues.
8014         When checking if the queue is filled, prefer to measure in time if we
8015         can and fall back to bytes when no time is known.
8016
8017         * plugins/elements/gstqueue.c:
8018         Fix return value.
8019
8020 2007-06-15  Wim Taymans  <wim@fluendo.com>
8021
8022         * libs/gst/base/gstbasetransform.c:
8023         (gst_base_transform_sink_event):
8024         Work around the brokenness of the event vmethod in basetransform. Prefer
8025         to return TRUE when the subclass returned FALSE (meaning don't forward
8026         the event). 
8027
8028         * libs/gst/base/gstbasetransform.h:
8029         Clarify the docs.
8030
8031 2007-06-15  Wim Taymans  <wim@fluendo.com>
8032
8033         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8034         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8035         (gst_base_src_default_query), (gst_base_src_get_range),
8036         (gst_base_src_start):
8037         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8038         Improve debugging.
8039
8040 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8041
8042         * docs/pwg/advanced-types.xml:
8043           Added more formats to caps table.
8044
8045 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8046
8047         * tools/gst-launch.c: (main):
8048           Remove crufy code. GOption does not need this workaround.
8049
8050 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8051
8052         * libs/gst/controller/gstcontroller.c:
8053         (gst_controlled_property_set_interpolation_mode):
8054           Fix wrong getter for enums in controller.
8055
8056 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8057
8058         * libs/gst/check/gstcheck.c: (gst_check_init):
8059           Intercept criticals and warnings in the Gst-Phonon log domain, so
8060           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8061           well.
8062         
8063 2007-06-14  Edward Hervey  <edward@fluendo.com>
8064
8065         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8066         Since this file doesn't include "gst.h" it will not go through the
8067         macros that disable GST_LOG if debugging was disabled.
8068
8069 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8070
8071         * libs/gst/check/Makefile.am:
8072         * libs/gst/check/gstcheck.h:
8073         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8074         * pkgconfig/gstreamer-check.pc.in:
8075           Ugly 'fix' for the controller unit test on the p5 bot: in
8076           fail_unless_equals_float() check whether the values are 'almost
8077           equal' by allowing a small absolute error, which should be good
8078           enough for our use cases (normal numbers and values close to 0).
8079           Proper fixage left to floating point arithmetic aficionados.
8080
8081 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8082
8083         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8084         (gst_base_sink_render_object), (gst_base_sink_get_position):
8085           Add two breaks thats where missing.
8086
8087 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8088
8089         * docs/libs/gstreamer-libs-sections.txt:
8090         * libs/gst/check/gstcheck.h:
8091           API: add fail_unless_equals_float() and assert_equals_float().
8092           Add documentation for some of the macros.
8093
8094         * tests/check/libs/controller.c: (GST_START_TEST):
8095           Use newly-added asserts.
8096
8097 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8098
8099         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8100           Show the caps change in the log to help spotting the case of not
8101           exactly matching caps.
8102
8103 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8104
8105         * docs/pwg/building-boiler.xml:
8106           Fix typos, spotted by Thijs Vermeir (#447190).
8107
8108 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8109
8110         * docs/plugins/tmpl/.cvsignore:
8111         Ignore file to keep the buildbots happy
8112
8113 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8114
8115         * docs/plugins/Makefile.am:
8116         * docs/plugins/gstreamer-plugins-docs.sgml:
8117         * docs/plugins/gstreamer-plugins-sections.txt:
8118         Pull fdsink into the docs too.
8119
8120 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8121
8122         * libs/gst/controller/gstinterpolation.c:
8123         Actually use the new functions with min/max checks for the trigger and
8124         none interpolation modes for get() and get_value_array() instead of
8125         just the latter.
8126
8127 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8128
8129         * libs/gst/controller/gstcontroller.c:
8130         (gst_controlled_property_free):
8131         Unset the minimum and maximum GValues when freeing the corresponding
8132         GstControllerProperty struct.
8133
8134 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8135
8136         * libs/gst/controller/gstcontroller.c:
8137         (gst_controlled_property_new):
8138         * libs/gst/controller/gstcontrollerprivate.h:
8139         * libs/gst/controller/gstinterpolation.c:
8140         (gst_controlled_property_find_control_point_node),
8141         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8142         (interpolate_none_get_string_value_array),
8143         (interpolate_trigger_get),
8144         (interpolate_trigger_get_enum_value_array),
8145         (interpolate_trigger_get_string_value_array):
8146         Protect against values larger or smaller than the minimum or maximum
8147         allowed value for the property when using values that can be compared.
8148
8149         Optimize trigger interpolator a bit by taking the last requested value
8150         into account instead of always looping through the complete list.
8151
8152         Fix coding style a bit, everywhere else we use "return foo" instead
8153         of "return (foo)".
8154         
8155         * tests/check/libs/controller.c: (GST_START_TEST),
8156         (gst_controller_suite):
8157         Add unit test for the protection against too large or too small
8158         values.
8159
8160 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8161
8162         * docs/random/slomo/controller.txt:
8163         Add some thoughts about the future of the controller.
8164
8165 2007-06-08  Wim Taymans  <wim@fluendo.com>
8166
8167         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8168         Don't overflow in retimestamping code.
8169
8170 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8171
8172         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8173         Use gst_util_guint64_to_gdouble for conversions.
8174         * win32/common/libgstreamer.def:
8175         Add new exported functions.
8176
8177 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8178
8179         * gst/gstutils.c:
8180           Small docs addition.
8181
8182 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8183
8184         * README:
8185           Remove that test line again.
8186
8187 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8188
8189         * README:
8190           Test commit mail sending.
8191
8192 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8193
8194         * configure.ac:
8195           Fix typo and test commit mail sending.
8196
8197 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8198
8199         * tests/examples/controller/audio-example.c:
8200           Improve comment and test commit mail sending.
8201
8202 2007-06-07  Wim Taymans  <wim@fluendo.com>
8203
8204         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8205         (gst_bin_remove_func), (gst_bin_element_set_state),
8206         (bin_handle_async_start), (bin_handle_async_done),
8207         (gst_bin_handle_message_func):
8208         Add helper function to find messages.
8209         Generate the async-done messages together with the state change
8210         messages.
8211         Small cleanups in handling toplevel bins.
8212
8213 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8214
8215         * libs/gst/base/gstdataqueue.c:
8216         * libs/gst/base/gstdataqueue.h:
8217         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8218         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8219         (gst_multi_queue_sink_event):
8220         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8221           Fix multiqueue leaking buffers and events when downstream or the
8222           queue are flushing. Make refcounting assumptions explicit and
8223           document them (shouldn't break existing code that uses it other than
8224           maybe leak miniobjects, but that already happens anyway). Add unit
8225           test for the most common flushing case. Fixes #423700.
8226           
8227 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8228
8229         * libs/gst/controller/gstcontroller.c:
8230         Clarify docs: The get_all, get_value_array(s) functions
8231         don't modify the GObject properties.
8232
8233 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8234
8235         * libs/gst/controller/gstcontroller.c:
8236         (gst_controlled_property_set_interpolation_mode),
8237         (gst_controlled_property_prepend_default),
8238         (gst_controlled_property_new), (gst_controller_set_unlocked),
8239         (gst_controller_set), (gst_controller_set_from_list),
8240         (gst_controller_unset), (gst_controller_unset_all):
8241         * libs/gst/controller/gstcontrollerprivate.h:
8242         * libs/gst/controller/gstinterpolation.c:
8243         Factor out the 'set' logic into gst_controller_set_unlocked for the
8244         gst_controller_set and gst_controller_set_from_list functions.
8245
8246         To make life of the interpolators easier always add a control point
8247         at timestamp zero with the default value.
8248
8249         In the linear interpolator make things more obvious by better variable
8250         naming (slope).
8251
8252         Implement cubic interpolation mode (by using a natural cubic spline)
8253         and map the quadratic interpolation mode to this too (as quadratic
8254         doesn't make much sense, see discussion on the list).
8255
8256         * tests/check/libs/controller.c: (GST_START_TEST),
8257         (gst_controller_suite):
8258         Add unit test for the cubic interpolation mode and check everywhere
8259         if the interpolation mode could be set as expected.
8260
8261 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8262
8263         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8264           Don't use GLib-2.10 functions, we still depend on
8265           GLib-how-old-is-it-again-2.8.
8266
8267 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8268
8269         * docs/gst/gstreamer-sections.txt:
8270         * gst/Makefile.am:
8271         * gst/gst.c:
8272         * gst/gst.h:
8273         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8274         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8275         (_gst_param_fraction_values_cmp),
8276         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8277         * gst/gstparamspecs.h:
8278         * gst/gstvalue.c:
8279         * tests/check/Makefile.am:
8280         * tests/check/gst/.cvsignore:
8281         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8282         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8283         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8284         (GST_START_TEST), (gst_param_spec_suite):
8285           API: add GstParamSpecFraction, so elements can have fraction
8286           properties without lots of painful string parsing (#444648).
8287
8288 2007-06-05  Wim Taymans  <wim@fluendo.com>
8289
8290         * gst/gstobject.c: (gst_object_class_init):
8291         Fix signal signature.
8292
8293         * gst/gstsegment.c:
8294         Add small clarification in the api docs.
8295
8296         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8297         States are protected with object lock.
8298
8299 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8300
8301         * AUTHORS:
8302         I should probably be listed as an author by now.
8303
8304         * docs/random/release:
8305         Update the release doc
8306
8307 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8308
8309         * gst/gstvalue.c:
8310           Make docs for gst_value_compare() mention return enums that
8311           actually exist.
8312
8313 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8314
8315         * configure.ac:
8316           Back to CVS
8317
8318 === release 0.10.13 ===
8319
8320 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8321
8322         * configure.ac:
8323           releasing 0.10.13, "With or without you"
8324
8325 2007-05-25  Wim Taymans  <wim@fluendo.com>
8326
8327         * gst/gstbin.c: (bin_handle_async_done):
8328         Make sure that the child bin stops after completing the async state
8329         change so that the parent can continue the state change to PLAYING.
8330         Fixes #441159.
8331
8332 2007-05-25  Wim Taymans  <wim@fluendo.com>
8333
8334         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8335         (unref_data), (gst_collect_pads_remove_pad),
8336         (gst_collect_pads_check_pads):
8337         Use additional refcounting to avoid crashes when dynamically adding and
8338         removing pads. Fixes #420206.
8339
8340 2007-05-24  Wim Taymans  <wim@fluendo.com>
8341
8342         * tools/gst-launch.c: (event_loop):
8343         When buffering goes from a two digit to a single digit number, make sure
8344         to remove the old second digit by writing a blank over it.
8345
8346 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8347
8348         * libs/gst/base/gstdataqueue.c:
8349           Eliminate tabs and trailing comma in enum list; fix some typos.
8350
8351 2007-05-24  Wim Taymans  <wim@fluendo.com>
8352
8353         * tests/check/gst/gstbin.c: (GST_START_TEST):
8354         Allow refcount of 3 and 4 because some state thread might still be busy
8355         with it.
8356
8357 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8358
8359         * plugins/elements/Makefile.am:
8360         * plugins/elements/gstmultiqueue.h:
8361         * plugins/elements/gstqueue.h:
8362           These are not installed headers, no need for padding.
8363
8364 2007-05-24  Wim Taymans  <wim@fluendo.com>
8365
8366         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8367         (gst_bin_continue_func):
8368         Enable latency for next release.
8369         Restore STATE_LOCK around recalc_state that was left out during the
8370         rewrite and could result in racy behaviour when _get_state and
8371         recalc_state are run concurrently. See #440463.
8372
8373 2007-05-23  Wim Taymans  <wim@fluendo.com>
8374
8375         * tests/check/gst/gstsystemclock.c: (store_callback),
8376         (GST_START_TEST):
8377         Improve test_async_order to also work when both timers are already
8378         expired when we get scheduled to check it.
8379
8380 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8381
8382         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8383         (gst_bin_set_property), (gst_bin_get_property),
8384         (gst_bin_remove_func), (gst_bin_handle_message_func):
8385         * gst/gstbin.h:
8386           'private' is a c++ keyword, let's not use that in header files,
8387           otherwise c++ compilers will throw a tantrum.
8388
8389 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8390
8391         * plugins/elements/gstelements.c:
8392         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8393         (gst_file_sink_get_current_offset):
8394         * plugins/indexers/gstindexers.c: (plugin_init):
8395           Use #ifdef for HAVE_XYZ for consistency.
8396
8397         * tests/check/Makefile.am:
8398         * tests/check/elements/.cvsignore:
8399         * tests/check/elements/filesink.c: (setup_filesink),
8400         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8401           Add some unit tests for filesink.
8402
8403 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8404
8405         Patch by: Mark Nauwelaerts <manauw at skynet be>
8406
8407         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8408         (gst_file_sink_query), (gst_file_sink_do_seek),
8409         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8410         * plugins/elements/gstfilesink.h:
8411           Fix position reporting; rename data_written member to current_pos to
8412           reflect its real meaning (fixes #412648).
8413
8414 2007-05-22  Edward Hervey  <edward@fluendo.com>
8415
8416         * docs/gst/gstreamer-sections.txt:
8417         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8418         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8419         (gst_bin_remove_func), (gst_bin_handle_message_func):
8420         * gst/gstbin.h:
8421         Add a property for bins that handle the state change of their childs.
8422         Fixes #435880
8423
8424 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8425
8426         * libs/gst/controller/gstinterpolation.c:
8427         Use an array of the correct type when using _get_value_array with
8428         linear interpolation.
8429
8430 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8431
8432         * gst/gstelement.c (gst_element_requires_clock,
8433           gst_element_provides_clock, gst_element_request_pad,
8434           gst_element_class_set_details, gst_element_class_set_details_simple,
8435           gst_element_default_send_event, gst_element_abort_state,
8436           gst_element_continue_state, gst_element_set_state,
8437           gst_element_set_state_func, iterator_activate_fold_with_resync):
8438         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8439           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8440           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8441           gst_pad_get_range, gst_pad_pull_range):
8442         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8443           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8444           GstPadActivateModeFunction, GstPadChainFunction,
8445           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8446           GstPadFixateCapsFunction, GstPadTemplate):
8447         * gst/gstpipeline.c (gst_pipeline_change_state,
8448           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8449           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8450           gst_pipeline_get_delay):
8451           Whitespace and docs fixes.
8452
8453 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8454
8455         * libs/gst/controller/gstinterpolation.c:
8456         (interpolate_trigger_get_enum_value_array),
8457         (interpolate_trigger_get_string_value_array):
8458         Add support for retrieving value arrays when using the trigger
8459         interpolation mode. 
8460
8461 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8462
8463         * libs/gst/controller/gstcontroller.c:
8464         (gst_controller_get_value_array):
8465         * libs/gst/controller/gstcontroller.h:
8466         Clarify the docs of gst_controller_get_value_array(): The array where
8467         the values should be written to must be allocated as there seems to be
8468         no way to get the size of a random GType. This doesn't change any
8469         behaviour. Also fix some typos all over the place and remove an unused,
8470         commented function that is not necessary as g_object_set() could be
8471         used instead.
8472         * tests/check/libs/controller.c: (GST_START_TEST),
8473         (gst_controller_suite):
8474         Add unit test for gst_controller_get_value_array().
8475
8476 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8477
8478         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8479
8480         Disable part of the gst_buffer_try_new_and_alloc test, because
8481         it can happily succeed on 64-bit systems where there's more address
8482         space available.
8483
8484 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8485
8486         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8487         Add unit test for the improved caps checking from bug #421543.
8488
8489 2007-05-21  Wim Taymans  <wim@fluendo.com>
8490
8491         * docs/design/part-synchronisation.txt:
8492         Small addition.
8493
8494         * gst/gstbin.c: (gst_bin_query):
8495         * plugins/elements/gstqueue.c: (apply_segment):
8496         Improve debugging.
8497
8498         * gst/gstmessage.h:
8499         Improve docs.
8500
8501 2007-05-21  Wim Taymans  <wim@fluendo.com>
8502
8503         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8504         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8505         (gst_pad_configure_src):
8506         Added simple version of improved caps checking. It was previously
8507         assumed that a setcaps function would check the validity of the caps but
8508         people prefer us to check caps against the template automatically. 
8509         Fixes #421543.
8510
8511 2007-05-21  Wim Taymans  <wim@fluendo.com>
8512
8513         * libs/gst/base/gstbasetransform.h:
8514         Fix macro for locking/unlocking the transform lock.
8515
8516 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8517
8518         * docs/plugins/tmpl/.cvsignore:
8519           Ignore more.
8520
8521 2007-05-18  Edward Hervey  <edward@fluendo.com>
8522
8523         * plugins/elements/gstqueue.c: (gst_queue_loop):
8524         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8525         for the subtle art of warning a potentially blocking thread that it
8526         should check the source pad return value, and relay the information
8527         upstream.
8528
8529 2007-05-18  Edward Hervey  <edward@fluendo.com>
8530
8531         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8532         Release the queue lock !
8533
8534 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8535
8536         * docs/libs/gstreamer-libs-sections.txt:
8537         Add the two new controller functions to the appropiate places.
8538
8539 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8540
8541         reviewed by: Stefan Kost <ensonic@users.sf.net>
8542
8543         * libs/gst/controller/gstcontroller.c:
8544         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8545         (_gst_controller_get_property), (_gst_controller_set_property),
8546         (_gst_controller_init), (_gst_controller_class_init):
8547         * libs/gst/controller/gstcontroller.h:
8548         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8549         (gst_object_get_control_rate), (gst_object_set_control_rate):
8550         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8551         Add API that provides sync suggestion timestamps for elements that
8552         call gst_object_sync_values() from which those elements can subdivide
8553         their processing loop to get the best results for the controlled
8554         properties. For now it just suggests last_sync + control_rate as
8555         new timestamp but this will be improved in the future.
8556
8557         While doing that change the control-rate property to a GstClockTime
8558         from guint and change it's meaning from samples to nanoseconds as
8559         the GstController doesn't know anything about sampling rate. Strictly
8560         speaking this breaks ABI but as the control-rate property didn't do
8561         anything in the past and as such couldn't be used this should be no
8562         problem.        
8563
8564 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8565
8566         reviewed by: Stefan Kost <ensonic@users.sf.net>
8567
8568         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8569         (gst_controller_unset_all):
8570         * libs/gst/controller/gstcontrollerprivate.h:
8571         * libs/gst/controller/gstinterpolation.c:
8572         (gst_controlled_property_find_control_point_node):
8573         Save last synced value from the list to continue searching from there
8574         in future syncs. This speeds everything up a bit.
8575         
8576 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8577
8578         reviewed by: Stefan Kost <ensonic@users.sf.net>
8579
8580         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8581         (gst_control_point_find), (gst_controlled_property_new),
8582         (gst_control_point_free), (gst_controlled_property_free),
8583         (gst_controller_set), (gst_controller_set_from_list),
8584         (gst_controller_unset), (gst_controller_unset_all),
8585         (gst_controller_sync_values):
8586         * libs/gst/controller/gstcontroller.h:
8587         * libs/gst/controller/gstcontrollerprivate.h:
8588         * libs/gst/controller/gstinterpolation.c:
8589         (gst_controlled_property_find_control_point_node),
8590         (interpolate_none_get), (interpolate_trigger_get):
8591         Add a new private GstControlPoint struct which "inherits" from
8592         GstTimedValue to allow different interpolators to store internal
8593         values next to each control point. From the outside everything is
8594         still a GstControlPoint so we don't loose binary compatibility.
8595         Also fixup all the GValue handling to not leak GValues or list nodes.
8596         * tests/check/libs/controller.c: (GST_START_TEST):
8597         Free the list nodes and GValues in the controller_misc test.
8598
8599 2007-05-17  Edward Hervey  <edward@fluendo.com>
8600
8601         * gst/gstsegment.c:
8602         Small doc fix.
8603
8604 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8605
8606         * gst/gstplugin.c: (gst_plugin_load_file):
8607           If we fail to load a plugin because of unresolved symbols or missing
8608           libraries and spew a warning to stderr, we may just as well mention
8609           which plugin it was that failed to load.
8610
8611 2007-05-13  David Schleef  <ds@schleef.org>
8612
8613         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8614           handles the case when ENABLE_GTK_DOC is false, and installs
8615           the prebuilt documentation.  So gtk-doc subdirs are 
8616           unconditionally enabled.  Fixes: #349099.
8617
8618 2007-05-13  David Schleef  <ds@schleef.org>
8619
8620         * gst/gstutils.h: Reword some documentation.
8621
8622 2007-05-12  David Schleef  <ds@schleef.org>
8623
8624         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8625           do anything with the passed "module" parameter, so remove it.
8626           Allows removal of additional vestigal code.
8627
8628 2007-05-12  David Schleef  <ds@schleef.org>
8629
8630         * gst/gstplugin.c:
8631           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8632           Switch to using g_stat() because it's more portable.
8633
8634 2007-05-12  David Schleef  <ds@schleef.org>
8635
8636         * gst/gst.c:
8637           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8638           parsing for embedded systems.
8639         * gst/gstelementfactory.c:
8640           Allow gst_element_register() to be called with plugin==NULL.
8641           Did nobody notice that static elements were broken?
8642
8643 2007-05-12  Wim Taymans  <wim@fluendo.com>
8644
8645         * tools/gst-launch.c: (event_loop):
8646         Give more interesting info when buffering starts and stops.
8647         Fix case where buffering starts but we fail to update the buffering flag
8648         because the target state is not PLAYING.
8649
8650 2007-05-12  Wim Taymans  <wim@fluendo.com>
8651
8652         * plugins/elements/gstqueue.c: (gst_queue_init),
8653         (gst_queue_finalize), (update_time_level), (apply_segment),
8654         (apply_buffer), (gst_queue_locked_flush),
8655         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8656         (gst_queue_handle_sink_event), (gst_queue_chain),
8657         (gst_queue_push_one), (gst_queue_loop):
8658         * plugins/elements/gstqueue.h:
8659         Refactor an cleanup queue a bit.
8660         Do better time level calculations that also work when the srcpad is not
8661         yet running.
8662         Remove some unneeded debug lines.
8663
8664         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8665         Added testcase for time level measurement.
8666         Try to make some stuff more racefree.
8667
8668 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8669
8670         * gst/gsturi.c: (gst_element_make_from_uri):
8671           Don't leak plugin feature.
8672
8673         * tests/check/Makefile.am:
8674         * tests/check/gst/.cvsignore:
8675         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8676           Add brain-dead unit test.
8677
8678 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8679
8680         Patch by: Jeroen Wouters <woutersj at gmail com>
8681
8682         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8683           Treat protocol strings in a case-insensitive way (#437563).
8684
8685 2007-05-11  Michael Smith <msmith@fluendo.com>
8686
8687         * gst/gstplugin.c: (gst_plugin_load_file):
8688         * gst/gstregistry.c: (gst_registry_scan_path_level):
8689           Don't print a g_warning for any failure to load a shared object.
8690           Instead, push this down into gstplugin.c, and warn _only_ if we
8691           failed to open the module (i.e. failure to link).
8692           Avoids warnings on normal, working, non-plugin .so files.
8693
8694 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8695
8696         * gst/gstplugin.c (gst_plugin_load_file):
8697         * gst/gstregistry.c (GST_CAT_DEFAULT,
8698           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8699           Print a g_warning if there was an error when loading a plugins during
8700           registry scan. The shuld help beginners starting with gst-plugin
8701           template.
8702
8703 2007-05-10  Wim Taymans  <wim@fluendo.com>
8704
8705         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8706         (update_time_level), (gst_queue_locked_flush),
8707         (gst_queue_handle_sink_event), (gst_queue_chain),
8708         (gst_queue_push_one), (gst_queue_loop):
8709         * plugins/elements/gstqueue.h:
8710         Be smarter when calculating the current amount of data in the queue by
8711         measuring the difference between start and end timestamps (in running
8712         time) inside the queue. Fixes #432876.
8713         API: GstQueue::pushing to notify elements that we are pushing data again
8714         since the running signal is rather broken for this purpose.
8715
8716 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8717
8718         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8719           gst_queue_base_init, gst_queue_init):
8720           use GST_BOILERPLATE
8721
8722 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8723
8724         * win32/common/libgstreamer.def:
8725         Add new exported functions.
8726         * win32/vs6/grammar.dsp:
8727         Use grammar pre-generated files.
8728
8729 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8730
8731         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8732
8733         * gst/Makefile.am:
8734         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8735         * gst/gstparse.h:
8736         * gst/gstutils.c: (gst_parse_bin_from_description):
8737         * gst/gstutils.h:
8738           Maintain API and ABI when --disable-parse is used. Now that
8739           we have an appropriate error code, we can just return NULL and the
8740           appropriate error when gst_parse_launch() is used despite it having
8741           been disabled (#342564).
8742
8743         * tests/check/Makefile.am:
8744         * tests/check/pipelines/.cvsignore:
8745         * tests/check/pipelines/parse-disabled.c:
8746           Make sure these functions exist and return NULL plus a GError when
8747           --disable-parse is used.
8748
8749 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8750
8751         * tests/benchmarks/complexity.c: (main):
8752         * tests/benchmarks/mass-elements.c: (main):
8753           Set a good example and don't leak messages.
8754
8755 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8756
8757         * docs/gst/Makefile.am:
8758         * docs/libs/Makefile.am:
8759           Correct fixxrefs options.
8760
8761         * docs/plugins/Makefile.am:
8762         * docs/plugins/gstreamer-plugins-docs.sgml:
8763         * docs/plugins/gstreamer-plugins-sections.txt:
8764         * plugins/elements/Makefile.am:
8765         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8766         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8767           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8768           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8769           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8770           _GstCapsFilterClass, trans_class):
8771         * plugins/elements/gstelements.c (name, rank, type, _elements):
8772         * plugins/elements/gstidentity.c
8773           (gst_identity_check_imperfect_timestamp,
8774           gst_identity_check_imperfect_offset):
8775           Document capsfilter and add doc-blurb to identity.
8776
8777 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8778
8779         * libs/gst/controller/gstcontroller.c:
8780         (gst_controlled_property_set_interpolation_mode):
8781         * libs/gst/controller/gstinterpolation.c:
8782           Don't crash if someone tries to set an interpolation mode that
8783           is invalid or that isn't supported yet. Fixes #422295.
8784
8785         * tests/check/libs/controller.c: (GST_START_TEST),
8786         (gst_controller_suite):
8787           Add a test case for the above.
8788
8789 2007-05-03  Edward Hervey  <edward@fluendo.com>
8790
8791         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8792         Properly set the last_stop position on GstSegment. This will only happen
8793         if there is a buffer to push out.
8794
8795 2007-05-03  Wim Taymans  <wim@fluendo.com>
8796
8797         * libs/gst/base/gstbasetransform.c:
8798         (gst_base_transform_buffer_alloc):
8799         always_in_place does not mean that the sink and source caps are the
8800         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8801
8802 2007-05-03  Wim Taymans  <wim@fluendo.com>
8803
8804         * docs/libs/gstreamer-libs-sections.txt:
8805         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8806         (gst_base_src_default_query), (gst_base_src_get_range):
8807         * libs/gst/base/gstbasesrc.h:
8808         API: gst_base_src_query_latency(). Added method so that subclasses can
8809         easily get the latency values of the base source class.
8810
8811 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8812
8813         * tools/gst-inspect.c (print_implementation_info):
8814         Remove 0.8 cruft.
8815
8816 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8817
8818         * tools/Makefile.am:
8819         * tools/gst-launch.1.in:
8820           Don't create a customised man page based on the host architecture,
8821           describe the default registry path generically. That way the man
8822           page is the same for all architectures and packagers have one
8823           multilib issue less to deal with. Fixes #434926.
8824
8825 2007-05-02  Wim Taymans  <wim@fluendo.com>
8826
8827         * gst/gstpad.c:
8828         Fix documentation as spotted by rg on IRC. 
8829
8830 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8831
8832         * gst/gstutils.c:
8833           Improve docs for gst_element_{link,unlink}.
8834
8835 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8836
8837         * docs/design/part-events.txt:
8838         * docs/design/part-overview.txt:
8839         * gst/gstevent.c:
8840         * gst/gsturi.c:
8841         * gst/gsturi.h:
8842         * libs/gst/base/gstbasesink.c:
8843           Typo fixes; minor docs addition.
8844
8845 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8846
8847         * docs/gst/gstreamer-sections.txt:
8848         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8849         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8850         * gst/gsturi.h:
8851         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8852         or src that supports a given URI protocol exists.
8853
8854 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8855
8856         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8857         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8858         Set the location to NULL if "file://" is set as URI. Otherwise
8859         some random previous URI would still be set if "file://" is
8860         set on an already used filesink/filesrc.
8861
8862 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8863
8864         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8865         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8866         Special case the "file://" URI as as this is used by some
8867         applications to test with gst_element_make_from_uri if there's
8868         an element that supports the URI protocol.
8869         Also move the g_path_is_absolute() check for the location part
8870         of the URI to also check this for "file://localhost/bla" URIs.
8871
8872 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8873
8874         * docs/gst/gstreamer-sections.txt:
8875         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8876         * gst/gstbuffer.h:
8877         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8878         (gst_buffer_suite):
8879           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8880
8881 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8882
8883         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8884         (gst_registry_binary_load_pad_template),
8885         (gst_registry_binary_load_plugin),
8886         (gst_registry_binary_read_cache):
8887         * gst/gstregistrybinary.h:
8888           Implement no-mmap alternative for registry reading. Do code cleanups.
8889           Add more comments about avoiding strdups for all text data. Comments
8890           welcome.
8891
8892 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8893
8894         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8895           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8896           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8897           Comment structs and reformat to fix the build (that stuff should go
8898           into a priv. header).
8899
8900 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8901
8902         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8903         (gst_registry_binary_load_feature):
8904         * gst/gstregistrybinary.h:
8905           Refactor so that we can implement multiple features. Add support for
8906           TypeFindFactory features.
8907
8908 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8909
8910         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8911
8912         * configure.ac:
8913           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8914
8915 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8916
8917         * gst/gstbin.c: (gst_bin_element_set_state),
8918         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8919         (bin_handle_async_done), (gst_bin_handle_message_func):
8920           Fix build with --gst-disable-gst-debug
8921
8922 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8923
8924         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8925           Make sure streaming has finished before calling the ::stop() vfunc,
8926           since that vfunc might clear state which is being used in the
8927           streaming thread. This fixes a race that caused crashes in
8928           audioresample when shutting down a pipeline (#420106).
8929
8930 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8931
8932         * docs/gst/gstreamer-sections.txt:
8933           That was one byte missing.
8934
8935 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8936
8937         * configure.ac:
8938         * docs/gst/gstreamer-sections.txt:
8939         * gst/Makefile.am:
8940         * gst/gstconfig.h.in:
8941         * gst/gstobject.c: (gst_object_class_init),
8942         (gst_signal_object_class_init):
8943         * gst/gstobject.h:
8944           2nd attempt to have a xml-less build as a joined effort of #413123
8945           and #421480.
8946
8947 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8948
8949         * docs/design/draft-tagreading.txt:
8950           Added open issues/thoughts to draft.
8951
8952 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8953
8954         * gst/parse/grammar.tab.pre.c:
8955         * gst/parse/grammar.tab.pre.h:
8956         * gst/parse/lex._gst_parse_yy.pre.c:
8957         Update the prebuild parser sources.
8958
8959 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8960
8961         * gst/parse/Makefile.am:
8962         And now fix the building of the flex sources. Now everything should
8963         work as expected.
8964
8965 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8966
8967         * gst/parse/Makefile.am:
8968         Now hopefully fix the build failures by setting proper rule
8969         dependencies and moving instead of copying.
8970
8971 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8972
8973         * tests/benchmarks/complexity.gnuplot:
8974         * tests/benchmarks/complexity.scm:
8975         * tests/benchmarks/mass-elements.gnuplot:
8976         * tests/benchmarks/mass-elements.scm:
8977           Total licensification.
8978
8979 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8980
8981         * gst/parse/Makefile.am:
8982           Fix the build by correcting the rule that gave wrong files to flex.
8983
8984 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8985
8986         * tests/benchmarks/complexity.c:
8987         * tests/benchmarks/mass-elements.c:
8988           Change licence to LGPL as granted by Benjamin and Andy.
8989
8990 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8991
8992         * gst/parse/Makefile.am:
8993         Add correct grammar.tab.h dependency if compiling without new enough
8994         flex. Fixes #431150.
8995
8996 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
8997
8998         * gst/parse/Makefile.am:
8999         Fix typo and use outdated sources if the flex/bison sources are newer
9000         than the pregenerated ones but flex is too old. Print a warning in
9001         that case. This should fix the build on the build bot.
9002
9003 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9004
9005         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9006         * gst/parse/Makefile.am:
9007         * gst/parse/grammar.y:
9008         * gst/parse/parse.l:
9009         Make the parser reentrant and recursively callable. This requires flex
9010         >= 2.5.31, for older versions pregenerated sources are used as we
9011         can't bump the build dependency. Finally fixes #349180.
9012
9013         * gst/gstparse.c: (gst_parse_launch):
9014         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9015         now anyway.
9016
9017         * docs/gst/Makefile.am:
9018         * docs/gst/Makefile.am:
9019         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9020         (__gst_parse_strfree), (__gst_parse_link_new),
9021         (__gst_parse_link_free), (__gst_parse_chain_new),
9022         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9023         (gst_parse_element_set), (gst_parse_free_link),
9024         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9025         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9026         (_gst_parse_launch):
9027         * gst/parse/grammar.tab.pre.h:
9028         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9029         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9030         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9031         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9032         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9033         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9034         (_gst_parse_yypop_buffer_state),
9035         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9036         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9037         (yy_fatal_error), (_gst_parse_yyget_extra),
9038         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9039         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9040         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9041         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9042         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9043         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9044         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9045         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9046         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9047         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9048         (_gst_parse_yyfree):
9049         If the installed flex version is too old use pre-generated parser
9050         sources. These pre-generated parser sources are always updated when
9051         the actual flex/bison sources change but require everybody who wants
9052         to change something in the parser to have flex >= 2.5.31 installed.
9053
9054 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9055
9056         * common/m4/gst-gettext.m4:
9057         * gst/gst-i18n-lib.h:
9058           Make --disable-nls to work
9059
9060 2007-04-17  Wim Taymans  <wim@fluendo.com>
9061
9062         * gst/gstconfig.h.in:
9063         Revert previous change that broke the build.
9064
9065 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9066
9067         * configure.ac:
9068         * gst/Makefile.am:
9069         * gst/gstconfig.h.in:
9070           Drop libxml2 dependency when building with 
9071           --enable-binary-registry --disable-loadsave
9072
9073 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9074
9075         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9076         (gst_registry_binary_read_cache):
9077         * gst/gstregistrybinary.h:
9078           Remove unnecessary <sys/mman.h> include which broke the win32 build
9079           with MingW; move includes from header file to .c file, even if the
9080           header file isn't installed; use g_strerror() where UTF-8 strings
9081           are expected, such as in GST_DEBUG messages.
9082
9083 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9084
9085         * docs/libs/gstreamer-libs-sections.txt:
9086         Remove bogus addition for API I didn't end up keeping.
9087
9088         * libs/gst/base/gstbasesrc.h:
9089         Mention Since: 0.10.13 in the documentation.
9090
9091         Add the API keyword to the previous ChangeLog entry.
9092
9093 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9094
9095         * docs/libs/gstreamer-libs-sections.txt:
9096         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9097         (gst_base_src_default_prepare_seek_segment),
9098         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9099         * libs/gst/base/gstbasesrc.h:
9100         Allow basesrc derived classes to execute seeks in other formats
9101         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9102         to prepare the GstSegment in any format that their perform_seek method
9103         will be able to understand. The default implementation provides the
9104         old behaviour of attempting to convert the seek offsets to the 
9105         configured native format.
9106
9107         API: basesrc::prepare_seek_segment vmethod.
9108
9109 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9110
9111         * gst/gstelement.c: (gst_element_get_state_func):
9112         Don't output the same debug statement twice.
9113
9114         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9115         (gst_adapter_peek), (gst_adapter_take_buffer):
9116         Optimise the case where we have buffers at the head of the queue that
9117         can be joined quickly (because they're contiguous sub-buffers) by
9118         merging them together rather than copying data out into new memory.
9119
9120         * gst/parse/grammar.y:
9121         * tests/check/pipelines/parse-launch.c:
9122         Fix a leak in an error path for parse_launch, and add a check 
9123         for it to the testsuite.
9124
9125 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9126
9127         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9128           Don't deadlock when releasing a pad - gst_pad_set_active may try
9129           and take the multiqueue lock too.
9130
9131 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9132
9133         * gst/gsterror.c: (_gst_core_errors_init):
9134         * gst/gsterror.h:
9135           API: add GST_CORE_ERROR_DISABLED (#392804).
9136
9137 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9138
9139         * docs/faq/gst-uninstalled:
9140           don't get empty paths on the PATH variables
9141         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9142           Don't format for the uncommon terminal width of 84 characters.
9143
9144 2007-04-06  Wim Taymans  <wim@fluendo.com>
9145
9146         * gst/gstpipeline.c: (reset_stream_time),
9147         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9148         Only try to select a different pipeline clock when we went back to
9149         PAUSED and not when we merely got flushed.
9150
9151 2007-04-05  Michael Smith  <msmith@fluendo.com>
9152
9153         * tools/gst-launch.1.in:
9154           fractions are better supported in gstreamer than ractions, so
9155           suggest using those.
9156
9157 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9158
9159         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9160
9161         * po/LINGUAS:
9162         * po/da.po:
9163           Added Danish translation.
9164
9165 2007-04-05  Wim Taymans  <wim@fluendo.com>
9166
9167         * libs/gst/base/gstbasesink.c:
9168         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9169         Fix leak caused when refusing newsegment after EOS.
9170
9171         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9172         (gst_fake_sink_init), (gst_fake_sink_set_property),
9173         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9174         (gst_fake_sink_render), (gst_fake_sink_change_state):
9175         * plugins/elements/gstfakesink.h:
9176         Add num-buffers property to make the element generate EOS after a
9177         configurable amount of buffers.
9178         API: fakesink::num-buffers property.
9179
9180         * tests/check/elements/fakesink.c: (GST_START_TEST),
9181         (fakesink_suite):
9182         Fix GstBus leak in test.
9183         Test for fakesink num-buffers.
9184
9185 2007-04-05  Wim Taymans  <wim@fluendo.com>
9186
9187         * libs/gst/base/gstbasesink.c:
9188         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9189         (gst_base_sink_change_state):
9190         Don't accept anything after an EOS, return UNEXPECTED instead.
9191
9192         * tests/check/elements/fakesink.c: (GST_START_TEST),
9193         (fakesink_suite):
9194         Unit test for new EOS behaviour.
9195
9196 2007-04-05  Wim Taymans  <wim@fluendo.com>
9197
9198         * gst/gstelement.c: (gst_element_get_request_pad):
9199         Make padtemplates also work when they don't contain %s or %d.
9200
9201 2007-04-05  Wim Taymans  <wim@fluendo.com>
9202
9203         * docs/gst/gstreamer-sections.txt:
9204         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9205         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9206         * gst/gstclock.h:
9207         Improve _adjust_unlocked() so that it overflows less.
9208         Add gst_clock_unadjust_unlocked to convert from external time to
9209         internal time based on calibration.
9210         Add some more debug.
9211         API: GstClock::gst_clock_unadjust_unlocked()
9212
9213 2007-04-03  Wim Taymans  <wim@fluendo.com>
9214
9215         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9216
9217         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9218         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9219         when releasing sink pad. Fixes #425400.
9220
9221 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9222
9223         * docs/random/ensonic/dynlink.txt:
9224           More work on proposal for new core api.
9225
9226         * docs/libs/gstreamer-libs-sections.txt:
9227         * libs/gst/base/gstbasetransform.h:
9228           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9229           
9230         * libs/gst/controller/gstcontroller.c:
9231         (on_object_controlled_property_changed),
9232         (gst_controller_sync_values),
9233         (gst_controller_set_interpolation_mode):
9234         * libs/gst/controller/gstcontroller.h:
9235           Less verbose logging add docs for unimplemented parts and correctly
9236           return when using unavailable parts.
9237
9238 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9239
9240         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9241         Move all the debug to the CLOCK category, and associate it with
9242         the clock object.
9243
9244 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9245
9246         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9247         Make take_buffer a bit quicker by removing redundant checks
9248         caused by calling gst_adapter_take.
9249
9250 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9251
9252         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9253           Don't leak GCond.
9254
9255         * tests/check/Makefile.am:
9256         * tests/check/elements/.cvsignore:
9257         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9258         (GST_START_TEST), (multiqueue_suite):
9259           Add some dead simple unit tests for the 'multiqueue' element
9260           (some bits don't work yet and are disabled for now).
9261
9262 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9263
9264         * gst/gstelement.c: (gst_element_get_request_pad),
9265         (gst_element_class_get_request_pad_template):
9266           Make gst_element_get_request_pad() create request pads only for
9267           request pad templates and not for, say, sometimes pad templates.
9268
9269 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9270
9271         * docs/design/draft-klass.txt:
9272           Add example that needs more thinking.
9273         
9274         * docs/design/draft-missing-plugins.txt:
9275           More thoughts about wrapper plugins.
9276         
9277         * docs/random/ensonic/embedded.txt:
9278         * docs/random/ensonic/profiling.txt:
9279           More design work.
9280
9281 2007-03-25  Wim Taymans  <wim@fluendo.com>
9282
9283         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9284         (gst_base_src_loop):
9285         Only push the segment events in the PLAYING state for live sources.
9286
9287 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9288
9289         * gst/gstpipeline.c: (gst_pipeline_change_state):
9290         Modify the clock distribution path in PAUSED->PLAYING so that we 
9291         never attempt to choose a new clock unless we're actually leaving
9292         the PAUSED state for the first time. This prevents choosing a
9293         different clock when the state_change gets called for a 2nd time due
9294         to some element doing an async state change.
9295
9296 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9297
9298         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9299         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9300         (gst_pad_chain_unchecked), (gst_pad_push):
9301         Revert last commit. This needs some more thoughts.
9302
9303 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9304
9305         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9306         (gst_pad_chain_unchecked), (gst_pad_push):
9307         Check in set_caps if the caps are compatible with the pad and remove
9308         two functions that are redundant now. Fixes #421543.
9309
9310 2007-03-22  Wim Taymans  <wim@fluendo.com>
9311
9312         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9313         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9314         Unref some more to make valgrind happy.
9315
9316 2007-03-22  Wim Taymans  <wim@fluendo.com>
9317
9318         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9319         (gst_system_clock_id_wait_jitter),
9320         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9321         Fix anoying regression that survived a few releases. When adding an
9322         async entry while blocking on a sync entry, the sync entry will unblock
9323         but still be busy, so it should continue to wait instead of returning
9324         _BUSY to the app.
9325         Add some comments here and there.
9326
9327         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9328         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9329         Add testcase for this.
9330
9331 2007-03-22  Wim Taymans  <wim@fluendo.com>
9332
9333         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9334         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9335         WRONG_STATE and can silently pause the task. All other cases should
9336         error out.
9337
9338 2007-03-22  Wim Taymans  <wim@fluendo.com>
9339
9340         Patch by: Ville Syrjala <syrjala at sci dot fi>
9341
9342         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9343         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9344         Improve debugging.
9345
9346 2007-03-21  Michael Smith  <msmith@fluendo.com>
9347
9348         * docs/pwg/advanced-types.xml:
9349           Fix some errors in the typefinding docs pointed out on irc.
9350
9351 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9352
9353         * libs/gst/base/gstbasesrc.c:
9354         Clarify FIXME comment in the face of having added unlock_stop()
9355
9356 2007-03-21  Wim Taymans  <wim@fluendo.com>
9357
9358         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9359         Prepare for release where we warn against possible app breakage in the
9360         case of live pipelines along with an env var to enable/disable live
9361         preroll mode (GST_COMPAT=[no-]live-preroll).
9362
9363 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9364
9365         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9366         So we should use correct constants for checking for None offset.
9367
9368 2007-03-20  Wim Taymans  <wim@fluendo.com>
9369
9370         * docs/design/part-block.txt:
9371         Mention the fact that the newly switched element should be set to at
9372         least PAUSED.
9373
9374 2007-03-20  Wim Taymans  <wim@fluendo.com>
9375
9376         * gst/gst.c:
9377         Fix compilation with registry disabled as spotted by Saur.
9378
9379 2007-03-20  Wim Taymans  <wim@fluendo.com>
9380
9381         Patch by: Olivier Crete <tester at tester dot ca>
9382
9383         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9384         Look at the pending state too when syncing the element state to the
9385         parent. Fixes #420133.
9386
9387 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9388
9389         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9390         (gst_base_sink_change_state):
9391         * libs/gst/base/gstbasesink.h:
9392         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9393         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9394         (gst_base_src_deactivate):
9395         * libs/gst/base/gstbasesrc.h:
9396         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9397         for sub-classes to correctly clear any state they set trying to
9398         unlock, such as clearing out unlock commands from a command fd.
9399         API: basesrc::unlock_stop
9400         API: basesink::unlock_stop
9401
9402         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9403         (gst_fd_sink_render), (gst_fd_sink_unlock),
9404         (gst_fd_sink_unlock_stop):
9405         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9406         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9407         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9408
9409         Implement unlock_stop in fdsrc and fdsink.
9410         Implement seeking in fdsrc when a seekable fd is passed, as in
9411         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9412
9413 2007-03-19  Wim Taymans  <wim@fluendo.com>
9414
9415         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9416
9417         * gst/gstelement.c: (gst_element_class_init):
9418         Fix pad-added and pad-removed signal signatures so that the pad type is
9419         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9420
9421 2007-03-19  Wim Taymans  <wim@fluendo.com>
9422
9423         * docs/gst/gstreamer-sections.txt:
9424         Add new element field and method.
9425
9426         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9427         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9428         (gst_bin_recalc_state), (gst_bin_get_state_func),
9429         (gst_bin_element_set_state), (gst_bin_change_state_func),
9430         (gst_bin_continue_func), (bin_bus_handler),
9431         (bin_push_state_continue), (bin_handle_async_start),
9432         (bin_handle_async_done), (gst_bin_handle_message_func):
9433         Make async state changes a bit smarter by using new ASYNC_START and
9434         ASYNC_DONE messages. This reduces the number of times we run the state
9435         recalculation thread.
9436         Don't change state of element with a pending ASYNC_START message.
9437         Deprecate STATE_DIRTY messages.
9438         
9439         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9440         (gst_element_get_state_func), (gst_element_continue_state),
9441         (gst_element_lost_state), (gst_element_set_state_func),
9442         (gst_element_change_state):
9443         * gst/gstelement.h:
9444         Keep the state that was last set by the app in a new element field.
9445         Don't allow state changes when handling an element event.
9446         Post ASYNC_START and ASYNC_DONE messages.
9447         Change lost_state so that we go to PAUSED and wait for the parent to set
9448         us to PLAYING again (so latency calculation can be performed)
9449         Export gst_element_change_state() method so that subclasses can use it.
9450         API: gst_element_change_state()
9451         API: GST_STATE_TARGET
9452
9453         * gst/gstpipeline.c: (gst_pipeline_class_init),
9454         (reset_stream_time), (gst_pipeline_change_state),
9455         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9456         Using the new ASYNC_START message we can reset the base_time when
9457         needed. This can then be used to implement base_time redistribution in
9458         flushing seeks so that we can remove the explicit seek handling.
9459         Perform latency query and configuration when going to PLAYING.
9460
9461         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9462         (gst_base_sink_query), (gst_base_sink_change_state):
9463         Post new ASYNC_START/ASYNC_DONE messages.
9464
9465         * tests/check/generic/sinks.c: (GST_START_TEST):
9466         Fix test because the bin will not set the async element to PLAYING right
9467         away.
9468
9469         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9470         Make the message check a little stronger.
9471         Handle ASYNC messages.
9472
9473         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9474         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9475         Expect ASYNC_DONE messages.
9476
9477 2007-03-19  Wim Taymans  <wim@fluendo.com>
9478
9479         * docs/gst/gstreamer-sections.txt:
9480         * gst/gstmessage.c: (gst_message_new_async_start),
9481         (gst_message_new_async_done), (gst_message_parse_info),
9482         (gst_message_parse_async_start):
9483         * gst/gstmessage.h:
9484         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9485         support.
9486
9487 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9488
9489         * tools/gst-inspect.c:
9490         (print_plugin_automatic_install_info_codecs):
9491           Now that we don't check for the 'Codec' keyword any longer in the
9492           klass, we shouldn't spew a warning if the klass isn't a decoder or
9493           encoder (since it might be a Source/Network, for example).
9494
9495 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9496
9497         * tools/gst-inspect.c:
9498         (print_plugin_automatic_install_info_codecs):
9499           Don't require decoder/demuxer/depayloader elements or
9500           encoder/muxer/paylader elements to have 'Codec' as part of their
9501           factory class string when introspecting a plugin's capabilities.
9502           draft-klass.txt mentions that it might be removed in future, and
9503           flump3dec doesn't have it as part of its class string, so chances
9504           are others might also not have it.
9505
9506 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9507
9508         * po/af.po:
9509         * po/az.po:
9510         * po/bg.po:
9511         * po/ca.po:
9512         * po/cs.po:
9513         * po/de.po:
9514         * po/en_GB.po:
9515         * po/fr.po:
9516         * po/it.po:
9517         * po/nb.po:
9518         * po/nl.po:
9519         * po/ru.po:
9520         * po/sq.po:
9521         * po/sr.po:
9522         * po/sv.po:
9523         * po/tr.po:
9524         * po/uk.po:
9525         * po/vi.po:
9526         * po/zh_CN.po:
9527         * po/zh_TW.po:
9528           Update translations from translation project
9529
9530 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9531
9532         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9533         (gst_child_proxy_set_property):
9534           Invert precondition check to be alike the ones in the mimiced gobject
9535           api.
9536
9537 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9538
9539         * docs/design/draft-tagreading.txt:
9540         * docs/random/ensonic/audiobaseclasses.txt:
9541           Do some Architect work.
9542
9543         * gst/gstobject.c: (gst_object_set_name):
9544           Add a WARNING.
9545
9546         * gst/gstpad.c:
9547           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9548
9549 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9550
9551         * gst/gstsystemclock.c: (gst_system_clock_init),
9552         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9553         Defer starting the async system clock thread until the first async
9554         wait is scheduled. Fixes #414986.
9555
9556 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9557
9558         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9559         (gst_single_queue_free):
9560           Fix small leak (free GstSingleQueue structure too, not only contents).
9561
9562 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9563
9564         * gst/gstbin.c:(gst_bin_add):
9565         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9566         * win32/common/libgstbase.def:
9567         * win32/common/libgstreamer.def:
9568         Add new exported functions.
9569
9570 2007-03-09  Wim Taymans  <wim@fluendo.com>
9571
9572         * docs/plugins/gstreamer-plugins-sections.txt:
9573         Fix GstTee docs.
9574
9575 2007-03-09  Wim Taymans  <wim@fluendo.com>
9576
9577         * docs/gst/gstreamer-sections.txt:
9578         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9579         * gst/gstbuffer.h:
9580         Add metadata copy functions. Fixes #393099.
9581         API: gst_buffer_copy_metadata()
9582
9583         * gst/gstutils.c: (gst_buffer_stamp):
9584         * libs/gst/base/gstbasetransform.c:
9585         (gst_base_transform_prepare_output_buffer):
9586         Use new metadata copy functions.
9587
9588 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9589
9590         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9591         (gst_identity_init), (gst_identity_check_perfect),
9592         (gst_identity_check_imperfect_timestamp),
9593         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9594         (gst_identity_set_property), (gst_identity_get_property):
9595         * plugins/elements/gstidentity.h:
9596         Separate out check-imperfect-timestamp and check-imperfect-offset.
9597         Put back check-perfect as it was to keep compatibility.
9598
9599 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9600
9601         * gst/gstelement.c: (gst_element_dispose):
9602         There's no need to warn if VOID_PENDING is not NONE here, as
9603         long as the state is NULL it's ok, and that's checked immediately
9604         above.
9605
9606 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9607
9608         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9609         Fix check for perfect stream to ignore buffers with -1 
9610         offsets/offset ends when checking data contiguity.
9611
9612 2007-03-08  Wim Taymans  <wim@fluendo.com>
9613
9614         * tools/gst-launch.c: (event_loop):
9615         Print INFO messages.
9616
9617 2007-03-08  Wim Taymans  <wim@fluendo.com>
9618
9619         * libs/gst/base/gstbasetransform.c:
9620         (gst_base_transform_sink_eventfunc),
9621         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9622         (gst_base_transform_activate):
9623         * libs/gst/base/gstbasetransform.h:
9624         Add support for dropping buffers with custom GstFlowReturn.
9625         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9626         buffers or dropped buffers.
9627
9628         * docs/libs/gstreamer-libs-sections.txt:
9629         docs for new custom return code.
9630
9631         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9632         Use drop support in base class to implement drop-probability.
9633
9634 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9635
9636         * gst/gst.c: (load_plugin_func):
9637         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9638         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9639         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9640           Remove newlines at end of debug log strings.
9641
9642 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9643
9644         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9645         Only post bus message at max, once per buffer received.
9646
9647 2007-03-07  Wim Taymans  <wim@fluendo.com>
9648
9649         * docs/design/Makefile.am:
9650         * docs/design/part-synchronisation.txt:
9651         Add doc about synchronisation
9652
9653         * docs/design/draft-latency.txt:
9654         * docs/design/part-TODO.txt:
9655         * docs/design/part-clocks.txt:
9656         * docs/design/part-events.txt:
9657         * docs/design/part-gstbus.txt:
9658         * docs/design/part-gstpipeline.txt:
9659         * docs/design/part-live-source.txt:
9660         * docs/design/part-messages.txt:
9661         * docs/design/part-overview.txt:
9662         * docs/design/part-streams.txt:
9663         * docs/design/part-trickmodes.txt:
9664         Documentation updates.
9665
9666 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9667
9668         * gstreamer.doap:
9669         Update the doap file.
9670
9671 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9672
9673         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9674         Rename non-perfect to imperfect for Mike and for the sanctity of the
9675         language.
9676         Also make sure bus message gets emitted for data-incontiguities.
9677
9678 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9679
9680         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9681         (gst_identity_start):
9682         * plugins/elements/gstidentity.h:
9683         Emit bus message if check-perfect is true and we encounter a
9684         non-perfect stream between 2 consecutive buffers.
9685         Fixes #415394.
9686
9687 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9688
9689         * configure.ac:
9690         Back to CVS
9691
9692 === release 0.10.12 ===
9693
9694 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9695
9696         * configure.ac:
9697           releasing 0.10.12, "Inevitable Demise"
9698
9699 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9700
9701         * configure.ac:
9702          Version 0.10.11.2 (0.10.12 pre-release)
9703          Bump libtool versioning.
9704
9705 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9706
9707         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9708           Log flow-names and not numbers.
9709
9710 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9711
9712         * configure.ac:
9713           Convert to new AG_GST style.
9714
9715 2007-02-28  Wim Taymans  <wim@fluendo.com>
9716
9717         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9718         Don't unref query twice.
9719
9720 2007-02-28  Wim Taymans  <wim@fluendo.com>
9721
9722         * gst/gstvalue.c: (gst_value_transform_object_string),
9723         (_gst_value_initialize):
9724         Implement GstObject -> string transform so we print object names
9725         when serializing GValues containing GstObjects.
9726
9727 2007-02-28  Wim Taymans  <wim@fluendo.com>
9728
9729         * docs/gst/gstreamer-sections.txt:
9730         Add new stuff to docs.
9731
9732 2007-02-28  Wim Taymans  <wim@fluendo.com>
9733
9734         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9735         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9736         (gst_base_sink_change_state):
9737         Improve latency query code.
9738         Don't leak latency events.
9739
9740         * tests/check/gst/gstbin.c: (GST_START_TEST):
9741         Improve debugging.
9742
9743 2007-02-28  Wim Taymans  <wim@fluendo.com>
9744
9745         * gst/gstelement.c: (gst_element_message_full),
9746         (gst_element_get_state_func):
9747         * gst/gstelement.h:
9748         Improve docs a little. Added Since: for new macro.
9749
9750         * gst/gstobject.c: (gst_object_sink):
9751         * gst/gstpipeline.c: (gst_pipeline_change_state),
9752         (gst_pipeline_set_new_stream_time):
9753         * gst/gstpipeline.h:
9754         Improve debugging and docs.
9755
9756         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9757         Improve debugging.
9758
9759 2007-02-28  Wim Taymans  <wim@fluendo.com>
9760
9761         * gst/gstelement.c: (gst_element_message_full),
9762         (gst_element_set_locked_state), (gst_element_get_state_func),
9763         (gst_element_change_state):
9764         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9765         Documentation updates.
9766         Small code cleanups.
9767
9768         * gst/gstmessage.c: (gst_message_new_info),
9769         (gst_message_parse_info):
9770         * gst/gstmessage.h:
9771         API: gst_message_new_info()
9772         API: gst_message_parse_info()
9773         Add INFO message create and parse code.
9774
9775 2007-02-28  Wim Taymans  <wim@fluendo.com>
9776
9777         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9778         (bin_query_latency_done):
9779         Also report the live parameter of a latency query.
9780
9781 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9782
9783         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9784           Copy the current generic/states example from -base and adapt so
9785           we can use the exact same code everywhere.
9786           Check a STATES_IGNORE_ELEMENTS env var which can be used
9787           to ignore certain element factories for this test, which is
9788           what is being done in -base
9789         * tests/check/Makefile.am:
9790           Mention this environment variable.
9791
9792 2007-02-27  Wim Taymans  <wim@fluendo.com>
9793
9794         * docs/gst/gstreamer-sections.txt:
9795         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9796         (gst_bus_timed_pop), (gst_bus_pop):
9797         * gst/gstbus.h:
9798         API: gst_bus_timed_pop()
9799         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9800         message to arrive on the bus.
9801
9802         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9803         (gst_bus_suite):
9804         Two unit tests for new _timed_pop() function.
9805
9806 2007-02-23  Wim Taymans  <wim@fluendo.com>
9807
9808         * gst/gstpipeline.c: (gst_pipeline_change_state),
9809         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9810         Don't ref a NULL clock in _provide_clock_func().
9811         Don't allow an INVALID delay.
9812         Don't try to calculate base_time with an invalid start_time.
9813         Also distribute and notify a NULL clock when it was selected.
9814
9815         * tools/gst-launch.c: (event_loop):
9816         Don't crash when a NULL clock was selected in the pipeline.
9817
9818 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9819
9820         * docs/design/Makefile.am:
9821         * docs/design/draft-missing-plugins.txt:
9822         * docs/random/draft-missing-plugins.txt:
9823           Some small updates: update plugin system identifier prefix
9824           ('gstreamer.net' to 'gstreamer'), mention our new install
9825           API in libgstbaseutils rather than libgimme-codec, add
9826           reference to the online docs.
9827
9828 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9829
9830         * win32/common/config.h:
9831           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9832           use moap cl ci to only check in what is mentioned in the ChangeLog.
9833
9834 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9835
9836         * docs/gst/gstreamer-sections.txt:
9837         * gst/gstelement.h:
9838           Fix up documentation to link to the correct GstGError section.
9839           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9840
9841 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9842
9843         * tools/gst-launch.c: (event_loop):
9844           Make sure that we actually show the important message part of a
9845           warning message.
9846           No need to check if the gerror is not NULL to free; first of all
9847           g_free accepts NULL; and second the default error handler would
9848           segfault if gerror was NULL.
9849
9850 2007-02-21  Wim Taymans  <wim@fluendo.com>
9851
9852         * docs/gst/gstreamer-sections.txt:
9853         Removed docs as well.
9854
9855 2007-02-21  Wim Taymans  <wim@fluendo.com>
9856
9857         * gst/gstmessage.c: (gst_message_parse_duration):
9858         * gst/gstmessage.h:
9859         Remove new messages for release.
9860
9861 2007-02-20  Wim Taymans  <wim@fluendo.com>
9862
9863         * docs/design/part-gstghostpad.txt:
9864         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9865         (gst_ghost_pad_new_full):
9866         Make the ghostpad a parent of the internal pad again for better backward
9867         compatibility. Don't write code that relies on this however.
9868
9869         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9870         (gst_pad_link_check_hierarchy):
9871         Require that parents should be GstElements in the hierarchy check.
9872
9873 2007-02-20  Wim Taymans  <wim@fluendo.com>
9874
9875         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9876         (gst_bin_change_state_func), (bin_query_min_max_init),
9877         (bin_query_latency_fold), (bin_query_latency_done),
9878         (gst_bin_query):
9879         Improve debug info.
9880         Implement latency query.
9881
9882 2007-02-20  Wim Taymans  <wim@fluendo.com>
9883
9884         * docs/design/part-gstghostpad.txt:
9885         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9886         (gst_ghost_pad_internal_do_activate_push),
9887         (gst_ghost_pad_internal_do_activate_pull),
9888         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9889         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9890         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9891         Do not set the internal pad as a parent anymore so we can avoid
9892         hierarchy linking errors when the ghostpad has no parent yet. This also
9893         fixes failed activation because of unlinked internal pads, which in
9894         turn fixes the impossible case where you have to activate a pad before
9895         you can add it to a running element.
9896         Also fix the docs.
9897
9898         * gst/gstpad.c: (pre_activate), (post_activate),
9899         (gst_pad_set_active), (gst_pad_activate_pull),
9900         (gst_pad_activate_push), (gst_pad_check_pull_range):
9901         Add some more debug info.
9902         Mark activation mode in pre_activate so that we don't try to activate in
9903         endless loops. Fixes #385084.
9904
9905 2007-02-19  Wim Taymans  <wim@fluendo.com>
9906
9907         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9908         (gst_base_transform_check_get_range):
9909         Implement a checkgetrange function instead of relying on the default
9910         core behaviour that assumes we can operate in pull mode if we have a
9911         getrange function. First step at fixing #385084.
9912
9913 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9914
9915         * gst/gstchildproxy.h:
9916         * libs/gst/base/gstbasesink.h:
9917         * libs/gst/base/gstbasesrc.h:
9918         * libs/gst/base/gstbasetransform.h:
9919         More docs coverage and some ChangeLog surgery (add missing names)
9920
9921 2007-02-15  Wim Taymans  <wim@fluendo.com>
9922
9923         * docs/design/part-TODO.txt:
9924         * docs/design/part-activation.txt:
9925         * docs/design/part-block.txt:
9926         * docs/design/part-buffering.txt:
9927         * docs/design/part-clocks.txt:
9928         * docs/design/part-element-source.txt:
9929         * docs/design/part-events.txt:
9930         * docs/design/part-gstbin.txt:
9931         * docs/design/part-gstbus.txt:
9932         * docs/design/part-gstpipeline.txt:
9933         * docs/design/part-live-source.txt:
9934         * docs/design/part-messages.txt:
9935         * docs/design/part-overview.txt:
9936         * docs/design/part-qos.txt:
9937         * docs/design/part-query.txt:
9938         * docs/design/part-states.txt:
9939         * docs/design/part-trickmodes.txt:
9940         Some doc updates. Start renaming from stream_time to running_time where
9941         it was used wrongly.
9942
9943 2007-02-15  Wim Taymans  <wim@fluendo.com>
9944
9945         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9946         Answer LATENCY query.
9947
9948 2007-02-15  Wim Taymans  <wim@fluendo.com>
9949
9950         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9951         (GST_START_TEST):
9952         Improve debugging.
9953
9954 2007-02-15  Wim Taymans  <wim@fluendo.com>
9955
9956         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9957         (gst_pad_dispatcher):
9958         Improve debugging of default pad dispatcher and query functions.
9959
9960 2007-02-15  Wim Taymans  <wim@fluendo.com>
9961
9962         * docs/gst/gstreamer-sections.txt:
9963         Remove old unused method.
9964
9965 2007-02-13  Wim Taymans  <wim@fluendo.com>
9966
9967         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9968         Fix check
9969
9970 2007-02-13  Wim Taymans  <wim@fluendo.com>
9971
9972         * docs/design/part-seeking.txt:
9973         Some small update.
9974
9975         * gst/gstsegment.c: (gst_segment_set_seek):
9976         Revert old bogus change that should make seeking work again.
9977
9978 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9979
9980         * docs/random/ensonic/dynlink.txt:
9981         * docs/random/ensonic/interfaces.txt:
9982         * docs/random/ensonic/receipies.txt:
9983           Possible dynamic reconnection api, plus some type fixes the other two
9984           docs.
9985
9986 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
9987
9988         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9989         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9990         Also check for an absolute path following file:// in the filesrc
9991         element. Remove redundant check and call g_path_is_absolute() on the
9992         unescaped location.
9993
9994 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
9995
9996         * docs/design/draft-klass.txt:
9997           Add existing category analysis.
9998           
9999         * gst/gstcaps.c:
10000           Fix doc example, framerate is a fraction.
10001
10002 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10003
10004         * configure.ac:
10005         * docs/gst/Makefile.am:
10006         * docs/gst/gstreamer-sections.txt:
10007         * docs/libs/Makefile.am:
10008           Erm, forgot a bunch of --extra-dir.
10009
10010 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10011
10012         * configure.ac:
10013         * docs/gst/Makefile.am:
10014         * docs/libs/Makefile.am:
10015         * docs/plugins/Makefile.am:
10016           Add crossreferences to glib/gobject docs.
10017
10018 2007-02-12  Wim Taymans  <wim@fluendo.com>
10019
10020         * docs/design/draft-latency.txt:
10021         Small update.
10022
10023         * docs/libs/gstreamer-libs-sections.txt:
10024         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10025         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10026         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10027         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10028         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10029         (gst_base_sink_get_position), (gst_base_sink_query),
10030         (gst_base_sink_change_state):
10031         * libs/gst/base/gstbasesink.h:
10032         API: gst_base_sink_query_latency() to let subclasses query the upstream
10033         latency.
10034         API: gst_base_sink_get_latency() to let subclasses query the configured
10035         latency in the sink.
10036         Implement query and set latency.
10037         Update some docs.
10038         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10039         don't continue preroll when we are flushing. Fixes #405284.
10040
10041         * tests/check/pipelines/stress.c: (change_state_timeout),
10042         (quit_timeout), (GST_START_TEST), (stress_suite):
10043         Test for #405284.
10044
10045 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10046
10047         Patch by: René Stadler <mail at renestadler de>
10048
10049         * docs/gst/gstreamer-sections.txt:
10050         * gst/gsttaglist.c: (_gst_tag_initialize):
10051         * gst/gsttaglist.h:
10052           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10053
10054 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10055
10056         * docs/libs/Makefile.am:
10057           Fix path to core docs.
10058
10059         * gst/gstbin.c: (gst_bin_get_by_interface),
10060         (gst_bin_iterate_all_by_interface):
10061           Refix docs by also renaming 'interface' to 'iface' in implementation.
10062
10063         * docs/gst/gstreamer-sections.txt:
10064         * gst/gstcaps.c:
10065         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10066         * gst/gstchildproxy.h:
10067         * gst/gstelementfactory.c:
10068         * gst/gstpadtemplate.h:
10069         * libs/gst/controller/gstcontroller.c:
10070         (gst_controlled_property_new):
10071           Document more.
10072
10073 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10074
10075         * gst/gstbin.h:(gst_bin_get_by_interface),
10076         (gst_bin_iterate_all_by_interface):
10077         Replace interface parameter name by iface as interface is 
10078         a reserved keyword in Visual Studio for C++ projects so it removes
10079         a build error for application developpers using VS.
10080         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10081         Fix a bug on Windows in uri format check. Now the prefix checked
10082         is file:// and next we check if the path after file:// is absolute.
10083         * win32/common/libgstbase.def:
10084         * win32/common/libgstdataprotocol.def:
10085         * win32/common/libgstgstreamer.def:
10086         Add new exported functions.
10087
10088 2007-02-09  Andy Wingo  <wingo@pobox.com>
10089
10090         * tests/check/pipelines/simple-launch-lines.c
10091         (simple_launch_lines_suite, test_tee): Disable tee test until I
10092         have time to fix it :-(
10093
10094         * tests/check/Makefile.am (noinst_HEADERS): 
10095         * tests/check/libs/libsabi.c: 
10096         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10097         * tests/check/gst/gstabi.c: 
10098         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10099
10100         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10101         tests for push and pull tee behavior.
10102
10103         * plugins/elements/gsttee.h: 
10104         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10105         mark as deprecated as well as unimplemented. It was a crack idea.
10106         Add support for tee operating in pull mode, off by default.
10107
10108         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10109         normal-case logs down to LOG, raise errors to WARNING.
10110         (gst_registry_xml_read_cache): Don't log before calling a function
10111         that logs.
10112
10113         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10114         exit (registry finalize).
10115         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10116         DEBUG log when we emit signals that people don't even have the
10117         chance to connect to.
10118         (gst_registry_scan_path_level): Less logging in the normal case.
10119
10120 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10121
10122         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10123
10124         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10125         Correctly generate EOS for non-seekable files. We don't have a total
10126         length for them and would get an unexpected end of file if we only
10127         special-cased for regular files. (Fixes: #404569)
10128
10129 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10130
10131         * tests/check/elements/filesrc.c: (GST_START_TEST),
10132         (filesrc_suite):
10133         Add unit test for the GstURIHandler interface in filesrc. This also
10134         tests the newly added file://localhost/foo/bar support.
10135
10136 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10137
10138         * gst/gstelementfactory.h:
10139           The klass string is not a hierarchy. Add reference to the design doc
10140           for more information and common types.
10141
10142 2007-02-02  Wim Taymans  <wim@fluendo.com>
10143
10144         * gst/gstquery.c: (gst_query_new_latency):
10145         Remove old structure field.
10146
10147 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10148
10149         * tools/gst-launch.1.in:
10150           Give example for network streaming (#351998)
10151
10152 2007-02-02  Wim Taymans  <wim@fluendo.com>
10153
10154         * docs/gst/gstreamer-sections.txt:
10155         Add docs for new methods.
10156
10157         * gst/gstevent.c: (gst_event_new_latency),
10158         (gst_event_parse_latency):
10159         * gst/gstevent.h:
10160         Add new LATENCY event to configure latency in a pipeline.
10161         API: gst_event_new_latency
10162         API: gst_event_parse_latency
10163
10164         * gst/gstmessage.c: (gst_message_new_buffering),
10165         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10166         (gst_message_new_latency), (gst_message_parse_buffering),
10167         (gst_message_parse_lost_preroll):
10168         * gst/gstmessage.h:
10169         Added messages used in draft-latency.
10170         API: gst_message_new_lost_preroll
10171         API: gst_message_parse_lost_preroll
10172         API: gst_message_new_prerolled
10173         API: gst_message_new_latency
10174
10175         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10176         (gst_query_parse_latency):
10177         * gst/gstquery.h:
10178         Implemented new latency query as in design doc.
10179         API: gst_query_new_latency
10180         API: gst_query_set_latency
10181         API: gst_query_parse_latency
10182
10183 2007-02-02  Wim Taymans  <wim@fluendo.com>
10184
10185         * docs/design/draft-latency.txt:
10186         Slight redesign to allow for dynamic latency adjustments.
10187
10188         * docs/design/part-negotiation.txt:
10189         Fix some typos.
10190
10191 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10192
10193         reviewed by: Wim Taymans <wim@fluendo.com>
10194
10195         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10196         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10197         Allow file://localhost/foo/bar URLs and correctly fail for every other
10198         hostname that one sets. This was gnomevfssrc is linked for those if
10199         installed as it can handle it (#403172)
10200
10201 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10202
10203         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10204
10205         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10206         (unref_data), (gst_collect_pads_add_pad_full):
10207         * libs/gst/base/gstcollectpads.h:
10208         Don't put the previously added destroy notify in the GstCollectData
10209         struct as all it's padding is already used and we don't want to break
10210         ABI. Instead put in the pad's GObject data for now. This should be
10211         cleaned up for 0.11 (#402393).
10212
10213 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10214
10215         reviewed by: Wim Taymans <wim@fluendo.com>
10216
10217         * docs/libs/gstreamer-libs-sections.txt:
10218         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10219         (unref_data), (gst_collect_pads_add_pad),
10220         (gst_collect_pads_add_pad_full):
10221         * libs/gst/base/gstcollectpads.h:
10222         API: Add function to specify a destroy notification for custom
10223         GstCollectData when adding new pads in GstCollectPads (#402393).
10224
10225 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10226
10227         * po/sv.po:
10228           Update Swedish translation (#378255).
10229
10230 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10231
10232         * docs/design/draft-klass.txt:
10233           Fix the previous change, this is a list of categories and not a hierarchy.
10234
10235 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10236
10237         * docs/design/draft-klass.txt:
10238           Add info about how to get a list of used classes.
10239
10240 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10241
10242         * plugins/elements/gsttypefindelement.c:
10243         (gst_type_find_element_chain_do_typefinding),
10244         (gst_type_find_element_change_state):
10245           Don't leak found caps in chain function (no idea why that never
10246           showed up as a leak anywhere).
10247
10248 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10249
10250         * gst/gstplugin.h:
10251           Fix and expand GstPluginDesc API docs.
10252
10253 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10254
10255         * gst/gstcaps.c:
10256         * gst/gstelementfactory.c:
10257         * gst/gstpadtemplate.h:
10258           api doc fixes
10259
10260         * libs/gst/controller/gstcontroller.c:
10261         (gst_controlled_property_new):
10262         * tests/examples/controller/audio-example.c:
10263           comment fixes
10264
10265 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10266
10267         * configure.ac:
10268           comment about refining the xml deps
10269
10270         * docs/manuals.mak:
10271           comments about moving away from jade for docs
10272         
10273         * gst/gst.c:
10274           recommit the ifdefs to use the binary registry
10275         
10276         * gst/gstbin.c: (gst_bin_change_state_func):
10277           this break is obsolete
10278
10279         * gst/gstelementfactory.h:
10280           better GST_ELEMENT_DETAILS docs, add comment about translation
10281
10282         * gst/gstinfo.h:
10283           remove eol slash
10284
10285         * gst/gstobject.c: (gst_signal_object_get_type):
10286           add G_UNLIKELY as usual
10287
10288         * gst/gstpad.c: (gst_pad_event_default):
10289           add fall trhu comment
10290
10291         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10292         (gst_registry_binary_initialize_magic),
10293         (gst_registry_binary_save_string),
10294         (gst_registry_binary_save_pad_template),
10295         (gst_registry_binary_save_feature),
10296         (gst_registry_binary_save_plugin),
10297         (gst_registry_binary_write_cache),
10298         (gst_registry_binary_check_magic),
10299         (gst_registry_binary_load_pad_template),
10300         (gst_registry_binary_load_feature),
10301         (gst_registry_binary_load_plugin),
10302         (gst_registry_binary_read_cache):
10303           comment typo and formatting
10304
10305         * gst/gstutils.c: (gst_element_state_get_name),
10306         (gst_element_state_change_return_get_name):
10307           remove obsolete breaks
10308
10309         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10310           add FIXME 0.11 and remove cpp comment
10311
10312 2007-01-29  Edward Hervey  <edward@fluendo.com>
10313
10314         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10315         Fix print statement in an even more portable way.
10316
10317 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10318
10319         * docs/gst/gstreamer-sections.txt:
10320         * gst/gstutils.h:
10321           API: add GST_ROUND_DOWN_* macros (#401781).
10322
10323 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10324
10325         * docs/gst/gstreamer.types.in:
10326         * gst/gstregistry.c: (gst_registry_class_init):
10327           Document registry signals and make gtk-doc pick them up (#401381).
10328
10329 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10330
10331         * docs/pwg/building-testapp.xml:
10332           Add some audioconverts and audioresample to the pipeline, and some
10333           more comments and error handling.
10334
10335 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10336
10337         * docs/manual/manual.xml:
10338         * docs/pwg/pwg.xml:
10339           Fix typo (#400987).
10340
10341 2007-01-26  Wim Taymans  <wim@fluendo.com>
10342
10343         * gst/gstcaps.c: (gst_static_caps_get):
10344         Init caps flags too.
10345
10346 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10347
10348         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10349
10350         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10351         If not using mmap'ed files try to seek to the end instead of the
10352         start to determine whether we can seek at all. This fixes the case
10353         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10354         seeks for everything afterwards fail. Fixes #400656
10355
10356 2007-01-25  Wim Taymans  <wim@fluendo.com>
10357
10358         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10359         Add some refcount debugging.
10360         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10361         in multiple streaming threads.
10362
10363 2007-01-25  Wim Taymans  <wim@fluendo.com>
10364
10365         Patch by: David Schleef <ds at schleef dot org>
10366
10367         * docs/libs/gstreamer-libs-sections.txt:
10368         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10369         * libs/gst/base/gstadapter.h:
10370         API: gst_adapter_copy() that can reduce the amount of memcpy when
10371         getting data from the adapter. Fixes #388201.
10372
10373 2007-01-25  Edward Hervey  <edward@fluendo.com>
10374
10375         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10376         In print statements, "%x" is for guint. Fixes build on macosx.
10377
10378 2007-01-24  Edward Hervey  <edward@fluendo.com>
10379
10380         * plugins/elements/gstmultiqueue.c:
10381         (gst_multi_queue_loop):
10382         Small fix.
10383         (single_queue_overrun_cb), (single_queue_underrun_cb),
10384         (single_queue_check_full), (gst_single_queue_new):
10385         Implement single queue growth system.
10386         This uses the extra-size properties, and will grow single queues by
10387         that much if one goes full whereas there are others empty. This is
10388         called extra-mode in the code.
10389         When a single queue's levels go back below the initial max-size
10390         limits, it is no longer in extra-mode. This is to ensure we don't
10391         consume too much memory.
10392         Fixes #399875
10393
10394 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10395
10396         * gst/gst.c: (gst_init_get_option_group):
10397           Make warning about late g_thread_init() calls a bit more explicit,
10398           so that it's more obvious to application developers what they need
10399           to do if a user files a bug against their application.
10400
10401 2007-01-22  Edward Hervey  <edward@fluendo.com>
10402
10403         * plugins/elements/gstmultiqueue.c:
10404         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10405         Remove previous hack of unsetting the flushing flag for the source pad
10406         instead of activating it. Instead, fix the source pad activate function
10407         so that it no longer depends on having a parent set or not.
10408
10409 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10410
10411         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10412
10413         * docs/manual/basics-bus.xml:
10414           Fix example code, gst_element_unref() doesn't exist any longer.
10415
10416 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10417
10418         Patch by: Mark Nauwelaerts <manauw at skynet be>
10419
10420         * gst/gstpad.c:
10421           Fix two docs typoes (#399094).
10422
10423 2007-01-19  Edward Hervey  <edward@fluendo.com>
10424
10425         * docs/faq/gst-uninstalled:
10426         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10427         depending on libgstbaseutils can work in uninstalled environment.
10428
10429 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10430
10431         * gst/gsttaglist.h:
10432         * gst/gsttagsetter.c:
10433         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10434         statement for new tag.
10435
10436 2007-01-17  Edward Hervey  <edward@fluendo.com>
10437
10438         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10439         When dynamically creating single queues, activate sinkpad before adding
10440         it.
10441         We should be doing the same thing for the source pad, but we can't
10442         since it would call a method which needs the parent to be set in order
10443         to work propertly. Instead of activating the source pad, we just unset
10444         the flushing flag, which is the minimal requirement for adding a pad
10445         to an element in a state greater than READY.
10446
10447 2007-01-17  Edward Hervey  <edward@fluendo.com>
10448
10449         * docs/faq/gst-uninstalled:
10450         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10451         Mac OS X.
10452
10453 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10454
10455         * tests/check/gst/gstabi.c:
10456         * tests/check/gst/struct_hppa.h:
10457         * tests/check/libs/libsabi.c:
10458         * tests/check/libs/struct_hppa.h:
10459           Add ABI structs for HPPA (see #393796).
10460
10461 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10462
10463         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10464           Actually write ABI structs to the file specified in the GST_ABI
10465           environment variable, as the message we print claims we would.
10466
10467 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10468
10469         * tests/check/gst/gsttask.c:
10470           Fix header comment.
10471
10472 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10473
10474         * gst/gsttaglist.c: (_gst_tag_initialize):
10475           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10476           previous two entries.
10477
10478 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10479
10480         * docs/gst/gstreamer-sections.txt:
10481         * gst/gsttaglist.c: (_gst_tag_initialize):
10482         * gst/gsttaglist.h:
10483           Add tag support for beat-per-minute.
10484
10485 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10486
10487         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10488         (gst_registry_binary_initialize_magic),
10489         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10490         (gst_registry_binary_save_pad_template),
10491         (gst_registry_binary_save_feature),
10492         (gst_registry_binary_save_plugin),
10493         (gst_registry_binary_write_cache),
10494         (gst_registry_binary_check_magic),
10495         (gst_registry_binary_load_pad_template),
10496         (gst_registry_binary_load_feature),
10497         (gst_registry_binary_load_plugin),
10498         (gst_registry_binary_read_cache):
10499         * gst/gstregistrybinary.h:
10500           Use glib types, cleanup comments, impement interfaces and uri-types.
10501
10502 2007-01-13  Andy Wingo  <wingo@pobox.com>
10503
10504         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10505         getrange() to return buffers with other caps, while we fix
10506         demuxers and typefind, or otherwise change part-negotiation.txt.
10507
10508 2007-01-12  Andy Wingo  <wingo@pobox.com>
10509
10510         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10511         Factor start/stop into this private function instead of partially
10512         in activate functions and partially in the change_state function.
10513         Fixes setup before the element has changed from READY->PAUSED, as
10514         is the case in pull-mode pipelines.
10515         (gst_base_transform_sink_activate_push)
10516         (gst_base_transform_src_activate_pull): Refactor to use
10517         gst_base_transform_activate().
10518         (gst_base_transform_change_state): Removed, not needed any more.
10519
10520         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10521         Truncate before fixating.
10522         
10523         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10524         Don't set_caps() if the result of fixating is ANY, as it's not
10525         supported, and not necessary in the case of a link with no
10526         template caps on either side. Fixes tests/check/libs/basesrc in
10527         some pull-mode tests.
10528
10529         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10530         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10531         (gst_base_transform_src_activate_pull): 
10532         Track the activation mode.
10533         (gst_base_transform_setcaps): In pull mode, when activating the
10534         src pad, after activating the sink pad, activate the sink pad's
10535         peer, as discussed in part-negotiation.txt.
10536
10537         * libs/gst/base/gstbasesrc.h: 
10538         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10539         vmethod, as in basesink.
10540
10541         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10542
10543         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10544         mode, first proxy the setcaps to the peer pad.
10545         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10546         new fixate vmethod.
10547         (gst_base_sink_default_activate_pull): Rename from
10548         gst_base_sink_activate_pull.
10549         (gst_base_sink_negotiate_pull): New function, performs negotiation
10550         in pull mode before calling ::activate_pull().
10551         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10552         vmethod instead of the default implementation. I have no idea how
10553         this worked before. Negotiate before calling activate_pull.
10554
10555         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10556         sink pads in pull mode. In addition to being correct, fixes
10557         filesrc ! decodebin ! identity ! fakesink.
10558         (gst_pad_get_range, gst_pad_pull_range): Don't call
10559         gst_pad_set_caps() if the caps changes; instead error out with
10560         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10561
10562 2007-01-12  Andy Wingo  <wingo@pobox.com>
10563
10564         * docs/design/part-negotiation.txt: Update with more policy.
10565
10566 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10567
10568         * libs/gst/check/gstbufferstraw.h:
10569         * libs/gst/check/gstcheck.h:
10570           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10571           belongs.
10572
10573 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10574
10575         * tests/check/Makefile.am:
10576         * tests/check/gst/.cvsignore:
10577         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10578         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10579         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10580         (GST_START_TEST), (gst_tag_setter_suite):
10581           Add minimal unit test for beforementioned GstTagSetter bug.
10582
10583 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10584
10585         Patch by: René Stadler <mail at renestadler dot de>
10586
10587         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10588           gst_tag_list_merge() returns a new list, so it's not the best idea
10589           to ingore its return value. Effectively meant that tags could only
10590           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10591           Also add function guard to require a non-NULL taglist as input (has
10592           always been so due to gst_tag_list_copy(), just making it explicit).
10593
10594 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10595
10596         * docs/random/draft-missing-plugins.txt:
10597           Some additions: mention new API that is supposed to be used at the
10598           various stages; short blob about new gst-inspect introspection
10599           option; mention potential future problem with plugins that have
10600           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10601
10602 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10603
10604         * tools/gst-inspect.c:
10605         (print_plugin_automatic_install_info_codecs),
10606         (print_plugin_automatic_install_info_protocols),
10607         (print_plugin_automatic_install_info), (main):
10608         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10609         introspect plugin files and get machine-parsable output that corresponds
10610         to the last bit of the missing-plugin installer string (small gotcha:
10611         doesn't take into account ranks).
10612
10613 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10614
10615         * configure.ac:
10616         * docs/gst/gstreamer-sections.txt:
10617         * gst/Makefile.am:
10618         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10619         (gst_registry_lookup_locked):
10620         * gst/gstregistry.h:
10621         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10622         (gst_registry_binary_initialize_magic),
10623         (gst_registry_binary_save_string),
10624         (gst_registry_binary_save_pad_template),
10625         (gst_registry_binary_save_feature),
10626         (gst_registry_binary_save_plugin),
10627         (gst_registry_binary_write_cache),
10628         (gst_registry_binary_check_magic),
10629         (gst_registry_binary_load_pad_template),
10630         (gst_registry_binary_load_feature),
10631         (gst_registry_binary_load_plugin),
10632         (gst_registry_binary_read_cache):
10633         * gst/gstregistrybinary.h:
10634         * gst/gstregistryxml.c: (load_feature),
10635         (gst_registry_xml_read_cache):
10636           commit binary registry (disabled by default, see #359653)
10637
10638 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10639
10640         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10641           Fix 'make check' too.
10642
10643 2007-01-10  Andy Wingo  <wingo@pobox.com>
10644
10645         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10646         notes.
10647         
10648         * docs/design/part-negotiation.txt: Update with, um, one way that
10649         pull-mode negotiation might work?
10650
10651         * gst/gstpad.h: 
10652         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10653         that the pad must be a src pad; makes sense to call it the other
10654         way in pull mode, and the logic is symmetric anyway.
10655
10656 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10657
10658         * plugins/elements/gstfilesink.c:
10659           Include <stdio.h> for fseeko().
10660
10661 2007-01-10  Wim Taymans  <wim@fluendo.com>
10662
10663         * gst/gstevent.c:
10664         * gst/gstevent.h:
10665         Reserve LATENCY event.
10666
10667 2007-01-09  Wim Taymans  <wim@fluendo.com>
10668
10669         * docs/design/draft-latency.txt:
10670         Updates.
10671
10672 2007-01-09  Wim Taymans  <wim@fluendo.com>
10673
10674         * docs/design/draft-latency.txt:
10675         Updates.
10676
10677         * gst/gstelement.h:
10678         * gst/gststructure.c:
10679         * gst/gsttrace.c:
10680         Small typo fixes.
10681
10682 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10683
10684         * tests/check/.cvsignore:
10685           Ignore test-registry.xml as well.
10686
10687 2007-01-09  Wim Taymans  <wim@fluendo.com>
10688
10689         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10690         unref data at the end when we are done with the pad.
10691
10692 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10693
10694         * docs/gst/gstreamer-sections.txt:
10695         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10696         (init_post), (gst_deinit), (gst_update_registry):
10697         * gst/gst.h:
10698           API: add gst_update_registry() (#391296).
10699
10700         * tests/check/Makefile.am:
10701         * tests/check/gst/gstregistry.c:
10702         * tests/check/gst/.cvsignore:
10703           Simple unit test for the above.
10704
10705 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10706
10707         * gst/gstregistry.c: (gst_registry_scan_path_level):
10708           Plugin extension on HP-UX is .sl, add that to the list of approved
10709           plugin extensions (see #393796).
10710
10711         * tests/check/gst/gstpad.c: (GST_START_TEST):
10712           ulong => gulong. Fixes compilation with HP-UX compiler.
10713
10714         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10715           Fix compilation if valgrind headers are not available.
10716
10717 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10718
10719         * win32/common/libgstreamer.def: 
10720           Add new exported function.
10721         * win32/vs6/libgstbase.dsp: 
10722           Add gstdataqueue.c to the build.
10723         * win32/vs6/libgstcoreelements.dsp:
10724           Add gstmultiqueue.c to the build.
10725         
10726 2007-01-06  Andy Wingo  <wingo@pobox.com>
10727
10728         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10729         activate_pull(), providing for a way to specialize the process of
10730         spawning a thread to pull on the sink pad. There is a default
10731         implementation.
10732
10733         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10734         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10735         (gst_base_sink_init): Renamed pad activation functions (inserting
10736         "_pad" in their names). Refactor to use the new activate_pull
10737         vmethod, as appropriate.
10738         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10739         default activate_pull function to start a task pulling from the
10740         sink pad, as before.
10741
10742         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10743         on the pads if necessary, as in push()/chain(). Update docs.
10744         Shouldn't affect existing pull() usage as it is currently only
10745         being used on buffers without caps.
10746
10747 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10748
10749         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10750         (init_pre):
10751           Call g_thread_init() first thing in gst_init() / gst_check_init().
10752           When initialisation is done via gst_init_get_option_group() and
10753           GOption parsing, issue a warning if the GLib thread system has not
10754           been initialised yet by the time gst_init_get_option_group() is
10755           called, as it's quite likely other GLib functions such as
10756           g_option_context_new() have been called already then, and
10757           g_thread_init() must be called before any other GLib function. The
10758           application in question must be fixed in that case, since memory
10759           corruption might happen otherwise.
10760           We issue the warning because even if the GLib folks decide to work
10761           around the problem on their end in future, this is still an issue
10762           with all GLib versions >= 2.10.0, so we should warn until we depend
10763           on a GLib version we know to be safe.
10764           Update documentation as well.
10765           Closes bug #391278.
10766
10767 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10768
10769         * tools/gst-inspect.c: (main):
10770         * tools/gst-launch.c: (main):
10771         * tools/gst-typefind.c: (main):
10772         * tools/gst-xmlinspect.c: (main):
10773           Call g_thread_init() really really early, before any other GLib
10774           function (see #342564 and recent discussion on gtk-devel-list).
10775
10776 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10777
10778         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10779
10780         * gst/gst_private.h:
10781         * gst/gstconfig.h.in:
10782         * gst/gstinfo.h:
10783           On win32, all the __declspec stuff for symbol exporting is
10784           apparently only needed with MSVC, but doesn't work with MingW.
10785           Fixes compilation with MingW and #391909.
10786
10787 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10788
10789         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10790           Change some GST_ERROR_OBJECT that aren't really errors to
10791           GST_WARNING_OBJECT in order to reduce terminal spam.
10792
10793 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10794
10795         * tests/check/Makefile.am:
10796           disable test again, as there seem to be still race problems
10797
10798 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10799
10800         * tests/check/Makefile.am:
10801         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10802         (GST_START_TEST), (queue_suite):
10803           enable queue test again, add tests for the leaky behaviour
10804
10805 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10806
10807         * configure.ac:
10808         * tests/examples/Makefile.am:
10809           Compile adapter test/example only if the required headers are
10810           available (fixes #391915).
10811
10812 2007-01-01  David Schleef  <ds@schleef.org>
10813
10814         * gst/gstplugin.c:
10815           Restore the previous signal handler for SIGSEGV instead of
10816           setting to default, since we may have stolen it away from
10817           someone.  (i.e., Mono)
10818
10819 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10820
10821         * docs/random/draft-missing-plugins.txt:
10822           Some small additions and clarifications.
10823
10824 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10825
10826         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10827           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10828           since that can lead to random memory corruptions and crashes
10829           (may or may not be related to #383244, #386711, and #386711).
10830
10831 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10832
10833         * tests/check/.cvsignore:
10834         * tests/check/Makefile.am:
10835           sync .cvsignome and CLEANFILES
10836
10837 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10838
10839         * tests/check/Makefile.am:
10840           fix distcheck
10841
10842 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10843
10844         * docs/design/part-states.txt:
10845           two tiny additional comments
10846         
10847         * gst/gststructure.c:
10848           doc fixing
10849
10850         * tests/check/Makefile.am:
10851         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10852         (GST_START_TEST):
10853           disable test for now, unless it gets fixed
10854
10855 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10856
10857         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10858         (GST_START_TEST):
10859           fix race in underrun test
10860
10861 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10862
10863         * tests/check/elements/.cvsignore:
10864           ignore more
10865
10866         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10867         (GST_START_TEST):
10868           try to narrow test failure
10869
10870 2006-12-21  David Schleef  <ds@schleef.org>
10871
10872         * plugins/elements/gstfakesrc.c:
10873           Use g_random_int_range(), since it produces better random
10874           numbers in a range than almost-correct floating point code.
10875
10876 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10877
10878         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10879         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10880         (gst_check_teardown_sink_pad):
10881           do not automatically (de)activate pads
10882
10883         * tests/check/Makefile.am:
10884         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10885         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10886           add new, yet simple tests for queue
10887
10888         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10889         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10890         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10891         (GST_START_TEST):
10892         * tests/check/elements/identity.c: (cleanup_identity):
10893           consistent pad (de)activation
10894
10895 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10896
10897         Patch by: Sebastian Dröge  <slomo ubuntu com>
10898
10899         * libs/gst/base/gstcollectpads.c:
10900           Fix two doc typos (#387866).
10901
10902 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10903
10904         * docs/manual/advanced-dparams.xml:
10905           Fix typo (g_object_control_properties() doesn't exist).
10906
10907 2006-12-19  Edward Hervey  <edward@fluendo.com>
10908
10909         * gst/gstsegment.c: (gst_segment_set_seek):
10910         Fine tune the cases where the segment start/stop values are really
10911         updated.
10912         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10913         Add tests for the return values of gst_segment_set_seek().
10914
10915 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10916
10917         * gst/gst.c:
10918           Docs typo fix.
10919
10920         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10921         (gst_queue_init):
10922           Fix incorrect documentation and flesh it out a bit more.
10923           Set default values for the max properties on the GParamSpec as well,
10924           so it shows up correctly in gst-inspect.
10925
10926 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10927
10928         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10929           Correct docs of queue, add more detail and crosslink it more.
10930
10931 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10932
10933         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10934           Print additional debug info when the stream isn't perfectly
10935           timestamped; don't try to use invalid durations.
10936
10937 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10938
10939         * docs/design/Makefile.am:
10940           Dist new design docs.
10941
10942 2006-12-16  Wim Taymans  <wim@fluendo.com>
10943
10944         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10945
10946         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10947         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10948         (gst_collect_pads_stop), (gst_collect_pads_event),
10949         (gst_collect_pads_chain):
10950         * libs/gst/base/gstcollectpads.h:
10951         Add refcounting to the collectpads data so we can track when it's safe
10952         to free the data. Fixes #383382.
10953
10954 2006-12-15  Wim Taymans  <wim@fluendo.com>
10955
10956         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10957         (gst_collect_pads_remove_pad):
10958         Automatically activate/deactivate pads when they are added to a
10959         started/stoped collectpads.
10960
10961 2006-12-15  Wim Taymans  <wim@fluendo.com>
10962
10963         * gst/gstelement.c: (gst_element_add_pad):
10964         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10965         * gst/gstpad.c: (gst_pad_init):
10966         Set pads to FLUSHING when they are created. Check, warn and fix when a
10967         demuxer adds an inactive pad to itself when running. Fixes #339326.
10968
10969 2006-12-15  Wim Taymans  <wim@fluendo.com>
10970
10971         * gst/gstelement.c: (gst_element_class_init),
10972         (gst_element_default_send_event), (gst_element_send_event),
10973         (gst_element_default_query), (gst_element_query):
10974         Expose default element send_event and query handling as vmethods that
10975         subclasses can chain up to.
10976
10977 2006-12-15  Wim Taymans  <wim@fluendo.com>
10978
10979         * gst/gstelement.c: (gst_element_set_state_func):
10980         Small documentation fixes.
10981
10982 2006-12-15  Wim Taymans  <wim@fluendo.com>
10983
10984         * docs/design/draft-latency.txt:
10985         Checked in draft for handling latency in pipelines.
10986
10987 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10988
10989         * Makefile.am:
10990         * gstreamer.doap:
10991         * gstreamer.spec.in:
10992           adding .doap file
10993
10994 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
10995
10996         * gst/gst.c: (init_pre), (init_post):
10997           init_pre() and init_post() might be called via our GOptionGroup or
10998           from gst_init(), and we should skip both of them if we've already
10999           been initialised, otherwise we will init some things twice or add
11000           two default log functions.
11001
11002 2006-12-13  Edward Hervey  <edward@fluendo.com>
11003
11004         * docs/manual/basics-bus.xml:
11005         No, gst_main_loop does not exist. Its g_main_loop.
11006         Discovered by somebody who abused the copy-paste technique of coding :)
11007
11008 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11009
11010         * gst/gstghostpad.c:
11011           Log ghostpad debug stuff to the GST_PADS category as well rather
11012           than just to the default category.
11013
11014 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11015
11016         * configure.ac:
11017         * gst/gst.c: (init_pre):
11018           Add some basic system details such as OS and architecture
11019           to the debug output if possible, courtesy of uname().
11020
11021 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11022
11023         * docs/gst/running.xml:
11024           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11025           environment variables.
11026
11027 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11028
11029         * tests/check/gst/gstbin.c: (GST_START_TEST):
11030         It is acceptable to have a refcount of 2 or 3 at this point in the
11031         test, because the pipeline might be just posting its state_change
11032         message. The next line then waits for that message to appear using
11033         bus_poll, so that should be fine too.
11034
11035 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11036
11037         * gst/gst.c: (ensure_current_registry_forking):
11038         Ignore EINTR when reading from the child registry pipe.
11039         Explicitly ignore the return value from close, since it makes no
11040         difference.
11041
11042         * gst/gstminiobject.c: (gst_mini_object_ref),
11043         (gst_mini_object_unref):
11044         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11045
11046         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11047         When removing cached plugins, remove their features too, so they're
11048         not visible after they've disappeared.
11049
11050         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11051         In the unlikely case that we are linking pads with no parents, don't
11052         crash trying to get the non-existent parent bin.
11053
11054         * gst/parse/grammar.y:
11055         Output debug in the PIPELINE category
11056
11057 2005-03-08  Wim Taymans  <wim@fluendo.com>
11058
11059         Patch by: René Stadler <mail at renestadler dot de>
11060
11061         * gst/gstclock.c: (gst_clock_new_periodic_id):
11062         Reject invalid clock times for interval of periodic ids.
11063         Fixes ##383506.
11064
11065 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11066
11067         * gst/gstelementfactory.c: (gst_element_factory_create):
11068         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11069         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11070         * tools/gst-inspect.c: (print_element_info):
11071         Fix refcounting of gst_plugin_feature_load to match the docs. 
11072         Fixes: #380129
11073
11074 2006-12-07  Wim Taymans  <wim@fluendo.com>
11075
11076         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11077         (gst_base_sink_get_position):
11078         Improve debugging of events.
11079
11080 2006-12-07  Wim Taymans  <wim@fluendo.com>
11081
11082         Patch by: René Stadler <mail at renestadler dot de>
11083
11084         * gst/gstclock.c: (gst_clock_id_wait):
11085         Make period ids add the interval to the origial requested time instead
11086         of the possibly updated time which can be wrong when there are multiple
11087         waiters for the same id. Fixes #382592.
11088
11089         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11090         (gst_system_clock_id_wait_jitter_unlocked),
11091         (gst_system_clock_id_wait_jitter):
11092         Fix restart in the async notify thread when an async entry is added to
11093         the front of the list. Fixes #381492. 
11094
11095         * tests/check/gst/gstsystemclock.c: (store_callback),
11096         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11097         Added test for multiple async waits.
11098         Added test for async wait order.
11099
11100 2006-12-07  Wim Taymans  <wim@fluendo.com>
11101
11102         * gst/gstbin.c: (gst_bin_query):
11103         Add some more docs about the POSITION query.
11104
11105 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11106
11107         * configure.ac:
11108         Bump version nano - back to CVS.
11109
11110 === release 0.10.11 ===
11111
11112 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11113
11114         * configure.ac:
11115           releasing 0.10.11, "Love never runs on time"
11116
11117 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11118
11119         * win32/common/libgstbase.def:
11120         * win32/common/libgstreamer.def:
11121         * win32/vs8/libgstbase.vcproj:
11122         * win32/vs8/libgstcoreelements.vcproj:
11123         * win32/vs8/libgstreamer.vcproj:
11124         Fix compilation on win32 under VS8
11125         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11126         Partially fixes #381175
11127
11128 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11129
11130         * gst/gstvalue.c: (gst_value_compare_fraction):
11131         If someone is foolish enough to compare 2 fractions with denominator =
11132         0, return UNORDERED rather than aborting.
11133
11134 2006-11-28  Edward Hervey  <edward@fluendo.com>
11135
11136         * libs/gst/base/Makefile.am:
11137         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11138         (gst_data_queue_base_init), (gst_data_queue_class_init),
11139         (gst_data_queue_init), (gst_data_queue_new),
11140         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11141         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11142         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11143         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11144         (gst_data_queue_set_flushing), (gst_data_queue_push),
11145         (gst_data_queue_pop), (gst_data_queue_drop_head),
11146         (gst_data_queue_set_property), (gst_data_queue_get_property):
11147         * libs/gst/base/gstdataqueue.h:
11148         New GstDataQueue object for threadsafe queueing. Most useful for
11149         elements that need some queueing functionnality.
11150         * docs/libs/gstreamer-libs-docs.sgml:
11151         * docs/libs/gstreamer-libs-sections.txt:
11152         Insert documentation for GstDataQueue
11153         * plugins/elements/Makefile.am:
11154         * plugins/elements/gstelements.c:
11155         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11156         (gst_multi_queue_class_init), (gst_multi_queue_init),
11157         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11158         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11159         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11160         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11161         (gst_multi_queue_loop), (gst_multi_queue_chain),
11162         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11163         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11164         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11165         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11166         (wake_up_next_non_linked), (compute_next_non_linked),
11167         (single_queue_overrun_cb), (single_queue_underrun_cb),
11168         (single_queue_check_full), (gst_single_queue_new):
11169         * plugins/elements/gstmultiqueue.h:
11170         New multiqueue element, using GstDataQueue. Used for queuing multiple
11171         streams.
11172         Closes #344639 and #347785
11173
11174 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11175
11176         * docs/pwg/advanced-types.xml:
11177           add more missing type details
11178
11179         * tools/gst-run.c: (main):
11180           remove unused variable
11181
11182 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11183
11184         * docs/libs/Makefile.am:
11185         * docs/libs/gstreamer-libs.types:
11186           add types of base classes to enable gobject specific stuff in the docs
11187
11188         * docs/random/ensonic/embedded.txt:
11189           more ideas about isolating platform specific things
11190
11191 2006-11-20  Wim Taymans  <wim@fluendo.com>
11192
11193         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11194
11195         * libs/gst/check/gstcheck.h:
11196         Fix compilation and running against 0.9.4. Fixes #377332.
11197
11198 2006-11-20  Wim Taymans  <wim@fluendo.com>
11199
11200         * gst/gstsegment.c: (gst_segment_set_seek),
11201         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11202         (gst_segment_to_running_time):
11203         Fix boundary checking in to_running_time() and to_stream_time().
11204         Fixes #377183.
11205
11206         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11207         stream and running time can now be calculated for the complete
11208         clipped segment.
11209
11210 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11211
11212         * gst/gstpad.c: (gst_pad_push_event):
11213           Can't access event structure after giving away ownership of
11214           the event.
11215
11216 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11217
11218         * docs/random/ensonic/embedded.txt:
11219         * docs/random/ensonic/profiling.txt:
11220         * docs/random/ensonic/receipies.txt:
11221           more thinking
11222
11223 2006-11-13  Wim Taymans  <wim@fluendo.com>
11224
11225         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11226
11227         * gst/gstpad.c:
11228         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11229
11230 2006-11-13  Wim Taymans  <wim@fluendo.com>
11231
11232         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11233
11234         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11235         Store new length in segment duration so we don't keep on calling the
11236         potentially expensize get_size() call. Fixes #370865.
11237
11238 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11239
11240         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11241
11242         * win32/common/libgstreamer.def:
11243           Add two missing symbols (#366492).
11244
11245 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11246
11247         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11248         (gst_adapter_take_buffer):
11249         Fix format string to use all its arguments.
11250         Remove useless >= check on a guint
11251
11252 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11253
11254         * tests/examples/adapter/.cvsignore:
11255         Ignore build file as commanded by the build-bot
11256
11257 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11258
11259         * tests/examples/adapter/Makefile.am:
11260         * tests/examples/adapter/adapter_test.c: (run_test_take),
11261         (run_test_take_buffer), (run_tests), (main):
11262
11263         Add new files from the previous commit
11264
11265 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11266
11267         * Makefile.am:
11268         * configure.ac:
11269         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11270         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11271         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11272         * libs/gst/base/gstadapter.h:
11273         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11274         (GST_START_TEST), (gst_adapter_suite):
11275         * tests/examples/Makefile.am:
11276         Do some optimisation work in GstAdapter to avoid copies in more cases.
11277         It could still do slightly better by merging buffers when
11278         gst_buffer_is_span_fast is true, but is already faster. 
11279
11280         Also, avoid traversing a single-linked list to append each incoming 
11281         buffer inside the adapter.
11282
11283         Add simple test app that times the adapter behaviour in different
11284         situations, and extend the unit test to check that bytes enter and
11285         exit the adapter in their original order.
11286
11287 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11288
11289         * docs/random/draft-missing-plugins.txt:
11290           Update: use element message instead of adding a new message
11291           type to the core; don't provide GStreamer API to initiate the
11292           plugin download, just provide API to compose the strings needed
11293           and let an external libgimmestuff handle the rest.
11294
11295 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11296
11297         * tools/gst-inspect.c: (print_element_properties_info):
11298         Print a string instead of 'unknown type' for GValueArray properties
11299
11300 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11301
11302         * docs/random/draft-missing-plugins.txt:
11303         More small fixes.
11304
11305 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11306
11307         * tests/examples/typefind/typefind.c: (type_found), (main):
11308           Make typefind element example work again (#371894); add a
11309           license header.
11310
11311 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11312
11313         * docs/random/draft-missing-plugins.txt:
11314           Commit initial draft about how to deal with missing plugins,
11315           needs work (API too).
11316
11317 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11318
11319         * docs/pwg/advanced-types.xml:
11320           documents the new caps elements (see #363118)
11321
11322 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11323
11324         * gst/gstplugin.c: (gst_plugin_load_file):
11325         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11326         (gst_file_src_map_region), (gst_file_src_start):
11327         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11328         (gst_file_index_commit):
11329           Use g_strerror() instead of strerror() - we want UTF-8.
11330
11331 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11332
11333         Patch by: Peter Kjellerstedt <pkj at axis com>
11334
11335         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11336           Another printf fix (#371493).
11337
11338 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11339
11340         * tests/check/gst/gsttag.c:
11341           relicence (okay with author=company)
11342
11343 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11344
11345         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11346         (gst_pad_push_event):
11347           Enhance debug and improve docs
11348         
11349         * gst/gsturi.c:
11350           Fix docs
11351
11352 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11353
11354         * docs/random/ensonic/distributed.txt:
11355         * docs/random/ensonic/profiling.txt:
11356           more ideas
11357
11358 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11359
11360         * docs/gst/gstreamer-sections.txt:
11361           add new API and fix the build
11362           
11363         * gst/gstbin.c: (gst_bin_recalc_state):
11364         * gst/gstelement.c: (gst_element_message_full),
11365         (gst_element_get_state_func), (gst_element_set_state_func):
11366           use new API and improve logging
11367         
11368         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11369         * gst/gstutils.h:
11370           API: add function to get StateChangereturn names to improve logs 
11371
11372 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11373
11374         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11375           I'm considering shooting the next person to put strerror stuff
11376           in the translateable part of the message.
11377
11378 2006-11-03  Wim Taymans  <wim@fluendo.com>
11379
11380         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11381         Get the type and printf conversion specifiers right.
11382
11383 2006-11-03  Wim Taymans  <wim@fluendo.com>
11384
11385         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11386
11387         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11388         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11389         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11390         Some small cleanups. Improve debugging.
11391         * gst/gstpad.h:
11392         Signal all waiting threads with a broadcast instead of just one.
11393         Fixes #369942.
11394
11395 2006-11-03  Wim Taymans  <wim@fluendo.com>
11396
11397         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11398         (gst_fd_src_create):
11399         Add some debugging. 
11400         Only update fd when it's different from the old.
11401
11402 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11403
11404         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11405           Printf fixes for PPC/OSX, take two (#369366).
11406
11407 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11408
11409         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11410
11411         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11412         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11413         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11414           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11415           don't cast to long long for portability reasons, but use
11416           GLib's types instead.
11417
11418 2006-10-30  Michael Smith  <msmith@fluendo.com>
11419
11420         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11421           Get the arguments to lseek() the right way around.
11422           Fixes 367677.
11423
11424 2006-10-30  Wim Taymans  <wim@fluendo.com>
11425
11426         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11427
11428         * gst/gstinfo.h:
11429         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11430
11431 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11432
11433         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11434
11435         * docs/design/part-MT-refcounting.txt:
11436         * docs/random/wtay/capsnego2-docs:
11437         * gst/gstclock.c:
11438         * gst/gstxml.c:
11439           Typo fixes (#366212).
11440
11441 2006-10-28  Wim Taymans  <wim@fluendo.com>
11442
11443         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11444
11445         * gst/gst.c:
11446         * win32/common/libgstbase.def:
11447         * win32/common/libgstreamer.def:
11448         * win32/vs8/libgstbase.vcproj:
11449         * win32/vs8/libgstcontroller.vcproj:
11450         Add needed entries in .def files.
11451         Use HAVE_UNISTD_H.
11452         Rearrange def files in vs8 solutions. Fixes #366286.
11453
11454 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11455
11456         * win32/common/gstconfig.h:
11457           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11458           hand-made win32 gstconfig.h. Fixes #366321.
11459
11460 2006-10-27  Wim Taymans  <wim@fluendo.com>
11461
11462         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11463         (gst_ghost_pad_new_full):
11464         Make acceptcaps return TRUE when we don't have a target, just like
11465         setcaps does.
11466
11467 2006-10-27  Wim Taymans  <wim@fluendo.com>
11468
11469         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11470         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11471
11472 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11473
11474         * gst/gststructure.c: (gst_structure_id_set_value):
11475           If someone tries to set a non-UTF8 string field on a structure,
11476           don't just print a warning, but also ignore the request and do
11477           not change/add that field to the structure.
11478
11479         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11480           Test for the above.
11481
11482 2006-10-25  David Schleef  <ds@schleef.org>
11483
11484         * gst/gstinfo.c:
11485           g_hash_table_insert() needs a cast to a non-const pointer duh.
11486
11487 2006-10-25  David Schleef  <ds@schleef.org>
11488
11489         * gst/gstinfo.c:
11490         * gst/gstinfo.h:
11491           Change name parameter of _gst_debug_register_funcptr to const
11492           to reflect the constness of its use in the function as well
11493           as to quiet a gcc warning.
11494
11495 2006-10-25  Edward Hervey  <edward@fluendo.com>
11496
11497         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11498         Don't push the buffer if it's empty.
11499         Closes #363095
11500
11501 2006-10-24  Wim Taymans  <wim@fluendo.com>
11502
11503         * gst/gstevent.h:
11504         Add small comment.
11505
11506         * libs/gst/base/gstbasetransform.c:
11507         (gst_base_transform_sink_eventfunc):
11508         Debug segment values *after* updating them as this is more
11509         interesting.
11510
11511 2006-10-23  Wim Taymans  <wim@fluendo.com>
11512
11513         * docs/design/part-events.txt:
11514         Update some docs.
11515
11516         * docs/design/part-block.txt:
11517         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11518         (gst_pad_push_event):
11519         Revert BLOCKING patch, it tries to be smart without really having a
11520         clear idea what or how. So, now we discard all FLUSHING events again on
11521         a blocking pad. Should fix gnonlin again.
11522
11523 2006-10-23  Wim Taymans  <wim@fluendo.com>
11524
11525         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11526
11527         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11528         (gst_base_src_start), (gst_base_src_activate_push):
11529         Make sure size is always initialized. Fixes #364388.
11530
11531 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11532
11533         * docs/random/ensonic/distributed.txt:
11534           add some ideas about doing distributed processing
11535
11536         * docs/random/ensonic/profiling.txt:
11537           get_rusage look promising
11538
11539 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11540
11541         * docs/manual/basics-helloworld.xml:
11542           Add a cast in example to fix compile warning
11543
11544 2006-10-18  Wim Taymans  <wim@fluendo.com>
11545
11546         * gst/gstsegment.c: (gst_segment_set_last_stop),
11547         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11548         Relax arg checking again, -1 is allowed.
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         _set_last_stop() must be with a value != -1
11555         A _TYPE_SET to -1 means seek to 0.
11556         Calc last_stop correctly for negative rates.
11557         Make sure we work with positive durations when updating a segment.
11558
11559 2006-10-18  Wim Taymans  <wim@fluendo.com>
11560
11561         * docs/design/part-live-source.txt:
11562         * gst/gstclock.h:
11563         Small docs fixes.
11564
11565 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11566
11567         * gst/gstbuffer.h:
11568           Add an explicit cast to GstBuffer** to keep old code that added an
11569           explicit cast to GstMiniObject** for gst_mini_object_replace()
11570           compiling without warning.
11571
11572 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11573
11574         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11575           check for validity of dates
11576
11577 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11578
11579         * docs/gst/gstreamer-sections.txt:
11580           Forgot this one, makes gtk-doc shut up.
11581
11582 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11583
11584         Patch by: Peter Kjellerstedt <pkj at axis com>
11585
11586         * gst/gstobject.h:
11587           Don't define xmlNodePtr to gpointer if the core was built with
11588           --disable-loadsave and --disable-registry, this will break
11589           applications that want to use libxml2 but are buildling against a
11590           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11591           instead so we don't have to mess with the libxml2 namespace
11592           (#361675).
11593
11594 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11595
11596         * gst/gstbuffer.h:
11597           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11598           type-punned pointer warnings.
11599
11600 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11601
11602         * gst/gstelement.h:
11603           Add casts to the correct return type to state <=> state transition
11604           macros.
11605
11606 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11607
11608         * docs/design/part-live-source.txt:
11609           describe howto handle latency
11610         
11611         * docs/random/ensonic/profiling.txt:
11612           more ideas
11613
11614         * tools/gst-plot-timeline.py:
11615           fix log parsing for solaris, remove unused function
11616
11617 2006-10-16  Wim Taymans  <wim@fluendo.com>
11618
11619         * docs/design/part-trickmodes.txt:
11620         * gst/gstevent.c:
11621         Update some docs regarding reverse playback.
11622
11623 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11624
11625         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11626
11627         * win32/vs8/grammar.vcproj:
11628           Error out with a warning if glib-genmarshal.exe is not in path,
11629           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11630
11631 2006-10-13  Wim Taymans  <wim@fluendo.com>
11632
11633         * gst/gstsegment.c: (gst_segment_set_seek):
11634         When seeking to stop -1, set last_stop (current position) to the
11635         duration of the segment.
11636
11637 2006-10-13  Wim Taymans  <wim@fluendo.com>
11638
11639         * gst/gstelement.h:
11640         Clarify _NO_PREROLL a bit more.
11641
11642         * gst/gstevent.c:
11643         Fix docs.
11644
11645         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11646         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11647         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11648         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11649         due to wrong locking order. Fixes #361769.
11650         Remove some redundant/misplaced checks in pad_block.
11651
11652         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11653         For negative rates, count backwards from the duration.
11654
11655 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11656
11657         * gst/gsterror.c: (_gst_library_errors_init):
11658           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11659           up with something better).
11660
11661 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11662
11663         * win32/vs6/libgstreamer.dsp:
11664         * win32/vs7/libgstreamer.vcproj:
11665         * win32/vs8/libgstreamer.vcproj:
11666           Don't reference glib-compat.c which is currently not used and not
11667           disted; add gstquark.c which was recently added. Fixes #361730.
11668
11669 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11670
11671         * win32/common/libgstbase.def:
11672         * win32/common/libgstcontroller.def:
11673         * win32/common/libgstreamer.def:
11674           Add gst_caps_merge() and a bunch of other recently-added functions.
11675           Fixes #361732.
11676
11677 2006-10-11  Wim Taymans  <wim@fluendo.com>
11678
11679         * docs/plugins/gstreamer-plugins.args:
11680         * docs/plugins/inspect/plugin-coreelements.xml:
11681         * docs/plugins/inspect/plugin-coreindexers.xml:
11682         Update element args.
11683
11684         * gst/gstsystemclock.c:
11685         Small comment update.
11686
11687         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11688         (gst_tee_request_new_pad), (gst_tee_release_pad),
11689         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11690         (gst_tee_sink_activate_pull):
11691         * plugins/elements/gsttee.h:
11692         Some tee loving:
11693         Add default property defines.
11694         Implement release pad function.
11695         Give properties better blubs etc.
11696         Activate pads before adding them to a running tee.
11697         Do simple buffer_alloc on the first requested pad.
11698         Post error when activation fails.
11699
11700 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11701
11702         * gst/gst.c: (ensure_current_registry_forking):
11703           Check return value of write() to make compiler happy.
11704
11705 2006-10-11  Wim Taymans  <wim@fluendo.com>
11706
11707         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11708
11709         * plugins/elements/gstqueue.c: (gst_queue_chain):
11710         Recheck queue filledness after signalling the overrun when we're about
11711         to leak downstream because we released the lock when emitting the signal
11712         and the queue could be empty again. Fixes #352345.
11713
11714 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11715
11716         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11717           Fix refcounting here too, just like we did for _new_valist() a few
11718           days ago (#357180) (thanks to René Stadler). Also remove all those
11719           'Since: 0.9' from the gtk-doc blobs.
11720
11721         * tests/check/libs/controller.c: (controller_refcount_new_list),
11722         (gst_controller_suite):
11723           Unit test for the above.
11724
11725 2006-10-10  Wim Taymans  <wim@fluendo.com>
11726
11727         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11728
11729         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11730         (gst_pad_save_thyself):
11731         Update some docs.
11732         Write pad direction in XML output. Fixes #345496.
11733
11734 2006-10-10  Wim Taymans  <wim@fluendo.com>
11735
11736         Patch by: René Stadler <mail at renestadler dot de>
11737
11738         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11739         (gst_controller_new_list), (_gst_controller_dispose),
11740         (_gst_controller_finalize), (_gst_controller_class_init):
11741         Take ref to controlled object so that it cannot disappear. 
11742         Fixes #357432.
11743
11744 2006-10-10  Wim Taymans  <wim@fluendo.com>
11745
11746         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11747         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11748         (gst_check_teardown_sink_pad):
11749         Activate/deactivate pads in setup/teardown respectively.
11750
11751 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11752
11753         Patch by: Josep Torra Valles <josep@fluendo.com>
11754
11755         * gst/Makefile.am:
11756         Cast values when making gstenumtypes.h.  This pacifies Forte
11757         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11758         in the enumeration.
11759
11760 2006-10-09  Wim Taymans  <wim@fluendo.com>
11761
11762         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11763         Rename some more @cur to @start to fix docs. 
11764
11765         * gst/gstsegment.c: (gst_segment_set_seek):
11766         Fix typo.
11767         time and start must always stay in sync as defined in design doc.
11768
11769         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11770         Rename param to fix docs.
11771
11772         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11773         Check that start and time are in sync.
11774
11775         * tests/check/pipelines/parse-launch.c:
11776         (gst_parse_test_element_change_state):
11777         Activate pad before adding to the element.
11778
11779 2006-10-09  Wim Taymans  <wim@fluendo.com>
11780
11781         * docs/design/part-qos.txt:
11782         Fix typo.
11783
11784         * gst/gstevent.c:
11785         * gst/gstevent.h:
11786         Update seek event docs regarding negative rates.
11787         Rename @cur to @start. 
11788
11789         * gst/gstsegment.c: (gst_segment_set_seek):
11790         * gst/gstsegment.h:
11791         Update set_seek docs regarding negative rates.
11792         Correctly update last_stop to @stop when dealing with negative
11793         rates.
11794         Rename @cur to @start. 
11795
11796         * tests/check/gst/gstpad.c: (GST_START_TEST):
11797         Activate pads before trying to use them.
11798
11799         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11800         (gst_segment_suite):
11801         Add simple check for segments and negative rates.
11802
11803 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11804
11805         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11806         * gst/gsttaglist.h:
11807         * docs/gst/gstreamer-sections.txt:
11808           API: add gst_tag_list_is_empty() (#360467).
11809
11810         * tests/check/gst/gsttag.c: (GST_START_TEST):
11811           And a test case.
11812
11813 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11814
11815         * gst/gstmessage.h:
11816         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11817         a value that doesn't fit on enumeration.
11818
11819 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11820
11821         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11822         Remove local debugging system and use Gstreamer's instead.
11823
11824 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11825
11826         Patch by: Josep Torra Valles <josep@fluendo.com>
11827
11828         * common/m4/gst-error.m4:
11829         Disable warning of statement not reached on Forte.
11830         * gst/gstmessage.h:
11831         Fix warning on Forte (value doesn't fit on enumeration).
11832         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11833         Fix warning on Forte (value doesn't fit on enumeration).
11834         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11835         DEBUG macro says it takes minimum of 2 args and so Forte
11836         complains about the use with just 1 arg.
11837         * plugins/elements/gstfdsink.c:
11838         * plugins/elements/gstfdsrc.c:
11839         * plugins/elements/gstfilesink.c:
11840         * plugins/elements/gstfilesrc.c:
11841         Use correct return type for the uri handler implementations.
11842
11843         All these fix warnings in Forte.  Fixes bug #360860.
11844
11845 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11846
11847         * gst/gstelement.h:
11848           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11849           format string, so don't use G_GNUC_PRINTF for those versions.
11850
11851 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11852
11853         * gst/gsttaglist.c: (gst_is_tag_list):
11854         * gst/gsttaglist.h:
11855           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11856
11857         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11858           Small test for the above.
11859
11860 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11861
11862         * gst/gsttaglist.h:
11863           Less tabs, more spaces.
11864
11865 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11866
11867         * gst/gstinfo.h:
11868           Those two function declarations do actually belong there, revert
11869           commit from yesterday that turned them intro macros.
11870
11871 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11872
11873         Patch by: Josep Torra Valles <josep@fluendo.com>
11874
11875         * gst/gst.c: (gst_init_get_option_group):
11876         Fix empty declaration and type mismatch.
11877         * gst/gstbin.c: (gst_bin_change_state_func):
11878         Fix type mismatch.
11879         * gst/gstelement.c: (gst_element_continue_state),
11880         (gst_element_set_state_func), (gst_element_change_state),
11881         (gst_element_change_state_func):
11882         Fix type mismatches.
11883         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11884         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11885         Cast as appropriate.
11886         * gst/gstobject.c: (gst_class_signal_connect):
11887         Cast as appropriate.  The function pointer parameter really
11888         has the wrong type but would break API if we change it.
11889         * gst/gstquery.c:
11890         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11891         order of including string.h.
11892         * gst/gstutils.c: (gst_element_state_get_name):
11893         Remove unreachable line.
11894         * gst/gstxml.c: (gst_xml_parse_doc):
11895         Fix type mismatch.
11896         All these caught by Forte.
11897
11898 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11899
11900         Patch by: Josep Torra Valles <josep@fluendo.com>
11901
11902         * common/m4/gst-error.m4:
11903         Fixed bug #360151.
11904         We need to disable warnings on Forte for empty declarations
11905         due to gst-indent adding ;s to lines that just use macros
11906         where the macro actually doesn't need a ; at end to end
11907         statement.
11908
11909 2006-10-06  Wim Taymans  <wim@fluendo.com>
11910
11911         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11912         (gst_file_sink_close_file), (gst_file_sink_event),
11913         (gst_file_sink_render):
11914         Add some FIXME for the NEWSEGMENT handling.
11915
11916 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11917
11918         * gst/parse/grammar.y:
11919         Remove static function gst_parse_element_lock as all it does
11920         is return.  Looks like cruft from 0.8.
11921
11922 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11923
11924         Patch by: Josep Torra Valles <josep@fluendo.com>
11925
11926         * common/m4/gst-error.m4:
11927         * configure.ac:
11928         * libs/gst/net/Makefile.am:
11929         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11930         libresolv.
11931
11932 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11933
11934         * gst/gstpad.c: (pre_activate):
11935         * gst/gstregistry.c: (gst_registry_scan_path_level):
11936         * gst/gstregistryxml.c: (load_plugin):
11937         * libs/gst/controller/gstcontroller.c:
11938         (gst_controlled_property_set_interpolation_mode):
11939         * libs/gst/dataprotocol/dataprotocol.c:
11940         (gst_dp_packet_from_event_1_0):
11941         * libs/gst/net/gstnetclientclock.c:
11942         (gst_net_client_clock_observe_times):
11943         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11944           Printf fixes.
11945
11946 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11947
11948         * configure.ac:
11949         * docs/gst/gstreamer-sections.txt:
11950         * gst/gstconfig.h.in:
11951         * gst/gstelement.h:
11952         * gst/gstinfo.h:
11953           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11954           whether we can use G_GNUC_PRINTF in other header files and at
11955           least check the printf format/arguments of debug messages and
11956           GST_ELEMENT_ERROR messages when the printf extension is not
11957           being used.
11958           Replace more tabs with spaces in gstinfo.h and remove two spurious
11959           function declarations in GST_DISABLE_DEBUG part with macros.
11960
11961 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11962
11963         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11964           More docs for the sync-message signal (mention that it is not
11965           emitted by default); log message structures of messages posted on
11966           the bus as well.
11967
11968 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11969
11970         * gst/gst.c: (ensure_current_registry_forking):
11971         Use a pipe pair to receive status results from the forked child, and
11972         ignore the result from waitpid. Fixes #355499
11973
11974 2006-10-02  Wim Taymans  <wim@fluendo.com>
11975
11976         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11977         (gst_ghost_pad_suite):
11978         Fix leak in check.
11979
11980 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11981
11982         * gst/gstpad.c:
11983           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11984
11985 2006-10-02  Edward Hervey  <edward@fluendo.com>
11986
11987         * docs/design/part-block.txt:
11988         Further explain the use of flushing on blocked pads.
11989         * docs/gst/gstreamer-sections.txt:
11990         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11991         (gst_pad_push_event):
11992         * gst/gstpad.h:
11993         Added new GstPadFlag : GST_PAD_BLOCKING.
11994         Adds the notion of pads really blocking, which enables to properly
11995         handle FLUSH_START/FLUSH_STOP events on blocked pads.
11996         Fixes #358999
11997         API: gst_pad_is_blocking()
11998         API: GST_PAD_IS_BLOCKING() macro
11999         API: GST_PAD_BLOCKING GstPadFlag
12000         
12001 2006-10-02  Wim Taymans  <wim@fluendo.com>
12002
12003         Patch by: mrcgran <mrc.gran at gmail dot com>
12004
12005         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12006         Filter the proxied caps against the padtemplate if we have one.
12007
12008         * gst/gstquery.c: (gst_query_new_segment):
12009         Add include for gstinfo.h so that compilation with
12010         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12011
12012 2006-10-02  Wim Taymans  <wim@fluendo.com>
12013
12014         Patch by: Alessandro Decina  <alessandro at nnva org>
12015
12016         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12017         (gst_file_sink_set_location), (gst_file_sink_open_file),
12018         (gst_file_sink_close_file), (gst_file_sink_event),
12019         (gst_file_sink_render):
12020         Set file to NULL when closing filesink so that we can set a new filename
12021         in READY. Fixes #358613.
12022
12023 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12024
12025         Patch by: Alessandro Decina  <alessandro at nnva org>
12026
12027         * gst/gstevent.c: (_gst_event_copy):
12028           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12029           with event structures by setting the parent refcount address of the
12030           copied structure to the address of the refcount member of the newly
12031           copied event rather than the address of the refcount member of the
12032           original event. Fixes #358737.
12033
12034         * tests/check/gst/gstevent.c: (GST_START_TEST):
12035           Unit test for the above.
12036
12037 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12038
12039         * docs/design/Makefile.am:
12040           Dist some more files.
12041
12042 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12043
12044         * tests/check/libs/controller.c: (GST_START_TEST),
12045         (gst_controller_suite):
12046           Add test for the previous fix; add some more tests
12047           for correct refcounting behaviour; fix a few leaks
12048           in test cases; call gst_controller_init() at start
12049           of all tests.
12050
12051 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12052
12053         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12054         (gst_controller_set_from_list):
12055           Don't g_return_val_if_fail() on timed values with invalid timestamps
12056           inside a critical section without unlocking the mutex. Spotted by
12057           René Stadler. (#357617)
12058           Also, fix up refcounting properly: when returning an existing
12059           controller, we should increase the reference only once and not
12060           once per property and when trying to control a property again
12061           we should also increase the refcount.
12062
12063 2006-09-29  Wim Taymans  <wim@fluendo.com>
12064
12065         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12066         * libs/gst/net/gstnettimeprovider.c:
12067         (gst_net_time_provider_thread):
12068         Stop reading commands when EOF as well.
12069
12070         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12071         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12072         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12073         Unify description of the dump property.
12074
12075 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12076
12077         * tests/examples/manual/.cvsignore:
12078         OK, so it's actually cvsignore that needs changing. Stop laughing.
12079
12080 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12081
12082         * tests/examples/manual/Makefile.am:
12083         Gah, declare vars *before* using them
12084
12085 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12086
12087         * gst/gst.c: (init_pre), (scan_and_update_registry),
12088         (ensure_current_registry_nonforking),
12089         (ensure_current_registry_forking), (ensure_current_registry),
12090         (init_post), (gst_debug_help), (gst_deinit):
12091         * gst/gst_private.h:
12092         * gst/gstregistry.c: (gst_registry_finalize),
12093         (gst_registry_remove_features_for_plugin_unlocked),
12094         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12095         (gst_registry_scan_path),
12096         (_priv_gst_registry_remove_cache_plugins),
12097         (_priv_gst_registry_cleanup):
12098         * gst/gstregistry.h:
12099         Re-commit the registry changes, along with an extra fix:
12100           When a cached plugin is encountered at a different file path,
12101           update the stored path in the registry cache so that the parent
12102           process knows where it actually is now when it re-reads the registry
12103           cache. Fixes the thing that broke distcheck with the previous commit.
12104
12105         * tests/check/Makefile.am:
12106         Clean up files named 'core' too when running make clean.
12107
12108         * tests/examples/manual/Makefile.am:
12109         Set up a registry path for running these tests, and clean it properly
12110         for distcheck.
12111
12112 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12113
12114         * configure.ac:
12115         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12116         want gmodule-no-export-2.0.pc instead so that we don't drag in
12117         --export-dynamic on every project that links to GStreamer.
12118
12119         Also, make our export regex only match the start of symbols, rather 
12120         than any symbol that contains '_gst' somewhere.
12121
12122         * libs/gst/check/Makefile.am:
12123         The libgstcheck we build does however need export-dynamic, as it
12124         produces some symbols that don't match our _gst... style regex.
12125         Fixes: #318031
12126
12127 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12128
12129         * gst/gst.c: (init_pre), (scan_and_update_registry),
12130         (ensure_current_registry_nonforking),
12131         (ensure_current_registry_forking), (ensure_current_registry),
12132         (init_post), (gst_debug_help), (gst_deinit):
12133         * gst/gst_private.h:
12134         * gst/gstregistry.c: (gst_registry_finalize),
12135         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12136         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12137         (_gst_registry_cleanup):
12138         * gst/gstregistry.h:
12139           Revert previous change until I figure out why it breaks distcheck.
12140
12141 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12142
12143         * gst/gst.c: (init_pre), (scan_and_update_registry),
12144         (ensure_current_registry_nonforking),
12145         (ensure_current_registry_forking), (ensure_current_registry),
12146         (init_post), (gst_debug_help), (gst_deinit):
12147
12148           Make init_pre and init_post take the full complement of GOptionFunc
12149           args so they can return useful GErrors. Make the registry updating
12150           functions do so.
12151
12152           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12153           ensure that the registry we're about to write out doesn't contain
12154           stale information about old-deleted plugin files.
12155
12156           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12157           that deletion of plugin files is considered a registry change.
12158
12159         * gst/gst_private.h:
12160         * gst/gstregistry.c: (gst_registry_finalize),
12161         (gst_registry_remove_features_for_plugin_unlocked),
12162         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12163         (gst_registry_scan_path),
12164         (_priv_gst_registry_remove_cache_plugins),
12165         (_priv_gst_registry_cleanup):
12166         * gst/gstregistry.h:
12167         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12168         by adding _priv prefix, so that they won't appear in the global
12169         symbol table. They still do atm though because of #318031. Move the
12170         prototypes to gst_private.h
12171
12172         When removing a plugin, remove all features for that plugin too. 
12173         Fixes #340878.
12174
12175 2006-09-27  Wim Taymans  <wim@fluendo.com>
12176
12177         * docs/random/moving-plugins:
12178         Make it clear that the "compiled-in descriptions" really mean
12179         the element details.
12180
12181         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12182         (gst_base_sink_wait_preroll):
12183         Update docs.
12184
12185         * docs/libs/gstreamer-libs-sections.txt:
12186         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12187         (gst_base_src_get_range), (gst_base_src_activate_push):
12188         * libs/gst/base/gstbasesrc.h:
12189         Added function to block while waiting for PLAYING, this function
12190         is used by live sources that block on the clock.
12191         API: gst_base_src_wait_playing()
12192
12193 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12194
12195         Patch by: Peter Kjellerstedt <pkj at axis com>
12196
12197         * Makefile.am:
12198           gst-element-check.m4 is generated and should therefore be
12199           copied from the build dir rather than the source dir (#357593).
12200           'make distcheck' hasn't noticed this because we were disting
12201           the file as well, so stop doing that.
12202
12203 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12204
12205         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12206           Add some tests for gst_caps_intersect().
12207
12208         * tools/gst-launch.c: (event_loop):
12209           Print all buffering percentages we get, even the 100% one.
12210
12211 2006-09-26  Wim Taymans  <wim@fluendo.com>
12212
12213         * tools/gst-inspect.c: (print_element_properties_info),
12214         (print_signal_info):
12215         Fix printing of flags to match the look of enums.
12216
12217 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12218
12219         * gst/gstelementfactory.c:
12220           Fix typo in docs blurb.
12221
12222 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12223
12224         * gst/gsturi.c: (search_by_entry):
12225           Don't assert/crash here if a uri handler doesn't return any
12226           supported protocols. The list of protocols could be generated
12227           dynamically at runtime or at plugin registration, and an error
12228           in the underlying library shouldn't be fatal (#353301).
12229
12230 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12231
12232         * gst/gstinfo.c:
12233           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12234           (spotted by Peter Kjellerstedt).
12235
12236 2006-09-23  Wim Taymans  <wim@fluendo.com>
12237
12238         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12239
12240         * libs/gst/base/gstbasesrc.c:
12241         (gst_base_src_default_check_get_range), (gst_base_src_start),
12242         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12243         (gst_base_src_change_state):
12244         Match _start/_stop calls in the activate functions. Remove redundant
12245         _stop call from the state change function. Fixes #356910.
12246         Turn failure DEBUG into ERROR. 
12247
12248 2006-09-22  Wim Taymans  <wim@fluendo.com>
12249
12250         * docs/design/part-buffering.txt:
12251         * gst/gstmessage.c: (gst_message_new_buffering),
12252         (gst_message_parse_buffering):
12253         Update docs about buffering.
12254
12255         * docs/design/part-trickmodes.txt:
12256         Fix typo.
12257
12258 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12259
12260         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12261         (gst_controller_new_list):
12262           Ref instances when returning them again (fixes #357180)
12263
12264 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12265
12266         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12267           Don't forget to release proxy lock when there's an error.
12268
12269 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12270
12271         * gst/gstcaps.h:
12272           Add extra initialisers for Caps things, to fix some plugin warnings
12273           when using -Wextra
12274
12275 2006-09-18  Wim Taymans  <wim@fluendo.com>
12276
12277         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12278           Also set template on the internal pad so that a getcaps from the 
12279           target pad returns the template caps.
12280
12281 2006-09-18  Wim Taymans  <wim@fluendo.com>
12282
12283         * gst/gstelement.c: (gst_element_post_message),
12284         (gst_element_dispose):
12285         Use _DEBUG_OBJECT some more.
12286
12287         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12288         Avoid typechecks.
12289
12290         * tools/gst-launch.c: (main):
12291         If the toplevel element is not a GstPipeline, it must be put in a
12292         pipeline so that a bus and clock is selected.
12293
12294 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12295
12296         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12297           JITTER, RATE, and LATENCY query should be handled by the
12298           default case and not by the CONVERT query code.
12299
12300 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12301
12302         * gst/gstformat.c: (gst_format_register):
12303           Fix locking order (must take lock before using n_values).
12304
12305         * gst/gstvalue.c: (gst_value_serialize_enum),
12306         (gst_value_deserialize_enum_iter_cmp),
12307         (gst_value_deserialize_enum):
12308           Fix serialisation/deserialisation of custom registered GstFormats.
12309
12310         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12311           Unit test for custom format serialisation/deserialisation.
12312
12313 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12314
12315         * docs/pwg/building-boiler.xml:
12316         * plugins/elements/gstcapsfilter.c:
12317         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12318         section.
12319
12320 2006-09-16  Edward Hervey  <edward@fluendo.com>
12321
12322         * libs/gst/base/gstbasetransform.c:
12323         (gst_base_transform_buffer_alloc):
12324         Check if requested caps are the same as the sinks caps IF
12325         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12326         is FALSE.
12327         This fixes the renegotiation issues stated in #352827.
12328
12329 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12330
12331         * configure.ac:
12332         * docs/manual/advanced-autoplugging.xml:
12333         * tests/examples/Makefile.am:
12334         * tests/examples/manual/.cvsignore:
12335         * tests/examples/manual/Makefile.am:
12336         * tests/examples/manual/extract.pl:
12337           Extract the manual examples again like we used to do.
12338           Fix one of them.
12339
12340 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12341
12342         * win32/common/config.h:
12343           update for version
12344
12345 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12346
12347         * gst/gsterror.c:
12348           Documents how to receive errors.
12349
12350 2006-09-15  Wim Taymans  <wim@fluendo.com>
12351
12352         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12353         (event_loop), (main):
12354         Added some comments here and there.
12355         Post an application message when an interrupt is caught instead of doing
12356         an uncontrolled state change.
12357         Clean up the event loop.
12358         Handle buffering messages, pause/resume the pipeline.
12359         Make shutdown because of an interrupt more reliable.
12360
12361 2006-09-15  Wim Taymans  <wim@fluendo.com>
12362
12363         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12364         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12365         (gst_base_sink_preroll_object):
12366         Make sure that our internal state is correct when we commit our state
12367         asynchronously. This solves a race where a state change to PLAYING
12368         could cause the sink to remain blocked in preroll in some situations.
12369
12370 2006-09-15  Wim Taymans  <wim@fluendo.com>
12371
12372         * tools/gst-inspect.c: (print_element_properties_info),
12373         (print_signal_info):
12374         List flags as hex so it's easier to deal with.
12375
12376 2006-09-15  Wim Taymans  <wim@fluendo.com>
12377
12378         * docs/libs/gstreamer-libs-sections.txt:
12379         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12380         (gst_base_sink_do_sync):
12381         * libs/gst/base/gstbasesink.h:
12382         Expose logic to wait for preroll so that subclasses such as audiosink
12383         can also use this method.
12384         API: gst_base_sink_wait_preroll()
12385
12386 2006-09-15  Wim Taymans  <wim@fluendo.com>
12387
12388         * gst/gstobject.c: (gst_object_set_parent):
12389         * gst/gstpipeline.c: (do_pipeline_seek):
12390         Small cleanups in docs and code.
12391
12392         * gst/gstsegment.c: (gst_segment_clip):
12393         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12394         if stop == start and start is in the segment, no clipping should be
12395         done. Also add a test for this.
12396
12397 2006-09-15  Wim Taymans  <wim@fluendo.com>
12398
12399         * docs/design/part-buffering.txt:
12400         * docs/gst/gstreamer-sections.txt:
12401         * gst/gstmessage.c: (gst_message_new_buffering),
12402         (gst_message_parse_buffering):
12403         * gst/gstmessage.h:
12404         Added methods to create and parse BUFFERING messages.
12405         Added preliminary docs about buffering.
12406         API: gst_message_new_buffering
12407         API: gst_message_parse_buffering
12408
12409 2006-09-06  Wim Taymans  <wim@fluendo.com>
12410
12411         * gst/gstbin.c:
12412         Update documentation.
12413
12414         * gst/gstelement.c: (gst_element_class_init),
12415         (gst_element_release_request_pad), (gst_element_set_clock),
12416         (gst_element_get_index), (gst_element_add_pad),
12417         (gst_element_remove_pad), (gst_element_get_random_pad),
12418         (gst_element_send_event), (gst_element_get_query_types),
12419         (gst_element_query), (gst_element_post_message),
12420         (gst_element_message_full), (gst_element_continue_state),
12421         (gst_element_lost_state), (gst_element_save_thyself),
12422         (gst_element_restore_thyself):
12423         Documentation updates.
12424         Rename last bit of the new-pad -> pad-added signal rename.
12425         Fix the case where an element query would only work if the source
12426         pad was linked.
12427         Avoid some useless type checking in message handling.
12428
12429         * gst/gstevent.c:
12430         * gst/gstevent.h:
12431         * gst/gstutils.c:
12432         Documentation updates.
12433
12434 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12435
12436         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12437           add an INFO line for when we actually update the fd
12438
12439 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12440
12441         * configure.ac:
12442           back to TRUNK
12443
12444 === release 0.10.10 ===
12445
12446 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12447
12448         * configure.ac:
12449           releasing 0.10.10, "Pais"
12450
12451 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12452
12453         * docs/manual/advanced-position.xml:
12454           Fix typo in sample code.
12455
12456 2006-09-05  Wim Taymans  <wim@fluendo.com>
12457
12458         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12459         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12460         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12461         * libs/gst/net/gstnetclientclock.h:
12462         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12463         * libs/gst/net/gstnettimepacket.h:
12464         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12465         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12466         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12467         * libs/gst/net/gstnettimeprovider.h:
12468         Make stuff compile on windows. Fixes #345295.
12469
12470 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12471
12472         * gst/gst.c: (ensure_current_registry_forking):
12473           Print better details when child was terminated by signal.
12474
12475 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12476
12477         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12478           Print a warning rather than g_assert() if a plugin feature
12479           is a URI handler but returns no protocols (#353976).
12480
12481 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12482
12483         * docs/random/moving-plugins:
12484         Fix two typos.         
12485
12486 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12487
12488         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12489           Fix locking order, handle NULL function values properly.
12490
12491         * gst/gstinfo.h:
12492           Fix docs.
12493
12494         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12495           Initialise variable before using it and fix debug statement to
12496           print the address of the function rather than the address of the
12497           variable on the stack holding the address of the function.
12498
12499 2006-09-01  Wim Taymans  <wim@fluendo.com>
12500
12501         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12502         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12503         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12504         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12505         (gst_ghost_pad_parent_unset),
12506         (gst_ghost_pad_internal_do_activate_push),
12507         (gst_ghost_pad_internal_do_activate_pull),
12508         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12509         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12510         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12511         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12512         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12513         (gst_ghost_pad_new_no_target_from_template),
12514         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12515         More cleanups.
12516         Avoid needless typechecking in macros.
12517         Since the internal pad is always present and never changes, there is
12518         no need to locking or ref when retrieving it.
12519         Improve debugging a bit.
12520         Handle link errors when setting the target. Fixes #341029.
12521
12522 2006-09-01  Wim Taymans  <wim@fluendo.com>
12523
12524         * docs/libs/gstreamer-libs-sections.txt:
12525         * docs/plugins/gstreamer-plugins-sections.txt:
12526         Fix docs some more.
12527
12528         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12529         (gst_collect_pads_event):
12530         * libs/gst/base/gstcollectpads.h:
12531         Documentation updates.
12532         Free queued buffer when removing a pad.
12533
12534 2006-08-31  Michael Smith  <msmith@fluendo.com>
12535
12536         * gst/gstutils.c: (gst_element_link_pads),
12537         (gst_element_link_pads_filtered):
12538           Ensure that we set a capsfilter to NULL if we failed to link it
12539           when doing filtered linking, to avoid criticals.
12540
12541           No need to check for unreffing srcpad, which is explicly NULLed
12542           above (a trivial code cleanup).
12543
12544 2006-08-31  Wim Taymans  <wim@fluendo.com>
12545
12546         * docs/design/part-gstghostpad.txt:
12547         Update ascii art in documentation.
12548
12549         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12550         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12551         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12552         (gst_ghost_pad_internal_do_activate_push),
12553         (gst_ghost_pad_internal_do_activate_pull),
12554         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12555         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12556         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12557         (gst_ghost_pad_set_target):
12558         Small cleanups and leak fixes.
12559         Remove some checks now that the internal pad is never NULL.
12560         Fix the case where linking pads without a target would create nasty
12561         criticals. Fixes #341029.
12562         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12563         value of _set_target().
12564
12565         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12566         (gst_ghost_pad_suite):
12567         Some more tests for creating and linking untargeted ghostpads.
12568
12569 2006-08-31  Edward Hervey  <edward@fluendo.com>
12570
12571         * docs/gst/gstreamer-sections.txt:
12572         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12573         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12574         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12575         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12576         (gst_ghost_pad_new_from_template),
12577         (gst_ghost_pad_new_no_target_from_template):
12578         * gst/gstghostpad.h:
12579         Refactored *_new() functions.
12580         Templates are now used as a g_object_new() parameter.
12581         Use template in _do_getcaps() if we don't have a target.
12582         Small documentation cleanups.
12583         Added two new constructors:
12584         gst_ghost_pad_new_from_template()
12585         gst_ghost_pad_new_no_target_from_template()
12586         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12587         (gst_ghost_pad_suite):
12588         Added tests for new ghostpad instanciation functions.
12589
12590         API additions: gst_ghost_pad_new_from_template,
12591         gst_ghost_pad_new_no_target_from_template
12592
12593 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12594
12595         * docs/random/ensonic/profiling.txt:
12596           Ideas about qos profiling.
12597
12598 2006-08-29  Wim Taymans  <wim@fluendo.com>
12599
12600         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12601         Code cleanups.
12602         Fix memleak.
12603
12604 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12605
12606         * gst/gstxml.c:
12607           Improve and detypofy docs.
12608
12609         * tests/check/Makefile.am:
12610         * tests/check/gst/.cvsignore:
12611         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12612           Add a basic test suite for GstXML.
12613
12614 2006-08-29  Wim Taymans  <wim@fluendo.com>
12615
12616         * gst/gstelement.c: (activate_pads), (clear_caps),
12617         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12618         Clear the pad caps when the element shut down all of the pads and
12619         is not streaming data that could modify the caps. 
12620         Fixes #352958.
12621
12622 2006-08-28  Michael Smith  <msmith@fluendo.com>
12623
12624         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12625           Revert previous change; I misunderstood single-segment mode.
12626
12627 2006-08-28  Michael Smith  <msmith@fluendo.com>
12628
12629         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12630           Unset DISCONT on buffers when using single-segment mode.
12631
12632 2006-08-28  Wim Taymans  <wim@fluendo.com>
12633
12634         * gst/gstcaps.c: (gst_caps_merge_structure):
12635         * gst/gstcaps.h:
12636         Fix docs and indentation again.
12637
12638         * tests/check/gst/gstquery.c: (GST_START_TEST):
12639         Fix leak in tests and add some more tests.
12640
12641 2006-08-28  Edward Hervey  <edward@fluendo.com>
12642
12643         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12644         Inform GstSegment of the last stop position in order for the current
12645         segment to have a proper duration if it doesn't have a specific stop
12646         position from which a duration could be calculated.
12647         This bug was noticeable when a non-flushing, non-update new segment was
12648         followed by another segment (all buffers from the new segment were being
12649         dropped).
12650
12651 2006-08-28  Wim Taymans  <wim@fluendo.com>
12652
12653         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12654         Small comment update.
12655
12656         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12657         (gst_identity_transform_ip):
12658         Drop-probability is broken, mention this in the code with a 
12659         FIXME and also in the property description.
12660         Make silent also be silent about the drop messages.
12661
12662 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12663
12664         * docs/manual/appendix-win32.xml:
12665           Remove mention of popt, we don't depend on that any
12666           longer (#353136). Add some comments pointing out that
12667           this section is slightly outdated.
12668
12669 2006-08-28  Wim Taymans  <wim@fluendo.com>
12670
12671         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12672
12673         * gst/gstquery.c: (gst_query_new_segment):
12674         * tests/check/gst/gstquery.c: (GST_START_TEST):
12675         Initialize variables when creating a new segment query.
12676         Fixes #353121.
12677
12678 2006-08-28  Wim Taymans  <wim@fluendo.com>
12679
12680         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12681
12682         * gst/gstelement.c: (gst_element_get_bus):
12683         * tests/check/gst/gstelement.c: (GST_START_TEST):
12684         Check for NULL before _reffing the bus. Fixes #353122.
12685
12686 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12687
12688         * docs/manual/basics-bus.xml:
12689           Docs update: fix wrong callback return value explanation; add
12690           some lines about the implicit relationship between main loop
12691           and main context; remove duplicate main loop variable declaration.
12692
12693 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12694
12695         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12696           Don't leak caps in unit test; add a few more simple
12697           checks. 
12698
12699 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12700
12701         * docs/gst/gstreamer-sections.txt:
12702         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12703         (gst_caps_structure_is_subset), (gst_caps_merge),
12704         (gst_caps_merge_structure):
12705         * gst/gstcaps.h:
12706         * libs/gst/base/gstbasetransform.c:
12707         (gst_base_transform_transform_caps):
12708         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12709           implement caps merging (fixes #352580)
12710
12711 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12712
12713         * tools/Makefile.am:
12714         * tools/gst-plot-timeline.py:
12715           add debug-log plotting developer tool (#340674)
12716
12717 2006-08-23  Wim Taymans  <wim@fluendo.com>
12718
12719         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12720         (gst_pad_stop_task):
12721         Improve debugging for task functions.
12722
12723         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12724         (gst_task_start), (gst_task_pause), (gst_task_join):
12725         Make sure that the task function started and finished after a 
12726         join(). 
12727         Don't try to push the task function on the threadpool multiple
12728         times.
12729         Improve the g_warning message with some useful suggestions
12730         about how to fix the problem. 
12731
12732 2006-08-23  Wim Taymans  <wim@fluendo.com>
12733
12734         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12735         Handle RESYNC correctly in _proxy_getcaps.
12736
12737 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12738
12739         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12740         (gst_xml_parse_memory), (gst_xml_get_element):
12741           Chain up to parent class in dispose function and also
12742           unref the elements in the toplevel_elements GList.
12743           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12744           Always return a reference in gst_xml_get_element() rather
12745           than only sometimes.
12746
12747         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12748           Don't leak GstXml object.
12749
12750 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12751
12752         * docs/gst/gstreamer-sections.txt:
12753         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12754         (gst_caps_merge):
12755         * gst/gstcaps.h:
12756         * libs/gst/base/gstbasetransform.c:
12757         (gst_base_transform_transform_caps):
12758           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12759           in a better way
12760
12761 2006-08-21  Edward Hervey  <edward@fluendo.com>
12762
12763         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12764         Implement GObject::dispose virtual method in GstXML so we can free the
12765         top_elements GList.
12766
12767 2006-08-21  Wim Taymans  <wim@fluendo.com>
12768
12769         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12770         (gst_buffer_create_sub):
12771         Copy duration/offset_end/caps when creating a subbuffer of the
12772         complete parent.
12773         Make the subbuffer read-only when we make the metadata writable for
12774         now. Fixes #351768.
12775
12776         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12777         Added check for metadata copy when creating subbuffers.
12778
12779 2006-08-21  Edward Hervey  <edward@fluendo.com>
12780
12781         * libs/gst/base/gstbasetransform.c:
12782         (gst_base_transform_buffer_alloc):
12783         Only call downstream buffer_alloc if transform element is passthrough
12784         or always_in_place. Closes #350449.
12785
12786 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12787
12788         * ChangeLog:
12789           ChangeLog surgery to add comments to previous changes
12790
12791 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12792
12793         * gst/gst.c:
12794           Add comments
12795
12796         * gst/gstpad.c: (gst_pad_set_active):
12797           Be more verbose in the log
12798
12799         * libs/gst/base/gstbasetransform.c:
12800         (gst_base_transform_transform_caps):
12801           Simplify caps to get rid of duplicates, fixes #345444
12802
12803 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12804
12805         * gst/gstvalue.c:
12806         * gst/gstvalue.h:
12807           Use these optimizations only internally.
12808
12809 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12810
12811         * gst/gstvalue.c: (gst_value_compare_list),
12812         (gst_value_compare_fraction_range),
12813         (gst_value_intersect_fraction_fraction_range),
12814         (gst_value_intersect_fraction_range_fraction_range),
12815         (gst_value_subtract_fraction_fraction_range),
12816         (gst_value_subtract_fraction_range_fraction_range),
12817         (gst_value_get_compare_func), (gst_value_compare),
12818         (gst_value_compare_with_func):
12819         * gst/gstvalue.h:
12820           Saves the expensive lookup of the compare function in many cases
12821          (#345444)
12822
12823 2006-08-18  Edward Hervey  <edward@fluendo.com>
12824
12825         * tests/check/gst/gstinfo.c: (gst_info_suite):
12826         Disable test that require gstdebug if it wasn't built in core.
12827
12828 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12829
12830         * docs/random/ensonic/logging.txt:
12831           update ideas
12832           
12833         * gst/gstinfo.c: (gst_debug_log_default):
12834           reorder fields, save some columns, add optional color codes for log
12835           levels
12836
12837 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12838
12839         * docs/random/ensonic/logging.txt:
12840           add ideas about making the logs a bit more useful
12841
12842 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12843
12844         * docs/pwg/advanced-events.xml:
12845         * docs/pwg/titlepage.xml:
12846           Update for 0.10 API (#340627). Add myself
12847           to authors list.
12848
12849 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12850
12851         * docs/libs/gstreamer-libs-docs.sgml:
12852         * docs/libs/gstreamer-libs-sections.txt:
12853         * libs/gst/check/gstbufferstraw.c:
12854           Make gstcheck stuff show up in docs (still needs to
12855           be documented properly though).
12856
12857 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12858
12859         * docs/gst/gstreamer-sections.txt:
12860         * gst/Makefile.am:
12861         * gst/gst.c: (init_post):
12862         * gst/gst_private.h:
12863         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12864         * gst/gstquark.h:
12865         * gst/gstquery.c: (gst_query_new_position),
12866         (gst_query_set_position), (gst_query_parse_position),
12867         (gst_query_new_duration), (gst_query_set_duration),
12868         (gst_query_parse_duration), (gst_query_new_convert),
12869         (gst_query_set_convert), (gst_query_parse_convert),
12870         (gst_query_new_segment), (gst_query_set_segment),
12871         (gst_query_parse_segment), (gst_query_new_seeking),
12872         (gst_query_set_seeking), (gst_query_parse_seeking):
12873         Add internal helpers for pre-registering quarks from static strings
12874         and using the quark values directly instead of looking them up when
12875         creating and parsing queries. Can be used for event construction too.
12876         Closes #350432.
12877
12878 2006-08-16  Wim Taymans  <wim@fluendo.com>
12879
12880         * gst/gstbin.c:
12881         Fix bogus docs.
12882
12883 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12884
12885         * gst/gstutils.c: (gst_util_set_value_from_string):
12886           Fix memleak (#351502).
12887
12888         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12889           Add unit test for most of gst_util_set_value_from_string()
12890           (not that one would want to encourage use of this function).
12891
12892 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12893
12894         * libs/gst/check/gstcheck.h:
12895           Use const gchar * variables in fail_unless_equals_string
12896           macro to avoid compiler warnings (and don't use tabs for
12897           indenting).
12898
12899 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12900
12901         * tools/gst-launch.c: (print_tag):
12902           More space on the left for the tag names, to cater
12903           for the 'extended comment' tag (not touching the
12904           string for the first line since it's translated).
12905
12906 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12907
12908         * libs/gst/check/gstcheck.h:
12909           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12910           print something when they fail.
12911
12912 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12913
12914         * docs/gst/gstreamer-sections.txt:
12915         * gst/gsttaglist.c: (_gst_tag_initialize):
12916         * gst/gsttaglist.h:
12917           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12918           Also change merge function for GST_TAG_COMMENT to
12919           use_first.
12920
12921 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12922
12923         * gst/gstinfo.c: (gst_debug_print_object):
12924           Make GST_PTR_FORMAT print messages as well.
12925
12926         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12927         (GST_START_TEST), (gst_info_suite):
12928           More tests.
12929
12930 2006-08-14  Edward Hervey  <edward@fluendo.com>
12931
12932         * gst/gstelementfactory.c: (gst_element_register):
12933         If the GstElementClass doesn't have a GstElementDetails with all fields
12934         filled up correctly (longname, description AND author), then error out
12935         nicely instead of crashing.
12936
12937 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12938
12939         * gst/gststructure.c:
12940           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12941
12942         * gst/gstvalue.h:
12943           Expand on the difference between arrays and lists as we use them.
12944           
12945 2006-08-14  Wim Taymans  <wim@fluendo.com>
12946
12947         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12948         If the parent state change function failed, don't assume we can safely
12949         stop the source, this will be done when the pads are deactivated.
12950
12951 2006-08-14  Wim Taymans  <wim@fluendo.com>
12952
12953         * gst/gstbuffer.c:
12954         * gst/gsttask.c: (gst_task_join):
12955         Small doc updates.
12956
12957         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12958         (gst_pad_stop_task):
12959         When pad (de)activation failed for some reason, restore the old
12960         activation mode and set the pad to flushing instead of assuming the
12961         pad is deactivated.
12962         If the _task_join() failed, reinstall the task on the pad so that it can
12963         be stopped later and return an error.
12964
12965 2006-08-11  Andy Wingo  <wingo@pobox.com>
12966
12967         * configure.ac:
12968         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12969         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12970         is only for users of API that don't want to see deprecated
12971         functions in the headers; people that want to compile out
12972         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12973         CFLAGS. Fixes the build of multifdsink, or will soon..
12974
12975 2006-08-11  Wim Taymans  <wim@fluendo.com>
12976
12977         * docs/gst/gstreamer-sections.txt:
12978         Add GstClockClass vmethod docs.
12979
12980         * gst/gstcaps.h:
12981         Mark #endif with comment for associated #if
12982
12983         * gst/gstclock.c: (gst_clock_id_wait):
12984         * gst/gstclock.h:
12985         Add vmethod wait_jitter to avoid an unneeded _get_time() for
12986         most clock implementations.
12987         Document vmethods.
12988         Flesh out docs about resolution methods.
12989         API: GstClockClass::wait_jitter
12990
12991         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12992         (gst_system_clock_async_thread),
12993         (gst_system_clock_id_wait_jitter_unlocked),
12994         (gst_system_clock_id_wait_jitter):
12995         Use base class wait_jitter variant for improved performance
12996         due to less clock polling.
12997
12998 2006-08-11  Edward Hervey  <edward@fluendo.com>
12999
13000         * gst/gst.c: (gst_init_check), (init_post):
13001         Set gst as being initialized before scanning/updating the registry,
13002         since there might be my python plugin loader that calls gst_init() and
13003         we don't want to loop back in.
13004         Closes #350879
13005
13006 2006-08-11  Wim Taymans  <wim@fluendo.com>
13007
13008         * docs/design/part-qos.txt:
13009         Bring docs in line with the code. Mostly the sign of the jitter was
13010         wrong in the docs. Fixes #349943.
13011
13012         * gst/gstclock.c:
13013         Fix the docs for the jitter.
13014
13015         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13016         (gst_event_parse_tag), (gst_event_new_buffer_size),
13017         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13018         (gst_event_new_seek), (gst_event_parse_seek),
13019         (gst_event_new_navigation):
13020         Make sure the GstStructure has no parent when creating custom
13021         events.
13022         Add some more argument checking so that we avoid 0.0 rates.
13023         Flesh out the docs for the QoS event some more.
13024
13025 2006-08-11  Wim Taymans  <wim@fluendo.com>
13026
13027         * docs/gst/gstreamer-sections.txt:
13028         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13029         (ensure_current_registry_forking), (ensure_current_registry),
13030         (parse_one_option), (parse_goption_arg), (gst_deinit),
13031         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13032         * gst/gst.h:
13033         Doc updates.
13034         Added API and command line option to disable registry forking in
13035         addition to the environment variable.
13036         Constify some static arrays.
13037         Added some more debug.
13038         Don't deinit twice.
13039         API: gst_registry_fork_is_enabled()
13040         API: gst_registry_fork_set_enabled()
13041         API: --gst-disable-registry-fork command line option
13042         Fixes #348918.
13043
13044 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13045
13046         * gst/gst.c: (gst_init):
13047           Fix typo in error message.
13048
13049 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13050
13051         * libs/gst/controller/gstcontroller.h:
13052           fix ABI size-correction
13053
13054         * tests/check/libs/gdp.c: (gst_dp_suite):
13055           make tests that use deprecated API conditional
13056
13057 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13058
13059         * docs/libs/gstreamer-libs-sections.txt:
13060         * libs/gst/controller/gstcontroller.c:
13061         (_gst_controller_get_property), (_gst_controller_set_property),
13062         (_gst_controller_init), (_gst_controller_class_init):
13063         * libs/gst/controller/gstcontroller.h:
13064         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13065         (gst_object_set_control_rate):
13066           API: add gst_object_{s,g}et_control_rate(), add private data section,
13067           fix docs
13068
13069         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13070         * libs/gst/dataprotocol/dataprotocol.h:
13071           add deprecation guards to make gtk-doc happy and allow disabling cruft
13072
13073 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13074
13075         * tests/check/Makefile.am:
13076         * tests/check/gst/.cvsignore:
13077           Let's enable the new unit test as well.
13078
13079 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13080
13081         * configure.ac:
13082         * docs/gst/gstreamer-sections.txt:
13083         * gst/gstconfig.h.in:
13084         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13085         (_gst_info_printf_extension_ptr),
13086         (_gst_info_printf_extension_segment):
13087           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13088           register that lets us easily dump GstSegments into debug
13089           logs (#350419).
13090
13091         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13092         (info_segment_format_printf_extension), (gst_info_suite):
13093           Add simple unit test that logs a bunch of different segments (not
13094           valgrinded at the moment because of leaks in
13095           gst_debug_add_log_function).
13096
13097 2006-08-09  Edward Hervey  <edward@fluendo.com>
13098
13099         * libs/gst/base/gstbasetransform.c:
13100         (gst_base_transform_buffer_alloc):
13101         Even if we can't figure out the proper format to request downstream,
13102         call buffer_alloc() downstream with the input parameters without setting
13103         the caps on the srcpad. This will force negotiation in the chain
13104         function.
13105         Closes #350449
13106
13107 2006-08-08  Edward Hervey  <edward@fluendo.com>
13108
13109         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13110         Unlinking from a pad without a target is now a perfectly valid case
13111         which should NOT raise an assertion.
13112         This case would happen if a linked ghostpad its target set to NULL after
13113         it was previously linked.
13114
13115 2006-08-08  Edward Hervey  <edward@fluendo.com>
13116
13117         * tests/check/libs/gdp.c:
13118         Also comment out the test (see below).
13119
13120 2006-08-08  Edward Hervey  <edward@fluendo.com>
13121
13122         * tests/check/libs/gdp.c: (gst_dp_suite):
13123         Use the architecture information from config.h and not gcc macros
13124         in order to properly disable a test that fails on PPC64.
13125
13126 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13127
13128         * gst/gstelement.c: (gst_element_remove_pad):
13129           Don't crash printing the warning if the pad has no parent.
13130
13131 2006-08-02  Wim Taymans  <wim@fluendo.com>
13132
13133         * libs/gst/dataprotocol/dataprotocol.c:
13134         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13135         (gst_dp_crc), (gst_dp_header_payload_length),
13136         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13137         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13138         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13139         (gst_dp_event_from_packet), (gst_dp_validate_header),
13140         (gst_dp_validate_payload):
13141         Make debug category static
13142         Constify the crc table.
13143         Do some more arg checking in public functions.
13144         Fix some docs and do some small cleanups.
13145
13146         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13147         Add some more checks to see if GDP deals with bogus input.
13148
13149 2006-07-31  Wim Taymans  <wim@fluendo.com>
13150
13151         * gst/gstvalue.c: (gst_value_compare_list):
13152         Fix GstValueList comparison code. Fixes #347293.
13153
13154         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13155         Check to test GstValueList comparison.
13156
13157 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13158
13159         * gst/gstelementfactory.c: (gst_element_factory_create):
13160         Remove unnecessary ref/unref pair
13161
13162         * gst/parse/grammar.y:
13163         Make sure to free the parse buffer on all code paths.
13164         Move a g_free up to the error handler where it's easier to see.
13165
13166         * tests/check/gst/gstevent.c: (test_event):
13167         Extending timeout for downstream travelling events to 10 seconds to
13168         hopefully avoid intermittent failure on the buildbots.
13169
13170         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13171         Don't manually set the state of the src element - it will happen as a
13172         natural consequence of the pipeline changing state, and that way it
13173         will do it in the right order too.
13174
13175 2006-07-31  Wim Taymans  <wim@fluendo.com>
13176
13177         * libs/gst/base/gstbasetransform.c:
13178         (gst_base_transform_buffer_alloc):
13179         Use OBJECT_LOCK and refcounting to get the pad caps in the
13180         buffer_alloc function because the caps could change while we are
13181         busy with them. Fixes #349105
13182
13183 2006-07-31  Wim Taymans  <wim@fluendo.com>
13184
13185         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13186         Protect _PAD_CAPS with OBJECT_LOCK.
13187
13188 2006-07-31  Wim Taymans  <wim@fluendo.com>
13189
13190         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13191         (gst_pad_get_property), (gst_pad_activate_pull),
13192         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13193         (gst_pad_set_activate_function),
13194         (gst_pad_set_activatepull_function),
13195         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13196         (gst_pad_set_getrange_function),
13197         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13198         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13199         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13200         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13201         (gst_pad_set_acceptcaps_function),
13202         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13203         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13204         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13205         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13206         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13207         (gst_pad_configure_sink), (gst_pad_configure_src),
13208         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13209         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13210         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13211         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13212         (gst_pad_send_event):
13213         Use _DEBUG_OBJECT when it makes sense.
13214         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13215         Small cleanups and code reflows.
13216         Avoid caps refcounting in _accept_caps.
13217         Refactor alloc_buffer so that the code performed on the peer is in a
13218         separate function. Also if the pad does not implement a buffer alloc
13219         function, we should still check if the pad is flushing before falling
13220         back to the default allocator.
13221
13222 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13223
13224         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13225         Make all uses of identity and fakesink have silent=true to avoid
13226         serialising every passing data structure, which is breaking tests
13227         on FC4 for some unknown reason.
13228
13229 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13230
13231         * gst/parse/Makefile.am:
13232         * gst/parse/grammar.y:
13233         * gst/parse/parse.l:
13234           Reverted previous patch as it required to bump the flex dependency to
13235           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13236
13237 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13238
13239         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13240
13241         * gst/parse/Makefile.am:
13242         * gst/parse/grammar.y:
13243         * gst/parse/parse.l:
13244           push & pop the state of the lexer for reentrant use case
13245           Fixes #349180
13246
13247 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13248
13249         * libs/gst/base/gstbasesrc.h:
13250           Note in the docs that the ::newsegment vfunc is not actually used by
13251           GstBaseSrc.
13252
13253 2006-07-28  Wim Taymans  <wim@fluendo.com>
13254
13255         * libs/gst/base/gstcollectpads.c:
13256         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13257         (gst_collect_pads_clear), (gst_collect_pads_flush),
13258         (gst_collect_pads_event), (gst_collect_pads_chain):
13259         When flushing a pad, also clear the queued buffer so that we don't
13260         accidentally use it when we shouldn't.
13261         Fix leaks by inreffing incomming buffer.
13262         Flush out queued buffers in case of errors.
13263         Fixes #347452.
13264
13265 2006-07-28  Wim Taymans  <wim@fluendo.com>
13266
13267         * docs/random/phonon-gst:
13268         Random notes about a Phonon backend.
13269
13270 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13271
13272         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13273         Extra debug output
13274         * tests/check/libs/gdp.c: (gst_dp_suite):
13275         Take a whack at fixing the ppc compile using a different define to
13276         disable the broken test.
13277
13278         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13279         Remove excess g_print()
13280
13281 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13282
13283         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13284         Oops, meant to uncomment this line too to dampen the noise a bit.
13285
13286 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13287
13288         * gst/parse/grammar.y:
13289         * gst/parse/parse.l:
13290         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13291         (GST_START_TEST), (parse_suite):
13292         Fix some of the leaks exposed by extending the parse-launch testsuite,
13293         and move the 3 I can't figure out into a separate test that won't run
13294         the pipelines unless the appropriate line is uncommented.
13295
13296 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13297
13298         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13299           Requesting 0 bytes before the end of the file should result in
13300           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13301           unit test.
13302
13303 2006-07-27  Wim Taymans  <wim@fluendo.com>
13304
13305         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13306         Fix useless assert, a uint is always positive.
13307
13308         * gst/gststructure.c: (gst_structure_nth_field_name),
13309         (gst_structure_foreach), (gst_structure_map_in_place):
13310         Check input arguments for public functions to avoid obvious crashes.
13311
13312         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13313         * plugins/elements/gstfakesink.h:
13314         Do less useless typechecking.
13315
13316 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13317
13318         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13319           Do not use mmap() by default since there are a number of error
13320           conditions that we would like to handle in a non-fatal way that
13321           will result in a SIGBUS if we use mmap(). Examples: external
13322           devices (USB harddrive, portable music player) being unplugged
13323           while in use; file on mounted CD/DVD that can't be read because
13324           the medium is partly damaged. Fixes #348455 and #348475.
13325
13326 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13327
13328         * gst/gstquery.h:
13329         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13330         rates are a gdouble
13331
13332 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13333
13334         * gst/gstregistry.c:
13335           Move big documentation comment into class section header, so that it
13336           appears in the API docs.
13337
13338 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13339
13340         * docs/gst/gstreamer-sections.txt:
13341         Oops. Commit the docs additions too for new API.
13342         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13343
13344 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13345
13346         * gst/gststructure.c: (gst_structure_id_set),
13347         (gst_structure_id_set_valist):
13348         * gst/gststructure.h:
13349         Add API for setting values into structures without performing
13350         a quark lookup, if the appropriate quark is already known.
13351
13352         API: gst_structure_id_set
13353         API: gst_structure_id_set_valist
13354
13355         * gst/parse/grammar.y:
13356         * gst/parse/parse.l:
13357         Remove some dead code shown by the coverage information.
13358         Don't throw a critical g_warning when encountering a syntax error,
13359         just warn and let the normal error path handle it.
13360
13361         * plugins/elements/gstelements.c:
13362         Bump the rank of filesink up to PRIMARY so that it is preferred over
13363         gnomevfssink for file:// sink uri's
13364
13365         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13366         (GST_START_TEST), (run_delayed_test),
13367         (gst_parse_test_element_base_init),
13368         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13369         (gst_parse_test_element_change_state),
13370         (gst_register_parse_element), (parse_suite):
13371         Beef up the tests for parse syntax to check that more error cases
13372         fail as they are supposed to. Increases the test coverage a bit.
13373
13374 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13375
13376         * docs/manual/basics-elements.xml:
13377           Fix gst_element_link() example.
13378
13379         * gst/gstutils.c:
13380           Mention in API docs that one should usually gst_bin_add()
13381           elements to a bin or pipeline before doing the linking.
13382           
13383 2006-07-26  Wim Taymans  <wim@fluendo.com>
13384
13385         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13386         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13387         Avoid function call for known types by keeping the buffer and
13388         subbuffer GType global.
13389
13390         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13391         Random silly optimisations in read() path.
13392
13393 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13394
13395         * tools/gst-launch.c: (main):
13396           If the top-level of the parse is a normal bin, it doesn't do the
13397           right logic to run as a top-level element, so place it inside a
13398           pipeline.
13399
13400 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13401
13402         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13403           Remove superfluous g_object_notify() calls, GObject does
13404           that for us automatically.
13405
13406 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13407
13408         * gst/gstinfo.h:
13409           on Win32, use dllspec to export the debug category symbols
13410
13411 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13412
13413         * gst/gsttaglist.c: (_gst_tag_initialize):
13414           Allow more than one GST_TAG_IMAGE per taglist.
13415
13416 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13417
13418         * gst/gstminiobject.c:
13419           update docs
13420         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13421         (gst_fd_src_create):
13422           log recurring events at LOG level
13423           add more debug for when the fd gets set
13424
13425 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13426
13427         * gst/gstparse.c: (gst_parse_launch):
13428           Also remove reentrance checks if flex is MT safe (#348179)
13429          Fix my empty ChangeLog entry below
13430
13431 2006-07-21  Andy Wingo  <wingo@pobox.com>
13432
13433         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13434
13435         * libs/gst/check/Makefile.am
13436         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13437         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13438         * libs/gst/check/gstbufferstraw.h:
13439         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13440         functions, thus proving I am still a GStreamer haxor. OK I wrote
13441         them a long time ago, but anyways.
13442
13443 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13444
13445         * configure.ac:
13446         * gst/gstparse.c: (gst_parse_launch):
13447           Check for flex version and omit mutex if we have a MT save flex
13448           (fixes #348179)
13449
13450 2006-07-21  Wim Taymans  <wim@fluendo.com>
13451
13452         * gst/gstparse.c: (gst_parse_launch):
13453         Protect recursive calls to _parse with a recursive mutex
13454         and busy flag.
13455
13456 2006-07-21  Wim Taymans  <wim@fluendo.com>
13457
13458         * tests/check/gst/gstpad.c: (GST_START_TEST):
13459         Fix leak in test.
13460
13461 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13462
13463         * gst/gstparse.c: (gst_parse_launch):
13464           Do not hang on recursive usage of gst_parse_launch()
13465
13466 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13467
13468         * gst/gsttaglist.c:
13469           Add some more docs, comments and FIXME 0.11s here and there
13470           and also fix some typos.
13471
13472 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13473
13474         * gst/gstsegment.h:
13475           Convert tabs to spaces for better readability. 
13476
13477 2006-07-20  Edward Hervey  <edward@fluendo.com>
13478
13479         * tests/check/libs/gdp.c: (gst_dp_suite):
13480         the test_buffer test fails at line 140 on ppc64 at the following
13481         check:
13482         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13483                 GST_BUFFER_FLAG_IN_CAPS),
13484                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13485         See bug #348114 for more details.
13486
13487 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13488
13489         * docs/pwg/advanced-scheduling.xml:
13490         * gst/gstpad.c:
13491           Fix typos (#348000).
13492
13493 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13494
13495         * docs/pwg/intro-basics.xml:
13496           Fix wrong links (#347927).
13497
13498 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13499
13500         * gst/gstregistry.h:
13501         * gst/gstregistryxml.c: (load_feature),
13502         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13503         * win32/common/config.h:
13504           make --disable-index work (#342564)
13505
13506 2006-07-18  Wim Taymans  <wim@fluendo.com>
13507
13508         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13509
13510         * gst/Makefile.am:
13511         * gst/gsttrace.h:
13512         The attached patch adds two missing defines to gsttrace.h when tracing
13513         is disabled.  It also corrects one existing define.
13514         Fixes #347756.
13515
13516 2006-07-17  Wim Taymans  <wim@fluendo.com>
13517
13518         * docs/gst/gstreamer-sections.txt:
13519         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13520         * gst/gst.h:
13521         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13522         Add two functions to check and change the SIGSEGV behaviour
13523         when loading plugins.
13524         Don't mess with the SIGSEGV handler when we were told not to.
13525         Fixes #347794.
13526         API: gst_segtrap_is_enabled
13527         API: gst_segtrap_set_enabled
13528
13529 2006-07-14  Wim Taymans  <wim@fluendo.com>
13530
13531         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13532         * tests/check/elements/filesrc.c: (GST_START_TEST):
13533         Revert fix for regression in #347408 after release.
13534
13535 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13536
13537         Patch by: Antoine Tremblay <hexa00 at gmail com>
13538
13539         * gst/gstutils.c: (gst_element_unlink):
13540           Free iterator when done (#347311).
13541
13542         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13543           And add a test case for this.
13544
13545 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13546
13547         * configure.ac:
13548         Bump nano back to CVS
13549
13550 === release 0.10.9 ===
13551
13552 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13553
13554         * configure.ac:
13555           releasing 0.10.9, "On the road again"
13556
13557 2006-07-13  Wim Taymans  <wim@fluendo.com>
13558
13559         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13560         * tests/check/elements/filesrc.c: (GST_START_TEST):
13561         Revert pull-0 fix for release. Disable check. Fixes #347408.
13562
13563 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13564
13565         * libs/gst/dataprotocol/dataprotocol.c:
13566         (gst_dp_event_from_packet_1_0):
13567           Fixes #347337: failure to deserialize event packets with
13568           empty payload (only event type)
13569
13570 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13571
13572         * gst/Makefile.am:
13573           do not install a .c file in the header directory
13574
13575 2006-07-13  Edward Hervey  <edward@fluendo.com>
13576
13577         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13578         GhostPad no longer implicitely use the padtemplates of the targets.
13579         Fixes #347384
13580
13581 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13582
13583         * gst/gstvalue.c: (gst_value_compare_list),
13584         (gst_value_compare_array), (_gst_value_initialize):
13585         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13586         Make GstValueArray comparison be order dependent as designed.
13587         Add checks for value lists and value array comparisons.
13588         Fixes #347221
13589
13590 2006-07-11  Edward Hervey  <edward@fluendo.com>
13591
13592         * gst/gstbin.c: (activate_pads),
13593         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13594         (gst_bin_change_state_func):
13595         (de)activate src pads before calling state_change on the childs.
13596         This is to avoid the case where a src ghostpad is blocked (holding the
13597         stream lock), which would block the deactivation of the ghostpad's
13598         target pad.
13599         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13600         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13601         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13602         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13603         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13604         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13605         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13606         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13607         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13608         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13609         (gst_ghost_pad_class_init),
13610         (gst_ghost_pad_internal_do_activate_push),
13611         (gst_ghost_pad_internal_do_activate_pull),
13612         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13613         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13614         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13615         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13616         GhostPads now create their internal GstProxyPad at creation (and not
13617         when they're linked, as it was being done previously).
13618         The internal and target pads are linked straight away.
13619         The data will also travel through the other pad in order to make
13620         pad blocking and probes non-hackish (the probe/block now really happens
13621         on the GhostPad and not on the target).
13622         * gst/gstpad.c: (gst_pad_set_blocked_async),
13623         (gst_pad_link_prepare), (gst_pad_push_event):
13624         Remove previous ghostpad cruft.
13625         * gst/gstutils.c: (gst_pad_add_data_probe),
13626         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13627         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13628         (gst_pad_remove_buffer_probe):
13629         Remove previous ghost pad cruft.
13630         Added more detailed debug statements.
13631         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13632         Fix the testsuite for refcounting changes.
13633         The comments about who has references were correct, but the refcount
13634         being checked wasn't the same (!?!).
13635
13636         Fixes #341029
13637
13638 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13639
13640         * docs/gst/gstreamer-sections.txt:
13641         * gst/gstconfig.h.in:
13642         More docs for configuration options, add docs to gtk-doc.
13643
13644 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13645
13646         * gst/Makefile.am:
13647         * gst/gstconfig.h.in:
13648         * win32/common/config.h:
13649         Fix build when disabling tracing (fixes #344016). Also start to document
13650         the defines that disable the sub-systems.
13651
13652 2006-07-10  Edward Hervey  <edward@fluendo.com>
13653
13654         * gst/gst.c: (ensure_current_registry_forking):
13655         let's make valgrind happy...
13656
13657 2006-07-09  Wim Taymans  <wim@fluendo.com>
13658
13659         * gst/gstelement.c: (activate_pads),
13660         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13661         Better pad activation code: Reset the collect value too on resync.
13662         Add some comments.
13663
13664 2006-07-09  Wim Taymans  <wim@fluendo.com>
13665
13666         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13667         (gst_pad_activate_push):
13668         Use some more macros where it makes sense.
13669         Allow pad mode switching instead of asserting. When a pad
13670         is activated in one mode and we activate it in another, 
13671         deactivate it first before activating it in a different mode.
13672         Fixes #329198.
13673
13674 2006-07-08  Andy Wingo  <wingo@pobox.com>
13675
13676         * tools/gst-launch.c (main): Handle err == NULL.
13677
13678         * gst/gst.c (init_post, ensure_current_registry)
13679         (ensure_current_registry_forking)
13680         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13681         factoring out the registry scanning into separate functions. Don't
13682         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13683         Better environment var name/interface suggestions accepted.
13684
13685 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13686
13687         * gst/gstobject.c: (gst_object_set_name_default),
13688         (gst_object_set_name):
13689           Random micro-optimisation: don't use a hash table
13690           with strings as keys and the usual strdup/strcmp
13691           involved, but rather just use the GQuark of the
13692           type name as key, since it needs to be looked up
13693           anyway to get the type name string.
13694
13695         * tests/check/gst/gstobject.c: (GST_START_TEST):
13696           Fix various leaks.
13697
13698 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13699
13700         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13701         (gst_bin_iterate_all_by_interface):
13702           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13703           GTypes are gulongs and thus the top 4 bytes might be cut
13704           off on some platforms when doing GPOINTER_TO_INT, leading
13705           to invalid GTypes and bad things happening (see RH bug #179654).
13706           Also add a check to make sure the type passed in is really
13707           an interface type.
13708
13709 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13710
13711         * .cvsignore:
13712           Ignore more.
13713
13714 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13715
13716         * Makefile.am:
13717         * configure.ac:
13718         * gst-element-check.m4:
13719         * gst-element-check.m4.in:
13720           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13721           instead of the unversioned gst-inspect (#324176, #168659).
13722
13723 2006-07-06  Wim Taymans  <wim@fluendo.com>
13724
13725         * gst/gstmessage.h:
13726         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13727         warnings.
13728
13729 2006-07-06  Wim Taymans  <wim@fluendo.com>
13730
13731         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13732         (gst_base_src_wait), (gst_base_src_update_length),
13733         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13734         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13735         (gst_base_src_loop), (gst_base_src_start),
13736         (gst_base_src_activate_pull):
13737         Update docs.
13738         blocksize == 0 now means the default blocksize when working in push
13739         based mode.
13740         Remove some pointless asserts in _wait function.
13741         Fix offset/length calculations and EOS handling. We can now pull 0
13742         bytes as well, which is allowed.
13743         use _check_get_range() to decide if we can operate in _pull based
13744         mode.
13745         Fix refcounting leak when check_get_range function was not 
13746         implemented.
13747         API GstBaseSrc::blocksize range can be 0 too now (default)
13748
13749         * tests/check/elements/filesrc.c: (GST_START_TEST),
13750         (filesrc_suite):
13751         Added check to test _get_range() behaviour.
13752
13753 2006-07-06  Wim Taymans  <wim@fluendo.com>
13754
13755         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13756         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13757         (gst_pad_pull_range):
13758         * gst/gstpad.h:
13759         Lots of comments and docs added to the pad functions.
13760         Flesh out the expected behaviour of the get_range() functions.
13761
13762 2006-07-06  Wim Taymans  <wim@fluendo.com>
13763
13764         * gst/gstbus.h:
13765         * gst/gstclock.h:
13766         * gst/gstevent.h:
13767         * gst/gstiterator.h:
13768         * gst/gstpad.h:
13769         * gst/gstplugin.h:
13770         * gst/gsttask.h:
13771         Remove comma at end of enumerator list. 
13772
13773 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13774
13775         * win32/common/libgstbase.def:
13776         * win32/common/libgstdataprotocol.def:
13777         * win32/common/libsgtreamer.def:
13778         Add new exported functions.
13779
13780 2006-07-05  Wim Taymans  <wim@fluendo.com>
13781
13782         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13783         Add some more docs here and there.
13784
13785 2006-07-05  Wim Taymans  <wim@fluendo.com>
13786
13787         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13788         (gst_base_sink_loop), (gst_base_sink_get_position):
13789         When operating in pull mode update the offset so that we
13790         read sequentially.
13791
13792 2006-07-05  Wim Taymans  <wim@fluendo.com>
13793
13794         * gst/gstregistryxml.c: (read_string):
13795         Avoid strdup. (will happen in libxml, but hey!)
13796
13797         * gst/gsturi.c:
13798         Add some more docs.
13799
13800 2006-07-05  Wim Taymans  <wim@fluendo.com>
13801
13802         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13803         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13804         (gst_buffer_suite):
13805         No point in checking if the size of the subbuffer > 0, the
13806         code handles it correclty as demonstrated by unit test.
13807         Also add a unit test for the zero sized _new_and_alloc and
13808         _copy. Fixes #346663.
13809
13810 2006-07-05  Wim Taymans  <wim@fluendo.com>
13811
13812         * libs/gst/base/gstbasetransform.c:
13813         (gst_base_transform_prepare_output_buffer),
13814         (gst_base_transform_buffer_alloc),
13815         (gst_base_transform_handle_buffer):
13816         Make sure the buffer we pass to transform_ip has a refcount of
13817         1 and thus is writable. Fixes #343196
13818
13819 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13820
13821         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13822         (gst_file_src_init), (gst_file_src_set_property),
13823         (gst_file_src_get_property), (gst_file_src_map_region):
13824         * plugins/elements/gstfilesrc.h:
13825         Add "sequential" property, off by default, to use madvise and hint
13826         to the kernel that sequential access is desired.
13827         Touch all retrieved pages by default to ensure they are pulled
13828         into memory. (Closes #345720)
13829
13830 2006-07-03  Wim Taymans  <wim@fluendo.com>
13831
13832         * docs/design/part-block.txt:
13833         * docs/design/part-dynamic.txt:
13834         Small docs updates.
13835
13836 2006-07-03  Wim Taymans  <wim@fluendo.com>
13837
13838         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13839         (gst_caps_unref), (gst_static_caps_get),
13840         (gst_caps_append_structure):
13841         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13842         Use GSlice when the glib we build against is >= 2.10
13843
13844 2006-07-03  Wim Taymans  <wim@fluendo.com>
13845
13846         * gst/gstelement.c: (gst_element_pads_activate):
13847         Small cleanup in pad activation code.
13848
13849 2006-07-03  Wim Taymans  <wim@fluendo.com>
13850
13851         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13852
13853         * gst/gst-i18n-app.h:
13854         * gst/gst-i18n-lib.h:
13855         * tools/gst-inspect.c: (print_signal_info):
13856         The attached patch will make the inclusion of gettext.h unconditional in
13857         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13858         libintl.h in tools/gst-inspect.c.
13859         This allows use of --disable-nls again and fixes #344642.
13860
13861 2006-07-03  Edward Hervey  <edward@fluendo.com>
13862
13863         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13864         Implement pad blocking on events according to part-block.txt.
13865         More comments on behaviour.
13866         * tests/check/gst/gstevent.c: (test_event):
13867         Send event to peer pad of blocked pad (else it will block).
13868
13869 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13870
13871         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13872         (gst_check_run_suite):
13873           if we get the wrong message, give us the types as string
13874         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13875           Fix a translatable
13876         * tests/check/elements/filesrc.c: (GST_START_TEST):
13877           add a test for trying to open a non-existing file
13878
13879 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13880
13881         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13882           add a test for adding self
13883
13884 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13885
13886         * libs/gst/check/gstcheck.h:
13887           add some assert_ as alias for fail_unless_*
13888         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13889           increase test coverage
13890
13891 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13892
13893         * Makefile.am:
13894           include lcov.mak for lcov coverage generation
13895         * tools/Makefile.am:
13896           add to CLEANFILES
13897
13898 2006-07-02  Edward Hervey  <edward@fluendo.com>
13899
13900         * tests/check/elements/.cvsignore:
13901         moaping
13902
13903 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13904
13905         * configure.ac:
13906           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13907         * tests/check/Makefile.am:
13908           clean up gcov files
13909
13910 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13911
13912         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13913           remove gst_caps_simplify; it was not declared and not used
13914           and deprecated in 0.8
13915
13916 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13917
13918         * docs/faq/gst-uninstalled:
13919           don't put empty paths on PYTHONPATH
13920         * docs/gst/gstreamer-sections.txt:
13921           remove some symbols that are not there
13922
13923 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13924
13925         * gst/gstcaps.c: (gst_caps_compare_structures):
13926           whitespace fixes
13927         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13928         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13929           add more tests
13930
13931 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13932
13933         * libs/gst/dataprotocol/Makefile.am:
13934           build dataprotocol test by linking to the lib, instead of
13935           compiling the source, so we get coverage
13936         * tests/check/Makefile.am:
13937         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13938         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13939           add a test for filesrc
13940
13941 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13942
13943         * tests/check/gst/gststructure.c: (GST_START_TEST),
13944         (gst_structure_suite):
13945           Push coverage from 59.04% to 70.00%
13946
13947 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13948
13949         * tests/check/Makefile.am:
13950           gst-inspect every element; this makes sure that we also get
13951           coverage on element's get/set functions
13952
13953 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13954
13955         * configure.ac:
13956           set CFLAGS and friends to -O0 if gcov is being used
13957           add GCOV LIBS
13958         * gst/Makefile.am:
13959         * libs/gst/base/Makefile.am:
13960         * libs/gst/check/Makefile.am:
13961         * libs/gst/controller/Makefile.am:
13962         * libs/gst/dataprotocol/Makefile.am:
13963         * libs/gst/net/Makefile.am:
13964         * plugins/elements/Makefile.am:
13965         * plugins/indexers/Makefile.am:
13966           add makefile rules to generate gcov data and clean up
13967         * tests/check/Makefile.am:
13968           add a coverage target that generates an html overview
13969           of coverage data
13970
13971 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13972
13973         * tests/check/elements/fakesink.c:
13974         * tests/check/elements/fakesrc.c:
13975         * tests/check/elements/fdsrc.c:
13976         * tests/check/elements/identity.c:
13977         * tests/check/generic/sinks.c: (gst_sinks_suite):
13978         * tests/check/generic/states.c:
13979         * tests/check/gst/gst.c:
13980         * tests/check/gst/gstabi.c:
13981         * tests/check/gst/gstbin.c:
13982         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13983         * tests/check/gst/gstbus.c: (gst_bus_suite):
13984         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13985         * tests/check/gst/gstelement.c:
13986         * tests/check/gst/gstevent.c: (gst_event_suite):
13987         * tests/check/gst/gstghostpad.c:
13988         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13989         * tests/check/gst/gstmessage.c: (gst_message_suite):
13990         * tests/check/gst/gstminiobject.c:
13991         * tests/check/gst/gstobject.c:
13992         * tests/check/gst/gstpad.c:
13993         * tests/check/gst/gstpipeline.c:
13994         * tests/check/gst/gstplugin.c:
13995         * tests/check/gst/gstquery.c: (gst_query_suite):
13996         * tests/check/gst/gstsegment.c: (gst_segment_suite):
13997         * tests/check/gst/gststructure.c:
13998         * tests/check/gst/gstsystemclock.c:
13999         * tests/check/gst/gsttag.c:
14000         * tests/check/gst/gsttask.c: (gst_task_suite):
14001         * tests/check/gst/gstutils.c:
14002         * tests/check/gst/gstvalue.c:
14003         * tests/check/libs/adapter.c:
14004         * tests/check/libs/basesrc.c:
14005         * tests/check/libs/collectpads.c:
14006         * tests/check/libs/controller.c:
14007         * tests/check/libs/gdp.c: (gst_dp_suite):
14008         * tests/check/libs/gstnetclientclock.c:
14009         * tests/check/libs/gstnettimeprovider.c:
14010         * tests/check/libs/libsabi.c: (libsabi_suite):
14011         * tests/check/libs/typefindhelper.c:
14012         * tests/check/pipelines/cleanup.c:
14013         * tests/check/pipelines/parse-launch.c:
14014         * tests/check/pipelines/simple-launch-lines.c:
14015         * tests/check/pipelines/stress.c: (stress_suite):
14016           use the new macro
14017
14018 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14019
14020         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14021         * libs/gst/check/gstcheck.h:
14022           create a macro and function so that the simple unit test
14023           case can be just one macro to create main()
14024
14025 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14026
14027         * gst/gstbin.c: (gst_bin_restore_thyself):
14028         * gst/gstxml.c: (gst_xml_make_element):
14029           Fix deserialisation from XML. Set parent manually
14030           instead of using gst_bin_add(), since gst_bin_add()
14031           will unlink all pads of the element being added.
14032           Fixes #341667.
14033
14034 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14035
14036         Patch by: Peter Kjellerstedt <pkj at axis com>
14037
14038         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14039           Fix missing g_strdup() and double free when using the
14040           --gst-plugin-load command line option (#346097).
14041
14042 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14043
14044         * gst/gstinfo.c:
14045           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14046
14047         * libs/gst/net/gstnetclientclock.c:
14048         * libs/gst/net/gstnettimeprovider.c:
14049           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14050
14051 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14052
14053         * docs/manual/advanced-dataaccess.xml:
14054           Fix buffer probe example compilation in
14055           ADM (#345708).
14056         
14057 2006-06-22  Edward Hervey  <edward@fluendo.com>
14058
14059         * gst/gstelement.c: (gst_element_pads_activate):
14060         We need to deactivate src pads first and then sink pads.
14061         The reason is the src pads might be blocking while holding the streaming
14062         lock, so we need to deactivate them first so that deactivating the sink
14063         pads doesn't block (since it will require the streaming lock).
14064
14065 2006-06-22  Wim Taymans  <wim@fluendo.com>
14066
14067         * libs/gst/base/gstbasetransform.c:
14068         (gst_base_transform_buffer_alloc):
14069         Forgot to remove two unneeded unrefs.
14070         Simplify a check _is_equal allready checks the obvious case.
14071
14072 2006-06-22  Wim Taymans  <wim@fluendo.com>
14073
14074         * docs/design/part-block.txt:
14075         Some docs about what pad_block should do.
14076
14077 2006-06-22  Wim Taymans  <wim@fluendo.com>
14078
14079         * gst/gstcaps.c: (gst_caps_replace):
14080         Fix crasher when passed NULL. Doc clarification.
14081         Optimize for the trivial case.
14082
14083         * gst/gstpipeline.c: (gst_pipeline_change_state):
14084         Small cleanups.
14085
14086         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14087         Small documentation cleanup.
14088
14089         * libs/gst/base/gstbasetransform.c:
14090         (gst_base_transform_buffer_alloc):
14091         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14092         is what we need and it avoids a whole lot of redundant 
14093         refcount operations.
14094
14095 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14096
14097         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14098
14099         * docs/manual/advanced-dataaccess.xml:
14100           Fix 'Embedding static elements' section to use
14101           GST_PLUGIN_DEFINE_STATIC (#345607).
14102
14103 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14104
14105         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14106           Attempt to 'fix' spuriously failing test case: it seems like the
14107           timeout of half a second is simply too small when the system is under
14108           load otherwise, and the timeout doesn't really seem to serve any
14109           particular purpose here. Give the pipeline a few seconds to preroll
14110           first, and then give it another half a second to go from PAUSED to
14111           PLAYING and marshal the message into the main thread.
14112
14113 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14114
14115         * tools/gst-feedback-m.m:
14116           Don't only use unversioned tools, try versioned tools as well
14117           (#345086).
14118
14119 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14120
14121         * gst/gstbus.c: (gst_bus_class_init):
14122           Fix some typos, make docs more explicit.
14123
14124 2006-06-20  Wim Taymans  <wim@fluendo.com>
14125
14126         * tests/check/gst/gstghostpad.c: (block_callback),
14127         (GST_START_TEST), (gst_ghost_pad_suite):
14128         Added some more ghostpad tests, mainly blocking
14129         and probes.
14130
14131 2006-06-16  Wim Taymans  <wim@fluendo.com>
14132
14133         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14134         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14135         (gst_file_sink_event), (gst_file_sink_render):
14136         * plugins/elements/gstfilesink.h:
14137         Check if we can seek in the file instead of assuming
14138         we always can. Post an error when we are asked to seek in a
14139         non-seekable file (like a fifo). Fixes #343312.
14140         Some cleanups.
14141
14142 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14143
14144         * tools/gst-launch.1.in:
14145           Un-garble (fourcc) bit in filtered caps section.
14146
14147 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14148
14149         * docs/manual/advanced-autoplugging.xml:
14150         * docs/manual/basics-helloworld.xml:
14151         * docs/manual/highlevel-components.xml:
14152           Don't leak bus reference in sample code.
14153
14154 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14155
14156         * autogen.sh:
14157           Add default for new --enable-plugin-docs switch.
14158
14159         * configure.ac:
14160           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14161           Fixes #344039.
14162
14163         * docs/Makefile.am:
14164           Use new ENABLE_PLUGIN_DOCS conditional.
14165
14166 2006-06-14  Wim Taymans  <wim@fluendo.com>
14167
14168         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14169         Make it clear with a FIXME and a real define what the #if 0
14170         previously disabled.
14171
14172 2006-06-14  Wim Taymans  <wim@fluendo.com>
14173
14174         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14175         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14176         * libs/gst/base/gstbasetransform.c:
14177         (gst_base_transform_sink_eventfunc):
14178         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14179         Don't randomly and silently reset a segment when the format 
14180         changes as this is a bug somewhere upstream. Fixes #330379.
14181
14182 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14183
14184         Patch by: Wouter Paesen  <wouter at kangaroot net>
14185
14186         * libs/gst/controller/gstcontroller.c:
14187         (gst_controlled_property_new):
14188           Fix controlling of float properties (#344849).
14189
14190         * tests/check/libs/controller.c:
14191         (gst_test_mono_source_get_property),
14192         (gst_test_mono_source_set_property),
14193         (gst_test_mono_source_class_init), (GST_START_TEST):
14194           While we're at it, add some float stuff to unit test.
14195
14196 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14197
14198         * docs/README:
14199         * docs/images/gdp-header.svg:
14200           add a gdp image
14201         * docs/libs/Makefile.am:
14202         * docs/libs/gdp-header.png:
14203         * libs/gst/dataprotocol/dataprotocol.c:
14204           add it to the API docs
14205         * docs/manual/intro-motivation.xml:
14206           fix typo
14207
14208 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14209
14210         * gst/gst.c: (scan_and_update_registry), (init_post):
14211           If the fork()'ed child process can't write the updated registry cache
14212           file to disk for some reason, make it exit with a failure exit code,
14213           so that the parent can then re-scan the plugins itself and update the
14214           registry structures in memory and work with that (rather than failing
14215           when creating elements because seemingly no plugins are available).
14216           Refactor registry scanning code into separate function for this and
14217           also separate fork() and non-fork() code paths. Fixes #344748.
14218
14219 2006-06-13  Wim Taymans  <wim@fluendo.com>
14220
14221         * docs/manual/advanced-dataaccess.xml:
14222         Fix wrong PluginDesc. Fixes #344755.
14223
14224 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14225
14226         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14227           Fix silly bug that prevented us from creating
14228           ~/.gstreamer-0.10 and writing the registry in one
14229           go (the first call to g_mkstemp() would overwrite the
14230           placeholder in the template string, so the second call
14231           to g_mkstemp() after creating the missing directory
14232           would then error out with 'invalid argument').
14233
14234 2006-06-13  Edward Hervey  <edward@fluendo.com>
14235
14236         * gst/gst.c: (init_post):
14237         Free string.
14238
14239 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14240
14241         * gst/glib-compat-private.h:
14242         * gst/glib-compat.c:
14243         * gst/glib-compat.h:
14244         * gst/gstvalue.c: (gst_value_serialize_flags):
14245           remove GLib 2.6 compatibility code
14246
14247 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14248
14249         * gst/parse/Makefile.am:
14250           Fix build with 'make -j N' even more (#340016).
14251
14252 2006-06-12  Wim Taymans  <wim@fluendo.com>
14253
14254         * docs/gst/gstreamer-sections.txt:
14255         Fix docs.
14256
14257 2006-06-12  Wim Taymans  <wim@fluendo.com>
14258
14259         * gst/gstsegment.c: (gst_segment_set_duration),
14260         (gst_segment_set_last_stop), (gst_segment_set_seek),
14261         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14262         (gst_segment_to_running_time), (gst_segment_clip):
14263         Use G_UNLIKELY to help the compiler a bit.
14264
14265 2006-06-12  Wim Taymans  <wim@fluendo.com>
14266
14267         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14268
14269         * gst/gstevent.c: (gst_event_get_type):
14270         * gst/gstmessage.c:
14271         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14272         (gst_pad_push):
14273         constify quark registration strings. Fixes #344115
14274         Avoid unneeded type checking is _pad_push() by internally
14275         calling gst_pad_chain_unchecked().
14276
14277 2006-06-12  Wim Taymans  <wim@fluendo.com>
14278
14279         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14280         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14281         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14282         (gst_buffer_is_span_fast), (gst_buffer_span):
14283         Init _type for consistency.
14284         Use _FLAGS macro to avoid type check.
14285         Avoid unneeded type checks in subbufer code.
14286
14287 2006-06-12  Wim Taymans  <wim@fluendo.com>
14288
14289         * gst/gst.c: (gst_debug_help):
14290         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14291         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14292         (gst_plugin_feature_list_free):
14293         * gst/gstregistry.c: (gst_registry_add_plugin),
14294         (gst_registry_add_feature), (gst_registry_plugin_filter),
14295         (gst_registry_feature_filter), (gst_registry_find_plugin),
14296         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14297         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14298         * gst/gstregistryxml.c: (load_feature),
14299         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14300         * gst/gstminiobject.c: (gst_mini_object_unref),
14301         (gst_mini_object_replace), (gst_value_mini_object_free),
14302         (gst_value_mini_object_copy):
14303         Use _CAST macros to avoid unneeded type checking.
14304         Added some more G_UNLIKELY.
14305
14306 2006-06-12  Wim Taymans  <wim@fluendo.com>
14307
14308         * gst/gstbuffer.h:
14309         Avoid unneeded type checking.
14310         API: GST_BUFFER_IS_DISCONT
14311
14312         * gst/gstminiobject.h:
14313         Avoid type check in flag accessor.
14314
14315         * gst/gstelementfactory.h:
14316         * gst/gstplugin.h:
14317         * gst/gstpluginfeature.h:
14318         Add _CAST macros.
14319         API: GST_ELEMENT_FACTORY_CAST
14320         API: GST_PLUGIN_CAST
14321         API: GST_PLUGIN_FEATURE_CAST
14322
14323 2006-06-12  Wim Taymans  <wim@fluendo.com>
14324
14325         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14326         (gst_object_unref):
14327         Add G_UNLIKELY in type registration.
14328         Avoid type check in _ref/_unref since that is also
14329         done in glib.
14330
14331 2006-06-12  Wim Taymans  <wim@fluendo.com>
14332
14333         * gst/gsterror.c: (gst_g_error_get_type):
14334         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14335         (gst_static_pad_template_get_type):
14336         * gst/gsttaglist.c: (gst_tag_list_get_type):
14337         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14338         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14339         * gst/gsturi.c: (gst_uri_handler_get_type):
14340         * gst/gstvalue.c: (gst_date_get_type):
14341         * gst/gstxml.c: (gst_xml_get_type):
14342         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14343         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14344         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14345         Add G_UNLIKELY in type registration.
14346
14347 2006-06-12  Wim Taymans  <wim@fluendo.com>
14348
14349         * tools/gst-inspect.c: (print_signal_info):
14350         Properly print enum values.
14351
14352 2006-06-12  Wim Taymans  <wim@fluendo.com>
14353
14354         * gst/gstinfo.c: (gst_debug_set_active),
14355         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14356         * gst/gstinfo.h:
14357         Add some G_[UN]LIKELY.
14358         Maintain __gst_debug_min to avoid formatting the arguments of
14359         debug messages that will be dropped anyway to avoid a lot of 
14360         overhead from the debugging system.
14361
14362 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14363
14364         * po/POTFILES.in:
14365         * po/POTFILES.skip:
14366           add missing files containing translatable strings, tell intltool about
14367           one exception
14368
14369 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14370
14371         * tests/check/libs/.cvsignore:
14372         add test-binary to ignore list
14373
14374 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14375
14376         * docs/libs/gstreamer-libs-docs.sgml:
14377         reorder (put dp into a chapter) and indent
14378
14379 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14380
14381         * configure.ac:
14382           back to HEAD
14383
14384 === release 0.10.8 ===
14385
14386 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14387
14388         * configure.ac:
14389           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14390
14391 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14392
14393         * gst/gst.c: (init_post):
14394           move pid declaration to declaration block
14395
14396 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14397
14398         * gst/gst.c: (init_post):
14399           use _exit() instead of exit() in our forked child; this ensures
14400           that none of the registered exit handlers from whatever is using
14401           GStreamer get executed.  This fixes gnome-mixer-applet failing
14402           to load, because ORBit would shut down.
14403           Spotted by: Edward Hervey  <edward@fluendo.com>
14404           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14405           Fixes #344474
14406
14407 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14408
14409         * configure.ac:
14410           back to TRUNK
14411
14412 === release 0.10.7 ===
14413
14414 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14415
14416         * configure.ac:
14417           releasing 0.10.7, "Soepeke, ik zie ou"
14418
14419 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14420
14421         * configure.ac:
14422         * po/af.po:
14423         * po/az.po:
14424         * po/bg.po:
14425         * po/ca.po:
14426         * po/cs.po:
14427         * po/de.po:
14428         * po/en_GB.po:
14429         * po/fr.po:
14430         * po/it.po:
14431         * po/nb.po:
14432         * po/nl.po:
14433         * po/ru.po:
14434         * po/sq.po:
14435         * po/sr.po:
14436         * po/sv.po:
14437         * po/tr.po:
14438         * po/uk.po:
14439         * po/vi.po:
14440         * po/zh_CN.po:
14441         * po/zh_TW.po:
14442         * win32/common/config.h:
14443           0.10.6.2 prerelease
14444
14445 2006-06-07  Wim Taymans  <wim@fluendo.com>
14446
14447         * gst/gstindex.c: (gst_index_gtype_resolver):
14448         * tools/gst-xmlinspect.c: (print_plugin_info):
14449         Fix leak spotted by coverity checker. Fixes #343827
14450         Fix another other leak found by paolo borelli.
14451
14452 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14453
14454         * libs/gst/dataprotocol/dataprotocol.c:
14455         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14456         (gst_dp_version_get_type), (gst_dp_init),
14457         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14458         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14459         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14460         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14461         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14462         (gst_dp_packetizer_free):
14463         * libs/gst/dataprotocol/dataprotocol.h:
14464           API: add a GstDPPacketizer object, and create/free functions
14465           API: add GstDPVersion enum
14466           Add 1.0 event function that uses the string serialization
14467           Serialize more useful buffer flags
14468           Fixes #343988
14469
14470 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14471
14472         * tests/check/Makefile.am:
14473         * tests/check/gst/gstabi.c:
14474         * tests/check/gst/struct_ppc64.h:
14475         * tests/check/libs/libsabi.c:
14476         * tests/check/libs/struct_ppc64.h:
14477           add ppc64 structure sizes
14478
14479 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14480
14481         * tests/check/Makefile.am:
14482         * tests/check/gst/gstabi.c:
14483         * tests/check/gst/struct_x86_64.h:
14484         * tests/check/libs/libsabi.c:
14485         * tests/check/libs/struct_x86_64.h:
14486           generate and add structure size lists for x86_64
14487
14488 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14489
14490         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14491         * libs/gst/check/gstcheck.h:
14492           factor out the method from tests that checks size of structures,
14493           and add code to generate the header containing these sizes
14494         * tests/check/gst/gstabi.c: (GST_START_TEST):
14495         * tests/check/gst/struct_i386.h:
14496         * tests/check/libs/libsabi.c: (GST_START_TEST):
14497         * tests/check/libs/struct_i386.h:
14498           use it
14499
14500 2006-06-06  Michael Smith  <msmith@fluendo.com>
14501
14502         * gst/gstsegment.h:
14503           Don't use c++-style comments, fixes #343929
14504
14505 2006-06-05  Edward Hervey  <edward@fluendo.com>
14506
14507         * gst/gst.c:
14508         plugin_paths is not used if we build without registry support.
14509
14510         * gst/gstsegment.c: (gst_segment_copy): 
14511         _copy() was always returning NULL...
14512
14513 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14514
14515         * libs/gst/dataprotocol/dataprotocol.c:
14516         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14517         (gst_dp_packet_from_event):
14518           factor out CRC code
14519
14520 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14521
14522         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14523           make sure we unset caps
14524
14525 2006-06-02  Michael Smith  <msmith@fluendo.com>
14526
14527         * libs/gst/check/gstcheck.c: (gst_check_init),
14528         (gst_check_chain_func):
14529         * libs/gst/check/gstcheck.h:
14530           Add a cond/mutex to the check support lib, signal this whenever we
14531           add to the buffers list. This will allow tests to not busy-wait on
14532           the buffer-list.
14533
14534 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14535
14536         * libs/gst/dataprotocol/dataprotocol.c:
14537         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14538         (gst_dp_packet_from_event):
14539           factor out some common header init code
14540
14541 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14542
14543         * docs/libs/gstreamer-libs-sections.txt:
14544         * docs/libs/tmpl/gstdataprotocol.sgml:
14545         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14546         * libs/gst/dataprotocol/dataprotocol.h:
14547           API: make gst_dp_crc() public
14548
14549 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14550
14551         * plugins/indexers/gstindexers.c: (plugin_init):
14552         conditionally register fileindexer (fixes #343598)
14553
14554 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14555
14556         * gst/gsttagsetter.h:
14557         Can't cast ifaces to a class
14558
14559         * libs/gst/net/gstnetclientclock.h:
14560         * libs/gst/net/gstnettimeprovider.h:
14561         * plugins/elements/gstfakesink.h:
14562         * plugins/elements/gstfakesrc.h:
14563         * plugins/elements/gstfdsink.h:
14564         * plugins/elements/gstfdsrc.h:
14565         * plugins/elements/gstfilesink.h:
14566         * plugins/elements/gstfilesrc.h:
14567         * plugins/elements/gstidentity.h:
14568         * plugins/elements/gstqueue.h:
14569         * plugins/elements/gsttee.h:
14570         * plugins/indexers/gstfileindex.c:
14571         * plugins/indexers/gstmemindex.c:
14572         * tests/old/examples/plugins/example.h:
14573         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14574
14575 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14576
14577         * libs/gst/dataprotocol/dataprotocol.c:
14578         (gst_dp_header_from_buffer):
14579           make sure we zero the whole ABI-compatible area
14580
14581 2006-06-01  Wim Taymans  <wim@fluendo.com>
14582
14583         Patch by: Alessandro Decina <alessandro at nnva dot org>
14584
14585         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14586         Make sure the EOS flag is cleared from pads after a flush
14587         or stop. Fixes #343538.
14588
14589         * tests/check/libs/collectpads.c: (GST_START_TEST),
14590         (gst_collect_pads_suite):
14591         Added test for collectpads reusage after EOS.
14592
14593 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14594
14595         * gst/gst.c:
14596          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14597         * win32/common/libgstbase.def:
14598          export gst_collect_pads_set_flushing
14599         * win32/common/libgstreamer.def:
14600          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14601          gst_value_fraction_multiply
14602         * win32/vs6/gst_inspect.dsp:
14603          add a link to intl.lib
14604
14605 2006-05-30  Wim Taymans  <wim@fluendo.com>
14606
14607         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14608         (gst_collect_pads_chain):
14609         Handle the case where a pad is removed from the collection
14610         that could cause the other pads to become collectable.
14611
14612 2006-05-30  Wim Taymans  <wim@fluendo.com>
14613
14614         * gst/gstelement.c:
14615         Clarify the use of _release_request_pad() and
14616         _get_request_pad() a bit better.
14617
14618         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14619         (gst_adapter_take_buffer):
14620         Fix some doc and comment typos.
14621
14622 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14623
14624         * docs/gst/gstreamer-sections.txt:
14625         * docs/libs/gstreamer-libs-sections.txt:
14626           add declared symbols
14627
14628 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14629
14630         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14631         Add debug that can be enabled using a #define at the top of the file,
14632         for dumping stats about how late/early we were when waking up from
14633         waiting on the clock.
14634
14635 2006-05-30  Wim Taymans  <wim@fluendo.com>
14636
14637         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14638         When rebuilding the pad list, don't leak the previous list.
14639
14640 2006-05-30  Wim Taymans  <wim@fluendo.com>
14641
14642         Patch by: Lutz Mueller <lutz at topfrose dot de>
14643
14644         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14645         (gst_base_src_get_query_types), (gst_base_src_update_length):
14646         Publish supported query types.
14647         Update last_stop field in get_range mode so the position
14648         query works. Fixes #342321.
14649
14650 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14651
14652         * docs/gst/gstreamer-sections.txt:
14653         * gst/gsttaglist.c: (_gst_tag_initialize):
14654         * gst/gsttaglist.h:
14655           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14656
14657 2006-05-30  Wim Taymans  <wim@fluendo.com>
14658
14659         Patch by: Alessandro Decina <alessandro at nnva dot org>
14660
14661         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14662         Unlock mutex when removing an unknown pad.
14663         Fixes #343334.
14664
14665         * tests/check/Makefile.am:
14666         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14667         (push_event), (setup), (teardown), (GST_START_TEST),
14668         (gst_collect_pads_suite), (main):
14669         Added collecpads check, disabled for now as check crashes for
14670         some reason.
14671
14672 2006-05-29  Wim Taymans  <wim@fluendo.com>
14673
14674         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14675         Don't leak pads lists.
14676
14677 2006-05-29  Wim Taymans  <wim@fluendo.com>
14678
14679         * docs/libs/gstreamer-libs-sections.txt:
14680         * libs/gst/base/gstcollectpads.c:
14681         (gst_collect_pads_set_flushing_unlocked),
14682         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14683         (gst_collect_pads_stop):
14684         * libs/gst/base/gstcollectpads.h:
14685         API: gst_collect_pads_set_flushing()
14686         Added api to set the pads to flushing, useful for seeking
14687         code in elements using collectpads.
14688         Clear segment when receiving a flush.
14689
14690 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14691
14692         * gst/gst.c: (add_path_func), (init_post):
14693           Don't scan registry paths passed via --gst-plugin-path immediately
14694           (will crash, because absolutely nothing is set up and no types are
14695           registered etc.); do this later in init_post(). Fixes #343057.
14696
14697 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14698
14699         * gst/gst.c: (init_post):
14700           if we have fork, fork while reading/rebuilding the registry
14701           so the parent doesn't take the hit of having all plugins loaded
14702           in memory.  Fixes #342777.
14703         * configure.ac:
14704           Check if we have fork()
14705         * win32/common/config.h.in:
14706           no fork() on win32
14707
14708 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14709
14710         * plugins/elements/gstelements.c:
14711         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14712         (gst_file_src_init), (gst_file_src_set_property),
14713         (gst_file_src_get_property), (gst_file_src_start):
14714         * plugins/elements/gstfilesrc.h:
14715           API: GstFileSrc::use-mmap
14716
14717         Add a use-mmap property to enable easier testing of all code paths.
14718         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14719         in the absence of gnomevfssrc. (Closes #340501)
14720
14721 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14722
14723         * tools/gst-inspect.c:
14724         Add missing include, removes warning of ngettext not being defined on
14725         some arches.
14726
14727 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14728
14729         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14730         Handle NULL input and output pointers silently as a failed conversion,
14731         rather than g_warnings.
14732
14733 2006-05-25  Wim Taymans  <wim@fluendo.com>
14734
14735         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14736         Initialize variable before using. Fixes #342820.
14737
14738 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14739
14740         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14741           Fix off-by-one bug that would only allow peeks of N-1 bytes
14742           from the start even if the buffer to typefind on contains
14743           in fact N bytes of data (makes vorbis typefinding from a
14744           vorbis identification header buffer work).
14745
14746         * tests/check/Makefile.am:
14747         * tests/check/libs/.cvsignore:
14748         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14749         (gst_typefindhelper_suite), (main), (foobar_typefind),
14750         (plugin_init):
14751           Add very basic unit test for gst_type_find_helper_for_buffer()
14752           that checks for the problem fixed above.
14753
14754 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14755
14756         * tools/gst-inspect.c: (print_interfaces),
14757         (print_element_properties_info), (print_element_list), (main):
14758           add more translatable strings
14759
14760 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14761
14762         Patch by: Julien Moutte  <julien at moutte net>
14763
14764         * docs/gst/gstreamer-sections.txt:
14765           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14766           
14767         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14768         (gst_fake_sink_preroll):
14769         * plugins/elements/gstfakesink.h:
14770           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14771
14772 2006-05-23  Wim Taymans  <wim@fluendo.com>
14773
14774         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14775         * gst/gstpad.h:
14776         Added _CUSTOM error and success GstFlowReturn that can be
14777         used be elements internally. 
14778         Added macro to check for SUCCESS flowreturns.
14779         API: GST_FLOW_CUSTOM_SUCCESS
14780         API: GST_FLOW_CUSTOM_ERROR
14781         API: GST_FLOW_IS_SUCCESS
14782
14783         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14784         Added check for GstFlowReturn sanity.
14785
14786 2006-05-23  Wim Taymans  <wim@fluendo.com>
14787
14788         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14789
14790         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14791         (gst_collect_pads_event):
14792         clear/reset segment info in FLUSH_STOP.
14793         Fixes #336929.
14794
14795 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14796
14797         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14798         (gst_collect_pads_check_collected):
14799         Flush queued buffer on _stop(), fixes playing again (#342454)
14800
14801 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14802
14803         * tests/check/gst/gststructure.c: (GST_START_TEST),
14804         (gst_structure_suite):
14805           add a test for a complete structure
14806
14807 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14808
14809         * docs/faq/developing.xml:
14810         * docs/faq/faq.xml:
14811         * docs/faq/troubleshooting.xml:
14812         * docs/faq/using.xml:
14813           Some minor FAQ updates that won't change the fact that
14814           our FAQ is badly structured, full of information hardly
14815           anyone new to GStreamer needs to know and lacking lots
14816           of information people constantly ask for.
14817           
14818 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14819
14820         * gst/gstpad.c: (gst_pad_set_caps):
14821           Short-circuit gst_pad_set_caps if setting the existing
14822           caps pointer again, and avoid printing debug and 
14823           reffing/unreffing the caps.
14824
14825         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14826           There's actually no need to set the caps before pushing -
14827           the acceptcaps method will handle it anyway.
14828
14829 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14830
14831         * docs/gst/gstreamer-sections.txt:
14832         * win32/common/libgstreamer.def:
14833         * gst/gstutils.c: (gst_element_seek_simple):
14834         * gst/gstutils.h:
14835           API: add gst_element_seek_simple() (#342238).
14836
14837 2006-05-18  Edward Hervey  <edward@fluendo.com>
14838
14839         * gst/gsttypefind.c: (gst_type_find_get_type):
14840         * gst/gsttypefind.h:
14841         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14842         registered for GstTypeFind pointers. This allows wrapping the structure
14843         in bindings (i.e. gst-python).
14844
14845 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14846
14847         * gst/gsttagsetter.c:
14848           Docs additions and fixes (see #339918).
14849
14850 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14851
14852         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14853         The caps intersection algorithm can produce multiple copies of the
14854         caps. Until that is fixed, we need to simplify the result to be
14855         sure whether the allowed caps are fixed or not.
14856
14857         * plugins/elements/gstqueue.c: (gst_queue_init),
14858         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14859         (gst_queue_push_one):
14860         Proxied buffer alloc should not set the caps on the source pad.
14861         When pushing buffers, we always accept the caps change that triggers.
14862         This prevents negotiation errors caused by caps changing mid-stream 
14863         and then being refused on our source pad (because upstream is now
14864         refusing those caps).
14865
14866 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14867
14868         * tests/examples/helloworld/helloworld.c: (main):
14869           Must plug audioconvert and audioresample between decoder
14870           and audio sink.
14871
14872 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14873
14874         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14875         (load_feature), (load_plugin):
14876         Allow empty strings for some of the plugin fields so we don't 
14877         drop valid plugin entries that were written out correctly
14878         (Fixes #341479)
14879
14880 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14881         
14882         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14883           Use g_remove and g_rename instead of remove and rename that don't 
14884           handle utf8 characters. rename was failing for users who had specific
14885           characters in their name then the registry was built at each 
14886           gstreamer init.
14887         * win32/vs6/gst_inspect.dsp:
14888         * win32/vs6/gst_launch.dsp:
14889         * win32/vs6/libgstbase.dsp:
14890         * win32/vs6/libgstcoreelements.dsp:
14891         * win32/vs6/libgstreamer.dsp:
14892           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14893           build of libgstreamer and clean unused libraries in projects link 
14894           settings.
14895
14896 2006-05-17  Edward Hervey  <edward@fluendo.com>
14897
14898         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14899         The queue is not responsible for pushing an EOS when receiving a fatal
14900         flow error. It's up to the real element driving the pipeline to do that.
14901
14902 2006-05-16  Edward Hervey  <edward@fluendo.com>
14903
14904         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14905         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14906         buffer returned a fatal error. It should just send an EOS and stop
14907         its task.
14908         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14909         when pushing buffers on the queue and will be able to handle the event.
14910
14911 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14912
14913         * docs/manual/basics-bins.xml:
14914         * docs/manual/basics-init.xml:
14915           Fix typos and minor errors in sample code (#341856).
14916
14917 2006-05-16  Wim Taymans  <wim@fluendo.com>
14918
14919         * docs/design/part-qos.txt:
14920         Fix indexes in formulas to make more sense.
14921
14922 2006-05-15  Wim Taymans  <wim@fluendo.com>
14923
14924         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14925         Don't report POSITION based on clock time if sync is
14926         disabled in a sink.
14927
14928 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14929
14930         * gst/gstobject.h:
14931           Add cast to make compiler happy - refcount variable was a gint
14932           in GstObject but is a guint in GObject and g_atomic_int_get()
14933           wants a gint *.
14934
14935 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14936
14937         * gst/parse/Makefile.am:
14938           chain commands using &&, which also makes parallel make work
14939
14940 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14941
14942         * docs/gst/gstreamer-sections.txt:
14943         * gst/gstevent.c:
14944         * gst/gstevent.h:
14945         * gst/gstmessage.h:
14946           Minor docs fixes.
14947
14948 === release 0.10.6 ===
14949
14950 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14951
14952         * configure.ac:
14953           releasing 0.10.6, "Take the cannoli"
14954
14955 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14956
14957         * tools/gst-launch.c: (print_tag):
14958           Fix use of uninitialized variable in the hypothetical
14959           case that some broken plugin creates a GST_TAG_IMAGE
14960           tag containing a NULL buffer (#341667).
14961
14962 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14963
14964         * tools/gst-launch.c: (print_tag):
14965           Print something more intelligible for image tags when
14966           using the -t switch (#341556).
14967
14968 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14969
14970         * Makefile.am:
14971           updates for win32
14972         * configure.ac:
14973           define GST_MAJORMINOR so we have it available in win32/common/config.h
14974           Possibly remove it from our Makefile.am files later
14975         * win32/common/config.h:
14976         * win32/common/config.h.in:
14977           added GST_MAJORMINOR
14978         * win32/common/gstenumtypes.c: (register_gst_resource_error):
14979         * win32/common/gstversion.h:
14980           updated
14981
14982 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
14983
14984         * win32/MANIFEST:
14985           Update win32 files listing.
14986         * win32/common/gstversion.h:
14987           Add GST_MAJORMINOR definition.
14988         * win32/common/libgstreamer.def:
14989           Add new exported functions.
14990           
14991 2006-05-12  Michael Smith  <msmith@fluendo.com>
14992
14993         * gst/gstplugin.c: (gst_plugin_load_file):
14994           If an so file has no plugin entry point, unload the module.
14995
14996 2006-05-11  Wim Taymans  <wim@fluendo.com>
14997
14998         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14999         (gst_queue_set_property):
15000         Don't forget to signal the _chain or _loop function 
15001         when the queue size or thresholds change since that might
15002         cause them to make progres again.
15003
15004 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15005
15006         * gst/gstclock.c: (gst_clock_class_init):
15007         * gst/gstindex.c: (gst_index_class_init):
15008         * gst/gstobject.c: (gst_object_class_init):
15009         * gst/gstpad.c: (gst_pad_class_init):
15010         * gst/gstpipeline.c: (gst_pipeline_class_init):
15011         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15012         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15013         * libs/gst/base/gstbasetransform.c:
15014         (gst_base_transform_class_init):
15015         * libs/gst/net/gstnetclientclock.c:
15016         (gst_net_client_clock_class_init):
15017         * libs/gst/net/gstnettimeprovider.c:
15018         (gst_net_time_provider_class_init):
15019         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15020         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15021         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15022         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15023         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15024         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15025         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15026         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15027         * plugins/elements/gsttee.c: (gst_tee_class_init):
15028         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15029         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15030           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15031
15032 2006-05-11  Wim Taymans  <wim@fluendo.com>
15033
15034         * gst/gstbuffer.c: (_gst_buffer_initialize):
15035         Register subbufer along with the buffer type so that
15036         it does not accidentally gets registered from N
15037         different streaming threads in a non threadsafe way.
15038
15039 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15040
15041         * gst/gstbuffer.h:
15042         * gst/gstevent.h:
15043         * gst/gstmessage.h:
15044           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15045           gst_event_ref() and gst_message_ref() functions again
15046           (ugly hack, please do fix if there's a better way besides
15047           overrides.txt, which doesn't seem to work).
15048
15049 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15050
15051         * libs/gst/check/gstcheck.h:
15052           add an assert for setting state to avoid lots of repetitive code
15053           in the future
15054
15055 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15056
15057         * gst/gstvalue.c: (gst_value_serialize_flags):
15058           fix a leak if no flags are set
15059         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15060           fix leak in tests
15061
15062 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15063
15064         * docs/manual/basics-pads.xml:
15065           Expand a bit on caps and filtered links and update
15066           examples that were still using the no longer existing
15067           gst_pad_link_filtered() (#338206).
15068
15069 2006-05-10  Wim Taymans  <wim@fluendo.com>
15070
15071         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15072         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15073         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15074         (gst_collect_pads_stop):
15075         * libs/gst/base/gstcollectpads.h:
15076         No need to call _stop in _finalize.
15077         Iterate the main pad list in _finalize.
15078         Added some more debug.
15079         Free lists and data in the right order.
15080         Also free data whem doing _remove_pad when stopped for
15081         backward compatibility protect ::started with PAD_LOCK as
15082         well.
15083
15084 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15085
15086         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15087         (gst_structure_parse_value):
15088           add some comments
15089           rename a method so that it actually says what it does better
15090
15091 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15092
15093         * gst/gstevent.c: (_gst_event_initialize):
15094         * gst/gstformat.c: (_gst_format_initialize):
15095           make sure some essential types used by events are registered
15096           as part of gst_init()
15097         * gst/gstvalue.c: (gst_value_serialize_flags):
15098           if no flags are set, serialize them to a value that represents NONE
15099           so that deserializing them works
15100         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15101           add tests for serialization and deserialization of flags
15102
15103 2006-05-10  Wim Taymans  <wim@fluendo.com>
15104
15105         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15106         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15107         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15108         (gst_collect_pads_event), (gst_collect_pads_chain):
15109         Update docs.
15110         Better debug info.
15111         Catch and return errors from the collect function
15112         Refuse data on eos pads.
15113
15114 2006-05-10  Edward Hervey  <edward@fluendo.com>
15115
15116         * gst/gstinterface.h:
15117         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15118         GInterface type checking.
15119         They were previously using non-defined macros.
15120
15121 2006-05-09  Wim Taymans  <wim@fluendo.com>
15122
15123         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15124         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15125         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15126         (gst_collect_pads_start), (gst_collect_pads_stop),
15127         (gst_collect_pads_peek), (gst_collect_pads_pop),
15128         (gst_collect_pads_available), (gst_collect_pads_read),
15129         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15130         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15131         (gst_collect_pads_chain):
15132         * libs/gst/base/gstcollectpads.h:
15133         Clean up the mess that is collectpads, add comments and
15134         FIXMEs where needed.
15135         Maintain a separate pad list so we can add pads while
15136         collecting the other ones. For this we need a new separate 
15137         lock (see comics).
15138         Fix memory leak in finalize.
15139         Refactor some weird code to set/unset pad flushing flags, mark
15140         with comments.
15141         Don't crash in _available, _read, _flush when we're EOS.
15142
15143         * tests/check/libs/.cvsignore:
15144         Ignore adapter check binary.
15145
15146 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15147
15148         * gst/gstindex.c: (gst_index_resolver_get_type):
15149         * plugins/elements/gstfakesink.c:
15150         (gst_fake_sink_state_error_get_type):
15151         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15152         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15153         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15154           Const-ify GEnumValue arrays.
15155
15156 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15157
15158         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15159           Add test case for flags + gst_buffer_make_metadata_writable().
15160
15161 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15162
15163         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15164           gst_buffer_make_metadata_writable() should maintain the
15165           buffer flags (those that make sense at least) (see #340859).
15166
15167 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15168
15169         * tools/gst-inspect.c:
15170         * tools/gst-launch.c:
15171         * tools/gst-typefind.c:
15172         * tools/gst-xmlinspect.c:
15173         * tools/tools.h:
15174           Fix up includes: need to include stdlib.h in tools.h for exit().
15175
15176 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15177
15178         * gst/gsttaglist.c: (_gst_tag_initialize):
15179         * gst/gsttaglist.h:
15180           API: add GST_TAG_IMAGE tag (#340721).
15181
15182 2006-05-08  Wim Taymans  <wim@fluendo.com>
15183
15184         * gst/gstquery.c:
15185         Added some docs for the segment query.
15186
15187 2006-05-08  Wim Taymans  <wim@fluendo.com>
15188
15189         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15190         (gst_base_src_loop), (gst_base_src_change_state):
15191         Always push non-flushing serialized events in the streaming 
15192         thread.
15193
15194 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15195
15196         * gst/gsterror.c: (_gst_stream_errors_init):
15197           Add a missing error string.
15198
15199 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15200
15201         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15202         Add applied_rate to the debug
15203
15204         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15205         Copy applied_rate into the outgoing NEWSEGMENT event
15206
15207 2006-05-08  Wim Taymans  <wim@fluendo.com>
15208
15209         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15210
15211         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15212         (gst_base_sink_change_state):
15213         call ::unlock before taking the PREROLL_LOCK so we can safely
15214         handle elements that lock in ::render.
15215         Fixes #340174.
15216
15217 2006-05-08  Edward Hervey  <edward@fluendo.com>
15218
15219         * autogen.sh: (CONFIGURE_DEF_OPT): 
15220         Darwin's libtoolize is in fact called glibtoolize.
15221         Adding glibtoolize to the list of accepted names for libtoolize.
15222
15223 2006-05-08  Wim Taymans  <wim@fluendo.com>
15224
15225         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15226         Unify error handling, don't post an error message
15227         when a push() returns EOS but perform our normal EOS
15228         handling code. Fixes #340772.
15229
15230 2006-05-08  Wim Taymans  <wim@fluendo.com>
15231
15232         * docs/design/part-overview.txt:
15233         Make upsteam/downstream concepts more clear.
15234         Give an example of serialized/non-serialized events.
15235
15236         * docs/design/part-events.txt:
15237         * docs/design/part-streams.txt:
15238         Mention applied_rate.
15239
15240         * docs/design/part-trickmodes.txt:
15241         Mention applied rate, flesh out some more use cases.
15242
15243         * gst/gstevent.c: (gst_event_new_new_segment),
15244         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15245         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15246         (gst_event_parse_tag), (gst_event_new_buffer_size),
15247         (gst_event_parse_buffer_size), (gst_event_new_qos),
15248         (gst_event_parse_qos), (gst_event_parse_seek),
15249         (gst_event_new_navigation):
15250         * gst/gstevent.h:
15251         Add applied_rate field to NEWSEGMENT event.
15252         API: gst_event_new_new_segment_full()
15253         API: gst_event_parse_new_segment_full()
15254
15255         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15256         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15257         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15258         * gst/gstsegment.h:
15259         Add applied_rate to GstSegment structure.
15260         Make calculation of stream_time and running_time more correct
15261         wrt rate/applied_rate.
15262         Add some more docs.
15263         API: GstSegment::applied_rate field
15264         API: gst_segment_set_newsegment_full();
15265
15266         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15267         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15268         * libs/gst/base/gstbasetransform.c:
15269         (gst_base_transform_sink_eventfunc),
15270         (gst_base_transform_handle_buffer):
15271         Parse and use applied_rate in the GstSegment field.
15272
15273         * tests/check/gst/gstevent.c: (GST_START_TEST):
15274         Add check for applied_rate field.
15275
15276         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15277         (gstsegments_suite):
15278         Add more checks for various GstSegment operations.
15279
15280 2006-05-08  Wim Taymans  <wim@fluendo.com>
15281
15282         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15283         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15284         (gst_base_sink_get_position), (gst_base_sink_change_state):
15285         Store the sync time of the buffer end position separatly in a
15286         new variable eos_rtime so we can properly sync the EOS event.
15287         Fixes #340697.
15288         Fix the docs for gst_base_sink_set_qos_enabled().
15289         Don't set segment start to invalid value when we receive a 
15290         non TIME newsegment.
15291         get closer to handling position reporting for negative rates 
15292         correctly.
15293
15294 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15295
15296         * gst/gstcaps.c:
15297         Docs about how to print caps for debug purposes.
15298
15299         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15300         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15301
15302 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15303
15304         * gst/gstelement.c:
15305           use full enum names and preprend a '%' in docs strings to make recent 
15306           gtk-doc turn that into a link
15307
15308 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15309
15310         * docs/manual/basics-bins.xml:
15311         * docs/manual/basics-bus.xml:
15312         * docs/manual/basics-pads.xml:
15313           Some typo fixes, some additions, some clarifications. 
15314
15315 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15316
15317         * tools/gst-inspect.c: (main):
15318         * tools/gst-launch.c: (main):
15319         * tools/gst-run.c: (main):
15320         * tools/gst-typefind.c: (main):
15321         * tools/gst-xmlinspect.c: (main):
15322           Use the string passed to g_option_context_new() for
15323           what it's intended for - the program name is already
15324           printed elsewhere.
15325
15326 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15327
15328         * tools/Makefile.am:
15329         * tools/gst-inspect.c: (main):
15330         * tools/gst-launch.c: (main):
15331         * tools/gst-xmlinspect.c: (main):
15332         * tools/tools.h:
15333           Add back --version command line option (#340460).
15334
15335         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15336           Add --version option and use GOption for argument parsing; refactor a
15337           bit; accept directories as arguments and recurse into them; lastly,
15338           print a decent error message when things go wrong.
15339
15340 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15341
15342         * docs/manual/basics-bins.xml:
15343         Don't mention GstThread (#340611)
15344         * docs/manual/basics-elements.xml:
15345         Update link to GObject tutorial (#340607)
15346         
15347 2006-05-05  Wim Taymans  <wim@fluendo.com>
15348
15349         * gst/gstbuffer.h:
15350         * gst/gstminiobject.c:
15351         Add note about refcounting and miniobject/buffer writeability
15352         to docs. Fixes #340604
15353
15354         * gst/gstelementfactory.h:
15355         Added some explanation about @klass.
15356
15357 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15358
15359         * docs/manual/intro-motivation.xml:
15360         * docs/manual/manual.xml:
15361         Avoid CORBA & Bonobo references (#340598)
15362
15363 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15364
15365         * docs/manual/basics-bus.xml:
15366         * docs/manual/basics-pads.xml:
15367         Fix up some inaccuracies and omissions (#340609)
15368         
15369 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15370
15371         * gst/gstghostpad.c:
15372           Small typo in docs (#340625)
15373
15374 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15375
15376         * gst/parse/Makefile.am:
15377           Make 'make -j' proof (see #340698).
15378
15379 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15380
15381         * configure.ac:
15382           Require GLib-2.8 here as well.
15383
15384 2006-05-05  Wim Taymans  <wim@fluendo.com>
15385
15386         * gst/glib-compat.c:
15387         * gst/gst.c: (init_pre):
15388         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15389         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15390         (gst_object_dispatch_properties_changed):
15391         * gst/gstobject.h:
15392         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15393         * gst/gststructure.c: (gst_structure_set_valist):
15394         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15395         Remove pre glib2.8 compatibility, fixes #340508
15396
15397 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15398
15399         * gst/gsttaglist.h:
15400           Mention type of tags in doc blurbs.
15401
15402 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15403
15404         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15405         (gst_pad_configure_src), (gst_pad_push):
15406         Restore acceptcaps checking behaviour now that good plugins have
15407         been released.
15408
15409 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15410
15411         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15412
15413         * gst/gst.c:
15414         * gst/gstbus.c:
15415         * gst/gstclock.c:
15416         * gst/gstevent.c:
15417         * gst/gstformat.c:
15418         * gst/gstmessage.c:
15419         * gst/gstparse.c:
15420         * gst/gstquery.c:
15421         * gst/gstutils.c:
15422         * gst/parse/Makefile.am:
15423         * libs/gst/base/gstadapter.c:
15424         * libs/gst/base/gstbasesrc.c:
15425         * libs/gst/base/gstpushsrc.c:
15426         * libs/gst/base/gsttypefindhelper.c:
15427         * plugins/elements/gstfakesrc.c:
15428         * plugins/elements/gstidentity.c:
15429           Make sure gstprivate.h and/or config.h are
15430           always included first, otherwise some of our
15431           defines (like _FILE_OFFSET_BITS) might be
15432           redefined in the system headers. Fixes build
15433           on opensolaris (#340016).
15434
15435 2006-05-04  Wim Taymans  <wim@fluendo.com>
15436
15437         * docs/libs/gstreamer-libs-sections.txt:
15438         API: addition: gst_adapter_take_buffer()
15439         
15440         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15441         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15442         (gst_adapter_available_fast):
15443         * libs/gst/base/gstadapter.h:
15444         Prepare for optimizing the hell out of this hugely inefficient
15445         piece of code. 
15446         Added gst_adapter_take_buffer() so we can at least start thinking
15447         about subbuffering and merging.
15448         Added some comments.
15449
15450         * tests/check/Makefile.am:
15451         * tests/check/libs/adapter.c: (GST_START_TEST),
15452         (gst_adapter_suite), (main):
15453         Added GstAdapter check.
15454
15455 2006-05-04  Wim Taymans  <wim@fluendo.com>
15456
15457         * docs/design/part-overview.txt:
15458         Fix some typos, add blurb about buffer flags.
15459
15460 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15461
15462         * docs/libs/gstreamer-libs-sections.txt:
15463           make sure GstBaseTransformClass shows up in the docs
15464         * libs/gst/base/gstbasetransform.c:
15465         * libs/gst/base/gstbasetransform.h:
15466           move docs so gtk-doc picks it up now
15467
15468 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15469
15470         * docs/libs/gstreamer-libs-sections.txt:
15471           add missing symbols to docs
15472
15473 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15474
15475         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15476           back out the newsegment handling change, see #340060 for ongoing
15477           discussion
15478
15479 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15480
15481         * tools/gst-run.c: (get_candidates), (main):
15482           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15483           work); fix typo in error message. Fixes #340079.
15484
15485 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15486
15487         * common/Makefile.am:
15488         * docs/Makefile.am:
15489         * docs/faq/Makefile.am:
15490         * docs/gst/Makefile.am:
15491         * docs/libs/Makefile.am:
15492         * docs/manual/Makefile.am:
15493         * docs/plugins/Makefile.am:
15494         * docs/pwg/Makefile.am:
15495         * docs/slides/Makefile.am:
15496         * docs/upload.mak:
15497         * common/upload.mak:
15498           move upload.mak to common
15499
15500 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15501
15502         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15503           add more asserts on refcounts
15504           do more cleanup at end of tests
15505           fix test leaks showing in FC5
15506
15507 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15508
15509         * plugins/elements/gsttypefindelement.c:
15510         (gst_type_find_element_handle_event):
15511         reverted wrong change and reflowed code to avoid others falling into
15512         this trap
15513
15514 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15515
15516         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15517           fix changelog entry about last collectpads change,
15518           add notes about proper fix
15519
15520 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15521
15522         * gst/gst.c:
15523         * gst/gstregistry.c: (gst_registry_scan_path_level),
15524         (gst_registry_scan_path):
15525         * gst/gstregistry.h:
15526           only write out registry if it has changed, fixes #338339
15527
15528 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15529
15530         * gst/gstbin.c:
15531         * gst/gstpipeline.c:
15532         * plugins/elements/gstcapsfilter.c:
15533         * plugins/elements/gstfakesink.c:
15534         * plugins/elements/gstfakesrc.c:
15535         * plugins/elements/gstfdsink.c:
15536         * plugins/elements/gstfdsrc.c:
15537         * plugins/elements/gstfilesink.c:
15538         * plugins/elements/gstfilesrc.c:
15539         * plugins/elements/gstidentity.c:
15540         * plugins/elements/gstqueue.c:
15541         * plugins/elements/gsttee.c:
15542         * plugins/elements/gsttypefindelement.c:
15543         (gst_type_find_element_handle_event):
15544           make GstElementDetails const
15545
15546 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15547
15548         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15549         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15550         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15551           more detailed debug and formatting cleanup,
15552           forward newsegments to src-pad (so that e.g. adder not eats them)
15553
15554 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15555
15556         * gst/gstutils.c: (gst_element_link_pads):
15557           cleanup double code
15558
15559 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15560
15561         * libs/gst/controller/gstcontroller.c:
15562         (gst_controller_sync_values):
15563           some little tuning
15564         * tests/check/libs/controller.c: (GST_START_TEST),
15565         (gst_controller_suite):
15566           a new test for live value handling
15567
15568 2006-04-28  Wim Taymans  <wim@fluendo.com>
15569
15570         * gst/gstutils.c: (push_and_ref):
15571         Added some more docs.
15572         Fix refcount issue whith gst_element_found_tags() helper 
15573         function. Fixes #338335
15574
15575         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15576         Added testsuite for gst_element_found_tags().
15577
15578 2006-04-28  Michael Smith  <msmith@fluendo.com>
15579
15580         * gst/gstvalue.c: (gst_value_serialize_flags):
15581           Avoid NULL dereference when trying to serialize flags containing
15582           invalid values.
15583
15584 2006-04-28  Michael Smith  <msmith@fluendo.com>
15585
15586         * plugins/elements/gsttypefindelement.c:
15587         (gst_type_find_element_handle_event):
15588           If we get EOS before any data is accumulated, don't use
15589           uninitialised local variables.
15590
15591 2006-04-28  Michael Smith  <msmith@fluendo.com>
15592
15593         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15594         (gst_dp_event_from_packet):
15595           Fixes in reading/writing events over GDP (not currently used?) - 
15596           dereferencing NULL events for unknown/invalid event types, memory
15597           leak, and change g_warning to GST_WARNING.
15598
15599 2006-04-28  Wim Taymans  <wim@fluendo.com>
15600
15601         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15602         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15603         (gst_base_sink_get_position), (gst_base_sink_change_state):
15604         When frame dropping is enabled, we should not ignore frames
15605         without a duration.
15606         Update some documentation.
15607
15608 2006-04-28  Wim Taymans  <wim@fluendo.com>
15609
15610         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15611         (gst_base_src_send_event), (gst_base_src_change_state):
15612         Documentation updates.
15613
15614 2006-04-28  Wim Taymans  <wim@fluendo.com>
15615
15616         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15617         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15618         handle EAGAIN, EINTR and short writes correctly. Also clean
15619         up some error cases, avoid a deadlock on bad file descriptors and
15620         use GST_DEBUG_OBJECT.
15621         Fixes #339843
15622
15623 2006-04-28  Wim Taymans  <wim@fluendo.com>
15624
15625         * gst/gstvalue.c: (gst_value_serialize_buffer),
15626         (gst_value_deserialize_buffer):
15627         Don't try to serialize a GValue with a NULL buffer. 
15628         Fixes #339821.
15629
15630         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15631         Added check for serialisation of NULL buffers.
15632
15633 2006-04-28  Wim Taymans  <wim@fluendo.com>
15634
15635         * gst/gstminiobject.c: (gst_value_take_mini_object):
15636         Taking a NULL miniobject is valid, fix the case where
15637         we try to unref the NULL miniobject.
15638
15639 2006-04-28  Wim Taymans  <wim@fluendo.com>
15640
15641         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15642
15643         * gst/gstbin.c: (gst_bin_handle_message_func):
15644         Update docs.
15645         Don't leak bin refcount when a state recalc is
15646         in progress and we delay another one #339808.
15647
15648 2006-04-28  Wim Taymans  <wim@fluendo.com>
15649
15650         * docs/design/part-TODO.txt:
15651         Mention QoS as an ongoing work item.
15652
15653         * docs/design/part-buffering.txt:
15654         New doc about buffering that needs to be fleshed out
15655         at some point.
15656
15657         * docs/design/part-qos.txt:
15658         More QoS policy for decoders/demuxers/transforms
15659
15660         * docs/design/part-trickmodes.txt:
15661         Small update.
15662
15663 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15664
15665         * configure.ac:
15666           back to HEAD
15667
15668 === release 0.10.5 ===
15669
15670 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15671
15672         * configure.ac:
15673           releasing 0.10.5, "Fogo"
15674
15675 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15676
15677         patch by: Wim Taymans
15678
15679         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15680         (gst_pad_configure_src), (gst_pad_push):
15681         * gst/gstpipeline.c: (gst_pipeline_init):
15682           Fix internal data flow errors.  Fixes #338711.
15683
15684 2006-04-12  Wim Taymans  <wim@fluendo.com>
15685
15686         * tests/check/gst/gstelement.c: (GST_START_TEST):
15687         Don't leak the factory.
15688
15689 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15690
15691         * configure.ac:
15692         * win32/common/config.h:
15693           prerelease
15694
15695 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15696
15697         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15698         (gst_controller_unset_all):
15699           Free allocated GstTimedValues when freeing list nodes.
15700           Should fix leaks 'make check-valgrind' complains about.
15701
15702         * win32/common/libgstcontroller.def:
15703           Add gst_controller_unset_all.
15704
15705 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15706
15707         * docs/libs/gstreamer-libs-sections.txt:
15708         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15709         (gst_controller_unset_all):
15710         * libs/gst/controller/gstcontroller.h:
15711         API: Added new method gst_controller_unset_all()
15712         fixed gst_controller_unset()
15713         * tests/check/libs/controller.c: (GST_START_TEST),
15714         (gst_controller_suite):
15715         Added two testcases for new and fixed method
15716
15717 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15718
15719         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15720           MSG_DONTWAIT is not defined on Cygwin, so work
15721           around that (fixes #317048).
15722           
15723 2006-04-11  Wim Taymans  <wim@fluendo.com>
15724
15725         * gst/gstelementfactory.c: (gst_element_register),
15726         (gst_element_factory_create), (gst_element_factory_make):
15727         Some cleanups.
15728         Fixed a FIXME.
15729         Updated docs (Fixes #131079)
15730
15731         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15732         Small cleanups.
15733
15734         * tests/check/gst/gstelement.c: (GST_START_TEST),
15735         (gst_element_suite):
15736         Added testcase for elementfactory class field.
15737
15738 2006-04-10  Wim Taymans  <wim@fluendo.com>
15739
15740         * gst/gstsegment.c:
15741         Added some more docs.
15742
15743         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15744         (gst_base_sink_reset_qos):
15745         Calculate more accurate rate values.
15746
15747 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15748
15749         * gst/gst_private.h:
15750           add a new #ifdef to use __declspec(dllimport) only for
15751           other modules and not for gstreamer core
15752         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15753           use gst_guint64_to_gdouble for conversion
15754         * win32/common/libgstreamer.def:
15755           add new exported functions
15756         * win32/vs6/gst_inspect.dsp:
15757         * win32/vs6/gst_launch.dsp:
15758         * win32/vs6/libgstbase.dsp:
15759         * win32/vs6/libgstcontroller.dsp:
15760         * win32/vs6/libgstcoreelements.dsp:
15761         * win32/vs6/libgstdataprotocol.dsp:
15762         * win32/vs6/libgstnet.dsp:
15763           update project files
15764
15765 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15766
15767         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15768         * gst/gstclock.c: (gst_clock_class_init):
15769         * gst/gstelement.c: (gst_element_class_init):
15770         * gst/gstindex.c: (gst_index_class_init):
15771         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15772         * gst/gstobject.c: (gst_object_class_init),
15773         (gst_signal_object_class_init):
15774         * gst/gstpad.c: (gst_pad_class_init):
15775         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15776         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15777         * gst/gstregistry.c: (gst_registry_class_init):
15778         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15779         * gst/gsttask.c: (gst_task_class_init):
15780         * gst/gstxml.c: (gst_xml_class_init):
15781         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15782         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15783         (gst_base_src_loop):
15784         * libs/gst/controller/gstcontroller.c:/
15785         (_gst_controller_class_init):
15786         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15787         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15788         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15789         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15790         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15791         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15792
15793 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15794
15795         * gst/gstpad.c: (gst_pad_link):
15796           Must set peer pads before calling the link function, otherwise
15797           a task started from a link function might get a flow-not-linked
15798           result when trying to push because the other thread where the
15799           linking happens hasn't had a chance to set the peers yet. This
15800           might happen for example when a queue gets linked to a downstream
15801           element, as queue starts a streaming task when its source pad
15802           gets linked. Happens in real life when playing back flac/musepack
15803           files in playbin (#332390).
15804           
15805 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15806
15807         * gst/gstindex.h:
15808         * gst/gstxml.h:
15809         * libs/gst/base/gstadapter.h:
15810         * libs/gst/base/gstbasesink.h:
15811         * libs/gst/base/gstbasesrc.h:
15812         * libs/gst/base/gstbasetransform.h:
15813         * libs/gst/base/gstcollectpads.h:
15814         * libs/gst/base/gstpushsrc.h:
15815         Fix broken GObject macros
15816
15817 2006-04-07  Wim Taymans  <wim@fluendo.com>
15818
15819         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15820         Initialize start and stop times, thanks valgrind.
15821
15822 2006-04-07  Wim Taymans  <wim@fluendo.com>
15823
15824         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15825         Be a bit nicer to badly behaving upstream elements that expect
15826         us to deal with non TIME segments and timestamps (such as fakesrc
15827         in the testsuite).
15828
15829 2006-04-07  Wim Taymans  <wim@fluendo.com>
15830
15831         * gst/gstbus.c:
15832         Small documentation clarification about the signal watch.
15833
15834         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15835         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15836         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15837         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15838         (gst_base_sink_get_position_last),
15839         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15840         Convert and store timestamps in stream time and running time, the
15841         raw timestamps are not useful, also document this better.
15842         Use different window sizes for good and bad QoS observations so
15843         we react to badness a little quicker.
15844         Keep track of the amount of rendered and dropped buffers.
15845         Send QoS timestamps in running time.
15846
15847         * libs/gst/base/gstbasetransform.c:
15848         (gst_base_transform_sink_eventfunc),
15849         (gst_base_transform_handle_buffer):
15850         Compare QoS timestamps against running time.
15851
15852 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15853
15854         * gst/gstpad.c:
15855           Typo fixes in docs.
15856
15857 2006-04-06  Michael Smith  <msmith@fluendo.com>
15858
15859         * gst/gstpad.c: (gst_pad_set_property):
15860           Use g_value_get_object() instead of g_value_dup_gst_object(),
15861           to avoid double-reffing the pad template (which we then sink,
15862           so this worked previously if (and only if) the pad template
15863           was floating.
15864
15865         * gst/gstpadtemplate.c: (gst_pad_template_init),
15866         (gst_pad_template_pad_created):
15867           Never return floating references to pad templates, create
15868           them as initially-sunken.
15869
15870           Document an extra function (and make this stop sinking our
15871           pad template, since that is now guaranteed to do nothing,
15872           since we created it sunken).
15873
15874         * gst/gstghostpad.c:
15875           Fix docs typo.
15876
15877 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15878
15879         * gst/gstinfo.c: (__gst_in_valgrind):
15880           Add some newlines.
15881
15882         * plugins/elements/gsttypefindelement.c:
15883         (gst_type_find_element_chain):
15884           Don't leak buffer caps.
15885
15886 2006-04-06  Michael Smith  <msmith@fluendo.com>
15887
15888         * gst/parse/grammar.y:
15889           Fix a leak in parse-launch for any source-or-sink named element 
15890           references used.
15891
15892         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15893           Unref the pipeline if it exists after we've failed parsing.
15894
15895 2006-04-05  Michael Smith  <msmith@fluendo.com>
15896
15897         * gst/gstpipeline.c: (gst_pipeline_init):
15898           When we create a pipeline bus, initially create it in flushing mode.
15899           Fixes leaks in at least one test, and makes a new pipeline work the
15900           same as one that has gone to READY and then back to NULL.
15901
15902         * gst/gstelement.c:
15903           Typo fix in docs.
15904
15905 2006-04-05  Michael Smith  <msmith@fluendo.com>
15906
15907         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15908           Unref a pad we reffed.
15909         * tests/check/gst/gstutils.c: (GST_START_TEST):
15910           Unref bins
15911
15912 2006-04-05  Michael Smith  <msmith@fluendo.com>
15913
15914         * gst/gstquery.c: (gst_query_set_formats),
15915         (gst_query_set_formatsv):
15916           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15917
15918 2006-04-05  Michael Smith  <msmith@fluendo.com>
15919
15920         * tests/check/generic/sinks.c: (GST_START_TEST):
15921           Fix a variety of memleaks in sinks check, which are only sometimes 
15922           shown by running the tests under valgrind (weird?).
15923
15924 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15925
15926         * docs/version.entities.in:
15927           Fix the substituted entity name after thomas' changes on the
15928           weekend.
15929
15930 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15931
15932         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15933         VALGRIND_PRINTF
15934         
15935 2006-04-05  Andy Wingo  <wingo@pobox.com>
15936
15937         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15938
15939         * libs/gst/base/gstbasetransform.c
15940         (gst_base_transform_sink_eventfunc): When resetting our segment on
15941         FLUSH_STOP, also update the flag saying we haven't seen a
15942         newsegment.
15943
15944 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15945
15946         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15947
15948         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15949         (gst_plugin_check_license):
15950           minor clean-ups: G_DEFINE_TYPE already takes care of the
15951           parent_class stuff, no need to do it twice. Mark array of
15952           license strings as constant. (#337103)
15953           
15954 2006-04-04  Michael Smith  <msmith@fluendo.com>
15955
15956         * tools/gst-inspect.c: (print_element_list):
15957           Free the right plugin list; fixes a memory leak.
15958
15959 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15960
15961         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15962
15963         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15964           Don't error out on empty buffers (#336945).
15965           
15966 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15967
15968         * docs/libs/gstreamer-libs-sections.txt:
15969         * gst/gsttaglist.c:
15970         * libs/gst/base/gstbasesink.c:
15971         * libs/gst/base/gstbasesink.h:
15972         * libs/gst/base/gstbasesrc.c:
15973         * libs/gst/base/gstbasesrc.h:
15974           Documentation updates. Make BaseSink and BaseSrc docs contain the
15975           class structure so that people can actually see the prototypes for
15976           virtual functions they're supposed to be overriding.
15977
15978 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15979
15980         * plugins/elements/gsttypefindelement.c:
15981         (gst_type_find_element_chain):
15982           More debug info; when skipping typefinding, send cached
15983           events in all cases.
15984
15985 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15986
15987         * configure.ac:
15988           use new AS_VERSION and AS_NANO macros
15989         * gst/gst-i18n-lib.h:
15990         * gst/gst.c:
15991         * gst/gsterror.c:
15992         * gst/gstversion.h.in:
15993         * win32/common/config.h:
15994         * win32/common/config.h.in:
15995           update accordingly
15996
15997 2006-03-31  Michael Smith  <msmith@fluendo.com>
15998
15999         * plugins/elements/gsttypefindelement.c:
16000         (gst_type_find_element_chain):
16001           Do not typefind content if the buffers already have caps.
16002           Neccesary for icydemux (#333657), and the right thing to do anyway.
16003
16004 2006-03-30  Wim Taymans  <wim@fluendo.com>
16005
16006         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16007         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16008         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16009         (gst_base_sink_record_qos_observation),
16010         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16011         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16012         (gst_base_sink_change_state):
16013         More QoS measurements as described in the design doc.
16014         Get rid of ringbuffer with observations, running average is
16015         more simple and equally good.
16016         Calculates valid proportion now.
16017         Added beginning of flood measurement.
16018
16019 2006-03-29  Wim Taymans  <wim@fluendo.com>
16020
16021         * docs/design/part-qos.txt:
16022         * gst/gstclock.c:
16023         Small documentation updates and additions.
16024
16025 2006-03-29  Wim Taymans  <wim@fluendo.com>
16026
16027         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16028         (gst_base_src_send_event), (gst_base_src_loop),
16029         (gst_base_src_change_state):
16030         Perform the EOS logic when we reach the segment stop position.
16031         Fix compilation on gcc4.1
16032
16033 2006-03-29  Wim Taymans  <wim@fluendo.com>
16034
16035         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16036
16037         * plugins/elements/gstqueue.c: (gst_queue_init),
16038         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16039         (gst_queue_set_property):
16040         * plugins/elements/gstqueue.h:
16041         In queue, when EOS is received, if minimum threshold > max_size -
16042         current_level, there is chance that queue blocks forever in conditional
16043         item del wait. This is because the queue is not emptied completely due
16044         to minimum threshold.  Here is another approach. Instead of setting
16045         cur_levels to max in EOS, just zero all minimum threshold levels. This
16046         should make sure that queue gives out all data. When going to READY
16047         (stop) state, just reset the original minimum threshold levels.
16048         Fixes #336336.
16049
16050 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16051
16052         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16053         (gst_type_find_element_handle_event),
16054         (gst_type_find_element_send_cached_events),
16055         (gst_type_find_element_change_state):
16056         * plugins/elements/gsttypefindelement.h:
16057           When typefinding is done in push mode, we should cache
16058           events we receive during typefinding instead of just
16059           dropping them (e.g. newsegment, custom events from
16060           dvdreadsrc etc.) and then send them out once we've
16061           determined the type of the stream (and decodebin
16062           has had a chance to plug in a decoder/demuxer).
16063           
16064 2006-03-27  Wim Taymans  <wim@fluendo.com>
16065
16066         * docs/design/part-qos.txt:
16067         First QoS ideas.
16068
16069 2006-03-27  Wim Taymans  <wim@fluendo.com>
16070
16071         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16072
16073         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16074         (gst_base_src_send_event), (gst_base_src_change_state):
16075         Handle element seek correctly when we are streaming.
16076         Fixes #326998.
16077
16078 2006-03-24  Michael Smith  <msmith@fluendo.com>
16079
16080         * docs/faq/gst-uninstalled:
16081           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16082           allow you to correctly run intalled applications built against old 
16083           core, using plugins that require updated core (e.g. running
16084           installed totem against a full uninstalled gstreamer stack)
16085
16086 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16087
16088         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16089         more debug details
16090
16091 2006-03-24  Wim Taymans  <wim@fluendo.com>
16092
16093         * docs/gst/gstreamer-sections.txt:
16094         Rearrange the order of the methods so that related methods
16095         are grouped together in sections.
16096
16097 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16098
16099         * gst/gstelement.c:
16100           Little clarification in the docs
16101
16102 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16103
16104         * docs/README:
16105         formatting fix
16106         * plugins/elements/gstidentity.c:
16107         * plugins/elements/gstqueue.c:
16108         * plugins/elements/gsttee.c:
16109         * plugins/elements/gsttypefindelement.c:
16110         GST_ELEMENT_DETAILS formatting
16111
16112 2006-03-24  Wim Taymans  <wim@fluendo.com>
16113
16114         * libs/gst/base/gstbasesink.h:
16115         Only add fields, not insert or we break ABI.
16116
16117 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16118
16119         * win32/common/libgstbase.def:
16120         * win32/common/libgstreamer.def:
16121           Update, add recently added functions.
16122
16123 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16124
16125         * docs/gst/gstreamer-sections.txt:
16126         * gst/gstutils.c: (gst_pad_query_peer_position),
16127         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16128         * gst/gstutils.h:
16129           API: add some new utility functions:
16130            - gst_pad_query_peer_position()
16131            - gst_pad_query_peer_duration()
16132            - gst_pad_query_peer_convert()
16133           
16134 2006-03-23  Wim Taymans  <wim@fluendo.com>
16135
16136         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16137         (gst_base_sink_init), (gst_base_sink_finalize),
16138         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16139         (gst_base_sink_set_property), (gst_base_sink_get_property),
16140         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16141         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16142         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16143         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16144         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16145         (gst_base_sink_preroll_object), (gst_base_sink_event),
16146         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16147         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16148         (gst_base_sink_query), (gst_base_sink_change_state):
16149         Decouple max-lateness and the fact that QoS messages are generated
16150         with a new property (qos).
16151         added API: GstBaseSink::async_play()
16152         Add vmethod so subclasses can be notified of ASYNC playing
16153         state changes.
16154         Collect timestamp start and stop to report better current
16155         position in EOS/PLAYING/PAUSED/READY/NULL.
16156         Refactor QoS/frame dropping and other measurements.
16157         API: GstBaseSrc::qos
16158         Fixes #326311
16159
16160         * libs/gst/base/gstbasesink.h:
16161         Added Private struct.
16162         API: gst_base_sink_set_qos_enabled()
16163         API: gst_base_sink_is_qos_enabled()
16164
16165 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16166
16167         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16168           If compiling against GLib-2.8 or newer, try to read the
16169           registry file using GMappedFile first before falling back
16170           to fopen() + fread() (#332151).
16171
16172 2006-03-22  Wim Taymans  <wim@fluendo.com>
16173
16174         * gst/gstinfo.c: (gst_debug_set_active),
16175         (gst_debug_category_set_threshold):
16176         Disable debugging unless explicitly activated.
16177         Fixes #335480.
16178
16179 2006-03-22  Wim Taymans  <wim@fluendo.com>
16180
16181         * gst/gstelement.c: (gst_element_set_locked_state),
16182         (gst_element_dispose):
16183         Cleanup the error case.
16184
16185         * gst/gstobject.c: (gst_object_dispose):
16186         print a critical when some object was disposed with
16187         a parent, also revive the object since it might
16188         crash the parent.
16189
16190 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16191
16192         * tools/gst-launch.1.in:
16193           Fix another typo.
16194
16195 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16196
16197         * configure.ac:
16198         * tests/check/Makefile.am:
16199           disable some tests when we don't have a registry
16200         * tests/check/gst/gstutils.c: (gst_utils_suite):
16201           don't build the part that needs parsing
16202
16203 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16204
16205         * gst/Makefile.am
16206         * tests/examples/Makefile.am:
16207           fix --disable-parse build
16208
16209 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16210
16211         * tools/gst-feedback.1.in:
16212           Fix typo: s/feeback/feedback/ (#133494).
16213
16214 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16215
16216         * tools/Makefile.am:
16217         * tools/gst-launch.1.in:
16218           Add FILES section and correct entry about GST_REGISTRY_PATH
16219           environment variable (#133495; #133494).
16220
16221 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16222
16223         * tools/Makefile.am:
16224         * tools/gst-md5sum.1.in:
16225         * tools/gst-md5sum.c:
16226           Remove gst-md5sum and man page (the md5sink element
16227           required was removed ages ago)
16228
16229 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16230
16231         * gst/gststructure.c: (gst_structure_id_set_value):
16232           Make sure that string fields in structures/taglists
16233           contain valid UTF-8 - we don't want to pass rubbish to
16234           applications because of a buggy plugin (cp. #334167).
16235
16236 2006-03-21  Edward Hervey  <edward@fluendo.com>
16237
16238         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16239         (gst_bin_handle_message_func):
16240         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16241         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16242         (gst_element_set_bus_func):
16243         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16244         * gst/gstminiobject.c: (gst_value_set_mini_object),
16245         (gst_value_take_mini_object):
16246         * gst/gstpad.c: (gst_pad_set_pad_template):
16247         * gst/gstpipeline.c: (gst_pipeline_dispose),
16248         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16249         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16250         (gst_collect_pads_chain):
16251         * libs/gst/net/gstnettimeprovider.c:
16252         (gst_net_time_provider_set_property):
16253         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16254         It's in fact all issues with gst_*object_replace().
16255
16256 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16257
16258         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16259         
16260         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16261         * pkgconfig/gstreamer-check.pc.in:
16262           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16263
16264 2006-03-21  Edward Hervey  <edward@fluendo.com>
16265
16266         * gst/gstbuffer.h:
16267         * gst/gstevent.h:
16268         * gst/gstmessage.h:
16269         gst_[buffer|event|message]_ref() macros are replaced by a static
16270         inline functions because gcc-4.1 will about if the return value
16271         isn't used.
16272         * tests/check/gst/gstevent.c: (event_probe):
16273         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16274
16275 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16276
16277         * gst/gstutils.h:
16278         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16279         the type' case. (Closes: #335195 for now). In the future, when we
16280         depend on GLib 2.10, we could also intern the type name using
16281         g_intern_static_string()
16282
16283 2006-03-20  Wim Taymans  <wim@fluendo.com>
16284
16285         * gst/gstbin.c: (gst_bin_handle_message_func),
16286         (bin_query_max_init), (bin_query_position_fold),
16287         (bin_query_position_done), (gst_bin_query):
16288         Position query should also take max of all streams.
16289
16290 2006-03-20  Wim Taymans  <wim@fluendo.com>
16291
16292         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16293         (gst_fake_src_finalize):
16294         Fix leaks in fakesrc.
16295
16296         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16297         Fix leaks in the testcase.
16298
16299 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16300
16301         * gst/gst_private.h:
16302           add win32 specific import decoration(__declspec(dllimport)) 
16303           for all extern GstDebugCategory * variables
16304         * win32/common/libgstbase.def:
16305         * win32/common/libgstcontroller.def:
16306         * win32/common/libgstreamer.def:
16307           Add some exports, remove empty lines
16308         * win32/common/libgstdataprotocol.def:
16309         * win32/common/libgstdataprotocol.dsp:
16310         * win32/common/libgstnet.def:
16311         * win32/common/libgstnet.dsp:
16312           new project files and exportation files added
16313         
16314 2006-03-19  Wim Taymans  <wim@fluendo.com>
16315
16316         * tests/check/libs/basesrc.c: (eos_event_counter):
16317         Use proper return value for probe.
16318
16319 2006-03-17  Wim Taymans  <wim@fluendo.com>
16320
16321         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16322         (gst_pad_push):
16323         Don't leak buffers, caps and pads on negotiation errors.
16324
16325 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16326
16327         * docs/faq/cvs.xml:
16328         * docs/faq/dependencies.xml:
16329         * docs/faq/developing.xml:
16330         * docs/faq/faq.xml:
16331         * docs/faq/general.xml:
16332         * docs/faq/getting.xml:
16333         * docs/faq/legal.xml:
16334         * docs/faq/troubleshooting.xml:
16335         * docs/faq/using.xml:
16336         Faq review and update.
16337
16338 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16339
16340         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16341         (gst_pad_push):
16342         Don't pound the cpu to pieces by checking get_caps when accept_caps
16343         is called with the same caps as the pad already has.
16344         Use GST_DEBUG_OBJECT when outputting caps change information.
16345
16346 2006-03-15  Wim Taymans  <wim@fluendo.com>
16347
16348         * gst/gstclock.c: (gst_clock_class_init):
16349         Fix docs.
16350
16351 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16352
16353         * gst/gstbuffer.h:
16354         Documentation fix.
16355
16356         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16357         (gst_pad_accept_caps), (gst_pad_configure_sink),
16358         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16359         Make the default acceptcaps behaviour be to check the requested 
16360         caps against the gst_pad_get_caps output. 
16361
16362         Ensure that gst_pad_accept_caps is used to check caps when a pad
16363         doesn't have a setcaps function, so that pads automatically refuse 
16364         caps that they don't allow in their pad template. (Fixes #332986)
16365
16366         When a buffer with attached caps is pushed, ensure that the source 
16367         pad receives those caps even if the element didn't call
16368         gst_pad_set_caps first.
16369
16370 2006-03-15  Wim Taymans  <wim@fluendo.com>
16371
16372         * libs/gst/base/gstadapter.c:
16373         Add some docs.
16374
16375 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16376
16377         * win32/common/libgstbase.def:
16378         * win32/common/libgstcontroller.def:
16379         * win32/common/libgstreamer.def:
16380           Add a whole bunch of missing functions (#334434).
16381
16382 2006-03-14  Wim Taymans  <wim@fluendo.com>
16383
16384         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16385         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16386         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16387         Better debug info when we receive a segment event.
16388         Reorganize a bit so we can pass the get_times() results around.
16389         Use the segment format when calculating the running time.
16390         Don't do QoS is sync is disabled or we have no clock or the
16391         element does not want us to sync to the clock.
16392         Don't drop buffers if QoS is disabled for now.
16393
16394 2006-03-14  Wim Taymans  <wim@fluendo.com>
16395
16396         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16397         Marked the stats property as unimplemented so people don't get
16398         wild ideas.
16399         Add debug message when regression goes wrong.
16400         Added some more docs.
16401
16402 2006-03-14  Wim Taymans  <wim@fluendo.com>
16403
16404         * gst/gstsegment.c: (gst_segment_to_stream_time):
16405         Return correct return type in case of errors.
16406
16407 2006-03-14  Wim Taymans  <wim@fluendo.com>
16408
16409         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16410           Don't segfault on invalid formats.
16411
16412 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16413
16414         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16415           Can't use gst_segment_to_running_time() when the segment
16416           is not in GST_TIME_FORMAT (like with filesink, for example).
16417           Stops flac encoding pipelines from spewing critical warnings
16418           at EOS (#331248).
16419           
16420 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16421
16422         * gst/gstpipeline.c: (gst_pipeline_class_init):
16423           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16424
16425         * plugins/elements/gsttypefindelement.c:
16426         (gst_type_find_element_handle_event):
16427           Don't try to typefind empty streams.
16428
16429 2006-03-14  Wim Taymans  <wim@fluendo.com>
16430
16431         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16432         (gst_base_sink_do_qos):
16433         Separate QoS calculation.
16434         Only drop buffers when lateness is bigger than the 
16435         duration of the buffer.
16436
16437 2006-03-13  Wim Taymans  <wim@fluendo.com>
16438
16439         * gst/gstpipeline.c: (gst_pipeline_set_property),
16440         (gst_pipeline_get_property), (do_pipeline_seek),
16441         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16442         (gst_pipeline_get_delay):
16443         Don't deadlock when reading properties.
16444
16445 2006-03-13  Wim Taymans  <wim@fluendo.com>
16446
16447         * libs/gst/base/gstbasetransform.c:
16448         (gst_base_transform_class_init), (gst_base_transform_init),
16449         (gst_base_transform_sink_event),
16450         (gst_base_transform_sink_eventfunc),
16451         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16452         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16453         (gst_base_transform_set_property),
16454         (gst_base_transform_get_property),
16455         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16456         (gst_base_transform_set_qos_enabled),
16457         (gst_base_transform_is_qos_enabled):
16458         * libs/gst/base/gstbasetransform.h:
16459         Make basetransform virtual method for src events too.
16460         Handle QOS in basetransform.
16461         API: gst_base_transform_update_qos()
16462         API: gst_base_transform_set_qos_enabled()
16463         API: gst_base_transform_is_qos_enabled()
16464
16465 2006-03-13  Wim Taymans  <wim@fluendo.com>
16466
16467         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16468         (gst_base_sink_do_sync):
16469         Small cleanups.
16470         Use QOS debug category.
16471
16472 2006-03-13  Wim Taymans  <wim@fluendo.com>
16473
16474         * plugins/elements/gstqueue.c:
16475         Very small doc update.
16476
16477 2006-03-13  Wim Taymans  <wim@fluendo.com>
16478
16479         * gst/gst_private.h:
16480         * gst/gstinfo.c: (_gst_debug_init):
16481         Added QOS debug category
16482
16483 2006-03-13  Wim Taymans  <wim@fluendo.com>
16484
16485         * docs/gst/gstreamer-sections.txt:
16486         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16487         * gst/gstbin.h:
16488         * gst/gstbus.c: (gst_bus_class_init):
16489         * gst/gstbus.h:
16490         * gst/gstclock.c:
16491         * gst/gstelement.c: (gst_element_set_locked_state):
16492         * gst/gstsegment.c:
16493         Documentation updates.
16494
16495         * gst/gstpipeline.c: (gst_pipeline_get_type),
16496         (gst_pipeline_class_init), (gst_pipeline_init),
16497         (gst_pipeline_dispose), (gst_pipeline_set_property),
16498         (gst_pipeline_get_property), (do_pipeline_seek),
16499         (gst_pipeline_send_event), (gst_pipeline_change_state),
16500         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16501         (gst_pipeline_get_delay):
16502         * gst/gstpipeline.h:
16503         Added methods for setting the delay.
16504         API: gst_pipeline_set_delay()
16505         API: gst_pipeline_get_delay()
16506         Add pipeline debug category
16507         Various cleanups.
16508         Updated docs.
16509         Don't reset stream time when seek failed.
16510
16511 2006-03-13  Wim Taymans  <wim@fluendo.com>
16512
16513         * docs/design/draft-klass.txt:
16514         * docs/design/part-clocks.txt:
16515         * docs/design/part-events.txt:
16516         * docs/design/part-gstbin.txt:
16517         * docs/design/part-gstpipeline.txt:
16518         * docs/design/part-messages.txt:
16519         * docs/design/part-negotiation.txt:
16520         * docs/design/part-overview.txt:
16521         * docs/design/part-preroll.txt:
16522         * docs/design/part-seeking.txt:
16523         * docs/design/part-states.txt:
16524         * docs/design/part-streams.txt:
16525         Documentation updates.
16526
16527 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16528
16529         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16530         us to leak strings...
16531
16532 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16533
16534         * libs/gst/net/gstnettimeprovider.c:
16535           fix docs
16536         * win32/common/config.h:
16537           update
16538
16539 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16540
16541         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16542
16543         * configure.ac:
16544           Don't check for libgnomeui (leftover from old examples
16545           that aren't built or disted any longer) (#334303).
16546           
16547 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16548
16549         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16550         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16551           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16552           there's no space left on the device.
16553
16554 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16555
16556         * gst/gstclock.h:
16557           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16558           to cast the input to GstClockTime before comparing with
16559           another GstClockTime value.
16560
16561 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16562
16563         * configure.ac:
16564           back to trunk
16565
16566 === release 0.10.4 ===
16567
16568 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16569
16570         * configure.ac:
16571           releasing 0.10.4, "Light"
16572
16573 2006-03-10  Michael Smith  <msmith@fluendo.com>
16574
16575         * libs/gst/dataprotocol/dataprotocol.c:
16576           Fix docs for dataprocotol to not get the return types completely
16577           wrong for a few functions.
16578
16579 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16580
16581         * docs/gst/gstreamer-sections.txt:
16582         * gst/gstpipeline.c: (gst_pipeline_class_init),
16583         (gst_pipeline_init), (gst_pipeline_set_property),
16584         (gst_pipeline_get_property), (gst_pipeline_change_state),
16585         (gst_pipeline_set_auto_flush_bus),
16586         (gst_pipeline_get_auto_flush_bus):
16587         * gst/gstpipeline.h:
16588           Add new API: gst_pipeline_set_auto_flush_bus() and
16589           gst_pipeline_get_auto_flush_bus() to disable automatic
16590           flushing of the pipeline's GstBus when going from READY
16591           to NULL state (#332045).
16592
16593 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16594
16595         * docs/gst/gstreamer-sections.txt:
16596         * gst/gsturi.c: (gst_uri_has_protocol):
16597         * gst/gsturi.h:
16598            Add new API: gst_uri_has_protocol() (#333779).
16599
16600 2006-03-09  Wim Taymans  <wim@fluendo.com>
16601
16602         * gst/gstclock.c: (gst_clock_entry_new),
16603         (gst_clock_id_compare_func), (gst_clock_id_wait),
16604         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16605         (gst_clock_init), (gst_clock_get_internal_time),
16606         (gst_clock_set_master), (do_linear_regression),
16607         (gst_clock_add_observation), (gst_clock_set_property):
16608         * gst/gstclock.h:
16609         Review docs.
16610         Small cleanups.
16611         Fix a possible segfault when the window-size is made smaller.
16612         Calculate jitter before performing the clock wait. Ideally
16613         the clock implementation should calculate jitter but we need
16614         API breakage for that.
16615
16616         * gst/gstsystemclock.c: (gst_system_clock_init):
16617         Docs review.
16618         
16619         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16620         Remove leftover else
16621
16622         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16623         (gst_systemclock_suite):
16624         Added check to test GST_CLOCK_DIFF.
16625
16626 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16627
16628         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16629         (gst_type_find_helper_get_range):
16630           If we are provided with the size, we should implement
16631           GstTypeFind::get_length, so that typefind functions who
16632           want to can actually peek at the middle of a file.
16633
16634 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16635
16636         * docs/manual/advanced-dataaccess.xml:
16637           Add some very very basic error checking.
16638
16639         * docs/pwg/appendix-checklist.xml:
16640           Some updates to the list of things to check when writing an element.
16641
16642 2006-03-08  Wim Taymans  <wim@fluendo.com>
16643
16644         * docs/design/part-element-transform.txt:
16645         Added some docs about the design of tranform elements.
16646
16647         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16648         (gst_base_src_loop), (gst_base_src_change_state):
16649         Mark buffers with the DISCONT flag.
16650
16651 2006-03-08  Michael Smith  <msmith@fluendo.com>
16652
16653         * gst/gstregistry.h:
16654         * gst/gstregistryxml.c: (gst_registry_save),
16655         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16656         (gst_registry_xml_save_pad_template),
16657         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16658         (gst_registry_xml_write_cache):
16659           Rewrite registry-saving to avoid race conditions and check for
16660           failed writes.
16661
16662 2006-03-08  Wim Taymans  <wim@fluendo.com>
16663
16664         * libs/gst/base/gstbasetransform.c:
16665         (gst_base_transform_transform_caps),
16666         (gst_base_transform_transform_size),
16667         (gst_base_transform_prepare_output_buffer),
16668         (gst_base_transform_get_unit_size),
16669         (gst_base_transform_buffer_alloc),
16670         (gst_base_transform_handle_buffer),
16671         (gst_base_transform_change_state):
16672         Cleanups, separate normal flow from errors, add sensible
16673         DEBUG lines.
16674         Don't try to renegotiate when allocating an output buffer.
16675         Also copy DISCONT buffer flag when copying a buffer.
16676         Reset the transform after we finish streaming, not during.
16677
16678 2006-03-08  Wim Taymans  <wim@fluendo.com>
16679
16680         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16681         Use last buffer timestamp in qos message.
16682
16683 2006-03-07  Wim Taymans  <wim@fluendo.com>
16684
16685         Patch by: Christophe Fergeau
16686
16687         * docs/pwg/advanced-tagging.xml:
16688         * docs/pwg/building-pads.xml:
16689           fixes #333416
16690
16691 2006-03-07  Wim Taymans  <wim@fluendo.com>
16692
16693         * docs/libs/gstreamer-libs-sections.txt:
16694         Added basesink new methods.
16695
16696         * gst/gstevent.c:
16697         * gst/gstevent.h:
16698         Docs updates. Flesh out the QoS docs.
16699
16700         * libs/gst/base/gstadapter.c:
16701         Small doc clarification about ownership and flushing.
16702
16703         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16704         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16705         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16706         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16707         * libs/gst/base/gstbasesink.h:
16708         API additions: 
16709         Added new methods to allow subclass to control max-lateness 
16710         and sync.
16711         Generate very basic QoS events based on last sync observation.
16712         Updated docs, fix typo, added some QoS blurb.
16713
16714         * libs/gst/base/gstbasesrc.c:
16715         Remove obsolete _get_state() calls from docs.
16716
16717 2006-03-07  Wim Taymans  <wim@fluendo.com>
16718
16719         * docs/libs/gstreamer-libs-sections.txt:
16720         * libs/gst/base/gstbasetransform.h:
16721         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16722         Fix docs for GstBaseSrc.
16723
16724 2006-03-07  Wim Taymans  <wim@fluendo.com>
16725
16726         * docs/gst/gstreamer-sections.txt:
16727         * gst/gstbuffer.h:
16728         * gst/gstvalue.c:
16729         * libs/gst/base/gstbasetransform.h:
16730         Small documentation fixes.
16731
16732 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16733
16734         * gst/gstvalue.c:
16735           Document thread-unsafety of gst_value_register_foo_func()
16736           when used at the same time as gst_value_foo() (#322628).
16737
16738 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16739
16740         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16741         (gst_push_src_check_get_range):
16742           Push sources don't support pull mode by default.
16743
16744 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16745
16746         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16747         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16748         (gst_base_src_default_check_get_range):
16749         * libs/gst/base/gstbasesrc.h:
16750           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16751           provide default implementation, and rename
16752           gst_base_src_check_get_range() to
16753           gst_base_src_pad_check_get_range() for clarity.
16754
16755 2006-03-06  Wim Taymans  <wim@fluendo.com>
16756
16757         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16758         Make property overridable.
16759
16760 2006-03-06  Wim Taymans  <wim@fluendo.com>
16761
16762         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16763         (gst_base_sink_init), (gst_base_sink_set_property),
16764         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16765         * libs/gst/base/gstbasesink.h:
16766         API addition: Make max-lateness a property.
16767
16768 2006-03-06  Wim Taymans  <wim@fluendo.com>
16769
16770         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16771         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16772         Don't ever draw a frame that is >10ms late.
16773
16774 2006-03-06  Michael Smith  <msmith@fluendo.com>
16775
16776         * gst/gstmessage.c: (_gst_message_copy):
16777           When copying a message, set the parent_refcount of the enclosed
16778           structure to point at the copy, not the original message.
16779
16780 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16781
16782         Patch by: Christophe Fergeau
16783
16784         * gst/gstutils.h:
16785           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16786           usable in c++ code (#333417)
16787
16788 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16789
16790         * gst/gstclock.h:
16791           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16792
16793 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16794
16795         * libs/gst/base/gstbasetransform.c:
16796         (gst_base_transform_transform_caps):
16797           Make sure caps are writable before passing them to
16798           gst_caps_append().
16799
16800 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16801
16802         * gst/gsterror.h:
16803           Fix some minor docs errors.
16804
16805 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16806
16807           Patch by: Ross Burton <ross at burtonini dot com>
16808
16809         * gst/gsterror.c: (_gst_resource_errors_init):
16810         * gst/gsterror.h:
16811           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16812
16813 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16814
16815         * gst/gst.c:
16816         Add a check and output a g_warning when GStreamer is built
16817         against GLib 2.6 but running against 2.8 or higher, and vice 
16818         versa. (Closes: #323542)
16819
16820 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16821
16822         * gst/parse/parse.l:
16823           Commit patch for parse_launch syntax from #331255. Removes 
16824           support for quoted strings and mimetypes when writing filtered 
16825           caps. See the bug report for more details - I'm pretty sure this
16826           obscure feature is not in use by _anyone_ anywhere.
16827
16828           With this simple change, the size of the gstreamer.so here 
16829           drops from 2193KB to 1565KB.
16830
16831 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16832
16833         * plugins/elements/gsttypefindelement.h:
16834         * plugins/elements/gsttypefindelement.c:
16835         (gst_type_find_element_src_event), (start_typefinding),
16836         (stop_typefinding), (gst_type_find_element_handle_event),
16837         (gst_type_find_element_chain),
16838         (gst_type_find_element_chain_do_typefinding):
16839           Use gst_type_find_helper_for_buffer() for chain-based
16840           typefinding.
16841
16842 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16843
16844         * plugins/elements/gsttypefindelement.c:
16845         (gst_type_find_element_class_init),
16846         (gst_type_find_element_set_property),
16847         (gst_type_find_element_get_property):
16848           Deprecate "maximum" property (not only was it only taken into
16849           account for typefinding in push-mode anyway, it also was never
16850           actually possible to set it in the first place because the
16851           property was registered with the numeric property ID for the
16852           "minimum" property). Register "maximum" property correctly,
16853           for the sake of future copy'n'pasters. Remove some cruft
16854           from property get/set functions.
16855
16856 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16857
16858         * plugins/elements/gsttypefindelement.c:
16859         (gst_type_find_element_activate):
16860           Use gst_type_find_helper_get_range() here, so we
16861           can honour the "minimum" property and also emit
16862           the signal with the correct probability of the found caps.
16863
16864 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16865
16866         * docs/libs/gstreamer-libs-sections.txt:
16867         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16868         (helper_find_suggest), (gst_type_find_helper_get_range),
16869         (gst_type_find_helper):
16870         * libs/gst/base/gsttypefindhelper.h:
16871           New API: gst_type_find_helper_get_range() (#333042).
16872
16873 2006-03-02  Michael Smith  <msmith@fluendo.com>
16874
16875         * gst/gstregistryxml.c: (load_feature):
16876           Asserting on a failure to read part of the registry is Not Cool.
16877           Just log a warning and return NULL (which is already handled)
16878
16879 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16880
16881         * win32/common/libgstbase.def:
16882           added export of gst_type_find_helper_for_buffer
16883         * win32/common/libgstbase.def:
16884           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16885           gst_ghost_pad_get_target
16886
16887 2006-02-28  Wim Taymans  <wim@fluendo.com>
16888
16889         * docs/design/draft-klass.txt:
16890         We use Filter now.
16891         Added Connector to mark elements that are only used to
16892         allow pipeline connections.
16893         Moved Debug to extra feature since most of them are 
16894         functionally something else.
16895
16896 2006-02-28  Wim Taymans  <wim@fluendo.com>
16897
16898         * docs/design/draft-klass.txt:
16899         Some updates and clarifications.
16900
16901 2006-02-28  Wim Taymans  <wim@fluendo.com>
16902
16903         * docs/design/draft-klass.txt:
16904         Proposal for klass field values.
16905
16906         * docs/design/part-streams.txt:
16907         Start of a doc describing stream anatomy.
16908
16909 2006-02-28  Wim Taymans  <wim@fluendo.com>
16910
16911         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16912         Help the compiler a bit with type registration.
16913         Use existing forward cod path instead of duplicating it when 
16914         handling a message.
16915         
16916         * gst/gstbus.c: (gst_bus_get_type):
16917         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16918         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16919         * gst/gstclock.c: (gst_clock_get_type):
16920         * gst/gstelement.c: (gst_element_get_type),
16921         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16922         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16923         * gst/gstminiobject.c: (gst_mini_object_get_type):
16924         * gst/gstpad.c: (gst_pad_get_type):
16925         * gst/gstsegment.c: (gst_segment_get_type):
16926         * gst/gststructure.c: (gst_structure_get_type):
16927         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16928         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16929         * gst/gstvalue.c:
16930         Help compiler with type registration.
16931
16932         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16933         Small doc update.
16934
16935 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16936
16937         * plugins/elements/gsttypefindelement.c:
16938         (gst_type_find_element_handle_event):
16939           When we get an EOS event and have not found a type yet
16940           (most likely because we had not yet accumulated
16941           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16942           type given the data we have so far. Fixes typefinding
16943           for very short streams again, most notably quicktime
16944           redirections as used on Apple's trailer site (#331701).
16945
16946 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16947
16948         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16949         (gst_type_find_helper):
16950           Try typefinding factories with the highest rank first.
16951
16952 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16953
16954         * docs/libs/gstreamer-libs-docs.sgml:
16955         * docs/libs/gstreamer-libs-sections.txt:
16956         * libs/gst/base/gsttypefindhelper.c:
16957           Add section for typefind helper and add documentation
16958           for the old and the new function.
16959
16960 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16961
16962         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16963         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16964         (gst_type_find_helper_for_buffer):
16965         * libs/gst/base/gsttypefindhelper.h:
16966           New API: gst_type_find_helper_for_buffer() (#332723).
16967           
16968 2006-02-27  Michael Smith  <msmith@fluendo.com>
16969
16970         Patch by: Loïc Minier
16971
16972         * configure.ac:
16973         * docs/Makefile.am:
16974         * docs/slides/Makefile.am:
16975           prevent CVS directories getting disted.
16976
16977 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16978
16979         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16980           Use the REFCOUNTING category for caps refcounting.
16981           
16982 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16983
16984         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16985           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16986
16987 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
16988
16989         * plugins/elements/gsttypefindelement.c:
16990         (gst_type_find_element_activate):
16991           Use gst_pad_check_pull_range() before _activate_pull()
16992           to avoid unnecessary open/close (see #331690).
16993
16994 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
16995
16996         * gst/gstutils.c:
16997           Docs enhancement: make it crystal clear what the
16998           gst_pad_add_*_probe() callbacks should look like.
16999
17000 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17001
17002         * libs/gst/base/gstbasesrc.c:
17003           Document how applications can stop recording from
17004           live sources (see #330996).
17005
17006 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17007
17008         * tests/check/Makefile.am:
17009         * tests/check/libs/basesrc.c: (eos_event_counter),
17010         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17011         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17012         (gst_basesrc_suite), (main):
17013           ... and add some tests for the base source EOS stuff.
17014
17015 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17016
17017         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17018           Test case originally showed the problem fixed below,
17019           but was then amended. Add checks back at the place
17020           where they used to be.
17021
17022 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17023
17024         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17025         (gst_base_src_init), (gst_base_src_loop),
17026         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17027         (gst_base_src_change_state):
17028         * libs/gst/base/gstbasesrc.h:
17029           Don't unconditionally send EOS when going from PAUSED to
17030           READY state, esp. make sure we don't send two EOS events
17031           in some cases (e.g. one when reaching EOS and one when
17032           going from PAUSED to READY). Also, we don't want to send
17033           EOS events when operating in pull mode. However, we do
17034           want to send an EOS event when shutting down a live
17035           source explicitly, for example (fixes #330996).
17036           
17037 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17038
17039         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17040           Update src->read_position after a seek when not using mmap.
17041           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17042
17043 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17044
17045         * gst/Makefile.am:
17046         * gst/gstparse.h:
17047         * gst/gstutils.c:
17048         * gst/gstutils.h:
17049         Make things work with --disable-parse as they do with 
17050         --disable-load-save - the symbols involved disappear, but the
17051         header is still installed and GST_DISABLE_PARSE is included via
17052         gstconfig.h
17053
17054 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17055
17056         * libs/gst/base/gstbasetransform.c:
17057         (gst_base_transform_change_state): Fix a stupid bug. I was 
17058         sure I compiled that.
17059
17060 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17061
17062         * gst/gstpad.c: (gst_pad_set_blocked_async):
17063         * gst/gstutils.c: (gst_pad_add_data_probe),
17064         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17065         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17066         (gst_pad_remove_buffer_probe): Make those function act on the
17067         ghostpad target when it's a ghostpad. (Closes #331727)
17068
17069 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17070
17071         * libs/gst/base/gstbasetransform.c:
17072         (gst_base_transform_change_state): Make basetransform reusable.
17073         (Closes #331898)
17074
17075 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17076
17077         * docs/random/release:
17078         Move the current documentation of how to do a release to the top
17079         of the file.
17080
17081         * gst/gstbin.c: (gst_bin_class_init),
17082         (gst_bin_handle_message_func):
17083         Allow multiple state-recalculation threads. (Closes #328873)
17084
17085 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17086
17087         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17088         * gst/gstpad.c: (gst_pad_set_event_function),
17089         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17090         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17091         2 strings. You can't use the STR_NULL macro on that.
17092
17093 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17094
17095         * gst/gstpad.c: (gst_pad_set_event_function),
17096         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17097         (gst_pad_set_getcaps_function)
17098         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17099           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17100           So now, we can use --gst-debug-level=5 on Windows
17101         * win32/common/libgstcontroller.def:
17102           Added export of gst_controller_init
17103         * win32/vs6/libgstcontroller.dsp:
17104           Fixed Release post build configuration
17105
17106 2006-02-17  Wim Taymans  <wim@fluendo.com>
17107
17108         * tests/check/gst/gstquery.c: (GST_START_TEST):
17109         Added another check.
17110
17111 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17112
17113         * plugins/elements/gsttypefindelement.c: (find_peek):
17114           We can do peeks at non-zero offsets, as long as they
17115           fall within the buffer we have.
17116
17117 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17118
17119         * tests/check/Makefile.am:
17120         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17121         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17122         (parse_suite), (main):
17123           Add testsuite for parse launch syntax
17124
17125 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17126
17127         * plugins/elements/gsttypefindelement.c:
17128         (gst_type_find_element_chain):
17129           When typefinding is unsuccessful in the chain function, don't
17130           error out immediately. Only error out with NO_CAPS_FOUND if
17131           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17132           otherwise simply wait for more data so we can try typefinding
17133           again with more data later. Also, don't attempt to typefind
17134           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17135           this should improve typefinding from network sources where the
17136           size of the first buffer can be somewhat random.
17137
17138 2006-02-14  Wim Taymans  <wim@fluendo.com>
17139
17140         * docs/gst/gstreamer-sections.txt:
17141         * gst/gstpadtemplate.c:
17142         * gst/gstpadtemplate.h:
17143         Fix padtemplate docs, fixes #328805.
17144
17145 2006-02-14  Wim Taymans  <wim@fluendo.com>
17146
17147         * tools/gst-launch.c: (main):
17148         NO_PREROLL is not an ERROR so don't send confusing messages
17149         to the user.
17150
17151 2006-02-14  Wim Taymans  <wim@fluendo.com>
17152
17153         Patch by: Torsten Schoenfeld
17154
17155         * gst/gstregistry.c: (gst_registry_get_default),
17156         (_gst_registry_cleanup):
17157         Protect default registry with lock and ref/sink it.
17158         Fixes #324818
17159
17160 2006-02-14  Wim Taymans  <wim@fluendo.com>
17161
17162         * gst/gstbuffer.c:
17163         * gst/gstquery.c: (gst_query_list_add_format),
17164         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17165         (gst_query_parse_formats_nth):
17166         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17167         Docs fixes.
17168
17169 2006-02-14  Wim Taymans  <wim@fluendo.com>
17170
17171         * docs/gst/gstreamer-sections.txt:
17172         Reworked query docs.
17173
17174         * gst/gstquery.c: (gst_query_new_formats),
17175         (gst_query_list_add_format), (gst_query_set_formats),
17176         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17177         (gst_query_parse_formats_nth):
17178         * gst/gstquery.h:
17179         Flesh out formats query, added some new methods.
17180         Fix part of #324398.
17181
17182         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17183         Added query creation tests.
17184
17185 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17186
17187         * gst/gstpad.c: (fixate_value):
17188         Add a default fixation for fraction lists.
17189
17190 2006-02-13  Wim Taymans  <wim@fluendo.com>
17191
17192         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17193         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17194         (gst_task_join):
17195         * gst/gsttask.h:
17196         Detect and warn for obvious deadlocks. fixes #320340
17197         Fix error case where lock was not released.
17198
17199         * tests/check/Makefile.am:
17200         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17201         (task_func), (gst_element_suite), (main):
17202         Add task check.
17203
17204 2006-02-13  Wim Taymans  <wim@fluendo.com>
17205
17206         * docs/gst/gstreamer-sections.txt:
17207         * gst/gstbus.c:
17208         Add new functions to docs.
17209
17210 2006-02-13  Wim Taymans  <wim@fluendo.com>
17211
17212         * docs/design/part-TODO.txt:
17213         Updated TODO list, basesrc supports seeking to non-bytes
17214         formats.
17215
17216         * docs/design/part-element-sink.txt:
17217         Update docs.
17218
17219         * gst/gstbin.c: (bin_replace_message),
17220         (gst_bin_handle_message_func):
17221         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17222         * gst/gstevent.c: (gst_event_finalize):
17223         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17224         (gst_pad_send_event):
17225         Use shiny new _TYPE_NAME macros.
17226
17227         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17228         Move debug statement up.
17229
17230         * gst/gstelement.c: (gst_element_set_locked_state):
17231         Add some debugging.
17232
17233 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17234
17235         * docs/gst/gstreamer-sections.txt:
17236         * gst/gstmessage.h:
17237         * gst/gstquery.h:
17238           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17239           macros (#330906). Also, document the already existing
17240           GST_QUERY_TYPE macro.
17241
17242 2006-02-13  Wim Taymans  <wim@fluendo.com>
17243
17244         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17245         (event_probe), (GST_START_TEST):
17246         Only events up to the pipeline EOS are counted, there are
17247         some more when going to NULL currently which we don't care
17248         about for now.
17249
17250 2006-02-13  Wim Taymans  <wim@fluendo.com>
17251
17252         * gst/gstpad.c: (gst_pad_send_event):
17253         Correctly check flushing and emit probes. fixes #330125
17254
17255 2006-02-10  Andy Wingo  <wingo@pobox.com>
17256
17257         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17258         structure.
17259         (gst_bus_init): Cache the location of the private data in the
17260         instance structure.
17261         (gst_bus_enable_sync_message_emission) 
17262         (gst_bus_disable_sync_message_emission): Implement new public
17263         functions.
17264         (gst_bus_post): Emit the sync-message signal if the user asked for
17265         it. Fixes #330684.
17266
17267         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17268         location of the bus-private structure.
17269         (gst_bus_enable_sync_message_emission)
17270         (gst_bus_disable_sync_message_emission): API addition
17271
17272 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17273
17274         Patch by: Vincent Torri
17275
17276         * docs/pwg/building-boiler.xml:
17277         PWG patch from #326800
17278
17279 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17280
17281         * configure.ac:
17282         * docs/Makefile.am:
17283         * docs/design/Makefile.am:
17284           Dist design docs.
17285
17286 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17287
17288         * configure.ac:
17289           back to CVS
17290
17291 === release 0.10.3 ===
17292
17293 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17294
17295         * configure.ac:
17296           releasing 0.10.3, "Like a virgin"
17297
17298 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17299
17300         * configure.ac:
17301           2nd prerelease of 0.10.3
17302           Bump libtool versioning.
17303
17304 2006-02-07  Andy Wingo  <wingo@pobox.com>
17305
17306         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17307         update last_stop if we're in TIME format and the timestamp is
17308         valid.
17309
17310         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17311         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17312         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17313         If we get a new newsegment with a different format, adapt
17314         accordingly.
17315
17316         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17317         of 0. Not a problem, really.
17318
17319         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17320         warn if sync=true.
17321
17322 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17323
17324         * configure.ac:
17325           Prelease of 0.10.3
17326
17327 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17328
17329         * win32/vs7:
17330           project files updated to the default vs7 configuration
17331         * win32/common/libgstbase.def:
17332         * win32/common/libgstreamer.def:
17333           added new symbols,
17334           removed empty lines,
17335           sorted all exported symbols alphabetically
17336         * win32/common/dirent.c:
17337         * win32/common/dirent.h:
17338         * win32/common/gchar.h:
17339           use windows line end.
17340           
17341 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17342
17343         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17344           Send EOS event when stopping.
17345
17346 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17347
17348         * docs/README:
17349           Tell folks what to do if the plugin-foobar.xml file
17350           hasn't been generated for a newly-added plugin.
17351
17352 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17353
17354         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17355         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17356         (gst_collect_pads_start), (gst_collect_pads_stop),
17357         (gst_collect_pads_event): Collectpads now holds a reference
17358         to the GstPad that was added. Indeed we don't want to look
17359         at pads that might just go away with no warning...
17360
17361 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17362
17363         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17364         (gst_collect_pads_start), (gst_collect_pads_stop),
17365         (gst_collect_pads_event), (gst_collect_pads_chain):
17366         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17367         Mark Nauwelaerts's patch on bug #328491.
17368
17369 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17370
17371         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17372         (gst_utils_suite):
17373           Add some simple tests for gst_parse_bin_from_description() and
17374           gst_bin_find_unconnected_pad() (#329069).
17375
17376 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17377
17378         * tools/gst-launch.c: (event_loop), (main):
17379           Catch errors during preroll (#320084).
17380
17381 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17382
17383         * plugins/elements/gsttypefindelement.c:
17384         (gst_type_find_element_activate):
17385           Post TYPE_NOT_FOUND error message when typefinding
17386           is unsuccessful in the activate function as well.
17387
17388 2006-02-02  Wim Taymans  <wim@fluendo.com>
17389
17390         * docs/design/part-element-sink.txt:
17391         Updated doc.
17392
17393 2006-02-02  Wim Taymans  <wim@fluendo.com>
17394
17395         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17396         (gst_base_sink_render_object),
17397         (gst_base_sink_queue_object_unlocked):
17398         Only keep track of prerollable items when we are 
17399         prerolling.
17400         Before rendering after preroll, always check if we
17401         have queued items.
17402         Added some more debugging.
17403
17404 2006-02-02  Wim Taymans  <wim@fluendo.com>
17405
17406         * gst/gstelement.c: (gst_element_continue_state),
17407         (gst_element_set_state_func), (gst_element_change_state):
17408         Fixed #326576, been running this for quite some time with
17409         no regressions at all.
17410
17411 2006-02-02  Wim Taymans  <wim@fluendo.com>
17412
17413         * common/gst.supp:
17414         Added more suppressions
17415
17416 2006-02-02  Wim Taymans  <wim@fluendo.com>
17417
17418         * docs/design/part-element-sink.txt:
17419         Updated document.
17420
17421         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17422         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17423         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17424         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17425         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17426         (gst_base_sink_preroll_object),
17427         (gst_base_sink_queue_object_unlocked),
17428         (gst_base_sink_queue_object), (gst_base_sink_event),
17429         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17430         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17431         (gst_base_sink_get_position), (gst_base_sink_change_state):
17432         * libs/gst/base/gstbasesink.h:
17433         Totally refactored matching the design doc.
17434         Use two segments, one to clip incomming buffers and another to
17435         perform sync.
17436         Handle queueing correctly, bypass the queue when playing.
17437         Make EOS cancelable.
17438         Handle errors correctly when operating in pull based mode.
17439
17440         * tests/check/elements/fakesink.c: (GST_START_TEST),
17441         (fakesink_suite):
17442         Added new check for sinks.
17443
17444 2006-02-02  Wim Taymans  <wim@fluendo.com>
17445
17446         * gst/gstsegment.c: (gst_segment_clip):
17447         No reason to refuse to clip when start == -1
17448
17449 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17450
17451         * docs/README:
17452         * docs/manual/intro-basics.xml:
17453         * docs/manual/intro-preface.xml:
17454         * docs/manual/manual.xml:
17455         * docs/pwg/advanced-dparams.xml:
17456         * docs/pwg/intro-basics.xml:
17457         * docs/pwg/intro-preface.xml:
17458         * docs/pwg/pwg.xml:
17459           describe dparams (controller) for plugins
17460           unify docs a little more
17461
17462 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17463
17464         * docs/gst/gstreamer-sections.txt:
17465         * gst/gstutils.c: (element_find_unconnected_pad),
17466         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17467         * gst/gstutils.h:
17468           Add new API: gst_parse_bin_from_description() and
17469           gst_bin_find_unconnected_pad() (#329069).
17470
17471 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17472
17473         * docs/manual/README:
17474           uncover a nasty detail of the docs build
17475
17476 2006-01-31  Wim Taymans  <wim@fluendo.com>
17477
17478         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17479         Don't cache duration messages if we're not going to use or
17480         free them.
17481
17482 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17483
17484         * docs/manual/advanced-dparams.xml:
17485         * docs/pwg/advanced-dparams.xml:
17486           more dparam docs
17487         * gst/gstindex.c:
17488           fix docs
17489         * libs/gst/controller/lib.c: (gst_controller_init):
17490           init just once
17491
17492 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17493
17494         * gst/gstelement.c: (gst_element_message_full):
17495           also show file/line/func if no additional debug was given
17496
17497 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17498         
17499         * win32/vs7/grammar.vcproj:
17500           activate copy of autogenerated files for Release mode
17501
17502 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17503         
17504         * win32/common/libgstreamer.def:
17505           export gst_value_compare
17506
17507 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17508
17509         * plugins/elements/Makefile.am:
17510         * plugins/elements/gstelements.c:
17511         * plugins/elements/gstfdsink.c: (_do_init),
17512         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17513         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17514         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17515         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17516         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17517         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17518         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17519         * plugins/elements/gstfdsink.h:
17520         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17521
17522 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17523
17524         * docs/manual/advanced-dparams.xml:
17525           describe controller
17526         * docs/manual/advanced-position.xml:
17527         * docs/manual/basics-init.xml:
17528         * docs/manual/manual.xml:
17529         * docs/manual/titlepage.xml:
17530         * docs/pwg/pwg.xml:
17531         * docs/pwg/titlepage.xml:
17532           cleanup xml (more to come)
17533         * libs/gst/controller/gstcontroller.c:
17534           fix typo
17535
17536 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17537         
17538         * win32/vs6/grammar.dsp:
17539           add autogen of gstmarshal.c,h for Release mode
17540                 
17541 2006-01-30  Wim Taymans  <wim@fluendo.com>
17542
17543         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17544         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17545         (gst_base_sink_handle_object), (gst_base_sink_event),
17546         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17547         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17548         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17549         (gst_base_sink_deactivate), (gst_base_sink_activate),
17550         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17551         (gst_base_sink_query), (gst_base_sink_change_state):
17552         Basesink cleanups, remove some old code.
17553         Handle the case where a subclass can preroll in the render
17554         method (mostly audiosinks).
17555         Handle more events.
17556         Remove some locks around variables that are now protected
17557         with the PREROLL_LOCK (clock_id, flushing, ..).
17558         Optimize position query some more, do correct locking.
17559         Remove old code to push queue in state change, this is not
17560         needed anymore since preroll blocks on all prerollable items 
17561         now.
17562         Almost implemented as described in design doc.
17563
17564 2006-01-30  Wim Taymans  <wim@fluendo.com>
17565
17566         * tests/check/gst/gstbin.c: (GST_START_TEST):
17567         Wait for refcount to settle down before checking.
17568
17569 2006-01-30  Wim Taymans  <wim@fluendo.com>
17570
17571         * docs/design/part-element-sink.txt:
17572         Pseudo code overview of desired sink behaviour regarding
17573         preroll.
17574
17575 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17576         * win32/vs6/grammar.dsp:
17577           fix some bugs in Release mode for autogenerated files
17578                 
17579 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17580         * win32/common/libgstbase.def:
17581         * win32/common/libgstreamer.def:
17582           export some new symbols: gst_base_src_set_format,
17583           gst_iterator_next, gst_structure_set_valist
17584
17585 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17586
17587         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17588         Set pad functions unconditionally. Fixes #329105.
17589
17590 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17591         * win32/vs8:
17592           add vs8 project files created by Sergey Scobich
17593
17594 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17595
17596         * gst/gstutils.c: (gst_element_unlink_pads):
17597         Don't leak pad references.
17598
17599         * tests/check/elements/fakesink.c: (GST_START_TEST):
17600         * tests/check/generic/sinks.c: (GST_START_TEST):
17601         * tests/check/generic/states.c: (GST_START_TEST):
17602         * tests/check/gst/gstbin.c: (GST_START_TEST):
17603         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17604         * tests/check/gst/gstelement.c: (GST_START_TEST):
17605         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17606         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17607         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17608         Fix a bunch of leaks. Make generic/sinks.c
17609         use a bit less cpu by slowing the buffer rate
17610         between fakesrc and fakesink.
17611         
17612 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17613         * gst/gstcaps.c:
17614         * gst/gstelement.c: (gst_element_send_event):
17615         * gst/gstevent.c:
17616         * gst/gstinfo.c:
17617         * gst/gstiterator.c:
17618         * gst/gstiterator.h:
17619         * gst/gstpad.c: (gst_pad_send_event):
17620         * gst/gststructure.c:
17621         * gst/gsturi.c:
17622         * gst/gstutils.c:
17623         * gst/gstvalue.c:
17624         * libs/gst/base/gstadapter.c:
17625           doc fixes, to link to function, just write gst_cool_function(), don't
17626           prefix with '#'
17627
17628 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17629
17630         * plugins/elements/gsttee.c: (gst_tee_do_push),
17631         (gst_tee_handle_buffer):
17632         Always prefer an actual return value from a src
17633         pad in place of NOT_LINKED. This means we return
17634         WRONG_STATE when all src pads are WRONG_STATE
17635         instead of NOT_LINKED.
17636
17637         Lock when replacing the last message to prevent
17638         racing with the get_property method.
17639
17640         Add debug output
17641
17642 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17643
17644         * tests/check/Makefile.am:
17645         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17646         (main):
17647         Add a very simple check that should have caught the memleak I fixed
17648         last night (if not for the slice allocator hiding it)
17649
17650 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17651
17652         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17653         (gst_bin_remove_func), (gst_bin_handle_message_func),
17654         (bin_query_duration_fold), (bin_query_generic_fold):
17655         Clean up references to the clock provider when disposed or when
17656         handling a clock-lost message from it.
17657
17658         Unref sinks when performing a query via gst_iterator_fold, as the
17659         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17660
17661         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17662         (gst_clock_set_master):
17663         Drop our reference to the master clock, if any, when we are disposed.
17664
17665         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17666         Chain up in dispose. 
17667
17668 2006-01-26  Wim Taymans  <wim@fluendo.com>
17669
17670         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17671         Add some debugging.
17672
17673 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17674
17675         * plugins/elements/gsttee.c: (gst_tee_do_push),
17676         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17677         handles pad being NOT_LINKED or in WRONG_STATE.
17678
17679 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17680
17681         * win32/MANIFEST:
17682           more updating
17683
17684 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17685
17686         * win32/MANIFEST:
17687           remove obsolete entry
17688
17689 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17690
17691         * docs/gst/gstreamer-sections.txt:
17692         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17693         (gst_bin_iterate_sources), (gst_bin_send_event):
17694         * gst/gstbin.h:
17695         * gst/gstelement.c: (gst_element_send_event):
17696         * gst/gstevent.c:
17697         * gst/gstpad.c: (gst_pad_send_event):
17698           added code for downstream events, reviewed docs in gstevent.c
17699
17700 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17701
17702         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17703         We only query position using the clock in the playing state.
17704         Query peer in the other cases.
17705         * win32/common/config.h: Updates.
17706
17707 2006-01-24  Wim Taymans  <wim@fluendo.com>
17708
17709         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17710         A clock entry that is scheduled for the exact time of the
17711         clock is still in time.
17712
17713         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17714         (gst_base_sink_do_sync):
17715         Add some more debug info.
17716
17717 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17718
17719         * win32/vs7:
17720           Add new vs7 project files and solution.
17721
17722 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17723
17724         * win32/vs7:
17725           all files removed as they were out-dated.
17726
17727 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17728
17729         * docs/random/release:
17730           update notes
17731         * gst/gstbin.c: (gst_bin_init):
17732         * gst/gstbus.c: (gst_bus_new):
17733         * gst/gstbus.h:
17734         * gst/gstpipeline.c: (gst_pipeline_init):
17735           use gst_bus_new(), improve logging, fix docs
17736         * win32/common/config.h:
17737           update for cvs build
17738
17739 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17740
17741         * autogen.sh:
17742           up required version of automake to 1.7
17743
17744 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17745
17746         * win32/common/libgstreamer.def:
17747           export gst_buffer_is_metadata_writable
17748
17749 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17750
17751         * docs/gst/gstreamer-sections.txt:
17752         * gst/gstevent.h:
17753           Add gst_event_replace() (#327001)
17754
17755 2006-01-20  Wim Taymans  <wim@fluendo.com>
17756
17757         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17758         Make it actually compile too..
17759
17760 2006-01-20  Wim Taymans  <wim@fluendo.com>
17761
17762         * gst/gstcaps.c:
17763         Clarify behaviour of _is_equal() when passing NULL parameters.
17764
17765         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17766         (gst_pad_set_caps):
17767         Cleanups. Don't unref NULL caps.
17768         When setting the same caps, protect caps of the pad with
17769         proper lock.
17770         Use full functionality of _is_equal() when comparing caps.
17771
17772 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17773
17774         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17775         Don't loop infinitely if there are no buffers to present. Partially
17776         fixes #327197, but collectpads is just broken for reusing elements
17777         to do multiple encodes atm.
17778
17779 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17780
17781         * tools/gst-inspect.c: (print_element_features):
17782         * tools/gst-xmlinspect.c: (main):
17783         URL_HANDLER is not a plugin feature we can search for in
17784         the registry.
17785
17786 2006-01-19  Edward Hervey  <edward@fluendo.com>
17787
17788         * gst/gstelement.c: (gst_element_pads_activate): 
17789         When activating, do src pads first, then sink pads.
17790         When de-activating, do sink pads first, then src pads.
17791
17792 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17793
17794         * docs/gst/gstreamer-sections.txt:
17795         Add gst_index_add_associationv to the docs
17796
17797 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17798
17799         * gst/gstevent.c:
17800           Fix docs typo
17801
17802         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17803         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17804           Do some refactoring. Doesn't actually change functionality,
17805           but makes landing the DRAIN event easier later.
17806
17807 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17808
17809         * docs/pwg/advanced-scheduling.xml:
17810           Update from 0.9.x to 0.10 API and make example a bit
17811           clearer.
17812
17813 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17814
17815         * docs/gst/gstreamer-sections.txt:
17816         Add gst_buffer_(is|make)_metadata_writable methods.
17817
17818 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17819
17820         * docs/design/part-sparsestreams.txt:
17821         Update sparse streams doc, hopefully for greater clarity
17822
17823 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17824
17825         * docs/design/part-events.txt:
17826         Remove mention of FILLER events.
17827         Add DRAIN event.
17828
17829         * docs/design/part-sparsestreams.txt:
17830         Write some things about using NEWSEGMENT to keep sparse streams
17831         flowing.
17832
17833 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17834
17835         * gst/gstbin.c: (gst_bin_dispose):
17836           Guard gst_object_unref call against a NULL object (dispose
17837           can theoretically be called multiple times).
17838           
17839 2006-01-18  Wim Taymans  <wim@fluendo.com>
17840
17841         * gst/gstbin.c: (gst_bin_element_set_state):
17842         * gst/gstclock.c: (gst_clock_id_wait):
17843         Added some more debug info.
17844
17845         * libs/gst/base/gstadapter.c:
17846         Added more docs.
17847
17848         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17849         (gst_base_sink_do_sync), (gst_base_sink_chain):
17850         Added some comments.
17851
17852 2006-01-18  Wim Taymans  <wim@fluendo.com>
17853
17854         * tests/check/Makefile.am:
17855         * tests/check/elements/fakesink.c: (chain_async_buffer),
17856         (chain_async), (chain_async_return), (GST_START_TEST),
17857         (fakesink_suite), (main):
17858         Added fakesink test that checks prerolling and clipping
17859         behaviour.
17860
17861         * tests/check/gst/gstutils.c: (GST_START_TEST):
17862         Make check run faster so that buildbots don't timeout.
17863
17864 2006-01-18  Wim Taymans  <wim@fluendo.com>
17865
17866         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17867         (gst_base_sink_do_sync):
17868         Some cleanups.
17869         When the sink finishes blocking on the preroll buffer, it can
17870         immediatly render it instead of rendering when the next buffer
17871         arrives.
17872
17873 2006-01-18  Wim Taymans  <wim@fluendo.com>
17874
17875         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17876         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17877         (gst_base_sink_chain):
17878         Small cleanups.
17879         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17880         Don't store _last_stop if the buffer is dropped.
17881
17882 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17883
17884         * plugins/elements/gsttypefindelement.c:
17885         (gst_type_find_element_class_init):
17886           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17887           object method handler that sets the caps on the pad and we want
17888           that to happen before we emit the signal (fixes e.g. feeding a
17889           plain text file to decodebin).
17890
17891 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17892
17893         * gst/gstplugin.c: Add MPL and Proprietary as license options
17894
17895 2006-01-18  Andy Wingo  <wingo@pobox.com>
17896
17897         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17898         symbol was exported before, it appears this was just an oversight.
17899         Fixes #168703.
17900         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17901
17902         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17903         prototype to gint. OK since this prototype was not in the header.
17904
17905 2006-01-17  Andy Wingo  <wingo@pobox.com>
17906
17907         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17908         registry while we remove plugins.
17909
17910         * tools/gst-inspect.c (print_element_info): Don't unref the
17911         factory arg, that should be the responsibility of whatever code
17912         received the ref. Fixes a double-free when called from
17913         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17914         (main): Unref the factory if we have one.
17915         (print_element_list): No change -- relies on the
17916         plugin_feature_list_free to free the list of features.
17917
17918 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17919
17920         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17921         (gst_buffer_make_metadata_writable):
17922         * gst/gstbuffer.h:
17923         * libs/gst/base/gstbasetransform.c:
17924         (gst_base_transform_prepare_output_buf):
17925         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17926         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17927           Replace gst_buffer_(make|is)_metadata_writable patch now
17928           that the release is out.
17929
17930 2006-01-17  Andy Wingo  <wingo@pobox.com>
17931
17932         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17933         in the present tense without reference to versions.
17934
17935         * gst/gstregistry.c (gst_registry_add_plugin)
17936         (gst_registry_remove_plugin, gst_registry_remove_feature)
17937         (gst_registry_find_feature, gst_registry_get_feature_list)
17938         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17939         (gst_registry_lookup, gst_registry_scan_path)
17940         (_gst_registry_remove_cache_plugins)
17941         (gst_registry_get_feature_list_by_plugin): Add argument
17942         validation.
17943
17944 === release 0.10.2 ===
17945
17946 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17947
17948         * configure.ac:
17949           releasing 0.10.2, "If man is five"
17950
17951 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17952
17953         * gst/gstbuffer.c:
17954         * gst/gstbuffer.h:
17955         * libs/gst/base/gstbasetransform.c:
17956         (gst_base_transform_prepare_output_buf):
17957         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17958         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17959           Back out patch until after the release.
17960
17961 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17962
17963         * gst/gstminiobject.c:
17964           Spelling fix in docs.
17965         * ChangeLog - remove conflict indicator
17966
17967 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17968
17969         Reviewed By: Andy Wingo
17970
17971         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17972         (gst_buffer_make_metadata_writable):
17973         * gst/gstbuffer.h:
17974           Add gst_buffer_(is|make)_metadata_writable as analogues of
17975           gst_buffer_(is|make)_writable.
17976
17977         * libs/gst/base/gstbasetransform.c:
17978         (gst_base_transform_prepare_output_buf):
17979         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17980           Use name gst_buffer_(is|make)_metadata_writable functions.
17981
17982         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17983           Test gst_buffer_(is|make)_metadata_writable
17984         
17985           (Closes: #324162)
17986
17987 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17988
17989         * docs/manual/Makefile.am:
17990           don't do parallel make
17991         * configure.ac:
17992           AC_SUBST HOST_CPU
17993         * win32/common/config.h.in:
17994           add generations for HOST_CPU and GST_MAJORMINOR
17995         * win32/common/config.h:
17996           commit generated result
17997
17998 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
17999
18000         * docs/manual/appendix-integration.xml:
18001           Update GNOME integration section to use gst_init_get_option_group()
18002           instead of the old popt stuff (#322911). Also, GNOME applications
18003           should  now use gconf*sink and gconf*src instead of the old gconf
18004           helper lib we had.
18005
18006 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18007
18008
18009         * docs/gst/gstreamer-docs.sgml:
18010         * docs/gst/gstreamer-sections.txt:
18011         * docs/libs/gstreamer-libs-sections.txt:
18012           add new API entries to the docs
18013         * libs/gst/controller/Makefile.am:
18014         * libs/gst/controller/gstcontroller.c:
18015         * libs/gst/controller/gstcontroller.h:
18016         * libs/gst/controller/gstcontrollerprivate.h:
18017         * libs/gst/controller/gsthelper.c:
18018         * libs/gst/controller/gstinterpolation.c:
18019           move private structs to private header
18020         * po/README:
18021           gstreamer-0.7 -> gstreamer-0.10
18022         * tests/check/libs/struct_i386.h:
18023           remove private structs
18024
18025 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18026
18027         * plugins/indexers/Makefile.am:
18028           Fixes as part of #317048
18029
18030 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18031
18032         * plugins/indexers/Makefile.am:
18033           fix #316086 - compilation when mmap is missing
18034
18035 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18036
18037         * libs/gst/base/gstbasesink.c:
18038           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18039           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18040         * win32/common/config.h:
18041           added some defines GST_MAJORMINOR and HOST_CPU
18042         * win32/common/libgstbase.def:
18043         * win32/common/libgstreamer.def:
18044           added some exported functions.
18045
18046 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18047
18048         * libs/gst/controller/gstcontroller.c:
18049         (gst_controlled_property_set_interpolation_mode),
18050         (gst_controlled_property_new):
18051         * libs/gst/controller/gstcontroller.h:
18052         * libs/gst/controller/gstinterpolation.c:
18053         (interpolate_none_get_string_value_array):
18054           make G_TYPE_STRING controlable
18055
18056 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18057
18058         * tools/README:
18059         * tools/gst-feedback.1.in:
18060         * tools/gst-inspect.1.in:
18061         * tools/gst-launch.1.in:
18062         * tools/gst-md5sum.1.in:
18063         * tools/gst-typefind.1.in:
18064         * tools/gst-xmlinspect.1.in:
18065         * tools/gst-xmllaunch.1.in:
18066           cleanup man-pages, remove reference to gst-register, document env-vars
18067
18068 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18069
18070         * gst/gstbuffer.c: (gst_buffer_span):
18071           gst_buffer_span should copy the timestamp of the first buffer
18072           if they were both originally overlapping subbuffers of the 
18073           same parent, using the same logic as the 'slow copy' case.
18074
18075 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18076
18077         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18078           Need to awaken ALL the pads when we pop a buffer, otherwise
18079           collectpads only works when there is 2 input streams.
18080
18081 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18082
18083         * docs/random/ensonic/media-device-daemon.txt:
18084           more ideas (dbus)
18085         * gst/gstbuffer.c:
18086           fix doc example, add clarification
18087         * tools/gst-launch.1.in:
18088           add initial info about GST_PLUGIN_PATH, needs more work
18089
18090 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18091
18092         * docs/manual/basics-bins.xml:
18093         * docs/manual/basics-elements.xml:
18094         * docs/manual/intro-basics.xml:
18095           Some more minor docs additions and updates.
18096
18097 2006-01-11  Wim Taymans  <wim@fluendo.com>
18098
18099         * docs/manual/basics-bins.xml:
18100         * docs/manual/basics-elements.xml:
18101         Some small fixes as pointed out by Ser-ver on IRC.
18102
18103 2006-01-10  Edward Hervey  <edward@fluendo.com>
18104
18105         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18106         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18107         the single-segment mode.
18108
18109 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18110
18111         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18112
18113         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18114         (gst_base_src_perform_seek), (gst_base_src_send_event),
18115         (gst_base_src_set_property), (gst_base_src_get_property),
18116         (gst_base_src_loop), (gst_base_src_start),
18117         (gst_base_src_activate_push):
18118         * libs/gst/base/gstbasesrc.h:
18119           Name (private) union; makes Sun's Forte compiler happy (#324900).
18120
18121 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18122
18123         * README:
18124           gst-register is gone.
18125
18126 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18127
18128         * gst/gstvalue.c: (_gst_value_initialize):
18129           make the G_TYPE_DATE instantiation work if debug is disabled
18130
18131 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18132
18133         * gst/gstmessage.c: (gst_message_parse_tag),
18134         (gst_message_parse_error), (gst_message_parse_warning):
18135           Don't crash when return location for error/warning debug
18136           string is NULL; add fact that return locations can be
18137           NULL to docs where appropriate.
18138
18139 2006-01-05  Wim Taymans  <wim@fluendo.com>
18140
18141         * gst/gstplugin.c: (gst_plugin_load_file):
18142         Replace strdup by g_strdup.
18143
18144 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18145
18146         * docs/pwg/advanced-types.xml:
18147           fix doc borkage
18148
18149 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18150
18151         submitted by: Abel Cheung
18152
18153         * po/LINGUAS:
18154         * po/zh_TW.po:
18155           Added Chinese (traditional) translation
18156
18157 2006-01-04  Wim Taymans  <wim@fluendo.com>
18158
18159         * docs/manual/basics-pads.xml:
18160         * docs/plugins/Makefile.am:
18161         * docs/plugins/gstreamer-plugins-docs.sgml:
18162         * docs/plugins/gstreamer-plugins-sections.txt:
18163         * docs/pwg/advanced-clock.xml:
18164         * docs/pwg/advanced-scheduling.xml:
18165         * docs/pwg/advanced-types.xml:
18166         * plugins/elements/gstfdsink.c:
18167         * plugins/elements/gstfdsrc.c:
18168         * plugins/elements/gstfdsrc.h:
18169         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18170         * plugins/elements/gstidentity.h:
18171         * plugins/elements/gstqueue.h:
18172         * plugins/elements/gsttee.c:
18173         * plugins/elements/gsttee.h:
18174         * plugins/elements/gsttypefindelement.c:
18175         (gst_type_find_element_class_init):
18176         * plugins/elements/gsttypefindelement.h:
18177         Small updates to various docs.
18178         Added core plugins to docs.
18179
18180 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18181
18182         * common/gst.supp:
18183           add a suppression for liboil's uninitialized variable
18184
18185 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18186
18187         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18188
18189         * gst/gstutils.h:
18190           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18191           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18192           compiler switch is being used (#325429).
18193
18194 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18195
18196         * gst/gstbin.c: (gst_bin_query):
18197           Disable duration query caching in bins until it gets
18198           fixed (see #324807).
18199
18200 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18201
18202         * tools/gst-inspect.c: (print_element_properties_info):
18203           Handle properties of POINTER and BOXED type.
18204
18205 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18206
18207         * gst/gst.c: (init_post):
18208           Init tags stuff and some other things before loading
18209           any static plugins (there may be other static plugins
18210           than just the GStreamer ones, and they may want to
18211           register their own tags or formats or whatever, and
18212           preferably without segfaulting).
18213
18214         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18215           Print at least a warning in the debug logs if we drop a
18216           query just because we don't know how to adjust the value
18217           in the particular format.
18218
18219 2005-12-24  David Schleef  <ds@schleef.org>
18220
18221         * tools/gstreamer-completion:
18222           Replacement for gst-complete written in sh and sed.  Only
18223           completes names of features, but that's 90% of what I want
18224           it for.  Properties are not available in registry.xml.  (Maybe
18225           they should be...)
18226
18227 === release 0.10.1 ===
18228
18229 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18230
18231         * configure.ac:
18232           releasing 0.10.1, "Nollaig chridheil"
18233
18234 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18235
18236         * docs/faq/cvs.xml:
18237           Add missing quote, should be make ERROR_CFLAGS="".
18238
18239 2005-12-20  Wim Taymans  <wim@fluendo.com>
18240
18241         * docs/design/part-trickmodes.txt:
18242         More documentation on trickmodes.
18243
18244 2005-12-20  Edward Hervey  <edward@fluendo.com>
18245
18246         * gst/gstcaps.c: (gst_static_caps_get_type):
18247         * gst/gstcaps.h:
18248           API addition: GST_TYPE_STATIC_CAPS
18249         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18250         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18251         * gst/gstpadtemplate.h:
18252           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18253         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18254         bindings.
18255
18256 2005-12-18  Wim Taymans  <wim@fluendo.com>
18257
18258         * libs/gst/base/gstadapter.c:
18259         * libs/gst/base/gstadapter.h:
18260         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18261         (gst_base_sink_get_position):
18262         * libs/gst/base/gstbasesink.h:
18263         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18264         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18265         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18266         (gst_base_src_send_event), (gst_base_src_update_length),
18267         (gst_base_src_get_range), (gst_base_src_loop),
18268         (gst_base_src_start):
18269         * libs/gst/base/gstbasesrc.h:
18270         * libs/gst/base/gstbasetransform.h:
18271         * libs/gst/base/gstcollectpads.h:
18272         * libs/gst/base/gstpushsrc.c:
18273         * libs/gst/base/gstpushsrc.h:
18274         * libs/gst/dataprotocol/dataprotocol.c:
18275         * libs/gst/dataprotocol/dataprotocol.h:
18276         * libs/gst/net/gstnetclientclock.h:
18277         * libs/gst/net/gstnettimeprovider.h:
18278         Documentation updates.
18279
18280 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18281
18282         * docs/manual/basics-helloworld.xml:
18283           Remove superfluous closing bracket in helloworld example.
18284
18285 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18286
18287         * tools/gst-launch.1.in:
18288           Update gst-launch man page; add a section with useful
18289           environment variables. Fixes #323882.
18290
18291 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18292
18293         * gst/gst.c:
18294         * gst/gst_private.h:
18295           change some char* into char[]
18296
18297 2005-12-16  Wim Taymans  <wim@fluendo.com>
18298
18299         * gst/gstregistryxml.c: (load_feature):
18300         Cleanups.
18301         Don't use g_object_unref on GstObjects so that we avoid
18302         leaks on unsafe glibs.
18303
18304 2005-12-16  Wim Taymans  <wim@fluendo.com>
18305
18306         * gst/gstbin.c: (gst_bin_recalc_state):
18307         Small doc updates.
18308
18309 2005-12-16  Wim Taymans  <wim@fluendo.com>
18310
18311         * common/check.mak:
18312         Added make forever target for check.
18313
18314 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18315
18316         * gst/gst.c: (init_post):
18317           make the registry cache file HOST_CPU-dependent
18318
18319 2005-12-16  Andy Wingo  <wingo@pobox.com>
18320
18321         * plugins/elements/gstbufferstore.c
18322         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18323         return value.
18324
18325         * tests/check/gst/gstobject.c
18326         (test_fake_object_name_threaded_unique): Pay attention to
18327         g_list_sort return value.
18328
18329 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18330
18331         * tools/gst-feedback-m.m:
18332           Update for 0.9/0.10 (fixes #323870).
18333
18334 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18335
18336         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18337           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18338           
18339         * tests/check/gst/gstminiobject.c: (my_foo_init),
18340         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18341         (test_value_collection), (gst_mini_object_suite):
18342           Add test to ensure refcounts end up as expected when passing
18343           GstMiniObjects through g_object_get() and g_object_set().
18344
18345 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18346
18347         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18348         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18349         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18350         of collectpads. This version removes a lot of races without
18351         touching API/ABI. Yay !
18352
18353 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18354
18355         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18356           Don't allow activation of a srcpad in pull_range if it has no
18357           getrange function.
18358           Change some debug statements to be a little clearer
18359
18360         * plugins/elements/gsttypefindelement.c:
18361         (gst_type_find_handle_src_query):
18362           Check that we have a peer before executing queries thereupon.
18363
18364         * tests/examples/metadata/read-metadata.c: (message_loop):
18365           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18366           immediately return us any available message with 0 timeout.
18367
18368 2005-12-12  Michael Smith  <msmith@fluendo.com>
18369
18370         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18371           Don't unref factories after calling them.
18372         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18373         * plugins/elements/gsttypefindelement.c:
18374         (gst_type_find_element_chain):
18375           Free lists of factories after using them. Fixing typefinding memory
18376           leaks.
18377
18378 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18379
18380         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18381         (gst_plugin_feature_load):
18382           more meaningful debug output
18383         * configure.ac:
18384         * tests/Makefile.am:
18385         * tests/old/examples/Makefile.am:
18386           make make distcheck happy again
18387
18388 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18389
18390         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18391           Catch the special case where we are operating chain-based,
18392           but the downstream peer pad has no chain function. Emit a
18393           custom error message in this case instead of letting the
18394           core generate one implying that this is some sort of core
18395           bug. It's not, it just means that whatever got plugged
18396           into the pipeline downstream when we announced the type
18397           can only operate pull-based, while our source can only
18398           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18399           Error string has not been marked for translation yet, as
18400           it probably needs some more work first.
18401
18402         (gst_type_find_element_get_best_possibility):
18403           Add helper function to find the best of all available
18404           found possibilities that qualify given the min. threshold.
18405
18406         (gst_type_find_element_handle_event):
18407           Fix the case where we get an EOS while still in TYPEFIND
18408           mode (we want to chose the best of all possible types,
18409           not just the first type that happens to be in our unsorted
18410           list of possible types).
18411
18412         (gst_type_find_element_chain):
18413           Make sure we return GST_FLOW_ERROR when we errored out
18414           in stop_typefinding(); also, don't just find the best of
18415           all found type entries and then use the last examined
18416           type entry, but actually use the best entry.
18417
18418 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18419
18420         * tests/examples/typefind/typefind.c: (type_found):
18421         * tests/examples/xml/runxml.c: (xml_loaded):
18422           More gcc4 fixes and a mem leak fix.
18423
18424 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18425
18426         * tests/examples/xml/createxml.c: (object_saved):
18427           gcc 4 fixes
18428
18429 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18430
18431         * tests/Makefile.am:
18432           enable the examples even more
18433
18434 2005-12-12  Andy Wingo  <wingo@pobox.com>
18435
18436         * libs/gst/net/gstnettimeprovider.c
18437         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18438         (gst_net_time_provider_set_property)
18439         (gst_net_time_provider_get_property):
18440         API addition: Export "active" as a GObject property.
18441         (gst_net_time_provider_thread): Only respond to time queries if
18442         the time provider is active.
18443
18444         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18445         NetTimeProvider, preserving binary compat.
18446
18447 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18448
18449         * tests/examples/controller/audio-example.c: (main):
18450         * tests/examples/launch/Makefile.am:
18451           convert comments again
18452
18453 2005-12-12  Wim Taymans  <wim@fluendo.com>
18454
18455         * libs/gst/base/gstpushsrc.c:
18456         Fix typo.
18457
18458 2005-12-12  Wim Taymans  <wim@fluendo.com>
18459
18460         * docs/libs/gstreamer-libs-sections.txt:
18461         Added new symbol to docs.
18462
18463         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18464         (gst_base_src_init), (gst_base_src_set_format),
18465         (gst_base_src_default_query), (gst_base_src_query),
18466         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18467         (gst_base_src_perform_seek), (gst_base_src_send_event),
18468         (gst_base_src_default_event), (gst_base_src_event_handler),
18469         (gst_base_src_set_property), (gst_base_src_get_property),
18470         (gst_base_src_wait), (gst_base_src_do_sync),
18471         (gst_base_src_update_length), (gst_base_src_get_range),
18472         (gst_base_src_check_get_range), (gst_base_src_loop),
18473         (gst_base_src_default_negotiate), (gst_base_src_start),
18474         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18475         (gst_base_src_change_state):
18476         * libs/gst/base/gstbasesrc.h:
18477         Implement seeking to other formats than _BYTES.
18478         Implement more seeking methods correctly.
18479         Doc updates.
18480         Added query vmethod.
18481         Added do_seek vmethod to make life easier for subclasses
18482         when seeking.
18483         API addition: gst_base_src_set_format()
18484
18485 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18486
18487         * tests/examples/Makefile.am:
18488           added that too
18489
18490 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18491
18492         * configure.ac:
18493         * docs/random/ensonic/media-device-daemon.txt:
18494         * tests/examples/controller/.cvsignore:
18495         * tests/examples/controller/Makefile.am:
18496         * tests/examples/controller/audio-example.c: (main):
18497         * tests/examples/helloworld/.cvsignore:
18498         * tests/examples/helloworld/Makefile.am:
18499         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18500         * tests/examples/launch/.cvsignore:
18501         * tests/examples/launch/Makefile.am:
18502         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18503         * tests/examples/metadata/.cvsignore:
18504         * tests/examples/metadata/Makefile.am:
18505         * tests/examples/metadata/read-metadata.c: (message_loop),
18506         (make_pipeline), (print_tag), (main):
18507         * tests/examples/queue/.cvsignore:
18508         * tests/examples/queue/Makefile.am:
18509         * tests/examples/queue/queue.c: (event_loop), (main):
18510         * tests/examples/typefind/.cvsignore:
18511         * tests/examples/typefind/Makefile.am:
18512         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18513         (main):
18514         * tests/examples/xml/.cvsignore:
18515         * tests/examples/xml/Makefile.am:
18516         * tests/examples/xml/createxml.c: (object_saved), (main):
18517         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18518         * tests/old/examples/Makefile.am:
18519         * tests/old/examples/TODO:
18520         * tests/old/examples/controller/.cvsignore:
18521         * tests/old/examples/controller/Makefile.am:
18522         * tests/old/examples/controller/audio-example.c:
18523         * tests/old/examples/helloworld/.cvsignore:
18524         * tests/old/examples/helloworld/Makefile.am:
18525         * tests/old/examples/helloworld/helloworld.c:
18526         * tests/old/examples/launch/.cvsignore:
18527         * tests/old/examples/launch/Makefile.am:
18528         * tests/old/examples/launch/mp3parselaunch.c:
18529         * tests/old/examples/launch/mp3play:
18530         * tests/old/examples/manual/Makefile.am:
18531         * tests/old/examples/metadata/Makefile.am:
18532         * tests/old/examples/metadata/read-metadata.c:
18533         * tests/old/examples/queue/.cvsignore:
18534         * tests/old/examples/queue/Makefile.am:
18535         * tests/old/examples/queue/queue.c:
18536         * tests/old/examples/typefind/.cvsignore:
18537         * tests/old/examples/typefind/Makefile.am:
18538         * tests/old/examples/typefind/typefind.c:
18539         * tests/old/examples/xml/.cvsignore:
18540         * tests/old/examples/xml/Makefile.am:
18541         * tests/old/examples/xml/createxml.c:
18542         * tests/old/examples/xml/runxml.c:
18543           applied some simple fixing to some examples
18544           re-enabled the working examples
18545
18546 2005-12-12  Wim Taymans  <wim@fluendo.com>
18547
18548         * gst/gstsegment.c: (gst_segment_init),
18549         (gst_segment_set_last_stop), (gst_segment_set_seek),
18550         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18551         (gst_segment_to_running_time):
18552         Added more documentation.
18553         Make sure the last_pos value is updated properly.
18554         Make sure to_stream_time and to_running_time don't
18555         operate on wrong values.
18556
18557         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18558         Update check.
18559
18560 2005-12-12  Michael Smith  <msmith@fluendo.com>
18561
18562         * plugins/elements/gsttypefindelement.c: (free_entry),
18563         (gst_type_find_element_chain):
18564           Now that we're not leaking factories, make sure we keep references
18565           to them while we need them.
18566
18567 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18568
18569         * tests/check/gst/struct_i386.h:
18570           ifdef out the XML structs
18571
18572 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18573
18574         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18575           floor is not needed, F is always positive; this obviates the
18576           need for adding -lm when building without libxml
18577
18578 2005-12-12  Wim Taymans  <wim@fluendo.com>
18579
18580         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18581         Take current playback rate into account when reporting
18582         the position.
18583
18584 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18585
18586         * docs/manual/mime-world.fig:
18587           Let's try this again, this time with a file that is
18588           actually in XFig format.
18589
18590 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18591
18592         * docs/manual/mime-world.fig:
18593           Add audioconvert element to diagram so that it
18594           matches the text and the code (fixes #319526).
18595
18596 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18597
18598         * docs/pwg/building-chainfn.xml:
18599         * docs/pwg/building-pads.xml:
18600         * docs/pwg/building-state.xml:
18601         * docs/pwg/other-source.xml:
18602           Update state change stuff for 0.10 (fixes #322969).
18603
18604 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18605
18606         * docs/manual/advanced-dataaccess.xml:
18607         * docs/manual/appendix-checklist.xml:
18608         * docs/manual/appendix-programs.xml:
18609         * docs/manual/basics-pads.xml:
18610         * docs/manual/highlevel-components.xml:
18611         * docs/manual/manual.xml:
18612           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18613           add converters in front of pipelines; remove curly
18614           brackets for threads stuff, they no longer exist; use
18615           GST_TYPE_FRACTION for framerates; update some pieces of
18616           code to 0.10, but there's plenty more to do.
18617
18618         * docs/manual/appendix-porting.xml:
18619           Expand on asynchroneous state changes; s/0.9/0.10/;
18620           mention disappearance of gst_init_get_popt_table()
18621           (fixes #322916).
18622
18623 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18624
18625         * docs/faq/using.xml:
18626           Spider no longer exists, and neither does gst-launch-ext.
18627           Update examples to use decodebin and playbin and put
18628           converters in front of sinks (fixes #323726).
18629
18630 2005-12-09  Michael Smith  <msmith@fluendo.com>
18631
18632         * plugins/elements/gsttypefindelement.c: (find_peek),
18633         (gst_type_find_element_chain):
18634           Fix leaking element factories in typefinding.
18635           Fix problem where we forgot about a probable type on non-seekable
18636           files, and thus later mis-typefound it.
18637
18638 2005-12-09  Michael Smith  <msmith@fluendo.com>
18639
18640         * common/m4/gst-makecontext.m4:
18641         * common/m4/gst-mcsc.m4:
18642         * configure.ac:
18643         * win32/common/config.h:
18644         * win32/common/config.h.in:
18645           Remove makecontext stuff; not used in 0.10 and causes problems on
18646           HPUX according to bug #322441
18647
18648 2005-12-07  Wim Taymans  <wim@fluendo.com>
18649
18650         * tests/check/Makefile.am:
18651         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18652         (main):
18653         * tests/check/libs/struct_i386.h:
18654         Added ABI check for libs
18655
18656 2005-12-07  Wim Taymans  <wim@fluendo.com>
18657
18658         * tests/check/Makefile.am:
18659         And add the struct_i386.h to dist.
18660
18661 2005-12-07  Wim Taymans  <wim@fluendo.com>
18662
18663         * tests/check/Makefile.am:
18664         * tests/check/gst/.cvsignore:
18665         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18666         (main):
18667         * tests/check/gst/struct_i386.h:
18668         Added check for ABI compatibility.
18669
18670 2005-12-07  Wim Taymans  <wim@fluendo.com>
18671
18672         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18673         (gst_fake_src_get_times), (gst_fake_src_create):
18674         Fix broken sync option, fixes #323259
18675
18676 2005-12-07  Wim Taymans  <wim@fluendo.com>
18677
18678         * gst/gstbuffer.c:
18679         Small docs update.
18680
18681         * gst/gstcaps.c: (gst_caps_is_equal):
18682         Don't assert on NULL <--> X. Fixes #323260
18683
18684         * gst/gstminiobject.c: (gst_mini_object_replace):
18685         If we're doing atomic operations, we might just as well use
18686         the proper way to get an atomic pointer.
18687
18688         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18689         Clean up debugging.
18690
18691 2005-12-07  Michael Smith  <msmith@fluendo.com>
18692
18693         * gst/parse/grammar.y:
18694           Remove handling of { } for threads.
18695
18696 2005-12-06  David Schleef  <ds@schleef.org>
18697
18698         * libs/gst/base/gstbasetransform.c: speling fix.
18699
18700 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18701
18702         * docs/libs/tmpl/gstdataprotocol.sgml:
18703         * docs/random/omega/testing/gstobject.c:
18704         * gst/gst.c:
18705         * gst/gstclock.c:
18706         * gst/gstelement.c:
18707         * gst/gstelementfactory.c:
18708         * gst/gsterror.c:
18709         * gst/gstevent.c:
18710         * gst/gstghostpad.c:
18711         * gst/gstinfo.c:
18712         * gst/gstpadtemplate.c:
18713         * gst/gstregistryxml.c:
18714         * gst/gsttaglist.c:
18715         * gst/gsttagsetter.c:
18716         * gst/gsttypefind.c:
18717         * gst/gstvalue.c:
18718         * libs/gst/base/gstbasesrc.c:
18719         * libs/gst/net/gstnetclientclock.c:
18720         * libs/gst/net/gstnettimeprovider.c:
18721         * plugins/elements/gstfakesrc.c:
18722         * plugins/elements/gstfdsrc.c:
18723         * plugins/elements/gstfilesrc.c:
18724         * plugins/elements/gstidentity.c:
18725         * plugins/elements/gstqueue.c:
18726         * plugins/elements/gsttypefindelement.c:
18727         * plugins/indexers/gstfileindex.c:
18728         * plugins/indexers/gstmemindex.c:
18729         * tests/check/gst/gsttag.c:
18730         * tests/old/examples/cutter/cutter.c:
18731         * tests/old/examples/mixer/mixer.c:
18732         * tests/old/examples/xml/runxml.c: (main):
18733         * tests/old/testsuite/caps/normalisation.c:
18734         * tests/old/testsuite/debug/global.c:
18735         * tests/old/testsuite/parse/parse1.c:
18736         * tools/gst-xmlinspect.c:
18737         * win32/common/dirent.c:
18738           expand tabs
18739
18740 === release 0.10.0 ===
18741
18742 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18743
18744         * configure.ac:
18745           releasing 0.10.0, "Maroilles"
18746
18747 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18748
18749         submitted by: Funda Wang <fundawang@linux.net.cn>
18750
18751         * po/LINGUAS:
18752         * po/zh_CN.po:
18753           added Chinese (Traditional) translation
18754
18755 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18756
18757         * docs/gst/gstreamer-sections.txt:
18758         * docs/libs/tmpl/gstdataprotocol.sgml:
18759         * docs/random/thomasvs/TODO:
18760         * gst/gstutils.c:
18761         * gst/gstutils.h:
18762           fix docs
18763
18764 2005-12-05  Andy Wingo  <wingo@pobox.com>
18765
18766         patch by: Wim Taymans <wim@fluendo.com>
18767
18768         * libs/gst/base/gstbasetransform.c
18769         (gst_base_transform_prepare_output_buf)
18770         (gst_base_transform_buffer_alloc):
18771         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18772         alloc_buffer_and_set_caps.
18773
18774         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18775         set_caps on the source pad.
18776         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18777         alloc_buffer used to do. Fixes #322874.
18778
18779         * docs/gst/gstreamer-sections.txt: 
18780         * docs/design/part-negotiation.txt: 
18781         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18782         changes.
18783
18784 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18785
18786         patch by: Sebastien Moutte
18787
18788         * win32/MANIFEST:
18789         * win32/common/config.h.in:
18790         * win32/vs6/libgstcontroller.dsp:
18791           win32 build fixes
18792
18793 2005-12-05  Wim Taymans  <wim@fluendo.com>
18794
18795         * gst/gstcaps.c: (gst_caps_is_equal):
18796         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18797         (gst_fake_src_create):
18798         Back out previous code changes, leave doc updates, file bugs 
18799         instead. 
18800
18801 2005-12-05  Wim Taymans  <wim@fluendo.com>
18802
18803         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18804         (gst_fake_src_get_times), (gst_fake_src_create):
18805         * plugins/elements/gstfakesrc.h:
18806         Fix broken sync code.
18807
18808 2005-12-05  Wim Taymans  <wim@fluendo.com>
18809
18810         * gst/gstcaps.c: (gst_caps_is_equal):
18811         Comparing NULL against !NULL yields different caps, not a
18812         failure.
18813
18814 2005-12-05  Wim Taymans  <wim@fluendo.com>
18815
18816         * gst/gstpipeline.c:
18817         Fix small typo in docs.
18818
18819 2005-12-05  Andy Wingo  <wingo@pobox.com>
18820
18821         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18822
18823         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18824         registries/plugins with a MAJORMINOR one.
18825         (plugin_desc): Rename library from gstcoreleements to
18826         staticelements. Fixes #323222.
18827
18828 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18829
18830         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18831           Change debug category to 'collectpads' from 'collect_pads'
18832           (fixes #323250).
18833
18834 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18835
18836         patch by: Sebastien Moutte
18837
18838         * libs/gst/controller/gstinterpolation.c:
18839           use convert function for uint64/double
18840         * win32/vs6/libgstcontroller.dsp:
18841           link to GLib
18842
18843 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18844
18845         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18846         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18847         * gst/gstutils.h:
18848         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18849           add tests that seem to show that the guint64/gdouble conversions
18850           are correct.
18851
18852 2005-12-02  Wim Taymans  <wim@fluendo.com>
18853
18854         * gst/gstregistry.c: (gst_registry_add_path):
18855         * gst/gstregistry.h:
18856         * gst/gstregistryxml.c:
18857         Fix docs again.
18858
18859 2005-12-02  Wim Taymans  <wim@fluendo.com>
18860
18861         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18862         (gst_util_uint64_scale_int):
18863         Small cleanup.
18864
18865         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18866         Add debug log line.
18867
18868         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18869         Add FIXME.
18870
18871 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18872
18873         * win32/MANIFEST:
18874         * win32/common/config.h:
18875         * win32/vs6/gstreamer.dsw:
18876         * win32/vs6/libgstcoreelements.dsp:
18877         * win32/vs6/libgstelements.dsp:
18878           renamed core elements plugin
18879
18880 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18881
18882         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18883         (get_candidates):
18884           do piece-wise major/minor comparison so 0.9 < 0.10
18885           also allow .exe extensions for tools
18886
18887 2005-12-02  Michael Smith  <msmith@fluendo.com>
18888
18889         * gst/gst.c:
18890           Escape a % to make gtkdoc happier; bug 322958.
18891
18892 === release 0.9.7 ===
18893
18894 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18895
18896         * configure.ac:
18897           releasing 0.9.7, "My Dog Has No Nose"
18898
18899 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18900
18901         * common/gst-xmlinspect.py:
18902         * configure.ac:
18903         * docs/libs/tmpl/gstdataprotocol.sgml:
18904         * docs/random/release:
18905         * po/af.po:
18906         * po/az.po:
18907         * po/bg.po:
18908         * po/ca.po:
18909         * po/cs.po:
18910         * po/de.po:
18911         * po/en_GB.po:
18912         * po/fr.po:
18913         * po/it.po:
18914         * po/nb.po:
18915         * po/nl.po:
18916         * po/ru.po:
18917         * po/sq.po:
18918         * po/sr.po:
18919         * po/sv.po:
18920         * po/tr.po:
18921         * po/uk.po:
18922         * po/vi.po:
18923         * win32/common/config.h:
18924         * win32/common/config.h.in:
18925         * win32/vs6/gst_inspect.dsp:
18926         * win32/vs6/gst_launch.dsp:
18927         * win32/vs6/libgstbase.dsp:
18928         * win32/vs6/libgstelements.dsp:
18929         * win32/vs6/libgstreamer.dsp:
18930         * win32/vs7/GStreamer.vcproj:
18931         * win32/vs7/gst-inspect.vcproj:
18932         * win32/vs7/gst-launch.vcproj:
18933         * win32/vs7/libgstbase.vcproj:
18934           bump GST_MAJORMINOR to 0.10
18935           reset libtool version
18936
18937 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18938
18939         * po/LINGUAS:
18940         * po/bg.po:
18941           Added Bulgarian translation by (Alexander Shopov)
18942
18943 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18944
18945         * tests/check/gst/gstplugin.c:
18946           fix test
18947
18948 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18949
18950         * common/gst-xmlinspect.py:
18951         * common/gtk-doc-plugins.mak:
18952         * configure.ac:
18953         * docs/Makefile.am:
18954         * docs/gst/Makefile.am:
18955         * docs/gst/gstreamer-docs.sgml:
18956         * docs/gst/gstreamer-sections.txt:
18957         * docs/gst/gstreamer.types:
18958         * docs/gst/gstreamer.types.in:
18959         * docs/plugins/Makefile.am:
18960         * docs/plugins/gstreamer-plugins-docs.sgml:
18961         * docs/plugins/gstreamer-plugins-sections.txt:
18962         * docs/plugins/gstreamer-plugins.types:
18963         * docs/plugins/inspect.stamp:
18964         * docs/plugins/inspect/plugin-coreelements.xml:
18965         * docs/plugins/inspect/plugin-coreindexers.xml:
18966         * docs/plugins/scanobj-build.stamp:
18967         * gstreamer.spec.in:
18968         * plugins/elements/Makefile.am:
18969         * plugins/elements/gstelements.c:
18970         * plugins/elements/gstfakesink.c:
18971         * plugins/elements/gstfakesrc.c:
18972         * plugins/elements/gstfilesink.c:
18973         * plugins/elements/gstfilesrc.c:
18974         * plugins/elements/gstqueue.c:
18975         * plugins/indexers/Makefile.am:
18976         * plugins/indexers/gstindexers.c:
18977           document core plugins in a separate document just like all the
18978           others
18979           rename these plugins to something starting with core
18980
18981 2005-12-01  Andy Wingo  <wingo@pobox.com>
18982
18983         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18984         padding here before, but it missed the commit.
18985
18986 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18987
18988         * libs/gst/controller/gstinterpolation.c:
18989           whitespace prices have crashed, we should feel free to use some now
18990           use gst_guint64_to_gdouble
18991
18992 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
18993
18994         * libs/gst/controller/gstcontroller.c:
18995         * libs/gst/controller/gsthelper.c:
18996         * libs/gst/controller/gstinterpolation.c:
18997         * libs/gst/controller/lib.c:
18998           wrap config.h include
18999
19000 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19001
19002         * docs/gst/gstreamer-sections.txt:
19003           update docs
19004
19005 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19006
19007         * plugins/elements/gstelements.c:
19008         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19009         (gst_fd_sink__class_init), (gst_fd_sink__init),
19010         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19011         (gst_fd_sink__get_property):
19012         * plugins/elements/gstfdsink.h:
19013         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19014         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19015         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19016         (gst_fd_src_unlock), (gst_fd_src_set_property),
19017         (gst_fd_src_get_property), (gst_fd_src_create),
19018         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19019         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19020         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19021         (gst_fd_src_uri_handler_init):
19022         * plugins/elements/gstfdsrc.h:
19023         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19024           more anal cleanup
19025
19026 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19027
19028         * docs/gst/Makefile.am:
19029         * docs/gst/gstreamer.types.in:
19030         * gst/Makefile.am:
19031           fix the docs build
19032
19033 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19034
19035         * configure.ac:
19036         * gst/Makefile.am:
19037         * gst/gst.c:
19038         * gst/gstplugin.h:
19039         * gst/gstregistry.h:
19040         * tests/benchmarks/complexity.c:
19041         * tests/benchmarks/mass-elements.c:
19042         * tests/check/Makefile.am:
19043         * tools/Makefile.am:
19044         * tools/gst-inspect.c:
19045         * tools/gst-xmlinspect.c:
19046           various fixes to make
19047           --disable-nls --disable-registry --disable-loadsave
19048           --disable-parse --disable-gst-debug
19049           work and get the core .so down to 360444 bytes after stripping
19050
19051 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19052
19053         * Makefile.am:
19054         * configure.ac:
19055           descend into tests
19056         * docs/random/thomasvs/TODO:
19057         * tests/Makefile.am:
19058         * tests/README:
19059           add a README
19060
19061 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19062
19063         * win32/GStreamer.vcproj:
19064         * win32/MANIFEST:
19065         * win32/Makefile:
19066         * win32/Makefile.inspect:
19067         * win32/Makefile.launch:
19068         * win32/Makefile.register:
19069         * win32/README.txt:
19070         * win32/gst-inspect.vcproj:
19071         * win32/gst-launch.vcproj:
19072         * win32/gst-register.vcproj:
19073         * win32/gstelements.vcproj:
19074         * win32/gstgetbits.def:
19075         * win32/gstgetbits.vcproj:
19076         * win32/gstreamer-dbg.def:
19077         * win32/gstreamer.def:
19078         * win32/libgstbase.def:
19079         * win32/libgstbase.vcproj:
19080         * win32/link_oldruntime.c:
19081         * win32/mman.c:
19082         * win32/mman.h:
19083         * win32/mman.inl:
19084         * win32/msvc71.sln:
19085           move even more stuff, win32/ is nice and clean now
19086
19087 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19088
19089         * libs/gst/control/.cvsignore:
19090         * win32/MANIFEST:
19091         * win32/config.h:
19092         * win32/dirent.c:
19093         * win32/dirent.h:
19094         * win32/gstbytestream.def:
19095         * win32/gstbytestream.vcproj:
19096         * win32/gstconfig.h:
19097         * win32/gstenumtypes.c:
19098         * win32/gstenumtypes.h:
19099         * win32/gstoptimalscheduler.vcproj:
19100         * win32/gstversion.h:
19101         * win32/gtchar.h:
19102         * win32/testsuite/bins.vcproj:
19103         * win32/testsuite/bytestream.vcproj:
19104         * win32/testsuite/caps.vcproj:
19105         * win32/testsuite/cleanup.vcproj:
19106         * win32/testsuite/clock.vcproj:
19107         * win32/testsuite/debug.vcproj:
19108         * win32/testsuite/dlopen.vcproj:
19109         * win32/testsuite/dynparams.vcproj:
19110         * win32/testsuite/elements.vcproj:
19111         * win32/testsuite/ghostpads.vcproj:
19112         * win32/testsuite/indexers.vcproj:
19113         * win32/testsuite/negotiation.vcproj:
19114         * win32/testsuite/parse.vcproj:
19115         * win32/testsuite/plugin.vcproj:
19116         * win32/testsuite/refcounting.vcproj:
19117         * win32/testsuite/schedulers.vcproj:
19118         * win32/testsuite/states.vcproj:
19119         * win32/testsuite/tags.vcproj:
19120         * win32/testsuite/threads.vcproj:
19121           remove old win32 stuff that isn't maintained and should be
19122           reorganized
19123
19124 2005-11-30  Andy Wingo  <wingo@pobox.com>
19125
19126         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19127         loading the gst.interfaces python module bork.
19128
19129         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19130         available since GLib 2.2. Fixes #318031.
19131
19132 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19133
19134         * Makefile.am:
19135         * check/.cvsignore:
19136         * check/Makefile.am:
19137         * check/elements/.cvsignore:
19138         * check/elements/fakesrc.c:
19139         * check/elements/fdsrc.c:
19140         * check/elements/identity.c:
19141         * check/generic/.cvsignore:
19142         * check/generic/states.c:
19143         * check/gst-libs/.cvsignore:
19144         * check/gst-libs/controller.c:
19145         * check/gst-libs/gdp.c:
19146         * check/gst/.cvsignore:
19147         * check/gst/capslist.h:
19148         * check/gst/gst.c:
19149         * check/gst/gstbin.c:
19150         * check/gst/gstbuffer.c:
19151         * check/gst/gstbus.c:
19152         * check/gst/gstcaps.c:
19153         * check/gst/gstelement.c:
19154         * check/gst/gstevent.c:
19155         * check/gst/gstghostpad.c:
19156         * check/gst/gstiterator.c:
19157         * check/gst/gstmessage.c:
19158         * check/gst/gstminiobject.c:
19159         * check/gst/gstobject.c:
19160         * check/gst/gstpad.c:
19161         * check/gst/gstpipeline.c:
19162         * check/gst/gstplugin.c:
19163         * check/gst/gstsegment.c:
19164         * check/gst/gststructure.c:
19165         * check/gst/gstsystemclock.c:
19166         * check/gst/gsttag.c:
19167         * check/gst/gstutils.c:
19168         * check/gst/gstvalue.c:
19169         * check/net/.cvsignore:
19170         * check/net/gstnetclientclock.c:
19171         * check/net/gstnettimeprovider.c:
19172         * check/pipelines/.cvsignore:
19173         * check/pipelines/cleanup.c:
19174         * check/pipelines/simple_launch_lines.c:
19175         * check/pipelines/stress.c:
19176         * check/states/.cvsignore:
19177         * check/states/sinks.c:
19178         * configure.ac:
19179         * examples/Makefile.am:
19180         * examples/appreader/.cvsignore:
19181         * examples/appreader/Makefile.am:
19182         * examples/appreader/appreader.c:
19183         * examples/controller/.cvsignore:
19184         * examples/controller/Makefile.am:
19185         * examples/controller/audio-example.c:
19186         * examples/cutter/.cvsignore:
19187         * examples/cutter/Makefile.am:
19188         * examples/cutter/cutter.c:
19189         * examples/cutter/cutter.h:
19190         * examples/events/Makefile.am:
19191         * examples/events/seek.c:
19192         * examples/helloworld/.cvsignore:
19193         * examples/helloworld/Makefile.am:
19194         * examples/helloworld/helloworld.c:
19195         * examples/helloworld2/.cvsignore:
19196         * examples/helloworld2/Makefile.am:
19197         * examples/helloworld2/helloworld2.c:
19198         * examples/launch/.cvsignore:
19199         * examples/launch/Makefile.am:
19200         * examples/launch/mp3parselaunch.c:
19201         * examples/launch/mp3play:
19202         * examples/manual/.cvsignore:
19203         * examples/manual/Makefile.am:
19204         * examples/manual/extract.pl:
19205         * examples/metadata/Makefile.am:
19206         * examples/metadata/read-metadata.c:
19207         * examples/mixer/.cvsignore:
19208         * examples/mixer/Makefile.am:
19209         * examples/mixer/mixer.c:
19210         * examples/mixer/mixer.h:
19211         * examples/pingpong/.cvsignore:
19212         * examples/pingpong/Makefile.am:
19213         * examples/pingpong/pingpong.c:
19214         * examples/plugins/.cvsignore:
19215         * examples/plugins/Makefile.am:
19216         * examples/plugins/example.c:
19217         * examples/plugins/example.h:
19218         * examples/pwg/.cvsignore:
19219         * examples/pwg/Makefile.am:
19220         * examples/pwg/extract.pl:
19221         * examples/queue/.cvsignore:
19222         * examples/queue/Makefile.am:
19223         * examples/queue/queue.c:
19224         * examples/queue2/.cvsignore:
19225         * examples/queue2/Makefile.am:
19226         * examples/queue2/queue2.c:
19227         * examples/queue3/.cvsignore:
19228         * examples/queue3/Makefile.am:
19229         * examples/queue3/queue3.c:
19230         * examples/queue4/.cvsignore:
19231         * examples/queue4/Makefile.am:
19232         * examples/queue4/queue4.c:
19233         * examples/retag/.cvsignore:
19234         * examples/retag/Makefile.am:
19235         * examples/retag/retag.c:
19236         * examples/retag/transcode.c:
19237         * examples/thread/.cvsignore:
19238         * examples/thread/Makefile.am:
19239         * examples/thread/thread.c:
19240         * examples/typefind/.cvsignore:
19241         * examples/typefind/Makefile.am:
19242         * examples/typefind/typefind.c:
19243         * examples/xml/.cvsignore:
19244         * examples/xml/Makefile.am:
19245         * examples/xml/createxml.c:
19246         * examples/xml/runxml.c:
19247         * tests/Makefile.am:
19248         * tests/check/Makefile.am:
19249         * testsuite/.cvsignore:
19250         * testsuite/Makefile.am:
19251         * testsuite/Rules:
19252         * testsuite/caps/.cvsignore:
19253         * testsuite/caps/Makefile.am:
19254         * testsuite/caps/app_fixate.c:
19255         * testsuite/caps/audioscale.c:
19256         * testsuite/caps/caps.c:
19257         * testsuite/caps/caps.h:
19258         * testsuite/caps/caps_strings:
19259         * testsuite/caps/compatibility.c:
19260         * testsuite/caps/deserialize.c:
19261         * testsuite/caps/enumcaps.c:
19262         * testsuite/caps/eratosthenes.c:
19263         * testsuite/caps/filtercaps.c:
19264         * testsuite/caps/fixed.c:
19265         * testsuite/caps/fraction-convert.c:
19266         * testsuite/caps/fraction-multiply-and-zero.c:
19267         * testsuite/caps/intersect2.c:
19268         * testsuite/caps/intersection.c:
19269         * testsuite/caps/normalisation.c:
19270         * testsuite/caps/random.c:
19271         * testsuite/caps/renegotiate.c:
19272         * testsuite/caps/sets.c:
19273         * testsuite/caps/simplify.c:
19274         * testsuite/caps/string-conversions.c:
19275         * testsuite/caps/structure.c:
19276         * testsuite/caps/subtract.c:
19277         * testsuite/caps/union.c:
19278         * testsuite/debug/.cvsignore:
19279         * testsuite/debug/Makefile.am:
19280         * testsuite/debug/category.c:
19281         * testsuite/debug/commandline.c:
19282         * testsuite/debug/global.c:
19283         * testsuite/debug/output.c:
19284         * testsuite/debug/printf_extension.c:
19285         * testsuite/dlopen/.cvsignore:
19286         * testsuite/dlopen/Makefile.am:
19287         * testsuite/dlopen/dlopen_gst.c:
19288         * testsuite/dlopen/loadgst.c:
19289         * testsuite/elements/.cvsignore:
19290         * testsuite/elements/Makefile.am:
19291         * testsuite/elements/gst-inspect-check.in:
19292         * testsuite/elements/struct_i386.h:
19293         * testsuite/elements/struct_size.c:
19294         * testsuite/indexers/.cvsignore:
19295         * testsuite/indexers/Makefile.am:
19296         * testsuite/indexers/cache1.c:
19297         * testsuite/indexers/indexdump.c:
19298         * testsuite/parse/.cvsignore:
19299         * testsuite/parse/Makefile.am:
19300         * testsuite/parse/parse1.c:
19301         * testsuite/parse/parse2.c:
19302         * testsuite/plugin/.cvsignore:
19303         * testsuite/plugin/Makefile.am:
19304         * testsuite/plugin/README:
19305         * testsuite/plugin/dynamic.c:
19306         * testsuite/plugin/linked.c:
19307         * testsuite/plugin/loading.c:
19308         * testsuite/plugin/registry.c:
19309         * testsuite/plugin/static.c:
19310         * testsuite/plugin/static2.c:
19311         * testsuite/plugin/testplugin.c:
19312         * testsuite/plugin/testplugin2.c:
19313         * testsuite/plugin/testplugin2_s.c:
19314         * testsuite/plugin/testplugin_s.c:
19315         * testsuite/refcounting/.cvsignore:
19316         * testsuite/refcounting/Makefile.am:
19317         * testsuite/refcounting/bin.c:
19318         * testsuite/refcounting/element.c:
19319         * testsuite/refcounting/element_pad.c:
19320         * testsuite/refcounting/mainloop.c:
19321         * testsuite/refcounting/mem.c:
19322         * testsuite/refcounting/mem.h:
19323         * testsuite/refcounting/object.c:
19324         * testsuite/refcounting/pad.c:
19325         * testsuite/refcounting/sched.c:
19326         * testsuite/refcounting/thread.c:
19327         * testsuite/states/.cvsignore:
19328         * testsuite/states/Makefile.am:
19329         * testsuite/states/bin.c:
19330         * testsuite/states/locked.c:
19331         * testsuite/states/parent.c:
19332         * testsuite/threads/.cvsignore:
19333         * testsuite/threads/159566.c:
19334         * testsuite/threads/159852.c:
19335         * testsuite/threads/Makefile.am:
19336         * testsuite/threads/queue.c:
19337         * testsuite/threads/signals.c:
19338         * testsuite/threads/staticrec.c:
19339         * testsuite/threads/thread.c:
19340         * testsuite/threads/threadb.c:
19341         * testsuite/threads/threadc.c:
19342         * testsuite/threads/threadd.c:
19343         * testsuite/threads/threade.c:
19344         * testsuite/threads/threadf.c:
19345         * testsuite/threads/threadg.c:
19346         * testsuite/threads/threadh.c:
19347         * testsuite/threads/threadi.c:
19348           move all of these under tests
19349
19350 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19351
19352         * configure.ac:
19353         * tests/Makefile.am:
19354           fix distcheck
19355
19356 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19357
19358         * docs/gst/gstreamer-sections.txt:
19359         * tests/sched/.cvsignore:
19360         * tests/sched/Makefile.am:
19361         * tests/sched/cases/(fs-fs).xml:
19362         * tests/sched/cases/(fs-i-fs).xml:
19363         * tests/sched/cases/(fs-i-i-fs).xml:
19364         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19365         * tests/sched/dynamic-pipeline.c:
19366         * tests/sched/interrupt1.c:
19367         * tests/sched/interrupt2.c:
19368         * tests/sched/interrupt3.c:
19369         * tests/sched/runtestcases:
19370         * tests/sched/runxml.c:
19371         * tests/sched/sched-stress.c:
19372         * tests/sched/sort.c:
19373         * tests/sched/testcases:
19374         * tests/sched/testcases1.tc:
19375         * tests/seeking/.cvsignore:
19376         * tests/seeking/Makefile.am:
19377         * tests/seeking/seeking1.c:
19378         * tests/threadstate/.cvsignore:
19379         * tests/threadstate/Makefile.am:
19380         * tests/threadstate/test1.c:
19381         * tests/threadstate/test2.c:
19382         * tests/threadstate/threadstate1.c:
19383         * tests/threadstate/threadstate2.c:
19384         * tests/threadstate/threadstate3.c:
19385         * tests/threadstate/threadstate4.c:
19386         * tests/threadstate/threadstate5.c:
19387           remove obsolete tests
19388         * configure.ac:
19389         * tests/bench-complexity.scm:
19390         * tests/bench-mass_elements.scm:
19391         * tests/complexity.c:
19392         * tests/complexity.gnuplot:
19393         * tests/instantiate/.cvsignore:
19394         * tests/instantiate/Makefile.am:
19395         * tests/instantiate/caps.c:
19396         * tests/mass_elements.c:
19397         * tests/network-clock-utils.scm:
19398         * tests/network-clock.scm:
19399         * tests/plot-data:
19400         First pass at cleaning up tests/ dir before moving the rest
19401         Combined with CVS surgery
19402
19403 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19404
19405         * po/POTFILES.in:
19406           queue has moved, update
19407
19408 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19409
19410         * docs/gst/gstreamer-sections.txt:
19411           remove double entries from the docs
19412         * gst/gst_private.h:
19413         * gst/gstinfo.c: (_gst_debug_init):
19414           remove the THREAD debug category
19415         * gst/Makefile.am:
19416         * gst/gstqueue.c:
19417         * gst/gstqueue.h:
19418         * docs/gst/gstreamer.types:
19419         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19420         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19421           completely move queue and fix up debugging categories
19422
19423 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19424
19425         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19426           make initialization portable, using LL is not
19427
19428 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19429
19430         * win32/common/gstconfig.h:
19431           add large padding
19432
19433 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19434
19435         * win32/common/libgstreamer.def:
19436           rename symbols; sort base section
19437
19438 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19439
19440         * gst/gstclock.c: (do_linear_regression):
19441           remove crack non-portable handrolled DEBUG macro
19442
19443 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19444
19445         * docs/random/release:
19446           update notes
19447         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19448         (gst_object_flags_get_type), (register_gst_bin_flags),
19449         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19450         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19451         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19452         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19453         (gst_caps_flags_get_type), (register_gst_clock_return),
19454         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19455         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19456         (gst_clock_flags_get_type), (register_gst_state),
19457         (gst_state_get_type), (register_gst_state_change_return),
19458         (gst_state_change_return_get_type), (register_gst_state_change),
19459         (gst_state_change_get_type), (register_gst_element_flags),
19460         (gst_element_flags_get_type), (register_gst_core_error),
19461         (gst_core_error_get_type), (register_gst_library_error),
19462         (gst_library_error_get_type), (register_gst_resource_error),
19463         (gst_resource_error_get_type), (register_gst_stream_error),
19464         (gst_stream_error_get_type), (register_gst_event_type_flags),
19465         (gst_event_type_flags_get_type), (register_gst_event_type),
19466         (gst_event_type_get_type), (register_gst_seek_type),
19467         (gst_seek_type_get_type), (register_gst_seek_flags),
19468         (gst_seek_flags_get_type), (register_gst_format),
19469         (gst_format_get_type), (register_gst_index_certainty),
19470         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19471         (gst_index_entry_type_get_type),
19472         (register_gst_index_lookup_method),
19473         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19474         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19475         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19476         (gst_index_flags_get_type), (register_gst_debug_level),
19477         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19478         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19479         (gst_iterator_result_get_type), (register_gst_iterator_item),
19480         (gst_iterator_item_get_type), (register_gst_message_type),
19481         (gst_message_type_get_type), (register_gst_mini_object_flags),
19482         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19483         (gst_pad_link_return_get_type), (register_gst_flow_return),
19484         (gst_flow_return_get_type), (register_gst_activate_mode),
19485         (gst_activate_mode_get_type), (register_gst_pad_direction),
19486         (gst_pad_direction_get_type), (register_gst_pad_flags),
19487         (gst_pad_flags_get_type), (register_gst_pad_presence),
19488         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19489         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19490         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19491         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19492         (gst_plugin_flags_get_type), (register_gst_rank),
19493         (gst_rank_get_type), (register_gst_query_type),
19494         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19495         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19496         (gst_tag_flag_get_type), (register_gst_task_state),
19497         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19498         (gst_alloc_trace_flags_get_type),
19499         (register_gst_type_find_probability),
19500         (gst_type_find_probability_get_type), (register_gst_uri_type),
19501         (gst_uri_type_get_type), (register_gst_parse_error),
19502         (gst_parse_error_get_type):
19503         * win32/common/gstenumtypes.h:
19504         * win32/common/gstversion.h:
19505           update visual studio generated files
19506
19507 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19508
19509         * win32/vs6/libgstbase.dsp:
19510         * win32/vs6/libgstelements.dsp:
19511           update project files for new locations
19512
19513 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19514
19515         * Makefile.am:
19516           remove some files
19517         * README:
19518           reinstate and update
19519         * DEVEL:
19520         * REQUIREMENTS:
19521           removed
19522         * LICENSE:
19523         * docs/random/LICENSE:
19524           moved to random
19525
19526 2005-11-30  Edward Hervey  <edward@fluendo.com>
19527
19528         * gst/gsttypefind.c: (gst_type_find_register):
19529         * gst/gsttypefind.h:
19530         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19531         (gst_type_find_factory_dispose):
19532         * gst/gsttypefindfactory.h:
19533         Fix memory leak in GstTypeFindFactory.
19534
19535 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19536
19537         * gst/gst.c:
19538         * plugins/elements/Makefile.am:
19539         * plugins/elements/gstelements.c:
19540         * plugins/elements/gstqueue.c:
19541           move queue from core to the elements plugin
19542
19543 2005-11-29  Andy Wingo  <wingo@pobox.com>
19544
19545         * libs/gst/base/gstbasetransform.h: 
19546         * libs/gst/base/gstbasesrc.h: 
19547         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19548
19549         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19550         of pointers by which to pad very extensible base classes (like the
19551         ones in libs/gst/base).
19552
19553 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19554
19555         * docs/gst/gstreamer-docs.sgml:
19556         * docs/gst/gstreamer-sections.txt:
19557         * docs/libs/gstreamer-libs-docs.sgml:
19558         * docs/libs/gstreamer-libs-sections.txt:
19559           moving documentation from core to lib
19560
19561 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19562
19563         * check/Makefile.am:
19564         * configure.ac:
19565         * docs/gst/Makefile.am:
19566         * gst/Makefile.am:
19567         * gst/base/.cvsignore:
19568         * gst/base/Makefile.am:
19569         * gst/base/README:
19570         * gst/base/gstadapter.c:
19571         * gst/base/gstadapter.h:
19572         * gst/base/gstbasesink.c:
19573         * gst/base/gstbasesink.h:
19574         * gst/base/gstbasesrc.c:
19575         * gst/base/gstbasesrc.h:
19576         * gst/base/gstbasetransform.c:
19577         * gst/base/gstbasetransform.h:
19578         * gst/base/gstcollectpads.c:
19579         * gst/base/gstcollectpads.h:
19580         * gst/base/gstpushsrc.c:
19581         * gst/base/gstpushsrc.h:
19582         * gst/base/gsttypefindhelper.c:
19583         * gst/base/gsttypefindhelper.h:
19584         * gst/check/Makefile.am:
19585         * gst/check/gstcheck.c:
19586         * gst/check/gstcheck.h:
19587         * gst/net/Makefile.am:
19588         * gst/net/gstnet.h:
19589         * gst/net/gstnetclientclock.c:
19590         * gst/net/gstnetclientclock.h:
19591         * gst/net/gstnettimepacket.c:
19592         * gst/net/gstnettimepacket.h:
19593         * gst/net/gstnettimeprovider.c:
19594         * gst/net/gstnettimeprovider.h:
19595         * libs/gst/Makefile.am:
19596         * libs/gst/base/Makefile.am:
19597         * libs/gst/base/gstbasetransform.c:
19598         * libs/gst/check/Makefile.am:
19599         * plugins/elements/Makefile.am:
19600         * po/POTFILES.in:
19601           CVS surgery + support to move base, check, and net out of gst
19602           and into libs/gst
19603
19604 2005-11-29  Andy Wingo  <wingo@pobox.com>
19605
19606         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19607
19608         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19609         padding.
19610
19611         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19612
19613         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19614
19615         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19616
19617         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19618         padding; reduces object size by about 30%. We don't expect
19619         anything else to go into gstobject.
19620
19621         * gst/gstminiobject.h (struct _GstMiniObject)
19622         (struct _GstMiniObjectClass): Only one pointer of padding; the
19623         payload is only a pointer and two ints anyway. For the class there
19624         are only two methods as well.
19625         
19626         * gst/gstelement.h (struct _GstElementClass): Removed
19627         the state_changed signal callback, it is not used.
19628
19629 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19630
19631         * docs/gst/gstreamer.types:
19632           fix includes, though they are a little dinky
19633
19634 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19635
19636         * check/Makefile.am:
19637           look in the right place for elements, a lot more chance of
19638           success
19639         * gst/Makefile.am:
19640           remove indexers and elements subdirs
19641         * plugins/Makefile.am:
19642           make indexers conditional
19643
19644 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19645
19646         * Makefile.am:
19647         * configure.ac:
19648         * plugins/elements/Makefile.am:
19649         * plugins/elements/gstcapsfilter.c:
19650         * plugins/elements/gstfilesink.c:
19651         * plugins/elements/gstfilesrc.c:
19652         * plugins/elements/gstidentity.c:
19653         * plugins/indexers/Makefile.am:
19654           do CVS surgery and related build fixery to move elements
19655           and indexers in a new gstreamer/plugins directory, out of the
19656           gst/ directory
19657
19658 2005-11-29  Andy Wingo  <wingo@pobox.com>
19659
19660         * check/Makefile.am:
19661         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19662         * pkgconfig/gstreamer-net.pc.in:
19663         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19664         #322257.
19665
19666 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19667
19668         * tools/Makefile.am:
19669         * tools/gst-complete.1.in:
19670         * tools/gst-complete.c:
19671         * tools/gst-compprep.1.in:
19672         * tools/gst-compprep.c:
19673           removing -compprep and -complete
19674
19675 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19676
19677         * gst/gstevent.c: (gst_event_new_new_segment),
19678         (gst_event_parse_new_segment):
19679         * gst/gstevent.h:
19680           fix #320529 - clean up new_segment API and structure.
19681           Let's hope everyone was using the methods, and not the structure.
19682
19683 2005-11-29  Edward Hervey  <edward@fluendo.com>
19684
19685         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19686         (gst_base_sink_event), (gst_base_sink_do_sync),
19687         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19688         Properly handle non GST_FORMAT_TIME segment
19689         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19690         Properly handle non GST_FORMAT_TIME segment
19691         * gst/gstsegment.c:
19692         This function is valid if the accumulator is 0 and the format
19693         is different from the requested format.
19694         
19695 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19696
19697         * docs/gst/gstreamer-sections.txt:
19698         Add gst_query_new_seeking and gst_query_parse_seeking to the
19699         docs.
19700
19701 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19702
19703         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19704           Treat a pad alloc with new caps the same as if we were not
19705           negotiated, in order to allow a changing upstream output
19706           to produce a new format of data.
19707
19708 2005-11-29  Edward Hervey  <edward@fluendo.com>
19709
19710         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19711         (gst_base_transform_event), (gst_base_transform_eventfunc):
19712         The event virtual method is now properly implemented, with a default
19713         handler
19714         Sub classes should call the parent_class event method. They should
19715         return FALSE if they had a problem handling the given event, or don't
19716         want GstBaseTransform to send that even downstream
19717         * gst/elements/gstidentity.c: (gst_identity_class_init),
19718         (gst_identity_init), (gst_identity_event),
19719         (gst_identity_transform_ip), (gst_identity_set_property),
19720         (gst_identity_get_property):
19721         * gst/elements/gstidentity.h:
19722         Added the single-segment boolean property.
19723         If set to TRUE, it will output a single segment of data, starting from
19724         0, will eat up all incoming newsegment, and modify the timestamp of the
19725         buffers accordingly
19726
19727 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19728
19729         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19730           Don't ref NULL target pad (#322751). Improve docs.
19731
19732 2005-11-29  Michael Smith  <msmith@fluendo.com>
19733
19734         * gst/gstregistryxml.c: (load_plugin):
19735           Don't crash if we failed to load a feature from a plugin. 
19736
19737 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19738
19739         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19740         (GST_START_TEST):
19741           use more check API and less GLib API
19742
19743 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19744
19745         * Makefile.am:
19746           don't run checks if we don't have check
19747         * common/check.mak:
19748           remove the registry when running make torture
19749         * docs/gst/gstreamer-sections.txt:
19750           remove second multiply
19751         * gst/gstqueue.c: (gst_queue_loop):
19752           fix a compile warning when disabling debug
19753
19754 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19755
19756         * gst/gstinfo.h:
19757         Hey! Let's print the pad name if the pointer != NULL instead
19758         of when it == NULL :-)
19759
19760 2005-11-28  Wim Taymans  <wim@fluendo.com>
19761
19762         * check/gst/gstutils.c: (GST_START_TEST):
19763         Updated check, add some scaling accuracy checking code.
19764
19765         * gst/gstutils.c: (gst_util_div128_64),
19766         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19767         (gst_util_uint64_scale_int):
19768         Fix 6 times faster division code. Optimize for common 
19769         1/1 and less common X/1 cases.
19770
19771 2005-11-28  Wim Taymans  <wim@fluendo.com>
19772
19773         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19774         More checks.
19775
19776         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19777         (do_linear_regression), (gst_clock_add_observation):
19778         Cleanups.
19779         Release lock when the clock cannot be slaved.
19780         Catch the case where the regression returned an invalid denominator.
19781
19782         * gst/gstutils.c: (gst_util_div128_64_iterate),
19783         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19784         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19785         Add protentially more performant non-iterative 128/64 divide function
19786         that unfortunatly does not work yet.
19787         Shortcut the trivial 0/X = 0 case.
19788         Remove the warnings on overflow.
19789
19790 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19791
19792         * gst/gstplugin.c: (gst_plugin_register_func):
19793           everything causing a plugin not to load should be at least a WARNING
19794
19795 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19796
19797         * docs/random/ensonic/dparams.txt:
19798           some TODOs for the next dev cycle
19799         * libs/gst/controller/gstcontroller.c:
19800         (gst_controlled_property_set_interpolation_mode),
19801         (gst_controlled_property_new):
19802         * libs/gst/controller/gstcontroller.h:
19803           use base type to assign acccessor functions
19804
19805 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19806
19807         * check/Makefile.am:
19808         Oops, that should have been top_srcdir
19809
19810 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19811
19812         * check/Makefile.am:
19813         * check/elements/fdsrc.c: (GST_START_TEST):
19814         Use a cmdline define to specify the location of a file to use for
19815         testing, to avoid breaking distcheck.
19816
19817 2005-11-28  Andy Wingo  <wingo@pobox.com>
19818
19819         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19820
19821 2005-11-28  Edward Hervey  <edward@fluendo.com>
19822
19823         * tools/gst-launch.c: (main):
19824         Clarify the output strings, makes it easier to translate.
19825         Fixes #322626
19826
19827 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19828
19829         * gst/Makefile.am:
19830           don't try and build net if we don't even have <sys/socket.h>
19831
19832 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19833
19834         * check/Makefile.am:
19835         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19836         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19837           Add tests for fdsrc seekability
19838
19839         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19840         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19841         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19842         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19843         * gst/elements/gstfdsrc.h:
19844           fdsrc should not be a 'live' source.
19845           Implement seeking on seekable fd's.
19846
19847         * gst/gstquery.c: (gst_query_new_seeking),
19848         (gst_query_parse_seeking):
19849         * gst/gstquery.h:
19850           Implement SEEKING query functions: 
19851             *_new_seeking and *_parse_seeking
19852
19853 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19854
19855         * gst/gstelement.c: (gst_element_dispose):
19856           don't loop forever
19857
19858         * gst/gstiterator.c:
19859         * gst/gststructure.c:
19860           doc fixes
19861
19862         * libs/gst/controller/gstcontroller.c:
19863         (gst_controlled_property_set_interpolation_mode):
19864         * libs/gst/controller/gstcontroller.h:
19865         * libs/gst/controller/gstinterpolation.c:
19866         (interpolate_none_get_enum_value_array):
19867           support controlling enums
19868
19869 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19870
19871         * gst/gstvalue.c:
19872           Improve documentation for gst_value_union().
19873
19874         * gst/gstvalue.h:
19875           Change return value for union, intersect and subtract functions
19876           from gint to gboolean.
19877
19878 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19879
19880         * gst/gstvalue.c: (gst_value_serialize_any_list),
19881         (gst_value_transform_any_list_string),
19882         (gst_value_deserialize_list), (gst_value_deserialize_array),
19883         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19884         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19885         (gst_value_set_fraction_range_full),
19886         (gst_value_deserialize_fraction_range),
19887         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19888         (gst_value_deserialize_boolean),
19889         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19890         (gst_value_serialize_float), (gst_value_deserialize_float),
19891         (gst_string_wrap), (gst_value_deserialize_string),
19892         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19893         (gst_value_union_int_range_int_range),
19894         (gst_value_intersect_int_range_int_range),
19895         (gst_value_intersect_double_range_double_range),
19896         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19897         (gst_value_subtract_int_range_int_range),
19898         (gst_value_subtract_double_double_range),
19899         (gst_value_subtract_double_range_double_range),
19900         (gst_value_deserialize_fraction):
19901         * gst/gstvalue.h:
19902           Use gint, gdouble and gchar in our API instead of int, double and
19903           char (and make usage in gstvalue.c more consistent).
19904
19905 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19906
19907         * check/Makefile.am:
19908         * libs/gst/controller/Makefile.am:
19909         * libs/gst/dataprotocol/Makefile.am:
19910           fix up Makefile.am and remove GST_ENABLE_NEW
19911
19912 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19913
19914         * configure.ac:
19915         * gst/Makefile.am:
19916         * gst/base/Makefile.am:
19917         * gst/check/Makefile.am:
19918         * gst/elements/Makefile.am:
19919         * gst/net/Makefile.am:
19920           update LDFLAGS use some more
19921
19922 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19923
19924         * common/m4/gst-doc.m4:
19925           Fixes #312589
19926
19927 2005-11-26  Edward Hervey  <edward@fluendo.com>
19928
19929         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19930         This shouldn't issue a g_warning since it returns NULL if it
19931         couldn't find the plugin, and all functions using this behave
19932         properly on a NULL return. Switching to a GST_WARNING.
19933
19934 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19935
19936         * gst/gstbin.c: (gst_bin_handle_message_func):
19937         Don't leak clock messages.
19938
19939 2005-11-25  Wim Taymans  <wim@fluendo.com>
19940
19941         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19942         (gst_util_uint64_scale_int):
19943         Optimisations, remove unneeded vars.
19944
19945 2005-11-25  Wim Taymans  <wim@fluendo.com>
19946
19947         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19948         Added more checks for the high precision uint64 cases.
19949
19950         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19951         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19952         Implement high precision (guint64 * guint64) / guint64.
19953
19954 2005-11-24  Wim Taymans  <wim@fluendo.com>
19955
19956         * gst/base/gstbasesrc.c: (gst_base_src_query):
19957         Fix wrong percentage query.
19958
19959         * gst/gstutils.c: (gst_util_uint64_scale),
19960         (gst_util_uint64_scale_int):
19961         Add some more common cases that can be handled 
19962         efficiently to _scale.
19963
19964 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19965
19966         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19967         (gst_mini_object_suite):
19968           don't use check calls from threads; check probably isn't
19969           threadsafe and using a lock to make it threadsafe would
19970           defeat the purpose of this check
19971         * gst/check/gstcheck.c:
19972         * gst/check/gstcheck.h:
19973           use GST_DEBUG some more
19974
19975 2005-11-24  Wim Taymans  <wim@fluendo.com>
19976
19977         * gst/gstutils.c: (gst_util_uint64_scale),
19978         (gst_util_uint64_scale_int):
19979         Chain trivial case to _scale_int.
19980
19981 2005-11-24  Wim Taymans  <wim@fluendo.com>
19982
19983         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19984         Added test for scaling.
19985
19986         * gst/gstclock.h:
19987         Small doc fix.
19988
19989         * gst/gstutils.c: (gst_util_uint64_scale_int):
19990         Implemented high precision scaling code.
19991
19992 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
19993
19994         * gst/gstinfo.h:
19995           do not crash on pad==NULL
19996
19997 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19998
19999         Patch by: Stefan Kost
20000
20001         * common/gtk-doc.mak:
20002         * docs/gst/Makefile.am:
20003         * docs/libs/Makefile.am:
20004           Fix distcheck issues for the libraries docs build
20005           Closes #319599.
20006
20007 2005-11-24  Michael Smith <msmith@fluendo.com>
20008
20009         * docs/manual/basics-helloworld.xml:
20010           Fix bug #315027: memory leak in example code in docs.
20011
20012 2005-11-24  Michael Smith <msmith@fluendo.com>
20013
20014         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20015           Unlock the PREROLL_LOCK in a failure case.
20016
20017 2005-11-24  Wim Taymans  <wim@fluendo.com>
20018
20019         * docs/gst/gstreamer-sections.txt:
20020         * gst/base/gstadapter.h:
20021         * gst/base/gstbasesink.h:
20022         * gst/base/gstbasesrc.h:
20023         * gst/base/gstbasetransform.h:
20024         * gst/base/gstpushsrc.h:
20025         * gst/elements/gstfakesink.h:
20026         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20027         * gst/elements/gstfakesrc.h:
20028         * gst/elements/gstfilesink.h:
20029         * gst/elements/gstfilesrc.h:
20030         * gst/gst.c:
20031         * gst/gstbin.c:
20032         * gst/gstbuffer.c: (_gst_buffer_copy):
20033         * gst/gstbus.h:
20034         * gst/gstcaps.c:
20035         * gst/gstchildproxy.c:
20036         * gst/gstclock.c:
20037         * gst/gstelement.c:
20038         * gst/gstelementfactory.c:
20039         * gst/gstelementfactory.h:
20040         * gst/gstevent.c:
20041         * gst/gstghostpad.h:
20042         * gst/gstindex.h:
20043         * gst/gstinterface.h:
20044         * gst/gstminiobject.c:
20045         * gst/gstminiobject.h:
20046         * gst/gstpad.c:
20047         * gst/gstpad.h:
20048         * gst/gstpadtemplate.h:
20049         * gst/gstpipeline.h:
20050         * gst/gstpluginfeature.h:
20051         * gst/gstquery.h:
20052         * gst/gstqueue.h:
20053         * gst/gsttaglist.c:
20054         * gst/gsttaglist.h:
20055         * gst/gsttagsetter.c:
20056         * gst/gsttagsetter.h:
20057         * gst/gsttrace.c:
20058         * gst/gsttrace.h:
20059         * gst/gsttypefind.h:
20060         * gst/gsturi.h:
20061         * gst/gstvalue.c:
20062         * gst/net/gstnetclientclock.c:
20063         * gst/net/gstnetclientclock.h:
20064         * gst/net/gstnettimepacket.c:
20065         * gst/net/gstnettimeprovider.c:
20066         * gst/net/gstnettimeprovider.h:
20067         Doc fixes.
20068
20069 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20070
20071         * configure.ac: back to HEAD
20072
20073 === release 0.9.6 ===
20074
20075 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20076
20077         * configure.ac:
20078           releasing 0.9.6, "Always On Time"
20079
20080 2005-11-23  Wim Taymans  <wim@fluendo.com>
20081
20082         * docs/gst/gstreamer-sections.txt:
20083         * gst/glib-compat.c:
20084         * gst/gsttagsetter.c:
20085         * gst/gstvalue.c:
20086         * gst/net/gstnetclientclock.c:
20087         * gst/net/gstnettimepacket.h:
20088         Doc updates.
20089
20090 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20091
20092         * docs/faq/using.xml:
20093         * docs/libs/tmpl/gstcontrol.sgml:
20094         * docs/manual/advanced-dparams.xml:
20095         * docs/manual/appendix-checklist.xml:
20096         * docs/manual/basics-elements.xml:
20097         * docs/pwg/other-source.xml:
20098         * docs/random/moving-plugins:
20099         * gst/gstpad.c:
20100         * tools/gst-launch.1.in:
20101           remove mentions of sinesrc
20102
20103 2005-11-23  Michael Smith <msmith@fluendo.com>
20104
20105         * docs/gst/gstreamer-sections.txt:
20106           Update for new API and API changes.
20107         * gst/gstobject.h:
20108           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20109         * gst/gstvalue.c:
20110           Documentation typo fix.
20111         * gst/net/gstnettimepacket.c:
20112           Documentation fixes for arguments.
20113
20114 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20115
20116         * gst/gststructure.c: (gst_structure_get_fraction),
20117         (gst_structure_parse_value),
20118         (gst_structure_fixate_field_nearest_fraction):
20119         * gst/gststructure.h:
20120         * gst/gstutils.c: (gst_util_uint64_scale_int):
20121         * gst/gstutils.h:
20122         * scripts/update-funcnames:
20123         API Changes. 
20124         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20125         Make gst_structure_fixate_field_nearest_fraction take a numerator
20126         and denominator argument instead of a GValue
20127         add gst_structure_get_fraction helper function.
20128
20129 2005-11-23  Wim Taymans  <wim@fluendo.com>
20130
20131         * docs/design/part-TODO.txt:
20132         Update TODO.
20133
20134         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20135         * gst/net/gstnetclientclock.h:
20136         Use parent fields for timeout and window_size.
20137
20138 2005-11-23  Andy Wingo  <wingo@pobox.com>
20139
20140         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20141         rate_num/rate_denom change.
20142
20143         * gst/net/gstnetclientclock.c
20144         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20145         OBJECT_LOCK. Don't call add_observation with the lock.
20146
20147         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20148         fraction.
20149         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20150         rate fraction.
20151         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20152         deal with rate as a fraction whose numerator and denominator are
20153         GstClockTime values.
20154         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20155         master; the other fields are protected by the SLAVE_LOCK.
20156         (do_linear_regression): Note that this must be called with the
20157         SLAVE_LOCK.
20158         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20159         OBJECT_LOCK. Call set_calibration instead of touching the
20160         variables directly.
20161         (gst_clock_set_property, gst_clock_get_property): Protect
20162         master/slave parameters with the SLAVE_LOCK.
20163
20164         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20165         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20166         note that all of the instance variables that add_observation and
20167         the set_master functions use are protected by that lock and not
20168         the OBJECT_LOCK.
20169         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20170
20171         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20172         the caller to take the object lock.
20173
20174 2005-11-23  Wim Taymans  <wim@fluendo.com>
20175
20176         * gst/gsterror.c: (_gst_core_errors_init):
20177         * gst/gsterror.h:
20178         Add error for clock stuff.
20179
20180         * gst/gstpipeline.c: (gst_pipeline_change_state),
20181         (gst_pipeline_set_clock):
20182         Post clock error when clock cannot be used in a pipeline.
20183
20184 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20185
20186         * docs/gst/gstreamer-sections.txt:
20187           make two symbols from gstinfo private for the docs
20188         * gst/base/gstcollectpads.h:
20189         * gst/gstutils.c:
20190           fix doc typos, update docs
20191
20192 2005-11-22  Wim Taymans  <wim@fluendo.com>
20193
20194         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20195         (gst_base_sink_wait), (gst_base_sink_do_sync),
20196         (gst_base_sink_handle_event):
20197         * gst/base/gstbasesink.h:
20198         No need to store the clock, the parent element class already
20199         has it.
20200
20201         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20202         Updates for clock_set returning a gboolean
20203
20204         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20205         (gst_clock_id_wait_async), (gst_clock_class_init),
20206         (gst_clock_init), (gst_clock_finalize),
20207         (gst_clock_get_internal_time), (gst_clock_get_time),
20208         (gst_clock_slave_callback), (gst_clock_set_master),
20209         (gst_clock_get_master), (do_linear_regression),
20210         (gst_clock_add_observation), (gst_clock_set_property),
20211         (gst_clock_get_property):
20212         * gst/gstclock.h:
20213         Implement master/slave. When setting a clock as a slave, a
20214         periodic timeout is scheduled to sample master and slave times.
20215         Then the slave clock is recalibrated to match offset and rate
20216         of the master clock.
20217         Update logging a bit.
20218         Add flag so that a clock can state that is cannot be slaved to
20219         another clock.
20220
20221         * gst/gstelement.c: (gst_element_set_clock):
20222         * gst/gstelement.h:
20223         The set clock returns a gboolean for when an element cannot
20224         deal with the selected clock in the pipeline. 
20225
20226         * gst/gstpipeline.c: (gst_pipeline_change_state),
20227         (gst_pipeline_set_clock):
20228         * gst/gstpipeline.h:
20229         Handle the case where the selected clock cannot be set on
20230         the pipeline.
20231
20232         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20233         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20234         (gst_net_client_clock_set_property),
20235         (gst_net_client_clock_get_property),
20236         (gst_net_client_clock_observe_times):
20237         * gst/net/gstnetclientclock.h:
20238         Use regression code in GstClock parent, remove duplicated
20239         functionality.
20240
20241 2005-11-22  Michael Smith <msmith@fluendo.com>
20242
20243         * gst/gstutils.c: (gst_util_clock_time_scale):
20244         * gst/gstutils.h:
20245         * docs/gst/gstreamer-sections.txt:
20246           Rename method to have extra underscore.
20247
20248 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20249
20250         * gst/elements/Makefile.am:
20251         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20252         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20253         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20254         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20255         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20256         * gst/elements/gstfakesrc.h:
20257         * gst/gstqueue.c: (queue_leaky_get_type):
20258           correctly fix GEnumValues so that nick is the short lowercase
20259           dashed tag
20260         * tools/gst-inspect.c: (print_element_properties_info):
20261           also show the nick, since it's useful to use from parse_launch
20262           syntax
20263           Fixes #322139
20264
20265 2005-11-22  Michael Smith <msmith@fluendo.com>
20266
20267         * gst/gstutils.c: (gst_util_clocktime_scale):
20268         * gst/gstutils.h:
20269         * docs/gst/gstreamer-sections.txt:
20270           Add util method for scaling a clocktime by a fraction. Useful 
20271           implementation is left as an exercise for the reader.
20272
20273 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20274
20275         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20276         If needed, allocate storage in the destination value during
20277         collection.
20278
20279 2005-11-22  Edward Hervey  <edward@fluendo.com>
20280
20281         * docs/gst/gstreamer-sections.txt:
20282         * gst/Makefile.am:
20283         * gst/gst.h:
20284         * gst/gsturitype.c:
20285         * gst/gsturitype.h:
20286         * gst/gstutils.c: (gst_util_set_object_arg):
20287         * tools/gst-compprep.c: (main):
20288         * tools/gst-inspect.c: (print_element_properties_info):
20289         Removed GstURI, closes bug #321061
20290
20291 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20292
20293         * check/gst/gststructure.c: (GST_START_TEST):
20294         * gst/gststructure.c: (gst_structure_parse_value):
20295           Oops, broke automatic string type parsing.
20296           Add a test to catch it in future.
20297
20298 2005-11-22  Andy Wingo  <wingo@pobox.com>
20299
20300         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20301         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20302         Actually rename the function implementations. Grr.
20303
20304 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20305
20306         * check/gst/capslist.h:
20307           Comment test cases
20308         * check/gst/gststructure.c: (GST_START_TEST),
20309         (gst_structure_suite):
20310           Test automatic value type detection in gst_structure_from_string.
20311         * gst/gststructure.c: (gst_structure_parse_value):
20312           Add fraction as a type we try and guess automatically in
20313           caps/structure strings.
20314
20315 2005-11-22  Andy Wingo  <wingo@pobox.com>
20316
20317         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20318
20319         * gst/gsttagsetter.h:
20320         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20321         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20322         (gst_tag_setter_add_tag_valist)
20323         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20324         _add_values, _add_valist, and _add_valist_values. Since this is an
20325         interface the function suffixes should be more explicit so
20326         language binding don't end up with element.add_valist ->
20327         gst_tag_setter_add_valist, for example. Fixes #322069.
20328
20329 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20330
20331         * check/gst/gstcaps.c: (GST_START_TEST):
20332           Extend caps string tests to check that a caps to string
20333           conversion is reversible and produces the same caps.
20334
20335         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20336           Output "fraction" as the generic type fraction range, so caps
20337           serialisation and deserialisation works.
20338         * check/gst/capslist.h:
20339         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20340           Support 'MIN' and 'MAX' for deserialising fractions.
20341
20342 2005-11-22  Andy Wingo  <wingo@pobox.com>
20343
20344         * gst/gstevent.h (gst_event_new_new_segment)
20345         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20346         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20347         Renamed from *_newsegment, *_buffersize, *_notarget.
20348
20349         * scripts/update-funcnames: New script, performs the changes
20350         listed above.
20351
20352 2005-11-22  Wim Taymans  <wim@fluendo.com>
20353
20354         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20355         Make sure the GstFlowReturn is returned.
20356
20357         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20358         (gst_bus_add_signal_watch):
20359         * gst/gstbus.h:
20360         add gst_bus_add_signal_watch_full.
20361
20362         * gst/gstplugin.c: (gst_plugin_load_file):
20363         Small style cleanup.
20364
20365 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20366
20367         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20368           Block the fakesrc srcpad when we send an event, to avoid
20369           contention on the stream_lock causing random test failures.
20370
20371 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20372
20373         * check/gst/gstvalue.c: (GST_START_TEST):
20374         * gst/gstvalue.c: (gst_value_fraction_subtract):
20375           Fix subtraction.
20376
20377 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20378
20379         * gst/gst.h:
20380           include "gstchildproxy.h"
20381         * gst/gstchildproxy.h:
20382         * libs/gst/controller/gstcontroller.h:
20383           use G_GNUC_NULL_TERMINATED
20384
20385 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20386
20387         * check/gst/capslist.h:
20388         * check/gst/gstcaps.c: (GST_START_TEST):
20389         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20390         * gst/gststructure.c: (gst_structure_parse_range),
20391         (gst_structure_fixate_field_nearest_fraction):
20392         * gst/gststructure.h:
20393         * gst/gstvalue.c: (gst_value_init_fraction_range),
20394         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20395         (gst_value_collect_fraction_range),
20396         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20397         (gst_value_set_fraction_range_full),
20398         (gst_value_get_fraction_range_min),
20399         (gst_value_get_fraction_range_max),
20400         (gst_value_serialize_fraction_range),
20401         (gst_value_transform_fraction_range_string),
20402         (gst_value_compare_fraction_range),
20403         (gst_value_deserialize_fraction_range),
20404         (gst_value_intersect_fraction_fraction_range),
20405         (gst_value_intersect_fraction_range_fraction_range),
20406         (gst_value_subtract_fraction_fraction_range),
20407         (gst_value_subtract_fraction_range_fraction),
20408         (gst_value_subtract_fraction_range_fraction_range),
20409         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20410         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20411         (gst_value_transform_string_fraction), (_gst_value_initialize):
20412         * gst/gstvalue.h:
20413           Implement fraction ranges and extend GstFraction to support
20414           arithmetic subtraction, as well as deserialization from integer
20415           strings such as "100"
20416           Add a testsuite as for int and double range set operations
20417
20418 2005-11-21  Andy Wingo  <wingo@pobox.com>
20419
20420         * gst/gsttaglist.h: 
20421         * gst/gstcaps.h: 
20422         * gst/gststructure.h: Add glib-compat.h.
20423
20424 2005-11-21  Wim Taymans  <wim@fluendo.com>
20425
20426         * gst/gstbin.c: (gst_bin_change_state_func):
20427         Fix for #321595
20428
20429 2005-11-21  Wim Taymans  <wim@fluendo.com>
20430
20431         * gst/gstsegment.h:
20432         And add a nice define too.
20433
20434 2005-11-21  Wim Taymans  <wim@fluendo.com>
20435
20436         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20437         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20438         (gst_segment_set_duration), (gst_segment_set_last_stop),
20439         (gst_segment_set_seek), (gst_segment_set_newsegment),
20440         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20441         (gst_segment_clip):
20442         * gst/gstsegment.h:
20443         Make binding friendly.
20444
20445 2005-11-21  Andy Wingo  <wingo@pobox.com>
20446
20447         * gst/gsttagsetter.h: 
20448         * gst/gsttaglist.h: 
20449         * gst/gststructure.h: 
20450         * gst/gstcaps.h: 
20451         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20452         #319940.
20453
20454         * gst/gsterror.c (_gst_core_errors_init):
20455         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20456         category.
20457
20458         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20459         (noinst_HEADERS): noinst the -private.
20460
20461 2005-11-21  Michael Smith <msmith@fluendo.com>
20462
20463         * gst/gstplugin.h:
20464         * gst/gstregistry.h:
20465           Remove unimplemented declarations for which we can see no sensible
20466           use.
20467
20468 2005-11-21  Andy Wingo  <wingo@pobox.com>
20469
20470         * gst/gst.h: Include glib-compat.h.
20471
20472         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20473
20474         * gst/glib-compat.c: Include the public and the private header.
20475
20476         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20477
20478         * gst/gstvalue.c: 
20479         * gst/gstpad.c: 
20480         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20481
20482         * check/gst/gstevent.c (create_custom_events): Check that
20483         FLUSH_STOP is serialized.
20484
20485         * check/elements/identity.c (event_func): 
20486         * check/elements/fakesrc.c (event_func): No stream lock, the core
20487         takes it.
20488
20489         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20490         stream lock taking, yay.
20491
20492         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20493         ensure that core takes the stream lock.
20494
20495         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20496         lock name change.
20497
20498         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20499         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20500         it already. For the flush start we do take it though so we get the
20501         right preroll state change messages.
20502
20503         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20504         the stream lock here, the core does it for us.
20505
20506         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20507         GST_STREAM_GET_LOCK.
20508         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20509         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20510         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20511         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20512         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20513         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20514
20515         * gst/gstpad.c: Update for stream lock name change.
20516
20517         * gst/base/gstbasesink.c: Update for preroll lock name change.
20518
20519 2005-11-21  Wim Taymans  <wim@fluendo.com>
20520
20521         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20522         (gst_clock_get_master):
20523         * gst/gstclock.h:
20524         * gst/gstsystemclock.c: (gst_system_clock_init):
20525         Convert Clock flags to object flags.
20526         Added methods to manage master/slave clocks.
20527
20528 2005-11-21  Wim Taymans  <wim@fluendo.com>
20529
20530         * check/gst/gstsegment.c: (GST_START_TEST):
20531         * docs/design/part-TODO.txt:
20532         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20533         (gst_base_sink_event), (gst_base_sink_do_sync),
20534         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20535         (gst_base_sink_query), (gst_base_sink_change_state):
20536         * gst/base/gstbasesink.h:
20537         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20538         (gst_base_src_default_newsegment),
20539         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20540         (gst_base_src_get_range), (gst_base_src_loop),
20541         (gst_base_src_change_state):
20542         * gst/base/gstbasesrc.h:
20543         * gst/base/gstbasetransform.c:
20544         (gst_base_transform_prepare_output_buf),
20545         (gst_base_transform_event), (gst_base_transform_change_state):
20546         * gst/base/gstbasetransform.h:
20547         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20548         (gst_collect_pads_event):
20549         * gst/base/gstcollectpads.h:
20550         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20551         (gst_fake_src_create):
20552         * gst/elements/gstfakesrc.h:
20553         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20554         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20555         (gst_segment_set_last_stop), (gst_segment_set_seek),
20556         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20557         (gst_segment_to_running_time), (gst_segment_clip):
20558         * gst/gstsegment.h:
20559         More segment updates, replace code in plugins with segment
20560         helper functions.
20561
20562 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20563
20564         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20565         Don't ignore sscanf results
20566
20567 2005-11-21  Andy Wingo  <wingo@pobox.com>
20568
20569         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20570
20571         * *.h:
20572         * *.c: Ran scripts/update-macros. Oh yes.
20573
20574         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20575         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20576         GST_GET_LOCK, etc.
20577
20578         * scripts/update-macros: New script. Run it on your files to
20579         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20580         well.
20581
20582 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20583
20584         * docs/gst/Makefile.am:
20585         * docs/gst/gstreamer-docs.sgml:
20586         * docs/gst/gstreamer-sections.txt:
20587         * docs/gst/gstreamer.types:
20588         * gst/gstinfo.h:
20589           more docs fixes, add new api to the docs
20590
20591 2005-11-21  Andy Wingo  <wingo@pobox.com>
20592
20593         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20594         state_broadcast call.
20595
20596         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20597
20598 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20599
20600         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20601         function calls for arrays.
20602
20603 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20604
20605         * docs/random/ensonic/media-device-daemon.txt:
20606           wild idea, can this be done?
20607         * docs/gst/gstreamer-sections.txt:
20608         * gst/gsterror.h:
20609         * gst/gstfilter.c:
20610         * gst/gstfilter.h:
20611         * gst/gstplugin.h:
20612         * gst/gstpluginfeature.c:
20613         * gst/gsttrace.c:
20614         * gst/gstvalue.c:
20615         * gst/gstvalue.h:
20616           doc fixes and additions
20617
20618 2005-11-21  Andy Wingo  <wingo@pobox.com>
20619
20620         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20621         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20622         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20623         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20624         private to the basesrc implementation.
20625
20626         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20627         behalf of event function if necessary. It should no longer be
20628         necessary to take the stream lock in pad's event functions. Fixes
20629         #320299.
20630
20631 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20632         * docs/gst/gstreamer-sections.txt:
20633         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20634         (gst_structure_fixate_field_nearest_double),
20635         (gst_structure_fixate_field_boolean):
20636         * gst/gststructure.h:
20637         * win32/common/libgstreamer.def:
20638         * win32/gstreamer.def:
20639
20640         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20641         (#322027)
20642
20643 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20644
20645         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20646         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20647         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20648         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20649         (gst_fdsrc_uri_handler_init):
20650         * gst/elements/gstfdsrc.h:
20651           Port fd:// URI handler from 0.8 to fdsrc
20652
20653 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20654
20655         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20656         (gst_value_serialize_fourcc):
20657         * gst/gstvalue.h:
20658           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20659           consistent with our other format defines (#320324).
20660
20661 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20662
20663         * gst/gstvalue.c: (gst_value_is_fixed):
20664           Revert previous commit. Value lists are by definition
20665           not fixed, as they are a list of possible values.
20666
20667 2005-11-21  Andy Wingo  <wingo@pobox.com>
20668
20669         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20670         during the stable series if we need it. Fixes #319178.
20671
20672         * gst/gstevent.c (gst_event_new_filler): Removed.
20673
20674         * check/gst/gstevent.c: Update comment about filler events.
20675
20676 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20677
20678         * gst/gstvalue.c: (gst_value_is_fixed):
20679           Should handle both value arrays and value lists.
20680
20681 2005-11-21  Andy Wingo  <wingo@pobox.com>
20682
20683         patch by: Alessandro Dessina <alessandro nnva org>
20684
20685         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20686         functions to access arrays. Fixes #321962.
20687
20688 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20689
20690         * docs/gst/gstreamer.types:
20691           gst_collectpads_get_type => gst_collect_pads_get_type.
20692           
20693         * gst/base/gstbasetransform.c:
20694           Remove unused SIGNAL_HANDOFF enum.
20695
20696 2005-11-21  Andy Wingo  <wingo@pobox.com>
20697
20698         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20699         the event type (upstream, downstream, serialized). Renamed
20700         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20701         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20702         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20703
20704         * gst/gstevent.c: Update for new CUSTOM event names.
20705
20706         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20707
20708         * gst/gstevent.h:
20709         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20710         bug #319392.
20711
20712 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20713
20714         * docs/gst/gstreamer-sections.txt:
20715         * win32/common/libgstbase.def:
20716         * win32/libgstbase.def:
20717         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20718         (gst_collect_pads_class_init), (gst_collect_pads_init),
20719         (gst_collect_pads_finalize), (gst_collect_pads_new),
20720         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20721         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20722         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20723         (gst_collect_pads_start), (gst_collect_pads_stop),
20724         (gst_collect_pads_peek), (gst_collect_pads_pop),
20725         (gst_collect_pads_available), (gst_collect_pads_read),
20726         (gst_collect_pads_flush), (gst_collect_pads_event),
20727         (gst_collect_pads_chain):
20728         * gst/base/gstcollectpads.h:
20729           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20730           unimplemented functions as unimplemented. Add padding to
20731           GstCollectData. (#320766, #320423)
20732
20733 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20734
20735         * gst/gstmessage.c:
20736           Improve docs for DURATION message (usage of duration parameter)
20737           (#320113)
20738
20739 2005-11-20  Wim Taymans  <wim@fluendo.com>
20740
20741         * check/Makefile.am:
20742         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20743         (main):
20744         * gst/Makefile.am:
20745         * gst/gst.h:
20746         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20747         (gst_segment_set_seek), (gst_segment_set_newsegment),
20748         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20749         (gst_segment_clip):
20750         * gst/gstsegment.h:
20751         Added segment helper structure and methods. Not fully implemented
20752         yet.
20753         Added segment check.
20754
20755 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20756
20757         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20758           Add a deserialisation test for fractions
20759         * examples/metadata/read-metadata.c: (message_loop),
20760         (make_pipeline), (main):
20761           Fix up metadata reading sample.
20762         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20763           Debug format fix
20764         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20765           Don't try and fixate empty caps
20766         * gst/gst_private.h:
20767           Wrap in G_BEGIN_DECLS/G_END_DECLS
20768         * gst/gstvalue.c: (gst_value_collect_fraction),
20769         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20770         (gst_value_transform_string_fraction),
20771         (gst_value_compare_fraction):
20772           Add some extra guards to ensure that we don't end up 
20773           with an invalid denominator of 0 in a gstfraction and
20774           that fractions always get reduced.
20775
20776 2005-11-20  Wim Taymans  <wim@fluendo.com>
20777
20778         * docs/gst/gstreamer-sections.txt:
20779         * gst/gstbuffer.h:
20780         * gst/gstelement.c:
20781         * gst/gstformat.c:
20782         * gst/gstformat.h:
20783         * gst/gstindex.h:
20784         * gst/gstquery.c:
20785         * gst/gstquery.h:
20786         * gst/gstvalue.c:
20787         Doc fixes.
20788
20789 2005-11-20  Wim Taymans  <wim@fluendo.com>
20790
20791         * docs/design/part-TODO.txt:
20792         * gst/gstcaps.h:
20793         Make a proper enum of the flag.
20794
20795 2005-11-19  Wim Taymans  <wim@fluendo.com>
20796
20797         * docs/design/part-TODO.txt:
20798         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20799         (gst_format_to_quark), (gst_format_register):
20800         * gst/gstformat.h:
20801         * gst/gstquery.c: (_gst_query_initialize),
20802         (gst_query_type_get_name), (gst_query_type_to_quark),
20803         (gst_query_type_register):
20804         * gst/gstquery.h:
20805         Add type to quark and type to string conversions.
20806
20807 2005-11-19  Andy Wingo  <wingo@pobox.com>
20808
20809         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20810         #320097.
20811
20812 2005-11-19  Wim Taymans  <wim@fluendo.com>
20813
20814         * docs/design/part-TODO.txt:
20815         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20816         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20817         (gst_bin_handle_message_func):
20818         * gst/gstbin.h:
20819         Make message handling overridable.
20820
20821 2005-11-19  Andy Wingo  <wingo@pobox.com>
20822
20823         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20824
20825         * gst/gstclock.h:
20826         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20827         be a GstClockTime.
20828         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20829         is a GstClockTime. Fixes #321710.
20830
20831         * gst/gstclock.h (GstClock): Remove offset property. Add
20832         internal_calibration and external_calibration. Fix padding. Pad
20833         also by GstClockTime so we don't run into problems.
20834
20835         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20836         (gst_clock_get_rate_offset): Remove.
20837         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20838
20839         * gst/gstutils.h:
20840         * gst/gstutils.c (g_static_rec_cond_wait)
20841         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20842
20843         * gst/gstbin.c: Remove terrible continue_state prototype.
20844
20845         * gst/gstelement.h (gst_element_continue_state): Make public.
20846
20847         * gst/gstelement.h:
20848         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20849         by continue_state. Fixes #319389.
20850
20851         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20852         Really fixes #168438. However I don't see anywhere where the
20853         filter function is called... stupid GStreamer...
20854         
20855         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20856         don't have a dispose function, so it won't get called when the
20857         object is unreffed, but oh well!
20858
20859         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20860         allows a destroy function to be set so user_data can be freed.
20861         Fixes #168438.
20862         (gst_index_set_filter): Call gst_index_set_filter_full.
20863
20864         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20865
20866         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20867         string should produce an error, given the lack of a way to
20868         represent NULL strings. Fixes #165650.
20869         
20870         * gst/gstvalue.h: 
20871         * gst/gstvalue.c (gst_value_array_append_value) 
20872         (gst_value_array_prepend_value, gst_value_array_get_size) 
20873         (gst_value_array_get_value): New API, copied from
20874         gst_value_list_*, only operates on arrays.
20875         (gst_value_list_append_value, gst_value_list_prepend_value) 
20876         (gst_value_list_concat, gst_value_list_get_size) 
20877         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20878
20879         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20880         init_list, because it works on both.
20881         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20882         (gst_value_copy_list_or_array): Renamed from copy_list.
20883         (gst_value_free_list_or_array): Renamed from free_list.
20884         (gst_value_collect_list_or_array): Renamed from collect_list.
20885         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20886         (gst_value_list_or_array_peek_pointer): Renamed from
20887         list_peek_pointer.
20888         (_gst_value_array_value_table, _gst_value_list_value_table):
20889         Update value table functions.
20890         (gst_value_compare_list_or_array): Renamed from compare_list.
20891
20892         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20893         some constness.
20894
20895         * gst/gsttaglist.c:
20896         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20897         GstTagList*. Fixes #143472.
20898
20899         * gst/gststructure.h: Clarify what the foreach/map functions can
20900         or can't do to their arguments.
20901
20902 2005-11-18  Wim Taymans  <wim@fluendo.com>
20903
20904         * gst/gstclock.c: (gst_clock_set_calibration),
20905         (gst_clock_get_calibration):
20906         Doc and API fixes.
20907         Calibration can be set with internal time equal to current
20908         internal time too.
20909
20910 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20911
20912         * gst/gsterror.c:
20913         * gst/gsterror.h:
20914           document
20915
20916 2005-11-18  Andy Wingo  <wingo@pobox.com>
20917
20918         * configure.ac: 
20919         * pkgconfig/gstreamer-net.pc.in:
20920         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20921         * pkgconfig/Makefile.am: Add net pkgconfig files.
20922
20923 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20924
20925         * gst/gstcaps.c:
20926         * gst/gstghostpad.c:
20927         * gst/gsttrace.c:
20928         * gst/gstvalue.c:
20929         * gst/gstvalue.h:
20930           docs fixes
20931
20932 2005-11-18  Andy Wingo  <wingo@pobox.com>
20933
20934         * gst/net/gstnetclientclock.c: Turn off debugging.
20935
20936         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20937         times connverge somewhat. Can't make a real test.
20938
20939         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20940         integer arithmetic. Return the minimum of the domain, which can be
20941         set as "internal" for gst_clock_set_calibration.
20942         (gst_net_client_clock_observe_times): Call _set_calibration.
20943         (gst_net_client_clock_new): Call _set_calibration instead of
20944         rate_offset.
20945
20946         * check/net/gstnetclientclock.c (test_functioning): Use the right
20947         adjustment api.
20948
20949         * gst/gstclock.h:
20950         * gst/gstclock.c (gst_clock_get_calibration) 
20951         (gst_clock_set_calibration): New functions, obsolete the ones I
20952         added yesterday. Doh. Precision issues mean we have to extrapolate
20953         from a point in the more recent past than 1970.
20954         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20955         obsolete.
20956         (gst_clock_adjust_unlocked): Use the right calibration data.
20957
20958 2005-11-18  Edward Hervey  <edward@fluendo.com>
20959
20960         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20961         Also reset the ->current_* values in READY->PAUSED
20962
20963 2005-11-18  Andy Wingo  <wingo@pobox.com>
20964
20965         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20966         Whoops, check the right fd. Also add some debugging.
20967         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20968         (do_linear_regression): Add a crapload of debugging. Subtract off
20969         the minimum values from the input series to discard unneeded bits.
20970         Use only int arithmetic. There is still double arithmetic when
20971         calculating the intercept that needs fixing. Return boolean to
20972         indicate success; FALSE would mean the domain or range is too
20973         great. Still needs fixes.
20974
20975 2005-11-18  Wim Taymans  <wim@fluendo.com>
20976
20977         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20978         For the current position in stream time, we need to subtract
20979         accumulated time.
20980         
20981         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20982         Release lock before calling the callback function of async
20983         entries.
20984
20985 2005-11-18  Andy Wingo  <wingo@pobox.com>
20986
20987         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20988         Port goes all the way to MAXUINT16.
20989
20990         * gst/net/gstnettimeprovider.c: Make the port range the same as
20991         for the kernel: 0 assigns, otherwise ports are less than
20992         MAXUINT16.
20993
20994         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20995         port change.
20996
20997         * check/net/gstnetclientclock.c (test_functioning): Add the start
20998         of another test. 
20999
21000 2005-11-18  Wim Taymans  <wim@fluendo.com>
21001
21002         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21003         (gst_bin_remove_func), (bin_bus_handler):
21004         * gst/gstbin.h:
21005         Removing a clock provider from a bin, triggers a clock lost message
21006         so that a new clock will be selected.
21007         Adding a clock to a bin triggers a clock provider message.
21008         Make sure we reselect a clock when we received a clock lost message.
21009         Keep a reference to the element that provided the clock.
21010
21011 2005-11-18  Andy Wingo  <wingo@pobox.com>
21012
21013         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21014         the clock initially so it produces values around the base time.
21015         (gst_net_client_clock_class_init): Typo fix.
21016         (gst_net_client_clock_thread): Add note on when the socket gets
21017         closed.
21018
21019 2005-11-17  Wim Taymans  <wim@fluendo.com>
21020
21021         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21022         Free remote and local time arrays.
21023
21024 2005-11-17  Wim Taymans  <wim@fluendo.com>
21025
21026         * gst/net/gstnetclientclock.c: (do_linear_regression),
21027         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21028         Fix compilation, uninitialized vars and a forgotten continue.
21029
21030 2005-11-17  Andy Wingo  <wingo@pobox.com>
21031
21032         * check/Makefile.am (check_PROGRAMS): 
21033         * check/net/gstnetclientclock.c: Add a most minimal test for the
21034         net client clock. More to come later.
21035
21036         * gst/net/gstnet.h: 
21037         * gst/net/Makefile.am: Add netclientclock.
21038
21039         * gst/net/gstnetclientclock.h:
21040         * gst/net/gstnetclientclock.c: New files, implement an untested
21041         GstClock that takes its time from a network time provider.
21042         Implements the algorithm in network-clock.scm.
21043
21044         * tests/network-clock.scm (*window-size*): Rename from
21045         *queue-length*.
21046         * tests/network-clock.scm (network-time): 
21047         * tests/network-clock-utils.scm (q-push): Update callers.
21048
21049 2005-11-17  Wim Taymans  <wim@fluendo.com>
21050
21051         * gst/gstbin.c: (gst_bin_provide_clock_func),
21052         (gst_bin_sort_iterator_new):
21053         And unref the child too..
21054
21055 2005-11-17  Wim Taymans  <wim@fluendo.com>
21056
21057         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21058         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21059         Refactor the sort iterator so it can be used while holding the
21060         LOCK too.
21061         Make clock selection select a clock closest to the source.
21062
21063 2005-11-17  Michael Smith <msmith@fluendo.com>
21064
21065         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21066         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21067         * gst/gstclock.h:
21068           Anonymous structs are a gcc (and some other compilers) extension, so
21069           don't use them. Since this is only for ABI-compatibility, and our
21070           API/ABI freeze is over in a few days, this whole thing will only
21071           last a few days, so don't bother trying to think up a meaningful
21072           name for the struct.
21073
21074 2005-11-17  Andy Wingo  <wingo@pobox.com>
21075
21076         * gst/gstclock.h (GstClock): Add rate and offset properties,
21077         preserving ABI stability. Add rate/offset accessors. Will file bug
21078         for the freeze break.
21079
21080         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21081         and offset, trying to keep precision and avoiding
21082         underflow/overflow.
21083         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21084         functions. Make gst_clock_set_time_adjust obsolete.
21085         (gst_clock_set_time_adjust): Note that this function is obsolete.
21086         Will file bug soon.
21087
21088         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21089         greppable by using GST_PADDING-1+1.
21090
21091 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21092
21093         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21094
21095         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21096           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21097
21098         * gst/gstpadtemplate.h:
21099         * gst/gstpluginfeature.h:
21100           Don't use c++ style comments in headers (#321638).
21101
21102 2005-11-16  Andy Wingo  <wingo@pobox.com>
21103
21104         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21105         buffer.
21106
21107         * check/net/gstnettimeprovider.c: Check to see that the time
21108         provider actually provides times. Works, yo!
21109
21110 2005-11-16  Wim Taymans  <wim@fluendo.com>
21111
21112         * check/Makefile.am:
21113         Enable more tests.
21114
21115         * check/elements/fakesrc.c: (GST_START_TEST):
21116         Set element to NULL before disposing it.
21117
21118 2005-11-16  Andy Wingo  <wingo@pobox.com>
21119
21120         * gst/net/Makefile.am:
21121         * gst/net/gstnet.h:
21122         * gst/net/gstnettimeprovider.c: 
21123         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21124         provider, include it from gstnet.h, and add it to the build.
21125
21126         * gst/net/gstnettimepacket.h: 
21127         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21128         sending and receiving.
21129
21130 2005-11-16  Wim Taymans  <wim@fluendo.com>
21131
21132         * check/Makefile.am:
21133         Enable valgrind check.
21134
21135         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21136         (gst_fake_src_alloc_buffer):
21137         Fix memleak.
21138
21139 2005-11-16  Wim Taymans  <wim@fluendo.com>
21140
21141         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21142         Call parent finalize too.
21143
21144 2005-11-16  Wim Taymans  <wim@fluendo.com>
21145
21146         * check/Makefile.am:
21147         Enable valgrind check that should work fine now.
21148
21149         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21150         * gst/gstqueue.c: (gst_queue_init):
21151         Fix memleaks in pad allocation.
21152
21153 2005-11-16  Andy Wingo  <wingo@pobox.com>
21154
21155         * gst/net/Makefile.am:
21156         * gst/net/gstnet.h: New part of core to hold network elements and
21157         objects. Put in core because it exposes API that applications want
21158         to use. The library is named libgstnet-tempname right now because
21159         of the existing libgstnet in gst-plugins-base. Solution is
21160         probably to rename the one in plugins-base; will file a bug for
21161         the freeze break.
21162
21163         * gst/net/gstnettimeprovider.c: 
21164         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21165         get_time call over the network.
21166
21167         * configure.ac: 
21168         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21169
21170         * check/Makefile.am:
21171         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21172         get additions shortly.
21173
21174 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21175
21176         * gst/gstpad.c: (gst_pad_new_from_static_template):
21177         * gst/gstpad.h:
21178           add gst_pad_new_from_static_template functions
21179         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21180         (gst_check_setup_sink_pad):
21181         * gst/elements/gsttee.c: (gst_tee_init):
21182           and use them
21183
21184 2005-11-16  Wim Taymans  <wim@fluendo.com>
21185
21186         * gst/gstpad.c: (gst_pad_pause_task):
21187         Removed warning, it's not really an error either.
21188
21189 2005-11-16  Wim Taymans  <wim@fluendo.com>
21190
21191         * gst/base/gstbasetransform.c:
21192         (gst_base_transform_prepare_output_buf),
21193         (gst_base_transform_event):
21194         Check if the caps are NULL, this can happen if the element
21195         is shutting down and the pad caps are set to NULL.
21196
21197 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21198
21199         * gst/elements/gsttee.c: (gst_tee_init):
21200           fix pad template leak in tee
21201
21202 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21203
21204         * gst/glib-compat.c: (g_value_dup_gst_object):
21205         * gst/glib-compat.h:
21206         * gst/gstpad.c: (gst_pad_set_property):
21207           use gst_object_ref when setting the pad template; this will
21208           trigger the pad template leaks on GLib 2.6 and the slaves
21209
21210 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21211
21212         * gst/glib-compat.c: (gst_flags_get_first_value):
21213         * gst/glib-compat.h:
21214         * gst/gstregistryxml.c:
21215           remove functions copied from GLib 2.6
21216
21217 2005-11-16  Michael Smith <msmith@fluendo.com>
21218
21219         * gst/Makefile.am:
21220           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21221           do, but only breaks with newer valgrind versions. We're not a
21222           valgrind tool, we have no link-time dependencies on libcoregrind.
21223
21224 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21225
21226         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21227           some debug changes
21228         * gst/gstmessage.h:
21229           typo fixes
21230
21231 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21232
21233         * gst/base/gstbasesrc.c: (gst_base_src_init):
21234         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21235         * gst/gstqueue.c: (gst_queue_init):
21236         * gst/gstregistryxml.c: (load_feature):
21237           Revert all these unrefs, they don't even pass make check !
21238
21239 2005-11-15  Johan Dahlin  <johan@gnome.org>
21240
21241         * gst/base/gstbasesrc.c: (gst_base_src_init):
21242         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21243         * gst/gstqueue.c: (gst_queue_init): 
21244         Free pad templates, fixes a couple of leaks.
21245
21246 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21247
21248         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21249
21250         * gst/gstpad.c: (gst_pad_get_property):
21251           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21252           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21253           (#321452)
21254
21255 2005-11-15  Wim Taymans  <wim@fluendo.com>
21256
21257         * gst/gstevent.c:
21258         Small doc update.
21259
21260 2005-11-15  Andy Wingo  <wingo@pobox.com>
21261
21262         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21263
21264         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21265         using GST_CLOCK_TIME_NONE to disable base time management.
21266         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21267         time if it was NONE before.
21268         (gst_pipeline_change_state): Only munge the base time if
21269         stream_time != GST_CLOCK_TIME_NONE.
21270
21271         * check/gst/gstpipeline.c (test_base_time): Punt around the
21272         problem of the probe not being called, because that's not the
21273         issue I'm looking at. Add a check that setting stream_time to NONE
21274         disables base time management.
21275         
21276 2005-11-15  Wim Taymans  <wim@fluendo.com>
21277
21278         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21279         segment_stop == -1 at startup.
21280
21281         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21282         (gst_base_transform_change_state):
21283         Init segment values at start.
21284
21285 2005-11-15  Wim Taymans  <wim@fluendo.com>
21286
21287         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21288         0 segment values are 0 in any format.
21289
21290         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21291         * gst/base/gstbasetransform.h:
21292         Parse newsegment correctly in basetransform
21293
21294         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21295         Sync to clock using updated segment values.
21296
21297 2005-11-15  Andy Wingo  <wingo@pobox.com>
21298
21299         * check/gst/gstpipeline.c (test_base_time): Add check that the
21300         base time and stream time are reset correctly.
21301
21302 2005-11-15  Wim Taymans  <wim@fluendo.com>
21303
21304         * docs/design/part-TODO.txt:
21305         Some more TODO items.
21306
21307 2005-11-15  Andy Wingo  <wingo@pobox.com>
21308
21309         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21310         error if the user selected "no clock" as the clocking method.
21311
21312         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21313         timestamps with live capture.
21314
21315         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21316         is 0 but we are a live source, timestamp the buffers using the
21317         element's clock.
21318
21319 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21320
21321         * docs/gst/gstreamer-sections.txt:
21322         * gst/gsterror.c:
21323         * gst/gstghostpad.c:
21324         * gst/gstobject.h:
21325         * gst/gstxml.c:
21326           more section docs
21327
21328 2005-11-14  Wim Taymans  <wim@fluendo.com>
21329
21330         * common/gst.supp:
21331           add suppressions from Wim's Debian machine
21332
21333 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21334
21335         * common/gst.supp:
21336           add suppressions from Andy's AMD64 Ubuntu machine
21337
21338 2005-11-14  Andy Wingo  <wingo@pobox.com>
21339
21340         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21341         STATE_LOCK not necessary. Fixes #311489.
21342
21343         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21344         #305291.
21345
21346         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21347         this function is not implemented.
21348
21349 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21350
21351         * gst/base/gstbasetransform.c:
21352         (gst_base_transform_prepare_output_buf):
21353         Ref the source pad caps while we need them.
21354         Fixes (#321386)
21355
21356 2005-11-11  Wim Taymans  <wim@fluendo.com>
21357
21358         * docs/gst/gstreamer-sections.txt:
21359         Added some docs for GstCollectData.
21360
21361         * gst/base/gstadapter.c:
21362         Some small code example fix.
21363
21364         * gst/base/gstcollectpads.c:
21365         * gst/base/gstcollectpads.h:
21366         Document some more.
21367
21368 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21369
21370         * configure.ac: back to HEAD
21371
21372 === release 0.9.5 ===
21373
21374 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21375
21376         * configure.ac:
21377           releasing 0.9.5, "Bike Lunch Day"
21378
21379 2005-11-11  Wim Taymans  <wim@fluendo.com>
21380
21381         * gst/gstbuffer.c: (_gst_buffer_copy):
21382         Copy more flags.
21383
21384         * gst/gstcaps.c: (gst_caps_is_equal):
21385         Fix some docs.
21386         Make _is_equal fast in the trivial cases.
21387
21388         * gst/gstminiobject.c:
21389         * gst/gstminiobject.h:
21390         More docs. Spifify .h file.
21391
21392         * gst/gstutils.c:
21393         Small doc update.
21394
21395 2005-11-11  Wim Taymans  <wim@fluendo.com>
21396
21397         * gst/base/gstbasetransform.c:
21398         (gst_base_transform_prepare_output_buf),
21399         (gst_base_transform_handle_buffer):
21400         Small cleanups.
21401         If we're processing a buffer and need to allocate an output
21402         buffer, we cannot accept a format change. If we did get a 
21403         format change, we have to alloc a buffer ourselves of the 
21404         right size.
21405
21406 2005-11-11  Wim Taymans  <wim@fluendo.com>
21407
21408         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21409         While checking the flag for reentrancy in the gstcaps function
21410         is nice to detect recursive invocations, it also makes it 
21411         impossible to call getcaps from multiple threads, which must be
21412         possible. So, checking for recursive calls has to go.
21413
21414 2005-11-11  Michael Smith <msmith@fluendo.com>
21415
21416         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21417           Don't sync on buffers that fall partially outside our current
21418           segment. Prevents an assertion failure/abort playing some files.
21419
21420 2005-11-10  Andy Wingo  <wingo@pobox.com>
21421
21422         * check/gst/gstbin.c (test_message_state_changed_children): Style
21423         fix..
21424
21425         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21426         gst_bus_poll with the signal watch. Ensures that poll and a signal
21427         watch see the same messages.
21428
21429         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21430         a poll and a watch at the same time get the same messages.
21431
21432 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21433
21434         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21435         * gst/gstcaps.c: (gst_caps_intersect):
21436           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21437           and it's not needed.
21438
21439 2005-11-10  Wim Taymans  <wim@fluendo.com>
21440
21441         * docs/design/part-TODO.txt:
21442         Updated todo.
21443
21444 2005-11-10  Wim Taymans  <wim@fluendo.com>
21445
21446         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21447         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21448         (gst_base_src_do_sync), (gst_base_src_get_range):
21449         Implement clock sync in base class.
21450
21451 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21452
21453         patch by: Tim-Philipp Müller <tim at centricular dot net>
21454
21455         * gst/gststructure.c: (gst_structure_parse_field),
21456         (gst_structure_from_string):
21457           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21458           so that gst_parse_launch() can deal with spaces in filtered link
21459           caps (fixes #164479)
21460         * check/gst/capslist.h:
21461         * check/gst/gststructure.c: (GST_START_TEST):
21462           add unit tests for this change
21463
21464 2005-11-10  Wim Taymans  <wim@fluendo.com>
21465
21466         * docs/gst/gstreamer-sections.txt:
21467         * gst/gstelement.c:
21468         * gst/gstelement.h:
21469         Fix docs, move some STATE macros to private.
21470
21471 2005-11-10  Wim Taymans  <wim@fluendo.com>
21472
21473         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21474         Added check for bug #317341
21475
21476         * gst/gstbuffer.c:
21477         * gst/gstbuffer.h:
21478         Some more spiffifying.
21479
21480         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21481         Call peer linkfunction if we are a source pad. Totally fixes
21482         #317341
21483
21484         * gst/gstpad.c:
21485         Update docs, source pads should call the peer linkfunction
21486         so they can atomically perform the pad link.
21487
21488 2005-11-09  Wim Taymans  <wim@fluendo.com>
21489
21490         * gst/gstbuffer.c:
21491         * gst/gstbuffer.h:
21492         Uber-spiffy-spiffify some more.
21493
21494 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21495
21496         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21497         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21498         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21499         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21500         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21501         * gst/gstpad.c: (gst_pad_init):
21502           Use GST_DEBUG_FUNCPTR() more extensively.
21503
21504 2005-11-09  Wim Taymans  <wim@fluendo.com>
21505
21506         * gst/gstobject.c: (gst_object_class_init):
21507         * gst/gstobject.h:
21508         Documentation fixes.
21509
21510 2005-11-09  Edward Hervey  <edward@fluendo.com>
21511
21512         * gst/gsttypefindfactory.c:
21513         Fix docs.
21514         
21515 2005-11-09  Edward Hervey  <edward@fluendo.com>
21516
21517         * gst/base/gsttypefindhelper.c:
21518         * gst/gsttypefind.c:
21519         * gst/gsttypefind.h:
21520         Fix docs.
21521
21522 2005-11-09  Wim Taymans  <wim@fluendo.com>
21523
21524         * gst/gstiterator.c:
21525         Fix revision data.
21526
21527         * gst/gsttask.c:
21528         * gst/gsttask.h:
21529         Fix docs.
21530
21531 2005-11-09  Wim Taymans  <wim@fluendo.com>
21532
21533         * gst/gstevent.h:
21534         * gst/gsturi.h:
21535         Fix docs.
21536
21537 2005-11-09  Wim Taymans  <wim@fluendo.com>
21538
21539         * docs/gst/gstreamer-sections.txt:
21540         Moved the message async delivery private lock and cond
21541         to the private section.
21542
21543         * gst/gstmessage.c:
21544         * gst/gstmessage.h:
21545         Fixed docs.
21546
21547 2005-11-09  Edward Hervey  <edward@fluendo.com>
21548
21549         * docs/gst/gstreamer-sections.txt:
21550         * gst/gsturi.c:
21551         * gst/gsturi.h:
21552         Document GstURIHandler
21553
21554 2005-11-09  Wim Taymans  <wim@fluendo.com>
21555
21556         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21557         (gst_iterator_find_custom):
21558         * gst/gstiterator.h:
21559         Fix iterator docs.
21560
21561 2005-11-09  Wim Taymans  <wim@fluendo.com>
21562
21563         * gst/gstbin.h:
21564         Document another field.
21565
21566         * gst/gststructure.c:
21567         * gst/gststructure.h:
21568         Document.
21569
21570 2005-11-09  Wim Taymans  <wim@fluendo.com>
21571
21572         * gst/gstbin.h:
21573         Documented structs.
21574
21575 2005-11-09  Wim Taymans  <wim@fluendo.com>
21576
21577         * docs/gst/gstreamer-sections.txt:
21578         Added some new macros.
21579
21580         * gst/gstclock.c:
21581         * gst/gstclock.h:
21582         * gst/gstobject.h:
21583         Docs updates.
21584
21585 2005-11-09  Wim Taymans  <wim@fluendo.com>
21586
21587         * docs/design/part-TODO.txt:
21588         Some more items for the TODO
21589
21590         * gst/gstcaps.c:
21591         * gst/gstcaps.h:
21592         Document GstCaps.
21593
21594 2005-11-09  Andy Wingo  <wingo@pobox.com>
21595
21596         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21597         to work on something else now tho...
21598
21599         * gst/base/gstadapter.c: More adapter docs.
21600
21601         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21602         (gst_file_sink_stop): New functions, replace the state change
21603         handler.
21604         (gst_file_sink_class_init): Hook up the start and stop functions.
21605         (gst_file_sink_base_init): Don't set the state change handler any
21606         more. It was a bit ugly too, being set from here...
21607         (gst_file_sink_get_property, gst_file_sink_set_property):
21608         Cleanups...
21609         (gst_file_sink_set_location): More robust check that doesn't call
21610         GST_STATE. Ugggggg.
21611
21612 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21613
21614         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21615           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21616
21617 2005-11-08  Wim Taymans  <wim@fluendo.com>
21618
21619         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21620         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21621         (gst_base_sink_chain), (gst_base_sink_change_state):
21622         * gst/base/gstbasesink.h:
21623         * gst/base/gstbasesrc.h:
21624         * gst/gstelement.h:
21625         * gst/gstevent.h:
21626         Avoid excessive typechecking in macros.
21627
21628         * gst/gstminiobject.c: (gst_mini_object_get_type),
21629         (gst_mini_object_init), (gst_mini_object_new),
21630         (gst_mini_object_free):
21631         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21632         (gst_object_finalize):
21633         Remove cruft code, optimize alloc_trace.
21634
21635 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21636
21637         * docs/faq/gst-uninstalled:
21638           fix up PS1 for systems that try to reset it
21639
21640 2005-11-07  Wim Taymans  <wim@fluendo.com>
21641
21642         * gst/base/gstbasesrc.c: (gst_base_src_init),
21643         (gst_base_src_get_range):
21644         Set the segment_end to -1 initially. Fixed typefind.
21645
21646 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21647
21648         * gst/base/gstadapter.c:
21649           Debug category should be 'adapter', not 'GstAdapter'.
21650           
21651         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21652         (gst_collectpads_class_init), (gst_collectpads_init),
21653         (gst_collectpads_peek), (gst_collectpads_pop),
21654         (gst_collectpads_event), (gst_collectpads_chain):
21655           Add debug category and some debugging output. Use boilerplate
21656           macros. Remove some extraneous words from docs.
21657
21658 2005-11-05  Andy Wingo  <wingo@pobox.com>
21659
21660         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21661         macro.
21662
21663 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21664
21665         * docs/gst/gstreamer-sections.txt:
21666         * gst/gstcaps.h:
21667         * gst/gstinfo.c:
21668         * gst/gstminiobject.h:
21669         * gst/gstobject.h:
21670         * gst/gstutils.h:
21671           more docs added
21672
21673 2005-11-04  Wim Taymans  <wim@fluendo.com>
21674
21675         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21676         Small update to stop at the configured segment_end
21677         position.
21678
21679 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21680
21681         * gst/gstregistry.c:
21682         * gst/gstregistry.h:
21683           added missing docs
21684
21685 2005-11-04  Edward Hervey  <edward@fluendo.com>
21686
21687         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21688         Check if we are doing a segment seek and have arrived at the
21689         end of that segment.
21690
21691 2005-11-04  Wim Taymans  <wim@fluendo.com>
21692
21693         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21694         Don't leak a mutex unlock in case of an error.
21695
21696         * gst/gstbus.h:
21697         Doc fixes.
21698
21699 2005-11-04  Wim Taymans  <wim@fluendo.com>
21700
21701         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21702         (gst_bus_post):
21703         Get the context to wake up only once.
21704
21705 2005-11-03  Wim Taymans  <wim@fluendo.com>
21706
21707         * check/states/sinks.c: (GST_START_TEST):
21708         Uncomment fixed check.
21709
21710         * docs/design/part-TODO.txt:
21711         Updated TODO.
21712
21713         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21714         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21715         (gst_base_sink_get_position):
21716         If we are going to PLAYING, post the right pending state
21717         when we post the intermediate paused message.
21718
21719         * gst/gstelement.c: (gst_element_continue_state),
21720         (gst_element_set_state_func), (gst_element_change_state):
21721         Don't post state changes that were between the same state
21722         and were not ASYNC.
21723
21724 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21725
21726         * docs/gst/gstreamer-sections.txt:
21727         * gst/gstcaps.h:
21728         * gst/gstinfo.c:
21729         * gst/gstminiobject.h:
21730         * gst/gstobject.h:
21731         * gst/gstutils.h:
21732           more docs and doc style fixes
21733
21734 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21735
21736         * docs/gst/gstreamer-sections.txt:
21737         * gst/gstelement.c:
21738         * gst/gstminiobject.c:
21739         doc fixes
21740
21741 2005-11-03  Andy Wingo  <wingo@pobox.com>
21742
21743         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21744         state-changed messages actually have the right order and the right
21745         values.
21746
21747 2005-11-03  Wim Taymans  <wim@fluendo.com>
21748
21749         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21750         Added some more checks. Specifically the case where NO_PREROLL
21751         elements are in the pipeline.
21752
21753         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21754         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21755         (gst_base_sink_get_position):
21756         Post READY->PAUSED state change messages too.
21757         Fix bug where VOID was posted as pending state...
21758
21759         * gst/gstbin.c: (gst_bin_recalc_state):
21760         use _element_continue_state() to continue the state change.
21761
21762         * gst/gstelement.c: (gst_element_continue_state),
21763         (gst_element_commit_state), (gst_element_set_state_func),
21764         (gst_element_change_state), (gst_element_change_state_func):
21765         Lots of state change cleanups, assign the STATE_RETURN in
21766         a new continue_state() function that also propagates the
21767         last return value from a state change to the app.
21768         Update some debug statements with proper category.
21769
21770 2005-11-03  Wim Taymans  <wim@fluendo.com>
21771
21772         * docs/design/part-events.txt:
21773         * docs/design/part-gstpipeline.txt:
21774         * docs/design/part-messages.txt:
21775         * docs/design/part-overview.txt:
21776         * docs/design/part-seeking.txt:
21777         * docs/design/part-states.txt:
21778         * docs/design/part-trickmodes.txt:
21779         * docs/manual/advanced-position.xml:
21780         Small docs updates.
21781
21782         * gst/gstobject.h:
21783         People think !! is ugly, this looks better.
21784
21785         * gst/gstpad.c: (gst_pad_set_blocked_async):
21786         Remove !! since it's fixed elsewhere now.
21787
21788 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21789
21790         * gst/gstminiobject.h:
21791         * gst/gstobject.h:
21792           Add !! to _FLAG_IS_SET macros to make the result boolean.
21793
21794 2005-11-03  Edward Hervey  <edward@fluendo.com>
21795
21796         * gst/gstpad.c: (gst_pad_set_blocked_async):
21797         comparing a flag and a gboolean rarely returns coherent results...
21798         Added two characters (!!) to make that work correctly.
21799         
21800 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21801
21802         * gst/gstbus.c: (gst_bus_class_init):
21803           Fix some typos.
21804           
21805         * gst/gstqueue.c: (gst_queue_loop):
21806           Don't assume a miniobject that isn't a buffer is an
21807           event (it could be that there is a refcounting
21808           problem somewhere and the pointer is stale and
21809           refers to an already destroyed miniobject).
21810
21811 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21812
21813         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21814
21815 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21816
21817         * docs/manual/advanced-position.xml:
21818           Update seek example and explanations to current 0.9 API.
21819
21820         * gst/elements/gsttypefindelement.c:
21821         (gst_type_find_element_activate):
21822           Remove FIXME comment now that the found caps
21823           are unreffed.
21824
21825 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21826
21827         * gst/gstregistryxml.c: (load_feature):
21828           Add another GST_STR_NULL instance
21829
21830 2005-11-02  Edward Hervey  <edward@fluendo.com>
21831
21832         * gst/gstpad.c: (handle_pad_block):
21833         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21834         
21835 2005-11-02  Wim Taymans  <wim@fluendo.com>
21836
21837         * gst/gstbin.c:
21838         Fix typo in docs.
21839
21840         * gst/gstelement.c: (gst_element_commit_state):
21841         Remove unused value.
21842
21843         * gst/gstiterator.c:
21844         Mention that the returned element is reffed in the docs.
21845
21846 2005-11-02  Wim Taymans  <wim@fluendo.com>
21847
21848         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21849         (gst_pad_push), (gst_pad_push_event):
21850         Unlock blocked pads when they are flushed.
21851
21852 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21853
21854         * docs/README:
21855         * docs/gst/gstreamer-sections.txt:
21856         * gst/gstbin.c:
21857           doc updates
21858         * gst/gstregistry.c: (gst_registry_scan_path_level):
21859           fix for a nasty little missed situation where an installed plug-in
21860           which was in the cache did not get overridden by an uninstalled one
21861           which was earlier in the plugin path because the newly created plugin
21862           for the uninstalled one (not in the registry) didn't get its
21863           ->registered set to TRUE
21864
21865 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21866
21867         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21868         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21869         (gst_collectpads_is_active), (gst_collectpads_collect),
21870         (gst_collectpads_collect_range), (gst_collectpads_start),
21871         (gst_collectpads_stop), (gst_collectpads_peek),
21872         (gst_collectpads_pop), (gst_collectpads_available),
21873         (gst_collectpads_read), (gst_collectpads_flush):
21874           Guard public API with assertions.
21875         
21876         * gst/gstpad.c:
21877           Fix docs for gst_pad_set_link_function().
21878
21879 2005-11-02  Johan Dahlin  <johan@gnome.org>
21880
21881         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21882         Unref found_caps after we used it.
21883
21884 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21885
21886         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21887           Don't try to ref NULL.
21888
21889 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21890
21891         * win32/common/config.h.in:
21892           provide a GST_FUNCTION that just gives a string for now
21893
21894 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21895
21896         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21897         (gst_object_flags_get_type), (register_gst_bin_flags),
21898         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21899         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21900         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21901         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21902         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21903         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21904         (gst_clock_flags_get_type), (register_gst_state),
21905         (gst_state_get_type), (register_gst_state_change_return),
21906         (gst_state_change_return_get_type), (register_gst_state_change),
21907         (gst_state_change_get_type), (register_gst_element_flags),
21908         (gst_element_flags_get_type), (register_gst_core_error),
21909         (gst_core_error_get_type), (register_gst_library_error),
21910         (gst_library_error_get_type), (register_gst_resource_error),
21911         (gst_resource_error_get_type), (register_gst_stream_error),
21912         (gst_stream_error_get_type), (register_gst_event_type),
21913         (gst_event_type_get_type), (register_gst_seek_type),
21914         (gst_seek_type_get_type), (register_gst_seek_flags),
21915         (gst_seek_flags_get_type), (register_gst_format),
21916         (gst_format_get_type), (register_gst_index_certainty),
21917         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21918         (gst_index_entry_type_get_type),
21919         (register_gst_index_lookup_method),
21920         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21921         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21922         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21923         (gst_index_flags_get_type), (register_gst_debug_level),
21924         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21925         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21926         (gst_iterator_result_get_type), (register_gst_iterator_item),
21927         (gst_iterator_item_get_type), (register_gst_message_type),
21928         (gst_message_type_get_type), (register_gst_mini_object_flags),
21929         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21930         (gst_pad_link_return_get_type), (register_gst_flow_return),
21931         (gst_flow_return_get_type), (register_gst_activate_mode),
21932         (gst_activate_mode_get_type), (register_gst_pad_direction),
21933         (gst_pad_direction_get_type), (register_gst_pad_flags),
21934         (gst_pad_flags_get_type), (register_gst_pad_presence),
21935         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21936         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21937         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21938         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21939         (gst_plugin_flags_get_type), (register_gst_rank),
21940         (gst_rank_get_type), (register_gst_query_type),
21941         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21942         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21943         (gst_tag_flag_get_type), (register_gst_task_state),
21944         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21945         (gst_alloc_trace_flags_get_type),
21946         (register_gst_type_find_probability),
21947         (gst_type_find_probability_get_type), (register_gst_uri_type),
21948         (gst_uri_type_get_type), (register_gst_parse_error),
21949         (gst_parse_error_get_type):
21950         * win32/common/gstversion.h:
21951           update win32 copies
21952
21953 2005-11-01  Luca Ognibene  <luogni@tin.it>
21954
21955         * gst/gst.c:
21956           fix docs. popt is dead, long live GOption.
21957
21958 2005-10-31  Wim Taymans  <wim@fluendo.com>
21959
21960         * gst/gstbuffer.h:
21961         Small doc fix.
21962
21963 2005-10-31  Andy Wingo  <wingo@pobox.com>
21964
21965         * Boo!
21966
21967         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21968
21969         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21970         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21971         the possibility of deadlocks here if code calling notify() or
21972         set() has a lock that can be taken in another notify handler (ABBA
21973         with class lock and e.g. python GIL state lock).
21974
21975 2005-10-28  Julien MOUTTE  <julien@moutte.net>
21976
21977         * gst/gstbus.c: Doc updates.
21978
21979 2005-10-28  Wim Taymans  <wim@fluendo.com>
21980
21981         * docs/design/part-TODO.txt:
21982         * gst/gstiterator.c:
21983         * gst/gstsystemclock.c:
21984         * gst/gstsystemclock.h:
21985         Doc updates.
21986
21987 2005-10-28  Edward Hervey  <edward@fluendo.com>
21988
21989         * docs/gst/gstreamer-docs.sgml:
21990         * docs/gst/gstreamer-sections.txt:
21991         the GstURIType documentation page is private, it only defines GstURIType
21992         which should be defined in the GstURIHandler page
21993         
21994 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21995
21996         * gst/gstbin.c: (gst_bin_class_init):
21997         * gst/gstbin.h:
21998         * gst/gstutils.c:
21999         Documentation updates.
22000
22001 2005-10-28  Wim Taymans  <wim@fluendo.com>
22002
22003         * docs/gst/gstreamer-sections.txt:
22004         * gst/gstclock.c:
22005         * gst/gstclock.h:
22006         Documented the clocks.
22007
22008 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22009
22010         * docs/gst/gstreamer-sections.txt:
22011           move some macros to private sections
22012         * gst/gstminiobject.c:
22013         * gst/gstminiobject.h:
22014           add descriptions provided by ds and some more
22015         * gst/gstpad.h:
22016           mark macro as to be removed
22017
22018 2005-10-28  Wim Taymans  <wim@fluendo.com>
22019
22020         * docs/design/part-TODO.txt:
22021         Add an item to TODO.
22022
22023         * gst/gstiterator.c: (gst_iterator_fold),
22024         (gst_iterator_find_custom):
22025         * gst/gstiterator.h:
22026         Add iterator docs.
22027
22028 2005-10-28  Wim Taymans  <wim@fluendo.com>
22029
22030         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22031         (gst_base_transform_init):
22032         Don't leak class.
22033
22034         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22035         An EOS event marks the queue as completely filled.
22036
22037 2005-10-27  Wim Taymans  <wim@fluendo.com>
22038
22039         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22040         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22041         Some more debugging.
22042
22043         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22044         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22045         (gst_base_transform_event), (gst_base_transform_getrange),
22046         (gst_base_transform_chain):
22047         * gst/base/gstbasetransform.h:
22048         Fix debugging,
22049         Protect transform and concurrent buffer alloc with a new lock.
22050         Try not to break ABI/API.
22051
22052 2005-10-27  Wim Taymans  <wim@fluendo.com>
22053
22054         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22055         (gst_base_src_init), (gst_base_src_query),
22056         (gst_base_src_default_newsegment),
22057         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22058         (gst_base_src_send_event), (gst_base_src_event_handler),
22059         (gst_base_src_pad_get_range), (gst_base_src_loop),
22060         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22061         (gst_base_src_start), (gst_base_src_deactivate),
22062         (gst_base_src_activate_push), (gst_base_src_change_state):
22063         Move some stuff around and cleanup things.
22064
22065 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22066
22067         * gst/base/gstbasesrc.c: (gst_base_src_query):
22068           Add missing break statements.
22069
22070 2005-10-27  Wim Taymans  <wim@fluendo.com>
22071
22072         * check/gst/gstbin.c: (GST_START_TEST):
22073         An extra refcount is taken in basesrc.
22074
22075         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22076         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22077         (gst_base_src_loop):
22078         Small cleanups, check for flushing after being unlocked from the 
22079         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22080         Don't send out EOS when going to READY.
22081
22082 2005-10-27  Wim Taymans  <wim@fluendo.com>
22083
22084         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22085         (gst_base_sink_get_position):
22086         Some more debug.
22087
22088         * gst/gstbin.c: (message_check), (bin_replace_message),
22089         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22090         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22091         (bin_query_duration_init), (bin_query_duration_fold),
22092         (bin_query_duration_done), (bin_query_generic_fold),
22093         (gst_bin_query):
22094         * tools/gst-launch.c: (main):
22095         Remove old option.
22096
22097 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22098
22099         * examples/controller/audio-example.c: (main):
22100         * examples/queue/queue.c: (event_loop):
22101         * gst/base/gstbasetransform.h:
22102         * gst/gstelement.c: (gst_element_send_event):
22103         * gst/gstevent.h:
22104         * gst/gstpad.c: (gst_pad_send_event):
22105           fixing examples
22106           fixing docs typos
22107           changing log priority in error situations
22108
22109 2005-10-25  Wim Taymans  <wim@fluendo.com>
22110
22111         * gst/gstbin.c: (message_check), (bin_replace_message),
22112         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22113         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22114         (bin_query_duration_init), (bin_query_duration_fold),
22115         (bin_query_duration_done), (bin_query_generic_fold),
22116         (gst_bin_query):
22117         Some doc and debug updates.
22118         Cache previously requested query DURATION for speed. invalidate
22119         cached duration if element posts a DURATION message.
22120
22121 2005-10-25  Wim Taymans  <wim@fluendo.com>
22122
22123         * docs/design/part-TODO.txt:
22124         Update TODO.
22125
22126         * gst/gstbin.c: (message_check), (bin_replace_message),
22127         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22128         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22129         (bin_query_duration_init), (bin_query_duration_fold),
22130         (bin_query_duration_done), (bin_query_generic_fold),
22131         (gst_bin_query):
22132         Handle SEGMENT_START/DONE messages correctly.
22133         More evolved query algorithm that handles duration queries
22134         correctly.
22135
22136         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22137         (gst_element_get_state_func), (gst_element_abort_state),
22138         (gst_element_commit_state), (gst_element_lost_state):
22139         Some more debugging.
22140
22141         * gst/gstmessage.h:
22142         Added doc.
22143
22144 2005-10-25  Wim Taymans  <wim@fluendo.com>
22145
22146         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22147         Don't use invalid stream_time.
22148
22149         * gst/gstevent.c: (gst_event_new_newsegment):
22150         stream_time in newsegment cannot be undefined.
22151
22152 2005-10-24  Wim Taymans  <wim@fluendo.com>
22153
22154         * gst/gstbus.c:
22155         Doc fix.
22156
22157         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22158         (gst_queue_loop):
22159         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22160
22161 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22162
22163         * docs/libs/tmpl/gstdparam.sgml:
22164         * docs/libs/tmpl/gstdplinint.sgml:
22165         * docs/libs/tmpl/gstdpman.sgml:
22166         * docs/libs/tmpl/gstdpsmooth.sgml:
22167         * docs/libs/tmpl/gstunitconvert.sgml:
22168           these are obsolete
22169
22170 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22171
22172         * configure.ac:
22173           back to HEAD
22174
22175 === release 0.9.4 ===
22176
22177 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22178
22179         * configure.ac:
22180           releasing 0.9.4, "Tyrannosaurus Rex"
22181
22182 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22183
22184         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22185         (gst_file_sink_get_current_offset):
22186           Use fseeko() and ftello() if available. When falling back on
22187           lseek() to get the current offset, fflush() first to make sure
22188           everything is up-to-date and we get the right offset.
22189
22190 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22191
22192         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22193         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22194         * gst/gsterror.c: (_gst_stream_errors_init):
22195         * gst/gsterror.h:
22196         * gst/gstqueue.c: (gst_queue_loop):
22197         * po/POTFILES.in:
22198           remove prematurely added error category and clean up the instances
22199
22200 2005-10-21  Wim Taymans  <wim@fluendo.com>
22201
22202         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22203         (gst_base_sink_get_position), (gst_base_sink_query),
22204         (gst_base_sink_change_state):
22205         Simply set the right flag when going to playing, that's all
22206         we need to do instead of calling a function inside the object
22207         lock (that could take the lock as well and deadlock)
22208
22209 2005-10-21  Wim Taymans  <wim@fluendo.com>
22210
22211         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22212         (gst_base_src_loop):
22213         Don't warn, the peer element knows what to do best when
22214         the seek failed, it might try something else.
22215
22216 2005-10-21  Wim Taymans  <wim@fluendo.com>
22217
22218         * gst/base/gstbasesrc.c: (gst_base_src_init),
22219         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22220         Fix seeking.
22221
22222 2005-10-21  Wim Taymans  <wim@fluendo.com>
22223
22224         * docs/design/part-segments.txt:
22225         More docs.
22226
22227         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22228         Correctly set caps, even on the subbufer.
22229
22230 2005-10-21  Wim Taymans  <wim@fluendo.com>
22231
22232         * docs/gst/gstreamer-docs.sgml:
22233         * docs/gst/gstreamer-sections.txt:
22234         * gst/gstelement.h:
22235         * gst/gstevent.c:
22236         * gst/gstevent.h:
22237         * gst/gstmessage.h:
22238         * gst/gstpad.h:
22239         * gst/gstparse.h:
22240         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22241         * gst/gsttask.h:
22242         * gst/gstutils.c:
22243         * gst/gstutils.h:
22244         And 2% more doc coverage.
22245
22246 2005-10-21  Andy Wingo  <wingo@pobox.com>
22247
22248         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22249         position reporting.
22250
22251 2005-10-20  Wim Taymans  <wim@fluendo.com>
22252
22253         * gst/gsterror.c: (gst_error_get_message):
22254         * gst/gstparse.h:
22255         * gst/gstquery.h:
22256         * gst/gststructure.c:
22257         * gst/gsttrace.c:
22258         * gst/gstutils.c:
22259         More docs.
22260
22261 2005-10-20  Wim Taymans  <wim@fluendo.com>
22262
22263         * gst/gstbuffer.h:
22264         * gst/gstpad.c:
22265         * gst/gstparse.c:
22266         Another 1% more coverage.
22267
22268 2005-10-20  Wim Taymans  <wim@fluendo.com>
22269
22270         * docs/gst/gstreamer-sections.txt:
22271         * gst/gstelement.c: (gst_element_get_state_func),
22272         (gst_element_abort_state), (gst_element_commit_state),
22273         (gst_element_lost_state):
22274         * gst/gstevent.h:
22275         * gst/gstquery.c: (gst_query_set_position),
22276         (gst_query_parse_position), (gst_query_set_duration),
22277         (gst_query_parse_duration), (gst_query_new_convert):
22278         * gst/gstutils.c:
22279         Yay! 1% more docs coverage.
22280
22281 2005-10-20  Wim Taymans  <wim@fluendo.com>
22282
22283         * gst/gstpad.h:
22284         * gst/gstquery.c: (gst_query_set_position),
22285         (gst_query_parse_position), (gst_query_set_duration),
22286         (gst_query_parse_duration), (gst_query_new_convert):
22287         * gst/gstquery.h:
22288         * gst/gstutils.c: (gst_element_query_convert):
22289         * gst/gstutils.h:
22290         Docs and consistency fixes.
22291
22292 2005-10-20  Wim Taymans  <wim@fluendo.com>
22293
22294         * gst/gsttask.c:
22295         * gst/gsttask.h:
22296         More docs.
22297
22298 2005-10-20  Wim Taymans  <wim@fluendo.com>
22299
22300         * gst/gstbin.c: (message_check), (bin_replace_message),
22301         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22302         (update_degree), (gst_bin_sort_iterator_next),
22303         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22304         Reworked the message handling a bit, cache the messages instead of
22305         only the senders. alows us to do more in the future.
22306
22307 2005-10-20  Wim Taymans  <wim@fluendo.com>
22308
22309         * docs/design/part-TODO.txt:
22310         Update TODO
22311
22312         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22313         (gst_base_sink_query):
22314         Don't use clock time to report position when in EOS.
22315
22316 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22317
22318         * tools/gst-inspect.c: (print_interfaces),
22319         (print_element_properties_info), (print_element_info):
22320           Fix interface output with gst-inspect -a; don't print
22321           newlines after double/float properties.
22322
22323 2005-10-20  Wim Taymans  <wim@fluendo.com>
22324
22325         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22326         (gst_base_sink_query):
22327         Speed up current position calculation.
22328
22329         * gst/base/gstbasesrc.c: (gst_base_src_query),
22330         (gst_base_src_default_newsegment):
22331         Correctly set stream position in newsegment.
22332
22333         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22334         (update_degree), (gst_bin_sort_iterator_next),
22335         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22336         * gst/gstmessage.c: (gst_message_new_custom):
22337         Clean up debugging info
22338
22339         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22340         (gst_queue_loop), (gst_queue_handle_src_query):
22341         Pause task faster.
22342
22343 2005-10-19  Wim Taymans  <wim@fluendo.com>
22344
22345         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22346         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22347         Fix query handling again.
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         * gst/base/gstbasesrc.c: (gst_base_src_query):
22354         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22355         * gst/elements/gsttypefindelement.c:
22356         (gst_type_find_handle_src_query), (find_element_get_length),
22357         (gst_type_find_element_activate):
22358         API change fix.
22359
22360         * gst/gstquery.c: (gst_query_new_position),
22361         (gst_query_set_position), (gst_query_parse_position),
22362         (gst_query_new_duration), (gst_query_set_duration),
22363         (gst_query_parse_duration), (gst_query_set_segment),
22364         (gst_query_parse_segment):
22365         * gst/gstquery.h:
22366         Bundling query position/duration is not a good idea since duration
22367         does not change much and we don't want to recalculate it for every
22368         position query, so they are separated again..
22369         Base value in segment query is not needed.
22370
22371         * gst/gstqueue.c: (gst_queue_handle_src_query):
22372         * gst/gstutils.c: (gst_element_query_position),
22373         (gst_element_query_duration), (gst_pad_query_position),
22374         (gst_pad_query_duration):
22375         * gst/gstutils.h:
22376         Updates for query API change.
22377         Added some docs here and there.
22378
22379 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22380
22381         * check/gst/gstbin.c: (GST_START_TEST):
22382         * check/gst/gstghostpad.c: (GST_START_TEST):
22383         * check/pipelines/cleanup.c: (GST_START_TEST):
22384           wait on thread to die so we can check refcount correctly
22385
22386 2005-10-18  Wim Taymans  <wim@fluendo.com>
22387
22388         * check/pipelines/stress.c: (GST_START_TEST):
22389         Make check a little more time consuming.
22390
22391 2005-10-18  Wim Taymans  <wim@fluendo.com>
22392
22393         * check/Makefile.am:
22394         * check/pipelines/stress.c: (GST_START_TEST),
22395         (simple_launch_lines_suite), (main):
22396         Small state change torture test.
22397
22398         * docs/design/part-states.txt:
22399         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22400         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22401         (gst_base_sink_change_state):
22402         Never take state lock from streaming thread, clean up ugly
22403         hacks. Unfortunatly core does not yet support nice ways to
22404         async commit state.
22405         
22406         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22407         (bin_bus_handler):
22408         Start state recalc if a STATE_DIRTY message is posted, but only
22409         on the toplevel bin.
22410
22411         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22412         (gst_element_get_state_func), (gst_element_abort_state),
22413         (gst_element_commit_state), (gst_element_lost_state),
22414         (gst_element_set_state_func), (gst_element_change_state):
22415         * gst/gstelement.h:
22416         State variables are now protected with the LOCK, the state
22417         lock is only used to serialize _set_state().
22418
22419 2005-10-18  Wim Taymans  <wim@fluendo.com>
22420
22421         * check/gst/gstbin.c: (GST_START_TEST):
22422         * check/gst/gstmessage.c: (GST_START_TEST):
22423         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22424         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22425         (bin_bus_handler):
22426         * gst/gstelement.c: (gst_element_abort_state),
22427         (gst_element_commit_state), (gst_element_lost_state):
22428         * gst/gstmessage.c: (gst_message_new_state_changed),
22429         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22430         (gst_message_new_segment_done), (gst_message_new_duration),
22431         (gst_message_parse_state_changed),
22432         (gst_message_parse_segment_start),
22433         (gst_message_parse_segment_done), (gst_message_parse_duration):
22434         * gst/gstmessage.h:
22435         * tools/gst-launch.c: (event_loop):
22436         Seriously, this is better than a previous commit as we only need
22437         to notify the fact that an element changed state in a streaming
22438         thread, marking the state of the parents dirty, hence the 
22439         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22440         message.
22441
22442 2005-10-18  Wim Taymans  <wim@fluendo.com>
22443
22444         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22445         (gst_bin_recalc_func):
22446         * gst/gstelement.c: (gst_element_set_clock),
22447         (gst_element_abort_state), (gst_element_lost_state):
22448         Cleanups, prepare for state change fixes.
22449
22450 2005-10-18  Wim Taymans  <wim@fluendo.com>
22451
22452         * gst/gstbin.h:
22453         * gst/gstelement.c: (gst_element_class_init),
22454         (gst_element_set_state), (gst_element_set_state_func):
22455         * gst/gstelement.h:
22456         Pending ABI changes.
22457         GThreadPool in GstBinClass to monitor async state changes.
22458         state_cookie in GstElement to detect concurrent gst/set state.
22459         set_state is now virtual too in case a very complicated element
22460         has to be constructed.
22461
22462 2005-10-18  Wim Taymans  <wim@fluendo.com>
22463
22464         * check/gst/gstbin.c: (GST_START_TEST):
22465         * check/gst/gstmessage.c: (GST_START_TEST):
22466         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22467         * gst/gstbin.c: (bin_bus_handler):
22468         * gst/gstelement.c: (gst_element_commit_state),
22469         (gst_element_lost_state):
22470         * gst/gstmessage.c: (gst_message_new_state_changed),
22471         (gst_message_new_segment_start), (gst_message_new_segment_done),
22472         (gst_message_new_duration), (gst_message_parse_state_changed),
22473         (gst_message_parse_segment_start),
22474         (gst_message_parse_segment_done), (gst_message_parse_duration):
22475         * gst/gstmessage.h:
22476         * tools/gst-launch.c: (event_loop):
22477         Make messages future proof.
22478         state-change gets a flag if it was a message comming from the
22479         streaming thread.
22480         segment-start/stop can also be specified in other formats.
22481         A message to notify an app that a pipeline changed playback 
22482         duration.
22483         Also fix a GstMessage leak in -launch
22484
22485 2005-10-18  Andy Wingo  <wingo@pobox.com>
22486
22487         * gst/gstelement.c (gst_element_dispose): More helpful message.
22488
22489 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22490
22491         reviewed by: <delete if not using a buddy>
22492
22493         * common/gtk-doc.mak:
22494
22495 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22496
22497         * gst/gstregistry.c: (gst_registry_scan_path_level):
22498           unref a plug-in we get that was already initialized
22499
22500 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22501
22502         * docs/gst/gstreamer-sections.txt:
22503         * docs/libs/gstreamer-libs-sections.txt:
22504         * gst/gstelement.h:
22505           add new api entries
22506           hide internal macro
22507
22508 2005-10-17  Andy Wingo  <wingo@pobox.com>
22509
22510         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22511         cleanup.
22512
22513         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22514
22515         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22516
22517         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22518         (gst_element_get_state_func): Better debug message.
22519         (gst_element_commit_state): s/INFO/DEBUG/.
22520         (gst_element_lost_state, gst_element_change_state): 
22521
22522         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22523         (gst_message_new_custom): s/INFO/LOG/.
22524
22525 2005-10-17  Michael Smith <msmith@fluendo.com>
22526
22527         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22528           Check if end time is valid using end time, not start time.
22529
22530 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22531
22532         * check/gst-libs/controller.c: (GST_START_TEST),
22533         (gst_controller_suite):
22534         * libs/gst/controller/gstcontroller.c:
22535         (gst_controlled_property_set_interpolation_mode):
22536         * libs/gst/controller/gstcontroller.h:
22537         * libs/gst/controller/gstinterpolation.c:
22538         * testsuite/controller/.cvsignore:
22539         * testsuite/controller/Makefile.am:
22540         * testsuite/controller/interpolator.c:
22541           merge controller testsuites
22542           fix broken tests
22543           remove mem-chunk from docs
22544
22545 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22546
22547         * gst/gstmemchunk.c:
22548         * gst/gstmemchunk.h:
22549         * gst/gsttrashstack.c:
22550         * gst/gsttrashstack.h:
22551           out.  get out.  you're fired.  to the Attic !
22552
22553 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22554
22555         * gst/gstcaps.c: (gst_caps_intersect):
22556           fix signedness issues in a (hopefully) correct way
22557         * gst/gstelement.c: (gst_element_pads_activate):
22558           some debugging
22559         * gst/gstobject.c: (gst_object_set_parent):
22560           some debugging
22561
22562 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22563
22564         * gst/gstvalue.h: Fix prototypes.
22565
22566 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22567
22568         * docs/gst/gstreamer-sections.txt:
22569         * gst/gst.c: (gst_version_string):
22570         * gst/gst.h:
22571         * gst/gstversion.h.in:
22572         * win32/common/libgstreamer.def:
22573           add gst_version_string ()
22574
22575 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22576
22577         * configure.ac:
22578           clean up further
22579         * gst/gst.c: (init_post):
22580         * win32/common/config.h.in:
22581           it's PLUGINDIR now
22582         * gst/gstcaps.c: (gst_caps_intersect):
22583           use gint64, the range could be bigger than a guint
22584
22585 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22586
22587         * gst/gstclock.h:
22588           document potential problem in 2038
22589
22590 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22591
22592         * gst/gstcaps.c: (gst_caps_intersect):
22593           Fix guint j diving under 0
22594
22595 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22596
22597         * configure.ac:
22598         * win32/common/config.h:
22599         * win32/common/config.h.in:
22600           check for process.h, declares getpid() on Windows
22601         * gst/gstinfo.c:
22602           include process.h if we have it
22603         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22604         * gst/gstmemchunk.h:
22605           fix signedness issues
22606         * win32/common/libgstreamer.def:
22607           fix get_type's
22608
22609 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22610
22611         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22612         fix. Because of unsigned ints, caps intersection was going nuts and
22613         trying to access structures with G_MAXUINT index. That fixes
22614         videotestsrc ! ffmpegcolorspace ! fakesink
22615         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22616         consistency.
22617
22618 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22619
22620         * configure.ac:
22621           use the gettext macro
22622         * gst/elements/gstelements.c:
22623         * gst/gst.c:
22624         * gst/indexers/gstindexers.c:
22625           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22626         * win32/common/config.h:
22627           updated config.h
22628         * win32/common/config.h.in:
22629           add the template to generate config.h
22630         * win32/common/gstenumtypes.c:
22631         * win32/common/gstversion.h:
22632           updated copies
22633
22634 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22635
22636         * gst/gst.c: (gst_version):
22637         * gst/gstversion.h.in:
22638           add the nano
22639
22640 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22641
22642         * gst/gstevent.h:
22643           Oops, add missing closing bracket.
22644
22645 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22646
22647         * configure.ac:
22648           use common m4's for argument checking
22649
22650 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22651
22652         * docs/gst/gstreamer-sections.txt:
22653         * gst/gstevent.h:
22654           Add GST_EVENT_TYPE_NAME() macro.
22655
22656 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22657
22658         * gst/gstinfo.c:
22659         * gst/gstpluginfeature.c:
22660         * gst/gsttask.c:
22661           privatize more symbols
22662
22663 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22664
22665         * configure.ac:
22666           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22667           everything that uses GStreamer API should have the includes
22668
22669 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22670
22671         * docs/gst/gstreamer-sections.txt:
22672         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22673         * gst/gstvalue.h:
22674           give each value a _get_type, removes the DATA exports
22675
22676 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22677
22678         * gst/gst.c:
22679         * gst/gst.h:
22680           remove _gst_registry_auto_load, not used anymore
22681         * gst/gstbin.c: (gst_bin_get_type):
22682         * gst/gstbin.h:
22683         * gst/gstelement.c: (gst_element_get_type):
22684         * gst/gstelement.h:
22685         * gst/gstobject.c: (gst_object_get_type):
22686         * gst/gstobject.h:
22687         * gst/gstpad.c: (gst_pad_get_type):
22688         * gst/gstpad.h:
22689           make _get_type functions similar, fixes data export from library
22690
22691 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22692
22693         * configure.ac:
22694           correctly make conditionals
22695         * gst/elements/Makefile.am:
22696         * gst/elements/gstelements.c:
22697           fix typo causing fdsrc not to build
22698
22699 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22700
22701         * testsuite/Makefile.am:
22702         * testsuite/bytestream/.cvsignore:
22703         * testsuite/bytestream/Makefile.am:
22704         * testsuite/bytestream/filepadsink.c:
22705         * testsuite/bytestream/gstbstest.c:
22706         * testsuite/bytestream/test1.c:
22707         * testsuite/bytestream/testfile1:
22708         * testsuite/caps/normalisation.c:
22709         * testsuite/caps/random.c: (main):
22710         * testsuite/cleanup/.cvsignore:
22711         * testsuite/cleanup/Makefile.am:
22712         * testsuite/cleanup/cleanup1.c:
22713         * testsuite/cleanup/cleanup2.c:
22714         * testsuite/cleanup/cleanup3.c:
22715         * testsuite/cleanup/cleanup4.c:
22716         * testsuite/cleanup/cleanup5.c:
22717         * testsuite/controller/interpolator.c:
22718         * testsuite/debug/printf_extension.c: (main):
22719         * testsuite/elements/tee.c:
22720         * testsuite/negotiation/.cvsignore:
22721         * testsuite/negotiation/Makefile.am:
22722         * testsuite/negotiation/pad_link.c:
22723         * testsuite/pad/Makefile.am:
22724         * testsuite/pad/chainnopull.c:
22725         * testsuite/pad/getnopush.c:
22726         * testsuite/pad/link.c:
22727         * testsuite/refcounting/sched.c: (create_pipeline):
22728         * testsuite/registry/Makefile.am:
22729         * testsuite/registry/gst-print-formats.c:
22730         * testsuite/schedulers/.cvsignore:
22731         * testsuite/schedulers/142183-2.c:
22732         * testsuite/schedulers/142183.c:
22733         * testsuite/schedulers/143777-2.c:
22734         * testsuite/schedulers/143777.c:
22735         * testsuite/schedulers/147713.c:
22736         * testsuite/schedulers/147819.c:
22737         * testsuite/schedulers/147894-2.c:
22738         * testsuite/schedulers/147894.c:
22739         * testsuite/schedulers/Makefile.am:
22740         * testsuite/schedulers/group_link.c:
22741         * testsuite/schedulers/queue_link.c:
22742         * testsuite/schedulers/relink.c:
22743         * testsuite/schedulers/unlink.c:
22744         * testsuite/schedulers/unref.c:
22745         * testsuite/schedulers/useless_iteration.c:
22746         * testsuite/states/bin.c:
22747           clean out/remove some stuff from the testsuite directories
22748
22749 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22750
22751         * configure.ac:
22752           check for some headers
22753         * gst/elements/Makefile.am:
22754         * gst/elements/gstelements.c:
22755           don't compile fdsrc without sys/socket.h
22756         * gst/indexers/Makefile.am:
22757         * gst/indexers/gstindexers.c: (plugin_init):
22758           don't compile fileindex without mmap
22759
22760 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22761
22762         * configure.ac:
22763           reorganize
22764           clean up
22765           document more
22766           remove cruft
22767         * check/Makefile.am:
22768         * docs/gst/Makefile.am:
22769         * examples/helloworld/Makefile.am:
22770         * gst/Makefile.am:
22771         * gst/base/Makefile.am:
22772         * gst/check/Makefile.am:
22773         * gst/elements/Makefile.am:
22774         * gst/indexers/Makefile.am:
22775         * gst/parse/Makefile.am:
22776         * libs/gst/controller/Makefile.am:
22777         * libs/gst/dataprotocol/Makefile.am:
22778         * examples/helloworld/helloworld.c: (event_loop):
22779           compile fixes, though it's not being compiled currently
22780
22781 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22782
22783         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22784           Add some simple tests for the new taglist date API.
22785
22786 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22787
22788         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22789         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22790           Beautify 'last-message' output: print 'none' for buffer timestamps
22791           and durations if none is set; improve alignment with next messages.
22792
22793 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22794
22795         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22796         * gst/gstpluginfeature.h:
22797         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22798         * gst/gstregistry.h:
22799         * docs/gst/gstreamer-sections.txt:
22800           Add new API to check plugin feature version requirements.
22801
22802         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22803           Some basic tests for the above.         
22804
22805 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22806
22807         * gst/gststructure.c: (gst_structure_to_string):
22808           guard against NULL printf - happens when for example
22809           a message structure with GstClock gets serialized
22810
22811 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22812
22813         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22814           Fix presumable copy'n'pasto.
22815
22816 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22817
22818         * gst/elements/gstfakesrc.h:
22819         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22820         * gst/elements/gsttypefindelement.c:
22821           fix some signedness
22822         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22823           I wonder if this could actually write +2GB files before
22824
22825 2005-10-13  Andy Wingo  <wingo@pobox.com>
22826
22827         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22828         Fix Timmeke Waymans bug.
22829         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22830         string of the proper length to gst_caps_from_string. There's a
22831         potential for, before this fix, that this could cause someone
22832         connecting over the network to cause a segfault if the payload is
22833         not NUL-terminated.
22834
22835 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22836
22837         * docs/design/draft-push-pull.txt:
22838         * docs/design/part-overview.txt:
22839         * docs/random/TODO-pre-0.9:
22840         * docs/random/old/ChangeLog.gstreamer:
22841         * gst/base/gstpushsrc.c:
22842         * gst/gstclock.c:
22843           fixed typos
22844
22845 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22846
22847         * gst/glib-compat.c: (gst_flags_get_first_value):
22848         * gst/glib-compat.h:
22849         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22850         (gst_value_compare_double), (gst_value_serialize_flags):
22851           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22852           infinite loop
22853
22854 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22855
22856         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22857         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22858           fix up debugging
22859         * tools/gst-launch.c: (event_loop):
22860           print out clock nicely
22861
22862 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22863
22864         * docs/gst/gstreamer-sections.txt:
22865         * gst/gsttaglist.h:
22866         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22867         (gst_tag_list_get_date_index):
22868           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22869           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22870
22871 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22872
22873         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22874         (gst_collectpads_chain):
22875         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22876         in CollectData.
22877
22878 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22879
22880         * docs/gst/gstreamer-sections.txt:
22881         * gst/gst.c:
22882         * gst/gsterror.h:
22883         * tools/gst-inspect.c: (main):
22884         * tools/gst-launch.c: (main):
22885         * tools/gst-run.c: (main):
22886         * tools/gst-xmlinspect.c: (main):
22887           fix GOption context leaks
22888           doc fixes
22889
22890 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22891
22892         * gst/gstbus.c:
22893           use HAVE_UNISTD_H
22894         * win32/common/config.h:
22895           update config
22896         * win32/vs6/grammar.dsp:
22897         * win32/vs6/libgstelements.dsp:
22898         * win32/vs6/libgstreamer.dsp:
22899           update vs6 files
22900
22901 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22902
22903         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22904         * gst/base/gstbasesrc.c: (gst_base_src_query):
22905           fix more guint64<->gdouble conversions
22906
22907 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22908
22909         * Makefile.am:
22910           add win32-update target
22911         * win32/common/gstconfig.h:
22912         * win32/common/gstenumtypes.c:
22913         * win32/common/gstenumtypes.h:
22914         * win32/common/gstversion.h:
22915           add files that visual studio can't generate
22916
22917 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22918
22919         * Makefile.am:
22920           add a win32-update target
22921         * configure.ac:
22922
22923 2005-10-12  Wim Taymans  <wim@fluendo.com>
22924
22925         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22926         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22927         * gst/gstelement.c: (gst_element_commit_state),
22928         (gst_element_set_state):
22929         Protect flags with proper lock.
22930         unref provided cached clock in dispose.
22931
22932 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22933
22934         * gst/gst.c:
22935         * gst/gstminiobject.h:
22936         * gst/gstpad.h:
22937         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22938           removed unused flags from miniobject
22939           doc fixes
22940
22941 2005-10-12  Wim Taymans  <wim@fluendo.com>
22942
22943         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22944         (gst_file_sink_event), (gst_file_sink_render):
22945         Flush before seeking.
22946
22947 2005-10-12  Andy Wingo  <wingo@pobox.com>
22948
22949         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22950         always been the case.
22951
22952 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22953
22954         * check/gst/gstbin.c: (GST_START_TEST):
22955         * docs/gst/gstreamer-sections.txt:
22956         * gst/base/gstbasesink.c: (gst_base_sink_init):
22957         * gst/base/gstbasesrc.c: (gst_base_src_init),
22958         (gst_base_src_get_range), (gst_base_src_check_get_range),
22959         (gst_base_src_start), (gst_base_src_stop):
22960         * gst/base/gstbasesrc.h:
22961         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22962         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22963         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22964         (bin_bus_handler):
22965         * gst/gstbin.h:
22966         * gst/gstbuffer.h:
22967         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22968         * gst/gstbus.h:
22969         * gst/gstelement.c: (gst_element_is_locked_state),
22970         (gst_element_set_locked_state), (gst_element_commit_state),
22971         (gst_element_set_state):
22972         * gst/gstelement.h:
22973         * gst/gstindex.c: (gst_index_init):
22974         * gst/gstindex.h:
22975         * gst/gstminiobject.h:
22976         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22977         (gst_object_set_parent):
22978         * gst/gstobject.h:
22979         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22980         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22981         * gst/gstpad.h:
22982         * gst/gstpadtemplate.h:
22983         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22984         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22985         * gst/gstpipeline.h:
22986         * gst/indexers/gstfileindex.c: (gst_file_index_load),
22987         (gst_file_index_commit):
22988         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22989         * testsuite/pad/link.c: (gst_test_src_init),
22990         (gst_test_filter_init), (gst_test_sink_init):
22991         * testsuite/states/locked.c: (main):
22992           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22993           moved bitshift from macro to enum definition
22994
22995 2005-10-12  Wim Taymans  <wim@fluendo.com>
22996
22997         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22998         * gst/elements/gstfilesink.c: (gst_file_sink_event),
22999         (gst_file_sink_render):
23000         Some more debugging info.
23001
23002 2005-10-12  Wim Taymans  <wim@fluendo.com>
23003
23004         * docs/design/part-states.txt:
23005         * tools/gst-launch.c: (main):
23006         Some doc updates.
23007         Revert non-intentional change.
23008
23009 2005-10-12  Wim Taymans  <wim@fluendo.com>
23010
23011         * check/gst/gstbin.c: (GST_START_TEST):
23012         * check/gst/gstelement.c: (GST_START_TEST):
23013         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23014         * check/gst/gstghostpad.c: (GST_START_TEST):
23015         * check/gst/gstpipeline.c: (GST_START_TEST):
23016         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23017         * check/states/sinks.c: (GST_START_TEST):
23018         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23019         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23020         (gst_bin_remove_func), (gst_bin_get_state_func),
23021         (gst_bin_recalc_state), (gst_bin_change_state_func),
23022         (bin_bus_handler):
23023         * gst/gstelement.c: (gst_element_get_state_func),
23024         (gst_element_get_state), (gst_element_abort_state),
23025         (gst_element_commit_state), (gst_element_set_state),
23026         (gst_element_change_state), (gst_element_change_state_func):
23027         * gst/gstelement.h:
23028         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23029         (gst_pipeline_provide_clock_func):
23030         * gst/gstutils.c: (gst_element_link_pads_filtered):
23031         * tools/gst-launch.c: (main):
23032         * tools/gst-typefind.c: (main):
23033         Use GstClockTime in _get_state() instead of GTimeVal.
23034         Remove old code in gstutils.c
23035
23036 2005-10-12  Andy Wingo  <wingo@pobox.com>
23037
23038         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23039         removed.
23040
23041         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23042         there is no task. Shouldn't affect any code, as nothing in our
23043         plugins checks this return value.
23044         (gst_pad_stop_task): Also take the stream lock if the pad has no
23045         task. Docs updated.
23046
23047 2005-10-12  Wim Taymans  <wim@fluendo.com>
23048
23049         * gst/gstpad.c: (pre_activate), (post_activate),
23050         (gst_pad_activate_pull), (gst_pad_activate_push):
23051         Cleanup activation code. Reset old state if
23052         activation failed.
23053
23054 2005-10-12  Wim Taymans  <wim@fluendo.com>
23055
23056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23057         (gst_base_sink_change_state):
23058         No need to prerol after receiving EOS.
23059
23060         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23061         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23062         * gst/elements/gstidentity.c: (gst_identity_event):
23063         Print events more verbosely.
23064
23065 2005-10-12  Wim Taymans  <wim@fluendo.com>
23066
23067         * check/Makefile.am:
23068         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23069         * check/states/sinks2.c:
23070         Moved sinks2 testcode in sinks check.
23071
23072         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23073         (gst_bin_remove_func), (gst_bin_recalc_state),
23074         (gst_bin_change_state_func), (bin_bus_handler):
23075         Fix potential race condition when _get_state() iterated over an
23076         ASYNC element right before it posted a state completion.
23077
23078         * gst/gstclock.h:
23079         Do proper cast here.
23080
23081         * gst/gstevent.c: (gst_event_new_newsegment),
23082         (gst_event_parse_newsegment):
23083         A playback rate of 0.0 is not allowed.
23084
23085 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23086
23087         * win32/common/config.h:
23088         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23089         (_trewinddir), (_ttelldir), (_tseekdir):
23090         * win32/common/dirent.h:
23091         * win32/common/gtchar.h:
23092         * win32/common/libgstbase.def:
23093         * win32/common/libgstreamer.def:
23094         * win32/vs6/grammar.dsp:
23095         * win32/vs6/gst_inspect.dsp:
23096         * win32/vs6/gst_launch.dsp:
23097         * win32/vs6/gstreamer.dsw:
23098         * win32/vs6/libgstbase.dsp:
23099         * win32/vs6/libgstelements.dsp:
23100         * win32/vs6/libgstreamer.dsp:
23101           Visual Studio 6 project files, and a new common directory.
23102           Phear.
23103
23104 2005-10-11  Wim Taymans  <wim@fluendo.com>
23105
23106         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23107         (gst_base_sink_do_sync), (gst_base_sink_query),
23108         (gst_base_sink_change_state):
23109         * gst/base/gstbasesink.h:
23110         Correctly parse newsegment info.
23111
23112 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23113
23114         * gst/gst.c: (init_post):
23115           split plugin paths correctly
23116
23117 2005-10-11  Wim Taymans  <wim@fluendo.com>
23118
23119         * check/gst/gstevent.c: (GST_START_TEST):
23120         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23121         (gst_base_sink_change_state):
23122         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23123         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23124         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23125         * gst/gstevent.c: (gst_event_new_newsegment),
23126         (gst_event_parse_newsegment):
23127         * gst/gstevent.h:
23128         Added extra flag to newsegment for future API freeze.
23129         Updated check and base elements.
23130
23131 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23132
23133         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23134         (gst_collectpads_add_pad), (gst_collectpads_pop),
23135         (gst_collectpads_event), (gst_collectpads_chain):
23136         * gst/base/gstcollectpads.h: Handle EOS correctly.
23137
23138 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23139
23140         * tools/gst-launch.c: (main):
23141           more null protecting
23142
23143 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23144
23145         * gst/gst-i18n-lib.h:
23146           check for ENABLE_NLS, not GETTEXT_PACKAGE
23147         * gst/gstregistry.c: (gst_registry_add_plugin),
23148         (gst_registry_scan_path_level),
23149         (_gst_registry_remove_cache_plugins):
23150           protect possibly NULL strings
23151         * gst/parse/types.h:
23152           config.h already included before
23153         * tools/gst-inspect.c: (main):
23154           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23155           check for ENABLE_NLS, not GETTEXT_PACKAGE
23156         * tools/gst-launch.c: (main):
23157           check for ENABLE_NLS, not GETTEXT_PACKAGE
23158
23159 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23160
23161         * configure.ac:
23162           if we don't have glib, fail before testing 2.8
23163         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23164           fix a leak, should fix plugins-base testsuite
23165
23166 2005-10-11  Andy Wingo  <wingo@pobox.com>
23167
23168         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23169         take the mode we're going to as an arg. Go head and set the mode
23170         and flushing flags now, so that if the activate function starts a
23171         thread all the flags will be in the right state.
23172         (post_activate): Renamed also. Just handle making sure streaming
23173         finishes for the deactivation case, and setting the deactivated
23174         mode.
23175         (gst_pad_set_active): Complain loudly if deactivation fails.
23176         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23177         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23178         remove the terrible hack.
23179
23180 2005-10-11  Wim Taymans  <wim@fluendo.com>
23181
23182         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23183         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23184         (gst_bin_recalc_state), (gst_bin_change_state_func),
23185         (gst_bin_dispose), (bin_bus_handler):
23186         * gst/gstbin.h:
23187         Prepare to make current EOS message queue more generic.
23188         Fix some typos.
23189
23190         * gst/gstevent.c: (gst_event_new_newsegment),
23191         (gst_event_parse_newsegment):
23192         * gst/gstevent.h:
23193         Rename base to stream_time.
23194
23195         * gst/gstmessage.h:
23196         Fix typo in docs.
23197
23198 2005-10-11  Wim Taymans  <wim@fluendo.com>
23199
23200         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23201         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23202         (gst_bin_change_state_func), (bin_bus_handler):
23203         * gst/gstbin.h:
23204         Work on proper clock selection.
23205
23206 2005-10-11  Edward Hervey  <edward@fluendo.com>
23207
23208         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23209         * libs/gst/controller/gstcontroller.h:
23210         Added GList* version of _remove_properties() in order to be able to wrap
23211         it in bindings.
23212
23213 2005-10-11  Wim Taymans  <wim@fluendo.com>
23214
23215         * docs/design/part-states.txt:
23216         Some more docs.
23217
23218         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23219         (gst_bin_change_state_func), (bin_bus_handler):
23220         Doc updates. Don't distribute the same clock over and over again.
23221
23222         * gst/gstclock.c:
23223         * gst/gstclock.h:
23224         Doc updates.
23225
23226         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23227         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23228         (gst_pad_send_event):
23229         * gst/gstpad.h:
23230         Make probe emission threadsafe again.
23231         Register quarks and move _get_name() from utils.
23232         Doc updates.
23233
23234         * gst/gstpipeline.c: (gst_pipeline_class_init),
23235         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23236         Only redistribute the clock of it changed.
23237
23238         * gst/gstsystemclock.h:
23239         Doc updates. 
23240
23241         * gst/gstutils.c:
23242         * gst/gstutils.h:
23243         Moved the _flow_get_name() to GstPad.
23244
23245 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23246
23247         * check/gst-libs/gdp.c: (GST_START_TEST):
23248         * check/gst/gstcaps.c: (GST_START_TEST):
23249         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23250         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23251         (gst_dp_packet_from_caps):
23252           fix more valgrind warnings before turning up the heat
23253
23254 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23255
23256         * gst/parse/grammar.y:
23257           some cleanup before the hacking
23258
23259 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23260
23261         * gst/base/gstbasesrc.c: (gst_base_src_query):
23262           use conversions
23263         * gst/gstutils.c: (gst_guint64_to_gdouble),
23264         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23265         * gst/gstutils.h:
23266           externalize, basesrc uses it
23267           obviously the implementation needs testing
23268
23269 2005-10-10  Wim Taymans  <wim@fluendo.com>
23270
23271         * tests/sched/Makefile.am:
23272         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23273         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23274
23275 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23276
23277         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23278           apparently converting from guint64 to double is not implemented
23279           on MSVC
23280
23281 2005-10-10  Wim Taymans  <wim@fluendo.com>
23282
23283         * check/Makefile.am:
23284         * check/generic/states.c: (GST_START_TEST):
23285         * check/gst/gstbin.c: (GST_START_TEST):
23286         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23287         * check/states/sinks.c: (GST_START_TEST):
23288         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23289         (main):
23290         Check fixes, use API as stated in design docs, remove hacks.
23291
23292         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23293         (gst_base_sink_change_state):
23294         Catch stopping our task while we're shutting down.
23295
23296         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23297         (gst_bin_remove_func), (gst_bin_get_state_func),
23298         (gst_bin_recalc_state), (gst_bin_change_state_func),
23299         (bin_bus_handler):
23300         * gst/gstbin.h:
23301         * gst/gstelement.c: (gst_element_init),
23302         (gst_element_get_state_func), (gst_element_abort_state),
23303         (gst_element_commit_state), (gst_element_lost_state),
23304         (gst_element_set_state), (gst_element_change_state),
23305         (gst_element_change_state_func):
23306         * gst/gstelement.h:
23307         New state change algorithm (see #318116)
23308
23309         * gst/gstpipeline.c: (gst_pipeline_class_init),
23310         (gst_pipeline_init), (gst_pipeline_set_property),
23311         (gst_pipeline_get_property), (do_pipeline_seek),
23312         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23313         * gst/gstpipeline.h:
23314         Remove crude state change hacks.
23315
23316         * gst/gstutils.h:
23317         Remove crude hacks.
23318
23319         * tools/gst-launch.c: (main):
23320         Fixes for state change. Needs some more work to fully use the
23321         new stuff.
23322
23323 2005-10-10  Andy Wingo  <wingo@pobox.com>
23324
23325         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23326
23327         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23328         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23329         issue.
23330
23331 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23332
23333         * gst/gstiterator.c: (gst_iterator_new):
23334           Fix my previous commit: GTypes passed to gst_iterator_new()
23335           can be fundamental types.
23336
23337 2005-10-10  Wim Taymans  <wim@fluendo.com>
23338
23339         * gst/gstelement.c: (gst_element_iterate_pad_list),
23340         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23341         (gst_element_iterate_sink_pads):
23342         Use src/sink pads lists for the respective iterators instead
23343         of filtering.
23344
23345 2005-10-10  Andy Wingo  <wingo@pobox.com>
23346
23347         Merged in popt removal + GOption addition patch from Ronald, bug
23348         #169772.
23349
23350         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23351         GstElement macros around, remove popt-related symbols, add goption
23352         stuff.
23353
23354         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23355         
23356         * docs/gst/Makefile.am:
23357         * docs/libs/Makefile.am: No POPT_CFLAGS.
23358         
23359         * examples/manual/Makefile.am:
23360         * docs/manual/basics-init.xml: Doc updates with an example.
23361         
23362         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23363         (gst_init), (parse_one_option), (parse_goption_arg):
23364         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23365         bit of hand merging and debugging to get the GOption stuff working
23366         tho.
23367         
23368         * tests/Makefile.am:
23369         * tools/Makefile.am:
23370         * tools/gst-inspect.c: (main):
23371         * tools/gst-launch.c: (main):
23372         * tools/gst-run.c: (main):
23373         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23374
23375 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23376
23377         * gst/gstiterator.c: (gst_iterator_new):
23378           Add assertions to make sure passed GType is likely to really
23379           be a GType (as the compiler won't catch it if the size and
23380           GType arguments get mixed up, see #318447).
23381
23382 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23383
23384         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23385
23386         * gst/gstbin.c: (gst_bin_iterate_sorted):
23387           Pass GType and size arguments to gst_iterator_new() in the right
23388           order (maybe we should make _new() take the GType as first argument
23389           just like _new_list()?) (#318447).
23390           
23391
23392 2005-10-10  Wim Taymans  <wim@fluendo.com>
23393
23394         * gst/gstelement.c: (gst_element_finalize):
23395         And free the GStaticRecMutex too
23396
23397 2005-10-10  Andy Wingo  <wingo@pobox.com>
23398
23399         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23400         Allocate and free the mutex properly.
23401
23402         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23403         New macros.
23404         (GstElement): The state_lock is now recursive. Rebuild your
23405         plugins, suckers. Old macros adapted.
23406
23407         * docs/gst/gstreamer-sections.txt: Doc updates.
23408
23409         * gst/gstutils.h:
23410         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23411         (g_static_rec_cond_wait): Ported from state changes patch, while
23412         we wait on bug #317802 to be solved in a well-distributed GLib.
23413
23414         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23415         gst_element_change_state, variable name changes.
23416         (gst_element_change_state): Split out of gst_element_set_state in
23417         preparation for the state change merge. Doesn't pay attention to
23418         the 'transition' argument.
23419         (gst_element_set_state): Updates, hopefully purely cosmetic.
23420         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23421         state change patch.
23422         (gst_element_get_state_func): Renamed from get_state, cosmetic
23423         changes.
23424
23425 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23426
23427         * gst/elements/gstelements.c:
23428         * win32/GStreamer.vcproj:
23429         * win32/config.h:
23430         * win32/dirent.c: (_tseekdir):
23431         * win32/gst-inspect.vcproj:
23432         * win32/gst-launch.vcproj:
23433         * win32/gstconfig.h:
23434         * win32/gstelements.vcproj:
23435         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23436         * win32/gstreamer.def:
23437         * win32/msvc71.sln:
23438           updates for the win32 build (patch from Sebastien Moutte)
23439
23440 2005-10-10  Andy Wingo  <wingo@pobox.com>
23441
23442         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23443         gst_bin_get_state, cleaned up (but no logic changes).
23444         (bin_element_is_sink): Comment updates.
23445         (sink_iterator_filter): Remove needless cast.
23446         (gst_bin_iterate_sinks): Doc update.
23447         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23448         cleaned up (but no logic changes).
23449
23450         * check/states/sinks.c (test_src_sink): Cleanups from the state
23451         change patch.
23452         (test_livesrc_sink): Sync on the state.
23453
23454         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23455         the state change patch.
23456
23457         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23458         change patch.
23459
23460         * check/gst/gstbin.c: Merge in some style fixes and additional
23461         checks from Wim's state change patch.
23462
23463 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23464
23465         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23466         (gst_type_find_helper):
23467           Check whether we have the requested data already in our list of
23468           cached buffers before pulling a new buffer; also make the buffer
23469           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23470
23471 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23472
23473         * gst/gstcaps.c:
23474         * gst/gstevent.c:
23475           doc updates
23476         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23477           don't use long long, it's not portable.  Replacing with
23478           gint64 seems to work; let's hope no skeletons fall out of the closet.
23479
23480 2005-10-10  Andy Wingo  <wingo@pobox.com>
23481
23482         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23483
23484 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23485
23486         * docs/gst/gstreamer-sections.txt:
23487         * gst/gstevent.c:
23488         * gst/gstevent.h:
23489         * gst/gstinfo.c:
23490         * gst/gstinfo.h:
23491         * gst/gstmessage.c: (gst_message_parse_state_changed):
23492         * gst/gstpad.c:
23493         * gst/gstpad.h:
23494           more docs, fix compilation
23495
23496 2005-10-09  Philippe Khalaf <burger@speedy.org>
23497         * gst/gstmessage.c:
23498           Fixed a few forgotten variables on previous commit
23499
23500 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23501
23502         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23503           Fix evil typefind crasher: getrange() might return a short
23504           buffer at the end of a file, but gst_type_find_peek() must
23505           either return the full data as requested or NULL, but
23506           never a short buffer.
23507
23508 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23509
23510         * gst/gstmessage.c: (gst_message_new_state_changed),
23511         (gst_message_parse_state_changed):
23512         * gst/gstmessage.h:
23513           don't use "new", it's a C++ keyword
23514
23515 2005-10-08  Wim Taymans  <wim@fluendo.com>
23516
23517         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23518         * gst/gstelement.c: (gst_element_post_message):
23519         * gst/gstpipeline.c: (gst_pipeline_change_state):
23520         Small docs and debug updates.
23521
23522 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23523
23524         * docs/gst/gstreamer-sections.txt:
23525         * gst/gstelementfactory.c:
23526         * gst/gstevent.c:
23527         * gst/gsttaglist.c:
23528           more docs
23529
23530 2005-10-08  Wim Taymans  <wim@fluendo.com>
23531
23532         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23533         (gst_bin_dispose), (bin_bus_handler):
23534         Fix typos, add comments.
23535         Clear EOS list when going to PAUSED from any direction and do it
23536         in a threadsafe way.
23537         Get base time in a threadsafe way too.
23538         Fix confusing debug in the change_state function.
23539         Various other small cleanups.
23540         
23541         * gst/gstelement.c: (gst_element_post_message):
23542         Fix very verbose bus posting code.
23543
23544         * gst/gstpipeline.c: (gst_pipeline_class_init),
23545         (gst_pipeline_set_property), (gst_pipeline_get_property),
23546         (gst_pipeline_change_state):
23547         Small ARG_ -> PROP_ cleanup
23548
23549 2005-10-08  Wim Taymans  <wim@fluendo.com>
23550
23551         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23552         Do a less CPU demanding EOS check because we can.
23553
23554 2005-10-08  Wim Taymans  <wim@fluendo.com>
23555
23556         * libs/gst/dataprotocol/dataprotocol.c:
23557         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23558         (gst_dp_packet_from_event):
23559         * libs/gst/dataprotocol/dataprotocol.h:
23560         * libs/gst/dataprotocol/dp-private.h:
23561         It's about time we bump the version number.
23562         Since event types don't fit in the guint8 anymore describing
23563         the payload type, make payload type 16 bits wide.
23564
23565 2005-10-08  Wim Taymans  <wim@fluendo.com>
23566
23567         * docs/design/part-TODO.txt:
23568         * docs/design/part-clocks.txt:
23569         * docs/design/part-events.txt:
23570         * docs/design/part-gstbin.txt:
23571         * docs/design/part-gstelement.txt:
23572         * docs/design/part-gstpipeline.txt:
23573         * docs/design/part-live-source.txt:
23574         * docs/design/part-messages.txt:
23575         * docs/design/part-overview.txt:
23576         * docs/design/part-states.txt:
23577         Many doc updates.
23578
23579 2005-10-08  Wim Taymans  <wim@fluendo.com>
23580
23581         * gst/gstevent.c:
23582         * gst/gstevent.h:
23583         Fix event quark registration.
23584         Add some space between events so we can insert them in the
23585         right groups.
23586
23587 2005-10-08  Wim Taymans  <wim@fluendo.com>
23588
23589         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23590         (gst_base_sink_handle_buffer):
23591         Better log message.
23592
23593         * gst/gstbus.h:
23594         * gst/gstelement.h:
23595         More docs.
23596
23597         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23598         (gst_queue_set_property), (gst_queue_get_property):
23599         * gst/gstqueue.h:
23600         Remove old unused properties.
23601
23602 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23603         * docs/gst/gstreamer-sections.txt:
23604         * gst/gstmessage.c:
23605         * gst/gstmessage.h:
23606         * gst/gstminiobject.c:
23607         * gst/gstminiobject.h:
23608         * gst/gstobject.h:
23609         * gst/gstpad.h:
23610         * gst/gstutils.h:
23611           lots of new docs and doc fixes
23612
23613 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23614
23615         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23616         * gst/gstplugin.h:
23617         * gst/gstregistry.c: (gst_registry_lookup_locked),
23618         (gst_registry_scan_path_level):
23619         * gst/gstregistryxml.c: (load_plugin):
23620           Only ever load one plugin for a given plugin basename.
23621           This ensures correct overriding of GST_PLUGIN_PATH over
23622           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23623           system installed plugins.
23624
23625 2005-10-08  Wim Taymans  <wim@fluendo.com>
23626
23627         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23628         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23629         Prepare for doing QOS.
23630
23631 2005-10-08  Wim Taymans  <wim@fluendo.com>
23632
23633         * check/gst/gstbin.c: (GST_START_TEST):
23634         * check/pipelines/cleanup.c: (GST_START_TEST):
23635         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23636         Allow new clock message too.
23637
23638 2005-10-08  Wim Taymans  <wim@fluendo.com>
23639
23640         * gst/gstmessage.c: (gst_message_new_error),
23641         (gst_message_new_warning), (gst_message_new_tag),
23642         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23643         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23644         (gst_message_new_segment_start), (gst_message_new_segment_done),
23645         (gst_message_parse_state_changed),
23646         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23647         (gst_message_parse_new_clock):
23648         * gst/gstmessage.h:
23649         Also carry the clock in question.
23650
23651 2005-10-08  Wim Taymans  <wim@fluendo.com>
23652
23653         * gst/gstmessage.c: (gst_message_new_custom),
23654         (gst_message_new_eos), (gst_message_new_error),
23655         (gst_message_new_warning), (gst_message_new_tag),
23656         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23657         (gst_message_new_new_clock), (gst_message_new_segment_start),
23658         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23659         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23660         * gst/gstmessage.h:
23661         Clean up.
23662         Added clock related messages.
23663
23664         * gst/gstpipeline.c: (gst_pipeline_change_state):
23665         Post message when the clock changed.
23666
23667         * tools/gst-launch.c: (event_loop):
23668         Print new clock.
23669
23670 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23671
23672         * tools/gst-inspect.c: (print_element_properties_info):
23673           Can't pass NULL strings to g_print() on windows.
23674
23675 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23676
23677         * docs/Makefile.am:
23678         * docs/gst/Makefile.am:
23679         * docs/gst/gstreamer-docs.sgml:
23680         * docs/gst/running.xml:
23681         * docs/version.entities.in:
23682           add a chapter on running GStreamer.
23683           document GST_DEBUG and GST_PLUGIN* env vars
23684
23685 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23686
23687         * Makefile.am:
23688           remove include dir
23689         * configure.ac:
23690           remove PLUGINS_BUILDDIR stuff
23691         * gst/gst.c: (init_post):
23692           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23693         * idiottest.mak:
23694           remove, it was condescending and not needed
23695
23696 2005-10-08  Wim Taymans  <wim@fluendo.com>
23697
23698         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23699         (gst_base_sink_handle_object), (gst_base_sink_event),
23700         (gst_base_sink_wait), (gst_base_sink_handle_event),
23701         (gst_base_sink_change_state):
23702         * gst/base/gstbasesink.h:
23703         Repost EOS message while going to PLAYING if still EOS.
23704         Make sure that when receiving a FLUSH_START we don't attempt
23705         to sync on the clock anymore.
23706
23707 2005-10-08  Wim Taymans  <wim@fluendo.com>
23708
23709         * tools/gst-launch.c: (event_loop):
23710         Better message printout.
23711
23712 2005-10-08  Wim Taymans  <wim@fluendo.com>
23713
23714         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23715         (gst_bin_child_proxy_get_children_count):
23716         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23717         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23718         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23719         (gst_child_proxy_set_valist):
23720         * gst/parse/grammar.y:
23721         Make ChildProxy threadsafe and fix mem leaks.
23722
23723 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23724
23725         * gst/gst.c: (init_post):
23726           debug the GST_PLUGIN_ env vars
23727
23728 2005-10-08  Wim Taymans  <wim@fluendo.com>
23729
23730         * check/gst/gstbin.c: (GST_START_TEST):
23731         * check/gst/gstmessage.c: (GST_START_TEST):
23732         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23733         * gst/gstelement.c: (gst_element_commit_state),
23734         (gst_element_lost_state):
23735         * gst/gstmessage.c: (gst_message_new_state_changed),
23736         (gst_message_parse_state_changed):
23737         * gst/gstmessage.h:
23738         * tools/gst-launch.c: (event_loop):
23739         Added extra field to STATE_CHANGE message with the pending
23740         state, which will be different from the new state soon.
23741
23742 2005-10-08  Wim Taymans  <wim@fluendo.com>
23743
23744         * gst/gstbus.c: (gst_bus_pop):
23745         * gst/gstclock.c:
23746         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23747         Small cleanups and doc updates.
23748
23749 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23750
23751         * gst/gst.c: (init_pre):
23752         * gst/gstbin.c: (gst_bin_add_func):
23753           log distributing clocks and base time
23754         * gst/gstregistry.c: (gst_registry_add_plugin),
23755         (gst_registry_scan_path_level), (gst_registry_scan_path):
23756           clean up the debugging output a little
23757         * gst/gstutils.c: (gst_element_state_get_name):
23758           warn about a memleak (I've actually seen this be used, though
23759           it was probably a bug)
23760
23761 2005-10-07  Wim Taymans  <wim@fluendo.com>
23762
23763         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23764         (gst_base_src_init), (gst_base_src_default_newsegment),
23765         (gst_base_src_newsegment), (gst_base_src_do_seek),
23766         (gst_base_src_loop), (gst_base_src_start):
23767         * gst/base/gstbasesrc.h:
23768         Make the newsegment event customizable by subclasses.
23769
23770 2005-10-07  Wim Taymans  <wim@fluendo.com>
23771
23772         * gst/gstevent.c: (gst_event_new_buffersize),
23773         (gst_event_parse_buffersize):
23774         * gst/gstevent.h:
23775         New event for future idea.
23776
23777 2005-10-07  Andy Wingo  <wingo@pobox.com>
23778
23779         * gst/gstelement.c (gst_element_post_message): Doc update.
23780
23781         * docs/gst/gstreamer-sections.txt: Update.
23782
23783         * gst/gstmessage.c (gst_message_new_application): Made into a
23784         function like honest API calls.
23785         (gst_message_new_element): New message type.
23786
23787         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23788
23789         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23790         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23791         times.
23792
23793         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23794         NO_PREROLL from gst_element_change_state to fall through.
23795
23796 2005-10-07  Wim Taymans  <wim@fluendo.com>
23797
23798         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23799         (gst_ghost_pad_do_activate_push):
23800         Activating a ghostpad with no internal pad in push mode
23801         is ok.
23802
23803 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23804
23805         * gst/gstobject.h:
23806           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23807           Fixes compilation on Windows.
23808
23809 2005-10-07  Michael Smith <msmith@fluendo.com>
23810
23811         * tools/gst-inspect.c:
23812           Print out feature and plugin count at the end when printing out
23813           all features.
23814
23815 2005-10-04  Michael Smith <msmith@fluendo.com>
23816
23817         * gst/gsterror.c: (_gst_stream_errors_init):
23818           Add another error string used in a few existing plugins.
23819
23820         * gst/gstplugin.c:
23821         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23822         * tools/gst-inspect.c: (print_element_info):
23823           When a feature disappears from a plugin (and the feature exists in
23824           the cached registry file), things went horribly wrong. This isn't a
23825           complete fix, we should actually be removing the 'missing' features
23826           from the features list when we load the actual plugin. That's not
23827           yet implemented. 
23828
23829 2005-10-04  Johan Dahlin  <johan@gnome.org>
23830
23831         * check/gst/gstiterator.c: (GST_START_TEST):
23832         * gst/gstbin.c: (gst_bin_iterate_elements),
23833         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23834         * gst/gstelement.c: (gst_element_iterate_pads):
23835         * gst/gstformat.c: (gst_format_iterate_definitions):
23836         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23837         (gst_iterator_new_list), (gst_iterator_filter):
23838         * gst/gstiterator.h:
23839         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23840         Add a GType to GstIterator, update callsites and tests.
23841
23842 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23843
23844         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23845           give events a chance to be handled by event probes when the pad
23846           is not linked
23847
23848 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23849
23850         * gst/gstevent.c: (gst_event_type_get_name),
23851         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23852         * gst/gstevent.h:
23853           add string representations for event types
23854
23855 2005-10-06  Wim Taymans  <wim@fluendo.com>
23856
23857         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23858         Don't use NULL pointers.
23859
23860 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23861
23862         * gst/gst_private.h:
23863         * gst/gstbus.c:
23864         * gst/gstelement.c:
23865         * gst/gstinfo.c:
23866         * gst/gstpluginfeature.c:
23867           widen the debug category in output to fit the biggest one we have
23868           add a bus category and use it
23869           play with the colors
23870           fix up some categories
23871
23872 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23873
23874         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23875           add push activation of sink ghost pads.
23876           Andye, please verify
23877
23878 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23879
23880         * gst/gstutils.c: (gst_element_link_pads):
23881           fix a bug in the case where neither element has a pad
23882         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23883           add a test for that case
23884
23885 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23886
23887         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23888           emit have-data before checking for peers.  This allows
23889           for probe handlers to connect elements.  This helps autopluggers.
23890         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23891         (gst_pad_suite):
23892           add six checks, linked/unlinked with no/true/false probe
23893
23894 2005-10-04  Wim Taymans  <wim@fluendo.com>
23895
23896         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23897         (gst_fake_sink_event), (gst_fake_sink_preroll),
23898         (gst_fake_sink_render), (gst_fake_sink_change_state):
23899         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23900         (gst_fake_src_get_property), (gst_fake_src_create),
23901         (gst_fake_src_stop):
23902         * gst/elements/gstidentity.c: (gst_identity_stop):
23903         Protect last_message with lock.
23904
23905 2005-10-04  Edward Hervey  <edward@fluendo.com>
23906
23907         * gst/gstformat.h: 
23908         Added precision in the comments for GST_FORMAT_DEFAULT
23909
23910 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23911
23912         * tools/gst-launch.c: (main):
23913           Don't try to run erroneous pipelines.
23914
23915 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23916
23917         * gst/gstbus.c: We don't need this header.
23918
23919 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23920
23921         * configure.ac:
23922           back to development
23923
23924 === release 0.9.3 ===
23925
23926 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23927
23928         * README:
23929         * configure.ac:
23930           Releasing 0.9.3, "Unregistered"
23931
23932 2005-10-03  Andy Wingo  <wingo@pobox.com>
23933
23934         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23935         whereby calling a pad's activatepush() function can start a thread
23936         that starts to push or pull before the pad gets the FLUSHING flag
23937         unset. Hack around it by holding the stream lock until the flag is
23938         set. Need to replace this with a proper solution. Together with
23939         the ghost pad fixes, this fixes mp3 playing/tagreading.
23940
23941         * docs/design/part-gstghostpad.txt: Add a note about activation of
23942         proxy pads outside of ghost pads.
23943
23944         * gst/gstghostpad.c: Implement the ghost pad activation design.
23945
23946 2005-10-02  Andy Wingo  <wingo@pobox.com>
23947
23948         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23949         It is volatile, after all.
23950
23951         * docs/design/part-gstghostpad.txt: Flesh out activation with
23952         ghost pads.
23953
23954         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23955         GST_DEBUG_FUNCPTR.
23956
23957 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23958
23959         * configure.ac:
23960           Fix (unused) AM_CONDITIONAL tests.
23961
23962 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23963
23964         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23965
23966         * gst/gstutils.c: (gst_pad_query_convert):
23967           Add assertion that makes sure src_val is >=0, just like
23968           gst_query_new_convert() has. (#315895)
23969
23970 2005-09-30  Edward Hervey  <edward@fluendo.com>
23971
23972         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23973         Let's not iterate pads we're not interested in, it avoids getting 
23974         sky-high refcounts on sinkpad.
23975
23976 2005-09-30  Wim Taymans  <wim@fluendo.com>
23977
23978         * gst/gstelement.c: (gst_element_set_state),
23979         (gst_element_change_state):
23980         Small tweak, element in ASYNC remains ASYNC.
23981
23982 2005-09-30  Wim Taymans  <wim@fluendo.com>
23983
23984         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23985         Only error is an error.
23986
23987         * gst/gstbin.c: (gst_bin_change_state):
23988         Better debugging.
23989
23990         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23991         Also call pad_block in pad alloc.
23992
23993         * gst/gstutils.c: (gst_flow_get_name):
23994         Better debugging.
23995
23996 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
23997
23998         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23999         (gst_base_src_get_range):
24000           Fix documentation typos. Add some more debug info.
24001
24002 2005-09-29  David Schleef  <ds@schleef.org>
24003
24004         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24005           more end-user friendly.
24006         * tools/gst-inspect.c: (main): Check if command-line argument is
24007           a file and attempt to load that file as a plugin.
24008
24009 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24010
24011         * check/gst/gstbin.c:
24012         * check/states/sinks.c:
24013           fix tests for the new warning
24014         * check/gst/gstpipeline.c:
24015           add a test for pipeline and bus interaction
24016         * gst/gstelement.c:
24017           elements should be NULL if they get disposed; add a warning if not
24018
24019 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24020
24021         * gst/gstobject.c:
24022           for 2.6 refcounting, make debug log more correct by printing
24023           the actual refcounts at the time of swap (Wim)
24024
24025 2005-09-29  Andy Wingo  <wingo@pobox.com>
24026
24027         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24028         removes signal watches previously added via
24029         gst_bus_add_signal_watch.
24030         (gst_bus_add_signal_watch): Don't return the source id, just store
24031         it on the bus if there wasn't an id already.
24032
24033         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24034         add_signal_watch and remove_signal_watch.
24035
24036 2005-09-29  Edward Hervey  <edward@fluendo.com>
24037
24038         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24039         Better if we actually iterate the list :)
24040
24041 2005-09-29  Wim Taymans  <wim@fluendo.com>
24042
24043         * check/gst/gstbin.c: (GST_START_TEST):
24044         Change for new bus API.
24045
24046         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24047         (send_messages), (GST_START_TEST), (gstbus_suite):
24048         Change for new bus signal API.
24049
24050         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24051         (gst_bus_source_prepare), (gst_bus_source_check),
24052         (gst_bus_create_watch), (gst_bus_add_watch_full),
24053         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24054         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24055         * gst/gstbus.h:
24056         Remove support for multiple GSources operating on different
24057         message types as it is too complex and unneeded when using
24058         signals.
24059         Added support for receiving signals from the bus.
24060
24061 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24062
24063         * docs/libs/tmpl/gstdataprotocol.sgml:
24064         * docs/manual/advanced-dataaccess.xml:
24065         * gst/elements/gstcapsfilter.c:
24066         * gst/gstutils.c:
24067           rename filter-caps to caps property
24068
24069 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24070
24071         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24072           More robust fraction string parsing.
24073
24074         * docs/pwg/appendix-porting.xml:
24075           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24076
24077 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24078
24079         * gst/gstcaps.c: (gst_caps_do_simplify):
24080           Thou shalt not free a structure and then continue using it
24081           in the next loop iteration.
24082
24083         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24084         (gst_caps_suite):
24085           Add test case for caps simplification.
24086
24087 2005-09-29  Wim Taymans  <wim@fluendo.com>
24088
24089         * check/gst/gstbin.c: (GST_START_TEST):
24090         Oops.
24091
24092 2005-09-29  Wim Taymans  <wim@fluendo.com>
24093
24094         * check/gst/gstbin.c: (GST_START_TEST):
24095         Add bus to bin.
24096
24097         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24098         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24099         (find_element), (gst_bin_sort_iterator_next),
24100         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24101         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24102         (gst_bin_change_state), (gst_bin_dispose):
24103         A bin does not have a bus, it gets the bus from the parent.
24104
24105         * gst/gstelement.c: (gst_element_requires_clock),
24106         (gst_element_provides_clock), (gst_element_is_indexable),
24107         (gst_element_is_locked_state), (gst_element_change_state),
24108         (gst_element_set_bus_func):
24109         Small cleanups.
24110
24111         * gst/gstpipeline.c: (gst_pipeline_class_init),
24112         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24113         The pipeline provides a bus.
24114
24115 2005-09-28  Johan Dahlin  <johan@gnome.org>
24116
24117         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24118         gst_structure_get_enum instead of gst_structure_get_int
24119
24120         * gst/gststructure.c (gst_structure_get_enum): Impl.
24121
24122         * gst/gststructure.h (gst_structure_get_enum): Add
24123
24124         * docs/gst/gstreamer-sections.txt: Ditto
24125
24126         * gst/gstmessage.c (gst_message_new_state_changed): Use
24127         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24128         which does introspection.
24129         Reviewed by Christian Schaller
24130
24131 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24132
24133         * gst/gstinfo.c: (gst_debug_log_default):
24134           don't do dummy g_strdup()s
24135         * libs/gst/controller/gstcontroller.c:
24136         (on_object_controlled_property_changed),
24137         (gst_controlled_property_new), (gst_controller_new_valist),
24138         (gst_controller_new_list),
24139         (gst_controller_remove_properties_valist), (gst_controller_set),
24140         (gst_controller_get), (gst_controller_sync_values),
24141         (gst_controller_get_value_array), (_gst_controller_class_init),
24142         (gst_controller_get_type):
24143         * libs/gst/controller/gstcontroller.h:
24144         * libs/gst/controller/gstinterpolation.c:
24145         (gst_controlled_property_find_timed_value_node):
24146           convert // to /**/ comments
24147
24148 2005-09-28  Wim Taymans  <wim@fluendo.com>
24149
24150         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24151         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24152         (gst_bus_sync_signal_handler):
24153         * gst/gstbus.h:
24154         Added async-message and sync-message signals to the bus.
24155         Added helper BusFunc to emit signals for all posted messages.
24156
24157         * gst/gstmessage.c: (gst_message_type_get_name),
24158         (gst_message_type_to_quark), (gst_message_get_type):
24159         * gst/gstmessage.h:
24160         Register quarks for message names.
24161
24162 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24163
24164         * docs/libs/gstreamer-libs-sections.txt:
24165         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24166         (gst_controller_new_list):
24167         * libs/gst/controller/gstcontroller.h:
24168           added another constructor for language bindings
24169
24170 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24171
24172         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24173           add another check
24174         * gst/gstbus.c:
24175           add some doc
24176         * gst/gstinfo.c: (_gst_debug_init):
24177           slightly more readable color for refcount debugging
24178
24179 2005-09-28  Wim Taymans  <wim@fluendo.com>
24180
24181         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24182         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24183         (find_element), (gst_bin_sort_iterator_next),
24184         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24185         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24186         (gst_bin_change_state), (gst_bin_dispose):
24187         Small doc fixes. get_clock -> provide_clock.
24188
24189         * gst/gstelement.c: (gst_element_class_init),
24190         (gst_element_provides_clock), (gst_element_provide_clock),
24191         (gst_element_get_clock), (gst_element_commit_state),
24192         (gst_element_lost_state):
24193         * gst/gstelement.h:
24194         Make get/set_clock() symetric. Add provide_clock vmethod since
24195         that is actually what this function does.
24196
24197         * gst/gstpipeline.c: (gst_pipeline_class_init),
24198         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24199         (gst_pipeline_get_clock):
24200         get_clock -> provide_clock.
24201
24202 2005-09-28  Andy Wingo  <wingo@pobox.com>
24203
24204         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24205         lieu of real docs...
24206
24207         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24208
24209 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24210
24211         * gst/elements/gstcapsfilter.c:
24212         * gst/elements/gstfakesink.c:
24213         * gst/elements/gstfakesrc.c:
24214         * gst/elements/gstfdsink.c:
24215         * gst/elements/gstfdsrc.c:
24216         * gst/elements/gstfilesink.c:
24217         * gst/elements/gstfilesrc.c:
24218         * gst/elements/gstidentity.c:
24219         * gst/elements/gsttee.c:
24220         * gst/elements/gsttypefindelement.c:
24221           Make element details static.
24222
24223 2005-09-28  Wim Taymans  <wim@fluendo.com>
24224
24225         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24226         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24227         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24228         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24229         (gst_bin_change_state), (gst_bin_dispose):
24230         Some documentation updates.
24231         Clean up dispose handlers.
24232
24233         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24234         * gst/gstpad.c: (gst_pad_dispose):
24235         Clean up dispose handler.
24236
24237         * gst/gstpipeline.c: (gst_pipeline_change_state):
24238         Removed spurious UNLOCK.
24239
24240 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24241
24242         * docs/gst/gstreamer-sections.txt:
24243         * gst/base/gstbasesrc.h:
24244         * gst/gstelement.h:
24245         * gst/gstevent.h:
24246         * gst/gstobject.h:
24247         * gst/gstpad.h:
24248         * gst/gstpipeline.c:
24249         * gst/gstpipeline.h:
24250         * gst/gstutils.h:
24251         * gst/gstxml.h:
24252           added two new functions to the docs
24253                 documents all undocumented GstXXXFlags
24254                 completed some incomplete docs 
24255
24256 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24257
24258         * gst/gstbin.c: (gst_bin_dispose):
24259         * gst/gstelement.c: (gst_element_dispose):
24260           remove now useless and leaky resurrection code in dispose
24261         * gst/base/gstbasesrc.c: (gst_base_src_init):
24262         * gst/gstelementfactory.c: (gst_element_factory_create):
24263         * gst/gstobject.c: (gst_object_set_parent):
24264           add some debugging
24265
24266 2005-09-27  Wim Taymans  <wim@fluendo.com>
24267
24268         * docs/design/part-TODO.txt:
24269         Update TODO.
24270
24271         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24272         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24273         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24274         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24275         (gst_bin_change_state):
24276         * gst/gstelement.h:
24277         Remove element variable, we keep element info in the iterator now.
24278
24279 2005-09-27  Andy Wingo  <wingo@pobox.com>
24280
24281         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24282         values.
24283
24284 2005-09-27  Wim Taymans  <wim@fluendo.com>
24285
24286         * check/gst/gstbin.c: (GST_START_TEST):
24287         Enable check that works now.
24288
24289         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24290         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24291         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24292         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24293         (gst_bin_change_state):
24294         * gst/gstbin.h:
24295         Redid the state change algorithm using a topological sort algo.
24296         Handles all cases correctly.
24297         Exposed iterator for state change order.
24298
24299         * gst/gstelement.h:
24300         Temp storage for state changes. Need to get rid of this soon.
24301
24302 2005-09-27  Wim Taymans  <wim@fluendo.com>
24303
24304         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24305         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24306         (link_fold_func), (gst_pad_proxy_setcaps):
24307         Leak fixes, the fold functions need to unref the passed object and
24308         _get_parent_*() returns ref to parent.
24309
24310 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24311
24312         * check/gst/gstbuffer.c: (test_make_writable):
24313           Plug leak in test case and fix 'make check-valgrind'
24314
24315 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24316
24317         * gst/gstbuffer.c: (gst_subbuffer_init):
24318           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24319           works correctly in all circumstances (we could have just copied
24320           the parent buffer's readonly flag, but conceptually it seems
24321           cleaner to mark all subbuffers as read-only). (based on patch
24322           by Alessandro Decina, #314710).
24323         
24324         * check/gst/gstbuffer.c: (create_read_only_buffer),
24325         (test_make_writable), (test_subbuffer_make_writable),
24326         (gst_test_suite):
24327           Add some tests for gst_buffer_make_writable().
24328
24329 2005-09-27  Wim Taymans  <wim@fluendo.com>
24330
24331         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24332         use gst_object_has_ancestor().
24333
24334         * gst/gstobject.c: (gst_object_has_ancestor):
24335         * gst/gstobject.h:
24336         gst_object_has_ancestor() copied from gstbin.c as it is a
24337         useful function.
24338
24339         * tests/instantiate/create.c: (create_all_elements):
24340         * tests/lat.c: (handoff_src), (handoff_sink):
24341         * tests/sched/runxml.c: (main):
24342         * tests/seeking/seeking1.c: (main):
24343         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24344         (main):
24345         Fix compilation of some tests.
24346
24347 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24348
24349         * gst/gsterror.h:
24350           Remove comment. GST_TYPE_G_ERROR is here to stay,
24351           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24352           (#316961, #300610).
24353
24354 2005-09-26  Wim Taymans  <wim@fluendo.com>
24355
24356         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24357         Added check that shows error in state change order.
24358
24359 2005-09-26  Wim Taymans  <wim@fluendo.com>
24360
24361         * gst/gstbin.c: (gst_bin_change_state):
24362         Make state change function use 3 queues again, we were
24363         adding elements in the wrong order.
24364
24365         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24366         Some debug info,
24367
24368         * gst/gstpad.c: (gst_pad_dispose):
24369         Added some debug info first.
24370
24371 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24372
24373         * docs/design/draft-push-pull.txt:
24374         * docs/design/part-events.txt:
24375         * docs/design/part-overview.txt:
24376         * docs/design/part-scheduling.txt:
24377           Replace all _pull_region() with _pull_range()
24378           
24379 2005-09-26  Andy Wingo  <wingo@pobox.com>
24380
24381         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24382
24383         * check/gst-libs/controller.c: Update for controller api change.
24384
24385         * configure.ac: 
24386         * tests/Makefile.am:
24387         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24388         over by GLib bug 118439.
24389         
24390         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24391         routines to a function.
24392
24393         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24394
24395         * libs/gst/controller/gsthelper.c:
24396         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24397         (gst_object_sync_values): Renamed from sink_values. Ugh.
24398
24399         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24400
24401         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24402         Renamed from controller_key, as it is exported.
24403
24404         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24405
24406 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24407
24408         * gst/Makefile.am:
24409         * gst/gst.h:
24410         * gst/gstpad.h:
24411         * gst/gstpadtemplate.h:
24412         * gst/gstquery.c:
24413         * gst/gstquery.h:
24414         * gst/gstqueryutils.c:
24415         * gst/gstqueryutils.h:
24416           remove queryutils headers after moving the two used functions
24417           to gstquery.  also fixes build problem for gstsiddec
24418
24419 2005-09-26  Michael Smith <msmith@fluendo.com>
24420
24421         * tools/gst-launch.1.in:
24422         Correct documentation in manpage of debug syntax
24423
24424 2005-09-26  Wim Taymans  <wim@fluendo.com>
24425
24426         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24427         (gst_base_src_is_seekable), (gst_base_src_change_state):
24428         Some more debugging info.
24429
24430 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24431
24432         * docs/gst/gstreamer-sections.txt:
24433         * gst/base/gstbasetransform.h:
24434         * gst/gstindex.h:
24435           added more docs
24436
24437 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24438
24439         * docs/gst/.cvsignore:
24440         * docs/gst/tmpl/.cvsignore:
24441         * docs/gst/tmpl/gstpipeline.sgml:
24442         * docs/gst/tmpl/gstplugin.sgml:
24443         * gst/gstpipeline.c:
24444         * gst/gstplugin.c:
24445         * gst/gstplugin.h:
24446           inlined the last two docs files
24447           removed the tmpl directory from cvs (no more conflicts here!)
24448
24449 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24450
24451         * docs/gst/gstreamer-sections.txt:
24452         * docs/gst/tmpl/.cvsignore:
24453         * docs/gst/tmpl/gstpad.sgml:
24454         * docs/gst/tmpl/gstpadtemplate.sgml:
24455         * gst/Makefile.am:
24456         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24457         (gst_pad_finalize), (gst_pad_set_pad_template):
24458         * gst/gstpad.h:
24459         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24460         (gst_pad_template_class_init), (gst_pad_template_init),
24461         (gst_pad_template_dispose), (name_is_valid),
24462         (gst_static_pad_template_get), (gst_pad_template_new),
24463         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24464         (gst_pad_template_pad_created):
24465         * gst/gstpadtemplate.h:
24466           inlined two more docs
24467           factored gstpadtemplate out of gstpad
24468
24469 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24470
24471         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24472         (test_children_state_change_order_semi_sink):
24473           Fix test case: we can't rely on a fixed state change order when
24474           going from READY => PAUSED because the sink might commit its 
24475           new state first when the first buffer created by the source 
24476           reaches the sink before the source has finished its change state.
24477           (Test case still fails at times, see #316856, comment 5 onwards)
24478
24479 2005-09-24  Wim Taymans  <wim@fluendo.com>
24480
24481         * docs/design/part-events.txt:
24482         * docs/design/part-gstbus.txt:
24483         * docs/design/part-gstpipeline.txt:
24484         * docs/design/part-messages.txt:
24485         * docs/design/part-overview.txt:
24486         * docs/design/part-segments.txt:
24487         * gst/gstbin.c:
24488         * gst/gstbuffer.c:
24489         * gst/gstclock.c:
24490         * gst/gstelement.c:
24491         * gst/gstevent.c:
24492         * gst/gstfilter.c:
24493         * gst/gstiterator.c:
24494         Various documentation updates.
24495
24496 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24497
24498         * gst/gstclock.h:
24499           Well, that's embarassing.  Luckily we weren't using
24500           GST_CLOCK_DIFF anywhere.
24501
24502 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24503
24504         * common/gtk-doc.mak:
24505           don't fail on building XML, FC4 slave shows a bunch of doc
24506           missing bits that I don't get
24507         * gst/gstpad.c:
24508         * gst/gstpipeline.c:
24509         * gst/gststructure.c:
24510           some doc updates
24511
24512 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24513
24514         * docs/design/part-gstbin.txt:
24515         * docs/design/part-gstbus.txt:
24516         * gst/gstbus.c:
24517           Add blurb about how the bus goes into flushing mode and
24518           drops all messages when its bin goes from READY into NULL 
24519           state.
24520
24521 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24522
24523         * docs/gst/gstreamer-sections.txt:
24524         * gst/gststructure.c: (gst_structure_get_clock_time):
24525         * gst/gststructure.h:
24526           add a method to get a GstClockTime out of a structure
24527
24528 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24529
24530         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24531         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24532           Added test to check state change order in bins (can still be made
24533           to fail here under heavy disk load; bails out with 'Push on pad
24534           fakesink:sink0, but it was not activated in push mode').
24535
24536         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24537           Fix state change order when there is only a semi sink (#316856)
24538
24539         * gst/gstbus.c: (gst_bus_class_init):
24540           Use _class_peek_parent(), not _class_ref(); fix docs to say
24541           'default main context' instead of 'mainloop' where that is
24542           what's meant.
24543
24544         * gst/gstelement.c: (gst_element_commit_state),
24545         (gst_element_set_state):
24546           Fix typos in debug messages
24547
24548 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24549
24550         * docs/README:
24551         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24552         * gst/gstpluginfeature.c:
24553         * gst/gstutils.c:
24554           various doc updates
24555         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24556           change an assert into an error until it gets fixed properly
24557
24558 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24559
24560         * docs/gst/gstreamer-sections.txt:
24561         * docs/gst/tmpl/.cvsignore:
24562         * docs/gst/tmpl/gstelement.sgml:
24563         * docs/gst/tmpl/gstinfo.sgml:
24564         * docs/gst/tmpl/gstobject.sgml:
24565         * gst/gstelement.c:
24566         * gst/gstelement.h:
24567         * gst/gstinfo.c:
24568         * gst/gstinfo.h:
24569         * gst/gstobject.c: (gst_object_class_init):
24570         * gst/gstobject.h:
24571           inlined 3 more biiiig doc files and added some missing docs on the fly
24572
24573 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24574
24575         * check/gst/.cvsignore:
24576         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24577         * gst/gstregistryxml.c: (load_plugin),
24578         (gst_registry_xml_save_plugin):
24579           put back source in registry.  add checks for find_plugin.
24580         * testsuite/states/bin.c: (assert_state), (empty_bin),
24581         (test_adding_one_element), (main):
24582         * testsuite/states/locked.c: (main):
24583           some compile/run fixes
24584
24585 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24586
24587         * check/gst/gstvalue.c: (GST_START_TEST):
24588           fix leaks in the test itself
24589
24590 2005-09-22  Wim Taymans  <wim@fluendo.com>
24591
24592         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24593         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24594         (gst_base_sink_query):
24595         Prepare for more accurate position reporting and query
24596         handling.
24597
24598         * gst/gstelement.c: (gst_element_send_event),
24599         (gst_element_set_state):
24600         Add some comment.
24601
24602 2005-09-22  Wim Taymans  <wim@fluendo.com>
24603
24604         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24605         (gst_query_parse_segment):
24606         * gst/gstquery.h:
24607         More documentation.
24608         Add segment query for future use.
24609
24610 2005-09-22  Wim Taymans  <wim@fluendo.com>
24611
24612         * gst/gstbin.c: (gst_bin_add_func):
24613         Some more debug info.
24614
24615         * gst/gstelement.c: (gst_element_send_event):
24616         Simplify send_event
24617
24618         * gst/gstelement.h:
24619         Don't know how flags got broken.
24620
24621         * gst/gstquery.h:
24622         Added new query.
24623
24624 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24625
24626         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24627           Add simplistic test suite for GST_TYPE_DATE serialisation and
24628           deserialisation.
24629
24630 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24631
24632         * docs/gst/gstreamer-sections.txt:
24633         * gst/gststructure.c: (gst_structure_set_valist),
24634         (gst_structure_get_date):
24635         * gst/gststructure.h:
24636         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24637         (gst_date_copy), (gst_value_compare_date),
24638         (gst_value_serialize_date), (gst_value_deserialize_date),
24639         (gst_value_transform_date_string),
24640         (gst_value_transform_string_date), (_gst_value_initialize):
24641         * gst/gstvalue.h:
24642           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24643           bunch of utility functions along with a hack that checks that
24644           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24645           is required. Part of the grand scheme in #170777.
24646
24647 2005-09-22  Andy Wingo  <wingo@pobox.com>
24648
24649         * gst/gstconfig.h.in: Psych out gtk-doc.
24650
24651         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24652
24653         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24654
24655         * tools/gst-inspect.c (print_element_list): Plug some
24656         inconsequential leaks.
24657
24658         * gst/gstregistry.c (gst_registry_get_default): Doc.
24659
24660         * check/gst/gstplugin.c: 
24661         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24662         * gst/gstelementfactory.c (gst_element_factory_create): 
24663         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24664         refcount changes.
24665
24666         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24667         (gst_plugin_feature_load): Doc, don't eat refs.
24668
24669         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24670         (gst_plugin_list_free): Doc.
24671         (gst_plugin_load_file): Doc updates.
24672
24673         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24674         accessors returning refcounted objects, return a ref.
24675
24676         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24677         accessor for caps. IDEMPOTENCE. Oh yes.
24678
24679 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24680
24681         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24682
24683         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24684         (_gst_debug_register_funcptr):
24685           Add mutex to serialise access to the hash table with
24686           the function pointer => function name string mapping;
24687           make that hash table static scope (#316809).
24688
24689         * gst/registries/.cvsignore:
24690           Remove left-over file.
24691
24692 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24693
24694         * docs/pwg/appendix-porting.xml:
24695           And something about newsegment events and caps-on-buffers to
24696           the porting guide (feel free to improve).
24697
24698 2005-09-21  Andy Wingo  <wingo@pobox.com>
24699
24700         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24701         data and event probes on the same pad.
24702         (test_buffer_probe_once): Test that removing probes from within
24703         the probe functions works.
24704
24705 2005-09-21  Andy Wingo  <wingo@pobox.com>
24706
24707         * check/gst/gstutils.c: New file.
24708         (test_buffer_probe_n_times): A simple buffer probe test. More to
24709         come, foolios.
24710
24711         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24712         have-data::buffer, not have-data.
24713         (gst_pad_add_event_probe): Likewise for have-data::event.
24714         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24715         peer' isn't quite right yet though.
24716         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24717         (gst_pad_remove_data_probe): Change to take the guint handler_id
24718         as their arg, not the function+data, which is more glib-like.
24719
24720         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24721         the signal emission to indicate if the data is a buffer or an
24722         event.
24723         (gst_pad_get_type): Initialize buffer and event quarks.
24724         (gst_pad_class_init): have-data is now a detailed signal, yes it
24725         is.
24726
24727 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24728
24729         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24730         * gst/gstutils.c: (gst_util_set_value_from_string),
24731         (gst_util_set_object_arg):
24732           Don't put functional code in g_return_if_fail() or
24733           g_return_val_if_fail() statements, otherwise things will 
24734           break when G_DISABLE_CHECKS is defined during compilation.
24735
24736 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24737
24738         * docs/gst/tmpl/.cvsignore:
24739         * docs/gst/tmpl/gstvalue.sgml:
24740         * gst/gstvalue.c:
24741         * gst/gstvalue.h:
24742           inlied another one and added  some obvious docs
24743
24744 2005-09-21  Wim Taymans  <wim@fluendo.com>
24745
24746         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24747         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24748         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24749         (gst_fdsrc_get_property), (gst_fdsrc_create):
24750         * gst/elements/gstfdsrc.h:
24751         Properly implement fdsrc. Removed signal and timeout,
24752         better implemented somewhere else.
24753
24754 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24755
24756         * docs/gst/tmpl/.cvsignore:
24757         * docs/gst/tmpl/gstimplementsinterface.sgml:
24758         * gst/gstinterface.c:
24759           inlined more docs
24760
24761 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24762
24763         * docs/gst/gstreamer-sections.txt:
24764         * docs/gst/tmpl/.cvsignore:
24765         * docs/gst/tmpl/gstenumtypes.sgml:
24766           remove obsolete doc file
24767
24768 2005-09-21  David Schleef  <ds@schleef.org>
24769
24770         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24771         little beer, fix a little leak.
24772
24773 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24774
24775         * docs/gst/gstreamer-docs.sgml:
24776         * docs/gst/gstreamer-sections.txt:
24777         * docs/gst/tmpl/.cvsignore:
24778         * gst/Makefile.am:
24779         * gst/gst.h:
24780         * gst/gstbin.c:
24781         * gst/gstelement.h:
24782         * gst/gstindex.c: (gst_index_class_init):
24783         * gst/gstindex.h:
24784         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24785         (gst_index_factory_class_init), (gst_index_factory_init),
24786         (gst_index_factory_finalize), (gst_index_factory_new),
24787         (gst_index_factory_destroy), (gst_index_factory_find),
24788         (gst_index_factory_create), (gst_index_factory_make):
24789         * gst/gstindexfactory.h:
24790         * gst/gstpluginfeature.c:
24791         * gst/gstpluginfeature.h:
24792         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24793           more docs inlined, splitted gstindex.{c,h}
24794
24795 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24796
24797         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24798           fix a leak
24799
24800 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24801
24802         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24803           Set sync to FALSE by default.
24804
24805 2005-09-20  Wim Taymans  <wim@fluendo.com>
24806
24807         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24808         (gst_base_sink_init):
24809         Make sync property settable from subclass.
24810
24811         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24812         (gst_fake_sink_change_state):
24813         Set sync to FALSE by default.
24814
24815 2005-09-20  Wim Taymans  <wim@fluendo.com>
24816
24817         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24818         * tools/gst-launch.c: (main):
24819         The timeout handler should have lower priority than the source
24820         so we don't timeout before popping a message with 0 timeout.
24821         Dump error messages after failed state change.
24822
24823 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24824
24825         * tools/gst-inspect.c: (print_element_properties_info):
24826           Fix two typos.
24827
24828 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24829
24830         * check/gst/gstevent.c:
24831         * gst/elements/gstfakesink.c:
24832         * gst/elements/gstfakesink.h:
24833           remove the sync property from fakesink.
24834           has the side effect of setting sync TRUE
24835           for fakesink, which is a change.  Anyone who knows how
24836           to fix this nicely in a GObject-y way, feel free.
24837
24838 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24839
24840         * docs/gst/gstreamer-docs.sgml:
24841           remove probe refsection
24842
24843 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24844
24845         * check/Makefile.am:
24846           disable valgrinding the controller test again
24847         * docs/gst/gstreamer-sections.txt:
24848           update for api-changes
24849
24850 2005-09-20  Wim Taymans  <wim@fluendo.com>
24851
24852         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24853         (gst_base_sink_set_property), (gst_base_sink_get_property),
24854         (gst_base_sink_do_sync):
24855         * gst/base/gstbasesink.h:
24856         Added sync property to basesink to disable clock sync.
24857
24858 2005-09-20  Andy Wingo  <wingo@pobox.com>
24859
24860         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24861         eating the caller's refcount.
24862
24863         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24864         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24865         refcount.
24866
24867         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24868         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24869         of GLib 2.8 public, so we can know which refcount to check in
24870         tests.
24871
24872         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24873         (gst_object_init): Only set the gst refcount if we're going ahead
24874         with the refcount hack.
24875
24876 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24877
24878         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24879         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24880           more leaks plumbed, added more debug-logging
24881         * gst/gstmacros.h:
24882           whitespace fix
24883
24884 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24885
24886         * gst/gstmessage.c:
24887           remove include of gstmemchunk.h
24888
24889 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24890
24891         * gst/gstclock.c: (_gst_clock_id_free):
24892           Commit from the Political Party For More Atomic CVS Commits,
24893           so that people don't waste too much of their day fishing
24894           out obvious leaks out of massive commits.
24895           Oh, and fix a pretty damn obvious leak in the memchunk
24896           removal code.
24897
24898 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24899
24900         * check/Makefile.am:
24901         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24902           plug mem-leak, re-add to valgrindable tests
24903
24904 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24905
24906         * gst/gstplugin.h:
24907           unbreak the build for those who have chronic arthritis
24908           and typing "make check" is just too taxing on the hands
24909
24910 2005-09-20  Andy Wingo  <wingo@pobox.com>
24911
24912         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24913         really want it out, you should fix plugins at the same time.
24914
24915 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24916
24917         * configure.ac:
24918         * docs/gst/gstreamer-sections.txt:
24919         * gst/gstobject.c:
24920           added missing symbols to api docs
24921           disable ref-count hack if we have glib >= 2.8
24922
24923 2005-09-19  David Schleef  <ds@schleef.org>
24924
24925         * docs/gst/Makefile.am: Ignore a few more internal headers
24926         * docs/gst/gstreamer-docs.sgml: Remove old sections
24927         * docs/gst/gstreamer-sections.txt: Remove old sections
24928         * docs/gst/tmpl/gstobject.sgml: update
24929         * docs/gst/tmpl/gstplugin.sgml: update
24930         * docs/gst/tmpl/gstpluginfeature.sgml: update
24931         * docs/random/ds/0.9-suggested-changes: update.
24932         * gst/Makefile.am: remove memchunk and trashstack, since they're
24933           not used.
24934         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24935         * gst/gst.h: don't include some headers
24936         * gst/gstchildproxy.c: add gstmarshal.h
24937         * gst/gstclock.c: Don't use memchunks
24938         * gst/gstminiobject.c: Add some docs
24939         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24940         * gst/gstobject.h: same
24941         * gst/gstplugin.c: include gstmacros.h
24942         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24943         * gst/gstquery.c: don't use memchunks
24944         * gst/gstregistry.c: rename gst_registry_deinit()
24945         * gst/gstregistry.h: same
24946
24947 2005-09-19  David Schleef  <ds@schleef.org>
24948
24949         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24950         * docs/libs/gstreamer-libs-sections.txt:
24951         * docs/libs/tmpl/gstgetbits.sgml:
24952         * docs/libs/tmpl/gstputbits.sgml:
24953
24954 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24955
24956         * win32/gstenumtypes.c:
24957         * win32/gstenumtypes.h:
24958           Update.
24959
24960 2005-09-19  Wim Taymans  <wim@fluendo.com>
24961
24962         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24963         Automatically PAUSE and RESUME a pipeline when a flushing seek
24964         is performed.
24965
24966 2005-09-19  Andy Wingo  <wingo@pobox.com>
24967
24968         * gst/gstregistry.h: Spacing fixen.
24969
24970 2005-09-19  Wim Taymans  <wim@fluendo.com>
24971
24972         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24973         Handle state change failure more correctly.
24974
24975 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24976
24977         * check/Makefile.am:
24978         * check/pipelines/cleanup.c: (run_pipeline):
24979         * check/pipelines/simple_launch_lines.c: (run_pipeline),
24980         (GST_START_TEST):
24981           enable cleanup again after fixing the leak
24982         * docs/README:
24983           some more info on docs
24984
24985 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24986
24987         * check/Makefile.am:
24988           re-enable tests now that leaks are plugged
24989         * check/gst/gst.c:
24990         * check/gst/gstbin.c:
24991         * check/gst/gstpipeline.c:
24992           add some more tests while fixing leaks
24993         * common/check.mak:
24994           make sure binaries are uptodate when valgrinding/gdbing
24995         * gst/gst.c:
24996         * gst/gstelementfactory.c:
24997           remove a ref too many, and add a FIXME for when we get
24998           round to disposing of classes
24999         * gst/gstplugin.c:
25000           fix the refcounting when loading a plugin from a file and
25001           the code pretends that the pointer is the same even though
25002           of course it can change
25003         * gst/gstpluginfeature.c:
25004           unref plugins marked cached (a bit confusing as a name)
25005           as the docs state should be done
25006           various doc additions to explain refcounting
25007         * gst/gstregistry.c:
25008         * gst/gstregistryxml.c:
25009           debugging
25010
25011 2005-09-19  Wim Taymans  <wim@fluendo.com>
25012
25013         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25014         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25015         (send_messages), (GST_START_TEST), (gstbus_suite):
25016         * check/gst/gstpipeline.c: (GST_START_TEST):
25017         * check/pipelines/cleanup.c: (run_pipeline):
25018         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25019         (GST_START_TEST):
25020         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25021         (gst_bus_source_check), (gst_bus_source_dispatch),
25022         (gst_bus_create_watch), (gst_bus_add_watch_full),
25023         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25024         * gst/gstbus.h:
25025         * tools/gst-launch.c: (event_loop):
25026         * tools/gst-md5sum.c: (event_loop):
25027         GstBusHandler -> GstBusFunc, return value has the same meaning as
25028         any other GSource (FALSE == remove source).
25029         _add_watch() and _add_watch_full() now take a MessageType mask to
25030         only handle specific types of messages.
25031         _poll() returns the GstMessage instead of the message type to avoid
25032         race conditions.
25033         _have_pending() takes a MessageType mask now too.
25034         Added testsuite for multiple bus watches.
25035         Fix testsuites and applications for new bus API.
25036
25037 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25038
25039         * check/Makefile.am:
25040           mark a bunch of the tests as to fix until we fix them
25041
25042 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25043
25044         * common/check.mak:
25045           use GST_PLUGIN settings for valgrind tests as well, so we're
25046           valgrinding the correct thing
25047         * gst/gst.c: (init_post):
25048           plug another leak
25049
25050 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25051
25052         * gst/gst.c: (init_post), (gst_deinit):
25053         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25054         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25055         * gst/gstindex.c: (gst_index_factory_class_init),
25056         (gst_index_factory_finalize):
25057         * gst/gstobject.c: (gst_object_dispose):
25058         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25059         (gst_plugin_load_file), (gst_plugin_desc_free):
25060         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25061         (gst_plugin_feature_finalize):
25062         * gst/gstregistry.c: (gst_registry_class_init),
25063         (gst_registry_init), (gst_registry_finalize),
25064         (gst_registry_get_default), (gst_registry_deinit):
25065         * gst/gstregistry.h:
25066         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25067           various cleanups and memleak plugging.  make valgrind is happy now.
25068
25069 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25070
25071         * common/check.mak:
25072           add a check-valgrind target
25073
25074 2005-09-18  David Schleef  <ds@schleef.org>
25075
25076         * tools/gst-inspect.c: Revert the GOption code.
25077
25078 2005-09-17  David Schleef  <ds@schleef.org>
25079
25080         * check/Makefile.am: Fix environment variables.
25081         * check/gst/gstplugin.c: Fix for API changes.
25082         * tools/gst-inspect.c: Fix for API changes.
25083         * tools/gst-xmlinspect.c: Fix for API changes.
25084         * gst/gstelementfactory.c:
25085         * gst/gstplugin.c:
25086         * gst/gstplugin.h:
25087         * gst/gstpluginfeature.c:
25088         * gst/gstpluginfeature.h:
25089         * gst/gstregistry.c:
25090         * gst/gstregistry.h:
25091         * gst/gstregistryxml.c:
25092         * gst/gsttypefind.c:
25093         * gst/gsttypefindfactory.c:
25094         * gst/indexers/gstfileindex.c:
25095         * gst/indexers/gstmemindex.c:
25096         * gst/schedulers/Makefile.am:
25097           Change registry to keep track of both plugins and features,
25098           removing the feature tracking from plugins themselves.
25099
25100 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25101
25102         * check/Makefile.am:
25103         * tools/gst-register.1.in:
25104           remove gst-register
25105
25106 2005-09-15  David Schleef  <ds@schleef.org>
25107
25108         * check/gst/gstplugin.c:
25109         * gst/gstelementfactory.c:
25110         * gst/gstplugin.c:
25111         * gst/gstpluginfeature.c:
25112         * gst/gstregistry.c:
25113           Getting tired of debugging.  Disabled all the unreffing of
25114           plugins and features, which fixes the segfaults, but of
25115           course leaks like crazy.  At least playbin works.
25116
25117 2005-09-15  David Schleef  <ds@schleef.org>
25118
25119         * check/gst/gstplugin.c: (register_check_elements),
25120         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25121         More testing
25122         * gst/elements/gsttypefindelement.c: Fix refcounting.
25123         * gst/gsttypefind.c:
25124         * gst/gsttypefindfactory.c:
25125         * gst/gsttypefindfactory.h:
25126
25127 2005-09-15  David Schleef  <ds@schleef.org>
25128
25129         * gst/gstindex.c: get refcounting correct.
25130         * gst/gstregistry.c: Handle the case where a feature/plugin is
25131           not found.
25132
25133 2005-09-15  David Schleef  <ds@schleef.org>
25134
25135         * check/Makefile.am:
25136         * check/gst/gstplugin.c: Add test
25137         * gst/gstplugin.c: Fix problems noticed by testsuite
25138         * gst/gstplugin.h:
25139         * gst/gstregistry.c: 
25140         * gst/gstregistry.h:
25141
25142 2005-09-15  David Schleef  <ds@schleef.org>
25143
25144         * gst/gstplugin.c: Implement semi-decent recounting and locking
25145           in plugins and plugin features.
25146         * gst/gstplugin.h:
25147         * gst/gstpluginfeature.c:
25148         * gst/gstpluginfeature.h:
25149         * gst/gstregistry.c:
25150
25151 2005-09-15  Michael Smith <msmith@fluendo.com>
25152
25153         * gst/gstregistry.c: (gst_registry_get_feature_list):
25154           Implement this. Makes oggdemux work; decodebin still broken.
25155
25156 2005-09-14  David Schleef  <ds@schleef.org>
25157
25158         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25159           #316076)
25160         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25161         * gst/check/Makefile.am:
25162         * libs/gst/controller/Makefile.am:
25163         * libs/gst/dataprotocol/Makefile.am:
25164
25165 2005-09-14  David Schleef  <ds@schleef.org>
25166
25167         * configure.ac: Remove getbits library.  Nothing uses it, and
25168           it should be in something like liboil if someone did want
25169           to use it.
25170         * libs/gst/Makefile.am:
25171         * libs/gst/getbits/Makefile.am:
25172         * libs/gst/getbits/gbtest.c:
25173         * libs/gst/getbits/getbits.c:
25174         * libs/gst/getbits/getbits.h:
25175         * libs/gst/getbits/gstgetbits_generic.c:
25176         * libs/gst/getbits/gstgetbits_i386.s:
25177         * libs/gst/getbits/gstgetbits_inl.h:
25178
25179 2005-09-14  David Schleef  <ds@schleef.org>
25180
25181         * gst/Makefile.am: Dist glib-compat.h
25182
25183 2005-09-14  David Schleef  <ds@schleef.org>
25184
25185         * configure.ac: Remove gst/registries, since it's no longer used.
25186         * gst/registries/Makefile.am:
25187         * gst/registries/gstlibxmlregistry.c:
25188         * gst/registries/gstlibxmlregistry.h:
25189         * gst/registries/gstxmlregistry.c:
25190         * gst/registries/gstxmlregistry.h:
25191         * gst/registries/registrytest.c:
25192
25193 2005-09-14  David Schleef  <ds@schleef.org>
25194
25195         * gst/glib-compat.h:
25196         * gst/gstregistryxml.c:
25197           Convergence is near.  Seriously.
25198
25199 2005-09-14  David Schleef  <ds@schleef.org>
25200
25201         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25202         * gst/glib-compat.h:
25203           Attempt #4 to appease the buildbots.
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           Attempt #3.
25209
25210 2005-09-14  David Schleef  <ds@schleef.org>
25211
25212         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25213         Attempt #2.
25214
25215 2005-09-14  David Schleef  <ds@schleef.org>
25216
25217         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25218           the new functions.
25219
25220 2005-09-14  David Schleef  <ds@schleef.org>
25221
25222         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25223         * gst/glib-compat.h: Add some functions that are in newer versions
25224           of glib than we care to require.
25225         * gst/gstregistryxml.c: Use them.
25226
25227 2005-09-14  David Schleef  <ds@schleef.org>
25228
25229         * po/POTFILES.in: remove gst-register.c
25230
25231 2005-09-14  David Schleef  <ds@schleef.org>
25232
25233         * docs/gst/gstreamer-docs.sgml:
25234         * docs/gst/gstreamer-sections.txt:
25235         * docs/gst/gstreamer.types:
25236         * docs/gst/tmpl/gstelement.sgml:
25237         * docs/gst/tmpl/gstplugin.sgml:
25238         * docs/gst/tmpl/gstpluginfeature.sgml:
25239           Documentation updates for registry changes.
25240
25241 2005-09-14  David Schleef  <ds@schleef.org>
25242
25243         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25244           because we don't require glib-2.8.
25245
25246 2005-09-14  David Schleef  <ds@schleef.org>
25247
25248         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25249           registries directory.
25250
25251 2005-09-14  David Schleef  <ds@schleef.org>
25252
25253         * check/Makefile.am:
25254         * check/generic/states.c:
25255         * gst/Makefile.am:
25256         * gst/gst.c:
25257         * gst/gst.h:
25258         * gst/gst_private.h:
25259         * gst/gstelementfactory.c:
25260         * gst/gstindex.c:
25261         * gst/gstinfo.c:
25262         * gst/gstplugin.c:
25263         * gst/gstplugin.h:
25264         * gst/gstpluginfeature.c:
25265         * gst/gstpluginfeature.h:
25266         * gst/gstregistry.c:
25267         * gst/gstregistry.h:
25268         * gst/gstregistrypool.c: remove
25269         * gst/gstregistrypool.h: remove
25270         * gst/gsttypefind.c:
25271         * gst/gsttypefindfactory.c:
25272         * gst/gsturi.c:
25273         * tools/Makefile.am:
25274         * tools/gst-compprep.c:
25275         * tools/gst-inspect.c:
25276         * tools/gst-register.c: remove
25277         * tools/gst-xmlinspect.c:
25278           Registry rewrite.  Changes registry from being a file created
25279           by a tool into a simple cache file created automatically by 
25280           libgstreamer.  Removed gst-register (because it's no longer
25281           needed).  Remove registry pools, because we only have one
25282           registry implementation (XML).  Fix up other subsystems as
25283           necessary.
25284
25285 2005-09-13  Michael Smith <msmith@fluendo.com>
25286
25287         * gst/gstconfig.h.in:
25288           Don't Use windows linking attributes for MinGW. Fixes #316157
25289
25290 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25291
25292         * gst/gstutils.c: (set_state_async_thread_func),
25293         (gst_element_set_state_async):
25294           Apparently people think it's better if this function doesn't
25295           try to set the state to whatever state was asked for on the first
25296           call to this function for any object.  Seriously.
25297
25298 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25299
25300         * check/gst/gstpipeline.c: (GST_START_TEST):
25301         * docs/gst/gstreamer-sections.txt:
25302         * gst/gstutils.c: (set_state_async_thread_func),
25303         (gst_element_set_state_async):
25304         * gst/gstutils.h:
25305           add a "gst_element_set_state_async" method that
25306           sets the state and starts a thread to make sure the state
25307           change completes as best as it can
25308
25309 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25310
25311         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25312           codify design+behaviour in testsuite after discussion
25313
25314 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25315
25316         * docs/gst/tmpl/gstelement.sgml:
25317         * docs/manual/appendix-quotes.xml:
25318           add a quote
25319         * gst/gstelement.c: (gst_element_set_state):
25320           add some debug
25321
25322 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25323
25324         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25325         (gst_base_transform_prepare_output_buf),
25326         (gst_base_transform_handle_buffer):
25327         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25328         (gst_capsfilter_prepare_buf):
25329           Remove the requirement for sub-classes to call the parent
25330           implementation of prepare_output_buffer with a wrapper function.
25331           
25332         * gst/gsttaglist.h:
25333         * gst/gsttagsetter.h:
25334           Fix #define wrapper
25335
25336 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25337
25338         * docs/gst/gstreamer-sections.txt:
25339           more doc cleanups
25340
25341 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25342
25343         * docs/gst/gstreamer-sections.txt:
25344         * docs/gst/tmpl/gstelement.sgml:
25345         * docs/gst/tmpl/gstplugin.sgml:
25346         * gst/gstminiobject.c:
25347         * gst/gstvalue.h:
25348           docs now stop throwing warnings
25349
25350 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25351
25352         * docs/gst/gstreamer-sections.txt:
25353         * docs/gst/gstreamer.types:
25354         * docs/gst/tmpl/gstpad.sgml:
25355         * docs/gst/tmpl/gsttypes.sgml:
25356         * gst/base/gstadapter.h:
25357         * gst/base/gstbasesink.h:
25358         * gst/base/gstbasesrc.h:
25359         * gst/gstbin.h:
25360         * gst/gstbuffer.h:
25361         * gst/gstbus.h:
25362         * gst/gstcaps.h:
25363         * gst/gstclock.h:
25364         * gst/gstelement.h:
25365         * gst/gstevent.h:
25366         * gst/gstmessage.h:
25367         * gst/gstpad.h:
25368         * gst/gststructure.c:
25369         * gst/registries/gstlibxmlregistry.h:
25370           various documentation fixes
25371
25372 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25373
25374         * docs/gst/gstreamer-sections.txt:
25375         * docs/gst/tmpl/gstvalue.sgml:
25376           rearrange gstvalue section
25377         * gst/gstutils.c: (gst_element_state_get_name):
25378           NONE -> VOID
25379         * gst/gstvalue.c: (_gst_value_initialize):
25380         * gst/gstvalue.h:
25381           doc updates
25382
25383 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25384
25385         * check/gst-libs/controller.c:
25386           Header include fix.
25387         * gst/base/gstbasetransform.c:
25388         (gst_base_transform_default_prepare_buf),
25389         (gst_base_transform_handle_buffer):
25390         * gst/base/gstbasetransform.h:
25391           Some more basetransform changes and fixes to enable sub-classes
25392           that modify buffer metadata only.
25393         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25394         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25395         (gst_capsfilter_prepare_buf):
25396           If the output pad has fixed allowed caps and input buffers 
25397           don't have any, set the fixed caps on outgoing buffers.
25398
25399 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25400         * check/elements/identity.c: (GST_START_TEST):
25401           Make the error a little clearer when the test fails because
25402           identity made a copy of the buffer.
25403         * docs/gst/gstreamer-sections.txt:
25404           New symbols in gstbasetransform.h
25405         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25406         (gst_base_transform_init), (gst_base_transform_transform_size),
25407         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25408         (gst_base_transform_default_prepare_buf),
25409         (gst_base_transform_get_unit_size),
25410         (gst_base_transform_buffer_alloc),
25411         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25412         (gst_base_transform_change_state),
25413         (gst_base_transform_set_passthrough),
25414         (gst_base_transform_set_in_place),
25415         (gst_base_transform_is_in_place):
25416         * gst/base/gstbasetransform.h:
25417           Change BaseTransform to separate in_place operate from same_caps
25418           output. in_place implies that the element can perform the transform
25419           on incoming buffers in-place, even if the caps on the output are
25420           different.
25421           Sub-class elements can now implement special buffer allocation
25422           methods for outgoing buffers if they wish to.
25423           Big documentation addition.
25424         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25425         * gst/elements/gstelements.c:
25426           Changes for basetransform modifications.
25427         * gst/elements/Makefile.am:
25428         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25429           Compile fix. Extra debug output.
25430
25431 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25432
25433         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25434         (gst_pad_suite):
25435           add tests for valid pad naming
25436         * gst/check/gstcheck.c: (gst_check_log_message_func),
25437         (gst_check_log_critical_func):
25438           add ASSERT_WARNING
25439           remove printing of code, it is fragile when the code contains
25440           % and the line number is enough info
25441         * gst/check/gstcheck.h:
25442         * gst/gstpad.c: (gst_pad_template_new):
25443           fix memleaks
25444
25445 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25446
25447         * configure.ac:
25448           say what CHECK flags we use
25449         * docs/libs/gstreamer-libs.types:
25450         * libs/gst/controller/Makefile.am:
25451         * libs/gst/controller/gst-controller.c:
25452         * libs/gst/controller/gst-controller.h:
25453         * libs/gst/controller/gst-helper.c:
25454         * libs/gst/controller/gst-interpolation.c:
25455         * libs/gst/controller/gstcontroller.c:
25456         * libs/gst/controller/gsthelper.c:
25457         * libs/gst/controller/gstinterpolation.c:
25458         * tools/gst-inspect.c: (print_plugin_info):
25459           we don't use dashes in header names
25460
25461 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25462
25463         * check/Makefile.am:
25464         * check/gst/.cvsignore:
25465         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25466         (gst_pipeline_suite), (main):
25467           adding a test for pipelines and state changes
25468         * gst/gstutils.c: (get_state_func):
25469           add some debugging
25470         * gstreamer.spec.in:
25471           fix up spec file
25472
25473 2005-09-08  Michael Smith <msmith@fluendo.com>
25474
25475         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25476         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25477         (gst_file_src_is_seekable), (gst_file_src_get_size),
25478         (gst_file_src_start):
25479         * gst/elements/gstfilesrc.h:
25480           Various fixes for unseekable, unmmapable, and non-normal files, so
25481           that fallback to read() rather than mmap() works.
25482         * gst/gstevent.c: (gst_event_new_newsegment):
25483           Allow newsegment events with segment_start == segment_end, as will
25484           correctly happen if you use filesrc on a zero-size file, for
25485           example.
25486
25487 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25488
25489         * gst/gstplugin.c: (gst_plugin_load_file):
25490           Call g_module_close when we don't load the module
25491
25492         * gst/registries/gstlibxmlregistry.c:
25493         (gst_xml_registry_get_property):
25494           Port leak fix from 0.8
25495
25496 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25497
25498         * docs/gst/gstreamer-docs.sgml:
25499         * docs/gst/tmpl/.cvsignore:
25500         * docs/gst/tmpl/gsttrace.sgml:
25501         * docs/gst/tmpl/gsttrashstack.sgml:
25502         * gst/Makefile.am:
25503         * gst/gst.h:
25504         * gst/gstelement.h:
25505         * gst/gstevent.h:
25506         * gst/gstmessage.c:
25507         * gst/gstmessage.h:
25508         * gst/gsttag.c:
25509         * gst/gsttag.h:
25510         * gst/gsttaginterface.c:
25511         * gst/gsttaginterface.h:
25512         * gst/gsttaglist.c:
25513         * gst/gsttaglist.h:
25514         * gst/gsttagsetter.c:
25515         * gst/gsttagsetter.h:
25516         * gst/gsttrace.c:
25517         * gst/gsttrace.h:
25518         * gst/gsttrashstack.c:
25519           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25520           inlined docs for gsttrace, gsttrashstack
25521
25522 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25523
25524         * gst/Makefile.am:
25525         * gst/elements/gstbufferstore.h:
25526         * gst/elements/gsttypefindelement.c:
25527         * gst/elements/gsttypefindelement.h:
25528         * gst/gst.h:
25529         * gst/gsttypefind.c:
25530         * gst/gsttypefind.h:
25531         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25532         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25533         (gst_type_find_factory_dispose),
25534         (gst_type_find_factory_unload_thyself),
25535         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25536         (gst_type_find_factory_get_caps),
25537         (gst_type_find_factory_get_extensions),
25538         (gst_type_find_factory_call_function):
25539         * gst/gsttypefindfactory.h:
25540         * gst/registries/gstlibxmlregistry.c:
25541         * gst/registries/gstxmlregistry.c:
25542           splitted gsttypefind into gsttypefind, gsttypefindfactory
25543
25544 2005-09-07  Andy Wingo  <wingo@pobox.com>
25545
25546         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25547         condition whereby the pad's task function is entered before the
25548         pad_mode variable was set.
25549
25550 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25551
25552         * gst/gstpad.c: (gst_pad_alloc_buffer):
25553           Catch misbehaving pad_alloc functions that don't
25554           set up caps and do it for them.
25555
25556 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25557
25558         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25559           test for pipe!=NULL
25560         * docs/gst/tmpl/.cvsignore:
25561         * docs/gst/tmpl/gstmemchunk.sgml:
25562         * docs/gst/tmpl/gstparse.sgml:
25563         * docs/gst/tmpl/gsttaglist.sgml:
25564         * docs/gst/tmpl/gsttagsetter.sgml:
25565         * docs/gst/tmpl/gsttypefind.sgml:
25566         * docs/gst/tmpl/gsttypefindfactory.sgml:
25567         * gst/gstmemchunk.c:
25568         * gst/gstparse.c:
25569         * gst/gsttag.c:
25570         * gst/gsttaginterface.c:
25571         * gst/gsttypefind.c:
25572         * gst/gsttypefind.h:
25573           inlined more docs
25574
25575 === release 0.9.2 ===
25576
25577 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25578
25579         * NEWS:
25580         * RELEASE:
25581         * configure.ac:
25582           releasing 0.9.2, "South"
25583
25584 2005-09-05  Andy Wingo  <wingo@pobox.com>
25585
25586         * gst/registries/gstxmlregistry.h:
25587         * gst/registries/gstxmlregistry.c: Um... resurrect...
25588         
25589         * gst/registries/gstxmlregistry.h:
25590         * gst/registries/gstxmlregistry.c: and update to newer API.
25591         Incidentally they should be a bit faster now that they don't have
25592         to parse the caps.
25593         
25594 2005-09-05  Andy Wingo  <wingo@pobox.com>
25595
25596         * gst/registries/gstxmlregistry.h:
25597         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25598         replaced by the libxml registry a while back
25599
25600 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25601
25602         * docs/gst/tmpl/gstplugin.sgml:
25603         * gst/elements/gstelements.c:
25604         * gst/gst.c:
25605         * gst/gstplugin.c: (gst_plugin_register_func),
25606         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25607         (gst_plugin_get_source):
25608         * gst/gstplugin.h:
25609         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25610         (gst_xml_registry_save_plugin):
25611         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25612         (gst_xml_registry_save_plugin):
25613         * tools/gst-inspect.c: (print_plugin_info):
25614           add a "source" plugin description field, to represent the source
25615           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25616           will set it to PACKAGE, which is automake's idea of the name of
25617           the source project.
25618
25619 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25620
25621         * Makefile.am:
25622         * autogen.sh:
25623         * configure.ac:
25624         * docs/Makefile.am:
25625         * docs/faq/Makefile.am:
25626         * docs/gst/tmpl/gstelement.sgml:
25627         * docs/gst/tmpl/gsttypes.sgml:
25628         * docs/htmlinstall.mak:
25629         * docs/manual/Makefile.am:
25630         * docs/pwg/Makefile.am:
25631           reorganize doc build a little
25632           split out docbook and gtk-doc stuff
25633           have two separate --enable's and enable them through autogen
25634           but disable by default in configure (to be similar to other
25635           projects)
25636         * gstreamer.spec.in:
25637           clean up docs install
25638         * po/af.po:
25639         * po/az.po:
25640         * po/ca.po:
25641         * po/cs.po:
25642         * po/de.po:
25643         * po/en_GB.po:
25644         * po/fr.po:
25645         * po/it.po:
25646         * po/nb.po:
25647         * po/nl.po:
25648         * po/ru.po:
25649         * po/sq.po:
25650         * po/sr.po:
25651         * po/sv.po:
25652         * po/tr.po:
25653         * po/uk.po:
25654         * po/vi.po:
25655           translation updates
25656
25657 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25658
25659         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25660           Add comment.
25661           
25662         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25663         (gst_fake_sink_change_state):
25664           Make state change function thread-safe.
25665           
25666         * gst/gstpad.c: (gst_pad_alloc_buffer):
25667           Set offset on generic buffer allocated by fallback.
25668
25669 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25670
25671         * docs/gst/gstreamer-sections.txt:
25672         * docs/gst/tmpl/gstelement.sgml:
25673         * gst/gstpad.c:
25674         * libs/gst/controller/gst-controller.c:
25675         (gst_controlled_property_set_interpolation_mode),
25676         (gst_controlled_property_new),
25677         (gst_controller_find_controlled_property):
25678          run the wingo-magic script against the docs
25679
25680 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25681
25682         * docs/gst/gstreamer-docs.sgml:
25683         * docs/gst/gstreamer-sections.txt:
25684         * docs/gst/tmpl/.cvsignore:
25685         * docs/gst/tmpl/gstelementdetails.sgml:
25686         * docs/gst/tmpl/gstelementfactory.sgml:
25687         * gst/gst.c:
25688         * gst/gstbus.c:
25689         * gst/gstelementfactory.c:
25690         * gst/gstelementfactory.h:
25691           merged elementdetails docs into elementfactory docs
25692           inlined both
25693
25694 2005-09-02  Andy Wingo  <wingo@pobox.com>
25695
25696         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25697         consider this enum an enum and not a flags.
25698
25699 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25700
25701         * docs/gst/gstreamer-docs.sgml:
25702         * docs/gst/tmpl/.cvsignore:
25703         * docs/gst/tmpl/gstghostpad.sgml:
25704         * docs/gst/tmpl/gstiterator.sgml:
25705         * docs/gst/tmpl/gstmacros.sgml:
25706         * docs/gst/tmpl/gstrealpad.sgml:
25707         * docs/gst/tmpl/gstregistry.sgml:
25708         * docs/gst/tmpl/gstregistrypool.sgml:
25709         * docs/gst/tmpl/gststructure.sgml:
25710         * docs/gst/tmpl/gstsystemclock.sgml:
25711         * docs/gst/tmpl/gsttrace.sgml:
25712         * gst/gstghostpad.c:
25713         * gst/gstmacros.h:
25714         * gst/gstmemchunk.c:
25715         * gst/gstmemchunk.h:
25716         * gst/gstqueue.c:
25717         * gst/gstregistry.c:
25718         * gst/gstregistrypool.c:
25719         * gst/gststructure.c:
25720         * gst/gstsystemclock.c:
25721           more docs inlined
25722
25723 2005-09-02  Andy Wingo  <wingo@pobox.com>
25724
25725         * gst/gstelement.h (GstState): Renamed from GstElementState,
25726         changed to be a normal enum instead of flags.
25727         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25728         munged to be GST_STATE_CHANGE_*.
25729         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25730         work with the new state representation.
25731         (GstStateChange): New enumeration of possible state transitions.
25732         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25733         (GstElementClass::change_state): Pass the GstStateChange along as
25734         an argument. Helps language bindings, so they don't have to use
25735         tricky lock-needing macros like GST_STATE_CHANGE ().
25736
25737         * scripts/update-states (file): New script. Run it on a file to
25738         update it for state naming and API changes. Updates files in
25739         place.
25740
25741         * All files updated for the new API.
25742
25743 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25744
25745         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25746         * gst/gstutils.c: (gst_util_set_value_from_string),
25747         (gst_util_set_object_arg):
25748           fix a bunch of unchecked return values
25749         * tools/gst-complete.c: (main):
25750         * gstreamer.spec.in:
25751           clean up a little
25752
25753 2005-09-01  Wim Taymans  <wim@fluendo.com>
25754
25755         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25756         (gst_base_sink_event), (gst_base_sink_do_sync),
25757         (gst_base_sink_handle_event):
25758         * gst/base/gstbasesink.h:
25759         Handle newsegments more correctly.
25760
25761         * gst/gstbus.c:
25762         Fix docs.
25763
25764         * gst/gstevent.c: (gst_event_new_newsegment):
25765         A newsegment cannot have a start_time of -1
25766
25767 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25768
25769         * win32/gstenumtypes.c:
25770         * win32/gstenumtypes.h:
25771           Update
25772
25773 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25774
25775         * libs/gst/controller/gst-controller.c:
25776         (gst_controlled_property_set_interpolation_mode),
25777         (gst_controlled_property_new):
25778          fixed boolean again
25779
25780 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25781
25782         * docs/faq/gst-uninstalled:
25783           add -good
25784         * gst/gstevent.c:
25785         * gst/gstevent.h:
25786           remove wrong docs
25787         * gst/gstutils.c: (gst_element_link_filtered):
25788         * gst/gstutils.h:
25789           add gst_element_link_filtered
25790
25791 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25792
25793         * docs/gst/gstreamer-docs.sgml:
25794         * docs/gst/gstreamer-sections.txt:
25795         * docs/gst/tmpl/.cvsignore:
25796         * docs/gst/tmpl/gsterror.sgml:
25797         * docs/gst/tmpl/gstfilter.sgml:
25798         * docs/gst/tmpl/gsturihandler.sgml:
25799         * docs/gst/tmpl/gsturitype.sgml:
25800         * docs/gst/tmpl/gstutils.sgml:
25801         * docs/gst/tmpl/gstxml.sgml:
25802         * gst/gsterror.c:
25803         * gst/gsterror.h:
25804         * gst/gstfilter.c:
25805         * gst/gsturi.c:
25806         * gst/gsturitype.c:
25807         * gst/gstutils.c:
25808         * gst/gstxml.c:
25809           inlined more docs, fixed double id-ref
25810
25811 2005-08-31  Wim Taymans  <wim@fluendo.com>
25812
25813         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25814         (gst_base_transform_handle_buffer):
25815         Passthrough elements don't need the caps as they don't care.
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), (gst_base_transform_chain):
25821         Don't leak refcounts on buffers.
25822
25823 2005-08-31  Wim Taymans  <wim@fluendo.com>
25824
25825         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25826         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25827         (gst_base_transform_chain), (gst_base_transform_change_state):
25828         * gst/base/gstbasetransform.h:
25829         Handle the case where we are not negotiated more gracefully.
25830
25831 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25832
25833         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25834         (gst_file_src_map_region):
25835           Set READONLY flag on mmap'ed buffers, otherwise
25836           gst_buffer_make_writable() won't work properly (#314708).
25837
25838 2005-08-31  Wim Taymans  <wim@fluendo.com>
25839
25840         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25841         passthrough elements can even do inplace on non writable
25842         buffers (as they don't touch them).
25843
25844 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25845
25846         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25847         (gst_test_mono_source_set_property),
25848         (gst_test_mono_source_class_init), (GST_START_TEST),
25849         (gst_controller_suite):
25850           more tests (hehe I have the most)
25851         * gst/gstbus.c:
25852           describe popping messages whenusing mulltiple sources
25853         * libs/gst/controller/gst-controller.c:
25854         (gst_controlled_property_set_interpolation_mode),
25855         (gst_controlled_property_new):
25856         * libs/gst/controller/gst-controller.h:
25857         * libs/gst/controller/gst-interpolation.c:
25858           implement boolean properties
25859
25860 2005-08-31  Wim Taymans  <wim@fluendo.com>
25861
25862         * gst/gstminiobject.c: (gst_mini_object_ref):
25863         Cannot assert that the refcount has to be positive
25864         since a disposed object can be resurrected.
25865
25866 2005-08-31  Wim Taymans  <wim@fluendo.com>
25867
25868         * gst/gstpad.c: (gst_pad_init):
25869         Revert change, need to first fix badly behaving 
25870         apps.
25871
25872 2005-08-30  Wim Taymans  <wim@fluendo.com>
25873
25874         * check/elements/fakesrc.c: (setup_fakesrc):
25875         * check/elements/identity.c: (setup_identity):
25876         Activate pads before using them.
25877
25878 2005-08-30  Wim Taymans  <wim@fluendo.com>
25879
25880         * gst/base/gstadapter.c: (gst_adapter_flush):
25881         Flushing out 0 bytes is ok for this function.
25882
25883         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25884         no newsegment gives a warning and sets the start/stop to 
25885         invalid.
25886
25887         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25888         (gst_base_transform_set_passthrough):
25889         Some debug info.
25890
25891         * gst/gstminiobject.c: (gst_mini_object_ref):
25892         Check refcount here too.
25893
25894         * gst/gstpad.c: (gst_pad_init):
25895         Pads are initially flushing and refusing data.
25896
25897         * gst/gstutils.c: (gst_element_link_pads_filtered):
25898         When adding a capsfilter element make sure it has the
25899         same state as the parent bin.
25900
25901 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25902
25903         * docs/gst/tmpl/.cvsignore:
25904         * docs/gst/tmpl/gstformat.sgml:
25905         * docs/gst/tmpl/gstversion.sgml:
25906         * gst/gstbus.h:
25907         * gst/gstformat.c:
25908         * gst/gstformat.h:
25909         * gst/gstversion.h.in:
25910           more docs and two more inlined
25911
25912 2005-08-30  Wim Taymans  <wim@fluendo.com>
25913
25914         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25915         Don't sync to clock.
25916
25917 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25918
25919         * docs/gst/gstreamer-sections.txt:
25920           ultral33t func10ns deserve to appear in the docs actually
25921         * docs/gst/tmpl/.cvsignore:
25922         * docs/gst/tmpl/gstcompat.sgml:
25923         * docs/gst/tmpl/gstconfig.sgml:
25924         * gst/check/gstcheck.c:
25925         * gst/gstcompat.h:
25926         * gst/gstconfig.h.in:
25927           inlined more docs
25928
25929 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25930
25931         * docs/gst/tmpl/.cvsignore:
25932         * docs/gst/tmpl/gstquery.sgml:
25933         * docs/gst/tmpl/gstutils.sgml:
25934         * gst/gstquery.c:
25935         * gst/gstquery.h:
25936           inlined and extended docs
25937
25938 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25939
25940         * check/gst-libs/controller.c: (GST_START_TEST),
25941         (gst_controller_suite):
25942           more tests
25943         * docs/gst/tmpl/gstutils.sgml:
25944         * docs/libs/gstreamer-libs-sections.txt:
25945         * docs/libs/tmpl/gstdataprotocol.sgml:
25946           include path fixes
25947         * examples/controller/audio-example.c: (main):
25948           controller example works now
25949         * gst/gstclock.h:
25950           doc fixes
25951         * tools/gst-inspect.c: (print_element_properties_info):
25952           show param spec flags
25953
25954 2005-08-29  Andy Wingo  <wingo@pobox.com>
25955
25956         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25957
25958 2005-08-28  Andy Wingo  <wingo@pobox.com>
25959
25960         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25961         as having two arguments instead of just one. Allows superclasses
25962         to access information on subclasses -- see the terrible for() loop
25963         in gtype.c:g_type_create_instance for the reason why. All callers
25964         changed.
25965
25966 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25967
25968         * docs/design/part-messages.txt:
25969           update info
25970         * docs/gst/tmpl/.cvsignore:
25971         * docs/gst/tmpl/gstcaps.sgml:
25972         * docs/gst/tmpl/gstclock.sgml:
25973         * gst/gstbus.c:
25974         * gst/gstcaps.c:
25975         * gst/gstcaps.h:
25976         * gst/gstclock.c:
25977         * gst/gstclock.h:
25978         * gst/gstmessage.c:
25979           added descriptions for bus and message
25980           inline caps and clock docs
25981
25982 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25983
25984         * gst/gstmessage.c:
25985         * gst/gstmessage.h:
25986           doc fixes
25987
25988 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25989
25990         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25991           fix div-by-zero
25992
25993 2005-08-26  Andy Wingo  <wingo@pobox.com>
25994
25995         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25996         element_set_state's return val.
25997         (test_2_elements): Add test that's been disabled for months.
25998
25999         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26000         can-activate-pull properties.
26001
26002         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26003         can-activate-pull properties. Implement is_seekable so fakesrc can
26004         operate in pull mode.
26005
26006         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26007         properties.
26008         (gst_base_sink_activate, gst_base_sink_activate_pull)
26009         (gst_base_sink_activate_push): Make activation mode choosing work.
26010         Cleanups.
26011         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26012         is right. Make pull mode work. Post an eos before pausing in pull
26013         mode.
26014         (gst_base_sink_change_state): Pay attention to the core's
26015         change_state() return val.
26016         
26017         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26018         has-getrange properties. Cleanups.
26019         
26020         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26021         has_getrange and replace with can_activate_pull and
26022         can_activate_push.
26023
26024         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26025         locking comments. Remove has_loop, has_chain and replace with
26026         can_activate_pull and can_activate_push.
26027
26028 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26029
26030         * configure.ac:
26031         * examples/Makefile.am:
26032         * examples/metadata/Makefile.am:
26033         * examples/metadata/read-metadata.c: (message_loop),
26034         (have_pad_handler), (make_pipeline), (print_tag), (main):
26035           Add metadata reading example that loops over a list of filenames,
26036           dumping any tags found.
26037
26038         * gst/gstbus.c: (gst_bus_dispose):
26039         * gst/gstelement.c: (gst_element_dispose):
26040           Release a few potentially-held references in dispose.
26041
26042 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26043
26044         * docs/gst/tmpl/gstminiobject.sgml:
26045           do *not* add tmpl/*.sgml files to CVS!
26046
26047 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26048
26049         * libs/gst/bytestream/.cvsignore:
26050         * libs/gst/bytestream/Makefile.am:
26051         * libs/gst/bytestream/adapter.c:
26052         * libs/gst/bytestream/adapter.h:
26053         * libs/gst/bytestream/bytestream.c:
26054         * libs/gst/bytestream/bytestream.h:
26055         * libs/gst/bytestream/filepad.c:
26056         * libs/gst/bytestream/filepad.h:
26057           removing obsolete files
26058
26059 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26060
26061         * docs/gst/gstreamer-docs.sgml:
26062         * docs/libs/gstreamer-libs-docs.sgml:
26063           disabed additional index entries again, as this makes docs-gen just
26064           slow and they aren't useful yet
26065         * docs/libs/gstreamer-libs-sections.txt:
26066           little -section.txt cleanup for libs
26067
26068 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26069
26070         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26071         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26072           fix up some debugging
26073         (gst_base_transform_get_unit_size),
26074         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26075         (gst_base_transform_handle_buffer):
26076         * gst/base/gstbasetransform.h:
26077           handle and store timed NEWSEGMENT events so that subclasses that
26078           calculate time by counting samples have a segment_start time they
26079           need to add to their timestamps - see audioresample
26080
26081 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26082
26083         * gst/gstbin.h:
26084           removed ';' from the end of macro defs
26085         * docs/gst/gstreamer-docs.sgml:
26086         * docs/gst/gstreamer-sections.txt:
26087         * docs/gst/tmpl/.cvsignore:
26088         * gst/gstbus.h:
26089         * gst/gstelement.c: (gst_element_class_init),
26090         (gst_element_set_state), (activate_pads),
26091         (gst_element_save_thyself):
26092         * gst/gstevent.c: (gst_event_new_newsegment):
26093         * gst/gstevent.h:
26094         * gst/gstiterator.c:
26095         * gst/gstiterator.h:
26096         * gst/gstpad.c:
26097         * gst/gstprobe.h:
26098         * gst/gstutils.c: (gst_pad_query_convert):
26099         * gst/gstutils.h:
26100           fixed parameter name mismatches between source, header and docs
26101           added some more docs, resolved the last batch of unused elements in
26102           docs (now someone needs to doc them)
26103
26104 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26105
26106         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26107         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26108           don't walk through the plugins backwards.  Where is all this
26109           reversed logic coming from ?
26110
26111 2005-08-25  Wim Taymans  <wim@fluendo.com>
26112
26113         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26114         (gst_base_transform_transform_size),
26115         (gst_base_transform_configure_caps),
26116         (gst_base_transform_get_unit_size),
26117         (gst_base_transform_buffer_alloc),
26118         (gst_base_transform_change_state):
26119         * gst/base/gstbasetransform.h:
26120         Cache caps unit_size.
26121         Make sure we cannot negotiate up and downstream at the
26122         same time.
26123
26124 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26125
26126         * gst/gst.c: (init_pre), (init_post):
26127           register the installed plugin path after the env var
26128         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26129         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26130           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26131           directories, so the tests can prefer uninstalled over installed
26132
26133 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26134
26135         * gst/base/gstbasetransform.h:
26136           comment
26137         * gst/gstpad.c:
26138           add to docs
26139
26140 2005-08-25  Wim Taymans  <wim@fluendo.com>
26141
26142         * gst/gstbin.c: (bin_bus_handler):
26143         Be a bit more conservative about the posted message.
26144         
26145         * gst/gstbus.c: (gst_bus_post):
26146         Some cleanups, warn wrong return values.
26147
26148 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26149
26150         * check/gst/gstbin.c: (GST_START_TEST):
26151         * gst/gstbin.c: (bin_bus_handler):
26152         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26153         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26154         (gst_message_new_warning), (gst_message_new_tag),
26155         (gst_message_new_state_changed), (gst_message_new_segment_start),
26156         (gst_message_new_segment_done), (gst_message_new_custom):
26157         * gst/gstmessage.h:
26158         * tools/gst-launch.c: (event_loop):
26159         * tools/gst-md5sum.c: (event_loop):
26160           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26161
26162 2005-08-25  Wim Taymans  <wim@fluendo.com>
26163
26164         * check/generic/states.c: (GST_START_TEST):
26165         Cleanup can be done at the end.
26166
26167         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26168         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26169         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26170         Oh boy.. Thanks for finding this, Thomas. 
26171
26172 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26173
26174         * docs/gst/gstreamer.types:
26175           added missing types
26176
26177 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26178
26179         * docs/gst/gstreamer-docs.sgml:
26180         * docs/gst/gstreamer-sections.txt:
26181         * docs/gst/tmpl/.cvsignore:
26182         * gst/gstbin.c:
26183         * gst/gstiterator.c:
26184         * gst/gstutils.c:
26185         * gst/registries/gstxmlregistry.h:
26186           added missing classes and symbols (123 more to go)
26187           removed removed symbols from section file
26188           fixed many doc-comments
26189
26190 2005-08-24  Wim Taymans  <wim@fluendo.com>
26191
26192         * check/generic/states.c: (GST_START_TEST):
26193         Make sure all tasks are stopped.
26194
26195         * check/gst/gstbin.c: (GST_START_TEST):
26196         Unref after usage for proper valgrinding.
26197
26198         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26199         Really wait for the task to stop before destroying the
26200         mutex.
26201
26202         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26203         (gst_queue_src_activate_push):
26204         Small cleanups. Don't stop the task when we did not start
26205         it.
26206
26207         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26208         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26209         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26210         (gst_task_join):
26211         * gst/gsttask.h:
26212         Protect the stream lock with the object lock.
26213         Disallow setting the stream lock when running.
26214         Add cleanup_all to wait for the threadpool to finish.
26215         Remove code to autoallocate a mutex if none was provided.
26216         Add _join() to wait for a task to stop.
26217         Protect the thread pool with a global lock.
26218
26219 2005-08-24  Wim Taymans  <wim@fluendo.com>
26220
26221         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26222         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26223         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26224         * gst/base/gstbasesink.h:
26225         Handle newsegment events correctly.
26226         Drop buffers out of the segment range.
26227
26228 2005-08-22  Andy Wingo  <wingo@pobox.com>
26229
26230         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26231         macro, implements an interface and gstimplementsinterface for a
26232         new type.
26233
26234 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26235
26236         * check/Makefile.am:
26237         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26238           add a test that does a bunch of state changes on elements
26239           needs some fixing for valgrind
26240         * check/states/sinks.c: (gst_object_suite):
26241           whitespace
26242         * gst/gstcaps.h:
26243           add prototype for gst_caps_is_equal_fixed
26244         * gst/gstplugin.c:
26245         * gst/gstregistrypool.c:
26246           doc fixes
26247
26248 2005-08-24  Andy Wingo  <wingo@pobox.com>
26249
26250         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26251         convert a negative value. Doesn't make much sense. Mostly this is
26252         here to force callers to ensure -1 maps to -1.
26253
26254 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26255
26256         * docs/pwg/advanced-types.xml:
26257           Well done to Michael for catching my deliberate introduction
26258           of this spelling mistake. 
26259         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26260         * gst/gstelement.h:
26261           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26262           unlink pads before removing the element from the bin.
26263
26264 2005-08-24  Andy Wingo  <wingo@pobox.com>
26265
26266         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26267         the same thing as GST_DEBUG=*:4.
26268         (parse_debug_level, parse_debug_category): New helper parsers.
26269
26270 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26271
26272         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26273         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26274         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26275         (gst_base_transform_buffer_alloc),
26276         (gst_base_transform_handle_buffer):
26277           use gboolean return values and pointers to size so we can use the
26278           full GST_BUFFER_SIZE range (guint) for buffer sizes
26279           use GstPadDirection for transform_caps
26280         * gst/base/gstbasetransform.h:
26281           rename get_size to get_unit_size since that's what it is
26282         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26283           use GstPadDirection for transform_caps
26284         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26285         * gst/gstutils.h:
26286           cleanup and debugging
26287
26288 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26289
26290         * gst/gstelement.c: (gst_element_class_init),
26291         (gst_element_set_state), (activate_pads),
26292         (gst_element_save_thyself):
26293         * tools/gst-compprep.c: (main):
26294         * tools/gst-inspect.c: (print_element_properties_info):
26295         * tools/gst-xmlinspect.c: (print_element_properties):
26296           Fixed long standing mem-leak
26297
26298 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26299
26300         * check/gst/gstbin.c: (GST_START_TEST):
26301         * gst/gstbin.c: (bin_bus_handler):
26302         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26303         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26304         (gst_message_new_warning), (gst_message_new_tag),
26305         (gst_message_new_state_changed), (gst_message_new_segment_start),
26306         (gst_message_new_segment_done), (gst_message_new_custom):
26307         * gst/gstmessage.h:
26308         * tools/gst-launch.c: (event_loop):
26309         * tools/gst-md5sum.c: (event_loop):
26310           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26311           that applications can sensibly post custom messages with references
26312           to their own objects.
26313
26314 2005-08-24  Andy Wingo  <wingo@pobox.com>
26315
26316         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26317         already.
26318
26319 2005-08-24  Wim Taymans  <wim@fluendo.com>
26320
26321         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26322         (gst_base_transform_transform_caps),
26323         (gst_base_transform_transform_size),
26324         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26325         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26326         (gst_base_transform_handle_buffer):
26327         * gst/base/gstbasetransform.h:
26328         Many fixes and new features added by Thomas. Can now also do
26329         transforms with variable sizes and a custom fixate_caps function.
26330
26331 2005-08-24  Wim Taymans  <wim@fluendo.com>
26332
26333         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26334         Some debugging.
26335
26336         * gst/gstclock.h:
26337         Cast to ClockTime before formatting to time.
26338
26339         * gst/gstutils.h:
26340         Cleanups.
26341
26342 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26343
26344         * check/gst-libs/controller.c: (GST_START_TEST),
26345         (gst_controller_suite):
26346         * docs/gst/tmpl/gstcaps.sgml:
26347         * docs/gst/tmpl/gstghostpad.sgml:
26348         * docs/gst/tmpl/gstquery.sgml:
26349         * docs/gst/tmpl/gstutils.sgml:
26350         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26351         (gst_object_sink_values), (gst_object_get_value_arrays),
26352         (gst_object_get_value_array):
26353           gracefully handle helper method calls to objects that are not beeing
26354           controlled, added test case for that          
26355
26356 2005-08-23  Wim Taymans  <wim@fluendo.com>
26357
26358         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26359         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26360         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26361         (gst_event_parse_qos), (gst_event_new_seek),
26362         (gst_event_parse_seek):
26363         * gst/gstevent.h:
26364         Some more debugging output and doc cleanups.
26365
26366         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26367         Fix possible deadlock.
26368
26369 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26370
26371         * docs/gst/gstreamer-docs.sgml:
26372         * docs/gst/gstreamer-sections.txt:
26373         * docs/gst/gstreamer.types:
26374         * docs/gst/tmpl/.cvsignore:
26375         * gst/gstbin.h:
26376         * gst/gstbus.c:
26377         * gst/gstelement.c:
26378         * gst/gstevent.h:
26379           added 100 symbols from gstreamer-unused.txt to the right sections
26380           fixed more broken comments
26381           added GstBus to docs
26382
26383 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26384
26385         * docs/gst/gstreamer-sections.txt:
26386         * docs/gst/tmpl/.cvsignore:
26387         * docs/gst/tmpl/gstbin.sgml:
26388         * docs/gst/tmpl/gstbuffer.sgml:
26389         * gst/base/gstbasesrc.c:
26390         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26391         * gst/gstbuffer.c:
26392         * gst/gstbuffer.h:
26393         * tools/gst-launch.1.in:
26394           inlined more doc comments, added missing comments and fixed comments
26395           fixed typos
26396
26397 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26398
26399         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26400           some debugging
26401         * gst/gstcaps.h:
26402           whitespace fixes
26403         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26404           more debugging
26405         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26406         * gst/gststructure.h:
26407           add a fixate function for booleans; add a FIXME that these func
26408           names should probably be gst_structure_fixate_*
26409
26410 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26411
26412         * docs/gst/gstreamer-docs.sgml:
26413         * docs/gst/gstreamer-sections.txt:
26414         * gst/Makefile.am:
26415         * gst/gstbin.c: (gst_bin_get_type),
26416         (gst_bin_child_proxy_get_child_by_index),
26417         (gst_bin_child_proxy_get_children_count),
26418         (gst_bin_child_proxy_init):
26419         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26420         (gst_child_proxy_get_child_by_index),
26421         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26422         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26423         (gst_child_proxy_get), (gst_child_proxy_set_property),
26424         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26425         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26426         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26427         * gst/gstchildproxy.h:
26428         * gst/parse/grammar.y:
26429         * tools/gst-inspect.c: (print_interfaces),
26430         (print_element_properties_info), (print_element_info):
26431           ported gstchildproxy over from 0.8
26432           ported gst-inspect fixes and enhancements over from 0.8
26433
26434 2005-08-22  Wim Taymans  <wim@fluendo.com>
26435
26436         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26437         (gst_base_transform_handle_buffer):
26438         Also call the transform function if we have ANY caps.
26439
26440         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26441         Fix debug info.
26442
26443 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26444
26445         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26446           Don't pretend to handle seek events if the source is not seekable
26447
26448 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26449
26450         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26451           Remove extra parameter to debug output
26452
26453         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26454         (gst_base_src_do_seek), (gst_base_src_activate_push):
26455           Fix seek event handling.
26456
26457         * gst/gstpipeline.c: (gst_pipeline_change_state):
26458         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26459         (gst_queue_src_activate_push):
26460           Don't start the src pad task on FLUSH_STOP if the pad
26461           isn't linked.
26462           Debug changes.
26463
26464 2005-08-22  Wim Taymans  <wim@fluendo.com>
26465
26466         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26467         Added check for gst_static_caps_get() refcounting.
26468
26469 2005-08-22  Wim Taymans  <wim@fluendo.com>
26470
26471         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26472         Make _static_caps_get() refcounting sane.
26473         
26474         * gst/gstelement.c: (gst_element_set_state):
26475         Add g_return_val_if_fail() to protect against segfaults.
26476
26477 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26478
26479         * docs/gst/tmpl/gstevent.sgml:
26480         * gst/gstevent.c:
26481         * gst/gstevent.h:
26482           inlined remaining docs, added missing doc comments
26483
26484 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26485
26486         * check/gst/gstbin.c: (GST_START_TEST):
26487           since we don't know when preroll is done, use refcount range
26488           check for the sink
26489         * gst/check/gstcheck.h:
26490           add macro for checking refcount range
26491
26492 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26493
26494         * check/Makefile.am:
26495           clean up environment for when registry gets built versus
26496           when actual tests are run; valgrind seems to not report
26497           leaks if GST_PLUGIN_PATH is set to some specific values
26498         * check/gst/gstbin.c: (GST_START_TEST):
26499           add more refcounting checks; maybe this exposes a
26500           preroll lock bug ?
26501         * common/check.mak:
26502         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26503         * gst/check/gstcheck.h:
26504         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26505         (gst_bin_change_state):
26506         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26507           add/fix debugging/whitespace
26508
26509 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26510
26511         * check/gst/gstevent.c: (event_probe), (test_event),
26512         (GST_START_TEST):
26513          Er, don't call gst_bin_watch_for_state_change you idiot.
26514
26515 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26516
26517         * check/Makefile.am:
26518           Use CHECK_CFLAGS and CHECK_LIBS
26519         * check/gst/gstevent.c: (event_probe), (test_event),
26520         (GST_START_TEST):
26521           Don't leak events.
26522         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26523         (gst_base_src_start), (gst_base_src_stop),
26524         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26525         (gst_base_src_change_state):
26526           Sprinkle gst_base_src_stop liberally around error paths to fix
26527           problems reusing a source after failed state changes.
26528         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26529         (helper_find_suggest), (gst_type_find_helper):
26530           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26531         * gst/gstevent.h:
26532         * docs/gst/tmpl/gstevent.sgml:
26533           Migrate part of the docs from the SGML file. Wait for ensonic to
26534           tell me how I did it wrong ;)
26535         * tools/gst-typefind.c: (main):
26536           Extra robustness to state changes between files.
26537
26538 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26539
26540         * check/Makefile.am:
26541           don't valgrind the controller test - it's leaking - Stefan, HELP
26542         * gst/check/gstcheck.c: (gst_check_message_error),
26543         (gst_check_chain_func), (gst_check_setup_element),
26544         (gst_check_teardown_element), (gst_check_setup_src_pad),
26545         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26546         (gst_check_teardown_sink_pad):
26547         * gst/check/gstcheck.h:
26548           add a bunch of methods to set up elements, and src and sink pads
26549         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26550         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26551         (GST_START_TEST):
26552           use them
26553         * gst/gstmessage.c:
26554         * gst/gsttag.h:
26555           whitespace/doc fixes
26556
26557 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26558
26559         * gst/gstelement.h:
26560           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26561           be handled by the application and not always printed as well
26562
26563 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26564
26565         * check/Makefile.am:
26566           set GST_TOOLS_DIR
26567         * gst/check/gstcheck.c: (gst_check_message_error):
26568         * gst/check/gstcheck.h:
26569           add a fail_unless_equals_int
26570           add fail_unless for error messages
26571
26572 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26573
26574         * check/Makefile.am:
26575         * check/gst.supp:
26576         * common/Makefile.am:
26577         * common/check.mak:
26578         * common/gst.supp:
26579           factor out some of the common stuff so we can use it
26580
26581 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26582
26583         * check/Makefile.am:
26584         * check/gst/gstiterator.c: (GST_START_TEST):
26585         * check/gst/gstsystemclock.c: (GST_START_TEST),
26586         (gst_systemclock_suite):
26587         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26588         * gst/gstclock.c:
26589           valgrind more tests
26590
26591 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26592
26593         * check/elements/.cvsignore:
26594         * check/elements/gstfakesrc.c:
26595           rename to name of element
26596         * check/elements/identity.c: (chain_func), (event_func),
26597         (setup_identity), (cleanup_identity), (GST_START_TEST),
26598         (identity_suite), (main):
26599           add a test for identity
26600         * check/Makefile.am:
26601         * pkgconfig/Makefile.am:
26602         * pkgconfig/gstreamer-check.pc.in:
26603         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26604         * gst/check:
26605         * gst/Makefile.am:
26606         * configure.ac:
26607           move the check stuff to a library that gets installed
26608         * check/gst-libs/controller.c: (GST_START_TEST):
26609         * check/gst-libs/gdp.c:
26610         * check/gst/gst.c: (GST_START_TEST):
26611         * check/gst/gstbin.c:
26612         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26613         * check/gst/gstbus.c:
26614         * check/gst/gstcaps.c: (GST_START_TEST):
26615         * check/gst/gstelement.c:
26616         * check/gst/gstghostpad.c:
26617         * check/gst/gstiterator.c:
26618         * check/gst/gstmessage.c:
26619         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26620         * check/gst/gstobject.c:
26621         * check/gst/gstpad.c: (GST_START_TEST):
26622         * check/gst/gststructure.c: (GST_START_TEST):
26623         * check/gst/gstsystemclock.c: (GST_START_TEST),
26624         (gst_systemclock_suite):
26625         * check/gst/gsttag.c: (gst_tag_suite):
26626         * check/gst/gstvalue.c:
26627         * check/pipelines/cleanup.c:
26628         * check/pipelines/simple_launch_lines.c:
26629         * check/states/sinks.c:
26630           change include statement
26631
26632         * docs/gst/gstreamer-sections.txt:
26633         * docs/gst/tmpl/gstpad.sgml:
26634           document more pad stuff
26635         * gst/gstminiobject.c: (gst_mini_object_ref),
26636         (gst_mini_object_unref):
26637           debug refcounting
26638
26639 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26640
26641         * docs/gst/tmpl/gst.sgml:
26642         * gst/gst.c:
26643           eliminate another tmpl file, fix spelling in the long-description
26644
26645 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26646
26647         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26648         (test_event), (timediff), (gstevents_suite):
26649           Should fix build on 64-bit arch's
26650
26651 2005-08-18  Andy Wingo  <wingo@pobox.com>
26652
26653         Make sure that when a pipeline goes to PLAYING, that data has
26654         actually hit the sink.
26655
26656         * check/states/sinks.c (test_sink): A sink that doesn't get any
26657         data shouldn't return SUCCESS for going to either PLAYING or
26658         PAUSED. Test also the return values on the way back down.
26659
26660         * gst/gstelement.c (gst_element_set_state): When changing the
26661         state of an element currently changing state asynchronously, go to
26662         lost-state after commiting the pending state. Makes future calls
26663         to get_state continue to return ASYNC.
26664
26665         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26666         ASYNC when going to PLAYING if we still don't have preroll, as can
26667         happen with live sources.
26668
26669 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26670
26671         * docs/pwg/advanced-types.xml:
26672           Hack long paragraph into 2 chunks as a workaround for buggy
26673           jadetex version in sid and breezy that loops infinitely and
26674           eats all RAM.
26675
26676 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26677
26678         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26679         (test_event), (timediff), (gstevents_suite):
26680           Provide more error margin in clock measurements to allow for 
26681           g_get_current_time inaccuracies.
26682
26683 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26684
26685         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26686         (test_event), (timediff), (gstevents_suite):
26687            Fix error message output so I might be able to tell why the
26688            test works here but fails on the build farm.
26689
26690 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26691
26692         * check/Makefile.am:
26693         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26694         (test_event), (timediff), (gstevents_suite), (main):
26695           I wrote a test!
26696
26697         * docs/design/part-seeking.txt:
26698           Spelling correction
26699
26700         * docs/gst/tmpl/gstevent.sgml:
26701         * docs/gst/tmpl/gstfakesrc.sgml:
26702           Docs updates.
26703
26704         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26705           Treat a buffer-without-newsegment the same as a receiving 
26706           a newsegment not in time format, and disable syncing to the clock
26707           with a warning.
26708
26709         * gst/gstbus.c: (gst_bus_set_sync_handler):
26710           Assert if anyone tries to replace the existing sync_handler for bus, 
26711           as only the owner should be setting it.
26712
26713         * gst/gstevent.h:
26714           Have a fixed set of custom event enums with events identified by
26715           their structure name (as in 0.8), rather than a free-for-all
26716           allowing collisions between enum values from different plugins.
26717
26718         * gst/gstpad.c: (gst_pad_class_init):
26719           Docs change.
26720           
26721         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26722           Handle out-of-band downstream events from the sending thread.
26723
26724 2005-08-17  Andy Wingo  <wingo@pobox.com>
26725
26726         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26727         play-timeout==0 to mean no timeout at all. In that case, don't
26728         bother with a get_state or a warning, just return directly, even
26729         if it's ASYNC.
26730
26731         * gst/base/gstbasetransform.c: Debug changes.
26732
26733         * gst/gstutils.h:
26734         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26735         ensure bins post state change messages. A bit of a hack but I can't
26736         think of a way to avoid it.
26737
26738         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26739
26740 2005-08-16  Andy Wingo  <wingo@pobox.com>
26741
26742         * gst/base/gstadapter.h:
26743         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26744         peek() but you own the data. Not terribly efficient atm.
26745
26746 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26747
26748         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26749         (gst_element_found_tags):
26750         * gst/gstutils.h:
26751           Add two utility functions for tag handling.
26752
26753 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26754
26755         * docs/manual/advanced-dataaccess.xml:
26756         * docs/manual/basics-helloworld.xml:
26757           Fix docs to use _bin_add() before _link(), which fixes the examples
26758           with recent core versions (reported by Madhan Raj M
26759           <raj_madan@rediffmail.com>, #313199).
26760
26761 2005-08-16  Wim Taymans  <wim@fluendo.com>
26762
26763         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26764         Added subtract checks.
26765
26766         * docs/design/part-events.txt:
26767         Some more docs about newsegment
26768
26769         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26770         Fix FIXME
26771
26772         * gst/gstcaps.c: (gst_caps_to_string):
26773         Add comments, cleanups.
26774         
26775         * gst/gstelement.c: (gst_element_save_thyself):
26776         cleanups
26777         
26778         * gst/gstvalue.c: (gst_value_collect_int_range),
26779         (gst_string_unwrap), (gst_value_union_int_int_range),
26780         (gst_value_union_int_range_int_range),
26781         (gst_value_intersect_int_int_range),
26782         (gst_value_intersect_int_range_int_range),
26783         (gst_value_intersect_double_double_range),
26784         (gst_value_intersect_double_range_double_range),
26785         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26786         (gst_value_subtract_int_range_int),
26787         (gst_value_subtract_double_range_double),
26788         (gst_value_subtract_double_range_double_range),
26789         (gst_value_subtract_from_list), (gst_value_subtract_list),
26790         (gst_value_can_compare), (gst_value_compare_fraction):
26791         Cleanups, add comments, remove unneeded asserts.
26792
26793 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26794
26795         * tools/gst-launch.c: (event_loop):
26796           don't convert NULL structures to strings
26797
26798 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26799
26800         * docs/gst/gstreamer-sections.txt:
26801           made some defines private
26802         * docs/gst/tmpl/gstconfig.sgml:
26803         * docs/gst/tmpl/gstqueue.sgml:
26804         * docs/gst/tmpl/gsttaglist.sgml:
26805         * docs/gst/tmpl/gsttypes.sgml:
26806         * docs/gst/tmpl/gstutils.sgml:
26807         * docs/pwg/appendix-porting.xml:
26808         * gst/base/gstbasesink.h:
26809         * gst/base/gstbasesrc.c:
26810         * gst/base/gstbasesrc.h:
26811         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26812         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26813         * gst/gstelement.c: (gst_element_class_init):
26814         * gst/gstpad.c: (gst_pad_class_init):
26815         * gst/gstqueue.c: (gst_queue_class_init):
26816         * gst/gstxml.c: (gst_xml_class_init):
26817           documented all undocumented signal inline
26818         * libs/gst/controller/gst-controller.h:
26819           added padding
26820
26821 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26822
26823         * docs/pwg/appendix-porting.xml:
26824           Document _set_link_function -> _set_setcaps_function.
26825
26826 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26827
26828         * check/Makefile.am:
26829           add a .check target for running the check
26830         * check/gst-libs/controller.c: (GST_START_TEST):
26831           cosmetic fixups
26832         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26833           complete checks for gstbuffer; would be nice if I could get the
26834           gcov stuff to work so I can see if I actually completed gstbuffer.c
26835         * check/gstcheck.h:
26836           add ASSERT_BUFFER_REFCOUNT
26837
26838 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26839
26840         * docs/gst/gstreamer-sections.txt:
26841         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26842         * gst/gsttag.h:
26843           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26844           spew out a warning if a tag that is already registered
26845           is re-registered, unless it is re-registered with a 
26846           different type (#308438).
26847
26848 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26849
26850         * docs/pwg/appendix-porting.xml:
26851         * docs/pwg/building-state.xml:
26852           Add some paragraphs about state changes in 0.9 to the PWG
26853           and the porting guide, in particular about the new meaning
26854           of GST_STATE_PAUSED and how to write state change functions
26855           with concurrent access by multiple threads in mind.
26856
26857 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26858
26859         * docs/gst/gstreamer-docs.sgml:
26860         * docs/libs/gstreamer-libs-docs.sgml:
26861           added deprecation and since indexes
26862         * libs/gst/controller/gst-controller.c:
26863         * libs/gst/controller/gst-helper.c:
26864           added since tags
26865
26866
26867 2005-08-11  Wim Taymans  <wim@fluendo.com>
26868
26869         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26870         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26871         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26872         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26873         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26874         (gst_ghost_pad_set_target):
26875         Actually implement (re)setting the target on a ghostpad
26876         as described in the docs.
26877
26878 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26879
26880         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26881           Check whether GST_DEBUG_NO_COLOR environment variable is
26882           set and disable coloured debug output if that is the case.
26883
26884 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26885
26886         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26887         (gst_type_find_helper):
26888           The memory returned by gst_type_find_peek() needs to
26889           stay valid until the end of a typefind function, and
26890           typefind functions may keep results from different 
26891           offsets around, so we can't just unref the buffer from
26892           the previous _peek(), but have to save all buffers 
26893           returned by _peek() until typefinding is done and only
26894           free them then.
26895
26896 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26897
26898         * docs/gst/gstreamer-sections.txt:
26899         * gst/gstutils.h:
26900           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26901
26902 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26903
26904         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26905           Fix a pretty good memleak.
26906
26907 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26908
26909         * gst/gstiterator.h:
26910           Fix wrong include and 'make distcheck'.
26911
26912 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26913
26914         * gst/gstbin.c: (bin_bus_handler):
26915           Use gst_element_post_message() instead.
26916
26917 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26918
26919         * gst/base/gstadapter.h:
26920         * gst/base/gstbasesink.h:
26921         * gst/base/gstbasesrc.h:
26922         * gst/base/gstbasetransform.h:
26923         * gst/base/gstcollectpads.h:
26924         * gst/base/gstpushsrc.h:
26925         * gst/gstiterator.h:
26926           Add padding to our base elements' class and instance structs and
26927           to GstIterator (you will need to rebuild all plugins and apps!)
26928
26929 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26930
26931         * gst/gstbin.c: (bin_bus_handler):
26932           Make default message forwarding from child->bus to bin->bus
26933           threadsafe and make it not emit warnings if the parent has no bus.
26934
26935 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26936
26937         * gst/gstelement.c: (activate_pads):
26938           On paused->ready, set pad->caps to NULL, as is the documented
26939           behaviour in this state change. Fixes playback of series of
26940           media files when visualization is enabled in Totem.
26941
26942 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26943
26944         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26945           Allow NULL as filter-caps (which means "any").
26946
26947 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26948
26949         * docs/libs/gstreamer-libs-sections.txt:
26950         * libs/gst/controller/gst-controller.c:
26951         * libs/gst/controller/gst-controller.h:
26952         * libs/gst/controller/gst-helper.c:
26953           adding more entries to the docs and fix small doc-bugs
26954
26955 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26956
26957         * docs/gst/gstreamer-docs.sgml:
26958         * docs/gst/gstreamer-sections.txt:
26959         * docs/gst/gstreamer.types:
26960         * docs/gst/tmpl/gstbasesink.sgml:
26961         * docs/gst/tmpl/gstbasesrc.sgml:
26962         * docs/gst/tmpl/gstbasetransform.sgml:
26963         * docs/gst/tmpl/gstfakesrc.sgml:
26964         * gst/base/gstcollectpads.c:
26965         * gst/base/gstcollectpads.h:
26966         * libs/gst/controller/gst-controller.c:
26967         * libs/gst/controller/gst-controller.h:
26968         * libs/gst/controller/gst-helper.c:
26969         * libs/gst/controller/gst-interpolation.c:
26970         * libs/gst/controller/lib.c:
26971           added long/short desc for controller docs
26972           added collectpads base class docs
26973           added correct includes to base-class docs
26974
26975 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26976
26977         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26978         (gst_test_mono_source_set_property),
26979         (gst_test_mono_source_class_init), (GST_START_TEST),
26980         (gst_controller_suite):
26981         * docs/gst/gstreamer-docs.sgml:
26982         * docs/gst/gstreamer-sections.txt:
26983         * docs/gst/gstreamer.types:
26984         * docs/libs/gstreamer-libs-docs.sgml:
26985         * docs/libs/gstreamer-libs-sections.txt:
26986         * gst/base/gstadapter.c:
26987         * libs/gst/controller/gst-controller.c:
26988         (gst_controlled_property_new), (gst_controlled_property_free),
26989         (gst_controller_new_valist),
26990         (gst_controller_remove_properties_valist),
26991         (gst_controller_sink_values), (_gst_controller_finalize):
26992         * libs/gst/controller/gst-controller.h:
26993         * libs/gst/controller/gst-helper.c:
26994         (gst_object_control_properties), (gst_object_uncontrol_properties),
26995         (gst_object_get_controller), (gst_object_set_controller),
26996         (gst_object_sink_values), (gst_object_get_value_arrays),
26997         (gst_object_get_value_array):
26998           more tests (and fixes) for the controller
26999           more docs for the controller
27000           integrated companies docs for the adapter 
27001
27002 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27003
27004         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27005         (GST_START_TEST), (fakesrc_suite):
27006           add tests for sizetype
27007
27008 2005-08-04  Andy Wingo  <wingo@pobox.com>
27009
27010         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27011         fixes buffer_alloc proxying among other things.
27012
27013         * gst/base/gstbasetransform.c:
27014         * gst/base/gstbasetransform.h:
27015         Revert patch to gstbasetransform from 7-28 removing
27016         delay_configure.
27017
27018         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27019         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27020         Semantics changed, should return not the size of the output buffer
27021         but the byte size of a buffer with a given caps.
27022
27023         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27024         debug object.
27025         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27026         out) are not the pad caps until setcaps finishes.
27027         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27028         not-in-place case as well. Deal with changing from in-place to
27029         not-in-place within calling pad_alloc_buffer. Still a bit
27030         concerned about the overhead here...
27031
27032 2005-08-03  Andy Wingo  <wingo@pobox.com>
27033
27034         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27035         fixating is an error.
27036
27037 2005-08-04  Edward Hervey  <edward@fluendo.com>
27038
27039         * gst/base/gstadapter.h: 
27040         Added gst_adapter_get_type() to the header
27041
27042 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27043
27044         * check/Makefile.am:
27045         * check/gst-libs/controller.c:
27046         * libs/gst/controller/gst-controller.c:
27047         (gst_controller_new_valist):
27048           added check test suite for the controller
27049         * gst/base/gstpushsrc.c:
27050           fixed a doc typo
27051
27052 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27053
27054         * docs/gst/Makefile.am:
27055         * docs/gst/gstreamer-docs.sgml:
27056         * docs/gst/gstreamer-sections.txt:
27057         * docs/gst/gstreamer.types:
27058         * docs/gst/tmpl/gstfakesrc.sgml:
27059         * gst/base/README:
27060         * gst/base/gstbasesink.c:
27061         * gst/base/gstbasesink.h:
27062         * gst/base/gstbasesrc.c:
27063         * gst/base/gstbasesrc.h:
27064         * gst/base/gstbasetransform.c:
27065         * gst/base/gstpushsrc.c:
27066         * gst/base/gstpushsrc.h:
27067           add short/long description docs to base classes
27068           add pushsrc to the docs
27069           remove consolidated doc fragments
27070
27071 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27072
27073         * configure.ac:
27074         * docs/libs/Makefile.am:
27075         * docs/libs/gstreamer-libs-docs.sgml:
27076         * docs/libs/gstreamer-libs-sections.txt:
27077         * docs/libs/gstreamer-libs.types:
27078         * examples/Makefile.am:
27079         * examples/controller/.cvsignore:
27080         * examples/controller/Makefile.am:
27081         * examples/controller/audio-example.c: (main):
27082         * libs/gst/Makefile.am:
27083         * libs/gst/controller/.cvsignore:
27084         * libs/gst/controller/Makefile.am:
27085         * libs/gst/controller/gst-controller.c:
27086         (on_object_controlled_property_changed), (gst_timed_value_compare),
27087         (gst_timed_value_find),
27088         (gst_controlled_property_set_interpolation_mode),
27089         (gst_controlled_property_new), (gst_controlled_property_free),
27090         (gst_controller_find_controlled_property),
27091         (gst_controller_new_valist), (gst_controller_new),
27092         (gst_controller_remove_properties_valist),
27093         (gst_controller_remove_properties), (gst_controller_set),
27094         (gst_controller_set_from_list), (gst_controller_unset),
27095         (gst_controller_get), (gst_controller_get_all),
27096         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27097         (gst_controller_get_value_array),
27098         (gst_controller_set_interpolation_mode),
27099         (_gst_controller_finalize), (_gst_controller_init),
27100         (_gst_controller_class_init), (gst_controller_get_type):
27101         * libs/gst/controller/gst-controller.h:
27102         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27103         (g_object_uncontrol_properties), (g_object_get_controller),
27104         (g_object_set_controller), (g_object_sink_values),
27105         (g_object_get_value_arrays), (g_object_get_value_array):
27106         * libs/gst/controller/gst-interpolation.c:
27107         (gst_controlled_property_find_timed_value_node),
27108         (interpolate_none_get), (interpolate_trigger_get),
27109         (interpolate_trigger_get_value_array):
27110         * libs/gst/controller/lib.c: (gst_controller_init):
27111         * pkgconfig/Makefile.am:
27112         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27113         * pkgconfig/gstreamer-control.pc.in:
27114         * testsuite/Makefile.am:
27115         * testsuite/controller/.cvsignore:
27116         * testsuite/controller/Makefile.am:
27117         * testsuite/controller/interpolator.c: (main):
27118           added controller code
27119           removed dparam pc files
27120
27121 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27122         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27123         (gst_collectpads_stop):
27124           Broadcast the condition when shutting down, to make sure we wake all
27125           threads up. Shut down pads on finalize, for safety.
27126
27127 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27128         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27129         (gst_base_transform_handle_buffer),
27130         (gst_base_transform_change_state):
27131           Handle PAUSED->READY->PAUSED transition after negotiation
27132           occurred already.
27133         * gst/gstmessage.c: (gst_message_init):
27134           Extra piece of debug for new messages.
27135
27136 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27137
27138         * configure.ac:
27139         * docs/gst/tmpl/gstbasesrc.sgml:
27140         * docs/gst/tmpl/gstelement.sgml:
27141         * docs/gst/tmpl/gstevent.sgml:
27142         * docs/gst/tmpl/gstfakesrc.sgml:
27143         * docs/gst/tmpl/gstformat.sgml:
27144         * docs/gst/tmpl/gstghostpad.sgml:
27145         * docs/gst/tmpl/gstpad.sgml:
27146         * docs/gst/tmpl/gstquery.sgml:
27147         * docs/gst/tmpl/gststructure.sgml:
27148         * docs/gst/tmpl/gsttaglist.sgml:
27149         * docs/gst/tmpl/gstvalue.sgml:
27150         * docs/libs/gstreamer-libs-docs.sgml:
27151         * docs/libs/gstreamer-libs-sections.txt:
27152         * docs/libs/gstreamer-libs.types:
27153         * libs/gst/Makefile.am:
27154         * libs/gst/control/.cvsignore:
27155         * libs/gst/control/Makefile.am:
27156         * libs/gst/control/control.c:
27157         * libs/gst/control/control.h:
27158         * libs/gst/control/dparam.c:
27159         * libs/gst/control/dparam.h:
27160         * libs/gst/control/dparam_smooth.c:
27161         * libs/gst/control/dparam_smooth.h:
27162         * libs/gst/control/dparamcommon.h:
27163         * libs/gst/control/dparammanager.c:
27164         * libs/gst/control/dparammanager.h:
27165         * libs/gst/control/dplinearinterp.c:
27166         * libs/gst/control/dplinearinterp.h:
27167         * libs/gst/control/unitconvert.c:
27168         * libs/gst/control/unitconvert.h:
27169         * testsuite/Makefile.am:
27170         * testsuite/dynparams/.cvsignore:
27171         * testsuite/dynparams/Makefile.am:
27172         * testsuite/dynparams/dparamstest.c:
27173         * tools/Makefile.am:
27174         * tools/gst-inspect.c: (print_element_info), (main):
27175         * tools/gst-xmlinspect.c: (print_element_info), (main):
27176           deactivate and remove dparams (libgstcontrol)
27177
27178 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27179
27180         * gst/elements/gsttypefindelement.c:
27181         (gst_type_find_element_have_type), (gst_type_find_element_init),
27182         (stop_typefinding), (gst_type_find_element_handle_event),
27183         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27184         * gst/elements/gsttypefindelement.h:
27185           Set caps on all outgoing buffers, not just the first one.
27186
27187 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27188
27189         * gst/elements/gsttypefindelement.c:
27190         (gst_type_find_element_have_type),
27191         (gst_type_find_element_check_set_buffer_caps),
27192         (gst_type_find_element_init), (stop_typefinding),
27193         (gst_type_find_element_handle_event),
27194         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27195         * gst/elements/gsttypefindelement.h:
27196           Set caps on first outgoing buffer when we've found the type.
27197
27198 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27199
27200         * docs/gst/gstreamer-docs.sgml:
27201         * docs/gst/gstreamer-sections.txt:
27202         * docs/gst/tmpl/gstscheduler.sgml:
27203         * docs/gst/tmpl/gstschedulerfactory.sgml:
27204           Remove some old cruft from docs.
27205
27206 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27207
27208         * gst/gstpad.h:
27209           Fix inline docs for GstPadLinkReturn.
27210           
27211         * gst/gststructure.c: (gst_structure_has_name):
27212         * gst/gststructure.h:
27213         * docs/gst/gstreamer-sections.txt:
27214           New API: gst_structure_has_name().
27215
27216 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27217
27218         * configure.ac:
27219           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27220           and _LARGEFILE_SOURCE in config.h as required. Do not 
27221           export those flags in our .pc files any longer (#142209).
27222
27223           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27224
27225         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27226         (gst_file_sink_do_seek), (gst_file_sink_event),
27227         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27228           Redo seek/tell calls with large file support in mind; add some
27229           debugging messages; add log message that tells us when large
27230           file support is unavailable or not enabled for some reason.
27231
27232         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27233           Add log message that tells us when large file support 
27234           is unavailable or not enabled for some reason.
27235
27236 2005-07-29  Wim Taymans  <wim@fluendo.com>
27237
27238         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27239         Added test for removing an element with ghostpad from a bin.
27240         Fixed test as current implementation does the right thing.
27241
27242         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27243         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27244         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27245         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27246         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27247         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27248         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27249         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27250         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27251         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27252         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27253         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27254         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27255         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27256         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27257         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27258         * gst/gstghostpad.h:
27259         Clean up ghostpads, remove properties for internal stuff.
27260         Make threadsafe.
27261         Fix refcounting.
27262         Prepare for switching targets, not all use cases work yet.
27263
27264 2005-07-29  Wim Taymans  <wim@fluendo.com>
27265
27266         * docs/design/part-gstghostpad.txt:
27267         Small update.
27268
27269         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27270         (gst_bin_remove_func):
27271         Unlinking pads while holding the bin LOCK is not a good
27272         idea.
27273
27274         * gst/gstpad.c: (gst_pad_class_init),
27275         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27276         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27277         No prob setting template after creating the pad.
27278
27279 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27280
27281         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27282         (gst_bus_peek), (gst_bus_source_dispatch),
27283         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27284         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27285           gst_bus_poll may be called from other threads. Handle
27286           this nicely by not making poll_data disappear off the
27287           stack once gst_bus_poll returns.
27288           gst_bus_peek now increments the refcount on the returned
27289           message.
27290
27291 2005-07-29  Wim Taymans  <wim@fluendo.com>
27292
27293         * docs/design/part-gstghostpad.txt:
27294         Overview of current GhostPad datastructures and use
27295         cases for changing the target.
27296
27297 2005-07-28  Wim Taymans  <wim@fluendo.com>
27298
27299         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27300         Added checks for hierarchy consistency whan adding linked
27301         elements to bins.
27302
27303         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27304         Added check to test element scheduling without bin/pipeline.
27305
27306         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27307         First add elements to bin, then link.
27308         
27309         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27310         (gst_bin_remove_func):
27311         Unlink pads from elements added/removed from bin to maintain
27312         hierarchy consistency.
27313
27314 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27315
27316         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27317         (gst_base_transform_handle_buffer):
27318         * gst/base/gstbasetransform.h:
27319           Remove broken delay_configure (fixes renegotiation of software
27320           scaling pipelines); remove some leftover printf()s.
27321
27322 2005-07-28  Wim Taymans  <wim@fluendo.com>
27323
27324         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27325         Added some more tests for wrong hierarchy
27326
27327         * docs/design/part-overview.txt:
27328         Some updates.
27329
27330         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27331         Cleanups.
27332
27333         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27334         (gst_element_dispose):
27335         Some more cleanups.
27336
27337         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27338         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27339         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27340         (gst_pad_set_caps), (gst_pad_send_event):
27341         Check for correct hierarchy when linking pads. Moving to
27342         strict requirement for ghostpads when linking elements in
27343         different bins.
27344
27345         * gst/gstpad.h:
27346         Clean ups. Added WRONG_HIERARCHY return value.
27347
27348 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27349
27350         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27351           Better debug if no transform is possible.
27352
27353 2005-07-27  Wim Taymans  <wim@fluendo.com>
27354
27355         * docs/random/wtay/network-transp:
27356         Some old doc I had.
27357
27358 2005-07-27  Wim Taymans  <wim@fluendo.com>
27359
27360         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27361         (gst_dp_event_from_packet):
27362         Fix serialization of seek events.
27363
27364 2005-07-27  Wim Taymans  <wim@fluendo.com>
27365
27366         * check/gst-libs/gdp.c: (GST_START_TEST):
27367         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27368         Fix compilation and fix event serialization.
27369
27370 2005-07-27  Wim Taymans  <wim@fluendo.com>
27371
27372         * CHANGES-0.9:
27373         * docs/design/part-TODO.txt:
27374         * docs/design/part-events.txt:
27375         Some docs updates
27376
27377         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27378         (gst_base_sink_event), (gst_base_sink_do_sync),
27379         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27380         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27381         (gst_base_src_do_seek), (gst_base_src_event_handler),
27382         (gst_base_src_loop):
27383         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27384         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27385         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27386         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27387         (gst_base_transform_set_passthrough),
27388         (gst_base_transform_is_passthrough):
27389         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27390         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27391         Event updates.
27392
27393         * gst/gstbuffer.h:
27394         Use faster casts.
27395
27396         * gst/gstelement.c: (gst_element_seek):
27397         * gst/gstelement.h:
27398         Update gst_element_seek.
27399
27400         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27401         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27402         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27403         (gst_event_new_eos), (gst_event_new_newsegment),
27404         (gst_event_parse_newsegment), (gst_event_new_tag),
27405         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27406         (gst_event_parse_qos), (gst_event_new_seek),
27407         (gst_event_parse_seek), (gst_event_new_navigation):
27408         * gst/gstevent.h:
27409         Make GstEvent use GstStructure. Add parsing code, make sure the
27410         API is sufficiently generic.
27411         Mark possible directions of events and serialization.
27412
27413         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27414         (_gst_message_copy), (gst_message_new_segment_start),
27415         (gst_message_new_segment_done), (gst_message_new_custom),
27416         (gst_message_parse_segment_start),
27417         (gst_message_parse_segment_done):
27418         Small cleanups.
27419
27420         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27421         (gst_pad_set_caps), (gst_pad_send_event):
27422         Update for new events. 
27423         Catch events sent in wrong directions.
27424
27425         * gst/gstqueue.c: (gst_queue_link_src),
27426         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27427         (gst_queue_handle_src_query):
27428         Event updates.
27429
27430         * gst/gsttag.c:
27431         * gst/gsttag.h:
27432         Remove event code from this file.
27433
27434         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27435         (gst_dp_event_from_packet):
27436         Event updates.
27437
27438 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27439
27440         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27441         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27442         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27443           Make debugging actually useful.
27444
27445 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27446
27447         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27448         (gst_pad_fixate_caps):
27449           Implement default fixation once again, so that gst_pad_fixate()
27450           actually does anything at all. This probably needs to be some
27451           sort of a last resort, and use profile-based fixation first, but
27452           since that doesn't exist yet, this is the best we have. Fixes
27453           visualization in Totem.
27454
27455 2005-07-22  Wim Taymans  <wim@fluendo.com>
27456
27457         * docs/design/part-events.txt:
27458         Small update.
27459
27460         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27461         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27462         (gst_base_sink_activate_pull):
27463         Some more comments.
27464
27465         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27466         (gst_fake_src_create):
27467         Fix handoff marshall.
27468
27469         * gst/elements/gstidentity.c: (gst_identity_class_init),
27470         (gst_identity_transform_ip):
27471         We're a real inplace element.
27472
27473         * gst/gstbus.c: (gst_bus_post):
27474         Added some comments.
27475
27476         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27477         * tests/muxing/case1.c: (main):
27478         * tests/sched/dynamic-pipeline.c: (main):
27479         * tests/sched/interrupt1.c: (main):
27480         * tests/sched/interrupt2.c: (main):
27481         * tests/sched/interrupt3.c: (main):
27482         * tests/sched/runxml.c: (main):
27483         * tests/sched/sched-stress.c: (main):
27484         * tests/seeking/seeking1.c: (event_received), (main):
27485         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27486         (main):
27487         * tests/threadstate/threadstate3.c: (main):
27488         * tests/threadstate/threadstate4.c: (main):
27489         * tests/threadstate/threadstate5.c: (main):
27490         Fix the tests.
27491
27492 2005-07-21  Wim Taymans  <wim@fluendo.com>
27493
27494         * docs/design/part-seeking.txt:
27495         Some small additions.
27496
27497         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27498         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27499         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27500         * gst/base/gstbasesink.h:
27501         discont values are gint64, handle the math correctly.
27502
27503         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27504         Make the basesrc report error if the source pad is not linked.
27505
27506         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27507         (gst_queue_loop), (gst_queue_handle_src_query),
27508         (gst_queue_src_activate_push):
27509         Make queue collect data even if the srcpad is not linked.
27510         Start pushing out data as soon as it is linked.
27511
27512         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27513         * gst/gstutils.h:
27514         Added gst_flow_get_name() to ease error reporting.
27515
27516 2005-07-20  Wim Taymans  <wim@fluendo.com>
27517
27518         * gst/gstmessage.c: (gst_message_new_segment_start),
27519         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27520         (gst_message_parse_segment_done):
27521         * gst/gstmessage.h:
27522         Added a bunch of messages for advanced seeking.
27523
27524         * gst/parse/grammar.y:
27525         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27526         (gst_dpman_state_changed):
27527         Fix some new-pad -> pad-added signals
27528
27529 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27530
27531         * docs/manual/appendix-porting.xml:
27532         * docs/pwg/appendix-porting.xml:
27533           Document new-pad/state-change signal renames and the FixedList
27534           type rename.
27535
27536 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27537
27538         * docs/manual/advanced-autoplugging.xml:
27539         * docs/manual/basics-helloworld.xml:
27540         * docs/manual/basics-pads.xml:
27541         * docs/random/ds/0.9-suggested-changes:
27542         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27543         * gst/gstelement.h:
27544         * gst/gstevent.h:
27545         * gst/gstformat.h:
27546         * gst/gstquery.h:
27547         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27548         (gst_structure_parse_array), (gst_structure_parse_value):
27549         * gst/gstvalue.c: (gst_type_is_fixed),
27550         (gst_value_list_prepend_value), (gst_value_list_append_value),
27551         (gst_value_list_get_size), (gst_value_list_get_value),
27552         (gst_value_transform_array_string), (gst_value_serialize_array),
27553         (gst_value_deserialize_array), (gst_value_intersect_array),
27554         (gst_value_is_fixed), (_gst_value_initialize):
27555         * gst/gstvalue.h:
27556           GstElement::new-pad -> pad-added, GstElement::state-change ->
27557           state-changed, GstValueFixedList -> GstValueArray, add format and
27558           flags as their own arguments in gst_element_seek() (should improve
27559           "bindeability"), remove function generators since they don't work
27560           under a whole bunch of compilers (they were deprecated already
27561           anyway).
27562
27563 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27564
27565         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27566         (_gst_debug_register_funcptr):
27567         * gst/gstinfo.h:
27568           Fix illegal cast on some platforms (#309253).
27569
27570 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27571
27572         * gst/gstmessage.c: (gst_message_new_custom):
27573         * gst/gstmessage.h:
27574           Add _new_custom, make _new_application a macro to _new_custom.
27575
27576 2005-07-20  Wim Taymans  <wim@fluendo.com>
27577
27578         * gst/base/gstbasesrc.c: (gst_base_src_init),
27579         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27580         * gst/base/gstbasesrc.h:
27581         Add a gboolean to decide when to push out a discont.
27582
27583         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27584         (gst_queue_loop), (gst_queue_handle_src_query),
27585         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27586         (gst_queue_set_property), (gst_queue_get_property):
27587         Some cleanups.
27588
27589         * tests/threadstate/threadstate1.c: (main):
27590         Make a thread test compile and run... very silly..
27591
27592
27593 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27594
27595         * docs/manual/appendix-porting.xml:
27596           Mention removal of libgstgconf-0.9.la and existence of gconf
27597           elements.
27598
27599 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27600
27601         * docs/pwg/advanced-clock.xml:
27602         * docs/pwg/appendix-porting.xml:
27603         * docs/pwg/intro-preface.xml:
27604         * docs/pwg/other-base.xml:
27605         * docs/pwg/other-manager.xml:
27606         * docs/pwg/other-nton.xml:
27607         * docs/pwg/other-ntoone.xml:
27608         * docs/pwg/other-oneton.xml:
27609         * docs/pwg/pwg.xml:
27610           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27611           demuxer), remove n-to-n (was never written), fix some code examples
27612           and links and update the porting section to include all this.
27613
27614 2005-07-19  Wim Taymans  <wim@fluendo.com>
27615
27616         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27617         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27618         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27619         (gst_queue_src_activate_push), (gst_queue_change_state),
27620         (gst_queue_get_property):
27621         * gst/gstqueue.h:
27622         Propagate GstFlowReturn more intelligently upstream and output
27623         an ERROR/EOS when streaming stopped due to fatal error.
27624
27625 2005-07-19  Wim Taymans  <wim@fluendo.com>
27626
27627         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27628         Don't block forever for the state change to complete, the
27629         pipeline already did with a sensible timeout.
27630
27631 2005-07-19  Wim Taymans  <wim@fluendo.com>
27632
27633         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27634         Make sure we never call the create function is we
27635         got deactivated.
27636
27637 2005-07-19  Andy Wingo  <wingo@pobox.com>
27638
27639         * gst/parse/parse.l: Attempt to solve bug #172815.
27640
27641 2005-07-19  Wim Taymans  <wim@fluendo.com>
27642
27643         * docs/design/part-clocks.txt:
27644         * docs/design/part-events.txt:
27645         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27646         Small docs updates.
27647         Only update the seeking values when we are not
27648         busy streaming.
27649
27650 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27651
27652         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27653           Oops, ignore the result of gst_pad_push_event here.
27654
27655 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27656
27657         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27658         (gst_base_src_activate_push):
27659           Send discont event from the loop function, as pads
27660           aren't activated yet in the activate_push handler.
27661
27662         * gst/gstbin.c: (bin_bus_handler):
27663           Don't leak element name.
27664
27665 2005-07-18  Andy Wingo  <wingo@pobox.com>
27666
27667         * configure.ac: Use AS_LIBTOOL_TAGS.
27668
27669 2005-07-18  Wim Taymans  <wim@fluendo.com>
27670
27671         * docs/gst/gstreamer.types:
27672         Remove deleted types.
27673
27674 2005-07-18  Wim Taymans  <wim@fluendo.com>
27675
27676         * check/elements/gstfakesrc.c: (GST_START_TEST):
27677         * configure.ac:
27678         * gst/Makefile.am:
27679         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27680         (init_popt_callback):
27681         * gst/gst.h:
27682         * gst/gst_private.h:
27683         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27684         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27685         * gst/gstbin.h:
27686         * gst/gstbus.h:
27687         * gst/gstconfig.h.in:
27688         * gst/gstelement.c: (gst_element_class_init),
27689         (gst_element_set_base_time), (gst_element_get_base_time),
27690         (iterator_fold_with_resync), (gst_element_change_state),
27691         (gst_element_dispose), (gst_element_get_bus):
27692         * gst/gstelement.h:
27693         * gst/gstelementfactory.h:
27694         * gst/gsterror.c: (_gst_core_errors_init):
27695         * gst/gsterror.h:
27696         * gst/gstevent.h:
27697         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27698         * gst/gstindex.c:
27699         * gst/gstinfo.c: (_gst_debug_init):
27700         * gst/gstmessage.c: (_gst_message_copy):
27701         * gst/gstmessage.h:
27702         * gst/gstminiobject.h:
27703         * gst/gstobject.c:
27704         * gst/gstobject.h:
27705         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27706         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27707         * gst/gstpad.h:
27708         * gst/gstparse.h:
27709         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27710         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27711         (gst_pipeline_get_last_stream_time):
27712         * gst/gstpipeline.h:
27713         * gst/gstpluginfeature.h:
27714         * gst/gstquery.h:
27715         * gst/gstscheduler.c:
27716         * gst/gstscheduler.h:
27717         * gst/gststructure.h:
27718         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27719         (gst_task_finalize), (gst_task_func), (gst_task_create),
27720         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27721         (gst_task_stop), (gst_task_pause):
27722         * gst/gsttask.h:
27723         * gst/gsttypefind.h:
27724         * gst/gsttypes.h:
27725         * gst/registries/gstlibxmlregistry.c: (load_feature),
27726         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27727         * gst/registries/gstxmlregistry.c:
27728         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27729         * gst/schedulers/threadscheduler.c:
27730         * libs/gst/control/dparammanager.h:
27731         * tools/gst-inspect.c: (print_element_list),
27732         (print_plugin_features), (print_element_features):
27733         * tools/gst-xmlinspect.c: (print_element_list),
27734         (print_plugin_info), (main):
27735         Removed plugable schedulers.
27736         Removed Scheduler/Manager from elements.
27737         Removed gsttypes.h, rearranged includes.
27738         Removed dependency pad<->element, element<>pipeline, and
27739         various others,  fix includes.
27740         implement gst_pad_get_parent() with gst_object_get_parent()
27741         Make GstTask sefcontained.
27742         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27743         timeout.
27744         Fix endless loop in iterator_fold_with_resync.
27745
27746
27747 2005-07-18  Wim Taymans  <wim@fluendo.com>
27748
27749         * gst/Makefile.am:
27750         * gst/gstarch.h:
27751         Remove old file.
27752
27753 2005-07-18  Wim Taymans  <wim@fluendo.com>
27754
27755         * gst/Makefile.am:
27756         No more cothreads.h
27757
27758 2005-07-18  Wim Taymans  <wim@fluendo.com>
27759
27760         * gst/cothreads.c:
27761         * gst/cothreads.h:
27762         Let's remove these.
27763
27764 2005-07-18  Wim Taymans  <wim@fluendo.com>
27765
27766         * docs/design/part-dynamic.txt:
27767         * docs/design/part-events.txt:
27768         * docs/design/part-seeking.txt:
27769         Some more docs in the works.
27770
27771         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27772         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27773         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27774         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27775         (gst_base_transform_handle_buffer),
27776         (gst_base_transform_sink_activate_push),
27777         (gst_base_transform_src_activate_pull),
27778         (gst_base_transform_set_passthrough),
27779         (gst_base_transform_is_passthrough):
27780         Refcounting fixes.
27781
27782         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27783         Cleanups.
27784
27785         * gst/gstevent.c: (gst_event_finalize):
27786         Set SRC to NULL.
27787
27788         * gst/gstutils.c: (gst_element_unlink),
27789         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27790         (gst_pad_proxy_setcaps):
27791         * gst/gstutils.h:
27792         Add _get_parent_element() to get a pads parent as an element.
27793
27794 2005-07-18  Wim Taymans  <wim@fluendo.com>
27795
27796         * check/gst/gstbin.c: (GST_START_TEST):
27797         Remove bogus test.
27798
27799 2005-07-18  Wim Taymans  <wim@fluendo.com>
27800
27801         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27802         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27803         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27804         (gst_base_sink_event), (gst_base_sink_do_sync),
27805         (gst_base_sink_chain), (gst_base_sink_loop),
27806         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27807         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27808         Refcounting fixes.
27809         Fix logic for returning ASYNC when not prerolled.
27810
27811 2005-07-18  Wim Taymans  <wim@fluendo.com>
27812
27813         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27814         Fix nasty refcount bug.
27815
27816 2005-07-16 Philippe Khalaf <burger@speedy.org>
27817
27818         * gst/elements/gstfdsrc.c:
27819         * gst/elements/gstfdsrc.h:
27820         * gst/elements/gstelements.c:
27821         * gst/elements/Makefile.am:
27822         Ported fdsrc to 0.9.
27823
27824 2005-07-16  Wim Taymans  <wim@fluendo.com>
27825
27826         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27827         (gst_base_sink_do_sync):
27828         Fix compile error.
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_event), (gst_base_sink_get_times),
27834         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27835         * gst/base/gstbasesink.h:
27836         Store and use discont values when syncing buffers as described
27837         in design docs.
27838         
27839         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27840         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27841         (gst_base_src_activate_push):
27842         Push discont event when starting.
27843
27844         * gst/elements/gstidentity.c: (gst_identity_transform):
27845         Small cleanups.
27846
27847         * gst/gstbin.c: (gst_bin_change_state):
27848         Small cleanups in base_time  distribution.
27849
27850         * gst/gstelement.c: (gst_element_set_base_time),
27851         (gst_element_get_base_time), (gst_element_change_state):
27852         * gst/gstelement.h:
27853         Added methods for the base_time of the element.
27854         Some MT fixes.
27855
27856         * gst/gstpipeline.c: (gst_pipeline_send_event),
27857         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27858         (gst_pipeline_get_last_stream_time):
27859         * gst/gstpipeline.h:
27860         MT fixes.
27861         Handle seeking as described in design doc, remove stream_time
27862         hack.
27863         Cleanups clock and stream_time selection code. Added accessors
27864         for the stream_time.
27865         
27866
27867 2005-07-16  Andy Wingo  <wingo@pobox.com>
27868
27869         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27870         (#305291).
27871
27872 2005-07-16  Wim Taymans  <wim@fluendo.com>
27873
27874         * check/gst/gstbin.c: (GST_START_TEST):
27875         Make elements silent as the deep_notify refs the
27876         parent, which might make the test fail.
27877
27878         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27879         Don't hold the lock for too long.
27880
27881 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27882
27883         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27884           Don't unref the caps we passed to gst_caps_make_writable() after
27885           passing them. gst_caps_make_writable() will do that for us.
27886
27887 2005-07-15  Andy Wingo  <wingo@pobox.com>
27888
27889         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27890         (#157311).
27891
27892         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27893         own marshalling function for the handoff signal. Properly type the
27894         buffer as a buffer. Fixes some warnings. Should do a more general
27895         solution.
27896         (gst_identity_class_init): Plug into the right marshaller.
27897
27898 2005-07-15  Wim Taymans  <wim@fluendo.com>
27899
27900         * docs/design/part-TODO.txt:
27901         * docs/design/part-clocks.txt:
27902         * docs/design/part-element-sink.txt:
27903         * docs/design/part-events.txt:
27904         * docs/design/part-gstpipeline.txt:
27905         Updated docs, mostly DISCONT related.
27906
27907 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27908
27909         * docs/pwg/building-pads.xml:
27910           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27911
27912 2005-07-15  Andy Wingo  <wingo@pobox.com>
27913
27914         * tools/gst-typefind.c: Update, add copyright block.
27915
27916         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27917         Normalize and truncate caps before fixation.
27918
27919         * gst/gstcaps.h:
27920         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27921         discards all but the first structure from its argument.
27922
27923 2005-07-15  Wim Taymans  <wim@fluendo.com>
27924
27925         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27926         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27927         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27928         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27929         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27930         (gst_base_transform_chain), (gst_base_transform_change_state),
27931         (gst_base_transform_set_passthrough),
27932         (gst_base_transform_is_passthrough):
27933         * gst/base/gstbasetransform.h:
27934         Make passthrough work using the bufferpools.
27935         Changed API a bit, subclasses have to write into a buffer
27936         provided by the base class.
27937         More debug info in nego functions.
27938         
27939         * gst/elements/gstidentity.c: (gst_identity_init),
27940         (gst_identity_transform):
27941         Port to new base class.
27942
27943 2005-07-15  Wim Taymans  <wim@fluendo.com>
27944
27945         * gst/gstmessage.c: (gst_message_new_state_changed):
27946         * tools/gst-launch.c: (event_loop), (main):
27947         Totally dump messages in -launch with the -m option.
27948         Fix message name for State messages,
27949
27950 2005-07-14  Wim Taymans  <wim@fluendo.com>
27951
27952         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27953         Post error messages on errors.
27954
27955 2005-07-14  Wim Taymans  <wim@fluendo.com>
27956
27957         * gst/gstcaps.c: (gst_caps_do_simplify):
27958         Remove debug info.
27959
27960         * gst/gsterror.h:
27961         Define error for stream stopped.
27962
27963         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27964         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27965         Do proper return values.
27966
27967         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27968         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27969         (gst_pad_get_range):
27970         Better return values.
27971
27972         * gst/gstpad.h:
27973         Reorganise return values, add macro to check for fatal errors.
27974
27975         * gst/gstqueue.c: (gst_queue_chain):
27976         Return proper GstFlowReturn values,
27977
27978 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
27979
27980         * docs/gst/gstreamer-sections.txt:
27981         * docs/gst/gstreamer.types:
27982         * docs/gst/tmpl/gst.sgml:
27983         * docs/gst/tmpl/gstbasesink.sgml:
27984         * docs/gst/tmpl/gstbasesrc.sgml:
27985         * docs/gst/tmpl/gstbasetransform.sgml:
27986         * docs/gst/tmpl/gstbin.sgml:
27987         * docs/gst/tmpl/gstbuffer.sgml:
27988         * docs/gst/tmpl/gstcaps.sgml:
27989         * docs/gst/tmpl/gstclock.sgml:
27990         * docs/gst/tmpl/gstcompat.sgml:
27991         * docs/gst/tmpl/gstconfig.sgml:
27992         * docs/gst/tmpl/gstelement.sgml:
27993         * docs/gst/tmpl/gstelementdetails.sgml:
27994         * docs/gst/tmpl/gstelementfactory.sgml:
27995         * docs/gst/tmpl/gstenumtypes.sgml:
27996         * docs/gst/tmpl/gsterror.sgml:
27997         * docs/gst/tmpl/gstevent.sgml:
27998         * docs/gst/tmpl/gstfakesink.sgml:
27999         * docs/gst/tmpl/gstfakesrc.sgml:
28000         * docs/gst/tmpl/gstfilesink.sgml:
28001         * docs/gst/tmpl/gstfilesrc.sgml:
28002         * docs/gst/tmpl/gstfilter.sgml:
28003         * docs/gst/tmpl/gstformat.sgml:
28004         * docs/gst/tmpl/gstghostpad.sgml:
28005         * docs/gst/tmpl/gstimplementsinterface.sgml:
28006         * docs/gst/tmpl/gstindex.sgml:
28007         * docs/gst/tmpl/gstindexfactory.sgml:
28008         * docs/gst/tmpl/gstinfo.sgml:
28009         * docs/gst/tmpl/gstiterator.sgml:
28010         * docs/gst/tmpl/gstmacros.sgml:
28011         * docs/gst/tmpl/gstmemchunk.sgml:
28012         * docs/gst/tmpl/gstminiobject.sgml:
28013         * docs/gst/tmpl/gstobject.sgml:
28014         * docs/gst/tmpl/gstpad.sgml:
28015         * docs/gst/tmpl/gstpadtemplate.sgml:
28016         * docs/gst/tmpl/gstparse.sgml:
28017         * docs/gst/tmpl/gstpipeline.sgml:
28018         * docs/gst/tmpl/gstplugin.sgml:
28019         * docs/gst/tmpl/gstpluginfeature.sgml:
28020         * docs/gst/tmpl/gstquery.sgml:
28021         * docs/gst/tmpl/gstqueue.sgml:
28022         * docs/gst/tmpl/gstregistry.sgml:
28023         * docs/gst/tmpl/gstregistrypool.sgml:
28024         * docs/gst/tmpl/gstscheduler.sgml:
28025         * docs/gst/tmpl/gstschedulerfactory.sgml:
28026         * docs/gst/tmpl/gststructure.sgml:
28027         * docs/gst/tmpl/gstsystemclock.sgml:
28028         * docs/gst/tmpl/gsttaglist.sgml:
28029         * docs/gst/tmpl/gsttagsetter.sgml:
28030         * docs/gst/tmpl/gsttrace.sgml:
28031         * docs/gst/tmpl/gsttrashstack.sgml:
28032         * docs/gst/tmpl/gsttypefind.sgml:
28033         * docs/gst/tmpl/gsttypefindfactory.sgml:
28034         * docs/gst/tmpl/gsttypes.sgml:
28035         * docs/gst/tmpl/gsturihandler.sgml:
28036         * docs/gst/tmpl/gsturitype.sgml:
28037         * docs/gst/tmpl/gstutils.sgml:
28038         * docs/gst/tmpl/gstvalue.sgml:
28039         * docs/gst/tmpl/gstversion.sgml:
28040         * docs/gst/tmpl/gstxml.sgml:
28041         * docs/libs/tmpl/gstcontrol.sgml:
28042         * docs/libs/tmpl/gstdataprotocol.sgml:
28043         * docs/libs/tmpl/gstdparam.sgml:
28044         * docs/libs/tmpl/gstdplinint.sgml:
28045         * docs/libs/tmpl/gstdpman.sgml:
28046         * docs/libs/tmpl/gstdpsmooth.sgml:
28047         * docs/libs/tmpl/gstgetbits.sgml:
28048         * docs/libs/tmpl/gstunitconvert.sgml:
28049         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28050         (gst_push_src_base_init), (gst_push_src_class_init),
28051         (gst_push_src_init), (gst_push_src_create):
28052         * gst/base/gstpushsrc.h:
28053         * gst/elements/gstelements.c:
28054         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28055         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28056         (gst_fake_sink_init), (gst_fake_sink_set_property),
28057         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28058         (gst_fake_sink_event), (gst_fake_sink_preroll),
28059         (gst_fake_sink_render), (gst_fake_sink_change_state):
28060         * gst/elements/gstfakesink.h:
28061         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28062         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28063         (gst_fake_src_base_init), (gst_fake_src_class_init),
28064         (gst_fake_src_init), (gst_fake_src_event_handler),
28065         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28066         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28067         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28068         (gst_fake_src_create_buffer), (gst_fake_src_create),
28069         (gst_fake_src_start), (gst_fake_src_stop):
28070         * gst/elements/gstfakesrc.h:
28071         * gst/elements/gstfilesink.c: (_do_init),
28072         (gst_file_sink_base_init), (gst_file_sink_class_init),
28073         (gst_file_sink_init), (gst_file_sink_dispose),
28074         (gst_file_sink_set_location), (gst_file_sink_set_property),
28075         (gst_file_sink_get_property), (gst_file_sink_open_file),
28076         (gst_file_sink_close_file), (gst_file_sink_query),
28077         (gst_file_sink_event), (gst_file_sink_render),
28078         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28079         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28080         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28081         * gst/elements/gstfilesink.h:
28082         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28083         (gst_file_src_class_init), (gst_file_src_init),
28084         (gst_file_src_finalize), (gst_file_src_set_location),
28085         (gst_file_src_set_property), (gst_file_src_get_property),
28086         (gst_file_src_map_region), (gst_file_src_map_small_region),
28087         (gst_file_src_create_mmap), (gst_file_src_create_read),
28088         (gst_file_src_create), (gst_file_src_is_seekable),
28089         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28090         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28091         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28092         (gst_file_src_uri_handler_init):
28093         * gst/elements/gstfilesrc.h:
28094           more autistic cleanliness in functions/names/defines
28095
28096 2005-07-13  Andy Wingo  <wingo@pobox.com>
28097
28098         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28099         source couldn't negotiate.
28100
28101         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28102         connections again.
28103
28104         * gst/gstutils.h:
28105         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28106         function. I am channeling Hades. Put your boots on suckers!!!
28107
28108 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28109
28110         * testsuite/caps/Makefile.am:
28111         * testsuite/caps/value_compare.c:
28112         * testsuite/caps/value_intersect.c:
28113         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28114           move two testsuite apps over to the check dir
28115
28116 2005-07-12  Wim Taymans  <wim@fluendo.com>
28117
28118         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28119         Added more debug info in the negotiate process.
28120
28121         * gst/gstmessage.h:
28122         Prepare for segment playback.
28123
28124         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28125         Better debugging.
28126
28127         * gst/gstutils.c:
28128         Some more docs.
28129
28130         * tools/gst-launch.c: (main):
28131         NULL pipeline on errors.
28132
28133 2005-07-12  Andy Wingo  <wingo@pobox.com>
28134
28135         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28136         not it comes from a malloc region. Make sure our copy gets freed.
28137
28138 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28139
28140         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28141         * check/gst/gstmessage.c: (GST_START_TEST):
28142         * check/gst/gststructure.c: (GST_START_TEST),
28143         (gst_structure_suite), (main):
28144           more testing
28145         * gst/gstelement.c: (gst_element_message_full):
28146           clean up GError and debug string now that they get copied
28147         * gst/gstmessage.c: (gst_message_new_error),
28148         (gst_message_new_warning), (gst_message_parse_error),
28149         (gst_message_parse_warning):
28150           use GST_TYPE_G_ERROR for structure_new, and take copies of
28151           arguments, so that we don't mess up refcounting
28152
28153 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28154
28155         * check/Makefile.am:
28156           add per-test valgrind targets
28157         * check/gst-libs/gdp.c: (GST_START_TEST),
28158         (gst_data_protocol_suite), (main):
28159           clean up
28160
28161 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28162
28163         * check/Makefile.am:
28164           instate more valgrindable tests
28165         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28166         (GST_START_TEST), (fakesrc_suite):
28167         * check/gst/gstpad.c: (GST_START_TEST):
28168         * check/gst/gststructure.c: (GST_START_TEST):
28169           fix test leaks
28170         * docs/gst/tmpl/gstminiobject.sgml:
28171         * gst/gstpad.c: (gst_pad_finalize):
28172           fix the static mutex leak
28173
28174 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28175
28176         * check/Makefile.am:
28177           add two more tests for valgrinding
28178         * check/gst/gstvalue.c: (GST_START_TEST):
28179           test refcount of deserialized buffer, found a leak
28180         * docs/gst/gstreamer-docs.sgml:
28181         * docs/gst/gstreamer-sections.txt:
28182         * docs/gst/gstreamer.types:
28183         * docs/gst/tmpl/gstminiobject.sgml:
28184           add miniobject to docs
28185         * gst/gstminiobject.c:
28186           add some docs
28187         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28188         (gst_string_unwrap):
28189           fix a hard-to-find invalid write for one of the tests
28190           fix a leak for deserialized buffers
28191
28192 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28193
28194         * docs/pwg/advanced-events.xml:
28195         * docs/pwg/advanced-request.xml:
28196         * docs/pwg/advanced-scheduling.xml:
28197         * docs/pwg/appendix-porting.xml:
28198         * docs/pwg/building-boiler.xml:
28199         * docs/pwg/intro-preface.xml:
28200         * docs/pwg/other-ntoone.xml:
28201           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28202           of example code and explanation for pad activation, loop() and
28203           getrange() functions and a bit more. Remove old comments pointing
28204           to loop-functions.
28205         * examples/pwg/Makefile.am:
28206           Add loop/getrange examples.
28207
28208 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28209
28210         * configure.ac:
28211           check for valgrind binary + some fixes
28212         * check/gst.supp:
28213           valgrind suppressions for the tests
28214         * check/Makefile.am:
28215           add a valgrind: target that valgrinds the unit tests
28216         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28217         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28218         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28219         * check/gst/gstghostpad.c:
28220           added some cleanup
28221         * check/gst/gstdata.c:
28222           removed
28223         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28224         (thread_unref), (gst_mini_object_suite), (main):
28225           added
28226         * gst/gst.c: (gst_deinit):
28227         * gst/gst.h:
28228           add a method to clean up.
28229         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28230         (gst_system_clock_obtain):
28231           allow for disposing the system clock.
28232         * tools/gst-launch.c: (main):
28233           deinit
28234
28235 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28236
28237         * docs/gst/tmpl/gstbasesrc.sgml:
28238         * docs/gst/tmpl/gstfakesrc.sgml:
28239         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28240         (gst_base_src_init), (gst_base_src_set_property),
28241         (gst_base_src_get_property), (gst_base_src_get_range),
28242         (gst_base_src_start):
28243         * gst/base/gstbasesrc.h:
28244           add num-buffers property
28245         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28246         (gst_fakesrc_init), (gst_fakesrc_set_property),
28247         (gst_fakesrc_get_property), (gst_fakesrc_create),
28248         (gst_fakesrc_start):
28249           remove num-buffers property
28250
28251 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28252
28253         * docs/gst/gstreamer-sections.txt:
28254         * docs/gst/tmpl/gstbasesink.sgml:
28255         * docs/gst/tmpl/gstbasesrc.sgml:
28256         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28257         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28258         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28259         (gst_base_sink_set_property), (gst_base_sink_get_property),
28260         (gst_base_sink_handle_object), (gst_base_sink_event),
28261         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28262         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28263         (gst_base_sink_loop), (gst_base_sink_deactivate),
28264         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28265         (gst_base_sink_change_state):
28266         * gst/base/gstbasesink.h:
28267         * gst/base/gstbasesrc.h:
28268         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28269         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28270         (gst_filesink_init):
28271           more macro splitting
28272
28273 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28274
28275         * gst/gstelement.c: (gst_element_get_bus):
28276           add debug
28277         * tools/gst-launch.c: (check_intr), (event_loop):
28278           fix bus leaks
28279
28280 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28281
28282         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28283           fix a caps leak
28284
28285 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28286
28287         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28288         (gst_base_src_finalize):
28289           add finalize method and clean up properly
28290         * gst/gstpipeline.c: (gst_pipeline_dispose):
28291           add debug
28292
28293 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28294
28295         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28296         (gst_bin_suite):
28297           add more things to check
28298         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28299         * gst/gstelement.c:
28300           more debug
28301
28302 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28303
28304         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28305         (GST_START_TEST), (fakesrc_suite):
28306         * check/gst-libs/gdp.c: (GST_START_TEST):
28307         * check/gst/gst.c: (GST_START_TEST):
28308         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28309         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28310         * check/gst/gstbus.c: (GST_START_TEST):
28311         * check/gst/gstcaps.c: (GST_START_TEST):
28312         * check/gst/gstdata.c: (GST_START_TEST):
28313         * check/gst/gstelement.c: (GST_START_TEST):
28314         * check/gst/gstghostpad.c: (GST_START_TEST):
28315         * check/gst/gstiterator.c: (GST_START_TEST):
28316         * check/gst/gstmessage.c: (GST_START_TEST):
28317         * check/gst/gstobject.c: (GST_START_TEST):
28318         * check/gst/gstpad.c: (GST_START_TEST):
28319         * check/gst/gststructure.c: (GST_START_TEST):
28320         * check/gst/gstsystemclock.c: (GST_START_TEST),
28321         (gst_systemclock_suite):
28322         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28323         * check/gst/gstvalue.c: (GST_START_TEST):
28324         * check/pipelines/cleanup.c: (GST_START_TEST):
28325         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28326         * check/states/sinks.c: (GST_START_TEST):
28327         * check/gstcheck.c: (gst_check_init):
28328         * check/gstcheck.h:
28329           add debugging category
28330           use GST_START_TEST now, so we add a debug line
28331
28332 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28333
28334         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28335           add test for state change message on a bin
28336         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28337           add another test
28338         * gst/gstbin.c: (gst_bin_init):
28339         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28340         * gst/gstelement.c: (gst_element_post_message),
28341         (gst_element_set_state):
28342         * gst/gstelementfactory.c: (gst_element_factory_create):
28343         * gst/gstmessage.c: (gst_message_new):
28344         * gst/gstscheduler.c:
28345           various debugging additions and cleanups
28346
28347 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28348
28349         * check/Makefile.am:
28350         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28351         (main):
28352           adding tests for elements
28353         * gst/gstelement.c: (gst_element_dispose):
28354
28355 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28356
28357         * gst/registries/gstlibxmlregistry.c: (load_feature):
28358           plug more leaks.  A simple gst_init() now is leakfree, yay.
28359
28360 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28361
28362         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28363         (gst_xml_registry_load):
28364           plug another memleak
28365
28366 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28367
28368         * configure.ac:
28369           use GST_SET_ERROR_CFLAGS
28370         * docs/faq/cvs.xml:
28371           change to ERROR_CFLAGS
28372
28373 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28374
28375         * configure.ac:
28376           make GST_ERROR_CFLAGS overridable and re-enable Werror
28377         * docs/faq/cvs.xml:
28378           add a note about error CFLAGS
28379         * docs/gst/tmpl/gstfakesrc.sgml:
28380         * gst/elements/gstfakesrc.c:
28381           comment out some unused code
28382         * gst/gst.c: (split_and_iterate):
28383         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28384         (load_feature):
28385           plug some memleaks
28386
28387 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28388
28389         * common/Makefile.am:
28390         * common/gtk-doc.mak:
28391         * docs/gst/Makefile.am:
28392           factor out gtk-doc.mak
28393
28394 2005-07-07  Wim Taymans  <wim@fluendo.com>
28395
28396         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28397         (gst_thread_scheduler_dispose):
28398         Unlock the STREAM_LOCK completely.
28399
28400 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28401
28402         * check/Makefile.am:
28403         * check/elements/.cvsignore:
28404         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28405         (START_TEST), (fakesrc_suite), (main):
28406         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28407         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28408         (gst_fakesrc_create), (gst_fakesrc_start):
28409         * gst/elements/gstfakesrc.h:
28410           adding a first element test
28411
28412 2005-07-07  Andy Wingo  <wingo@pobox.com>
28413
28414         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28415         debug message.
28416
28417 2005-07-07  Wim Taymans  <wim@fluendo.com>
28418
28419         * gst/gstquery.c:
28420         * gst/gstquery.h:
28421         Remove old types
28422
28423 2005-07-07  Wim Taymans  <wim@fluendo.com>
28424
28425         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28426         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28427         Allow subclasses to implement their own negotiation.
28428
28429 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28430
28431         * docs/design/part-gstbin.txt:
28432         * docs/design/part-gstpipeline.txt:
28433           Update design notes to reflect the movement of
28434           responsibility for bus handling from GstPipeline to
28435           GstBin
28436
28437 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28438
28439         * configure.ac:
28440           Remove unnecessary queue2/3/4 examples.
28441
28442 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28443
28444         * examples/Makefile.am:
28445         * examples/helloworld/helloworld.c: (event_loop), (main):
28446         * examples/queue/queue.c: (event_loop), (main):
28447         * examples/queue2/queue2.c: (main):
28448           Update a couple of the examples to work again.
28449
28450         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28451         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28452          Spelling corrections and extra debug.
28453         
28454         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28455         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28456         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28457         * gst/gstbin.h:
28458         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28459         (gst_pipeline_change_state):
28460         * gst/gstpipeline.h:
28461           Move the bus handler for children to the GstBin, and create a
28462           separate bus for receiving messages from children to the one the
28463           bus sends 'upwards' on.
28464
28465 2005-07-06  Wim Taymans  <wim@fluendo.com>
28466
28467         * gst/base/README:
28468         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28469         (gst_base_sink_handle_object), (gst_base_sink_loop),
28470         (gst_base_sink_change_state):
28471         * gst/base/gstbasesink.h:
28472         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28473         (gst_base_src_init), (gst_base_src_setcaps),
28474         (gst_base_src_getcaps), (gst_base_src_loop),
28475         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28476         (gst_base_src_start), (gst_base_src_change_state):
28477         * gst/base/gstbasesrc.h:
28478         Make basesrc negotiate.
28479         Handle the case where preroll fails in basesink.
28480         Update README.
28481
28482 2005-07-06  Wim Taymans  <wim@fluendo.com>
28483
28484         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28485         Implement the fixate function.
28486         Clean up acceptcaps.
28487
28488 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28489
28490         * docs/pwg/building-filterfactory.xml:
28491         * docs/pwg/pwg.xml:
28492           Remove never-written filter-factory chapter; I'll add the various
28493           base classes to part 4 ("other element types") later on.
28494
28495 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28496
28497         * docs/pwg/advanced-negotiation.xml:
28498         * docs/pwg/building-boiler.xml:
28499         * docs/pwg/building-pads.xml:
28500         * docs/pwg/pwg.xml:
28501         * examples/pwg/Makefile.am:
28502           Add a chapter on caps negotiation, simplify the original code
28503           samples a bit w.r.t. caps negotiation, add link to the advanced
28504           section. Add a bunch of examples showing different use cases of
28505           different types of caps negotiation. Upstream renegotiation isn't
28506           fully documented yet since nobody knows how that works.
28507
28508 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28509
28510         * check/gst/gstpad.c:
28511         * check/gstcheck.c:
28512         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28513           if pad has no parent, return NULL as list of internal links
28514
28515 2005-07-05  Andy Wingo  <wingo@pobox.com>
28516
28517         * gst/elements/gstfilesrc.c:
28518         * gst/elements/gstfakesrc.c: 
28519         * gst/base/gstpushsrc.c:
28520         * gst/base/gstbasesrc.h: 
28521         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28522         
28523 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28524
28525         * Makefile.am:
28526           better report generation target (lcov needs a patch)
28527
28528 2005-07-05  Andy Wingo  <wingo@pobox.com>
28529
28530         * gst/elements, testsuite: Null if we got it...
28531
28532 2005-07-05  Wim Taymans  <wim@fluendo.com>
28533
28534         * configure.ac:
28535         * libs/gst/dataprotocol/Makefile.am:
28536         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28537         * libs/gst/dataprotocol/dataprotocol.h:
28538         * pkgconfig/Makefile.am:
28539         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28540         * pkgconfig/gstreamer-dataprotocol.pc.in:
28541         Ported dataprotol to 0.9. 
28542         Added pkgconfig files.
28543
28544 2005-07-05  Andy Wingo  <wingo@pobox.com>
28545
28546         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28547         Default to returning TRUE for the case when tranform_caps returns
28548         a fixed caps, like for identity or volume.
28549
28550         * check/gst/gstbus.c (pound_bus_with_messages): 
28551         * check/gst/gstmessage.c (START_TEST): 
28552         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28553         message API change.
28554
28555         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28556         logic weaks here: always run transform_caps, trying passthrough
28557         operation only if the original caps intersects with the transform.
28558
28559         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28560         source and sink caps.
28561
28562         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28563         Intersect the peer caps with the pad template before going into
28564         transform_caps.
28565         (gst_base_transform_transform_caps): More debugging.
28566
28567         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28568         src argument.
28569
28570 2005-07-04  Edward Hervey  <edward@fluendo.com>
28571
28572         * gst/gstutils.c:
28573         * gst/gstutils.h:
28574         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28575         in bindings.
28576
28577 2005-07-04  Andy Wingo  <wingo@pobox.com>
28578
28579         * check/gst/gstpad.c: Only set explicit caps on pads.
28580
28581 2005-07-01  Andy Wingo  <wingo@pobox.com>
28582
28583         * tests/network-clock.scm: Commentary update.
28584
28585         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28586         Didn't really make sense, not implementable with basetransform,
28587         etc.
28588         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28589         attempt at implementing the sync property, needs an unlock method.
28590
28591         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28592         New func, by default returns the same caps (the identity
28593         transformation).
28594         (gst_base_transform_getcaps): Uses transform_caps to return
28595         something sensible.
28596         (gst_base_transform_setcaps): Complicated logic to get caps on
28597         both pads, even if they are different, and to call set_caps once
28598         for every time both pads get their caps set.
28599         (gst_base_transform_handle_buffer): Give the ref to the transform
28600         function. Allows in-place modification of the buffer.
28601
28602         * gst/base/gstbasetransform.h (transform_caps): New class method.
28603         Given caps on one side, what can I do on the other.
28604         (set_caps): Take two caps, one for each side of the element.
28605
28606         * gst/gstpad.h:
28607         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28608         caps in place. This is safe because we can check the mutability of
28609         the caps, and a good idea because fixate functions are just called
28610         as a matter of last resort. (Not actually implemented.)
28611         (gst_pad_set_caps): If the caps we're setting is actually the same
28612         as the existing pad caps, just update the pointer without calling
28613         setcaps. Assert that caps is either NULL or fixed, as per the
28614         docs.
28615
28616         * gst/gstghostpad.c: Update for fixate changes.
28617
28618 2005-07-02  Andy Wingo  <wingo@pobox.com>
28619
28620         * gst/gstcaps.c:
28621         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28622         two refcounts makes it immutable, which is enough. Doc more.
28623
28624 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28625
28626         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28627           Put the mini_object into GValue as a mini_object,
28628           not a gpointer, since that's how we declared
28629           the signal.
28630
28631 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28632
28633         * examples/pwg/Makefile.am:
28634           Fix buildbot again.
28635
28636 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28637
28638         * docs/pwg/building-testapp.xml:
28639           Add extra check.
28640         * examples/pwg/Makefile.am:
28641           Fix buildbot.
28642
28643 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28644
28645         * configure.ac:
28646         * examples/Makefile.am:
28647         * examples/pwg/Makefile.am:
28648         * examples/pwg/extract.pl:
28649           Enable building the PWG examples.
28650         * docs/pwg/advanced-interfaces.xml:
28651           Add URI interface stub.
28652         * docs/pwg/advanced-types.xml:
28653         * docs/pwg/other-autoplugger.xml:
28654         * docs/pwg/appendix-porting.xml:
28655         * docs/pwg/pwg.xml:
28656           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28657         * docs/pwg/building-boiler.xml:
28658         * docs/pwg/building-chainfn.xml:
28659         * docs/pwg/building-pads.xml:
28660         * docs/pwg/building-props.xml:
28661         * docs/pwg/building-state.xml:
28662         * docs/pwg/building-testapp.xml:
28663           Update the building-*.xml parts for 0.9 changes. All examples
28664           code blocks compile in examples/pwg/*.
28665
28666 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28667
28668         * docs/manual/advanced-autoplugging.xml:
28669         * docs/manual/appendix-checklist.xml:
28670         * docs/manual/appendix-integration.xml:
28671         * docs/manual/highlevel-components.xml:
28672           Fix playbin/decodebin examples, update docs a bit, mention bus
28673           instead of signals in various places, mention kmplayer and
28674           kaffeine since they have a working GStreamer backend in the KDE
28675           section.
28676
28677 2005-06-30  Wim Taymans  <wim@fluendo.com>
28678
28679         * CHANGES-0.9:
28680         * docs/design/draft-ghostpads.txt:
28681         * docs/design/draft-push-pull.txt:
28682         * docs/design/draft-query.txt:
28683         * docs/design/part-TODO.txt:
28684         * docs/design/part-query.txt:
28685         Added CHANGES-0.9 doc, updated status of other docs.
28686         
28687         * gst/gstquery.h:
28688         Remove "hmm" macro
28689
28690 2005-06-30  Wim Taymans  <wim@fluendo.com>
28691
28692         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28693         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28694         (gst_base_sink_change_state):
28695         * gst/base/gstbasesink.h:
28696         Some tweaks, only EOS and a buffer complete a preroll.
28697
28698 2005-06-30  Andy Wingo  <wingo@pobox.com>
28699
28700         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28701         activate_push down to the internal pad as well.
28702
28703 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28704
28705         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28706
28707         * gst/gsttaginterface.c:
28708           Some documentation fixes (#307394 and #307397).
28709
28710 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28711
28712         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28713
28714         * gst/gstvalue.c: (gst_value_intersect_list):
28715           Fix memleak (#309125).
28716
28717 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28718
28719         * docs/manual/advanced-dataaccess.xml:
28720           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28721         * docs/manual/basics-pads.xml:
28722           Add reference for filtered caps to above chapter.
28723
28724 2005-06-30  Wim Taymans  <wim@fluendo.com>
28725
28726         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28727         (gst_bin_change_state):
28728         Probes are gone.
28729         Lame attempt at making the state change function a bit
28730         more readable.
28731
28732 2005-06-30  Wim Taymans  <wim@fluendo.com>
28733
28734         * docs/design/part-clocks.txt:
28735         * docs/design/part-element-sink.txt:
28736         * docs/design/part-events.txt:
28737         * docs/design/part-preroll.txt:
28738         * docs/design/part-states.txt:
28739         Some more tweeks and additions to the docs.
28740
28741 2005-06-30  Wim Taymans  <wim@fluendo.com>
28742
28743         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28744         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28745         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28746         (gst_pad_check_pull_range), (gst_pad_get_range),
28747         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28748         * gst/gstpad.h:
28749         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28750         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28751         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28752         (gst_pad_remove_buffer_probe):
28753         Removed atomic operations, use existing LOCK.
28754         Move exception handling out of main code path.
28755
28756 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28757
28758         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28759         (silly_return_true_function), (gst_pad_class_init),
28760         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28761         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28762         (gst_pad_send_event):
28763           Fix accumulator, add default value by using _emitv() instead
28764           of _emit() for signal emission.
28765
28766 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28767
28768         * docs/manual/advanced-dataaccess.xml:
28769         * examples/manual/Makefile.am:
28770           Add probe example.
28771         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28772           Make work (??).
28773
28774 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28775
28776         * gst/elements/gstfilesink.c: (gst_filesink_render):
28777           Simplify code so that we don't have to handle short
28778           writes and return GST_FLOW_ERROR if an error occured.
28779
28780 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28781
28782         * docs/gst/gstreamer-docs.sgml:
28783           Remove probes more.
28784
28785 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28786
28787         * docs/gst/gstreamer-sections.txt:
28788         * docs/gst/tmpl/gstpad.sgml:
28789         * docs/gst/tmpl/gstprobe.sgml:
28790         * gst/Makefile.am:
28791         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28792         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28793         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28794         (gst_pad_push_event), (gst_pad_send_event):
28795         * gst/gstpad.h:
28796         * gst/gstutils.c: (gst_pad_add_data_probe),
28797         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28798         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28799         (gst_pad_remove_buffer_probe):
28800         * gst/gstutils.h:
28801           Remove old probes, add new g-signal-based probes and some utility
28802           functions.
28803
28804 2005-06-29  Edward Hervey  <edward@fluendo.com>
28805
28806         * gst/gstelementfactory.c:
28807         * gst/gstutils.h:
28808         * gst/gstutils.c:
28809         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28810         the definition to the header file.
28811
28812 2005-06-29  Andy Wingo  <wingo@pobox.com>
28813
28814         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28815         plugins from the source directory.
28816
28817 2005-06-29  Wim Taymans  <wim@fluendo.com>
28818
28819         * docs/gst/tmpl/gstbuffer.sgml:
28820         * docs/gst/tmpl/gstclock.sgml:
28821         Some fixings for blantently wrong text.
28822
28823 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28824
28825         * check/Makefile.am:
28826         * gst/gst.c: (add_path_func), (init_pre):
28827         * gst/gstregistry.c: (gst_registry_add_path):
28828           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28829           only scan the GST_PLUGIN_PATH locations, and not add
28830           system locations
28831
28832 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28833
28834         * docs/gst/gstreamer-sections.txt:
28835         * docs/gst/tmpl/gstbasesrc.sgml:
28836         * gst/gstelement.c:
28837         * gst/gstelement.h:
28838         * gst/gstevent.c:
28839         * gst/gstutils.c:
28840           doc fixes
28841
28842 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28843
28844         * docs/manual/advanced-autoplugging.xml:
28845           Fix autoplugging example.
28846
28847 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28848
28849         * docs/manual/advanced-autoplugging.xml:
28850         * docs/manual/mime-world.fig:
28851           Try to get autoplugging working, fix type detection. Fix text
28852           in hello-world image.
28853
28854 2005-06-29  Wim Taymans  <wim@fluendo.com>
28855
28856         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28857         (gst_base_sink_change_state):
28858         Small debug line.
28859
28860         * gst/gstclock.h:
28861         map SIGNAL and BROADCAST to the right function.
28862
28863         * gst/gstobject.h:
28864         Remove redundant braces.
28865
28866         * gst/gstpad.c: (gst_pad_set_caps):
28867         Don't call setcaps function when reseting caps to NULL.
28868
28869         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28870         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28871         (gst_system_clock_id_unschedule):
28872         Use BROADCAST as this is what we do.
28873
28874 2005-06-29  Wim Taymans  <wim@fluendo.com>
28875
28876         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28877         We are actually prerolling before commiting the state
28878         change. 
28879
28880 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28881
28882         * docs/manual/advanced-clocks.xml:
28883         * docs/manual/advanced-interfaces.xml:
28884         * docs/manual/advanced-metadata.xml:
28885         * docs/manual/advanced-position.xml:
28886         * docs/manual/advanced-schedulers.xml:
28887         * docs/manual/advanced-threads.xml:
28888         * docs/manual/appendix-porting.xml:
28889         * docs/manual/basics-bins.xml:
28890         * docs/manual/basics-bus.xml:
28891         * docs/manual/basics-elements.xml:
28892         * docs/manual/basics-helloworld.xml:
28893         * docs/manual/basics-pads.xml:
28894         * docs/manual/highlevel-components.xml:
28895         * docs/manual/manual.xml:
28896         * docs/manual/thread.fig:
28897           Update (until threads/scheduling) Application Development Manual;
28898           remove GstThread, add GstBus, add simple porting checklist, add
28899           documentation for tag writing, clocks, make all examples until this
28900           part compile and run.
28901         * examples/manual/Makefile.am:
28902           Update from changes to Application Development Manual; add bus
28903           example, remove thread example.
28904
28905 2005-06-28  Wim Taymans  <wim@fluendo.com>
28906
28907         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28908         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28909         (gst_bus_source_dispatch):
28910         Add debugging messages.
28911         Make internal methods static.
28912         Handle the case where the bus is flushed in the handler.
28913         
28914         * gst/gstelement.c: (gst_element_get_bus):
28915         Fix refcount in _get_bus();
28916
28917         * gst/gstpipeline.c: (gst_pipeline_change_state),
28918         (gst_pipeline_get_clock_func):
28919         Clock refcounting fixes.
28920         Handle the case where preroll timed out more gracefully.
28921         
28922         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28923         Clean up the internal thread in dispose. This is needed
28924         for subclasses that actually get disposed.
28925         
28926         * gst/schedulers/threadscheduler.c:
28927         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28928         (gst_thread_scheduler_dispose):
28929         Free thread pool in dispose.
28930
28931 2005-06-28  Andy Wingo  <wingo@pobox.com>
28932
28933         * tests/network-clock-utils.scm (debug, print-event): New utils.
28934
28935         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28936         (*packet-loss*): Unified loss probability.
28937         (network-time): Report out-of-band events.
28938
28939         * tests/plot-data: Add support for out-of-band events. Hack it
28940         into this script instead of passing it down the pipe; should fix
28941         this later.
28942
28943 2005-06-28  Wim Taymans  <wim@fluendo.com>
28944
28945         * docs/gst/gstreamer.types:
28946         * docs/gst/tmpl/gstbasesrc.sgml:
28947         * docs/gst/tmpl/gstpad.sgml:
28948         Docs fixes.
28949
28950 2005-06-28  Wim Taymans  <wim@fluendo.com>
28951
28952         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28953         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28954         (gst_proxy_pad_do_fixatecaps):
28955         Correctly proxy the check_pull_range function.
28956
28957 2005-06-28  Andy Wingo  <wingo@pobox.com>
28958
28959         * tests/network-clock.scm: Removed need for slib.
28960         
28961 2005-06-28  Wim Taymans  <wim@fluendo.com>
28962
28963         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28964         (gst_basesink_preroll_queue_flush):
28965         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28966         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28967         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28968         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28969         (gst_proxy_pad_set_property):
28970         * gst/gstpad.c:
28971         * gst/gstpad.h:
28972         * gst/gstqueue.c: (gst_queue_init):
28973         The deprecated pad loop function is removed now.
28974
28975 2005-06-28  Andy Wingo  <wingo@pobox.com>
28976
28977         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28978         New parameters, simulate network packet loss.
28979
28980         * tests/network-clock-utils.scm: Initialize the RNG.
28981
28982 2005-06-28  Wim Taymans  <wim@fluendo.com>
28983
28984         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28985         (gst_basesink_event), (gst_basesink_deactivate):
28986         Flushing the preroll queue always needs to unlock the waiters.
28987
28988 2005-06-28  Edward Hervey  <edward@fluendo.com>
28989
28990         * gst/gstpipeline.c: (gst_pipeline_send_event): 
28991         Wheen a seek was successful on a pipeline, set the stream_time to the
28992         seek offset in order to have a synchronized stream_time.
28993
28994 2005-06-28  Wim Taymans  <wim@fluendo.com>
28995
28996         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28997         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28998         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28999         (gst_proxy_pad_do_fixatecaps):
29000         Call wrapper function instead of just calling the function
29001         pointers. This takes care of any locking and whatmore.
29002
29003 2005-06-28  Wim Taymans  <wim@fluendo.com>
29004
29005         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29006         (gst_pad_pull_range):
29007         * gst/gstpad.h:
29008         CONNECTED -> LINKED.
29009
29010 2005-06-28  Andy Wingo  <wingo@pobox.com>
29011
29012         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29013         source-munging commit!!!
29014
29015         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29016         (gst_object_sink): Take gpointer arguments, not GstObject --
29017         avoids casts. Like GLib.
29018
29019         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29020         activate.
29021
29022 2005-06-27  Andy Wingo  <wingo@pobox.com>
29023
29024         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29025         remaining buffer.
29026
29027         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29028         returns a sorted copy of the trace list.
29029         (gst_alloc_trace_print_live): New API, only prints traces with
29030         live objects. Sort the list.
29031         (gst_alloc_trace_print_all): Sort the list.
29032         (gst_alloc_trace_print): Align columns.
29033
29034         * gst/elements/gstttypefindelement.c:
29035         * gst/elements/gsttee.c:
29036         * gst/base/gstbasesrc.c:
29037         * gst/base/gstbasesink.c:
29038         * gst/base/gstbasetransform.c:
29039         * gst/gstqueue.c: Adapt for pad activation changes.
29040
29041         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29042         sched.
29043         (gst_pipeline_dispose): Drop ref on sched.
29044
29045         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29046         (gst_pad_activate_default): Push mode by default.
29047         (pre_activate_switch, post_activate_switch): New stubs, things to
29048         do before and after switching activation modes on pads.
29049         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29050         the pad's activate function to choose which mode to activate.
29051         Shortcut on deactivation and call the right function directly.
29052         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29053         mode.
29054         (gst_pad_activate_push): New API, same for push mode.
29055         (gst_pad_set_activate_function) 
29056         (gst_pad_set_activatepull_function) 
29057         (gst_pad_set_activatepush_function): Setters for new API.
29058
29059         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29060         Trace all miniobjects.
29061         (gst_mini_object_make_writable): Unref the arg if we copy, like
29062         gst_caps_make_writable.
29063
29064         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29065
29066         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29067         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29068         Adapt for new pad API.
29069
29070         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29071
29072         * gst/gstelement.h:
29073         * gst/gstelement.c (gst_element_iterate_src_pads) 
29074         (gst_element_iterate_sink_pads): New API functions.
29075         
29076         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29077         should fold into gstiterator.c in some form.
29078         (gst_element_pads_activate): Simplified via use of fold and
29079         delegation of decisions to gstpad->activate.
29080
29081         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29082         help in debugging.
29083
29084         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29085         class once in init, like gstmessage. Didn't run into this issue
29086         but it seems correct. Don't initialize a trace, gstminiobject does
29087         that.
29088
29089         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29090         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29091         to the bus.
29092         (assert_live_count): New util function, uses alloc traces to check
29093         cleanup.
29094
29095         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29096         To be modified when unlink drops the internal pad.
29097
29098 2005-06-27  Wim Taymans  <wim@fluendo.com>
29099
29100         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29101         (gst_bin_change_state):
29102         Cleanup the get_state() function a little, make sure it
29103         iterates the same set of elements.
29104         Added stub iterate_state_order().
29105
29106 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29107
29108         * docs/gst/gstreamer-docs.sgml:
29109         * docs/gst/gstreamer-sections.txt:
29110         * docs/gst/gstreamer.types:
29111         * docs/gst/tmpl/gstbasesink.sgml:
29112         * docs/gst/tmpl/gstbasesrc.sgml:
29113         * docs/gst/tmpl/gstbasetransform.sgml:
29114         * docs/gst/tmpl/gstelement.sgml:
29115         * docs/gst/tmpl/gstiterator.sgml:
29116         * gst/base/gstbasesrc.c:
29117         * gst/base/gstbasesrc.h:
29118         * gst/base/gstbasetransform.h:
29119         * gst/gstelement.c:
29120         * gst/gstiterator.h:
29121           adding basetransform and iterator docs
29122
29123 2005-06-27  Andy Wingo  <wingo@pobox.com>
29124
29125         * docs/design/part-activation.txt: Notes on how activation should
29126         work -- not quite implemented yet.
29127
29128 2005-06-25  Wim Taymans  <wim@fluendo.com>
29129
29130         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29131         At least get the chain function correct, needs more
29132         fixing.
29133
29134 2005-06-25  Wim Taymans  <wim@fluendo.com>
29135
29136         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29137         (gst_basesink_handle_object), (gst_basesink_event),
29138         (gst_basesink_do_sync), (gst_basesink_handle_event),
29139         (gst_basesink_change_state):
29140         * gst/gsttask.h:
29141         Right, two problems here: ghostpads don't take locks and
29142         glib _rec_mutex_lock_full() with depth==0 still locks.
29143         Catch illegal locking and g_warn them.
29144
29145 2005-06-25  Wim Taymans  <wim@fluendo.com>
29146
29147         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29148         Have to check for completion now...
29149
29150 2005-06-25  Wim Taymans  <wim@fluendo.com>
29151
29152         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29153         (gst_basesink_handle_object), (gst_basesink_event),
29154         (gst_basesink_do_sync), (gst_basesink_handle_event),
29155         (gst_basesink_change_state):
29156         * gst/gstpad.h:
29157         Unlock STREAM_LOCK whatever the recursion was.
29158
29159 2005-06-25  Wim Taymans  <wim@fluendo.com>
29160
29161         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29162         (gst_basesink_preroll_queue_empty),
29163         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29164         (gst_basesink_event), (gst_basesink_do_sync),
29165         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29166         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29167         (gst_basesink_change_state):
29168         Reworked the base sink, handle event and buffer serialisation
29169         correctly and removed possible deadlock.
29170         Handle EOS correctly.
29171
29172 2005-06-25  Wim Taymans  <wim@fluendo.com>
29173
29174         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29175         (gst_pipeline_change_state):
29176         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29177         Allow elements to post EOS in the state change function.
29178         Fix up -launch, make it exit the poll loop when the
29179         pipeline actually changed state.
29180         Fix up warning parsing in -launch.
29181
29182 2005-06-25  Wim Taymans  <wim@fluendo.com>
29183
29184         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29185         (gst_tee_sink_activate):
29186         Core takes STREAM_LOCK for us now.
29187
29188 2005-06-25  Wim Taymans  <wim@fluendo.com>
29189
29190         * gst/gstelement.c: (gst_element_get_state_func),
29191         (gst_element_set_state):
29192         * gst/gstelement.h:
29193         * gst/gstmessage.c: (gst_message_parse_error),
29194         (gst_message_parse_warning):
29195         Keep track of current target state while performing a state
29196         change so that subclasses can do something interesting.
29197         Fix parsing of warning/error messages when GError is NULL.
29198
29199 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29200
29201         * docs/gst/Makefile.am:
29202         * docs/gst/gstreamer-docs.sgml:
29203         * docs/gst/gstreamer-sections.txt:
29204         * docs/gst/gstreamer.types:
29205         * docs/gst/tmpl/gstbasesink.sgml:
29206         * docs/gst/tmpl/gstbasesrc.sgml:
29207         * docs/gst/tmpl/gstbin.sgml:
29208         * docs/gst/tmpl/gstcompat.sgml:
29209         * docs/gst/tmpl/gstfakesink.sgml:
29210         * docs/gst/tmpl/gstfakesrc.sgml:
29211         * docs/gst/tmpl/gstfilesink.sgml:
29212         * docs/gst/tmpl/gstfilesrc.sgml:
29213         * docs/gst/tmpl/gstindex.sgml:
29214         * docs/manual/appendix-quotes.xml:
29215         * gst/base/gstbasesrc.h:
29216         * gst/elements/gstfakesrc.h:
29217         * gst/gstmessage.h:
29218           start pulling in base classes and elements in our docs
29219
29220 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29221
29222         * docs/gst/Makefile.am:
29223         * docs/libs/Makefile.am:
29224           fixed make distcheck with gtk-doc 1.3
29225
29226 2005-06-23  Wim Taymans  <wim@fluendo.com>
29227
29228         * gst/gstelement.c: (gst_element_get_state_func),
29229         (gst_element_set_state), (gst_element_change_state):
29230         When the state did not change, also report NO_PREROLL
29231         when it matters.
29232
29233 2005-06-23  Wim Taymans  <wim@fluendo.com>
29234
29235         * gst/gstpad.c: (gst_pad_event_default):
29236         * gst/gstqueue.c: (gst_queue_loop):
29237         No unsafe task pausing please.
29238
29239 2005-06-23  Wim Taymans  <wim@fluendo.com>
29240
29241         * gst/schedulers/threadscheduler.c:
29242         (gst_thread_scheduler_task_start),
29243         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29244         Ref the task before pushing it on the threadpool. This
29245         makes sure that we have a ref when the threadfunction is
29246         actually called.
29247
29248 2005-06-23  Andy Wingo  <wingo@pobox.com>
29249
29250         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29251         offset is greater than the file's size.
29252
29253         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29254         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29255         * gst/gstobject.c (gst_object_class_init): Make the class lock
29256         recursive. Wim won't let me drop deep_notify. Decodebin works
29257         again, whoopdy doo.
29258
29259         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29260         internal pad, and hacks accordingly. Doesn't do it on the target
29261         pad because we change its caps. Probably catches all cases of
29262         interest tho.
29263         (gst_ghost_pad_set_property): Connect to notify::caps as
29264         appropritate.
29265
29266         * tests/network-clock.scm (plot-simulation): Pipe data to the
29267         elite python skript.
29268
29269         * tests/network-clock-utils.scm (define-parameter): New macro,
29270         defines a parameter that can be set via the command line.
29271         (set-parameter!, parse-parameter-arguments): Command line args
29272         parser.
29273
29274         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29275         stdin.
29276
29277 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29278
29279         * gst/elements/gsttypefindelement.c:
29280         (gst_type_find_element_handle_event):
29281           Don't restart typefinding on a discont.
29282         * gst/gstelement.c: (gst_element_set_state):
29283           Debug spelling fix.
29284         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29285           Allow changing mode of an active pad.
29286           Debug output fixes.
29287         * gst/registries/gstlibxmlregistry.c: (load_feature):
29288           Don't cast a static pad template to a normal pad template.
29289
29290 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29291
29292         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29293         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29294           remove gst_strtoll completely, since it didn't actually do
29295           anything more than what g_ascii_strtoull already does.
29296           check for range errors when deserializing
29297           do a cast for the unsigned cases; but further fixing needs
29298           a decision on what the interpretation of "(int)" and
29299           deserialization should be for values that fall outside the
29300           type's boundaries (ie, refuse, or interpret as casting)
29301
29302 2005-06-23  Wim Taymans  <wim@fluendo.com>
29303
29304         * check/Makefile.am:
29305         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29306         * docs/design/part-live-source.txt:
29307         * docs/design/part-states.txt:
29308         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29309         (gst_basesrc_set_live), (gst_basesrc_is_live),
29310         (gst_basesrc_get_range), (gst_basesrc_activate),
29311         (gst_basesrc_change_state):
29312         * gst/base/gstbasesrc.h:
29313         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29314         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29315         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29316         * gst/gstelement.c: (gst_element_get_state_func),
29317         (gst_element_set_state):
29318         * gst/gstelement.h:
29319         * gst/gsttypes.h:
29320         * tools/gst-launch.c: (event_loop), (main):
29321         Added support for live sources and other elements that
29322         cannot do preroll.
29323         Updated design docs, added live-source design doc.
29324         Implemented live source functionality in basesrc
29325         Fix error condition in _bin_get_state()
29326         Implement live source handling in -launch.
29327         Added check for live sources.
29328         Fixed case in GstBin where elements were changed state
29329         multiple times.
29330
29331
29332 2005-06-23  Andy Wingo  <wingo@pobox.com>
29333
29334         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29335         borken refcounting.
29336
29337         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29338         gst_caps_replace takes care of this for us.
29339
29340         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29341         gst_pad_set_caps on the target, not just its setcaps() function.
29342
29343         * tests/network-clock.scm: 
29344         * tests/network-clock-utils.scm: A network clock simulator.
29345         Something of an algorithmic testbed before doing something in C.
29346
29347 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29348
29349         * check/Makefile.am:
29350         * check/gst/capslist.h:
29351           copy over from 0.8, and add two with bitmasks specified with
29352           (int) 0xFF...
29353         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29354           add test to parse everything from capslist.h
29355         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29356         (main):
29357           add test for structure deserialization
29358         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29359           add tests for deserialization of strings to int types
29360         * gst/gststructure.c: (gst_structure_nth_field_name):
29361         * gst/gststructure.h:
29362           add a way to get the name of a field referenced by index
29363         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29364           instead of checking if the resulting long long lies between
29365           min and max, we check if the long long would fit into
29366           a number of bytes for the final type.
29367           This fixes cases where a string represents 2^32 - 1, which
29368           when cast to int would be the (valid) -1, but is bigger than
29369           G_MAXINT
29370
29371 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29372
29373         * gst/parse/grammar.y:
29374           add a log line for type deserialization
29375
29376 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29377
29378         * check/gst/gstvalue.c: (START_TEST):
29379         * gst/gstvalue.c: (gst_value_deserialize):
29380           return long long, not int, so gint64 deserialization actually
29381           works.  Is there any flag that makes the compiler check this ?
29382           Fixes #308559
29383
29384 2005-06-22  Wim Taymans  <wim@fluendo.com>
29385
29386         * gst/gstbuffer.h:
29387         Added convenience macros for setting buffers in GValue.
29388
29389 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29390
29391         * check/gst/.cvsignore:
29392         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29393           add a test deserializing int64, and comment part out because
29394           it fails, yay !
29395
29396 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29397
29398         * check/Makefile.am:
29399         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29400         * testsuite/Makefile.am:
29401         * testsuite/caps/Makefile.am:
29402         * testsuite/caps/value_serialize.c:
29403         * testsuite/test_gst_init.c:
29404           move a value_serialize test over
29405
29406 2005-06-20  Wim Taymans  <wim@fluendo.com>
29407
29408         * gst/gstpad.c:
29409         Small doc updates.
29410         
29411         * gst/gstvalue.c: (gst_value_compare_buffer),
29412         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29413         (gst_value_compare_flags), (gst_value_serialize_flags),
29414         (gst_value_deserialize_flags), (_gst_value_initialize):
29415         Fix serialisation of buffers, they are not boxed types anymore
29416
29417 2005-06-20  Wim Taymans  <wim@fluendo.com>
29418
29419         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29420         Testcase to show error in buffer-on-caps serialisation.
29421
29422 2005-06-20  Andy Wingo  <wingo@pobox.com>
29423
29424         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29425         will be adding to later.
29426
29427         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29428         if its socks fill with rocks.
29429         (gst_system_clock_obtain): Set the name on object construction.
29430         Avoid double-checked locking.
29431
29432 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29433
29434         * gst/gsturi.c: (gst_element_make_from_uri):
29435           Fix potential endless loop.
29436
29437 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29438
29439         * check/Makefile.am:
29440           add gsttag
29441         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29442         (main):
29443           move over from testsuite dir and clean up
29444         * configure.ac:
29445         * gst/gsttag.c:
29446         * testsuite/Makefile.am:
29447         * testsuite/tags/.cvsignore:
29448         * testsuite/tags/Makefile.am:
29449         * testsuite/tags/merge.c:
29450           remove testsuite/tags
29451
29452 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29453
29454         * docs/gst/gstreamer-sections.txt:
29455         * docs/gst/tmpl/gstenumtypes.sgml:
29456         * win32/gstenumtypes.c:
29457           clean up documentation build a little
29458
29459 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29460
29461         * check/gstcheck.h:
29462           add macros for checking refcounts on objects and caps
29463         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29464           add some more unit tests
29465         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29466         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29467           fix leaked refcounts (I hope :)) so unittest works
29468         * gst/gstpad.h:
29469           whitespace removal
29470
29471 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29472
29473         * configure.ac: back to HEAD
29474
29475 === release 0.9.1 ===
29476
29477 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29478
29479         * NEWS:
29480         * RELEASE:
29481           updated
29482
29483 2005-06-17  Andy Wingo  <wingo@pobox.com>
29484
29485         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29486         assert; it's always possible that the pad gets deactivated in
29487         between the checks in gstpad.c and the implementation. Rely on
29488         finish_preroll() to return a FLUSHING or similar instead of on the
29489         assert.
29490         
29491         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29492         clock and post an EOS message if we come out of finish_preroll in
29493         the playing state.
29494
29495 2005-06-16  David Schleef  <ds@schleef.org>
29496
29497         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29498         (gst_capsfilter_set_property): Allow NULL as possible value
29499         for filter_caps property, indicating GST_CAPS_ANY.
29500
29501 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29502
29503         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29504           fix debug output
29505         * gst/schedulers/Makefile.am:
29506           use libgst prefix
29507         * gstreamer.spec.in:
29508           fix spec for it
29509
29510 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29511
29512         * gstreamer.spec.in:
29513           clean up
29514
29515 2005-06-08  Andy Wingo  <wingo@pobox.com>
29516
29517         * gst/gstutils.c: RPAD fixes all around.
29518         (gst_element_link_pads): Refcounting fixes.
29519
29520         * tools/gst-inspect.c:
29521         * tools/gst-xmlinspect.c:
29522         * parse/grammar.y:
29523         * gst/base/gsttypefindhelper.c:
29524         * gst/base/gstbasesink.c:
29525         * gst/gstqueue.c: RPAD fixes.
29526
29527         * gst/gstghostpad.h:
29528         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29529         pads. The tricky thing is they provide both source and sink
29530         interfaces, since they proxy the internal pad for the external
29531         pad, and vice versa. Implement with lower-level ProxyPad objects,
29532         with the interior proxy pad as a child of the exterior ghost pad.
29533         Should write a doc on this.
29534         
29535         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29536         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29537         gst_object API.
29538         
29539         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29540         pads are real pads. No ghost pads in this file. Not documenting
29541         the myriad s/RPAD/PAD/ and REALIZE fixes.
29542         (gst_pad_class_init): Add properties for "direction" and
29543         "template". Both are construct-only, so they can't change during
29544         the life of the pad. Fixes properly deriving from GstPad.
29545         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29546         derived objects, just set properties when creating the objects via
29547         g_object_new.
29548         (gst_pad_get_parent): Implement as a function, return NULL if the
29549         parent is not an element.
29550         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29551         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29552         
29553         * gst/gstobject.c (gst_object_class_init): Make name a construct
29554         property. Don't set it in the object init.
29555
29556         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29557         with UNKNOWN direction.
29558         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29559         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29560         (gst_element_remove_pad): Remove ghost-pad special cases.
29561         (gst_element_pads_activate): Remove rpad cruft.
29562
29563         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29564         catch the pad's-parent-not-an-element case.
29565
29566         * gst/gst.h: Include gstghostpad.h.
29567
29568         * gst/gst.c (init_post): No more real, ghost pads.
29569
29570         * gst/Makefile.am: Add gstghostpad.[ch].
29571
29572         * check/Makefile.am:
29573         * check/gst/gstbin.c:
29574         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29575         into a bin creates ghost pads, and that the refcounts are right.
29576         Partly moved from gstbin.c.
29577
29578 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29579
29580         * check/gst-libs/.cvsignore:
29581         * check/gst/.cvsignore:
29582         * check/pipelines/.cvsignore:
29583           ignore more
29584         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29585         (START_TEST), (cleanup_suite), (main):
29586           add some tests related to cleanup after running pipelines
29587
29588 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29589
29590         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29591           add a testsuite for GstBuffer
29592
29593 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29594
29595         * gst/gstminiobject.h:
29596           add defines for accessing the refcount
29597
29598 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29599
29600         * Makefile.am: added support for html unit test coverage reports
29601
29602 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29603
29604         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29605           Free existing caps if the capsfilter changes. Add a FIXME about
29606           setting those caps on the pads.
29607
29608         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29609           Before adding a ghost pad to a parent bin, check that there isn't
29610           already one for the element on the bin. Prevents infinite recursion
29611           when using decodebin in parse pipelines. Andy says he'll rewrite the
29612           way this works anyway, so ignore the hack.
29613
29614 2005-06-02  Andy Wingo  <wingo@pobox.com>
29615
29616         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29617         file size, pass it on to the type find helper.
29618
29619         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29620         segment_start and segment_end properly according to the seek
29621         method. Segment_end is still a bit flaky because offset can be
29622         negative for CUR and END cases, but it takes -1 as an "unset"
29623         value.
29624
29625 2005-06-02  Wim Taymans  <wim@fluendo.com>
29626
29627         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29628         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29629         (gst_basesink_activate):
29630         * gst/base/gstbasesink.h:
29631         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29632         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29633         (gst_pad_query), (gst_pad_start_task):
29634         * gst/gstpad.h:
29635         * gst/gstqueue.c: (gst_queue_bufferalloc),
29636         (gst_queue_handle_sink_event), (gst_queue_chain):
29637         Bufferalloc: return GstFlowReturn to more accuratly report
29638         why allocation failed.
29639
29640 2005-06-02  Wim Taymans  <wim@fluendo.com>
29641
29642         * gst/gstpipeline.c: (gst_pipeline_send_event):
29643         Take snapshot of state without blocking.
29644
29645 2005-06-02  Wim Taymans  <wim@fluendo.com>
29646
29647         * docs/design/part-TODO.txt:
29648         * docs/design/part-caps.txt:
29649         * docs/design/part-clocks.txt:
29650         * docs/design/part-negotiation.txt:
29651         * docs/design/part-preroll.txt:
29652         Small doc updates 
29653
29654 2005-05-30  Wim Taymans  <wim@fluendo.com>
29655
29656         * gst/elements/gstidentity.c: (gst_identity_event),
29657         (gst_identity_transform), (gst_identity_get_property):
29658         Protect last_message property as it is accessed from
29659         multiple threads.
29660
29661 2005-05-30  Wim Taymans  <wim@fluendo.com>
29662
29663         * gst/gstelement.c: (gst_element_init),
29664         (gst_element_pads_activate), (gst_element_change_state):
29665         Slicker pad activation code.
29666
29667 2005-05-30  Wim Taymans  <wim@fluendo.com>
29668
29669         * gst/Makefile.am:
29670         * gst/gstelement.h:
29671         * gst/gstelementfactory.h:
29672         * gst/gsttypes.h:
29673         Move elementfactory methods to separate .h file.
29674
29675 2005-05-30  Wim Taymans  <wim@fluendo.com>
29676
29677         * docs/design/part-overview.txt:
29678         * gst/gstsystemclock.h:
29679         Small typo fixes, doc updates.
29680
29681 2005-05-30  Wim Taymans  <wim@fluendo.com>
29682
29683         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29684         (init_popt_callback):
29685         Remove cpu-opt flag.
29686
29687 2005-05-30  Wim Taymans  <wim@fluendo.com>
29688
29689         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29690         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29691         * gst/gstbuffer.h:
29692         Avoid typechecking in places where not needed.
29693         Added accessor for malloc_data.
29694
29695 2005-05-30  Wim Taymans  <wim@fluendo.com>
29696
29697         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29698         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29699         (gst_pad_configure_sink), (gst_pad_configure_src),
29700         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29701         (gst_pad_start_task):
29702         Propagate errors from _set_caps() in configure_src/sink
29703         functions instead of returning TRUE.
29704         FLUSH events can travel up and downstream
29705
29706
29707 2005-05-30  Wim Taymans  <wim@fluendo.com>
29708
29709         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29710         (gst_basesink_activate):
29711         Handle EOS in preroll.
29712
29713 2005-05-30  Wim Taymans  <wim@fluendo.com>
29714
29715         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29716         (gst_queue_loop), (gst_queue_handle_src_event):
29717         Remove old pieces of code
29718         Flushing the queue in an upstream event is a very bad idea.
29719
29720 2005-05-26  Andy Wingo  <wingo@pobox.com>
29721
29722         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29723         gst_value_set_mini_object so as to add a ref on the object (which
29724         will be removed when the value is unset).
29725
29726         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29727         arg type in ::handoff.
29728
29729         * gst/gstelement.c (gst_element_change_state): Also deactivate
29730         pads in READY->NULL, just in case the element didn't make it to
29731         PAUSED. Wingo tested, Wim approved.
29732
29733 2005-05-26  Wim Taymans  <wim@fluendo.com>
29734
29735         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29736         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29737         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29738         A flushing pad cannot be used to alloc_buffer from.
29739
29740 2005-05-26  Wim Taymans  <wim@fluendo.com>
29741
29742         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29743         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29744         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29745         (gst_bus_create_watch), (gst_bus_add_watch_full):
29746         * gst/gstbus.h:
29747         Implement a real GSource and use g_main_context_wakeup() to
29748         signal new messages instead of the socketpair.
29749
29750 2005-05-25  Wim Taymans  <wim@fluendo.com>
29751
29752         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29753         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29754         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29755         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29756         (gst_pad_send_event), (gst_pad_start_task):
29757         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29758         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29759         (gst_queue_sink_activate), (gst_queue_src_activate),
29760         (gst_queue_change_state):
29761         * gst/gstqueue.h:
29762         Fix state changes for non sinks. We now change sinks, then elements
29763         with unconnected srcpads, then the rest.
29764         More efficient queue unlocking in flush and state changes.
29765         Set the pad activate mode even if it does not have an activate
29766         function.
29767
29768 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29769
29770         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29771           Don't go in pull mode for non-seekable sources.
29772         * gst/elements/gsttypefindelement.h:
29773         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29774         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29775         (free_entry), (stop_typefinding),
29776         (gst_type_find_element_handle_event), (find_peek),
29777         (gst_type_find_element_chain), (do_pull_typefind),
29778         (gst_type_find_element_change_state):
29779           Allow typefinding (w/o seeking) in push-mode, simplified version
29780           of what was in 0.8.
29781         * gst/gstutils.c: (gst_buffer_join):
29782         * gst/gstutils.h:
29783           gst_buffer_join() from 0.8.
29784
29785 2005-05-25  Wim Taymans  <wim@fluendo.com>
29786
29787         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29788         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29789         (gst_pad_send_event), (gst_pad_start_task):
29790         Disable attempt at mode switching until it is figured out.
29791
29792 2005-05-25  Wim Taymans  <wim@fluendo.com>
29793
29794         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29795         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29796         (gst_basesink_finish_preroll), (gst_basesink_chain),
29797         (gst_basesink_loop), (gst_basesink_activate),
29798         (gst_basesink_change_state):
29799         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29800         (gst_basesrc_get_range), (gst_basesrc_loop),
29801         (gst_basesrc_activate):
29802         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29803         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29804         (gst_real_pad_init), (gst_real_pad_set_property),
29805         (gst_real_pad_get_property), (gst_pad_set_active),
29806         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29807         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29808         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29809         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29810         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29811         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29812         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29813         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29814         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29815         (gst_pad_stop_task):
29816         * gst/gstpad.h:
29817         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29818         (gst_queue_loop), (gst_queue_src_activate):
29819         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29820         (gst_task_get_state):
29821         * gst/gsttask.h:
29822         * gst/schedulers/threadscheduler.c:
29823         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29824         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29825         in task function.
29826         Remove ACTIVE pad flag, use FLUSHING everywhere
29827         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29828         functions.
29829         Add locks around IS_FLUSHING when reading.
29830         Take STREAM lock in chain(), get_range() functions so plugins
29831         don't need to take it anymore.
29832         
29833
29834
29835 2005-05-25  Wim Taymans  <wim@fluendo.com>
29836
29837         * tools/gst-launch.c: (event_loop):
29838         Unref message after using its contents instead of
29839         before.
29840
29841 2005-05-24  Wim Taymans  <wim@fluendo.com>
29842
29843         * docs/design/draft-ghostpads.txt:
29844         * docs/design/draft-push-pull.txt:
29845         * docs/design/draft-query.txt:
29846         * docs/design/part-overview.txt:
29847         Docs updates, added general overview doc.
29848
29849 2005-05-21  David Schleef  <ds@schleef.org>
29850
29851         * docs/gst/tmpl/old/GstBin.sgml:
29852         * docs/gst/tmpl/old/GstBuffer.sgml:
29853         * docs/gst/tmpl/old/GstCaps.sgml:
29854         * docs/gst/tmpl/old/GstClock.sgml:
29855         * docs/gst/tmpl/old/GstCompat.sgml:
29856         * docs/gst/tmpl/old/GstData.sgml:
29857         * docs/gst/tmpl/old/GstElement.sgml:
29858         * docs/gst/tmpl/old/GstEvent.sgml:
29859         * docs/gst/tmpl/old/GstIndex.sgml:
29860         * docs/gst/tmpl/old/GstStructure.sgml:
29861         * docs/gst/tmpl/old/GstTag.sgml:
29862         * docs/gst/tmpl/old/cothreads.sgml:
29863         * docs/gst/tmpl/old/cothreads_compat.sgml:
29864         * docs/gst/tmpl/old/gettext.sgml:
29865         * docs/gst/tmpl/old/gobject2gtk.sgml:
29866         * docs/gst/tmpl/old/grammar.tab.sgml:
29867         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29868         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29869         * docs/gst/tmpl/old/gst_private.sgml:
29870         * docs/gst/tmpl/old/gstaggregator.sgml:
29871         * docs/gst/tmpl/old/gstarch.sgml:
29872         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29873         * docs/gst/tmpl/old/gstbufferstore.sgml:
29874         * docs/gst/tmpl/old/gstdata_private.sgml:
29875         * docs/gst/tmpl/old/gstdisksink.sgml:
29876         * docs/gst/tmpl/old/gstdisksrc.sgml:
29877         * docs/gst/tmpl/old/gstelementfactory.sgml:
29878         * docs/gst/tmpl/old/gstextratypes.sgml:
29879         * docs/gst/tmpl/old/gstfakesink.sgml:
29880         * docs/gst/tmpl/old/gstfakesrc.sgml:
29881         * docs/gst/tmpl/old/gstfdsink.sgml:
29882         * docs/gst/tmpl/old/gstfdsrc.sgml:
29883         * docs/gst/tmpl/old/gstfilesink.sgml:
29884         * docs/gst/tmpl/old/gstfilesrc.sgml:
29885         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29886         * docs/gst/tmpl/old/gstidentity.sgml:
29887         * docs/gst/tmpl/old/gstindexfactory.sgml:
29888         * docs/gst/tmpl/old/gstmarshal.sgml:
29889         * docs/gst/tmpl/old/gstmd5sink.sgml:
29890         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29891         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29892         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29893         * docs/gst/tmpl/old/gstpipefilter.sgml:
29894         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29895         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29896         * docs/gst/tmpl/old/gstshaper.sgml:
29897         * docs/gst/tmpl/old/gstspider.sgml:
29898         * docs/gst/tmpl/old/gstspideridentity.sgml:
29899         * docs/gst/tmpl/old/gststatistics.sgml:
29900         * docs/gst/tmpl/old/gsttee.sgml:
29901         * docs/gst/tmpl/old/gsttimecache.sgml:
29902         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29903         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29904         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29905         * docs/gst/tmpl/old/types.sgml:
29906           I didn't intend to add these or check them in.
29907
29908 2005-05-19  David Schleef  <ds@schleef.org>
29909
29910         * configure.ac: Use -no-common everywhere.  In a sane world, it
29911           would be the default in libtool, because without it, you can't
29912           build DLLs on Windows.
29913         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29914         * docs/gst/gstreamer-sections.txt:
29915         * docs/gst/tmpl/gstcpu.sgml:
29916         * docs/gst/tmpl/gstdata.sgml:
29917         * docs/gst/tmpl/gstthread.sgml:
29918
29919 2005-05-19  David Schleef  <ds@schleef.org>
29920
29921         * gst/gstminiobject.c: (gst_value_set_mini_object),
29922         (gst_value_take_mini_object), (gst_value_get_mini_object):
29923         * gst/gstminiobject.h: Add GValue set/get functions.
29924
29925 2005-05-19  Wim Taymans  <wim@fluendo.com>
29926
29927         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29928         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29929         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29930         * gst/gstbuffer.h:
29931         * gst/gstbus.c: (gst_bus_post):
29932         * gst/gstelement.c: (gst_element_get_random_pad):
29933         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29934         Make subbufer unref the parent in finalize.
29935         some more debugging info.
29936
29937
29938 2005-05-19  Wim Taymans  <wim@fluendo.com>
29939
29940         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29941         (gst_basesink_init), (gst_basesink_finalize),
29942         (gst_basesink_activate), (gst_basesink_change_state):
29943         Don't free preroll queue too early.
29944
29945 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29946
29947         * gst/Makefile.am:
29948         * gst/ROADMAP:
29949           Hi, I'm outdated. Please shoot me.
29950
29951 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29952
29953         * gst/gstpipeline.c: (gst_pipeline_send_event):
29954           Do not access variables after they have been deleted.
29955
29956 2005-05-19  Wim Taymans  <wim@fluendo.com>
29957
29958         * tools/gst-inspect.c: (print_plugin_features):
29959         A plugin feature does unfortunatly not use the
29960         object name yet...
29961
29962 2005-05-18  Wim Taymans  <wim@fluendo.com>
29963
29964         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29965         Port _span() functions to new subbuffers.
29966
29967 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29968
29969         * gst/gstbin.c: (gst_bin_add_func):
29970           Fix clock settery in bins when adding kids after the clock has
29971           been selected.
29972
29973 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29974
29975         * gst/elements/gstidentity.c: (gst_identity_class_init):
29976           Workaround until signals support GstMiniObject.
29977
29978 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
29979
29980         * gst/gstbuffer.c:
29981         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29982
29983 2005-05-18  Wim Taymans  <wim@fluendo.com>
29984
29985         * gst/base/Makefile.am:
29986         * gst/base/gstadapter.c: (gst_adapter_base_init),
29987         (gst_adapter_class_init), (gst_adapter_init),
29988         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29989         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29990         (gst_adapter_flush), (gst_adapter_available),
29991         (gst_adapter_available_fast):
29992         * gst/base/gstadapter.h:
29993         Ported and added adapter to the base classes.
29994
29995 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29996
29997         * gst/gst.c:
29998         * gst/gstmessage.c:
29999           Make sure the class is reffed/unreffed once before threads can be
30000           used.  Fixes #304551.
30001
30002 2005-05-17  Wim Taymans  <wim@fluendo.com>
30003
30004         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30005         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30006         * gst/gstminiobject.c: (gst_mini_object_get_type),
30007         (gst_mini_object_free):
30008         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30009         (gst_pad_push), (gst_pad_push_event):
30010         * gst/gstqueue.c: (gst_queue_change_state):
30011         Don't queue buffers in basesink when we are flushing.
30012         Unref buffer when flushing in basesink.
30013         Flush queue when going to READY
30014         Unref buffer when _push() returns an error.
30015         Don't free MiniObject instance when refcount is incremented
30016         in _finalize() so that we can recover objects.
30017
30018 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30019
30020         * docs/manual/advanced-schedulers.xml:
30021         * docs/manual/appendix-checklist.xml:
30022         * docs/pwg/advanced-clock.xml:
30023         * docs/pwg/advanced-interfaces.xml:
30024         * docs/pwg/advanced-request.xml:
30025         * docs/pwg/advanced-types.xml:
30026         * docs/pwg/intro-preface.xml:
30027         * examples/plugins/example.c: (gst_example_get_type),
30028         (gst_example_class_init), (gst_example_chain),
30029         (gst_example_set_property), (gst_example_get_property),
30030         (gst_example_change_state), (plugin_init):
30031         * examples/plugins/example.h:
30032           small doc fixes
30033
30034 2005-05-17  Wim Taymans  <wim@fluendo.com>
30035
30036         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30037         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30038         * gst/gstqueue.c: (gst_queue_change_state):
30039         Clear queue when going to READY.
30040         Remove IN_SETCAPS flag too.
30041
30042 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30043
30044         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30045           Remove implicit cast from gboolean to GstElementStateReturn;
30046           make sure we still return failure in paused => ready case if
30047           the parent class fails to change state and our own stop 
30048           vfunc succeeds.
30049
30050 2005-05-17  Wim Taymans  <wim@fluendo.com>
30051
30052         * tools/gst-launch.c: (event_loop):
30053         Message was unreffed too soon.
30054
30055 2005-05-16  Andy Wingo  <wingo@pobox.com>
30056
30057         * gst/gstbin.c (sink_iterator_filter): Err... um...
30058
30059         * check/gst/gstbin.c (test_ghost_pads): New test for the
30060         ghosting-if-elements-not-in-same-bin behavior.
30061
30062 2005-05-16  David Schleef  <ds@schleef.org>
30063
30064         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30065         accessing refcount directly.
30066
30067 2005-05-15  David Schleef  <ds@schleef.org>
30068
30069         * check/Makefile.am: remove GstData checks
30070         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30071         * gst/Makefile.am: add miniobject, remove data
30072         * gst/gst.h: add miniobject, remove data
30073         * gst/gstdata.c: remove
30074         * gst/gstdata.h: remove
30075         * gst/gstdata_private.h: remove
30076         * gst/gsttypes.h: remove GstEvent and GstMessage
30077         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30078         * gst/gstmarshal.list: change BOXED -> OBJECT
30079
30080         Implement GstMiniObject.
30081         * gst/gstminiobject.c:
30082         * gst/gstminiobject.h:
30083
30084         Modify to be subclasses of GstMiniObject.
30085         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30086         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30087         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30088         (gst_subbuffer_get_type), (gst_subbuffer_init),
30089         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30090         (gst_buffer_span):
30091         * gst/gstbuffer.h:
30092         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30093         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30094         (_gst_event_copy), (gst_event_new):
30095         * gst/gstevent.h:
30096         * gst/gstmessage.c: (_gst_message_initialize),
30097         (gst_message_get_type), (gst_message_class_init),
30098         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30099         (gst_message_new), (gst_message_new_error),
30100         (gst_message_new_warning), (gst_message_new_tag),
30101         (gst_message_new_state_changed), (gst_message_new_application):
30102         * gst/gstmessage.h:
30103         * gst/gstprobe.c: (gst_probe_perform),
30104         (gst_probe_dispatcher_dispatch):
30105         * gst/gstprobe.h:
30106         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30107         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30108         (_gst_query_copy), (gst_query_new):
30109
30110         Update elements for GstData -> GstMiniObject changes
30111         * gst/gstquery.h:
30112         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30113         (gst_queue_chain), (gst_queue_loop):
30114         * gst/elements/gstbufferstore.c:
30115         (gst_buffer_store_add_buffer_func),
30116         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30117         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30118         (gst_fakesink_render):
30119         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30120         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30121         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30122         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30123         (gst_filesrc_create_read):
30124         * gst/elements/gstidentity.c: (gst_identity_class_init):
30125         * gst/elements/gsttypefindelement.c:
30126         (gst_type_find_element_src_event), (free_entry_buffers),
30127         (gst_type_find_element_handle_event):
30128         * libs/gst/dataprotocol/dataprotocol.c:
30129         (gst_dp_header_from_buffer):
30130         * libs/gst/dataprotocol/dataprotocol.h:
30131         * libs/gst/dataprotocol/dp-private.h:
30132
30133 2005-05-15  David Schleef  <ds@schleef.org>
30134
30135         * gst/elements/gstelements.c: Don't include headers that were
30136         just removed.
30137
30138 2005-05-15  David Schleef  <ds@schleef.org>
30139
30140         * gst/elements/Makefile.am: Remove some elements that don't
30141         need to be in the core (or even exist at all).
30142         * gst/elements/gstaggregator.c:
30143         * gst/elements/gstaggregator.h:
30144         * gst/elements/gstmd5sink.c:
30145         * gst/elements/gstmd5sink.h:
30146         * gst/elements/gstmultifilesrc.c:
30147         * gst/elements/gstmultifilesrc.h:
30148         * gst/elements/gstpipefilter.c:
30149         * gst/elements/gstpipefilter.h:
30150         * gst/elements/gstshaper.c:
30151         * gst/elements/gstshaper.h:
30152         * gst/elements/gststatistics.c:
30153         * gst/elements/gststatistics.h:
30154         * po/POTFILES.in: Remove above files.
30155
30156 2005-05-14  Andy Wingo  <wingo@pobox.com>
30157
30158         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30159         so as to get the refs right.
30160         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30161         unreffing objects that don't pass the filter.
30162
30163         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30164         gst_element_set_bus.
30165         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30166         normal cases, this will destroy the bus.
30167
30168         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30169         object.
30170
30171         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30172         has no sinks.
30173
30174 2005-05-13  Andy Wingo  <wingo@pobox.com>
30175
30176         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30177         gst_pad_link, call pad_link_maybe_ghosting,
30178         (pad_link_maybe_ghosting): Links pads, making sure that the
30179         elements being linked are in the same bin.
30180         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30181         Helpers for pad_link_maybe_ghosting.
30182
30183 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30184
30185         * configure.ac:
30186           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30187
30188 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30189
30190         * docs/design/part-element-source.txt:
30191           Mention GstPushSrc
30192
30193 2005-05-12  Wim Taymans  <wim@fluendo.com>
30194
30195         * gst/base/gstbasesink.c: (gst_basesink_init),
30196         (gst_basesink_activate):
30197         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30198         (gst_basesrc_is_seekable):
30199         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30200         (bin_element_is_sink), (gst_bin_change_state):
30201         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30202         * gst/gstelement.h:
30203         Identify sinks by their flag to avoid overly complicated
30204         checks (fow now).
30205         Do state changes even for elements not reachable from the
30206         sinks.
30207         BaseSink is a sink now :)
30208         Some more debugging info in the basesrc.
30209
30210
30211 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30212
30213         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30214           Implement _query on a bin, similar to _send_event.
30215
30216 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30217
30218         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30219           Discont event offset format should be GST_FORMAT_BYTES,
30220           not GST_FORMAT_TIME.
30221
30222 2005-05-12  Wim Taymans  <wim@fluendo.com>
30223
30224         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30225         Same fix as Ronald's but without the signal. 
30226
30227 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30228
30229         * gst/gstutils.c: (gst_element_query_position):
30230           No, an element is not a pad.
30231
30232 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30233
30234         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30235         (gst_bin_get_state):
30236           If a child is removed from a bin while we remove the child from
30237           the bin and while we're retrieving its state, signal this to the
30238           get_state function so we abort the wait (instead of waiting for
30239           a timeout) and can immediately re-iterate over all other elements.
30240
30241 2005-05-12  Wim Taymans  <wim@fluendo.com>
30242
30243         * gst/base/Makefile.am:
30244         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30245         (gst_basesrc_start):
30246         * gst/base/gstbasesrc.h:
30247         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30248         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30249         (gst_pushsrc_init), (gst_pushsrc_create):
30250         * gst/base/gstpushsrc.h:
30251         Added is_seekable to BaseSrc
30252         Added simple PushSrc.
30253
30254 2005-05-11  Wim Taymans  <wim@fluendo.com>
30255
30256         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30257         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30258         (gst_element_link_pads), (gst_element_query_position),
30259         (gst_element_query_convert), (intersect_caps_func),
30260         (gst_pad_query_position), (gst_pad_query_convert):
30261         Fix refcounting in utils function.
30262         No point in trying to activate a pad when it's added, it could
30263         be added from the state change function and then we deadlock, the
30264         element has to decide what to do.
30265
30266 2005-05-10  Andy Wingo  <wingo@pobox.com>
30267
30268         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30269         *all* the arguments.
30270
30271         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30272         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30273         lock (according to the docs -- if this is wrong change the docs).
30274
30275         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30276         flush messages in the NULL state.
30277
30278         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30279         message immediately and return.
30280         (gst_bus_set_flushing): New function. If a bus is flushing, it
30281         flushes out any queued messages and immediately unrefs new
30282         messages. This is so when an element goes to NULL, all of the
30283         unhandled messages coming from it can be freed, and their
30284         references to the element dropped. In other words: message source
30285         ref considered harmful :P
30286
30287         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30288         we're finished with it.
30289
30290         * gst/gstmessage.c (gst_message_new_state_changed): 
30291
30292 2005-05-10  Wim Taymans  <wim@fluendo.com>
30293
30294         * gst/gstvalue.c: (gst_value_compare_flags),
30295         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30296         (_gst_value_initialize):
30297         Added flags serialize/deserialize/compare code.
30298
30299 2005-05-09  Andy Wingo  <wingo@pobox.com>
30300
30301         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30302         Intersect the peer's caps with our caps.
30303
30304 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30305
30306         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30307         * gst/elements/gsttypefindelement.c: (find_peek):
30308           Handle negative offsets better. Fixes decodebin.
30309
30310 2005-05-09  Wim Taymans  <wim@fluendo.com>
30311
30312         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30313         (gst_base_transform_event):
30314         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30315         Implement accept_caps.
30316         Fix silly lock/unlock mismatch in base class.
30317
30318 2005-05-09  Wim Taymans  <wim@fluendo.com>
30319
30320         * docs/design/draft-push-pull.txt:
30321         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30322         * gst/elements/gstfilesink.c: (gst_filesink_init),
30323         (gst_filesink_query):
30324         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30325         (gst_type_find_handle_src_query), (find_element_get_length):
30326         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30327         * gst/gstelement.h:
30328         * gst/gstmessage.c:
30329         * gst/gstmessage.h:
30330         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30331         (gst_real_pad_get_caps_unlocked),
30332         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30333         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30334         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30335         (gst_real_pad_dispose), (gst_real_pad_finalize),
30336         (gst_pad_load_and_link), (gst_pad_save_thyself),
30337         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30338         (gst_pad_check_pull_range), (gst_pad_pull_range),
30339         (gst_pad_template_get_type), (gst_pad_template_class_init),
30340         (gst_pad_template_init), (gst_pad_template_dispose),
30341         (name_is_valid), (gst_static_pad_template_get),
30342         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30343         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30344         (gst_pad_get_element_private), (gst_pad_start_task),
30345         (gst_pad_pause_task), (gst_pad_stop_task),
30346         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30347         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30348         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30349         (gst_ghost_pad_new):
30350         * gst/gstpad.h:
30351         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30352         (gst_query_new_position), (gst_query_set_position),
30353         (gst_query_parse_position), (gst_query_new_convert),
30354         (gst_query_set_convert), (gst_query_parse_convert):
30355         * gst/gstquery.h:
30356         * gst/gstqueryutils.c:
30357         * gst/gstqueryutils.h:
30358         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30359         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30360         (gst_queue_handle_src_query):
30361         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30362         (gst_element_query_position), (gst_element_query_convert),
30363         (intersect_caps_func), (gst_pad_query_position),
30364         (gst_pad_query_convert):
30365         * gst/gstutils.h:
30366         * tools/gst-inspect.c: (print_pad_info):
30367         * tools/gst-xmlinspect.c: (print_element_info):
30368         Remove old query functions. Ported old code.
30369         Added position/convert helper functions to gstutils.
30370         Reordered gstpad.c code, grouping relevant things.
30371         Remove gst_message_new(), always need to speficy a specific
30372         message.
30373
30374
30375 2005-05-09  Andy Wingo  <wingo@pobox.com>
30376
30377         * gst/gstiterator.h: Add some includes.
30378
30379         * gst/gstqueryutils.h: Include more headers.
30380
30381         * gst/gstpad.h:
30382         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30383         some uses of gst_pad_query.
30384
30385         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30386         NULL out parameters.
30387         (gst_query_new_position): New proc, allocates a new position
30388         query.
30389
30390         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30391         gstqueryutils.c to the build.
30392
30393         * gst/gststructure.c (gst_structure_set_valist): Implement with
30394         the generic G_VALUE_COLLECT.
30395         
30396 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30397
30398         * gst/Makefile.am: (gst_headers):
30399         Added gstqueryutils.h to the list of headers to install, that was
30400         a 'nachty' move wingo :)
30401
30402 2005-05-06  Andy Wingo  <wingo@pobox.com>
30403
30404         * gst/gstquery.h
30405         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30406         GstData, init a memchunk.
30407         (standard_definitions): Add a few query types, deprecate a few.
30408         (gst_query_get_type): New proc.
30409         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30410         implementation.
30411         (gst_query_new_application, gst_query_get_structure): New public
30412         procs.
30413
30414         * docs/design/draft-query.txt: Removed LINKS from the query types,
30415         because all the rest can be dispatched to other pads -- seemed
30416         ugly to have a query that couldn't be dispatched. internal_links
30417         is fine as a pad method.
30418
30419         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30420         in gstpad.c, but maintain binary compatibility for the moment.
30421         Will fix before 0.9 is out.
30422
30423         * gst/gstqueryutils.c: 
30424         * gst/gstqueryutils.h: New files, implement 3 methods for each
30425         query type: parse_query, parse_response, and set. Probably need an
30426         allocator as well.
30427
30428         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30429
30430         * gst/elements/gstfilesink.c (gst_filesink_query2):
30431         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30432         query_types, and formats methods.
30433
30434         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30435         (gst_pad_set_query2_function): New functions.
30436         (gst_real_pad_init): Set query2_default as the default query2
30437         function. Basically just dispatches to internally linked pads.
30438
30439         Needs review!
30440         
30441         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30442         without using the atomic operations. Only one thread can possibly
30443         be accessing the data at this point. Changed so as to avoid
30444         gst_atomic operations.
30445
30446 2005-05-06  Wim Taymans  <wim@fluendo.com>
30447
30448         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30449         Also set caps if we use the fallback buffer alloc.
30450
30451 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30452
30453         * docs/gst/Makefile.am:
30454         * docs/gst/gstreamer-docs.sgml:
30455         * docs/gst/gstreamer-sections.txt:
30456         * docs/gst/tmpl/gstatomic.sgml:
30457         * docs/gst/tmpl/gstmemchunk.sgml:
30458         * testsuite/elements/struct_i386.h:
30459         * win32/GStreamer.vcproj:
30460         * win32/Makefile:
30461           Purge GstAtomic stuff from docs and win32 makefiles as well
30462
30463 2005-05-06  Wim Taymans  <wim@fluendo.com>
30464
30465         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30466         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30467         * gst/gstpad.c: (gst_pad_peer_get_caps):
30468         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30469         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30470         (gst_queue_src_activate), (gst_queue_change_state):
30471         * gst/gstqueue.h:
30472         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30473         (intersect_caps_func):
30474         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30475         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30476         Some fixes for the peer_get_caps() change.
30477
30478 2005-05-06  Wim Taymans  <wim@fluendo.com>
30479
30480         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30481         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30482         (gst_basesink_activate):
30483         Actually do something with error codes returned from the push
30484         functions.
30485
30486 2005-05-06  Wim Taymans  <wim@fluendo.com>
30487
30488         * docs/design/part-element-sink.txt:
30489         * docs/design/part-element-source.txt:
30490         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30491         (gst_basesink_event), (gst_basesink_activate):
30492         * gst/base/gstbasesink.h:
30493         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30494         (gst_basesrc_activate):
30495         * gst/base/gstbasesrc.h:
30496         * gst/gstelement.c: (gst_element_pads_activate):
30497         Some more documentation.
30498         Fixed scheduling decision in _pads_activate().
30499
30500 2005-05-05  Andy Wingo  <wingo@pobox.com>
30501
30502         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30503         the test suite.
30504
30505 2005-05-05  Wim Taymans  <wim@fluendo.com>
30506
30507         * gst/base/Makefile.am:
30508         * gst/base/gstbasesink.h:
30509         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30510         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30511         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30512         (gst_collectpads_class_init), (gst_collectpads_init),
30513         (gst_collectpads_finalize), (gst_collectpads_new),
30514         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30515         (find_pad), (gst_collectpads_remove_pad),
30516         (gst_collectpads_is_active), (gst_collectpads_collect),
30517         (gst_collectpads_collect_range), (gst_collectpads_start),
30518         (gst_collectpads_stop), (gst_collectpads_peek),
30519         (gst_collectpads_pop), (gst_collectpads_available),
30520         (gst_collectpads_read), (gst_collectpads_flush),
30521         (gst_collectpads_chain):
30522         * gst/base/gstcollectpads.h:
30523         * gst/elements/Makefile.am:
30524         * gst/elements/gstelements.c:
30525         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30526         (gst_fakesink_get_times), (gst_fakesink_event),
30527         (gst_fakesink_preroll), (gst_fakesink_render):
30528         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30529         (gst_filesink_init), (gst_filesink_set_location),
30530         (gst_filesink_open_file), (gst_filesink_close_file),
30531         (gst_filesink_pad_query), (gst_filesink_event),
30532         (gst_filesink_render), (gst_filesink_change_state):
30533         * gst/elements/gstfilesink.h:
30534         Added object to help in making collect pad based elements.
30535         Ported filesink.
30536         Make event function in sink baseclass return gboolean.
30537
30538 2005-05-05  Wim Taymans  <wim@fluendo.com>
30539
30540         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30541         (gst_bin_get_by_name):
30542         * gst/gstbuffer.h:
30543         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30544         (gst_clock_finalize):
30545         * gst/gstdata.c: (gst_data_replace):
30546         * gst/gstdata.h:
30547         * gst/gstelement.c: (gst_element_request_pad),
30548         (gst_element_pads_activate):
30549         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30550         (gst_object_unref):
30551         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30552         (gst_pad_set_checkgetrange_function),
30553         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30554         (gst_pad_check_pull_range), (gst_pad_pull_range),
30555         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30556         (gst_pad_pause_task), (gst_pad_stop_task):
30557         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30558         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30559         Fix name lookup in GstBin.
30560         Added _data_replace() function and _buffer_replace()
30561         Use finalize method to clean up clock.
30562         Fix refcounting on request pads.
30563         Fix pad schedule mode error.
30564         Some more object refcounting debug info,
30565
30566
30567 2005-05-04  Andy Wingo <wingo@pobox.com>
30568
30569         * check/Makefile.am:
30570         * docs/gst/tmpl/gstatomic.sgml:
30571         * docs/gst/tmpl/gstplugin.sgml:
30572         * gst/base/gstbasesink.c: (gst_basesink_activate):
30573         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30574         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30575         (gst_basesrc_query), (gst_basesrc_set_property),
30576         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30577         (gst_basesrc_activate):
30578         * gst/base/gstbasesrc.h:
30579         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30580         (gst_base_transform_src_activate):
30581         * gst/elements/gstelements.c:
30582         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30583         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30584         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30585         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30586         (gst_type_find_element_checkgetrange),
30587         (gst_type_find_element_activate):
30588         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30589         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30590         (gst_caps_load_thyself):
30591         * gst/gstelement.c: (gst_element_pads_activate),
30592         (gst_element_save_thyself), (gst_element_restore_thyself):
30593         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30594         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30595         * gst/gstpad.h:
30596         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30597         (gst_xml_parse_file), (gst_xml_parse_memory),
30598         (gst_xml_get_element), (gst_xml_make_element):
30599         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30600         (_file_index_id_save_xml), (gst_file_index_commit):
30601         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30602         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30603         (load_paths):
30604         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30605         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30606         * tools/gst-complete.c: (main):
30607         * tools/gst-compprep.c: (main):
30608         * tools/gst-inspect.c: (print_element_properties_info):
30609         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30610         * tools/gst-xmlinspect.c: (print_element_properties):
30611         GCC 4 fixen.
30612         
30613 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30614
30615         * gst/gstplugin.c: (gst_plugin_check_module),
30616         (gst_plugin_check_file), (gst_plugin_load_file):
30617             apply patch from #172526 to make register work on MacOSX
30618
30619 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30620
30621         * docs/gst/tmpl/gstconfig.sgml:
30622         * gst/gstconfig.h.in:
30623           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30624         * testsuite/debug/printf_extension.c: (main):
30625           Do not use GST_PTR_FORMAT on pointers to types with
30626           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30627         * testsuite/elements/property.h:
30628           use correct printf format
30629
30630 2005-05-02  Wim Taymans  <wim@fluendo.com>
30631
30632         * docs/design/draft-push-pull.txt:
30633         * docs/design/draft-query.txt:
30634         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30635         (gst_basesrc_start):
30636         Added draft for new query API.
30637         Added draft for better selecting scheduling methods.
30638         Make basesrc ignore length if the subclass does not support
30639         it.
30640
30641 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30642
30643         * gst/Makefile.am:
30644           possible fixes for automake-1.5 - _LIBADD is reserved
30645
30646 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30647
30648         * docs/faq/Makefile.am:
30649         * docs/manual/Makefile.am:
30650         * docs/manuals.mak:
30651         * docs/pwg/Makefile.am:
30652         * gst/Makefile.am:
30653           possible fixes for automake-1.5
30654
30655 2005-04-28  Wim Taymans  <wim@fluendo.com>
30656
30657         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30658         (gst_basesink_pad_getcaps), (gst_basesink_init),
30659         (gst_basesink_do_sync):
30660         * gst/gstclock.c: (gst_clock_entry_new):
30661         * gst/gstevent.c: (gst_event_discont_get_value):
30662         * gst/gstpipeline.c: (pipeline_bus_handler),
30663         (gst_pipeline_change_state):
30664         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30665         Better debugging of clocking info.
30666         Allow NULL values when getting discont values.
30667
30668 2005-04-27  Wim Taymans  <wim@fluendo.com>
30669
30670         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30671         * check/gst/gstpad.c: (gst_pad_suite):
30672         Increase timeout for checks.
30673
30674 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30675
30676         * check/Makefile.am:
30677           fix the broken rule for cleanup.  Apparently this rule is
30678           only needed on FC2, so maybe this warrants further autotool
30679           inspection.
30680
30681 2005-04-26  Wim Taymans  <wim@fluendo.com>
30682
30683         * gst/gsttrashstack.h:
30684         Ooohh. a nasty one! After having a failed pop() from the stack,
30685         it's possible that the stack is empty. In that case, don't
30686         follow the NULL pointer.
30687
30688 2005-04-25  Wim Taymans  <wim@fluendo.com>
30689
30690         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30691         (gst_pad_set_checkgetrange_function),
30692         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30693         (gst_pad_check_pull_range), (gst_pad_pull_range),
30694         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30695         (gst_pad_pause_task), (gst_pad_stop_task):
30696         * gst/gstplugin.c: (gst_plugin_load):
30697         * gst/gstplugin.h:
30698         Remove gst_library_load as it does more harm than good with
30699         the new g_module flags.
30700         Revert bogus caps template check in pad linking, pad caps
30701         are important when linking not the template, which is more
30702         general than the current caps.
30703
30704 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30705
30706         * gst/autoplug/.cvsignore:
30707         * gst/autoplug/Makefile.am:
30708         * gst/autoplug/gstsearchfuncs.c:
30709         * gst/autoplug/gstsearchfuncs.h:
30710         * gst/autoplug/gstspider.c:
30711         * gst/autoplug/gstspider.h:
30712         * gst/autoplug/gstspideridentity.c:
30713         * gst/autoplug/gstspideridentity.h:
30714         * gst/autoplug/spidertest.c:
30715           Die, spider, die.
30716
30717 2005-04-25  Wim Taymans  <wim@fluendo.com>
30718
30719         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30720         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30721         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30722         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30723         * gst/gstpad.h:
30724         Added stubs for unimplemented functions. 
30725
30726 2005-04-24  David Schleef  <ds@schleef.org>
30727
30728         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30729         please fix.
30730
30731 2005-04-24  David Schleef  <ds@schleef.org>
30732
30733         Convert everything from GstAtomicInt to g_atomic_int_*, and
30734         remove gstatomic.
30735         * gst/Makefile.am:
30736         * gst/gstatomic.c:
30737         * gst/gstatomic.h:
30738         * gst/gstatomic_impl.h:
30739         * gst/gstbuffer.c:
30740         * gst/gstcaps.c:
30741         * gst/gstcaps.h:
30742         * gst/gstclock.c:
30743         * gst/gstclock.h:
30744         * gst/gstdata.c:
30745         * gst/gstdata.h:
30746         * gst/gstdata_private.h:
30747         * gst/gstevent.c:
30748         * gst/gstinfo.c:
30749         * gst/gstinfo.h:
30750         * gst/gstmessage.c:
30751         * gst/gstobject.c:
30752         * gst/gstobject.h:
30753         * gst/gststructure.c:
30754         * gst/gststructure.h:
30755         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30756         * gst/gstutils.h:
30757
30758 2005-04-24  David Schleef  <ds@schleef.org>
30759
30760         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30761         make the regressions tests work.  Remove some code that is no
30762         longer true.
30763         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30764         Disable warning for pads without templates.
30765
30766 2005-04-24  David Schleef  <ds@schleef.org>
30767
30768         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30769         functions that handle filtered links.
30770         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30771         removed functions.
30772         * gst/gstutils.c: Fix/remove utility functions that handle
30773         filtered caps.
30774         * gst/gstutils.h:
30775         * gst/gstvalue.c: Add serialization/deserialization of caps
30776         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30777         requires fixing so that the filter caps notation creates
30778         a capsfilter element and sets the filter_caps property.  I
30779         think everyone probably wants to keep the shorthand notation.
30780         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30781         * docs/gst/tmpl/gstpad.sgml:
30782
30783         * gst/elements/gstelements.c: Register capsfilter element.
30784         * gst/Makefile.am: fix spacing
30785         * docs/random/ds/0.9-suggested-changes: random
30786
30787 2005-04-23  David Schleef  <ds@schleef.org>
30788
30789         * gst/elements/Makefile.am:
30790         * gst/elements/gstcapsfilter.c: New element that acts like an
30791         identity, but filters caps.  Will eventually replace filtered
30792         caps in pad linking.
30793         * gst/gstutils.c: (gst_element_create_all_pads): New function
30794         to create all the ALWAYS pads that are registered with an
30795         element class.  This functionality should eventually be
30796         merged in with GstElement initialization.
30797         * gst/gstutils.h:
30798         * testsuite/trigger/README: part of trigger test code that should
30799         have been checked in a long time ago.
30800
30801 2005-04-23  David Schleef  <ds@schleef.org>
30802
30803         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30804         needed with new versions of libtool (nobody will confirm this),
30805         and hard to carry around.
30806         * gst/autoplug/Makefile.am:
30807         * gst/base/Makefile.am:
30808         * gst/elements/Makefile.am:
30809         * gst/indexers/Makefile.am:
30810         * gst/schedulers/Makefile.am:
30811         * libs/gst/bytestream/Makefile.am:
30812         * libs/gst/control/Makefile.am:
30813         * libs/gst/dataprotocol/Makefile.am:
30814         * libs/gst/getbits/Makefile.am:
30815
30816 2005-04-21  Wim Taymans  <wim@fluendo.com>
30817
30818         * docs/design/draft-push-pull.txt:
30819         * docs/design/part-MT-refcounting.txt:
30820         * docs/design/part-TODO.txt:
30821         * docs/design/part-caps.txt:
30822         * docs/design/part-events.txt:
30823         * docs/design/part-gstbus.txt:
30824         * docs/design/part-gstpipeline.txt:
30825         * docs/design/part-messages.txt:
30826         * docs/design/part-push-pull.txt:
30827         * docs/design/part-query.txt:
30828         Some more docs.
30829
30830 2005-04-21  Wim Taymans  <wim@fluendo.com>
30831
30832         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30833         (gst_message_new), (gst_message_new_error),
30834         (gst_message_new_warning), (gst_message_new_tag),
30835         (gst_message_new_state_changed), (gst_message_new_application),
30836         (gst_message_get_structure):
30837         * gst/gstmessage.h:
30838         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30839         (gst_structure_copy_conditional):
30840         Use parent refcount in GstMessage to ensure GstStructure
30841         consistency.
30842         Cleaned up headers a bit.
30843         
30844
30845 2005-04-20  Wim Taymans  <wim@fluendo.com>
30846
30847         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30848         (gst_basesink_pad_getcaps), (gst_basesink_init),
30849         (gst_basesink_chain_unlocked):
30850         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30851         (gst_type_find_helper):
30852         * gst/elements/gsttypefindelement.c:
30853         (gst_type_find_element_have_type), (gst_type_find_element_init),
30854         (stop_typefinding), (gst_type_find_element_handle_event),
30855         (find_suggest), (gst_type_find_element_chain),
30856         (gst_type_find_element_checkgetrange),
30857         (gst_type_find_element_getrange), (do_typefind),
30858         (gst_type_find_element_activate):
30859         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30860         (gst_buffer_default_free), (gst_buffer_default_copy),
30861         (gst_buffer_set_caps):
30862         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30863         (gst_caps_replace):
30864         * gst/gstmessage.c: (gst_message_new),
30865         (gst_message_new_state_changed):
30866         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30867         (gst_pad_set_checkgetrange_function),
30868         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30869         (gst_pad_set_caps), (gst_pad_check_pull_range),
30870         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30871         * gst/gstpad.h:
30872         * gst/gsttypefind.c: (gst_type_find_register):
30873         Make gst_caps_replace() work like other _replace() functions.
30874         Use _caps_replace() where possible.
30875         Make sure _message_new() initialises its field.
30876         Add gst_static_pad_template_get_caps()
30877
30878
30879 2005-04-18  Andy Wingo  <wingo@pobox.com>
30880
30881         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30882         on the peer, not the pad. I think that was a typo. Pass an extra
30883         arg to see if random access is possible. Activate the pads as
30884         PULL_RANGE if possible.
30885
30886         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30887
30888         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30889         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30890         to PROP_....
30891
30892 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30893
30894         * docs/faq/using.xml:
30895           Add note on gstreamer-properties (#154996).
30896
30897 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30898
30899         * docs/random/bbb/optional-properties:
30900           Some analysis on optional properties.
30901
30902 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30903
30904         * docs/gst/tmpl/gstelementfactory.sgml:
30905         * gst/gstelement.h:
30906         * gst/gstelementfactory.c: (gst_element_factory_init),
30907         (gst_element_factory_cleanup), (gst_element_register),
30908         (__gst_element_factory_add_static_pad_template),
30909         (gst_element_factory_get_static_pad_templates),
30910         (gst_element_factory_can_src_caps),
30911         (gst_element_factory_can_sink_caps):
30912         * gst/registries/Makefile.am:
30913         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30914         (gst_xml_registry_class_init), (gst_xml_registry_init),
30915         (gst_xml_registry_new), (gst_xml_registry_set_property),
30916         (gst_xml_registry_get_property), (get_time), (make_dir),
30917         (gst_xml_registry_get_perms_func),
30918         (plugin_times_older_than_recurse), (plugin_times_older_than),
30919         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30920         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30921         (add_to_char_array), (read_string), (read_uint), (read_enum),
30922         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30923         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30924         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30925         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30926         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30927         (gst_xml_registry_rebuild):
30928         * gst/registries/gstlibxmlregistry.h:
30929         * tools/gst-compprep.c: (main):
30930         * tools/gst-inspect.c: (print_pad_templates_info):
30931         * tools/gst-xmlinspect.c: (print_element_info):
30932           Use libxml2 for registry parsing, use staticpadtemplates in
30933           elementfactories. Makes gst_init() +/- 10x faster.
30934
30935 2005-04-12  Wim Taymans  <wim@fluendo.com>
30936
30937         * gst/base/Makefile.am:
30938         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30939         (gst_basesink_pad_getcaps), (gst_basesink_init),
30940         (gst_basesink_event), (gst_basesink_change_state):
30941         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30942         (gst_basesrc_init), (gst_basesrc_query),
30943         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30944         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30945         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30946         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30947         (gst_basesrc_stop), (gst_basesrc_activate),
30948         (gst_basesrc_change_state):
30949         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30950         (helper_find_suggest), (gst_type_find_helper):
30951         * gst/base/gsttypefindhelper.h:
30952         * gst/elements/Makefile.am:
30953         * gst/elements/gstelements.c:
30954         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30955         (gst_fakesink_get_times), (gst_fakesink_event),
30956         (gst_fakesink_preroll), (gst_fakesink_render):
30957         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30958         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30959         (gst_fakesrc_get_property), (gst_fakesrc_create),
30960         (gst_fakesrc_start), (gst_fakesrc_stop):
30961         * gst/elements/gstfakesrc.h:
30962         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30963         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30964         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30965         (gst_filesrc_create_read), (gst_filesrc_create),
30966         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30967         (gst_filesrc_start):
30968         * gst/elements/gsttypefindelement.c:
30969         (gst_type_find_element_have_type), (gst_type_find_element_init),
30970         (start_typefinding), (stop_typefinding), (push_buffer_store),
30971         (gst_type_find_element_handle_event),
30972         (gst_type_find_element_chain),
30973         (gst_type_find_element_checkgetrange),
30974         (gst_type_find_element_getrange), (do_typefind),
30975         (gst_type_find_element_activate),
30976         (gst_type_find_element_change_state):
30977         * gst/elements/gsttypefindelement.h:
30978         * gst/gstpipeline.c: (pipeline_bus_handler):
30979         Added typefind helper.
30980         Small preroll fix in the base sink.
30981         Disable typefind code in basesrc.
30982         Crude port of typefindelement.
30983         Fakesrc cleanups.
30984
30985
30986 2005-04-11  Wim Taymans  <wim@fluendo.com>
30987
30988         * check/gst/gstbus.c: (gstbus_suite):
30989         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30990         * check/gstcheck.h:
30991           Fix up the timeout so that the test does not fail.
30992
30993 2005-04-06  Wim Taymans  <wim@fluendo.com>
30994
30995         * gst/base/README:
30996         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30997         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30998         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30999         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31000         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31001         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31002         (gst_basesrc_stop), (gst_basesrc_activate),
31003         (gst_basesrc_change_state), (basesrc_find_peek),
31004         (basesrc_find_suggest), (gst_basesrc_type_find):
31005         * gst/base/gstbasesrc.h:
31006         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31007         (gst_filesrc_class_init), (gst_filesrc_init),
31008         (gst_filesrc_finalize), (gst_filesrc_set_location),
31009         (gst_filesrc_set_property), (gst_filesrc_get_property),
31010         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31011         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31012         (gst_filesrc_create_read), (gst_filesrc_create),
31013         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31014         * gst/elements/gstfilesrc.h:
31015         * gst/gstelement.c: (gst_element_get_state_func),
31016         (gst_element_lost_state), (gst_element_pads_activate):
31017         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31018         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31019         (gst_pad_pull_range):
31020         * gst/gstpad.h:
31021         More work on the generic source base class, implement seeking,
31022         query.
31023         Make filesrc extend the base source class.
31024         Added gst_pad_set_checkgetrange_function to GstPad.
31025
31026 2005-04-06  Andy Wingo  <wingo@pobox.com>
31027
31028         * pkgconfig/gstreamer-base.pc.in:
31029         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31030
31031         * pkgconfig/Makefile.am:
31032         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31033
31034 2005-04-04  Wim Taymans  <wim@fluendo.com>
31035
31036         * gst/base/Makefile.am:
31037         * gst/base/README:
31038         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31039         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31040         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31041         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31042         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31043         (gst_basesrc_base_init), (gst_basesrc_class_init),
31044         (gst_basesrc_init), (gst_basesrc_get_formats),
31045         (gst_basesrc_get_query_types), (gst_basesrc_query),
31046         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31047         (gst_basesrc_set_property), (gst_basesrc_get_property),
31048         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31049         (gst_basesrc_loop), (gst_basesrc_activate),
31050         (gst_basesrc_change_state):
31051         * gst/base/gstbasesrc.h:
31052         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31053         (gst_fakesrc_class_init), (gst_fakesrc_init),
31054         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31055         (gst_fakesrc_get_property), (gst_fakesrc_create):
31056         * gst/elements/gstfakesrc.h:
31057         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31058         (gst_filesrc_open_file), (gst_filesrc_loop),
31059         (gst_filesrc_activate), (filesrc_find_peek),
31060         (gst_filesrc_type_find):
31061         Made base source class, make fakesrc extend it.
31062         Add comments to basesink class.
31063         Some filesrc cleanup.
31064
31065 2005-03-31  David Schleef  <ds@schleef.org>
31066
31067         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31068         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31069         expected to link against libgstreamer.
31070         * gst/base/Makefile.am: link against libgstreamer
31071         * gst/elements/Makefile.am: same
31072
31073 2005-03-31  Andy Wingo  <wingo@pobox.com>
31074
31075         * tests/instantiate/Makefile.am:
31076         * tests/instantiate/caps.c: Add test to test speed of caps copy
31077         and free.
31078
31079         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31080         GMemChunk to be fair.
31081
31082         * gst/gsttrashstack.h: Remove warning about using the fallback
31083         trash stack implementation, it's still faster than malloc.
31084
31085 2005-03-30  Andy Wingo  <wingo@pobox.com>
31086
31087         * tests/complexity.c: Add a copyright.
31088
31089 2005-03-31  Wim Taymans  <wim@fluendo.com>
31090
31091         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31092         (gst_base_transform_class_init), (gst_base_transform_init),
31093         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31094         (gst_base_transform_get_property),
31095         (gst_base_transform_sink_activate),
31096         (gst_base_transform_src_activate),
31097         (gst_base_transform_change_state):
31098         * gst/base/gstbasetransform.h:
31099         * gst/elements/gstidentity.c: (gst_identity_class_init),
31100         (gst_identity_event), (gst_identity_check_perfect),
31101         (gst_identity_transform), (gst_identity_start),
31102         (gst_identity_stop):
31103         Added start/stop methods to transform base class so subclasses 
31104         don't need to deal with state changes even.
31105
31106 2005-03-31  Wim Taymans  <wim@fluendo.com>
31107
31108         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31109         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31110         * gst/gstevent.h:
31111         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31112         (gst_pad_pull_range):
31113         Added rate to the discont event to prepare for variable speed
31114         and reverse playback.
31115
31116 2005-03-29  David Schleef  <ds@schleef.org>
31117
31118         * configure.ac:
31119         * testsuite/trigger/Makefile.am:
31120         * testsuite/trigger/trigger.c: A little example program to show
31121         how trigger-based elements can work.
31122
31123 2005-03-29  Wim Taymans  <wim@fluendo.com>
31124
31125         * gst/base/Makefile.am:
31126         * gst/base/README:
31127         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31128         (gst_basesink_base_init), (gst_basesink_class_init),
31129         (gst_basesink_pad_getcaps), (gst_basesink_init),
31130         (gst_basesink_activate), (gst_basesink_change_state):
31131         * gst/base/gstbasesink.h:
31132         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31133         (gst_base_transform_base_init), (gst_base_transform_finalize),
31134         (gst_base_transform_class_init), (gst_base_transform_init),
31135         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31136         (gst_base_transform_event), (gst_base_transform_getrange),
31137         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31138         (gst_base_transform_set_property),
31139         (gst_base_transform_get_property),
31140         (gst_base_transform_sink_activate),
31141         (gst_base_transform_src_activate),
31142         (gst_base_transform_change_state):
31143         * gst/base/gstbasetransform.h:
31144         * gst/elements/gstidentity.c: (gst_identity_finalize),
31145         (gst_identity_class_init), (gst_identity_init),
31146         (gst_identity_event), (gst_identity_check_perfect),
31147         (gst_identity_transform), (gst_identity_set_property),
31148         (gst_identity_get_property), (gst_identity_change_state):
31149         * gst/elements/gstidentity.h:
31150         * gst/gstelement.c: (gst_element_get_state_func),
31151         (gst_element_lost_state), (gst_element_pads_activate):
31152         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31153         (gst_pad_check_pull_range), (gst_pad_pull_range):
31154         * gst/gstpad.h:
31155         Simplify pad activation.
31156         Added function to check if pull_range can be performed.
31157         Error out when pulling inactive or flushing pads.
31158         Removed const from refcounted types as it does not make sense.
31159         Simplify pad templates in basesink
31160         Added base class for simple 1-to-1 transforms.
31161         Make identity subclass the base transform.
31162
31163 2005-03-29  Andy Wingo  <wingo@pobox.com>
31164
31165         * docs/libs/gstreamer-libs-overrides.txt: 
31166         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31167         really don't understand what's going on, but like whatever. I want
31168         green buildbot!
31169
31170         * docs/gst/Makefile.am:
31171         * docs/libs/Makefile.am: Dist the overrides files.
31172
31173         * check/Makefile.am (clean-local): Remove .libs directories.
31174
31175         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31176         elements to EXTRA_DIST, so po/ files are happy.
31177
31178         * po/POTFILES.in: Er, remove it here.
31179
31180         * po/POTFILES: Remove gstspider.c.
31181
31182         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31183
31184         * docs/libs/gstreamer-libs-docs.sgml: 
31185         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31186         bytestream.
31187
31188         * tests/complexity.c (main): Set the length of the preroll queue
31189         on the sinks to prevent a lockup.
31190
31191         * libs/gst/dataprotocol/Makefile.am: 
31192         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31193         the same as the one in check/gst-libs/gdp.c.
31194
31195         * po/, docs/gst/: Commit automatic changes to docs and po files.
31196
31197         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31198         the versioned libgstbase.
31199
31200         * check/Makefile.am: Depend on an unversioned gst-register, seems
31201         to make autoconf happier.
31202
31203         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31204
31205 2005-03-28  Wim Taymans  <wim@fluendo.com>
31206
31207         * configure.ac:
31208         * docs/design/part-gstelement.txt:
31209         * docs/design/part-negotiation.txt:
31210         * docs/design/part-preroll.txt:
31211         * docs/design/part-scheduling.txt:
31212         * docs/design/part-states.txt:
31213         * gst/Makefile.am:
31214         * gst/base/Makefile.am:
31215         * gst/base/README:
31216         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31217         (gst_basesink_base_init), (gst_basesink_class_init),
31218         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31219         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31220         (gst_basesink_set_pad_functions),
31221         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31222         (gst_basesink_set_property), (gst_basesink_get_property),
31223         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31224         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31225         (gst_basesink_preroll_queue_push),
31226         (gst_basesink_preroll_queue_empty),
31227         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31228         (gst_basesink_event), (gst_basesink_get_times),
31229         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31230         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31231         (gst_basesink_loop), (gst_basesink_activate),
31232         (gst_basesink_change_state):
31233         * gst/base/gstbasesink.h:
31234         * gst/elements/Makefile.am:
31235         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31236         (gst_fakesink_class_init), (gst_fakesink_init),
31237         (gst_fakesink_set_property), (gst_fakesink_get_property),
31238         (gst_fakesink_get_times), (gst_fakesink_event),
31239         (gst_fakesink_preroll), (gst_fakesink_render),
31240         (gst_fakesink_change_state):
31241         * gst/elements/gstfakesink.h:
31242         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31243         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31244         * gst/gstelement.c: (gst_element_add_pad),
31245         (gst_element_get_state_func), (gst_element_abort_state),
31246         (gst_element_commit_state), (gst_element_lost_state),
31247         (gst_element_set_state), (gst_element_pads_activate):
31248         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31249         * gst/gstpipeline.c: (gst_pipeline_send_event),
31250         (gst_pipeline_change_state):
31251         Added state change code.
31252         Added/updated docs.
31253         Added sink base class, make fakesink extend the base class.
31254         Small cleanups in GstPipeline.
31255
31256 2005-03-26  David Schleef  <ds@schleef.org>
31257
31258         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31259         is broken and should be implemented in a different library.
31260         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31261         * gst/gst.h: remove gstcpu.h
31262         * gst/gstcpu.c: remove
31263         * gst/gstcpu.h: remove
31264         * gst/Makefile.am.future: Remove this file.  It's ancient.
31265
31266 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31267
31268         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31269         (gst_bin_send_event):
31270           Add default event/set_manager handlers. The set_manager handler
31271           takes care that the manager is distributed over kids that were
31272           already in the bin before the manager was set. The event handler
31273           is a utility virtual function that sends the event over all sinks,
31274           so that gst_element_send_event (bin, event); has the expected
31275           behaviour.
31276         * gst/gstpad.c: (gst_pad_event_default):
31277           Re-install default event handling for discontinuities, so that
31278           seeking works without requiring hacks in applications or extra
31279           code in sinks.
31280         * gst/gstpipeline.c: (gst_pipeline_class_init),
31281         (gst_pipeline_send_event):
31282           Half hack, half utility: set a pipeline to PAUSED for seek events,
31283           since that is the only way we can guarantee a/v sync. Means that
31284           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31285           and it "just works".
31286
31287 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31288
31289         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31290           Lock/unlock mismatch.
31291
31292 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31293
31294         * docs/faq/gst-uninstalled:
31295           add gst-plugins-base
31296         * docs/gst/Makefile.am:
31297           don't error out until docs are fixed
31298         * docs/gst/gstreamer.types:
31299           remove thread
31300
31301 2005-03-22  Wim Taymans  <wim@fluendo.com>
31302
31303         * check/Makefile.am:
31304         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31305         * gst/gststructure.c: (gst_structure_set_valist),
31306         (gst_structure_copy_conditional):
31307         Activated more tests.
31308         Added message test.
31309         Added G_TYPE_POINTER to GstStructure.
31310         
31311
31312 2005-03-22  Wim Taymans  <wim@fluendo.com>
31313
31314         * docs/design/part-TODO.txt:
31315         * docs/design/part-events.txt:
31316         * docs/design/part-gstbin.txt:
31317         * docs/design/part-gstbus.txt:
31318         * docs/design/part-gstpipeline.txt:
31319         * docs/design/part-messages.txt:
31320         * gst/gstbus.c:
31321         * gst/gstmessage.c:
31322         Docs updates
31323
31324 2005-03-21  Wim Taymans  <wim@fluendo.com>
31325
31326         * gst/gstbus.c: (gst_bus_post):
31327         Fix copy-and-paste error.
31328
31329 2005-03-21  Wim Taymans  <wim@fluendo.com>
31330
31331         * check/Makefile.am:
31332         * gst/Makefile.am:
31333         * gst/elements/Makefile.am:
31334         * gst/elements/gstelements.c:
31335         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31336         (gst_fakesink_event), (gst_fakesink_chain):
31337         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31338         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31339         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31340         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31341         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31342         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31343         (gst_fakesrc_loop), (gst_fakesrc_activate),
31344         (gst_fakesrc_change_state):
31345         * gst/elements/gstfakesrc.h:
31346         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31347         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31348         (gst_filesrc_open_file), (gst_filesrc_loop),
31349         (gst_filesrc_activate), (gst_filesrc_change_state),
31350         (filesrc_find_peek), (filesrc_find_suggest),
31351         (gst_filesrc_type_find):
31352         * gst/elements/gstidentity.c: (gst_identity_finalize),
31353         (gst_identity_class_init), (gst_identity_init),
31354         (gst_identity_proxy_getcaps), (identity_queue_push),
31355         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31356         (gst_identity_getrange), (gst_identity_chain),
31357         (gst_identity_sink_loop), (gst_identity_src_loop),
31358         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31359         (gst_identity_set_property), (gst_identity_get_property),
31360         (gst_identity_change_state):
31361         * gst/elements/gstidentity.h:
31362         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31363         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31364         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31365         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31366         (gst_tee_sink_activate):
31367         * gst/elements/gsttee.h:
31368         * gst/gst.c: (gst_register_core_elements), (init_post):
31369         * gst/gst.h:
31370         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31371         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31372         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31373         (gst_bin_change_state):
31374         * gst/gstbin.h:
31375         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31376         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31377         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31378         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31379         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31380         (bus_watch_callback), (bus_watch_destroy),
31381         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31382         (poll_timeout), (gst_bus_poll):
31383         * gst/gstbus.h:
31384         * gst/gstcaps.h:
31385         * gst/gstdata.h:
31386         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31387         (gst_element_post_message), (gst_element_message_full),
31388         (gst_element_get_state_func), (gst_element_get_state),
31389         (gst_element_abort_state), (gst_element_commit_state),
31390         (gst_element_lost_state), (gst_element_set_state),
31391         (gst_element_pads_activate), (gst_element_change_state),
31392         (gst_element_dispose), (gst_element_set_manager_func),
31393         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31394         (gst_element_set_manager), (gst_element_get_manager),
31395         (gst_element_set_bus), (gst_element_get_bus),
31396         (gst_element_set_scheduler), (gst_element_get_scheduler):
31397         * gst/gstelement.h:
31398         * gst/gstevent.c: (gst_event_new_segment_seek),
31399         (gst_event_new_flush):
31400         * gst/gstevent.h:
31401         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31402         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31403         (gst_message_new_eos), (gst_message_new_error),
31404         (gst_message_new_warning), (gst_message_new_tag),
31405         (gst_message_new_state_changed), (gst_message_new_application),
31406         (gst_message_get_structure), (gst_message_parse_tag),
31407         (gst_message_parse_state_changed), (gst_message_parse_error),
31408         (gst_message_parse_warning):
31409         * gst/gstmessage.h:
31410         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31411         (gst_real_pad_set_property), (gst_pad_set_active),
31412         (gst_pad_is_active), (gst_pad_set_blocked_async),
31413         (gst_pad_set_blocked), (gst_pad_is_blocked),
31414         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31415         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31416         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31417         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31418         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31419         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31420         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31421         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31422         (gst_pad_set_caps), (gst_pad_configure_sink),
31423         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31424         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31425         (gst_real_pad_dispose), (gst_real_pad_finalize),
31426         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31427         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31428         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31429         * gst/gstpad.h:
31430         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31431         (pipeline_bus_handler), (gst_pipeline_change_state),
31432         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31433         * gst/gstpipeline.h:
31434         * gst/gstprobe.h:
31435         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31436         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31437         (gst_queue_link_src), (gst_queue_bufferalloc),
31438         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31439         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31440         (gst_queue_loop), (gst_queue_handle_src_event),
31441         (gst_queue_handle_src_query), (gst_queue_src_activate),
31442         (gst_queue_change_state):
31443         * gst/gstqueue.h:
31444         * gst/gstscheduler.c: (gst_scheduler_init),
31445         (gst_scheduler_dispose), (gst_scheduler_create_task),
31446         (gst_scheduler_factory_create):
31447         * gst/gstscheduler.h:
31448         * gst/gststructure.c: (gst_structure_get_type),
31449         (gst_structure_copy_conditional):
31450         * gst/gststructure.h:
31451         * gst/gsttaginterface.h:
31452         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31453         (gst_task_init), (gst_task_dispose), (gst_task_create),
31454         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31455         (gst_task_pause):
31456         * gst/gsttask.h:
31457         * gst/gstthread.c:
31458         * gst/gstthread.h:
31459         * gst/gsttypes.h:
31460         * gst/schedulers/Makefile.am:
31461         * gst/schedulers/cothreads_compat.h:
31462         * gst/schedulers/entryscheduler.c:
31463         * gst/schedulers/faircothreads.c:
31464         * gst/schedulers/faircothreads.h:
31465         * gst/schedulers/fairscheduler.c:
31466         * gst/schedulers/gstbasicscheduler.c:
31467         * gst/schedulers/gstoptimalscheduler.c:
31468         * gst/schedulers/gthread-cothreads.h:
31469         * gst/schedulers/threadscheduler.c:
31470         (gst_thread_scheduler_task_get_type),
31471         (gst_thread_scheduler_task_class_init),
31472         (gst_thread_scheduler_task_init),
31473         (gst_thread_scheduler_task_start),
31474         (gst_thread_scheduler_task_stop),
31475         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31476         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31477         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31478         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31479         (plugin_init):
31480         * libs/gst/Makefile.am:
31481         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31482         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31483         (gst_file_pad_parent_set):
31484         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31485         (gst_dp_event_from_packet):
31486         * tests/complexity.c: (main):
31487         * tests/mass_elements.c: (main):
31488         * testsuite/states/locked.c: (message_received), (main):
31489         * testsuite/states/parent.c: (main):
31490         * tools/gst-inspect.c: (print_element_flag_info),
31491         (print_implementation_info), (print_pad_info):
31492         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31493         (main):
31494         * tools/gst-md5sum.c: (event_loop), (main):
31495         * tools/gst-typefind.c: (main):
31496         * tools/gst-xmlinspect.c: (print_element_info):
31497         Next big merge.
31498         Added GstBus for mainloop integration.
31499         Added GstMessage for sending notifications on the bus.
31500         Added GstTask as an abstraction for pipeline entry points.
31501         Removed GstThread.
31502         Removed Schedulers.
31503         Simplified GstQueue for multithreaded core.
31504         Made _link threadsafe, removed old capsnego.
31505         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31506         Added pad blocking functions.
31507         Reworked scheduling functions in GstPad to prepare for
31508         scheduling updates soon.
31509         Moved events out of data stream.
31510         Simplified GstEvent types.
31511         Added return values to push/pull.
31512         Removed clocking from GstElement.
31513         Added prototypes for state change function for next merge.
31514         Removed iterate from bins and state change management.
31515         Fixed some elements, disabled others for now.
31516         Fixed -inspect and -launch.
31517         Added check for GstBus.
31518
31519 2005-03-10  Wim Taymans  <wim@fluendo.com>
31520
31521         * docs/design/part-MT-refcounting.txt:
31522         * docs/design/part-clocks.txt:
31523         * docs/design/part-gstelement.txt:
31524         * docs/design/part-gstobject.txt:
31525         * docs/design/part-standards.txt:
31526         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31527         (gst_bin_remove_func), (gst_bin_remove):
31528         * gst/gstbin.h:
31529         * gst/gstbuffer.c:
31530         * gst/gstcaps.h:
31531         * testsuite/clock/clock1.c: (main):
31532         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31533         (main):
31534         * testsuite/dlopen/loadgst.c: (do_test):
31535         * testsuite/refcounting/bin.c: (add_remove_test1),
31536         (add_remove_test2), (main):
31537         * testsuite/refcounting/element.c: (main):
31538         * testsuite/refcounting/element_pad.c: (main):
31539         * testsuite/refcounting/pad.c: (main):
31540         * tools/gst-launch.c: (sigint_handler_sighandler):
31541         * tools/gst-typefind.c: (main):
31542         Doc updates.
31543         Added doc about clock.
31544         removed gst_bin_iterate_recurse_up(), marked methods
31545         for removal.
31546         Fix more testsuites.
31547
31548 2005-03-09  Wim Taymans  <wim@fluendo.com>
31549
31550         * gst/gstpad.c: (gst_pad_get_direction),
31551         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31552         (gst_pad_collect_valist):
31553         * testsuite/bins/interface.c: (main):
31554         * testsuite/caps/audioscale.c: (test_caps):
31555         * testsuite/caps/caps.c: (test1), (test2), (test3):
31556         * testsuite/caps/deserialize.c: (main):
31557         * testsuite/caps/enumcaps.c: (main):
31558         * testsuite/caps/filtercaps.c: (main):
31559         * testsuite/caps/intersect2.c: (main):
31560         * testsuite/caps/random.c: (main):
31561         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31562         * testsuite/caps/sets.c: (check_caps):
31563         * testsuite/caps/simplify.c: (check_caps), (main):
31564         * testsuite/caps/subtract.c: (check_caps):
31565         Fix _pad_get_direction wrt ghostpads.
31566         Fix caps testsuite.
31567
31568 2005-03-09  Wim Taymans  <wim@fluendo.com>
31569
31570         * check/Makefile.am:
31571         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31572         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31573         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31574         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31575         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31576         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31577         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31578         (bin_element_is_sink), (gst_bin_iterate_sinks),
31579         (gst_bin_iterate_all_by_interface):
31580         * gst/gstbin.h:
31581         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31582         (gst_element_change_state), (gst_element_dispose),
31583         (gst_element_finalize), (gst_element_set_loop_function):
31584         * gst/gstelement.h:
31585         * gst/gstiterator.c: (find_custom_fold_func):
31586         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31587         (gst_pad_collectv), (gst_pad_collect_valist),
31588         (gst_pad_template_new):
31589         * gst/gstpipeline.c: (gst_pipeline_class_init),
31590         (gst_pipeline_dispose), (gst_pipeline_set_property),
31591         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31592         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31593         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31594         * gst/gstutils.h:
31595         * gst/schedulers/entryscheduler.c:
31596         * gst/schedulers/gstbasicscheduler.c:
31597         (gst_basic_scheduler_cothreaded_chain),
31598         (gst_basic_scheduler_chain_add_element):
31599         * testsuite/bins/interface.c: (main):
31600         Added GstBin test.
31601         Added GstSystemClock test.
31602         Implemented clock distribution code in GstBin.
31603         Implemented iterate sinks method for future use.
31604         Rearranged gstelement.h
31605         Fix GstIterator comparison bug.
31606         Moved some code to GstPipeline, mostly clocking related.
31607
31608 2005-03-09  Wim Taymans  <wim@fluendo.com>
31609
31610         * configure.ac:
31611         * gst/gst_private.h:
31612         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31613         (gst_bin_remove_func), (gst_bin_remove),
31614         (gst_bin_get_by_name_recurse_up):
31615         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31616         (gst_clock_id_compare_func), (gst_clock_id_wait),
31617         (gst_clock_id_wait_async), (gst_clock_init),
31618         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31619         * gst/gstelement.h:
31620         * gst/gstinfo.c: (_gst_debug_init):
31621         * gst/gstobject.h:
31622         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31623         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31624         * gst/gstpad.h:
31625         Bump version number, we're now 0.9.0
31626         Add future debugging category.
31627         Fix NULL _unref() in _get_by_name_recurse_up
31628         Rearrange gstpad.h.
31629         Update some docs.
31630
31631 2005-03-08  Wim Taymans  <wim@fluendo.com>
31632
31633         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31634         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31635         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31636         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31637         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31638         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31639         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31640         * gst/elements/gstidentity.c: (gst_identity_class_init):
31641         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31642         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31643         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31644         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31645         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31646         (gst_tee_link):
31647         * gst/gstelement.c: (gst_element_class_init),
31648         (gst_element_base_class_init), (gst_element_init),
31649         (gst_element_get_random_pad), (gst_element_wait_state_change),
31650         (gst_element_change_state), (gst_element_dispose),
31651         (gst_element_finalize), (gst_element_set_loop_function):
31652         * gst/gstelement.h:
31653         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31654         * gst/gstthread.c: (gst_thread_class_init),
31655         (gst_thread_release_children_locks), (gst_thread_change_state):
31656         * gst/schedulers/gstbasicscheduler.c:
31657         (gst_basic_scheduler_loopfunc_wrapper),
31658         (gst_basic_scheduler_chain_wrapper),
31659         (gst_basic_scheduler_src_wrapper),
31660         (gst_basic_scheduler_remove_element):
31661         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31662         Remove threadsafe properties. Fix elements because GObject
31663         complains when installing a property before declaring a
31664         set/get_property handler.
31665         Rearrange gstelement.h file, use STATE macros for state locks.
31666         Free mutexes in the finalize method instead of dispose.
31667
31668 2005-03-08  Wim Taymans  <wim@fluendo.com>
31669
31670         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31671         * gst/gstthread.c: (gst_thread_release_children_locks):
31672         Added parentage check.
31673         Fix build og GstThread again.
31674
31675 2005-03-08  Wim Taymans  <wim@fluendo.com>
31676
31677         * docs/design/part-MT-refcounting.txt:
31678         * docs/design/part-conventions.txt:
31679         * docs/design/part-gstobject.txt:
31680         * docs/design/part-relations.txt:
31681         * docs/design/part-standards.txt:
31682         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31683         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31684         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31685         (gst_bin_iterate_all_by_interface):
31686         * gst/gstbuffer.h:
31687         * gst/gstclock.h:
31688         * gst/gstelement.c: (gst_element_class_init),
31689         (gst_element_change_state), (gst_element_set_loop_function):
31690         * gst/gstelement.h:
31691         * gst/gstiterator.c:
31692         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31693         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31694         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31695         (gst_object_set_parent), (gst_object_unparent),
31696         (gst_object_check_uniqueness):
31697         * gst/gstobject.h:
31698         Docs updates, clean up some headers.
31699
31700 2005-03-07  Wim Taymans  <wim@fluendo.com>
31701
31702         * check/.cvsignore:
31703         * check/Makefile.am:
31704         * check/gst-libs/.cvsignore:
31705         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31706         * check/gst/.cvsignore:
31707         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31708         (START_TEST), (gstbus_suite), (main):
31709         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31710         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31711         (gst_data_suite), (main):
31712         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31713         (add_fold_func), (gstiterator_suite), (main):
31714         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31715         (thread_name_object), (thread_name_object_default),
31716         (gst_object_name_compare), (gst_object_suite), (main):
31717         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31718         (gst_pad_suite), (main):
31719         * check/gstcheck.c: (gst_check_log_message_func),
31720         (gst_check_log_critical_func), (gst_check_init):
31721         * check/gstcheck.h:
31722         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31723         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31724         Added checks.
31725
31726 2005-03-07  Wim Taymans  <wim@fluendo.com>
31727
31728         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31729         (gst_list_iterator_next), (gst_list_iterator_resync),
31730         (gst_list_iterator_free), (gst_iterator_new_list),
31731         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31732         (gst_iterator_free), (gst_iterator_push), (filter_next),
31733         (filter_resync), (filter_uninit), (filter_free),
31734         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31735         (gst_iterator_foreach), (find_custom_fold_func),
31736         (gst_iterator_find_custom):
31737         * gst/gstiterator.h:
31738         Added missing files.
31739
31740 2005-03-07  Wim Taymans  <wim@fluendo.com>
31741
31742         * Makefile.am:
31743         * configure.ac:
31744         * docs/design/part-MT-refcounting.txt:
31745         * docs/design/part-conventions.txt:
31746         * docs/design/part-gstobject.txt:
31747         * docs/design/part-relations.txt:
31748         * examples/mixer/mixer.c: (main):
31749         * examples/thread/thread.c: (eos), (main):
31750         * gst/Makefile.am:
31751         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31752         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31753         (gst_spider_plug_from_srcpad):
31754         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31755         (gst_spider_identity_change_state),
31756         (gst_spider_identity_sink_loop_type_finding):
31757         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31758         * gst/elements/gstidentity.c: (gst_identity_init):
31759         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31760         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31761         * gst/elements/gsttypefindelement.c: (free_entry):
31762         * gst/gst.c:
31763         * gst/gst.h:
31764         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31765         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31766         (gst_bin_set_index), (gst_bin_set_element_sched),
31767         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31768         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31769         (gst_bin_iterate_elements), (iterate_child_recurse),
31770         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31771         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31772         (compare_interface), (gst_bin_get_by_interface),
31773         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31774         * gst/gstbin.h:
31775         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31776         (gst_buffer_default_free), (gst_buffer_default_copy),
31777         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31778         (gst_buffer_create_sub):
31779         * gst/gstbuffer.h:
31780         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31781         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31782         (gst_caps_unref), (gst_static_caps_get),
31783         (gst_caps_remove_and_get_structure), (gst_caps_append),
31784         (gst_caps_append_structure), (gst_caps_remove_structure),
31785         (gst_caps_copy_nth), (gst_caps_set_simple),
31786         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31787         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31788         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31789         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31790         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31791         (gst_caps_structure_figure_out_union),
31792         (gst_caps_switch_structures), (gst_caps_do_simplify),
31793         (gst_caps_replace), (gst_caps_from_string),
31794         (gst_caps_copy_conditional):
31795         * gst/gstcaps.h:
31796         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31797         (_gst_clock_id_free), (gst_clock_id_unref),
31798         (gst_clock_id_compare_func), (gst_clock_id_wait),
31799         (gst_clock_id_wait_async), (gst_clock_class_init),
31800         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31801         (gst_clock_get_time), (gst_clock_set_time_adjust),
31802         (gst_clock_set_property), (gst_clock_get_property):
31803         * gst/gstclock.h:
31804         * gst/gstcompat.h:
31805         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31806         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31807         * gst/gstdata.h:
31808         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31809         (gst_element_requires_clock), (gst_element_provides_clock),
31810         (gst_element_set_clock), (gst_element_clock_wait),
31811         (gst_element_wait), (gst_element_set_time_delay),
31812         (gst_element_is_indexable), (gst_element_add_pad),
31813         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31814         (pad_compare_name), (gst_element_get_static_pad),
31815         (gst_element_request_pad), (gst_element_get_request_pad),
31816         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31817         (gst_element_class_get_pad_template_list),
31818         (gst_element_class_get_pad_template), (gst_element_error_func),
31819         (gst_element_get_random_pad), (gst_element_get_event_masks),
31820         (gst_element_send_event), (gst_element_seek),
31821         (gst_element_get_query_types), (gst_element_query),
31822         (gst_element_get_formats), (gst_element_convert),
31823         (gst_element_is_locked_state), (gst_element_set_locked_state),
31824         (gst_element_sync_state_with_parent), (gst_element_change_state),
31825         (gst_element_finalize), (gst_element_yield),
31826         (gst_element_interrupt), (gst_element_set_scheduler),
31827         (gst_element_get_scheduler), (gst_element_set_loop_function):
31828         * gst/gstelement.h:
31829         * gst/gstevent.h:
31830         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31831         (gst_format_get_by_nick), (gst_format_get_details),
31832         (gst_format_iterate_definitions):
31833         * gst/gstformat.h:
31834         * gst/gstindex.c: (gst_index_gtype_resolver):
31835         * gst/gstinfo.c:
31836         * gst/gstinfo.h:
31837         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31838         (gst_mem_chunk_free):
31839         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31840         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31841         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31842         (gst_object_dispatch_properties_changed),
31843         (gst_object_set_name_default), (gst_object_set_name),
31844         (gst_object_get_name), (gst_object_set_name_prefix),
31845         (gst_object_get_name_prefix), (gst_object_set_parent),
31846         (gst_object_get_parent), (gst_object_unparent),
31847         (gst_object_check_uniqueness), (gst_object_save_thyself),
31848         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31849         (gst_object_set_property), (gst_object_get_property),
31850         (gst_object_get_path_string):
31851         * gst/gstobject.h:
31852         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31853         (gst_real_pad_init), (gst_real_pad_get_property),
31854         (gst_pad_custom_new), (gst_pad_get_direction),
31855         (gst_pad_set_active), (gst_pad_is_active),
31856         (gst_pad_set_event_function), (gst_pad_is_linked),
31857         (gst_pad_link_free), (gst_pad_link_intersect),
31858         (gst_pad_link_fixate), (gst_pad_set_caps),
31859         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31860         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31861         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31862         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31863         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31864         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31865         (gst_pad_realize), (gst_pad_get_allowed_caps),
31866         (gst_real_pad_dispose), (gst_real_pad_finalize),
31867         (gst_pad_collectv), (gst_pad_collect_valist),
31868         (gst_pad_template_dispose), (gst_pad_template_new),
31869         (gst_pad_get_internal_links):
31870         * gst/gstpad.h:
31871         * gst/gstpipeline.c: (gst_pipeline_dispose),
31872         (gst_pipeline_change_state):
31873         * gst/gstpipeline.h:
31874         * gst/gstplugin.c:
31875         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31876         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31877         * gst/gstpluginfeature.h:
31878         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31879         * gst/gstquery.c: (_gst_query_type_initialize),
31880         (gst_query_type_register), (gst_query_type_get_by_nick),
31881         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31882         * gst/gstquery.h:
31883         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31884         * gst/gstscheduler.c: (gst_scheduler_add_element),
31885         (gst_scheduler_factory_create):
31886         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31887         (gst_structure_free), (gst_structure_set_name),
31888         (gst_structure_id_set_value), (gst_structure_set_value),
31889         (gst_structure_set_valist), (gst_structure_remove_field),
31890         (gst_structure_remove_fields),
31891         (gst_structure_remove_fields_valist),
31892         (gst_structure_remove_all_fields), (gst_structure_foreach),
31893         (gst_structure_map_in_place),
31894         (gst_caps_structure_fixate_field_nearest_int),
31895         (gst_caps_structure_fixate_field_nearest_double):
31896         * gst/gststructure.h:
31897         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31898         (gst_system_clock_init), (gst_system_clock_dispose),
31899         (gst_system_clock_async_thread),
31900         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31901         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31902         * gst/gstsystemclock.h:
31903         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31904         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31905         * gst/gsttaginterface.c:
31906         * gst/gstthread.c: (gst_thread_dispose),
31907         (gst_thread_release_children_locks), (gst_thread_change_state),
31908         (gst_thread_main_loop):
31909         * gst/gsttrashstack.h:
31910         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31911         * gst/gsttypes.h:
31912         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31913         (gst_element_request_pad), (gst_element_get_pad_from_template),
31914         (gst_element_request_compatible_pad),
31915         (gst_element_get_compatible_pad_filtered),
31916         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31917         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31918         (gst_element_link_many), (gst_element_link),
31919         (gst_element_link_pads), (gst_element_unlink_pads),
31920         (gst_element_unlink_many), (gst_element_unlink),
31921         (gst_pad_can_link_filtered), (gst_pad_can_link),
31922         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31923         (gst_object_default_error), (gst_bin_add_many),
31924         (gst_bin_remove_many), (gst_element_populate_std_props),
31925         (gst_element_class_install_std_props), (gst_buffer_merge),
31926         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31927         (link_fold_func), (gst_pad_proxy_setcaps):
31928         * gst/gstutils.h:
31929         * gst/gstvalue.c: (gst_value_deserialize_string):
31930         * gst/parse/grammar.y:
31931         * gst/schedulers/gstbasicscheduler.c:
31932         (gst_basic_scheduler_cothreaded_chain),
31933         (gst_basic_scheduler_chain_recursive_add),
31934         (gst_basic_scheduler_pad_link):
31935         * gst/schedulers/gstoptimalscheduler.c:
31936         (get_group_schedule_function),
31937         (gst_opt_scheduler_state_transition),
31938         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31939         * libs/gst/bytestream/bytestream.c:
31940         * libs/gst/dataprotocol/dataprotocol.c:
31941         (gst_dp_header_from_buffer):
31942         * po/nb.po:
31943         * po/ru.po:
31944         * tests/threadstate/threadstate2.c: (eos):
31945         * tools/gst-compprep.c: (main):
31946         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31947         (print_pad_info), (print_children_info):
31948         * tools/gst-launch.c: (idle_func), (main):
31949         * tools/gst-md5sum.c: (idle_func), (main):
31950         * tools/gst-xmlinspect.c: (print_element_info):
31951         First THREADED backport attempt, focusing on adding locks and
31952         making sure the API is threadsafe. Needs more work. More docs
31953         follow this week.
31954
31955 2005-02-24  Andy Wingo  <wingo@pobox.com>
31956
31957         * tests/bench-complexity.scm:
31958         * tests/complexity.gnuplot: New files, good for running complexity
31959         benchmarks.
31960
31961         * tests/Makefile.am:
31962         * tests/complexity.c: New test, sets up N elements, at each level
31963         teeing into M streams per element. Eeeenteresting.
31964
31965         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31966         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31967         running bench-mass_elements.scm.
31968
31969         * tests/bench-mass_elements.scm: New script, runs mass_elements
31970         for various numbers of identities, outputting the results to a
31971         file. Requires guile 1.6. Just for testing.
31972
31973 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
31974
31975         * gst/schedulers/fairscheduler.c:
31976           compile with debug disabled
31977
31978 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
31979
31980         * configure.ac:
31981           hunting season on 0.9 is now OPEN