libs/gst/base/gstbasetransform.c: Revert quick accepcaps attempt, it's not fully...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * libs/gst/base/gstbasetransform.c:
4         (gst_base_transform_acceptcaps):
5         Revert quick accepcaps attempt, it's not fully equivalent to the old
6         behaviour and thus causes regressions.
7
8 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
9
10         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
11         Fix memory leak.
12
13 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
14
15         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
16
17         * gst/gstregistry.c: (gst_registry_scan_path_level):
18         Reduce the number of stat() calls for every file from three times
19         to one time. Fixes bug #560360.
20
21 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
22
23         * libs/gst/base/gstbasetransform.c:
24         (gst_base_transform_acceptcaps):
25         Rename a variable to make the code clearer.
26
27 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
28
29         * plugins/elements/gstidentity.c:
30         Don't warning on offset==-1. Taken from _check_imperfect_offset().
31
32 2008-11-21  Michael Smith <msmith@songbirdnest.com>
33
34         * plugins/elements/gstfilesrc.c:
35           Check for localhost in URI was backwards, fix it. Fixes unit test.
36
37 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
38
39         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
40         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
41         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
42         Add beginnings of a more optimized acceptcaps function than the default
43         core one.
44
45 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
46
47         * gst/gstpad.c: (gst_pad_accept_caps):
48         Avoid getting the acceptcaps function too early.
49
50 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
51
52         * tools/gst-launch.c: (event_loop):
53         Make gst-launch handle LATENCY messages and make it recalculate the
54         latency.
55
56 2008-11-20  Michael Smith <msmith@songbirdnest.com>
57
58         * plugins/elements/gstfilesrc.c:
59           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
60           out own slightly incorrect version. Fixes use of some paths on
61           win32.
62
63 2008-11-20  Michael Smith <msmith@songbirdnest.com>
64
65         * gst/gstregistrybinary.c:
66           In win32 codepath, if we fail to write the registry, create the
67           directory for it and try again, matching the behaviour in non-win32
68           codepaths.
69
70 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
71
72         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
73         Changing the render delay changes the latency and so we must post a
74         latency message.
75
76 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
77
78         * gst/gstquery.c:
79         * gst/gstquery.h:
80         Add GstQueryType for custom queries instead of having to use the
81         not-so-very-convenient registration infrastructure to register new
82         types.
83
84 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
85
86         Patch by: Andrew Feren <acferen at yahoo dot com>
87
88         * gst/gstobject.c: (gst_object_default_deep_notify):
89         Unref the GEnumClass after usage again. Fixes bug #561501.
90
91 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
92
93         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
94         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
95         (gst_bin_change_state_func):
96         * gst/gstbin.h:
97         Add do-latency signal with the old default fallback implementation. This
98         allows for custom latency calculations for when the default is not
99         sufficient.
100         API: GstBin::do-latency signal.
101
102 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
103
104         * win32/common/libgstreamer.def:
105         Add new symbols to .def file.
106
107 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
108
109         * docs/gst/gstreamer-sections.txt:
110         * gst/gstbin.c: (gst_bin_recalculate_latency),
111         (gst_bin_change_state_func):
112         * gst/gstbin.h:
113         Add method to recalculate and redistribute the latency on a bin.
114         API: gst_bin_recalculate_latency().
115
116 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
117
118         * gst/gstbuffer.h:
119         Document the free_func.
120
121 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
122
123         * libs/gst/controller/gstinterpolation.c:
124         * libs/gst/controller/gstlfocontrolsource.c:
125         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
126         as it is mapped to a cast on non-win32 platforms.
127
128 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
129
130         * libs/gst/controller/gstcontroller.c:
131         * libs/gst/controller/gstcontrollerprivate.h:
132           Keep last-value and only call set_property if value has changed. This
133           supresses all the g_object_notifies we would trigger otherwise. It
134           also allows the user to chage the value while there is no controller
135           change.
136
137 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
138
139         * gst/gstvalue.c:
140           Don't crash if either of the string GValues is empty.
141
142 2008-11-17  Andy Wingo  <wingo@pobox.com>
143
144         * tools/gst-inspect.c (print_all_uri_handlers): New function,
145         prints a summary of what URI schemes are supported by what
146         elements.
147         (main): Plumb in support for --uri-handlers or -u, and fix the
148         argc check for -a and -u.
149
150 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
151
152         * gst/gstutils.h:
153         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
154         conversion functions.
155
156 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
157
158         * gst/gstbuffer.c: (gst_buffer_finalize):
159         Avoid costly typechecking for trivially correct pointers.
160
161         * gst/gstpoll.c: (gst_poll_wait):
162         Add some G_LIKELY here and there.
163
164         * libs/gst/base/gstadapter.c: (gst_adapter_push):
165         Add some debug info.
166
167 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
168
169         * docs/random/wtay/poll-timeout:
170         Small tweaks.
171
172 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
173
174         * tests/old/testsuite/caps/intersection.c: (main):
175         * tests/old/testsuite/plugin/loading.c: (main):
176         Remove references to deprecated API g_mem_chunk*.
177         Fixes #560442.
178
179 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
180
181         * tools/gst-inspect.c: (main):
182         Add --plugin option. Fixes #560301.
183
184 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
185
186         * docs/random/wtay/poll-timeout:
187         Quick braindump for a possible (not totally verified) atomic case.
188
189 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
190
191         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
192         (gst_registry_binary_initialize_magic),
193         (gst_registry_binary_write_cache),
194         (gst_registry_binary_check_magic):
195         * gst/gstregistrybinary.h:
196         Don't write and check a CRC for the binary registry file. It's
197         guaranteed that the registry is completely written (it's first written
198         to a temporary file and then moved) and if the registry was corrupted
199         by some hardware failure we would have bigger problems.
200
201         Bump binary registry version to 0.10.21.1 for this as it's an
202         incompatible change and to ensure that the registry gets rebuild
203         after the update.
204
205         This saves some milliseconds for reading/writing the registry.
206         Fixes bug #560399.
207
208 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
209
210         * docs/random/wtay/poll-timeout:
211         Some pseudo code for how we could implement clock timeouts with GstPoll.
212
213 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
214
215         * plugins/elements/gstfilesink.c:
216           Update Author string to match others.
217
218 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
219
220         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
221         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
222         being fixed and inline the trivial check.
223
224 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
225
226         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
227         (gst_caps_merge_structure), (gst_caps_get_structure),
228         (gst_caps_copy_nth), (gst_caps_set_simple),
229         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
230         (gst_caps_is_equal_fixed), (gst_caps_intersect),
231         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
232         (gst_caps_to_string):
233         Callgrind micro optimisations.
234         Avoid array bounds checks and force inline of trivial function.
235
236         * gst/gstobject.c: (gst_object_set_name_default):
237         -1 is equivalent to letting glib to the strlen but then there is more
238         room for optimisations and it's not our fault.
239
240         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
241         no need to clear the array, we're cool.
242
243         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
244         The most common _is_fixed() check is done on fundamental glib base
245         types so we check this first instead of doing a huge amount of
246         useless GST_TYPE_ARRAY calls.
247
248 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
249
250         * gst/gstevent.h:
251         Add a SKIP seek flag for use with advanced trickmodes.
252         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
253
254 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
255
256         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
257         No need to memset, we can clear the value ourselves.
258
259         * gst/gstvalue.c: (gst_type_is_fixed),
260         (gst_value_get_compare_func):
261         Some optimisations from a few callgrind sessions:
262         When checking if a type is fixed, check for trivial fundamental types
263         first before checking types for which we need to get the type followed
264         by the heavy duty type checks, this reduces the amount of
265         g_type_fundamental() calls a lot.
266         When getting the compare function, first check for our registered types.
267         If that fails, do the heavy duty g_type_is_a() checks, reduces the
268         amount of g_type_is_a() considerably.
269
270 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
271
272         * docs/design/part-TODO.txt:
273         Mumble something about removing GstXML.
274
275 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
276
277         * gst/gstbin.c: (gst_bin_handle_message_func):
278         Get the seqnum before we dispose the message.
279
280 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
281
282         * docs/design/part-TODO.txt:
283         Refer to the framestepping document.
284
285 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
286
287         * gst/gstbin.c: (bin_handle_async_start),
288         (gst_bin_handle_message_func), (gst_bin_query):
289         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
290         (gst_base_sink_event), (gst_base_sink_change_state):
291         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
292         (gst_base_src_loop), (gst_base_src_change_state):
293         Copy seqnums from events to messages so that they can all be related
294         back to eachother.
295
296 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
297
298         * tools/gst-launch.c: (event_loop):
299         Print the message seqnums.
300
301 2008-11-04  Andy Wingo  <wingo@pobox.com>
302
303         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
304
305 2008-11-04  Andy Wingo  <wingo@pobox.com>
306
307         Add sequence numbers to events and messages. See #559250.
308
309         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
310         API: New functions.
311
312         * gst/gstevent.h:
313         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
314         events with a new sequence number, and copy it when copying.
315         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
316         an event's sequence number.
317
318         * gst/gstmessage.h:
319         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
320         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
321         so with messages.
322
323         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
324
325 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
326
327         * docs/manual/advanced-position.xml:
328         * docs/manual/basics-bins.xml:
329         * docs/manual/basics-bus.xml:
330         * docs/manual/basics-pads.xml:
331         * docs/manual/intro-gstreamer.xml:
332         * docs/manual/intro-preface.xml:
333         Some Application Development Manual fixes thanks to
334         Andrew Feren. Fixes #558459.
335
336 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
337
338         * gst/gstregistrybinary.c:
339           Don't bother with the GTimer if we don't output the results.
340
341 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
342
343         Patch by: David Schleef  <ds@schleef.org>
344
345         * libs/gst/net/Makefile.am:
346         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
347
348 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
349
350         * gst/gstregistrybinary.c:
351           Oh my, studip, stupid me. Remove double stat() call.
352
353 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
354
355         * gst/gstpreset.c:
356           Use g_unlink instead of unlink.
357
358         * gst/gststructure.c:
359           Use glib type.
360
361         * gst/gstutils.c:
362           Add a FIXME:.
363
364         * gst/gsttaglist.c:
365         * gst/gsttypefind.c:
366         * gst/gstvalue.c:
367           Formatting & whitespaces.
368
369 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
370
371         * plugins/elements/gstidentity.c:
372           Doc typo. Use return value of parent_class->event.
373   
374         * plugins/elements/gsttypefindelement.c:
375           Chain up at the end for consistency.
376   
377 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
378
379         * docs/Makefile.am:
380         * docs/gst/gstreamer-docs.sgml:
381         * docs/gst/gstreamer-sections.txt:
382         * docs/gst/running.xml:
383         * docs/libs/gstreamer-libs-docs.sgml:
384           Change to xinclude based build - its faster and easier to maintain.
385
386 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
387
388         * gst/gstregistrybinary.c:
389         * gst/gstregistryxml.c:
390           Use g_unlink() as none of these are directories.
391
392 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
393
394         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
395         Some more comments.
396
397 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
398
399         * libs/gst/base/gstbasetransform.c:
400         (gst_base_transform_find_transform), (gst_base_transform_getrange):
401         If we have a fixate function, call it even if we already have fixed caps
402         because the subclass might add some caps. Makes audioconvert add a
403         default channel layout.
404
405 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
406
407         * libs/gst/base/gstbasetransform.c:
408         (gst_base_transform_prepare_output_buffer),
409         (gst_base_transform_getrange):
410         Clear the output buffer variable.
411         Cleanups to the error path in the getrange function.
412         Fixes #557649.
413
414 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
415
416         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
417         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
418         Use gst_buffer_try_new_and_alloc() and handle errors instead of
419         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
420         be allocated.
421
422 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
423
424         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
425         Set the last_stop to a more meaningful position when configuring the
426         segment. ie. the start/stop of the segment or clipped against the
427         updated segment boundaries.
428
429         * tests/check/gst/gstsegment.c: (GST_START_TEST):
430         Add some unit tests for the last_stop.
431
432 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
433
434         * libs/gst/base/gstbytereader.c:
435         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
436         copies of them.
437
438 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
439
440         * docs/gst/gstreamer-sections.txt:
441         * gst/gstutils.h:
442         API: Move float endianness conversion macros from libgstfloatcast
443         to core as it's useful in general, even in core. Fixes bug #555196.
444         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
445         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
446         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
447
448         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
449         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
450         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
451         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
452
453 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
454
455         * docs/libs/gstreamer-libs-sections.txt:
456         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
457         (gst_byte_reader_peek_data):
458         * libs/gst/base/gstbytereader.h:
459         * win32/common/libgstbase.def:
460         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
461         to get a pointer to the data at the current position and have
462         a guaranteed size.
463
464 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
465
466         * configure.ac:
467         Fix a bug in the output of the configure script summary
468         when --gst-disable-registry is supplied
469
470 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
471
472         * libs/gst/base/gstbitreader.c:
473         * libs/gst/base/gstbytereader.c:
474         Fix the names of 2 functions in the docs strings.
475
476 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
477
478         * libs/gst/base/gstbasetransform.c:
479         (gst_base_transform_prepare_output_buffer),
480         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
481         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
482         refcount problems as seen in banshee and maybe also in farsight2.
483         Remove atomic int now that we need to take the lock anyways.
484
485 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
486
487         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
488         (gst_base_sink_default_prepare_seek_segment),
489         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
490         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
491         (gst_base_sink_query):
492         Implement more seeking in pull mode.
493         Use pad convert functions to convert position to the requested format.
494         Fix position/duration reporting in pull mode.
495         Implement position and duration reporting in other formats than time.
496
497         * libs/gst/base/gstbasesink.h:
498         Add member to keep track of when the segment is playing.
499
500 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
501
502         * gst/gstpad.c: (gst_pad_configure_src):
503         When we use gst_pad_alloc_buffer() without wanting to set the caps we
504         also don't need to check if the caps are compatible because the caller
505         presumably is going to perform its own custom checks. Fixes some cases
506         where basetransform elements would error out when it was not needed.
507
508 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
509
510         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
511         Update comment.
512
513         * libs/gst/base/gstbasetransform.c:
514         (gst_base_transform_handle_buffer),
515         (gst_base_transform_reconfigure):
516         Add some debug info.
517
518         * win32/common/libgstbase.def:
519         Add new method.
520
521 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
522
523         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
524           Remove duplicated assignment and log a message in failure case.
525
526 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
527
528         Patch by: Dig Ge <dig.ge.cn at gmail com>
529
530         * tests/examples/helloworld/helloworld.c: (main):
531           Fix copy'n'paste bug in hello world example (#556900).
532
533 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
534
535         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
536         (gst_base_sink_query):
537         Query the total number of bytes when activating the pad in pull mode.
538         Implement duration query in pull mode by using the installed pad convert
539         function to convert from bytes to the requested format.
540
541 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
542
543         * docs/libs/gstreamer-libs-sections.txt:
544         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
545         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
546         (gst_base_sink_event), (gst_base_sink_perform_seek),
547         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
548         (gst_base_sink_send_event), (gst_base_sink_change_state):
549         * libs/gst/base/gstbasesink.h:
550         Add method to commit the state in subclasses.
551         Refactor the flush_start and flush_stop code because we need it for
552         flushing while seeking too.
553         Implement the beginnings of seeking in pull mode.
554         Use the segment last_stop field for the pulling offset.
555         Fix the pause method in pull mode.
556         Configure the segment to BYTES for pull mode.
557         API: GstBaseSink::gst_base_sink_do_preroll()
558
559 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
560
561         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
562         Update some docs.
563
564 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
565
566         * gst/gstquark.c: (_priv_gst_quarks_initialize):
567           Fix printf format warning.
568
569 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
570
571         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
572         Fix flow aggregation of tee. Error out immediately for all flow returns
573         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
574         and return OK if at least one pad is linked.
575
576         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
577         and otherwise returned the flow return of the last pad, which is wrong.
578         
579         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
580         (GST_START_TEST), (tee_suite):
581         Add unit tests for the flow aggregation.
582
583 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
584
585         * docs/design/part-TODO.txt:
586         Remove item from the todo list because it was fixed with the latency
587         state change rewrites.
588
589         * docs/design/part-seeking.txt:
590         * docs/design/part-segments.txt:
591         Update some docs.
592
593         * gst/gstevent.c: (gst_event_new_new_segment_full),
594         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
595         (gst_event_parse_buffer_size), (gst_event_new_qos),
596         (gst_event_parse_qos), (gst_event_new_seek),
597         (gst_event_parse_seek), (gst_event_new_latency),
598         (gst_event_parse_latency):
599         Use quarks to construct and parse events.
600
601         * gst/gstquark.c: (_priv_gst_quarks_initialize):
602         * gst/gstquark.h:
603         Add some more quarks to the table.
604         Emit a warning when the quark tables are not in sync.
605
606         * tests/check/gst/gstbus.c: (GST_START_TEST):
607         Add an assert.
608
609 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
610
611         * plugins/elements/Makefile.am:
612         * plugins/indexers/Makefile.am:
613           Don't install static libs for plugins. Fixes #550851 for core.
614
615 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
616
617         * gst/gstbus.c: (gst_bus_source_finalize),
618         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
619         (gst_bus_enable_sync_message_emission),
620         (gst_bus_disable_sync_message_emission),
621         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
622         Fix deadlock, g_source_get_id() cannot be called in finalize.
623         Keep track of the watch source by keeping a pointer to the source object
624         instead.
625         Use the bus lock to protect access to the pointer to the current
626         watch source.
627
628 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
629
630         Base on Patch by: Olivier Crete <tester at tester dot ca>
631
632         * gst/gstbus.c: (gst_bus_source_finalize),
633         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
634         Only allow one bus watch to be set at a time. This is necessary
635         because the dispatcher pops the message from the bus and the second
636         watcher will then get NULL or the next message (and the first won't
637         get this next message then, etc). If more than one "watcher" is
638         required signal watches should be used. Fixes bug #526044.
639
640 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
641
642         * tools/gst-launch.c:
643         Change the printing of the 'buffering...' output to avoid putting
644         a \r in a translateable string (flagged by the TP).
645
646 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
647
648         * gst/gstxml.c:
649         Clarify that the save_thyself() and restore_thyself() virtual
650         functions of GstObject need to be overriden, not
651         gst_object_(save|restore)_thyself() which is impossible.
652         Fixes bug #555700.
653
654 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
655
656         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
657         Revert a patch from 21 months ago that broke caps negotiation in pull
658         mode. Basically, having a buffer pass over a pad will trigger the
659         setcaps function when caps change, just like in push mode.
660
661 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
662
663         * docs/design/part-negotiation.txt:
664         Update the docs some more.
665
666         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
667         If we pull a buffer with non-trivial caps, suggest those caps with the
668         max probability.
669
670 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
671
672         * docs/design/part-TODO.txt:
673         Add another limitation of pad-blocking with segment seeks not pushing
674         EOS events.
675
676 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
677
678         * win32/common/libgstbase.def:
679         * win32/common/libgstreamer.def:
680         Add new symbols to the win32 defs files
681
682 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
683
684         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
685         (gst_bin_handle_message_func):
686         The message src can be NULL, don't try to print the object names in that
687         case.
688
689         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
690         Add some more debug info.
691
692         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
693         (GST_START_TEST):
694         Add some debug.
695         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
696         scheduling modes.
697
698 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
699
700         * docs/design/part-negotiation.txt:
701         Small doc update.
702
703         * docs/libs/gstreamer-libs-sections.txt:
704         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
705         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
706         (gst_base_sink_init), (gst_base_sink_set_blocksize),
707         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
708         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
709         (gst_base_sink_loop), (gst_base_sink_pad_activate),
710         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
711         (gst_base_sink_change_state):
712         * libs/gst/base/gstbasesink.h:
713         Add blocksize property and methods to control the amount of data
714         to pull.
715         Negotiate first before activating upstream in pull mode so that they can
716         negotiate themselves.
717         When we operate in pull mode, we only accept the caps that we
718         negotiated.
719         Make the sink go ASYNC to PAUSED, like all other sinks.
720         API: GstBaseSink::gst_base_sink_set_blocksize()
721         API: GstBaseSink::gst_base_sink_get_blocksize()
722         API: GstBaseSink::blocksize
723
724         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
725         (gst_base_src_set_live), (gst_base_src_is_live),
726         (gst_base_src_set_format), (gst_base_src_query_latency),
727         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
728         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
729         (gst_base_src_set_property), (gst_base_src_get_property):
730         * libs/gst/base/gstbasesrc.h:
731         Add typechecking in public API functions.
732         Add methods to control the blocksize in subclasses.
733         API: GstBaseSrc::gst_base_src_set_blocksize()
734         API: GstBaseSrc::gst_base_src_get_blocksize()
735
736 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
737
738         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
739         (buffer_probe), (event_probe), (GST_START_TEST):
740         We now see 3 events go through our pad, since basesink now sends
741         upstream latency events.
742
743 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
744
745         * gst/gstpipeline.c: (gst_pipeline_change_state):
746         Release the object lock before trying to flush the bus.
747
748 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
749
750         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
751         Forward LATENCY events upstreams so that elements know about the total
752         pipeline latency. Fixes #555307.
753
754 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
755
756         * plugins/elements/gstqueue.c:
757         Allow through queries when we don't know how
758         to adjust them (not TIME or BYTES), as otherwise it's
759         not possible to query the current position in order
760         to seek in other formats at all.
761
762 2008-10-08  Andy Wingo  <wingo@pobox.com>
763
764         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
765
766 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
767
768         * gst/gstghostpad.c:
769         * gst/gstghostpad.h:
770         Unbreak -good build, private is a reserved c++ keyword.
771
772 2008-10-08  Andy Wingo  <wingo@pobox.com>
773
774         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
775         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
776         removal: re-add GST_GHOST_PAD_CAST to the header.
777
778         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
779         (GstGhostPadClass): Publically expose these structures so as to
780         allow easy subclassing from C. Hide the member data behind a
781         private opaque data pointer.
782
783         * gst/gstghostpad.c: Adapt to store instance data in the type
784         instance's private data region, not in the public struct.
785
786 2008-10-08  Andy Wingo  <wingo@pobox.com>
787
788         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
789         template via g_object_get(), be sure to unref it.
790
791         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
792
793 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
794
795         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
796         If we can't get a cache file don't try to save something to it.
797         Dereferencing NULL pointers usually isn't a good idea.
798
799 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
800
801         * tests/check/Makefile.am:
802         * tests/check/gst/gstabi.c:
803         * tests/check/gst/struct_sparc.h:
804         * tests/check/libs/libsabi.c:
805         * tests/check/libs/struct_sparc.h:
806         Add Sparc ABI checks
807
808         * tests/check/gst/gstvalue.c: (GST_START_TEST):
809         Cast signed integer to unsigned to avoid a compiler warning.
810
811 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
812
813         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
814         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
815         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
816         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
817         (gst_byte_reader_peek_int24_be):
818         Use new GST_READ_UINT24_(LE|BE) macros.
819
820 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
821
822         * docs/gst/gstreamer-sections.txt:
823         * gst/gstutils.h:
824         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
825         as it's too easy to break the ISO C strict aliasing rules with simple
826         casts to the corresponding type and this would introduce hard to debug
827         bugs. Fixes bug #545714.
828
829         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
830
831 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
832
833         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
834         * gst/gstghostpad.c: (gst_ghost_pad_construct):
835           Add 'Since' bits to gtk-doc chunks for new API.
836
837 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
838
839         * docs/gst/gstreamer-sections.txt:
840         Fix documentation
841
842 2008-10-06  Andy Wingo  <wingo@pobox.com>
843
844         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
845         that will be called on the malloc_data to free it. Basically a way
846         to avoid subclassing when all you need is a different free
847         function, i.e. free() instead of g_free().
848
849         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
850         calling the free function.
851         (gst_buffer_init): Initialize the free function to g_free.
852
853 2008-10-06  Andy Wingo  <wingo@pobox.com>
854
855         * gst/gstghostpad.h:
856         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
857         finishes the initialization of ghost pad. Useful for language
858         bindings and subclassers of GstGhostPad. Fixes #539108.
859         (gst_ghost_pad_new_full): Use the new constructor.
860
861 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
862
863         Base on Patch by: Olivier Crete <tester at tester dot ca>
864
865         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
866         (gst_bin_remove_func), (update_degree),
867         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
868         Keep track of pads that are being linked/unlinked and resync the state
869         changes.
870
871         * gst/gstpad.c: (gst_pad_get_direction),
872         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
873         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
874         (gst_pad_link_prepare), (gst_pad_link),
875         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
876         (gst_pad_check_pull_range), (gst_pad_get_range),
877         (gst_pad_pull_range):
878         Some code cleanups, use macros to check pad direction.
879         Don't need to take the lock on the pad direction.
880         Post structure change when pads are linked/unlinked.
881         Change some checks into _return_if_fail().
882
883         * tests/check/gst/gstbin.c:
884         (test_link_structure_change_state_changed_sync_cb),
885         (GST_START_TEST), (gst_bin_suite):
886         Add testcase for pad link/unlinke resync during a state change.
887         Fixes #510354.
888
889 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
890
891         * docs/gst/gstreamer-sections.txt:
892         * gst/gstmessage.c: (gst_message_new_structure_change),
893         (gst_message_parse_structure_change):
894         * gst/gstmessage.h:
895         Implement STRUCTURE_CHANGED messages. These messages will be used to
896         signal the parent bin of link/unlink operations that could require a
897         resync when doing a state change. See ##510354.
898         API: gst_message_new_structure_change()
899         API: gst_message_parse_structure_change()
900
901 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
902
903         * gst/gstquark.c:
904         * gst/gstquark.h:
905         Add some more quarks for new message. See #510354.
906
907 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
908
909         * docs/libs/gstreamer-libs-docs.sgml:
910         * docs/libs/gstreamer-libs-sections.txt:
911         * libs/gst/base/Makefile.am:
912         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
913         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
914         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
915         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
916         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
917         (gst_bit_reader_skip_to_byte):
918         * libs/gst/base/gstbitreader.h:
919         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
920         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
921         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
922         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
923         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
924         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
925         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
926         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
927         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
928         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
929         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
930         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
931         * libs/gst/base/gstbytereader.h:
932         * tests/check/Makefile.am:
933         * tests/check/libs/bitreader.c: (GST_START_TEST),
934         (gst_bit_reader_suite):
935         * tests/check/libs/bytereader.c: (GST_START_TEST),
936         (gst_byte_reader_suite):
937         API: Add bit reader and byte reader classes, including documentation
938         and an extensive unit test suite. Fixes bug #553554.
939
940 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
941
942         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
943         (gst_base_sink_query):
944         Improve position reporting while flushing and other intermediate state
945         changes. Fixes #553874.
946
947 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
948
949         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
950
951         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
952         Original patch by : Simon Descaries
953         Fix small refount leak in caps compatibility check.
954         Fixes #551676.
955
956 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
957
958         * docs/pwg/advanced-request.xml:
959           Fix 0.8 api usage in example. Fixes #554561
960
961         * docs/pwg/appendix-porting.xml:
962           Change 0.9 to 0.10 here.
963
964 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
965
966         * docs/manual/basics-data.xml:
967           Change "event-event interaction" to "element-element interaction".
968           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
969           updates.
970
971 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
972
973         * configure.ac:
974         Back to development -> 0.10.21.1
975
976 === release 0.10.21 ===
977
978 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
979
980         * configure.ac:
981           releasing 0.10.21, "Take These Things From Me"
982
983 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
984
985         * configure.ac:
986         0.10.20.4 pre-release
987
988 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
989
990         * libs/gst/base/gstbasetransform.c:
991         * plugins/elements/gstcapsfilter.c:
992         * tests/check/Makefile.am:
993         * tests/check/elements/.cvsignore:
994         * tests/check/elements/capsfilter.c:
995         Fix assertion in basetransform when the subclass chooses not to
996         allocate a buffer in prepare_buffer(), and make capsfilter error out
997         cleanly if requested to apply caps that don't completely specify the
998         buffer. Fixes #551509
999
1000 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1001
1002         * libs/gst/base/gstbasetransform.c:
1003         (gst_base_transform_prepare_output_buffer):
1004         Take new caps ref because our old one might have been gone when the
1005         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1006
1007 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1008
1009         * configure.ac:
1010           Do not probe availability of check unit test library when cross
1011           compiling, as test would not work anyway. Also cleanup verbose output
1012           of the check test. Fixes #551952.
1013
1014 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1015
1016         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1017
1018         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1019         Avoid leaking the parent ref when we fail changing the state of the
1020         element using gst_element_sync_state_with_parent(). Fixes #551978.
1021
1022 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1023
1024         * docs/manual/intro-motivation.xml::
1025           Remove some bits that no longer apply, update others (#551642).
1026
1027 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1028
1029         * configure.ac:
1030         0.10.20.2 pre-release
1031
1032         * po/LINGUAS:
1033         * po/id.po:
1034         * po/pt_BR.po:
1035
1036         New translations.
1037
1038 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1039
1040         * win32/common/config.h.in:
1041           Add GST_DATADIR, hard-code cpu to x86.
1042
1043         * win32/common/libgstreamer.def:
1044           Spaces to tabs.
1045
1046 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1047
1048         * gst/gsttaglist.h:
1049           Fix Since: markers for new geo tags.
1050
1051 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1052
1053         * gst/gsttaglist.h:
1054           Fix actual tag name define after renaming from altitude to elevation.
1055
1056 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1057
1058         * gst/gstpad.c: (add_unref_pad_to_list),
1059         (gst_pad_get_internal_links_default):
1060         Add fallback when calling the deprecated function on an element that
1061         implements the new internal_link handler.
1062
1063 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1064
1065         * docs/gst/gstreamer-sections.txt:
1066         * gst/gsttaglist.c:
1067         * gst/gsttaglist.h:
1068           Add new tags for geo location and clarify purpose of existing location
1069           tag. Fixes #481169
1070
1071 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1072
1073         Patch by: Olivier Crete <tester at tester dot ca>
1074
1075         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1076         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1077         Use thread-safe internal links iterator. Fixes #549504.
1078
1079 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1080
1081         Based on patch by: Olivier Crete <tester at tester dot ca>
1082
1083         * docs/gst/gstreamer-sections.txt:
1084         * win32/common/libgstreamer.def:
1085         * gst/gstpad.c: (gst_pad_init),
1086         (gst_pad_set_iterate_internal_links_function),
1087         (int_link_iter_data_free), (iterate_pad),
1088         (gst_pad_iterate_internal_links_default),
1089         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1090         * gst/gstpad.h:
1091         Add threadsafe replacement functions for getting internal links of an
1092         element. Deprecate the old internal links functions.
1093         API:GstPad::gst_pad_set_iterate_internal_links_function()
1094         API:GstPad::GstPadIterIntLinkFunction
1095         API:GstPad::gst_pad_iterate_internal_links()
1096         API:GstPad::gst_pad_iterate_internal_links_default()
1097
1098         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1099         (gst_proxy_pad_init):
1100         Implement threadsafe internal links.
1101
1102         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1103         Unit test for internal links on tee. See #549504.
1104
1105 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1106
1107         * tests/check/Makefile.am:
1108         libs/transform1 test requires libs/test_transform.c
1109
1110 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1111
1112         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1113         Die evil deadlock, die !
1114
1115 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1116
1117         * gst/gstutils.c: (gst_element_get_compatible_pad):
1118         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1119         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1120         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1121         not steal the refcount of the given caps as stated.
1122
1123         REVERT THIS COMMIT ONCE FIXED !
1124         REVERT THIS COMMIT ONCE FIXED !
1125         REVERT THIS COMMIT ONCE FIXED !
1126         REVERT THIS COMMIT ONCE FIXED !
1127         REVERT THIS COMMIT ONCE FIXED !
1128         REVERT THIS COMMIT ONCE FIXED !
1129
1130 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1131
1132         * gst/gstiterator.c:
1133         * gst/gstiterator.h:
1134         After 3 years it's about time to revise the documentation of the
1135         iterator objects.
1136
1137 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1138
1139         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1140         Make the internal links function less thread-unsafe and add some
1141         comments, dunno why.
1142
1143 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1144
1145         * gst/gst_private.h:
1146           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1147           build with --disable-gst-debug.
1148
1149 2008-08-28  David Schleef  <ds@schleef.org>
1150
1151         * gst/gstpadtemplate.c: Revert last change, since it breaks
1152           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1153           but shouldn't be enabled until we've released fixed versions
1154           of -good and -ffmpeg.
1155
1156 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1157
1158         * gst/gstobject.c:
1159           Put the gst_object_get_name() back in.
1160
1161 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1162
1163         * gst/gstpadtemplate.c:
1164           The old behaviour was that gst_pad_template_new() takes ownership of
1165           the caps. As we now call g_object_new() which calls g_object_set() and
1166           which copies the caps, we have to unref them to not leak them. Fixes
1167           make valgrid for me.
1168
1169 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1170
1171         * gst/gsturi.c:
1172           Don't segfault on input like "tel:+1-123-555-1234".
1173
1174 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1175
1176         * gst/gstobject.c:
1177           Due to popular request also include ObjectType in
1178           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1179
1180 2008-08-26  David Schleef  <ds@schleef.org>
1181
1182         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1183           src_val must be positive, because that's not a requirement.
1184           This causes problems with converting negative granulepos
1185           values for Dirac.
1186         * gst/gstquery.c: Same, gst_query_new_convert().
1187
1188 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1189
1190         * gst/gstclock.c: (gst_clock_add_observation):
1191         Add some more debugging to the clock slaving code.
1192
1193         * win32/common/libgstbase.def:
1194         Add new basetransform method.
1195
1196 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1197
1198         * gst/gstbin.c: (gst_bin_element_set_state):
1199         Take the (recursive) state lock between getting the locked state of an
1200         element and changing the element state. This allows the application to
1201         lock an element's state and then change its state without races.
1202
1203 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1204
1205         * gst/gstbin.c: (gst_bin_element_set_state):
1206         When an element is in the locked state we still want to update the
1207         base_time of the element.
1208
1209 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1210
1211         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1212         Use the result from gst_pad_set_caps() instead of assuming the element
1213         always accepted the caps computed by the default negotiate function.
1214
1215 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1216
1217         * docs/libs/gstreamer-libs-sections.txt:
1218         * libs/gst/base/gstbasetransform.c:
1219         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1220         (gst_base_transform_chain), (gst_base_transform_suggest),
1221         (gst_base_transform_reconfigure):
1222         * libs/gst/base/gstbasetransform.h:
1223         Implement method for reconfiguring basetransform.
1224         API: GstBaseTransform::gst_base_transform_reconfigure()
1225
1226 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1227
1228         patch by: Murray Cumming <murrayc@murrayc.com>
1229
1230         * gst/gstutils.c:
1231           Mention that this is just like gst_buffer_merge() but with extra
1232           unreffing for C coders. Advise language bindings not to wrap it.
1233           Fixes Bug #533856.
1234           
1235           Also fix file comment.
1236
1237 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1238
1239         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1240
1241         * plugins/elements/gstfakesink.c:
1242         * plugins/elements/gstfakesrc.c:
1243           Call super::event() when not handling it. Fixes #544855.
1244
1245 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1246
1247         Patch by: Alessandro Decina <alessandro@nnva.org>
1248         * plugins/elements/gstfilesrc.c:
1249           Use 64 bit variants of stat functions on win32, to enable support
1250           of large files there.
1251           Fixes #547277.
1252
1253 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1254
1255         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1256         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1257         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1258         (gst_base_sink_get_position), (gst_base_sink_change_state):
1259         Improve position reporting in the flushing state.
1260         Also report the position when we are not yet prerolled but we
1261         have a newsegment event. Fixes #543444.
1262         Improve the pull-based negotiation code.
1263
1264         * tests/check/elements/fakesink.c: (GST_START_TEST),
1265         (fakesink_suite):
1266         Add testcase for position reporting while flushing in PAUSED and
1267         PLAYING.
1268
1269         * tests/check/generic/sinks.c: (GST_START_TEST):
1270         Update unit-test, we can now query the position as soon as we receive a
1271         NEWSEGMENT event.
1272
1273 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1274
1275         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1276
1277         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1278         When the subclass event handler releases the PREROLL_LOCK, we could be
1279         in the flushing state and we have to ignore the event. Fixes #548394.
1280
1281 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1282
1283         * tools/gst-launch.1.in:
1284           Document GST_REGISTRY_UPDATE environment variable.
1285
1286 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1287
1288         * libs/gst/base/gstbasetransform.c:
1289         (gst_base_transform_prepare_output_buffer):
1290         If the element is configured in passthrough mode but the
1291         prepare_output_buffer gave us a new output buffer, discard that buffer
1292         and reuse the input buffer.
1293
1294 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1295
1296         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1297
1298         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1299         (gst_tee_request_new_pad), (gst_tee_release_pad),
1300         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1301         * plugins/elements/gsttee.h:
1302         Protect pad_alloc with a new lock so that we can be sure that nothing is
1303         performing a pad_alloc when removing the pad. Fixes #547835.
1304
1305         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1306         (buffer_alloc_harness_teardown), (app_thread_func),
1307         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1308         Added testcase for shutdown race.
1309
1310 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1311
1312         * gst/gstpad.h:
1313         Add doc
1314
1315 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1316
1317         * libs/gst/base/gstbasetransform.c:
1318         (gst_base_transform_prepare_output_buffer),
1319         (gst_base_transform_buffer_alloc):
1320         Go over the buffer_alloc function again and make sure we always end up
1321         allocating a buffer.
1322         Add some more docs.
1323         Avoid doing pad alloc when we have a pending suggestion because we
1324         cannot yet deal with changing caps in that case. Fixes #547728
1325
1326 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1327
1328         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1329
1330         * docs/manual/advanced-clocks.xml:
1331         * docs/manual/clocks.png:
1332         * docs/manual/diagrams-clocks.svg:
1333           Add one more image showing different times together with a describing
1334           paragraph. Fixes #547729.
1335
1336 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1337
1338         * win32/common/libgstbase.def:
1339         Add new method.
1340
1341 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1342
1343         * libs/gst/base/gstbasetransform.c:
1344         (gst_base_transform_transform_caps),
1345         (gst_base_transform_prepare_output_buffer),
1346         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1347         Don't overwrite the outsize when calculating the expected size of a new
1348         buffer because we still need it in case we cannot process the new
1349         buffer.
1350         When converting the size of the new buffer to an upstream size, actually
1351         use the expected size of the buffer, not some other random value.
1352         Use an atomic int to signal that a new upstream caps suggestion is
1353         available.
1354         When we can convert the current buffer to a new format, check if the
1355         buffer size is of the expected size and allocate a new buffer of the
1356         expected size when this is not the case. Fixes #546883.
1357
1358         * tests/check/libs/transform1.c: (GST_START_TEST):
1359         remove ifdeffed code from the unit test.
1360
1361 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1362
1363         * pkgconfig/gstreamer-uninstalled.pc.in:
1364         * pkgconfig/gstreamer.pc.in:
1365           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1366           called gstcontroller-0.10.
1367
1368 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1369
1370         * gst/gstchildproxy.h:
1371         * gst/gstpreset.h:
1372           Remove double interface from doc-string.        
1373
1374 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1375
1376         * libs/gst/base/gstbasesrc.c:
1377         * libs/gst/base/gstbasetransform.c:
1378           Fix headings in docs and gtk-doc warnings.
1379
1380 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1381
1382         * gst/gstregistrybinary.c:
1383           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1384           libc.
1385           Fixes #544776.
1386
1387 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1388
1389         * libs/gst/base/gstbasetransform.c:
1390         (gst_base_transform_buffer_alloc):
1391         Fix a "may be used unitialized" warning.
1392
1393 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1394
1395         * docs/gst/gstreamer-sections.txt:
1396         * gst/gstpreset.h:
1397           Document preset-iface vmethods.
1398
1399 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1400
1401         * docs/manual/advanced-interfaces.xml:
1402           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1403           only used to discover devices.
1404
1405 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1406
1407         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1408
1409         * gst/gst.c: (init_pre):
1410         Make sure gettext returns translations in UTF-8 encoding rather
1411         than in the current locale encoding (#546822).
1412
1413 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1414
1415         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1416         Fix subset test.
1417
1418         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1419         Improve unit test subset tests and add a testcase for the subset failure
1420         cases.
1421
1422         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1423         Improve subtraction unit test.
1424
1425 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1426
1427         * plugins/elements/gsttee.c:
1428           Unlock, instead of locking again.
1429
1430 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1431
1432         * gst/gstpad.h:
1433         Clarify the docs a bit more.
1434
1435 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1436
1437         * tests/examples/metadata/read-metadata.c:
1438           Don't leak old taglist.
1439
1440 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1441
1442         Patch by: Olivier Crete <tester at tester dot ca>
1443
1444         * gst/gststructure.c:
1445         (gst_structure_fixate_field_nearest_fraction):
1446         Avoid overflows in fixation code when dealing with MAXINT values, which
1447         v4l2src seems to do.
1448         Fixes #546328.
1449
1450         * tests/check/gst/gststructure.c: (GST_START_TEST):
1451         Make a unit test to check the fix. 
1452
1453 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1454
1455         * plugins/elements/gstcapsfilter.c: (copy_func),
1456         (gst_capsfilter_set_property):
1457         Use new caps suggestion feature of basetransform to request a caps
1458         negotiation upstream.
1459
1460 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1461
1462         * docs/libs/gstreamer-libs-sections.txt:
1463         Add new function:
1464         API: GstBaseTransform::gst_base_transform_suggest()
1465
1466         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1467         (gst_base_transform_init), (gst_base_transform_transform_caps),
1468         (gst_base_transform_transform_size),
1469         (gst_base_transform_configure_caps),
1470         (gst_base_transform_can_transform),
1471         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1472         (gst_base_transform_prepare_output_buffer),
1473         (gst_base_transform_buffer_alloc),
1474         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1475         (gst_base_transform_chain), (gst_base_transform_activate),
1476         (gst_base_transform_set_passthrough),
1477         (gst_base_transform_is_passthrough),
1478         (gst_base_transform_set_in_place),
1479         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1480         (gst_base_transform_set_qos_enabled),
1481         (gst_base_transform_is_qos_enabled),
1482         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1483         (gst_base_transform_reconfigure):
1484         * libs/gst/base/gstbasetransform.h:
1485         Rewrite of basetransform to perform negotiation outside of the
1486         buffer_alloc functions.  Fixes #545853.
1487
1488         * tests/check/libs/transform1.c: (GST_START_TEST),
1489         (buffer_alloc_ct2):
1490         Update unit test.
1491
1492 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1493
1494         * tests/check/gst/gstpreset.c:
1495           Only run preset tests when $HOME is writable. Preliminary fix for
1496           #545433.
1497
1498 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1499
1500         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1501         (gst_bin_change_state_func), (bin_handle_async_done),
1502         (gst_bin_handle_message_func):
1503         Fix race for bins that simulate ASYNC state changes by inserting
1504         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1505         pending ASYNC messages even when the bin does not have ASYNC children.
1506         We note detect this behaviour because we will receive an ASYNC message
1507         that is originating from the bin itself. 
1508         Fixes races with decodebin2 state changes.
1509
1510         * tests/check/gst/gstbin.c: (GST_START_TEST):
1511         Add some more debug.
1512
1513 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1514
1515         * gst/gsttaglist.c: (_gst_tag_initialize):
1516           Fix typo.
1517
1518 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1519
1520         * gst/gsttaglist.c:
1521           Argh. actually save the text before committing. Now adds
1522           gst_tag_merge_strings_with_comma() to gst_tag_register().
1523
1524 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1525
1526         * gst/gsttaglist.c:
1527         * gst/gsttaglist.h:
1528           Do as tim pointed out and actually register the new tag. Also improve
1529           te docs and use gst_tag_merge_strings_with_comma() method to allow
1530           retriving all keywords merged in one list.
1531
1532 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1533
1534         * configure.ac:
1535         * docs/gst/gstreamer.types:
1536           Revert 'accidential' change of the configure option removal. We still
1537           need to generate the types file in configure --disable-load-save.
1538
1539 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1540
1541         * docs/gst/gstreamer-sections.txt:
1542         * gst/gsttaglist.h:
1543           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1544
1545 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1546
1547         * gst/gstpadtemplate.c:
1548           (gst_pad_template_class_init), (gst_static_pad_template_get),
1549           (gst_pad_template_new), (gst_pad_template_pad_created),
1550           (gst_pad_template_set_property), (gst_pad_template_get_property):
1551           Add "name-template", "direction", "presence" and "caps" properties,
1552           so that gst_pad_template_new() is just a thin wrapper around
1553           g_object_new(), which is better for bindings. (Fixes: #539772)
1554
1555 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1556
1557         * gst/gsturi.c:
1558           Be more liberal in what URIs we accept.
1559           Do not unescape bits of the URI for no apparent reason before passing to
1560           the element. Fixes #545352.
1561
1562 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1563
1564         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1565
1566         * gst/gst.c:
1567         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1568
1569 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1570
1571         * configure.ac:
1572         * docs/gst/gstreamer-sections.txt:
1573         * docs/gst/gstreamer.types:
1574         * docs/gst/gstreamer.types.in:
1575         * gst/Makefile.am:
1576         * gst/gst.c:
1577         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1578         * gst/gstconfig.h.in:
1579         * gst/gstelement.c: (gst_element_get_index):
1580         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1581         (gst_registry_binary_load_feature),
1582         (gst_registry_binary_read_cache):
1583         * gst/gstregistryxml.c: (load_feature),
1584         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1585         * plugins/Makefile.am:
1586         * tools/gst-indent:
1587         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1588         (print_plugin_features), (print_element_features):
1589         * tools/gst-xmlinspect.c: (print_event_masks),
1590         (print_element_info):
1591         * win32/common/gstconfig.h:
1592         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1593
1594         Disabling the indexers and URI handler code will only reduce the
1595         required amount of memory by a very small amount but on the other hand
1596         requires much more maintaince work. Apart from that many places of
1597         code are broken when disabling them.
1598
1599         Disabling the enum types doesn't reduce the required amount of memory
1600         by more than a few bytes and makes it hard to fix bugs like #539772,
1601         i.e. use the enums as GObject properties.
1602
1603 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1604
1605         * docs/design/part-TODO.txt:
1606         Add some thoughts and problems with upstream renegotiation.
1607
1608 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1609
1610         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1611         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1612         Remove silly redundant debug.
1613         Add some more debug info.
1614         Clarify the docs regarding new caps received from pad_alloc.
1615
1616 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1617
1618         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1619         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1620         Make setting the caps more threadsafe.
1621
1622 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1623
1624         * docs/design/part-element-transform.txt:
1625         Update docs.
1626
1627 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1628
1629         * plugins/elements/gstqueue.c: (gst_queue_init),
1630         (gst_queue_acceptcaps):
1631         Add and use a custom acceptcaps function instead of falling back to the
1632         potentially less optimized default implementation.
1633
1634 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1635
1636         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1637           Only sanity-check the buffer size if requested_caps == buffer_caps
1638           (ie. don't take pad caps into account, they're not relevant here)
1639
1640 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1641
1642         * plugins/elements/gsttee.c:
1643         * plugins/elements/gsttee.h:
1644           Reverting as not everything is clear yet. Needs some general design
1645           work.
1646
1647 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1648
1649         * ChangeLog:
1650           ChangeLog surgery for tee commit.
1651
1652 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1653
1654         * docs/gst/gstreamer-sections.txt:
1655           Cleanup section-file.
1656
1657 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1658
1659         * plugins/elements/gsttee.c:
1660         * plugins/elements/gsttee.h:
1661           Relay tag events in tee. Fixes parts of #474016.
1662           Downgrades 3 reoccurring debugs to log.
1663
1664 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1665
1666         * configure.ac:
1667         * libs/gst/Makefile.am:
1668           Build the net library if we have winsock2.
1669
1670 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1671
1672         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1673
1674         * docs/manual/advanced-threads.xml:
1675         * docs/manual/diagrams-pipelines.svg:
1676         * docs/manual/hello-world.png:
1677         * docs/manual/linked-elements.png:
1678         * docs/manual/mime-world.png:
1679         * docs/manual/queue.png:
1680         * docs/manual/thread-buffering.png:
1681         * docs/manual/thread-synchronizing.png:
1682           Replace one diagram with two separate ones and updates others.
1683           Fixes #542401.
1684
1685 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1686
1687         * gst/gstelement.h:
1688         Fix link in documentation.
1689
1690 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1691
1692         * gst/gstmessage.c:
1693         Fix confusing documentation.
1694
1695 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1696
1697         * libs/gst/base/gstbasesrc.h:
1698         revert the changes to the header file for the ABI.
1699
1700 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1701
1702         * libs/gst/base/gstbasesrc.c:
1703         * libs/gst/base/gstbasesrc.h:
1704         Don't cache the seekable status.
1705         Fixes bug #544174
1706
1707 2008-07-24  Rene Stadler  <mail@renestadler.de>
1708
1709         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1710         code to close the pipeline graph.  This prevents the program from
1711         printing internal data flow errors.
1712
1713 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1714
1715         * docs/manual/basics-bus.xml:
1716         Correct typo. Fixes bug #544320.
1717
1718 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1719
1720         * configure.ac:
1721           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1722           Add check (taken from -base) for winsock, adds WIN32_LIBS
1723         * gst/Makefile.am:
1724           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1725           winsock.
1726           Define GST_EXPORTS when building libgstreamer (only used on win32)
1727         * gst/gst_private.h:
1728         * gst/gstinfo.h:
1729           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1730           for symbols that we need to export in both these files.
1731         * gst/gstpoll.c:
1732           Include gst_private.h higher up to avoid some compile problems on win32.
1733
1734 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1735
1736         * gst/gstvalue.c:
1737         Fix typos.
1738
1739 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1740
1741         * gst/gstcaps.c:
1742         Previous commit was wrong NULL caps does not exist
1743         and indicate an error, so also add a FIXME to
1744         gst_caps_is_equal where NULL caps are accepted.
1745
1746 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1747
1748         * gst/gstcaps.c:
1749         Allow passing of NULL to gst_caps_union
1750
1751 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1752
1753         * gst/gstghostpad.c:
1754         Add in doc that gst_ghost_pad_set_target can accept
1755         NULL to clear target
1756
1757 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1758
1759         * gst/gstplugin.c:
1760         * gst/gstregistry.c:
1761           GstRegistryPool doesn't exist; don't refer to it in docs.
1762           Don't refer to functions that don't exist in docs, it's
1763           unhelpful.
1764
1765 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1766
1767         * gst/gst.c:
1768         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1769
1770 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1771
1772         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1773
1774         * docs/pwg/building-testapp.xml:
1775         Don't use an undeclared variable in the example program.
1776         Fixes bug #542573.
1777
1778 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1779
1780         * gst/gstdebugutils.c:
1781           Squeeze ghost-pad links and remove <> from classname labels to save
1782           more horizontal space.
1783
1784 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1785
1786         * gst/gstdebugutils.c:
1787           Give request and sometimes pads a different shpe style. Condense the
1788           graphs a little more.
1789
1790 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1791
1792         * configure.ac:
1793           Don't require flex and bison if the parser is disabled.
1794
1795 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1796
1797         * libs/gst/controller/gstinterpolationcontrolsource.c:
1798         (_list_find_sorted_custom):
1799         Don't use declarations after statements.
1800
1801 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1802
1803         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1804         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1805         of the the child-added / -removed signals as GstChildProxy
1806         only supports GstObjects.
1807
1808 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1809
1810         * gst/gstdebugutils.c:
1811         Fix memleak
1812
1813 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1814
1815         Patch by: Alessandro Decina <alessandro at nnva dot org>
1816
1817         * gst/gstpoll.c:
1818         Fix "ignored return value" compiler warning with newer glibc.
1819
1820 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1821
1822         * gst/gstchildproxy.c:
1823         Fix copy&paste error in gst_child_proxy_removed() documentation.
1824
1825 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1826
1827         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1828           Print error debug message if plugin description fields that should
1829           be set are NULL.
1830
1831         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1832           Don't crash if the string to serialise is NULL (it really should
1833           not be, but apparently this used to work with the xml registry ...).
1834
1835 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1836
1837         * tools/gst-plot-timeline.py:
1838         Fix parsing of log messages
1839
1840 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1841
1842         * win32/common/libgstbase.def::
1843           Sort alphabetically so make check-exports doesn't barf.
1844
1845 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1846
1847         * gst/gstevent.c:
1848           Use gst_format_get_name() to improve debug output.
1849
1850         * gst/gstpreset.c:
1851           Remove #ifdef'ed code. Add TODO comment.
1852
1853         * gst/gstsegment.c:
1854           Add debug output to ease spotting format != segment.format assertions.
1855
1856 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1857
1858         * tests/check/libs/gdp.c: (gst_dp_suite):
1859         Also enable the GDP unit test again on PPC now that the bug
1860         is fixed.
1861
1862 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1863
1864         * libs/gst/dataprotocol/dataprotocol.c:
1865         Don't write to the same region of memory as a uint64 and uint16
1866         as this breaks strict aliasing rules and apparantly breaks on PPC
1867         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1868
1869 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1870
1871         * libs/gst/controller/gstinterpolationcontrolsource.c:
1872           Optimize list handling. Use own find function. Exploit that fact that
1873           the list is sorted. Also pass back the node before, so that we can
1874           insert quickly. Have a fast path for append.
1875
1876 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1877
1878         * docs/design/draft-framestep.txt:
1879         * docs/design/part-negotiation.txt:
1880           Fix two typos.
1881
1882 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1883
1884         * configure.ac:
1885           Show configuration sumary after configure run. Based on patch by
1886           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1887
1888 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1889
1890         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1891
1892         * docs/manual/advanced-autoplugging.xml:
1893         * docs/manual/advanced-threads.xml:
1894         * docs/manual/basics-bins.xml:
1895         * docs/manual/basics-elements.xml:
1896         * docs/manual/basics-helloworld.xml:
1897         * docs/manual/basics-pads.xml:
1898           Add scale factor for pdf output.
1899
1900         * docs/manual/intro-basics.xml:
1901           Switched sections "pads" and "bins" and added a pipeline diagram.
1902
1903         * docs/manual/intro-gstreamer.xml:
1904           Added more info on gstreamer.
1905
1906         * docs/manual/intro-motivation.xml:
1907           Commented out the whole section "current problem", which sounds
1908           historical and somehow osolete; it could be turned in a positive
1909           way and reused to improve the design principles.
1910
1911         * docs/manual/intro-preface.xml:
1912           - Update URLs to library.gnome.org. 
1913           - Do not mention GTK+ in preliminary reading (irrelevant). 
1914           - Mention Plugin Writer's Manual and further reading only in the
1915             previous section.
1916           - Added a list of most relevant GObject/glib topics.
1917
1918         * docs/manual/Makefile.am:
1919         * docs/manual/bin-element-ghost.fig:
1920         * docs/manual/bin-element-ghost.png:
1921         * docs/manual/bin-element-noghost.fig:
1922         * docs/manual/bin-element-noghost.png:
1923         * docs/manual/bin-element.fig:
1924         * docs/manual/bin-element.png:
1925         * docs/manual/filter-element-multi.fig:
1926         * docs/manual/filter-element-multi.png:
1927         * docs/manual/filter-element.fig:
1928         * docs/manual/filter-element.png:
1929         * docs/manual/gstreamer-overview.png:
1930         * docs/manual/hello-world.fig:
1931         * docs/manual/hello-world.png:
1932         * docs/manual/linked-elements.fig:
1933         * docs/manual/linked-elements.png:
1934         * docs/manual/mime-world.fig:
1935         * docs/manual/mime-world.png:
1936         * docs/manual/queue.fig:
1937         * docs/manual/queue.png:
1938         * docs/manual/simple-player.png:
1939         * docs/manual/sink-element.fig:
1940         * docs/manual/sink-element.png:
1941         * docs/manual/src-element.fig:
1942         * docs/manual/src-element.png:
1943         * docs/manual/diagrams-general.svg:
1944         * docs/manual/diagrams-pipelines.svg:
1945           Removed .fig, added .png counterpart.
1946           
1947           Fixes: #539137
1948
1949 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1950
1951         * plugins/elements/gstmultiqueue.c:
1952         * plugins/elements/gstmultiqueue.h:
1953         revert extra-size-buffers stuff, caused some race conditions
1954         and extra-size-buffers is not used anymore. Docs needs some updates
1955
1956 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1957
1958         * win32/common/config.h:
1959         * win32/common/gstenumtypes.c:
1960         * win32/common/gstenumtypes.h:
1961         * win32/common/gstversion.h:
1962           Update win32 files.
1963
1964 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1965
1966         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1967           (GST_DEBUG_BIN_TO_DOT_FILE):
1968           Add missing Since' markers to gtk-doc blurbs.
1969
1970 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
1971
1972         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1973         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1974         (set_caps_1), (set_caps_ct1), (transform_ct1),
1975         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1976         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1977         (transform_size_ct2), (buffer_alloc_ct2):
1978         Add some more tests with switching caps in buffer_alloc.
1979
1980 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1981
1982         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1983         (gst_test_trans_class_init), (result_sink_chain),
1984         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1985         (gst_test_trans_push), (gst_test_trans_pop):
1986         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1987         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1988         (set_caps_1), (set_caps_ct1), (transform_ct1),
1989         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1990         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1991         (transform_size_ct2), (buffer_alloc_ct2),
1992         (gst_basetransform_suite):
1993         More tests, prepare for tests with switching caps in buffer_alloc.
1994
1995 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1996
1997         * plugins/elements/gstmultiqueue.c:
1998         * plugins/elements/gstmultiqueue.h:
1999         Fix dead-lock in underrun_cb
2000
2001 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2002
2003         * docs/design/part-states.txt:
2004         Fix device open/close docs.
2005
2006 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2007
2008         * ChangeLog:
2009           Mention bugnumber for last commit.
2010
2011 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2012
2013         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2014
2015         * docs/manual/manual.xml:
2016         - Reorganised the previous "introduction" bundle into Foreword,
2017         Introduction, and About GStreamer. The two first are <preface>
2018         docbook elements. The later is the first part of the book.
2019         - added intro-gstreamer.xml (content partially from
2020         intro-preface.xml)
2021         - moved appendix-win32.xml into appendix-integration.xml
2022
2023         * docs/manual/intro-preface.xml: gstreamer section moved...
2024         * docs/manual/intro-gstreamer.xml: ...here. new file.
2025
2026         * docs/manual/appendix-win32.xml: removed file. Content moved...
2027         * docs/manual/appendix-integration.xml: ...here.
2028         
2029         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2030         * docs/manual/appendix-checklist.xml: ...here.
2031         
2032         Fixes: 538764
2033
2034 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2035
2036         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2037
2038         * docs/manual/basics-helloworld.xml:
2039         * docs/manual/hello-world.fig:
2040           - Explicitely include glib.h.
2041           - Do not use global variables.
2042           - Use g_printerr() instead of g_print().
2043           - Minor formating/renaming to increase readibility.
2044           - Renamed new_pad() to on_pad_added()
2045           - Improved explenatory comments.
2046           - renamed ogg parser to ogg demuxer
2047           - Use "autoaudiosink" instead of "alsasink".
2048           Fixes: #538619
2049
2050 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2051
2052         * ChangeLog:
2053           Remove cvs conflict marker.
2054
2055 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2056
2057         * docs/README:
2058           Document that for plgin-docs we extraxt he short-desc from the element
2059           details.
2060
2061         * docs/design/part-states.txt:
2062           Tell that devices should be closed in PAUSED -> READY.
2063
2064         * docs/manual/README:
2065           Document how tests in the manual are handled.
2066
2067         * docs/manuals.mak:
2068           Typo in comment.
2069
2070 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2071
2072         * gst/gstbin.c: (bin_query_latency_fold):
2073         Only care about latency min and max when the sink is actually a live
2074         sink.
2075
2076 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2077
2078         * docs/design/part-block.txt:
2079         Fix typo.
2080
2081         * docs/design/part-element-transform.txt:
2082         Add notes about why transform needs to know input/output sizes.
2083         Add some issues that need to be solved.
2084         Add some more use cases.
2085
2086         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2087         (gst_test_trans_class_init), (result_sink_chain),
2088         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2089         (gst_test_trans_push), (gst_test_trans_pop):
2090         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2091         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2092         (set_caps_1), (set_caps_ct1), (transform_ct1),
2093         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2094         (gst_basetransform_suite):
2095         Add suport for different pad templates and buffer-alloc.
2096         Add more checks for caps and buffer-alloc.
2097         Add checks for proxy buffer alloc.
2098         Add unit test for copy transform.
2099
2100 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2101
2102         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2103
2104         * docs/manual/appendix-integration.xml:
2105         * docs/manual/appendix-licensing.xml:
2106         * docs/manual/basics-elements.xml:
2107         * docs/manual/basics-helloworld.xml:
2108         * docs/manual/basics-pads.xml:
2109         * docs/manual/highlevel-components.xml:
2110         * docs/manual/highlevel-xml.xml:
2111         * docs/manual/intro-basics.xml:
2112         * docs/manual/intro-preface.xml:
2113           Typo and formatting fixes (#538594).
2114
2115 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2116
2117         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2118         Fix some memory leaks and uses of object instances that we don't
2119         actually own.
2120
2121 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2122
2123         * plugins/elements/gstmultiqueue.c:
2124         Add functionality to extra-size-buffers property.
2125
2126 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2127
2128         * plugins/elements/gstmultiqueue.c:
2129         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2130         activate the pads if they are added in STATE_NULL.
2131
2132 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2133
2134         * docs/libs/gstreamer-libs-sections.txt:
2135         Add new API to doc
2136         * libs/gst/check/gstcheck.c:
2137         * libs/gst/check/gstcheck.h:
2138         API: gst_check_teardown_pad_by_name
2139
2140 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2141
2142         * libs/gst/check/gstcheck.c:
2143         * libs/gst/check/gstcheck.h:
2144         Also setup request pads and allow setup pads by name (#537812)
2145         API: gst_check_setup_src_pad_by_name
2146         API: gst_check_setup_sink_pad_by_name
2147
2148 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2149
2150         * tests/check/gst/gstbuffer.c:
2151         * tests/check/pipelines/parse-launch.c:
2152           Use HAVE_VALGRIND_H some more.
2153
2154 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2155
2156         * scripts/cvs-update.sh:
2157           Pass arguments to make.
2158           Run autoregen.sh if Makefile is not there.
2159
2160 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2161
2162         * configure.ac:
2163         * gst/gstinfo.c:
2164           Don't assume that <valgrind/valgrind.h> exists just because
2165           the binary is there.
2166
2167 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2168
2169         * tests/check/Makefile.am:
2170         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2171         (gst_test_trans_class_init), (gst_test_trans_init),
2172         (gst_test_trans_set_data), (result_sink_chain),
2173         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2174         (gst_test_trans_pop):
2175         * tests/check/libs/transform1.c: (GST_START_TEST),
2176         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2177         Add some test basetransform element and the beginnings of various
2178         unit tests for it.
2179
2180 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2181
2182         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2183         Increase code readability.
2184         Don't try to compare buffer offsets when ther are invalid.
2185
2186 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2187
2188         * docs/design/Makefile.am:
2189           Dist some more design docs.
2190
2191         * docs/random/moving-plugins:
2192           Small addition: good plugins mustn't have functional code
2193           within assertion macros.
2194
2195 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2196
2197         * docs/design/draft-framestep.txt:
2198         Some ideas about a framestep API
2199
2200         * docs/design/part-element-transform.txt:
2201         Start design and use cases for basetransform in order to get it
2202         fixed soon.
2203
2204 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2205
2206         * gst/gsttaglist.h:
2207           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2208           be in UTF-8 encoding.
2209
2210 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2211
2212         * gst/gstbus.c:
2213           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2214
2215 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2216
2217         * plugins/elements/gstcapsfilter.c:
2218         * plugins/elements/gstfakesink.c:
2219         * plugins/elements/gstfakesrc.c:
2220         * plugins/elements/gstfdsink.c:
2221         * plugins/elements/gstfdsrc.c:
2222         * plugins/elements/gstfilesink.c:
2223         * plugins/elements/gstfilesrc.c:
2224         * plugins/elements/gstidentity.c:
2225         * plugins/elements/gstmultiqueue.c:
2226         * plugins/elements/gstqueue.c:
2227         * plugins/elements/gsttee.c:
2228         * plugins/elements/gsttypefindelement.c:
2229           Remove short_description. Add basic docs for gsttypefindelement.
2230           Simplify markup for fakesrc/fdsrc.
2231
2232 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2233
2234         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2235         Added Since doc.
2236
2237 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2238
2239         Patch by: Joel Larsson <tilljoel at gmail dot com>
2240
2241         * docs/plugins/gstreamer-plugins.args:
2242         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2243         (gst_fd_src_init), (gst_fd_src_update_fd),
2244         (gst_fd_src_set_property), (gst_fd_src_get_property),
2245         (gst_fd_src_create):
2246         * plugins/elements/gstfdsrc.h:
2247         Add timeout property like udpsrc. Fixes #538628.
2248         Add some more docs and example pipelines.
2249
2250 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2251
2252         * docs/libs/gstreamer-libs-sections.txt:
2253         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2254         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2255         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2256         (gst_base_sink_do_sync):
2257         * libs/gst/base/gstbasesink.h:
2258         * win32/common/libgstbase.def:
2259         Add method to allow sinks to specify additional delay between the sync
2260         times and the actual rendering of the data.
2261         API: gst_base_sink_set_render_delay()
2262         API: gst_base_sink_get_render_delay()
2263
2264 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2265
2266         * configure.ac:
2267         Bump version number back to dev -> 0.10.20.1
2268
2269 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2270
2271         * docs/gst/gstreamer-sections.txt:
2272         * gst/gsttaglist.c: (_gst_tag_initialize):
2273         * gst/gsttaglist.h:
2274         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2275         Fixes bug #538568.
2276
2277 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2278
2279         * libs/gst/controller/gstcontroller.c:
2280           Revert one change, that make ret value possible uninitialized.
2281
2282 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2283
2284         * libs/gst/controller/gstcontroller.c:
2285           Use freeze/thaw notify to sync notify emission a bit (its also more
2286           efficient). Move debug output to LOG (is called a lot in a loop).
2287           Always unset g_values if the have been initialized.
2288
2289 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2290
2291         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2292         (gst_base_sink_wait_eos), (gst_base_sink_event):
2293         If we have not seen a buffer before EOS, use the segment values to
2294         report the current position instead of invalid positions.
2295
2296 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2297
2298         * docs/plugins/tmpl/.cvsignore:
2299         * tests/check/gst/.cvsignore:
2300           Ignore more.
2301
2302 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2303
2304         * libs/gst/controller/gstinterpolation.c:
2305         * libs/gst/controller/gstinterpolationcontrolsource.c:
2306         * tests/check/libs/controller.c:
2307           Rewrite handling of default values. Fix overflow with unsigned types
2308           in linear interpolation. Remove now obsolete _first_value() function.
2309           Add more tests. Fixes #538201.
2310
2311 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2312
2313         * libs/gst/base/gstbasetransform.c:
2314         (gst_base_transform_class_init), (gst_base_transform_init),
2315         (gst_base_transform_transform_caps),
2316         (gst_base_transform_prepare_output_buffer):
2317         Add debug info.
2318         When a buffer is writable, its metadata is also writable so we don't
2319         need to subbuffer (which then makes the buffer not-writable anymore).
2320
2321 === release 0.10.20 ===
2322
2323 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2324
2325         * configure.ac:
2326           releasing 0.10.20, "You Crazy Diamond"
2327
2328 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2329
2330         * configure.ac:
2331         0.10.19.3 pre-release
2332
2333 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2334
2335         * configure.ac:
2336         * gst/gstpreset.c:
2337         Rename DATADIR to GST_DATADIR to avoid build problems
2338         on win32. Patch By: David Schleef <ds@schleef.org>
2339         Fixes: #536857
2340
2341 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2342
2343         * configure.ac:
2344         Explicitely link with -ldl if dladdr() is found there. Before it was
2345         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2346         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2347
2348 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2349
2350         * gst/gsterror.c: (_gst_stream_errors_init):
2351           Fix typo (spotted by Fabricio Godoy, #536723).
2352
2353 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2354
2355         * configure.ac:
2356         0.10.19.2 pre-release
2357
2358 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2359
2360         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2361         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2362         Add some debug.
2363         Make sure we don't generate invalid QoS messages.
2364
2365 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2366
2367         * gst/gstevent.c: (gst_event_new_qos):
2368         Add some assert and docs for invalid input to the qos function.
2369
2370 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2371
2372         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2373         (gst_base_sink_get_position):
2374         The reported position must always be smaller than the last seen
2375         timestamps (or timestamp + duration for reverse).
2376
2377 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2378
2379         Patch by: Rob Bradford <rob at robster dot org dot uk>
2380
2381         * gst/gstregistry.c: (gst_registry_scan_path_level):
2382         Don't recurse into .debug directories as some distros install
2383         the debugging symbols next to the plugins in .debug directories
2384         and dlopen() crashes on them sometimes. Fixes bug #508070.
2385
2386         Add FIXME for 0.11 to not recurse into directories at all because
2387         it's very inconsistent to the behaviour of other PATH environment
2388         variables.
2389
2390 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2391
2392         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2393         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2394         Fix position query range checks in reverse playback.
2395
2396 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2397
2398         * gst/gstelement.c:
2399         * gst/gstelement.h:
2400         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2401         clear of the reference to the resulting pad must be released later
2402         or not, resulting in possible leaks. Fixes bug #533865.
2403
2404 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2405
2406         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2407
2408         * gst/gstelementfactory.c:
2409         Small doc fix. Fixes #535285.
2410
2411 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2412
2413         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2414
2415         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2416         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2417         (gst_base_src_loop), (gst_base_src_set_flushing),
2418         (gst_base_src_change_state):
2419         Make sending an EOS event to the basesrc non-blocking even if the
2420         implementation does blocking waits in the create function. This is done
2421         by unlocking the create function when EOS is sent.
2422         Fixes #535218.
2423
2424 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2425
2426         * tools/gst-inspect.c: (print_element_properties_info):
2427         If possible print the element type of GValueArray properties.
2428
2429 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2430
2431         * gst/gstiterator.c:
2432         Remove an unused field from the private GstListIterator struct.
2433
2434 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2435
2436         * libs/gst/controller/gstcontroller.c:
2437           Add parameter guards.
2438
2439 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2440
2441         * tests/check/gst/gstpipeline.c:
2442           Revert test change and add comment why it should not work.
2443
2444 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2445
2446         * tests/check/gst/gstpipeline.c:
2447           Extending the test a little to verify that we also get the NULL state-
2448           change message.
2449
2450 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2451
2452         * gst/gstpreset.c: (gst_preset_default_get_meta),
2453           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2454           (gst_preset_load_preset), (gst_preset_save_preset),
2455           (gst_preset_rename_preset), (gst_preset_delete_preset),
2456           (gst_preset_set_meta):
2457           Add Since: markers to docs blurbs.
2458
2459         * win32/common/libgstreamer.def:
2460           Add recently-added API.
2461
2462 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2463
2464         Patch by: Stefan Kost  <ensonic@users.sf.net>
2465
2466         * configure.ac:
2467         Add DATADIR for storing presets.
2468
2469         * docs/gst/gstreamer-docs.sgml:
2470         * docs/gst/gstreamer-sections.txt:
2471         * docs/gst/gstreamer.types.in:
2472         Add GstPreset to docs.
2473
2474         * gst/Makefile.am:
2475         * gst/gst.h:
2476         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2477         (preset_open_and_parse_header), (preset_parse_version),
2478         (preset_merge), (preset_get_keyfile),
2479         (gst_preset_default_get_preset_names),
2480         (gst_preset_default_get_property_names),
2481         (gst_preset_default_load_preset),
2482         (gst_preset_default_save_presets_file),
2483         (gst_preset_default_save_preset),
2484         (gst_preset_default_rename_preset),
2485         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2486         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2487         (gst_preset_default_reset), (gst_preset_get_preset_names),
2488         (gst_preset_get_property_names), (gst_preset_load_preset),
2489         (gst_preset_save_preset), (gst_preset_rename_preset),
2490         (gst_preset_delete_preset), (gst_preset_set_meta),
2491         (gst_preset_get_meta), (gst_preset_class_init),
2492         (gst_preset_base_init), (gst_preset_get_type):
2493         * gst/gstpreset.h:
2494         Add GstPreset to core. Fixes #396779
2495
2496         * tests/check/Makefile.am:
2497         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2498         (gst_preset_test_set_property), (gst_preset_test_class_init),
2499         (gst_preset_test_base_init), (gst_preset_test_get_type),
2500         (gst_preset_test_plugin_init), (GST_START_TEST),
2501         (remove_preset_file), (test_setup), (test_teardown),
2502         (gst_preset_suite):
2503         Add GstPreset unit tests.
2504
2505 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2506
2507         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2508         The default event function on a sinkpad should return TRUE when
2509         there are no internal links but should collect the return values from
2510         the internal links otherwise.
2511
2512 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2513
2514         * plugins/elements/gsttypefindelement.c:
2515         (gst_type_find_element_src_event),
2516         (gst_type_find_element_handle_event):
2517         Use faster and safer _pad_push_event().
2518
2519 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2520
2521         * docs/gst/gstreamer-sections.txt:
2522         * gst/gstutils.c: (element_find_unlinked_pad),
2523           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2524         * gst/gstutils.h:
2525           API: add gst_bin_find_unlinked_pad()
2526           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2527
2528 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2529
2530         * gst/gstclock.c:
2531         * gst/gstclock.h:
2532         * gst/gsttask.c:
2533         * gst/gsttask.h:
2534         Fixed a bunch of typos.
2535
2536 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2537
2538         * gst/gstpad.h:
2539         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2540           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2541           (gst_parse_bin_from_description_full):
2542         * gst/gstutils.h:
2543           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2544
2545 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2546
2547         * docs/pwg/advanced-tagging.xml:
2548           Small docs update, can't be bothered to rewrite the nonsensical
2549           examples right now.
2550
2551 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2552
2553         * gst/gstevent.h:
2554           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2555
2556 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2557
2558         * gst/parse/grammar.y:
2559           Remove unneeded casts.
2560
2561 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2562
2563         * gst/parse/grammar.y:
2564         * tests/check/pipelines/parse-launch.c:
2565           Get all missing elements from a parse launch string if possible
2566           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2567
2568 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2569
2570         * tests/check/Makefile.am:
2571         * tests/check/pipelines/parse-launch.c:
2572           Add some unit tests for the new gst_parse_launch*_full() API.
2573           (Exposes a previously-existing memory leak in the error code
2574           path, so adding to VALGRIND_TO_FIX for now).
2575
2576 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2577
2578         * docs/gst/gstreamer-sections.txt:
2579         * gst/gst.c: (init_post):
2580         * gst/gst_private.h: (_GstParseContext):
2581         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2582           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2583           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2584           (gst_parse_launch_full):
2585         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2586           (GstParseFlags), (GstParseContext):
2587         * gst/gstutils.c: (gst_parse_bin_from_description),
2588           (gst_parse_bin_from_description_full):
2589         * gst/gstutils.h:
2590         * gst/parse/grammar.y:
2591         * gst/parse/types.h:
2592         * win32/common/libgstreamer.def:
2593           Add new gst_parse_*_full API (#528178):
2594           API: gst_parse_launch_full()
2595           API: gst_parse_launchv_full()
2596           API: gst_parse_bin_from_description_full()
2597           API: gst_parse_context_new()
2598           API: gst_parse_context_free()
2599           API: gst_parse_context_get_missing_elements()
2600
2601 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2602
2603         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2604
2605         * docs/faq/gst-uninstalled:
2606           Also support ffmpeg in gst-uninstalled.
2607
2608 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2609
2610         * configure.ac:
2611         After discussion on IRC use the binary registry as default
2612         but allow to disable it with --disable-binary-registry.
2613
2614         * win32/common/libgstreamer.def:
2615         Add the two new symbols for the binary registry.
2616
2617 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2618
2619         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2620         * gst/gstutils.c: (gst_parse_bin_from_description):
2621         * gst/parse/grammar.y: (graph):
2622           More guards against bad input; typo fix; some minor clean-ups.
2623
2624 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2625
2626         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2627
2628         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2629         If nothing else can be used, use the last buffer's start time as
2630         the segment's last stop. Fixes bug #534258.
2631
2632 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2633
2634         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2635           Move size sanity check to the right place: downstream may return
2636           a buffer with a smaller size if the buffer caps are different than
2637           the requested ones, as may happen when doing reverse negotiation.
2638
2639 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2640
2641         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2642         (gst_file_sink_render):
2643         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2644         (gst_file_src_start):
2645         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2646         use it yet.
2647
2648 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2649
2650         * gst/gstpad.c: (gst_pad_load_and_link):
2651         * gst/gstutils.c: (gst_element_link_pads),
2652         (gst_element_unlink_pads):
2653         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2654         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2655         (gst_check_teardown_sink_pad),
2656         (gst_check_element_push_buffer_list):
2657         * tests/check/elements/fakesink.c: (GST_START_TEST):
2658         * tests/check/elements/filesink.c:
2659         * tests/check/elements/filesrc.c: (GST_START_TEST):
2660         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2661         (mq_sinkpad_to_srcpad):
2662         * tests/check/elements/tee.c: (GST_START_TEST):
2663         * tests/check/generic/sinks.c: (GST_START_TEST):
2664         * tests/check/gst/gstbin.c: (GST_START_TEST):
2665         * tests/check/gst/gstevent.c: (GST_START_TEST):
2666         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2667         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2668         * tests/check/gst/gstquery.c: (GST_START_TEST):
2669         * tests/check/gst/gstutils.c: (GST_START_TEST):
2670         * tests/check/libs/basesrc.c: (GST_START_TEST):
2671         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2672         (gst_parse_test_element_change_state):
2673         Don't use gst_element_get_pad().
2674
2675 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2676
2677         * docs/Makefile.am:
2678         Fix installing plugin documentation when gtk-doc is disabled.
2679
2680 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2681
2682         * docs/manual/advanced-autoplugging.xml:
2683         * docs/manual/basics-helloworld.xml:
2684         * docs/manual/basics-pads.xml:
2685         * docs/manual/highlevel-components.xml:
2686         Avoid using a bad function in the example code.
2687
2688 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2689
2690         * gst/gstclock.c: (gst_clock_set_calibration):
2691         Fix debug of the new clock rate.
2692
2693 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2694
2695         * win32/common/libgstbase.def:
2696         Add gst_base_sink_wait_clock() to the exported symbols.
2697
2698 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2699
2700         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2701
2702         * libs/gst/base/gstbasetransform.c:
2703         (gst_base_transform_sink_event):
2704         Unref events that the GstBaseTransform::event vfunc didn't want to
2705         have forwarded by the base class. Closes a leak in identity.
2706         Fixes bug #446763.
2707
2708 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2709
2710         * docs/libs/gstreamer-libs-sections.txt:
2711         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2712         * libs/gst/base/gstbasesink.h:
2713         Expose a method that was previously used internally to synchronize
2714         against the clock because it can be useful for subclasses too.
2715         API: GstBaseSink::gst_base_sink_wait_clock()
2716
2717 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2718
2719         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2720           Add sanity check to make sure we don't get smaller buffers
2721           than requested (and fallback to normal buffer alloc if we do).
2722
2723 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2724
2725         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2726         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2727         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2728         Refactor adjusting the running_time with latency and offset into a
2729         separate method.
2730         When doing clipping, we still want to use the subclass get_times method,
2731         just in case the DURATION or TIMESTAMP are not set.
2732
2733 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2734
2735         * docs/gst/gstreamer-sections.txt:
2736         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2737         * gst/gsttypefind.h:
2738         * win32/common/libgstreamer.def:
2739           API: add gst_type_find_suggest_simple(), #533740.
2740
2741 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2742
2743         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2744           Use right error code when typefinding fails, so we can use
2745           the default (translated) error messages.
2746
2747 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2748
2749         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2750         (gst_base_src_start):
2751         When the subclass did not set caps on outgoing buffers, configure the
2752         caps we negotiated on the source pad.
2753         When the typefind helper does not find caps, error out properly instead
2754         of doing things with NULL caps.
2755
2756 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2757
2758         * gst/gsttypefind.h:
2759           Tabs to spaces, oh yes!
2760
2761 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2762
2763         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2764           Add David's and Benjamin's tests for array intersection to the
2765           unit test suite (#147931).
2766
2767 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2768
2769         * gst/gstevent.c:
2770           Document that gst_event_new_tag() and gst_event_new_navigation()
2771           take ownership of the taglist/structure passed to them. (#533635).
2772
2773 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2774
2775         * docs/Makefile.am:
2776         Don't descend into the plugins dir if plugin docs building
2777         is disabled.
2778
2779         * docs/README:
2780         Add a note about the new type:GTypeName syntax for the plugin
2781         documentation .types file.
2782
2783 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2784
2785         * gst/gstmessage.c: (gst_message_new_error),
2786         (gst_message_new_warning), (gst_message_new_info):
2787         * gst/gstmessage.h:
2788         Mark the debug string parameters as const. Fixes bug #533490.
2789
2790 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2791
2792         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2793         Sort buffer cache list by end offsets. This makes sure that we don't
2794         stop to search for a cached buffer that contains the requested data
2795         too early.
2796         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2797         more efficient. Fixes bug #459862.
2798
2799 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2800
2801         * gst/gstinfo.c:
2802           Explain why we copy the list.
2803
2804         * gst/gstpipeline.c:
2805           Improve docs.
2806
2807         * gst/gstutils.c:
2808           Add one debug-log statement to help tracing probelms with linking pads.
2809
2810 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2811
2812         * tests/check/gst/gstinfo.c:
2813         Add a test for removing the default log handler. Seems to fail under
2814         windows.
2815
2816 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2817
2818         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2819         Release pad lock before calling out to avoid a possible deadlock.
2820
2821 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2822
2823         * gst/parse/grammar.y:
2824         Remove unneeded value unset.
2825
2826         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2827         Add unit test for de/serialization of caps.
2828
2829 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2830
2831         * plugins/elements/gstfakesink.c:
2832         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2833         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2834         (gst_fake_src_class_init):
2835         Use custom marshalers that take GstMiniObject as first parameter.
2836         Using OBJECT as parameter while a GstMiniObject is given will lead
2837         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2838
2839 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2840
2841         * plugins/elements/gsttypefindelement.c:
2842         (gst_type_find_element_handle_event),
2843         (gst_type_find_element_send_cached_events),
2844         (gst_type_find_element_change_state):
2845         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2846         immediately.
2847
2848 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2849
2850         * plugins/elements/gsttypefindelement.c:
2851         (gst_type_find_handle_src_query), (stop_typefinding),
2852         (gst_type_find_element_handle_event),
2853         (gst_type_find_element_send_cached_events),
2854         (gst_type_find_element_change_state):
2855         Forward FLUSH_START events immediately and clean up instead of
2856         caching them.
2857
2858 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2859
2860         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2861
2862         * libs/gst/base/gstbasetransform.c:
2863         (gst_base_transform_buffer_alloc):
2864         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2865         fall back to default negotiation in the chain function if the caps
2866         are different from what was requested. Fixes bug #526768.
2867
2868 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2869
2870         * gst/gstsegment.c:
2871         * tests/check/gst/gstsegment.c:
2872           No, let's not use g_slice_{dup|copy} here, since they only exist
2873           since GLib 2.14 and we still depend only on >= 2.12. Also add
2874           unit test for gst_segment_copy().
2875
2876 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2877
2878         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2879           Try to fix 'dereferencing type-punned pointer will break strict
2880           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2881           changed the default GType typedef from gulong to gsize at some point,
2882           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2883           g_once_* functions all take a gsize * though, so work around the type
2884           mismatch for C++ by doing everything in gsize and casting to GType
2885           later.
2886
2887 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2888
2889         * plugins/elements/gstmultiqueue.c:
2890         Add documentation for the signals to push our core plugin docs
2891         coverage back up to 100%.
2892
2893 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2894
2895         * gst/gstinfo.h (GST_FUNCTION):
2896           Reverted GST_FUNCTION to the old version as we don't want the
2897           full signature in C++ code. Also added support for MSVC.
2898
2899 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2900
2901         * gst/gstutils.h:
2902         Intern the type name string, similar to what G_DEFINE_TYPE does.
2903
2904 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2905
2906         * gst/gstutils.h:
2907         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2908
2909 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2910
2911         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2912
2913         * libs/gst/base/gstbasetransform.c:
2914         (gst_base_transform_buffer_alloc):
2915         Don't passthrough buffer allocation too easily if the caps change.
2916         This breaks when working in passthrough mode and upstream changes
2917         it's caps. Fixes bug #526768.
2918
2919 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2920
2921         * gst/gstinfo.c (gst_debug_log_valist):
2922           Improved the __FILE__ part of debug output for MSVC.
2923
2924 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2925
2926         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2927           Declaration after statement fix for compilers like MSVC.
2928
2929 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2930
2931         * win32/common/config.h.in:
2932           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2933           use the real thing than having "???" unconditionally.
2934
2935 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2936
2937         * gst/gstinfo.h (GST_FUNCTION):
2938           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2939
2940 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2941
2942         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2943         Small code cleanup.
2944
2945         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2946         (gst_base_sink_set_flushing):
2947         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2948         Fix some comments.
2949
2950 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2951
2952         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2953         (gst_fake_src_init), (gst_fake_src_set_property),
2954         (gst_fake_src_get_property), (gst_fake_src_start):
2955         * plugins/elements/gstfakesrc.h:
2956         Added format property to control the format of the newsegment events.
2957         API: GstFakeSrc:format
2958
2959 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2960
2961         * win32/common/libgstreamer.def:
2962         Add gst_pad_has_name() to the exported symbols.
2963
2964 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2965
2966         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2967         * libs/gst/base/gstbasetransform.c:
2968         (gst_base_transform_prepare_output_buffer):
2969         Don't allow negative sizes when allocating new buffers.
2970         Fixes bug #461253.
2971
2972 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2973
2974         Patch by: Sjoerd Simons <sjoerd at luon net>
2975
2976         * gst/gstbus.c: (gst_bus_source_dispatch):
2977           Don't print a warning if the queue is empty when we try to pop
2978           here. That could happen if another thread or callback set the
2979           bus to flushing between the source's check/prepare and the
2980           dispatch being called (#531538).
2981
2982 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2983
2984         * plugins/elements/gstmultiqueue.c:
2985           Small docs fix.
2986         
2987 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
2988
2989         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2990         Add unit test for deserializing uint64s and check some really large
2991         numbers in the int64 test.
2992
2993 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
2994
2995         * tools/gst-inspect.c: (n_print), (print_hierarchy),
2996         (print_interfaces), (print_element_properties_info),
2997         (print_signal_info):
2998         Use "%s" as format string instead of printing strings directly.
2999
3000 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3001
3002         * gst/gstclock.c: (gst_clock_set_calibration):
3003         Make some checks actually useful.
3004
3005         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3006         Remove some unused code. Unsigned integers tend to be >= 0.
3007
3008 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3009
3010         * gst/gstminiobject.c: (gst_value_get_mini_object):
3011           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3012           function was not in the unscheduled 0.10.19 release.
3013
3014 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3015
3016         * gst/gstregistry.c: (gst_registry_scan_path_level):
3017           Only print one log message per non-plugin file.
3018
3019 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3020
3021         * gst/gstinfo.c: (gst_debug_log_default):
3022           Fix alignment of debug log columns on 64-bit.
3023
3024 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3025
3026         * docs/libs/Makefile.am:
3027         * docs/libs/gstreamer-libs-sections.txt:
3028           Ignore private controller headers for docs.
3029
3030 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3031
3032         * libs/gst/controller/gstcontrollerprivate.h:
3033         * libs/gst/controller/gsthelper.c:
3034         * libs/gst/controller/gstinterpolation.c:
3035         * libs/gst/controller/gstinterpolationcontrolsource.c:
3036         (gst_interpolation_control_source_set_interpolation_mode):
3037         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3038         * libs/gst/controller/lib.c:
3039         Move some private declarations into private headers.
3040
3041 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3042
3043         * gst/gstdebugutils.c: (debug_dump_element_pad):
3044         Remove some code that is unused after Stefan's refactoring and uses
3045         uninitialized variables now, resulting in a compiler warning.
3046
3047 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3048
3049         * gst/gstregistry.c: (gst_registry_scan_path_level):
3050           Run g_str_has_suffix() only on the file name, not the
3051           entire file path.
3052
3053 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3054
3055         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3056           Since we're not called only from the chain function any longer,
3057           we can't assume that there's always data in the queue, so move
3058           the is_full check to the beginning of the loop (otherwise we'd
3059           hit the assert when changing the limit properties while the
3060           queue is empty or not running yet).
3061           Also, only set a discont if items were actually removed from
3062           the queue.
3063
3064         * tests/check/elements/queue.c: (test_leaky_downstream):
3065           Test case for the above.
3066
3067 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3068
3069         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3070
3071         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3072         (gst_queue_chain), (queue_capacity_change),
3073         (gst_queue_set_property):
3074         When changing thr max capacity of a leaky queue, immediatly drop buffers
3075         instead of waiting for a push on the sinkpad. Fixes #530637.
3076
3077 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3078
3079         * gst/gstdebugutils.c:
3080           Refactor code and fix handling of ghostpads and their proxypads.
3081
3082 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3083
3084         * docs/gst/gstreamer-sections.txt:
3085         * gst/gstevent.c: (gst_event_has_name):
3086         * gst/gstevent.h:
3087         * tests/check/gst/gstevent.c: (GST_START_TEST):
3088         Add method to conveniently check the name of a custom event with
3089         gst_event_has_name().
3090         Reformat the event docs so that related methods are put together instead
3091         of the default alphabetical sort.
3092         Update unit test with new method.
3093         API: GstEvent::gst_event_has_name()
3094
3095 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3096
3097         * libs/gst/check/Makefile.am:
3098           Don't add an explicit link to libgstreamer-0.10.la; it's already
3099           included in GST_OBJ_LIBS.
3100
3101 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3102
3103         * gst/gst.c:
3104         Register GstClock type from a type-safe context. Fixes bug #530317.
3105
3106 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3107
3108         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3109         * tools/gst-run.c:
3110           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3111
3112 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3113
3114         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3115         (gst_bin_dispose):
3116         Use the GLib stuff to create a private structure.
3117         Add some locking around some dispose methods to make them a little
3118         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3119
3120 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3121
3122         * libs/gst/base/gstbasesink.h:
3123         * libs/gst/base/gstbasesrc.h:
3124         * libs/gst/base/gstbasetransform.h:
3125         * libs/gst/base/gstcollectpads.h:
3126           Fix doc typos and unify caps a bit.
3127
3128 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3129
3130         * tools/gst-launch.1.in:
3131           Forgot to also add the envvar docs here.
3132
3133 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3134
3135         * gst/gst.c: (init_post), (gst_deinit):
3136         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3137           (test_concurrent_create), (gst_pipeline_suite):
3138           Ref some more classes in gst_init() to work around thread-safety
3139           issues in pre-2.16 GLibs, and add basic unit test.
3140
3141 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3142
3143         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3144         (gst_base_sink_send_event):
3145         Rearrange the latency query code. We always want to do the upstream
3146         query, even if we are not live so that the upstream elements can get the
3147         latency results too. If we fail doing the query and we are live, we
3148         return TRUE afterwards.
3149
3150 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3151
3152         patch by: Jason Zhao <e3423c@motorola.com>
3153
3154         * docs/gst/running.xml:
3155         * gst/gst.c:
3156           Enable/disable scan_and_update_registry() based on commandline switch
3157           or environment variable. Fixes #520468.
3158           
3159         * ChangeLog:
3160           Fix typo in my previous commit.
3161
3162 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3163
3164         * gst/gstregistrybinary.c:
3165           Add a warning if we hit unhandled factories when saving.
3166           More debug logging detail, but move to LOG category.
3167
3168 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3169
3170         * gst/gstregistry.c:
3171           Tell the *truth* when improving the documentation.
3172
3173 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3174
3175         * gst/gstelementfactory.c: (gst_element_factory_make):
3176         Unref the factory after it was used the last time, not before.
3177
3178         * gst/gstindexfactory.c: (gst_index_factory_make):
3179         Improve debugging a bit and don't leak a ref to the index factory with
3180         each call.
3181
3182 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3183
3184         * gst/gstregistry.c:
3185           Improve the documentation.
3186
3187 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3188
3189         * gst/gstsegment.c:
3190           The glib macro seems to be borked. Use g_slice_copy directly and cast
3191           in the hope that this fixes the warning on 64bit.
3192
3193 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3194
3195         * gst/gstsegment.c:
3196           Document the new function. Use g_slice_dup() (no need for
3197           gst_segment_init()).    
3198
3199 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3200
3201         * docs/gst/gstreamer-sections.txt:
3202           Move GParamSepc macros to standart section.
3203   
3204         * gst/gstbin.c:
3205           Dn't document _get_type - its in private section in docs anyway and
3206           this doc-blob was incomplete.
3207
3208         * gst/gstclock.h:
3209           Fix wrong symbol names in docs.
3210
3211         * gst/gstmacros.h:
3212           Add once doc sentence.
3213
3214         * tests/check/gst/.cvsignore:
3215           Ignore more.
3216
3217 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3218
3219         * docs/gst/Makefile.am:
3220           And remove those libs here.
3221
3222 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3223
3224         * docs/libs/Makefile.am:
3225           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3226
3227 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3228
3229         Patch by: Olivier Crete <tester at tester dot ca>
3230
3231         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3232         Add the min-threshold to the min latency if possible. Fixes #529148.
3233
3234 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3235
3236         * docs/gst/gstreamer.types.in:
3237           Stupid editor, I removed that line as it should go in yet.
3238
3239 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3240
3241         * docs/gst/gstreamer.types.in:
3242         * docs/libs/gstreamer-libs.types:
3243           Remove library types fro core docs and have them in libs docs.
3244           Reformat and cleanup. Add comment for miniobject types.
3245
3246 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3247
3248         * gst/gsturi.c: (gst_uri_get_protocol):
3249           Fix leak: g_strdown operates on the string in place, while
3250           g_ascii_strdown() returns a newly-allocated string.
3251
3252 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3253
3254         * tools/gst-inspect.c: (print_uri_handler_info),
3255         (print_element_info):
3256         Print the URI protocols and the URI type supported by the element.
3257
3258 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3259
3260         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3261         Use g_value_take_string() instead of the deprecated
3262         g_value_set_string_take_ownership().
3263
3264 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3265
3266         * gst/gstregistrybinary.c: (_gst_crc32):
3267         Return the old CRC instead of 0 if we give a NULL buffer
3268         or a buffer with a length of 0.
3269
3270 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3271
3272         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3273         (gst_uri_get_protocol), (gst_uri_has_protocol),
3274         (gst_uri_construct), (gst_uri_handler_set_uri):
3275         A valid URI scheme can also include '+', '-' and '.' additional
3276         to alphanumeric characters as per RFC 3986 Section 3.1.
3277
3278         Handle URI schemes case insensitive in all places and convert
3279         to lower-case when constructing an URI or setting an URI with
3280         the GstURIHandler interface. Fixes bug #528868.
3281         All elements can still assume (as before) that they will
3282         get passed URIs with a lower-case URI scheme by the GstURIHandler
3283         interface.
3284
3285 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3286
3287         * gst/gstcaps.c: (gst_static_caps_get):
3288         * gst/gstclock.c: (gst_clock_entry_new):
3289           Don't use g_atomic_set_int where it's not needed.
3290
3291 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3292
3293         * gst/gstvalue.c: (gst_value_deserialize_caps):
3294         * gst/parse/grammar.y:
3295         Fix 2 caps leaks.
3296
3297 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3298
3299         * gst/gstutils.c: (gst_atomic_int_set):
3300         Use g_atomic_int_set() here too instead of assignment +
3301         g_atomic_int_get().
3302
3303 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3304         
3305         * gst/gstutils.c:
3306         * gst/gstutils.h:
3307         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3308         now that we depend on new enough GLib.
3309
3310         * gst/gstcaps.c: (gst_static_caps_get):
3311         * gst/gstclock.c: (gst_clock_entry_new):
3312         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3313         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3314         (gst_debug_category_set_threshold):
3315         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3316         (gst_base_sink_set_qos_enabled):
3317         * libs/gst/net/gstnettimeprovider.c:
3318         (gst_net_time_provider_set_property):
3319         Use g_atomic_int_set() instead of gst_atomic_int_set().
3320
3321 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3322
3323         * gst/gstquery.c:
3324           Also use G_GINT64_CONSTANT for the queries.
3325
3326 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3327
3328         * gst/gstmessage.c:
3329           Use G_GINT64_CONSTANT in varargs function.
3330
3331 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3332
3333         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3334         Initialize the registry magic with zeroes.
3335
3336 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3337
3338         * gst/gstregistrybinary.c: (_gst_crc32),
3339         (gst_registry_binary_write),
3340         (gst_registry_binary_initialize_magic),
3341         (gst_registry_binary_write_cache),
3342         (gst_registry_binary_check_magic),
3343         (gst_registry_binary_read_cache):
3344         * gst/gstregistrybinary.h:
3345         Add crc32 checksum to the binary registry file and check this before
3346         accepting a registry file.
3347
3348         Also free the data list when writing to the registry file fails.
3349
3350 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3351
3352         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3353         (gst_registry_binary_load_feature),
3354         (gst_registry_binary_load_plugin):
3355         If an element supports the Uri interface, returns a valid pointer
3356         to the supported URI protocols but this pointer contains nothing
3357         don't try to save that as it will corrupt the registry.
3358
3359         Don't unref the plugin if we added it to the registry already but
3360         fail to load a feature as gst_registry_add_plugin() takes ownership
3361         of the plugin.
3362
3363         Improve debugging a bit.
3364
3365 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3366
3367         * gst/gsttaglist.h:
3368           Clarify some tag item docs after discussion on irc.
3369
3370 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3371
3372         * docs/gst/gstreamer-docs.sgml:
3373           Remove commented out plugins (they have their own docs). Update
3374           comments.
3375
3376 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * docs/gst/gstreamer-docs.sgml:
3379         * docs/gst/gstreamer-sections.txt:
3380         * gst/gstparamspecs.c:
3381         * gst/gstparamspecs.h:
3382           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3383           docs to own section.
3384
3385         * gst/gstvalue.c:
3386           This now only documents GValue.
3387           
3388         * docs/libs/gstreamer-libs-sections.txt:
3389         * libs/gst/controller/gstcontroller.h:
3390           Remove GST_PARAM_CONTROLLABLE.
3391
3392 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3393
3394         * docs/README:
3395           Correct file path. Tell about how to use -overrides.txt.
3396         * docs/design/draft-tagreading.txt:
3397           Small design update.
3398
3399 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3400
3401         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3402         (gst_registry_binary_load_plugin):
3403         Fix a typo in a debug message and revert change from yesterday as
3404         gst_registry_add_plugin() will only fail if something is really wrong
3405         already and we can't survive it anyway.
3406
3407 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3408
3409         * gst/gst.c: (init_post), (gst_deinit):
3410           Pre-register GstGError GType from a thread-safe context
3411           (fixes #527967); unref enum type classes in deinit.
3412
3413 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3414
3415         Patch by: Rene Stadler <mail at renestadler de>
3416
3417         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3418           Merging an empty list with another list in KEEP_ALL mode should
3419           yield an empty list as result and not the second list (#512578).
3420
3421         * tests/check/gst/gsttagsetter.c:
3422           Add unit test for tag merge modes and the aforementioned bug.
3423
3424 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3425
3426         Patch by: Rene Stadler <mail at renestadler de>
3427
3428         * gst/gsttaglist.h:
3429           Fix description to match the order in the table (#512577).
3430   
3431 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3432
3433         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3434
3435         * libs/gst/net/gstnettimepacket.h:
3436         * docs/libs/gstreamer-libs-sections.txt:
3437           Define socklen_t as int if it's not defined yet. Fixes compilation
3438           with MSVC6 and other versions where socklen_t is not defined in
3439           the windows headers (#518022).
3440
3441 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3442
3443         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3444         If gst_registry_add_plugin() fails our reference to the plugin is
3445         invalid so don't try to use it anymore and instead error out.
3446
3447 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3448
3449         * tools/gst-xmlinspect.c: (print_element_info), (main):
3450           De-cruft a bit. If no argument is specified, print all elements in
3451           XML syntax rather than a freestyle list of elements like gst-inspect.
3452           Also, don't print XML header chunk unless we actually have something
3453           to print (ie. don't print it before an error message); print error
3454           message to stderr not stdout. Remove support for printing plugin
3455           info (it would just output something freestyle along the lines of
3456           gst-inspect so far), which fixes #514507. Also add license header.
3457
3458 2008-04-11  Julien Moutte  <julien@fluendo.com>
3459
3460         Mac OS X love...
3461         * configure.ac: Merge platform specific defines, introduce a new
3462         define on OS X to remember that forking when updating registry is
3463         unsafe.
3464         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3465         module.
3466         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3467         is defined.
3468         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3469         condition that leads to absolutely no plugins being registered on
3470         OS X.
3471
3472 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3473
3474         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3475
3476         * gst/gstutils.c: (gst_pad_add_data_probe),
3477           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3478           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3479           (gst_pad_add_buffer_probe_full):
3480         * gst/gstutils.h:
3481         * docs/gst/gstreamer-sections.txt:
3482         * win32/common/libgstreamer.def:
3483           Add gst_pad_add_*_probe_full() functions with a notify callback that
3484           lets the caller free the data it passes to the probe functions. This
3485           is useful for bindings such as gst-python or gstreamermm (#526814).
3486           API: gst_pad_add_data_probe_full
3487           API: gst_pad_add_buffer_probe_full
3488           API: gst_pad_add_event_probe_full
3489
3490         * tests/check/gst/gstutils.c:
3491           Add minimal unit test to make sure freeing the data actually works
3492           as expected.
3493
3494         * tests/benchmarks/.cvsignore:
3495           Random cvsignore addendum.
3496
3497 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3498
3499         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3500           (GST_DEBUG_BIN_TO_DOT_FILE):
3501           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3502           to it in the docs (since these are macros the types of the arguments
3503           won't be shown in the docs otherwise).
3504
3505 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3506
3507         * gst/gstpad.c:
3508           Do not abort on out of memory for pad_alloc_buffer.
3509
3510 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3511
3512         * libs/gst/check/gstcheck.c:
3513           Remove blank line between symbol name ad parameters to fix gtkdoc
3514           warning.
3515
3516 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3517
3518         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3519
3520         * docs/gst/gstreamer-sections.txt:
3521         * gst/gstsegment.c:
3522         * gst/gstsegment.h:
3523         * win32/common/libgstreamer.def:
3524           Expose gst_segment_copy() to make things easier for the c++ bindings.
3525           Fixes #518932.
3526           API: gst_segment_copy()
3527
3528 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3529
3530         * gst/gst.c: (gst_init_get_option_group), (init_post):
3531           Fix const position; ref GType classes for enum types to work
3532           around thread-safety issues in GLib versions < 2.16.
3533
3534 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3535
3536         * docs/design/part-buffering.txt:
3537         Fix some typos and set the estimated total for push mode to -1.
3538
3539         * gst/gstquery.c: (gst_query_new_buffering):
3540         Set buffering-left to 0 as we're not buffering by default.
3541
3542         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3543         Implement BUFFERING query.
3544
3545 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3546
3547         Based on patch by: Milosz Derezynski <internalerror gmail com>
3548
3549         * gst/gsterror.c: (_gst_stream_errors_init):
3550         * gst/gsterror.h:
3551           Add two new error codes for encrypted content. Fixes #524659.
3552           API: GST_STREAM_ERROR_DECRYPT
3553           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3554
3555 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3556
3557         * gst/gstquery.h:
3558           Fix typo.
3559
3560         * win32/common/libgstreamer.def:
3561           Add new functions.
3562
3563 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3564
3565         * plugins/elements/gstidentity.c: (gst_identity_event),
3566         (gst_identity_start):
3567         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3568         event after processing some data. Fixes bug #526042.
3569
3570 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3571
3572         * docs/gst/gstreamer-sections.txt:
3573         * gst/gstquery.c: (gst_query_parse_latency),
3574         (gst_query_set_buffering_percent),
3575         (gst_query_parse_buffering_percent),
3576         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3577         * gst/gstquery.h:
3578         Rename _avail -> _range
3579         API: gst_query_set_buffering_range
3580         API: gst_query_parse_buffering_range
3581
3582 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3583
3584         * docs/design/part-buffering.txt:
3585         * gst/gstquark.c:
3586         * gst/gstquark.h:
3587         * gst/gstquery.c: (gst_query_parse_latency),
3588         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3589         (gst_query_parse_buffering_percent):
3590         * gst/gstquery.h:
3591         Add busy field and quark for the buffering query so that the app can
3592         only use the query to see if buffering is in progress.
3593
3594 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3595
3596         * docs/gst/gstreamer-sections.txt:
3597         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3598         (gst_message_parse_buffering_stats):
3599         * gst/gstmessage.h:
3600         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3601         (gst_query_parse_latency), (gst_query_new_buffering),
3602         (gst_query_set_buffering_percent),
3603         (gst_query_parse_buffering_percent),
3604         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3605         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3606         * gst/gstquery.h:
3607         Reorder the message docs and headers for clarity.
3608         Add aditional buffering stats API for messages.
3609         Add buffering query.
3610         Convert some leftover queries to use GstQuark.
3611         API: gst_message_set_buffering_stats
3612         API: gst_message_parse_buffering_stats
3613         API: GST_QUERY_BUFFERING
3614         API: GstBufferingMode
3615         API: gst_query_new_buffering
3616         API: gst_query_set_buffering_percent
3617         API: gst_query_parse_buffering_percent
3618         API: gst_query_set_buffering_stats
3619         API: gst_query_parse_buffering_stats
3620
3621 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3622
3623         * gst/gstmessage.c: (gst_message_new_error),
3624         (gst_message_new_warning), (gst_message_new_info),
3625         (gst_message_new_buffering), (gst_message_new_state_changed),
3626         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3627         (gst_message_new_new_clock), (gst_message_new_segment_start),
3628         (gst_message_new_segment_done), (gst_message_new_duration),
3629         (gst_message_new_async_start), (gst_message_parse_buffering),
3630         (gst_message_parse_state_changed),
3631         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3632         (gst_message_parse_new_clock), (gst_message_parse_error),
3633         (gst_message_parse_warning), (gst_message_parse_info),
3634         (gst_message_parse_segment_start),
3635         (gst_message_parse_segment_done), (gst_message_parse_duration),
3636         (gst_message_parse_async_start):
3637         Use GstQuark for messages.
3638
3639 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3640
3641         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3642         * gst/gstquark.h:
3643         Add some more quarks needed for messages and queries.
3644
3645 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3646
3647         * docs/design/part-buffering.txt:
3648         Remove the "none" buffering mode, STREAM is a good default.
3649         Move estimated-time to the avail query, that's when it will be needed.
3650         Other small typo fixes and updates.
3651
3652 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3653
3654         * gst/gstindex.c: (gst_index_resolver_get_type):
3655           Don't put descriptions into the nick field of a GEnumValue: it's not
3656           meant for that and some language bindings rely on the nick field to
3657           construct constants and the like. Fixes #526705.
3658
3659 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3660
3661         * NEWS:
3662         * RELEASE:
3663         * gstreamer.doap:
3664           Merge other changes from 0.10.19 release branch.
3665
3666 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3667
3668         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3669
3670         * configure.ac:
3671         Actually build dlls when cross-compiling with mingw32.
3672         Fixes bug #526247.
3673
3674 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3675
3676         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3677
3678         * gst/gstpoll.c:
3679         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3680
3681 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3682
3683         * docs/design/draft-latency.txt:
3684         Fix typo.
3685
3686         * docs/design/part-buffering.txt:
3687         Update design docs with more buffering ideas.
3688
3689 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3690
3691         * configure.ac:
3692           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3693
3694 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3695
3696         * configure.ac:
3697           Revert part that belongs to the preset patch.
3698
3699 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3700
3701         * configure.ac:
3702           Add qoutes to the define. Fixes # 525961.
3703
3704 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3705
3706         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3707         (gst_file_index_load), (gst_file_index_add_id),
3708         (gst_file_index_get_assoc_entry):
3709         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3710         (gst_mem_index_free_id), (gst_mem_index_add_id),
3711         (gst_mem_index_index_format):
3712         Use GSlice when possible.
3713
3714 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3715
3716         * libs/gst/controller/gstinterpolationcontrolsource.c:
3717         (gst_control_point_free),
3718         (gst_interpolation_control_source_set_internal):
3719         Use GSlice for allocating the control points.
3720
3721 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3722
3723         * plugins/elements/gsttypefindelement.c:
3724         (gst_type_find_element_class_init),
3725         (gst_type_find_element_set_property),
3726         (gst_type_find_element_get_property),
3727         (gst_type_find_element_activate):
3728         * plugins/elements/gsttypefindelement.h:
3729         Cleanup properties.
3730         Fix pad leak when peer query fails.
3731         We can still typefind when the peer returns -1.
3732         Add property to force caps and bypass typefinding. This will be used in
3733         uridecodebin.
3734         API::force-caps
3735
3736 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3737
3738         * configure.ac:
3739         Require GLib 2.12.
3740
3741         * gst/glib-compat-private.h:
3742         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3743         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3744         Unconditionally use GSlice for allocation.
3745
3746         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3747         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3748         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3749         (gst_structure_free):
3750         Use GSlice for allocation.
3751
3752 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3753
3754         * gst/parse/Makefile.am:
3755         * gst/parse/grammar.tab.pre.c:
3756         * gst/parse/grammar.tab.pre.h:
3757         * gst/parse/lex._gst_parse_yy.pre.c:
3758         Require a new enough flex and bison and remove the parser hacks to use
3759         a pre-regenerated version.
3760
3761 2008-04-01  Julien Moutte  <julien@fluendo.com>
3762
3763         patch by: Jason Zhao <E3423C@motorola.com>
3764
3765         * configure.ac: Add a configure switch to disable option parsing
3766         in gst_init.
3767         Fixes #522882.
3768
3769 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3770
3771         * configure.ac:
3772         * gst/gstregistry.c:
3773           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3774           and handle this case.
3775
3776         * gst/gst.c:
3777           Add a comment here describing, why we stat each plugin and not try to
3778           be smart.
3779
3780 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3781
3782         * libs/gst/base/gstbasetransform.c:
3783         (gst_base_transform_prepare_output_buffer):
3784         Also unset the GAP flag on buffers if we're working inplace but
3785         the element is not GAP-aware.
3786
3787         Mark a comment as FIXME 0.11.
3788
3789 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3790
3791         * gst/gst.c:
3792           Fix type in log message and add one to ease seeing how long registry
3793           cache verification takes.
3794
3795         * gst/gstregistry.c:
3796           Only test plugin filenames against G_MODULE_SUFFIX.
3797
3798 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3799
3800         * gst/gstdebugutils.c:
3801           Improve handling ghost/proxy pads.
3802
3803 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3804
3805         * docs/gst/gstreamer-sections.txt:
3806         * gst/gstpad.c:
3807         * gst/gstpad.h:
3808           Expose macro to docs and fix link to it.
3809
3810 2008-03-27  Michael Smith <msmith@fluendo.com>
3811
3812         * libs/gst/dataprotocol/dataprotocol.c:
3813         (gst_dp_packet_from_event_1_0):
3814           When calculating GDP body CRC, use the correct pointer. 
3815           Fixes part of #522401.
3816
3817 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3818
3819         Patch by: Mark Nauwelaerts <manauw at skynet be>
3820
3821         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3822         (gst_identity_init), (gst_identity_prepare_output_buffer):
3823         Identity is not always a passthrough element, it can modify the buffer
3824         timestamps when it has a datarate and operates in single-segment mode.
3825         We therefore make it an in_place filter with a custom buffer prepare
3826         function that conditionally makes the input buffer metadata writable
3827         when needed.  Fixes #523985.
3828
3829 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3830
3831         Patch by: Mark Nauwelaerts <manauw at skynet be>
3832
3833         * gst/gstclock.h:
3834         * libs/gst/base/gstbasesrc.h:
3835         * libs/gst/base/gstbasetransform.c:
3836         * libs/gst/check/gstcheck.c:
3837         Small documentation fixes. Fixes #523978.
3838
3839 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3840
3841         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3842         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3843         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3844
3845 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3846
3847         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3848         (single_queue_underrun_cb):
3849         When trying to make room in the queue, bump the max allowed buffers
3850         bigger than the current amount of buffers in the queue. this fixes some
3851         nasty deadlocks in multiqueue when dynamically changing the limits of
3852         the queue.
3853
3854 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3855
3856         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3857
3858         * gst/gstcaps.c: (gst_caps_set_simple),
3859         (gst_caps_set_simple_valist), (gst_caps_intersect):
3860         * gst/gstcaps.h:
3861         Constify the field gchar * params in set_simple and friends.
3862         Fixes #522326.
3863
3864 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3865
3866         * gst/gstvalue.c: (gst_value_transform_object_string):
3867         Transform a GstObject to a more meaningfull string that includes the
3868         object type in addition to its name.
3869
3870 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3871
3872         * ChangeLog:
3873           ChangeLog surgery to add bugnumber to commit.
3874
3875 2008-03-23  Rene Stadler  <mail@renestadler.de>
3876
3877         * libs/gst/base/gstbasetransform.c:
3878         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3879
3880 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3881
3882         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3883         Rename constant everywhere and don't forget one occurence.
3884
3885 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3886
3887         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3888         Align memory to the pointer size even if the architecture allows
3889         unaligned memory access. Unaligned memory access usually comes with
3890         performance penality.
3891
3892 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3893
3894         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3895         (gst_registry_binary_check_magic),
3896         (gst_registry_binary_load_pad_template),
3897         (gst_registry_binary_load_feature),
3898         (gst_registry_binary_load_plugin):
3899         Align memory to the pointer size instead of always 32 bit. Fixes
3900         unaligned memory accesses on ia64 and friends.
3901
3902         * gst/gstregistrybinary.h:
3903         Bump binary registry format version for this as it changes the
3904         format on those architectures that don't have unaligned access
3905         and 64 bit pointers.
3906
3907 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3908
3909         * docs/pwg/advanced-dparams.xml:
3910         * docs/pwg/building-props.xml:
3911         * docs/pwg/other-source.xml:
3912         * gst/glib-compat.h:
3913         * gst/gstbin.c: (gst_bin_class_init):
3914         * gst/gstclock.c: (gst_clock_class_init):
3915         * gst/gstindex.c: (gst_index_class_init):
3916         * gst/gstobject.c: (gst_object_class_init):
3917         * gst/gstpad.c: (gst_pad_class_init):
3918         * gst/gstpipeline.c: (gst_pipeline_class_init):
3919         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3920         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3921         * libs/gst/base/gstbasetransform.c:
3922         (gst_base_transform_class_init):
3923         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3924         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3925         (_gst_check_fault_handler_sighandler),
3926         (_gst_check_fault_handler_setup), (gst_check_init):
3927         * libs/gst/controller/gstcontroller.c:
3928         (_gst_controller_class_init):
3929         * libs/gst/controller/gstlfocontrolsource.c:
3930         (gst_lfo_control_source_class_init):
3931         * libs/gst/net/gstnetclientclock.c:
3932         (gst_net_client_clock_class_init):
3933         * libs/gst/net/gstnettimeprovider.c:
3934         (gst_net_time_provider_class_init):
3935         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3936         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3937         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3938         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3939         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3940         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3941         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3942         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3943         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3944         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3945         * plugins/elements/gsttee.c: (gst_tee_class_init):
3946         * plugins/elements/gsttypefindelement.c:
3947         (gst_type_find_element_class_init):
3948         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3949         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3950         use it everywhere for GParamSpecs that use static strings (i.e. all).
3951         This gives us less memory usage, fewer allocations and thus less
3952         memory defragmentation. Fixes bug #523806.
3953
3954 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3955
3956         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3957         (gst_param_spec_mini_object):
3958         * gst/gstminiobject.h:
3959         * win32/common/libgstreamer.def:
3960         * docs/gst/gstreamer-sections.txt:
3961         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3962         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3963         GstParamSpecMiniObject into a public header for this.
3964
3965         This make GstMiniObject a bit more consistent with GObject and makes
3966         it possible to extend the param specs.
3967
3968         gst_value_dup_mini_object is mainly useful for set_property methods.
3969
3970         Fixes bug #523798.
3971
3972         * tools/gst-inspect.c: (print_element_properties_info):
3973         Print something useful for GstMiniObject properties and not just
3974         "unknown type".
3975
3976 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3977
3978         * docs/gst/gstreamer-sections.txt:
3979         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3980         (gst_registry_binary_check_magic):
3981         * gst/gstregistrybinary.h:
3982         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3983         and add it to the (private part) of the docs to fix the build.
3984
3985 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
3986
3987         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3988         (gst_registry_binary_check_magic),
3989         (gst_registry_binary_read_cache):
3990         * gst/gstregistrybinary.h:
3991         Don't use GST_MAJORMINOR for the binary registry version. Instead
3992         hardcode a value that must be changed whenever the format changes
3993         in an incompatible way.
3994         Also don't GST_ERROR when there is a version mismatch, just
3995         regenerate the registry silently.
3996
3997 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
3998
3999         * configure.ac:
4000         Back to development - 0.10.18.1
4001
4002 === release 0.10.18 ===
4003
4004 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4005
4006         * configure.ac:
4007           releasing 0.10.18, "So far away"
4008
4009 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4010
4011         * configure.ac:
4012         * win32/common/config.h:
4013         0.10.17.4 pre-release
4014
4015 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4016
4017         Patch by: Ole André Vadla Ravnås
4018             <ole dot andre dot ravnas at tandberg dot com>
4019
4020         * docs/gst/gstreamer-sections.txt:
4021         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4022         (gst_poll_update_winsock_event_mask),
4023         (gst_poll_prepare_winsock_active_sets),
4024         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4025         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4026         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4027         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4028         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4029         * gst/gstpoll.h:
4030         * win32/common/libgstreamer.def:
4031         Add new function gst_poll_fd_ignored() for improved Windows
4032         compatibility.
4033         Various minor fixes and cleanups. See #520808.
4034
4035 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4036
4037         * gst/gstindex.c: (gst_index_entry_free):
4038         * gst/gstindex.h:
4039           Don't free key strings which we don't own. Fixes crash in
4040           gst_index_entry_free() (#522741).
4041
4042         * tests/check/Makefile.am:
4043         * tests/check/gst/.cvsignore:
4044         * tests/check/gst/gstindex.c: (test_index_entries),
4045           (gst_index_suite), (gst_index):
4046           Add unit test for the above.
4047
4048 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4049
4050         * win32/common/libgstreamer.def:
4051         Remove symbols that were removed recently. Fixes bug #521740.
4052
4053 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4054
4055         * configure.ac:
4056         * win32/common/config.h:
4057         0.10.17.3 pre-release
4058
4059 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4060
4061         Patch by: Ole André Vadla Ravnås
4062             <ole dot andre dot ravnas at tandberg dot com>
4063
4064         * docs/gst/gstreamer-sections.txt:
4065         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4066         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4067         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4068         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4069         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4070         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4071         (gst_poll_fd_can_write), (gst_poll_wait),
4072         (gst_poll_set_controllable), (gst_poll_restart),
4073         (gst_poll_set_flushing):
4074         * gst/gstpoll.h:
4075         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4076         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4077         (gst_net_time_provider_new):
4078         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4079         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4080         * tests/benchmarks/gstpollstress.c: (main):
4081         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4082         Remove GstPollMode from the API, it does not make sense to let the
4083         application control this.
4084         Add support for Win32.
4085         Fix the testsuite. Fixes #520671.
4086
4087 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4088
4089         Patch by: Ole André Vadla Ravnås
4090             <ole dot andre dot ravnas at tandberg dot com>
4091
4092         * gst/gstregistrybinary.c:
4093         Include io.h for write() and close() when building with MSVC. Fixes
4094         bug #520877.
4095
4096 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4097
4098         * configure.ac:
4099         * gst/gst_private.h:
4100         * gst/gstconfig.h.in:
4101         * gst/gstregistry.h:
4102         * gst/gstregistrybinary.c:
4103         * win32/common/gstconfig.h:
4104           Move registry backend API to private headers where we can. Add
4105           fixme-0.11 comments for the others. Add stubs for the xml backend when
4106           using the binary to ensure they functions exists (they should not be
4107           used though). Fixes #520756.
4108
4109 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4110
4111         * configure.ac:
4112         * win32/common/config.h:
4113         0.10.17.2 prelease
4114
4115 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4116
4117         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4118         (gst_registry_binary_read_cache):
4119         * gst/gstregistryxml.c: (gst_registry_save):
4120         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4121         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4122         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4123         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4124         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4125         Fixes #520152
4126
4127 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4128
4129         * gst/gstminiobject.c:
4130         Import gst_private.h before any other header that might include other
4131         glib headers. This fixes the build on windows using native compilers.
4132
4133 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4134
4135         * win32/common/gstconfig.h:
4136           Add here too, just for completeness.
4137
4138 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4139
4140         * configure.ac:
4141         * gst/gstconfig.h.in:
4142         * gst/gstregistry.h:
4143           Fix broken use of config.h-defined preprocessor directive in a public
4144           header file. Add a corresponding define to gstconfig.h, since we can't
4145           really remove those function declarations from the header file now
4146           (or can we? and why are they there in the first place?).
4147
4148 2008-03-03  Andy Wingo  <wingo@pobox.com>
4149
4150         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4151         the new warning.
4152
4153         * gst/gststructure.c (gst_structure_from_string): Warn if
4154         structure_from_string didn't consume the whole string, but the
4155         caller did not provide an end pointer.
4156
4157 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4158
4159         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4160
4161         * gst/gstregistryxml.c: (read_string), (load_feature):
4162           Strings allocated by libxml2 should be freed with xmlFree(), not
4163           with g_free(). Fixes issues on windows in certain contexts (#519698).
4164
4165 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4166
4167         * gst/gstinterface.c: (gst_element_implements_interface):
4168           Don't crash if the element supports the interface queried, but does
4169           not implement GstImplementsInterface. Fixes #519584.
4170
4171         * tests/check/Makefile.am:
4172         * tests/check/gst/.cvsignore:
4173         * tests/check/gst/gstinterface.c:
4174           Add unit test for the above.
4175
4176 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4177
4178         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4179         Small doc update.
4180
4181 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4182
4183         * gst/gstsegment.c: (gst_segment_set_seek),
4184         (gst_segment_to_stream_time):
4185         Improve some comment.
4186         Update variables where it makes more sense.
4187
4188 2008-02-29  Rene Stadler  <mail@renestadler.de>
4189
4190         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4191         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4192         URIHandlers implemented using language bindings.
4193
4194 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4195
4196         * gst/gstelementfactory.h:
4197         * tests/check/elements/fakesink.c:
4198         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4199         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4200         * tests/check/elements/filesink.c: (setup_filesink):
4201         * tests/check/elements/filesrc.c: (setup_filesrc):
4202         * tests/check/elements/identity.c: (setup_identity):
4203         * tests/check/elements/tee.c:
4204         * tests/check/generic/sinks.c:
4205         * tests/check/generic/states.c: (setup), (teardown):
4206         * tests/check/gst/gst.c:
4207         * tests/check/gst/gstabi.c:
4208         * tests/check/gst/gstbin.c:
4209         * tests/check/gst/gstbus.c: (pull_messages):
4210         * tests/check/gst/gstcaps.c:
4211         * tests/check/gst/gstelement.c:
4212         * tests/check/gst/gstevent.c:
4213         * tests/check/gst/gstghostpad.c:
4214         * tests/check/gst/gstiterator.c:
4215         * tests/check/gst/gstmessage.c:
4216         * tests/check/gst/gstminiobject.c: (my_foo_init):
4217         * tests/check/gst/gstobject.c: (thread_name_object),
4218         (gst_object_suite):
4219         * tests/check/gst/gstpad.c:
4220         * tests/check/gst/gstplugin.c:
4221         * tests/check/gst/gstpoll.c:
4222         * tests/check/gst/gstquery.c:
4223         * tests/check/gst/gstsegment.c:
4224         * tests/check/gst/gststructure.c:
4225         * tests/check/gst/gstsystemclock.c:
4226         * tests/check/gst/gsttask.c:
4227         * tests/check/gst/gstutils.c:
4228         * tests/check/gst/gstvalue.c:
4229         * tests/check/gst/struct_hppa.h:
4230         * tests/check/gst/struct_i386.h:
4231         * tests/check/gst/struct_ppc32.h:
4232         * tests/check/gst/struct_ppc64.h:
4233         * tests/check/gst/struct_x86_64.h:
4234         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4235         * tests/check/libs/basesrc.c:
4236         * tests/check/libs/controller.c: (GST_START_TEST):
4237         * tests/check/libs/gdp.c:
4238         * tests/check/libs/gstnetclientclock.c:
4239         * tests/check/libs/gstnettimeprovider.c:
4240         * tests/check/libs/libsabi.c:
4241         * tests/check/libs/struct_hppa.h:
4242         * tests/check/libs/struct_i386.h:
4243         * tests/check/libs/struct_ppc32.h:
4244         * tests/check/libs/struct_ppc64.h:
4245         * tests/check/libs/struct_x86_64.h:
4246         * tests/check/pipelines/cleanup.c:
4247         * tests/check/pipelines/simple-launch-lines.c:
4248         * tests/check/pipelines/stress.c:
4249         And correct even more valid sparse warnings.
4250
4251         * win32/common/libgstreamer.def:
4252         Add gst_poll_fd_init to the list of symbols.
4253
4254 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4255
4256         * gst/gstconfig.h.in:
4257         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4258         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4259         (gst_check_log_critical_func), (gst_check_drop_buffers),
4260         (gst_check_element_push_buffer_list):
4261         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4262         (gst_controller_get_type):
4263         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4264         (gst_object_get_controller), (gst_object_get_control_source):
4265         * libs/gst/controller/gstinterpolationcontrolsource.c:
4266         (gst_interpolation_control_source_new):
4267         * libs/gst/controller/gstlfocontrolsource.c:
4268         (gst_lfo_control_source_new):
4269         * libs/gst/dataprotocol/dataprotocol.c:
4270         (gst_dp_event_from_packet_0_2):
4271         * plugins/elements/gstfdsrc.c:
4272         * plugins/elements/gstmultiqueue.c:
4273         * plugins/elements/gsttee.c:
4274         * plugins/elements/gsttypefindelement.c:
4275         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4276         (gst_file_index_add_association):
4277         * plugins/indexers/gstmemindex.c:
4278         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4279         * tests/check/elements/queue.c: (setup_queue):
4280         * tests/check/gst/gstpipeline.c:
4281         * tests/check/libs/collectpads.c: (setup), (teardown),
4282         (gst_collect_pads_suite):
4283         * tests/examples/adapter/adapter_test.c:
4284         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4285         * tests/examples/xml/createxml.c:
4286         * tests/examples/xml/runxml.c:
4287         * tools/gst-inspect.c:
4288         * tools/gst-run.c:
4289         Correct all relevant warnings found by the sparse semantic code
4290         analyzer. This include marking several symbols static, using
4291         NULL instead of 0 for pointers, not using variable sized arrays
4292         on the stack, moving variable declarations to the beginning of
4293         a block and using "foo (void)" instead of "foo ()" for declarations.
4294
4295 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4296
4297         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4298         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4299         Don't reset GstPollFDs, this is not necessary at all.
4300
4301         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4302         (delayed_restart), (delayed_control):
4303         Use GST_POLL_FD_INIT.
4304
4305 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4306
4307         * gst/gstpoll.c: (gst_poll_fd_init):
4308         * gst/gstpoll.h:
4309         Added Since tags.
4310
4311         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4312         Use some more init macros.
4313
4314 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4315
4316         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4317         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4318         Use init macros and functions.
4319
4320 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4321
4322         * docs/gst/gstreamer-sections.txt:
4323         * gst/gstpoll.c: (gst_poll_fd_init):
4324         * gst/gstpoll.h:
4325         Add INIT macro and _init method for initializing the GstPollFD.
4326
4327 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4328
4329         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4330         (gst_fd_sink_update_fd):
4331         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4332         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4333         (delayed_restart), (delayed_control):
4334         Initialize some uninitialized variables as spotted by valgrind.
4335
4336 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4337
4338         * tests/benchmarks/Makefile.am:
4339         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4340         (main):
4341         Add poll stress test.
4342
4343 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4344
4345         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4346
4347         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4348         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4349         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4350         * plugins/elements/gstfdsink.h:
4351         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4352         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4353         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4354         (gst_fd_src_uri_set_uri):
4355         * plugins/elements/gstfdsrc.h:
4356         Port to GstPoll. See #505417.
4357
4358 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4359
4360         * win32/common/libgstreamer.def:
4361         Add new gst_poll_ symbols to win32 defs.
4362
4363 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4364
4365         * docs/libs/gstreamer-libs-sections.txt:
4366         * libs/gst/net/gstnetclientclock.c:
4367         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4368         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4369         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4370         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4371         * libs/gst/net/gstnetclientclock.h:
4372         * libs/gst/net/gstnettimeprovider.c:
4373         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4374         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4375         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4376         (gst_net_time_provider_new):
4377         * libs/gst/net/gstnettimeprovider.h:
4378         Use a private stuct to not break ABI.
4379
4380 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4381
4382         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4383
4384         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4385         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4386         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4387         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4388         * libs/gst/net/gstnetclientclock.h:
4389         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4390         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4391         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4392         (gst_net_time_provider_new):
4393         * libs/gst/net/gstnettimeprovider.h:
4394         Massive code removal and cleanups because of GstPoll.
4395         Fixes #505417.
4396
4397 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4398
4399         * configure.ac:
4400         Add checks for poll, ppoll and pselect.
4401
4402         * docs/gst/gstreamer-docs.sgml:
4403         * docs/gst/gstreamer-sections.txt:
4404         Add docs for GstPoll.
4405
4406         * gst/Makefile.am:
4407         * gst/gst.h:
4408         * gst/gstpoll.c: (find_index), (selectable_fds),
4409         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4410         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4411         (gst_poll_set_mode), (gst_poll_get_mode),
4412         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4413         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4414         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4415         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4416         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4417         (gst_poll_fd_can_write), (gst_poll_wait),
4418         (gst_poll_set_controllable), (gst_poll_restart),
4419         (gst_poll_set_flushing):
4420         * gst/gstpoll.h:
4421         Add generic poll abstraction. We ideally don't want to have this in core
4422         here but in glib intead...
4423         This code will be used in various network elements and ultimately for
4424         the nanosecond precision monotonic clock (that's why it's here in core).
4425         It'll allow us to implement cancelable socket operations for windows too.
4426
4427         * tests/check/Makefile.am:
4428         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4429         (delayed_stop), (delayed_restart), (delayed_flush),
4430         (delayed_control), (gst_poll_suite):
4431         Add GstPoll unit test.
4432
4433 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4434
4435         * gst/gstfilter.c:
4436           Improve documentation of gst_filter_run(). Fixes #518627.
4437
4438 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4439
4440         * docs/README:
4441           Add a few lines about the new 'check-inspected-versions' target.
4442
4443 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4444
4445         * tests/check/gst/gstevent.c:
4446           Add qos to the event test. Rename tcase/tsuite; is not only about
4447           custom events.
4448
4449 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4450
4451         * plugins/elements/gstqueue.c:
4452           Ensure that buffer metadata is writeable, before modifying. Spotted by
4453           Mike.
4454
4455 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4456
4457         * plugins/elements/gstqueue.c:
4458         * plugins/elements/gstqueue.h:
4459           When dropping buffers in leaky modes, mark next buffers we sent as
4460           DISCONT.
4461
4462 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4463
4464         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4465           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4466
4467 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4468
4469         * plugins/elements/Makefile.am:
4470         * plugins/elements/gstbufferstore.c:
4471         * plugins/elements/gstbufferstore.h:
4472         * plugins/elements/gsttypefindelement.h:
4473           Remove GstBufferStore, no idea why we were still building it.
4474           It's not used anywhere and superseded by GstAdapter.
4475
4476         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4477           (gst_file_src_create_mmap):
4478         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4479           Printf format fixes for 64-bit integers.
4480
4481 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4482
4483         * configure.ac:
4484         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4485         We're not in 0.8 times anymore.
4486
4487 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4488
4489         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4490         (gst_check_element_push_buffer_list):
4491         * libs/gst/check/gstcheck.h:
4492         Make the declaration in the header for
4493         gst_check_element_push_buffer_list match the implementation.
4494
4495         Fix up spelling, grammar and wording of the documentation in a few
4496         places, and add the Since keyword to new API functions.
4497         Use g_list_delete_link instead of g_list_remove in
4498         gst_check_drop_buffers, since it's immeasurably more efficient.
4499
4500         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4501         Use new gst_check_drop_buffers function where appropriate.
4502
4503         * win32/common/libgstbase.def:
4504         * win32/common/libgstreamer.def:
4505         Add new symbols gst_collect_pads_take_buffer, 
4506         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4507         exports
4508
4509         Changelog surgery to add API keyword to new gst_check API.
4510
4511 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4512
4513         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4514         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4515         Update pre-generated flex files with flex 2.3.34.
4516
4517 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4518
4519         * gst/gstminiobject.c:
4520           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4521           friendly to subclasses and not require them to know all internals
4522           of their parent class.
4523
4524 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4525
4526         * docs/libs/gstreamer-libs-sections.txt:
4527         * libs/gst/base/gstcollectpads.c:
4528         * libs/gst/base/gstcollectpads.h:
4529           Add sub-buffer functions to collectpads. Fixes #516187.
4530           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4531
4532 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4533
4534         * gst/gstbuffer.c:
4535           Copy selected buffer-flags when creating subbuffers.
4536           Fixes #516395.
4537
4538 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4539
4540         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4541         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4542         * gst/gstmessage.c: (gst_message_class_init),
4543         (gst_message_finalize):
4544         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4545         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4546         (gst_mmap_buffer_finalize):
4547         Properly chain up finalize functions to the parent class.
4548
4549 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4550
4551         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4552
4553         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4554         (gst_index_set_resolver_full):
4555         * gst/gstindex.h:
4556         Add new function with option to dispose of user_data in resolver.
4557         Actually call the dispose function when finalizing the object and not
4558         just when changing the resolver/filter.
4559         API: GstIndex::gst_index_set_resolver_full()
4560
4561         * docs/gst/gstreamer-sections.txt:
4562         Add new function to docs. Fixes #515469.
4563
4564 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4565
4566         * gst/gstindex.c: (gst_index_finalize):
4567         Chain up finalize to the parent class. Fixes leaking the GstObject
4568         name and other things.
4569
4570 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4571
4572         * configure.ac:
4573         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4574         pre-releases or releases.
4575
4576         * docs/faq/gst-uninstalled:
4577         Add gst-plugins-gl
4578
4579         * docs/random/release:
4580         Change one of the steps - we only upload core & base to Gnome FTP
4581
4582 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4583
4584         * gst/gstconfig.h.in:
4585           Add 'id' for example.
4586
4587         * gst/gstpad.c:
4588         * gst/gstutils.c:
4589         * plugins/elements/gstfdsink.c:
4590           Link to signals. Doc and comment fixes.
4591
4592 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4593
4594         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4595         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4596           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4597           unused and unimplemented; finally, it is plugin features, not
4598           plugins, that have ranks.
4599           
4600 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4601
4602         * gst/gstpluginfeature.h:
4603           Clarify GstRank range docs.
4604
4605 2008-02-05  David Schleef  <ds@schleef.org>
4606
4607         * gst/gst.c: Add a separate gst_deinitialized that prevents
4608           gst_init() from being called after gst_deinit().  Fixes #509559
4609
4610 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4611
4612         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4613         (gst_bin_class_init):
4614         * gst/gstelement.c: (gst_element_base_class_init),
4615         (gst_element_class_add_pad_template):
4616         * gst/gstpadtemplate.c: (gst_pad_template_init):
4617         * gst/gstpipeline.c: (gst_pipeline_get_type),
4618         (gst_pipeline_base_init), (gst_pipeline_class_init):
4619         * libs/gst/base/gstbasesink.c:
4620         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4621         (gst_base_src_base_init), (gst_base_src_class_init):
4622         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4623         (gst_capsfilter_class_init):
4624         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4625         (gst_fake_sink_class_init):
4626         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4627         (gst_fake_src_class_init):
4628         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4629         (gst_fd_sink_class_init):
4630         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4631         (gst_fd_src_class_init):
4632         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4633         (gst_file_sink_class_init):
4634         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4635         (gst_file_src_class_init):
4636         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4637         (gst_identity_class_init):
4638         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4639         (gst_multi_queue_class_init):
4640         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4641         (gst_queue_class_init):
4642         * plugins/elements/gsttee.c: (gst_tee_base_init),
4643         (gst_tee_class_init):
4644         * plugins/elements/gsttypefindelement.c:
4645         (gst_type_find_element_base_init),
4646         (gst_type_find_element_class_init):
4647         * tests/check/gst/gstelement.c: (gst_element_suite):
4648         Revert previous changes to the behaviour of GstPadTemplates, etc
4649         and the possiblity to call them in class_init as it breaks too
4650         many elements. Reopens bug #491501.
4651
4652         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4653         several places.
4654
4655 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4656
4657         * tools/gst-launch.c:
4658         Dump one graph per pipeline state-change and state change name
4659         (if GST_DEBUG_DUMP_DOT_DIR is set).
4660
4661 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4662
4663         * gst/gstpad.c:
4664         * tests/check/gst/gstpad.c:
4665         Be sure that we have a new copy of the caps and not
4666         reffed caps from a template
4667
4668 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4669
4670         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4671         * gst/gstpipeline.c: (gst_pipeline_get_type),
4672         (gst_pipeline_class_init):
4673         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4674         (gst_base_sink_class_init):
4675         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4676         (gst_base_src_class_init):
4677         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4678         (gst_base_transform_class_init):
4679         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4680         (gst_collect_pads_class_init):
4681         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4682         * libs/gst/net/gstnettimeprovider.c:
4683         (gst_net_time_provider_base_init),
4684         (gst_net_time_provider_class_init):
4685         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4686         (gst_capsfilter_class_init):
4687         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4688         (gst_fake_sink_class_init):
4689         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4690         (gst_fake_src_class_init):
4691         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4692         (gst_fd_sink_class_init):
4693         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4694         (gst_fd_src_class_init):
4695         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4696         (gst_file_sink_class_init):
4697         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4698         (gst_file_src_class_init):
4699         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4700         (gst_identity_class_init):
4701         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4702         (gst_multi_queue_class_init):
4703         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4704         (gst_queue_class_init):
4705         * plugins/elements/gsttee.c: (gst_tee_base_init),
4706         (gst_tee_class_init):
4707         * plugins/elements/gsttypefindelement.c:
4708         (gst_type_find_element_base_init),
4709         (gst_type_find_element_class_init):
4710         Don't use base_init where not absolutely necessary. For example it's
4711         not necessary anymore for adding pad templates or setting element
4712         details.
4713
4714         Leave empty base_init functions in several places as GST_BOILERPLATE
4715         still defines and uses them.
4716
4717 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4718
4719         * gst/gstelement.c: (gst_element_base_class_init),
4720         (gst_element_class_add_pad_template):
4721         * gst/gstpadtemplate.c:
4722         Make it possible (and recommended) to set element details and add
4723         pad templates in the class_init functions by copying the details/pad
4724         templates in GstElement's base_init.
4725
4726         Also make it possible to replace existing pad templates by adding
4727         a new one with the same name. This was done in a hackish fashion
4728         in same elements before already.
4729
4730         Don't reference pad templates that are added a second time. A
4731         new pad template has a refcount of one and is not floating anymore
4732         and to be owned by the element's class. Make this more explicit by
4733         mentioning it in the docs of gst_element_class_add_pad_template().
4734
4735         These changes are backwards compatible. Fixes bug #491501.
4736
4737         * tests/check/gst/gstelement.c:
4738         Add unit test for setting element details, adding pad templates and
4739         replacing them in a subclass.
4740
4741 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4742
4743         * tools/gst-inspect.c: (print_interfaces),
4744         (print_element_properties_info), (print_pad_info),
4745         (print_signal_info), (print_element_info):
4746         Fix a few memory leaks.
4747
4748 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4749
4750         * docs/libs/gstreamer-libs-sections.txt:
4751         * libs/gst/check/gstcheck.c:
4752         * libs/gst/check/gstcheck.h:
4753         Add more functions for unit testing: gst_check_drop_buffers,
4754         gst_check_caps_equal, gst_check_element_push_buffer_list,
4755         gst_check_element_push_buffer
4756         API: gst_check_drop_buffers
4757         API: gst_check_caps_equal
4758         API: gst_check_element_push_buffer_list
4759         API: gst_check_element_push_buffer
4760
4761 2008-02-01  Julien Moutte  <julien@fluendo.com>
4762
4763         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4764         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4765         (gst_index_finalize), (gst_index_entry_free),
4766         (gst_index_add_association): Fix memory leaks.
4767         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4768         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4769         (gst_mem_index_free_format), (gst_mem_index_free_id),
4770         (gst_mem_index_finalize): Fix memory leaks.
4771         * win32/common/config.h: Updated to CVS HEAD.
4772
4773 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4774
4775         * docs/README:
4776           Some more details about how the plugin docs works.
4777
4778         * docs/plugins/gstreamer-plugins-sections.txt:
4779           Whitespace cleanup.
4780
4781 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4782
4783         * gst/parse/grammar.tab.pre.c:
4784         * gst/parse/grammar.tab.pre.h:
4785         * gst/parse/grammar.y:
4786         * gst/parse/lex._gst_parse_yy.pre.c:
4787           Add delayed set-property. This allows to set properties on dynamicaly
4788           created objects (pads in videomxer). Fixes #509391.
4789
4790 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4791
4792         * gst/gstutils.c:
4793         Check if caps are not NULL (fix bug #510194)
4794
4795 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4796
4797         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4798         (gst_base_sink_get_position_paused):
4799         Add fixme regarding EOS in pull mode.
4800         Fix position reporting in PAUSED for negative rates.
4801
4802 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4803
4804         * gst/gstminiobject.c: (gst_mini_object_replace):
4805         When replacing a miniobject, do a quick equality check first so that we
4806         can avoid a ref/unref pair.
4807
4808 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4809
4810         * docs/design/part-synchronisation.txt:
4811         Update some docs.
4812
4813         * docs/plugins/Makefile.am:
4814         * docs/plugins/gstreamer-plugins-docs.sgml:
4815         * docs/plugins/gstreamer-plugins-sections.txt:
4816         * plugins/elements/gstmultiqueue.c:
4817         Add multiqueue to the docs.
4818
4819 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4820
4821         * configure.ac:
4822           Back to CVS
4823
4824 === release 0.10.17 ===
4825
4826 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4827
4828         * configure.ac:
4829           releasing 0.10.17, "Due Negligence"
4830
4831 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4832
4833         * gst/gstutils.c:
4834         Revert caps != NULL check temporarily for 0.10.17 release.
4835
4836 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4837
4838         * gst/gstutils.c:
4839         Check if caps are not NULL (fix bug #510194)
4840
4841 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4842
4843         * gst/gstutils.c:
4844         Fix compilation on systems that have posix timers but no
4845         monotonic clock.
4846         Fixes: #512715
4847         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4848         dot net>
4849
4850 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4851
4852         * tools/gst-inspect.c:
4853         Revert previous commit in preparation for an impromptu 0.10.17 release
4854
4855 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4856
4857         * tools/gst-inspect.c: (print_interfaces),
4858         (print_element_properties_info), (print_pad_info),
4859         (print_signal_info), (print_element_info):
4860         Fix a few memory leaks.
4861
4862 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4863
4864         * configure.ac:
4865         Back to CVS
4866
4867 === release 0.10.16 ===
4868
4869 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4870
4871         * configure.ac:
4872           releasing 0.10.16, "Special Dispensation"
4873
4874 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4875
4876         * configure.ac:
4877           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4878           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4879           not fail when trying to crosscompile on OpenEmbedded (#511750).
4880
4881 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4882
4883         * docs/manuals.mak:
4884         Use $(MAKE) instead of make to fix the build if GNU make is
4885         called different. Fixes bug #510747.
4886
4887 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4888
4889         * gst/gstplugin.c: (_gst_plugin_initialize):
4890           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4891           again, which I broke two commits ago when changing the API
4892           of gst_plugin_register_static(): the g_list_foreach() in
4893           _gst_plugin_register_static still assumed the old function
4894           signature and would therefore fail (re-fixes #510187).
4895
4896         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4897           (_gst_plugin_register_static), (gst_plugin_register_static):
4898           Revert the (technically correct) change to call g_thread_init() from
4899           the pre-main() constructor. This will break programs which call
4900           g_thread_init() without an if (!g_thread_supported()) guard in their
4901           main function. We could just blame it on GLib or the application, but
4902           it's probably best to just avoid this altogether and simply not use
4903           any GLib functions here and use plain old malloc() with a simple
4904           array to store the plugins to register later when gst_init() is
4905           finally called (re-fixes #510187).
4906
4907         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4908           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4909           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4910           (GST_START_TEST), (gst_plugin_suite):
4911           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4912           works.
4913
4914 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4915
4916         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4917           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4918           This makes gtk-doc complain, but results in slightly better
4919           compiler errors. The old _gst_plugin_register_static() is
4920           still guarded, so there'll be a compiler warning about that
4921           instead. Fixes #510187 too.
4922
4923 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4924
4925         * gst/gst.c: (init_post):
4926         * gst/gstplugin.c: (_gst_plugin_register_static),
4927           (gst_plugin_register_static), (_gst_plugin_initialize):
4928         * gst/gstplugin.h: (GstPluginFilter):
4929           Change API of gst_plugin_register_static() to not take
4930           a GstPluginDesc, but rather just take all the arguments
4931           in a GstPluginDesc directly. This is more intuitive and
4932           avoids certain mistakes when porting code from
4933           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4934           Fixes #510187.
4935
4936         * tests/check/gst/gstplugin.c:
4937           Fix up for changed API.
4938
4939 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4940
4941         * docs/faq/legal.xml:
4942           Update FAQ, Totem actually has an exception these days.
4943
4944 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4945
4946         * win32/common/libgstreamer.def:
4947         Add new API declarations
4948
4949 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4950
4951         * gst/gstminiobject.c:
4952           Spelling fixes for the API docs.
4953
4954 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4955
4956         * libs/gst/base/gstbasetransform.c:
4957           Fix long property description for QoS.
4958
4959 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4960
4961         * gst/gst.c:
4962         _gst_trace_on is already provided by gsttrace.h, no need to declare
4963         it ourselves.
4964
4965         * docs/libs/gstreamer-libs-sections.txt:
4966         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4967         and remove strange tcase_add_test which is outputting a warning.
4968
4969         * libs/gst/check/gstcheck.c:
4970         * libs/gst/check/gstcheck.h:
4971         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4972         and define them in gstcheck.c instead of having every .c file whcih
4973         includes gstcheck.h be defining its own copy and relying on symbol
4974         interposing to marry them all, which doesn't work on Solaris.
4975
4976         * tests/check/elements/identity.c: (GST_START_TEST):
4977         Don't define 'buffers' locally, it comes from libgstcheck.
4978
4979         * tests/check/generic/sinks.c: (send_buffer):
4980         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4981
4982         * tests/check/gst/gststructure.c: (GST_START_TEST):
4983         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4984         * tests/check/gst/gstutils.c: (GST_START_TEST):
4985         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4986         Add a bunch of casts to make various constants fit the types
4987         they're being assigned to.
4988
4989 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
4990
4991         * gst/gstchildproxy.c:
4992           Improve docs and add some ideas for making this more general-purpose.
4993
4994 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4995
4996         * gst/gst_private.h: (GST_CAT_TYPES):
4997           Add GST_CAT_TYPES, for consistency, and so that the other
4998           debug categories don't make fun of it. Spotted by Saur on IRC.
4999
5000 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5001
5002         * gst/parse/Makefile.am:
5003           Move types.h from EXTRA_DIST to noinst_HEADERS.
5004
5005 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5006
5007         * autogen.sh:
5008           Add -Wno-portability to the automake parameters to stop warnings
5009           about GNU make extensions being used. We require GNU make in almost
5010           every Makefile anyway.
5011
5012         * configure.ac:
5013           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5014           at the same time is required for per target flags.
5015
5016 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5017
5018         * gst/gstmacros.h:
5019           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5020           __GNUC__ is defined before using it.
5021
5022 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5023
5024         * docs/gst/gstreamer-sections.txt:
5025         * gst/gst.c: (init_post):
5026         * gst/gstplugin.c: (_gst_plugin_register_static),
5027           (gst_plugin_register_static), (_gst_plugin_initialize),
5028           (gst_plugin_register_func):
5029         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5030           API: add gst_plugin_register_static() and deprecate
5031           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5032           (#498924).
5033           Also, in _gst_plugin_register_static(), make sure to call
5034           g_thread_init() before calling GLib functions such as
5035           g_list_append() if we're not initialised yet, since that
5036           may lead to random crashes with older GSlice/GLib versions.
5037
5038         * tests/check/gst/gstplugin.c:
5039           Adapt unit test to above changes.
5040
5041 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5042
5043         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5044         * gst/gstcaps.c: (gst_caps_to_string):
5045         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5046           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5047           Yet another gratuitous GString micro-optimisation: add a (private)
5048           function that serialises a structure appending to an existing
5049           GString, so that when we serialise caps we don't need to alloc+free
5050           a throwaway GString for each structure (each of which also entailing
5051           multiple reallocs on the way); also use g_string_sized_new() in
5052           various places with an approximate string length to avoid reallocs
5053           within GString. See #500143.
5054
5055 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5056
5057         * gst/gststructure.c: (gst_structure_id_set_value):
5058           Always check UTF-8 conformance of structure strings and not only
5059           if the debugging system is enabled; reasoning: the behaviour of
5060           the actual code shouldn't really change depending on whether the
5061           debugging system is enabled or not (#508291).
5062
5063 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5064
5065         * Makefile.am:
5066           Remove old coverage target in favour of "make lcov".
5067
5068 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5069
5070         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5071         (gst_base_src_loop):
5072         The start segment for reverse playback goes from start to last_stop.
5073
5074 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5075
5076         Patch by: Peter Kjellerstedt <pkj axis com>
5077
5078         * gst/gstclock.h:
5079         Cast the results from the timeval/spec_to_time macros to what the
5080         docs say it casts to, a GstClockTime. fixes #508175.
5081
5082 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5083
5084         * gst/gstbuffer.c:
5085         Update some comments.
5086
5087         * tools/gst-inspect.c: (print_element_properties_info):
5088         Improve printing of flags.
5089
5090 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5091
5092         * libs/gst/base/gstbasetransform.c:
5093           (gst_base_transform_transform_size):
5094           Print element name with g_warning() if there's a problem
5095           with the unit size.
5096
5097 2008-01-07  David Schleef  <ds@schleef.org>
5098
5099         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5100
5101         * libs/gst/controller/gstcontroller.h:
5102         * libs/gst/controller/gstcontrolsource.h:
5103         * libs/gst/controller/gstinterpolationcontrolsource.h:
5104         * libs/gst/controller/gstlfocontrolsource.h:
5105         * libs/gst/dataprotocol/dataprotocol.h:
5106           Fix empty prototypes.  Fixes bug #507957.
5107
5108 2008-01-07  David Schleef  <ds@schleef.org>
5109
5110         * docs/faq/dependencies.xml: Fix typo.
5111
5112 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5113
5114         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5115         (gst_base_src_loop):
5116         Don't update the last_stop position in do_seek, that's the position we
5117         did a seek to.
5118         Read backwards when we have a negative rate.
5119
5120         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5121         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5122         (filesrc_suite):
5123         Add check for reverse reading.
5124
5125 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5126
5127         Patch by: Alexis Ballier <aballier at gentoo org>
5128
5129         * tests/check/gst/gstabi.c:
5130         * tests/check/gst/struct_ppc64.h:
5131         * tests/check/libs/libsabi.c:
5132         * tests/check/libs/struct_ppc64.h:
5133           Decide which header to include based on the userland ABI target
5134           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5135           for 64-bit userland (#503590).  Might need something similar for
5136           x86 too.
5137
5138 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5139
5140         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5141           Log the reason why fopen fails in addition to the fact that it failed.
5142           
5143 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5144
5145         * gst/parse/parse.l:
5146         Use "%option never-interactive" to prevent useless calls to isatty()
5147         on every input when parsing. Also use "%option noinput" to not define
5148         the static input/yyinput functions which we don't use anyway. This
5149         removes a compiler warning with gcc 4.3 and saves some bytes in the
5150         library.
5151         
5152         * gst/parse/lex._gst_parse_yy.pre.c:
5153         Regenerated for the above change.
5154
5155 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5156
5157         * gst/gstpad.c: (fixate_value):
5158         Don't crash when trying to fixate and empty list.
5159         Fixes #506643.
5160
5161 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5162
5163         * docs/faq/gst-uninstalled:
5164         Clarify the comments to make the usage of this script and what it
5165         does easier to understand.
5166
5167 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5168
5169         * tools/gst-plot-timeline.py:
5170         Add more options to gst-plot-timeline
5171
5172 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5173
5174         * docs/design/part-synchronisation.txt:
5175         Some more info on how the stream_time in GstBaseSink is done.
5176
5177 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5178
5179         * tests/check/generic/sinks.c: (gst_sinks_suite):
5180           Put back the tcase_set_timeout(), apparently it's needed after
5181           all; fix it up in a way that makes things work with valgrind too.
5182
5183 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5184
5185         * gst/gstdebugutils.c:
5186           Add warning when failed to open file for writing.
5187
5188 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5189
5190         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5191
5192         * gst/gstvalue.c: (gst_value_is_fixed):
5193           Optimisation: bail out of the loop as early as possible (#500143).
5194
5195 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5196
5197         * gst/gstcaps.c: (gst_caps_to_string):
5198         * gst/gstinfo.c: (gst_debug_construct_term_color):
5199         * gst/gstparse.c: (gst_parse_launchv):
5200         * gst/gstutils.c: (gst_util_dump_mem):
5201         * gst/gstvalue.c: (gst_value_serialize_any_list),
5202           (gst_value_transform_any_list_string):
5203           Bunch of gratuitous nano-optimisations.
5204
5205 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5206
5207         * tests/check/generic/sinks.c: (async_done_func),
5208           (async_done_eos_func):
5209           Fix leak in unit test (bus sync handler must unref the message
5210           if it returns GST_BUS_DROP). Don't fiddle with the default test
5211           timeout, this is smaller than the current preconfigured value
5212           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5213           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5214
5215 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5216
5217         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5218
5219         * configure.ac:
5220         Check for stdio_ext.h for the filesink changes.
5221
5222         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5223         (gst_file_sink_class_init), (gst_file_sink_init),
5224         (gst_file_sink_dispose), (gst_file_sink_set_property),
5225         (gst_file_sink_get_property), (gst_file_sink_open_file),
5226         (gst_file_sink_close_file):
5227         * plugins/elements/gstfilesink.h:
5228         Add two properties to control the buffering mode and size.
5229         API: GstFileSink::buffer-mode
5230         API: GstFileSink::buffer-size
5231         Fixes #500150.
5232
5233 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5234
5235         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5236         Add some more docs to explain why a FIXME was wrongly added. 
5237
5238 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5239
5240         * gst/gstobject.c:
5241           Fix typo in the gst_object_{ref,unref} documentation.
5242
5243 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5244
5245         * tests/check/libs/controller.c:
5246         * tests/check/libs/typefindhelper.c:
5247         * tests/check/pipelines/parse-launch.c:
5248           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5249           going to be deprecated (see #498924).
5250
5251 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5252
5253         * gst/gsttypefind.c: (gst_type_find_register):
5254           Make gst_type_find_register work for static typefind functions,
5255           ie. allow passing plugin == NULL (prerequisite for #498924).
5256
5257         * gst/gstelementfactory.c: (gst_element_register):
5258           Small docs addition.
5259
5260 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5261
5262         * gst/gstpad.c: (gst_pad_dispose):
5263         Really unlink the peer pad instead of setting the peer pointer to NULL
5264         when we dispose the pad.
5265         This correctly calls the unlink functions and makes sure that the peer
5266         does not have a handle to invalid memory. See #504671.
5267
5268         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5269         Add testsuite for above case.
5270
5271 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5272
5273         Patch by: Peter Kjellerstedt <pkj axis com>
5274
5275         * libs/gst/check/gstcheck.h:
5276           Fix detection of the check version we're compiling against (would
5277           otherwise break if check goes v0.10.0); correctly report the
5278           name of the failed test again in case of failure, instead of
5279           just 'tf' (fixes #504499).
5280
5281 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5282
5283         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5284         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5285         (gst_base_src_loop), (gst_base_src_set_flushing),
5286         (gst_base_src_change_state):
5287         Allow sending EOS to the source to make it send out an EOS event from
5288         the streaming thread.
5289         Update docs and deprecate the old NULL/READY shutdown method.
5290
5291         * tests/check/libs/basesrc.c: (GST_START_TEST),
5292         (gst_basesrc_suite):
5293         Add unit test for controlled shutdown.
5294
5295 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5296
5297         * docs/design/part-synchronisation.txt:
5298         Small updates.
5299
5300         * gst/gstsegment.c: (gst_segment_set_seek),
5301         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5302         (gst_segment_to_running_time):
5303         The seek format can be different from the segment format when the start
5304         and stop values are not to be updated, when we only do a rate change for
5305         example.
5306
5307         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5308         (gst_segment_suite):
5309         Add a testcase for the rate-only seeks, checking that the format is
5310         correctly ignored when start and stop are not updated.
5311
5312 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5313
5314         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5315
5316         * win32/vs8/grammar.vcproj:
5317         * win32/vs8/libgstcontroller.vcproj:
5318         * win32/vs8/libgstreamer.vcproj:
5319         Fix compilation with VS8 and include some missing files.
5320
5321 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5322
5323         * gst/gsttaglist.c:
5324           Small docs addition: mention that the strings returned by
5325           gst_tag_list_get_string*() are in UTF-8 encoding.
5326
5327 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5328
5329         * Makefile.am:
5330           The check-exports stuff moved to common/win32.mak, so include that.
5331
5332 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5333
5334         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5335         (gst_base_src_perform_seek), (gst_base_src_get_range),
5336         (gst_base_src_set_playing), (gst_base_src_change_state):
5337         Make _wait_playing() not check any variables so that we can call this
5338         function from subclasses. Move the checks elsewhere similar to
5339         _wait_preroll() in basesink.
5340         Add some debugging.
5341         Only signal the LIVE cond when we are going back to PLAYING.
5342
5343 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5344
5345         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5346           Use g_remove() and g_rename(). Check result of g_rename(), and
5347           don't leak the open file descriptor if we error out when writing.
5348
5349         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5350           Must check the return value of close() after writing out the new
5351           registry file.  Sometimes write problems such as out-of-diskspace
5352           are only reported when the file is closed and not already during
5353           the write.  This may have caused partial/broken registry files in
5354           some rare circumstances. Should fix #503675.
5355
5356 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5357
5358         * docs/gst/.cvsignore:
5359         * docs/libs/.cvsignore:
5360         * docs/plugins/.cvsignore:
5361         Ignore files generated by new common/* modifications
5362
5363 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5364
5365         * win32/common/libgstbase.def:
5366           Yes, you can also have a <TAB> if you want.
5367
5368 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5369
5370         * win32/common/libgstbase.def:
5371           Add new basetransform API to win export file.
5372
5373 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5374
5375         * tests/check/gst/gstbin.c:
5376           Adjust the test to the refcount change two days ago.
5377
5378 2007-12-14  David Schleef  <ds@schleef.org>
5379
5380         * docs/faq/getting.xml: Fix typo.
5381
5382 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5383
5384         * docs/libs/gstreamer-libs-sections.txt:
5385         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5386           (gst_base_transform_prepare_output_buffer),
5387           (gst_base_transform_set_gap_aware):
5388         * libs/gst/base/gstbasetransform.h:
5389           API: Add gst_base_transform_set_gap_aware() to control whether
5390           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5391           get buffers with this flag at all. Fixes #503231.
5392
5393 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5394
5395         * libs/gst/base/gstbasesink.c:
5396         * libs/gst/base/gstbasesrc.c:
5397         * libs/gst/base/gstbasetransform.c:
5398           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5399           thread. Correct log message in gstbasesrc.c.
5400
5401 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5402
5403         * gst/gstutils.c: (element_find_unconnected_pad):
5404           Fix possible compiler warning (#503417).
5405
5406 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5407
5408         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5409           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5410
5411 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5412
5413         * tools/gst-inspect.c: (print_element_properties_info):
5414           Add support for GstFraction properties.
5415
5416 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5417
5418         * Makefile.am:
5419           Add check-exports target and run it as part of 'make check'
5420           (see #499140 and #493983).
5421
5422         * gst/gst_private.h:
5423         * gst/gstelementfactory.h:
5424         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5425         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5426           (_priv_gst_in_valgrind):
5427         * gst/gstinfo.h: (GstLogFunction):
5428         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5429           (gst_type_find_register):
5430         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5431           (gst_type_find_factory_get_type):
5432         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5433           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5434           (gst_controller_new_valist), (gst_controller_new_list),
5435           (_gst_controller_dispose), (_gst_controller_class_init):
5436         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5437         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5438           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5439           (gst_object_get_controller), (gst_object_set_controller),
5440           (gst_object_suggest_next_sync), (gst_object_sync_values),
5441           (gst_object_set_control_source), (gst_object_get_control_source),
5442           (gst_object_get_value_arrays), (gst_object_get_value_array),
5443           (gst_object_get_control_rate), (gst_object_set_control_rate):
5444         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5445         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5446           Make some functions that should be static static; rename some
5447           private symbols so that they don't get exported; add some FIXME
5448           comments so we can move accidentally exported functions into
5449           our private section in 0.11.
5450
5451         * win32/common/libgstreamer.def:
5452           Add gst_utils_get_timestamp().
5453
5454 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5455
5456         * gst/gstvalue.c:
5457         * gst/gstvalue.h:
5458           Add more missing "Since:" tags to docs.
5459
5460 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5461
5462         * gst/gstutils.c:
5463           Add mising "Since:" to docs.
5464
5465 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5466
5467         * gst/gstplugin.c:
5468           Include "glib-compat-private.h" to fix the build on system with
5469           glib < 2.10. Fixes #503131.
5470
5471 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5472
5473         * gst/gstutils.c:
5474         * gst/gstutils.h:
5475           Actually its not PURE as it gets the time from elsewhere.
5476
5477 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5478
5479         * docs/gst/gstreamer-sections.txt:
5480         * gst/gstclock.h:
5481         * gst/gstdebugutils.c:
5482         * gst/gstinfo.c:
5483         * gst/gstutils.c:
5484         * gst/gstutils.h:
5485         * libs/gst/base/gstbasesink.c:
5486         * tools/gst-launch.c:
5487           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5488           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5489           Thanks Tim for spotting.
5490           API: gst_util_get_timestamp
5491
5492 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5493
5494         * configure.ac:
5495           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5496
5497 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5498
5499         * gst/gststructure.c: (gst_structure_validate_name),
5500           (gst_structure_new_valist), (gst_structure_parse_value),
5501           (gst_structure_from_string):
5502           Don't crash in _from_string() if the structure name is not valid
5503           (fixes #501560).  Allow structure names to start with a number
5504           again (this apparently broke the ubuntu codec installer).
5505
5506         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5507           (GST_START_TEST):
5508           Add unit test for the crash; update unit tests for new behaviour.
5509
5510 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5511
5512         * gst/gstutils.c:
5513         Clarify gst_element_get_compatible_pad() documentation.
5514         Fixes #500919.
5515
5516 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5517
5518         * tests/check/Makefile.am:
5519           Don't forget to dist {gst,libs}/struct_hppa.h.
5520
5521 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5522
5523         * libs/gst/base/gstbasesink.c:
5524           Use new API to get elapsed time.
5525
5526 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5527
5528         * gst/gstdebugutils.c:
5529         * gst/gstinfo.c:
5530           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5531
5532         * tools/gst-launch.c:
5533           Use new API to get elapsed time.
5534
5535 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5536
5537         * docs/gst/gstreamer-sections.txt:
5538         * gst/gstclock.h:
5539         * gst/gstdebugutils.c:
5540         * gst/gstinfo.c:
5541           Rename new API + ChangeLog surgery to remove old name from last entry..
5542
5543 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5544
5545         * docs/gst/gstreamer-sections.txt:
5546         * gst/gstclock.h:
5547         * gst/gstdebugutils.c:
5548         * gst/gstinfo.c:
5549           Now hide the different clock stuff behind a macro.
5550
5551 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5552
5553         * configure.ac:
5554         * gst/gstdebugutils.c:
5555         * gst/gstinfo.c:
5556           Apply the posix-timer check from #361155. Conditionally use the posix
5557           timer for logging. This gives better timestamp precission, less
5558           overhead and no ntp jitter.
5559
5560 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5561
5562         * gst/gstminiobject.c: (gst_mini_object_get_type),
5563         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5564         (gst_mini_object_finalize), (gst_mini_object_copy),
5565         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5566         (gst_mini_object_replace), (param_mini_object_validate),
5567         (gst_param_spec_mini_object_get_type):
5568         Some cleanup and checking against invalid function parameters.
5569
5570 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5571
5572         * docs/gst/gstreamer-sections.txt:
5573         * gst/gstclock.h:
5574         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5575         (gst_systemclock_suite):
5576         Start merging in the easy bits of #361155, the monotonic clock patch.
5577         This one adds a few handy macros with docs and a testsuite.
5578
5579 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5580
5581         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5582         Be a bit smarter when seeking, like, don't try to do a seek when it's
5583         not needed. This avoids errors when the file is not seekable.
5584         Fixes #499771.
5585
5586 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5587
5588         * docs/gst/gstreamer-docs.sgml:
5589         * docs/gst/gstreamer-sections.txt:
5590         * docs/gst/gstreamer.types.in:
5591         * gst/Makefile.am:
5592         * gst/gst.h:
5593         * gst/gstpreset.c:
5594         * gst/gstpreset.h:
5595         * plugins/elements/gstqueue.c:
5596           Due to popular request remove preset interface again. :-(.
5597
5598 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5599
5600         * tools/gst-inspect.c:
5601           Print 'default value' for enums and flags too.
5602
5603 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5604
5605         * docs/random/ensonic/profiling.txt:
5606           More ideas.
5607
5608         * gst/gstbin.c:
5609           Fix typo and give better log output.
5610
5611         * gst/gstdebugutils.c:
5612         * gst/gstdebugutils.h:
5613           More ideas, make graphs a bit smaller and fix param name in macro.
5614
5615 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5616
5617         * gst/gstpreset.c:
5618           Try harder to use the return value from fgets().
5619
5620 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5621
5622         * gst/gstpreset.c:
5623           For theses two fgets we handle the error below.
5624
5625 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5626
5627         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5628         Only send upstream events upstream. Fixes #498746.
5629
5630 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5631
5632         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5633
5634         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5635         (gst_identity_init), (gst_identity_transform_ip),
5636         (gst_identity_set_property), (gst_identity_get_property):
5637         * plugins/elements/gstidentity.h:
5638         Add property to disable handoff signal emission. Fixes #498694.
5639         API: GstIdentity::signal-handoffs
5640
5641 2007-11-21  Julien Moutte  <julien@fluendo.com>
5642
5643         * docs/faq/gst-uninstalled: Yet another missing library for the
5644         uninstalled script (fft)
5645
5646 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5647
5648         * docs/faq/developing.xml:
5649         Add a question about how to submit new translations.
5650
5651         * docs/random/release:
5652         Update the contact email address for the Translation Project
5653
5654         * plugins/elements/gstfdsrc.c:
5655         The parent_class for fdsrc is pushsrc, not GstElement.
5656
5657 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5658
5659         * gst/gstpreset.c:
5660           Plug a leak and fix saving.
5661
5662 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5663
5664         * docs/gst/gstreamer-sections.txt:
5665         Add new gst_preset__get_property_names() function to the docs
5666         to fix the build.
5667
5668 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5669
5670         * gst/gstpreset.c:
5671         * gst/gstpreset.h:
5672           Change _get_preset_names API to return a strv with copies. Add
5673           _get_property_names to allow implementations to filter and provide
5674           good default implementation.
5675
5676 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5677
5678         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5679         script (sdp).
5680
5681 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5682
5683         * gst/gstpreset.c:
5684           More cleanups, docs, and TODOs from comments that now slowly come in.
5685
5686 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5687
5688         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5689         search path.
5690
5691 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5692
5693         * gst/gstpreset.c:
5694           Fix bogus warning and make the property type specific code more
5695           similar.
5696
5697 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5698
5699         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5700         it build on OS X.
5701
5702 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5703
5704         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5705         (gst_bin_add_func), (gst_bin_remove_func),
5706         (gst_bin_change_state_func), (gst_bin_continue_func):
5707         Change email, cleanups add some more debug and comments.
5708         Also set bus and clock on new elements when the pipeline was in error.
5709
5710 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5711
5712         * gst/gstbin.c:
5713         * gst/gstdebugutils.c:
5714           Fix build with --disable-gst-debug. Fixes #497859.
5715           Spotted by Sameer Naik.
5716
5717 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5718
5719         * gst/gstevent.c:
5720           Little documentation improvment.
5721
5722         * gst/gstpreset.c:
5723           More TODO cleanups. Remove c++ comments.
5724
5725         * libs/gst/controller/gstcontroller.c:
5726           Add TODO and use quark from static string.
5727
5728         * tests/check/gst/gstmessage.c:
5729         * tests/check/gst/gststructure.c:
5730           Use quark from static string.
5731
5732 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5733
5734         * gst/gstpreset.c:
5735           Add some comments and TODOs.
5736
5737         * gst/gstpreset.h:
5738           Add padding for future changes.
5739
5740         * plugins/elements/gstqueue.c:
5741           Implement the iface.    
5742
5743 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5744
5745         * docs/gst/gstreamer-docs.sgml:
5746         * docs/gst/gstreamer-sections.txt:
5747         * docs/gst/gstreamer.types.in:
5748         * gst/Makefile.am:
5749         * gst/gst.h:
5750         * gst/gstpreset.c:
5751         * gst/gstpreset.h:
5752           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5753
5754 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5755
5756         * configure.ac:
5757
5758         Back to CVS
5759
5760 === release 0.10.15 ===
5761
5762 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5763
5764         * configure.ac:
5765           releasing 0.10.15, "October"
5766
5767 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5768
5769         * win32/vs6/libgstreamer.dsp:
5770         Convert line endings back to DOS.
5771
5772 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5773
5774         * docs/design/draft-tagreading.txt:
5775         * docs/random/ensonic/profiling.txt:
5776         Update fast tagreading draft and performance profiling ideas.
5777
5778 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5779
5780         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5781         Don't hold the object lock when unreffing a buffer because it could
5782         cause a deadlock when the finalize function wants to grab the object
5783         lock too. Fixes #495133.
5784
5785 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5786
5787         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5788         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5789         Also accumulate time correctly when doing reverse playback. Fixes
5790         #488201,
5791         When converting to running and stream time, use default values for
5792         start/stop/time/accum when comparing different formats. Fixes #494245.
5793
5794         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5795         Do running/stream time in TIME format.
5796
5797         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5798         (gst_segment_suite):
5799         2 new unit tests for segment accumulation.
5800
5801 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5802
5803         * gst/gst.c: (init_pre):
5804         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5805           (_gst_debug_bin_to_dot_file):
5806           Move getenv() back into gst_init, so everyone can live happily
5807           ever after. Make sure the symbol isn't exported though.
5808
5809 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5810
5811         Patch by: Sebastien Moutte  <sebastien moutte net>
5812
5813         * win32/common/gstenumtypes.c:
5814         * win32/common/gstenumtypes.h:
5815           Update enum types.
5816
5817         * win32/vs6/libgstreamer.dsp:
5818           Update vs6 project files (#494343).
5819
5820 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5821
5822         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5823         (gst_base_src_perform_seek), (gst_base_src_default_event),
5824         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5825         (gst_base_src_activate_pull):
5826         Unify flushing code, remove some old unlock code that is no longer used.
5827         Take the streaming lock when seeking to avoid races. Fixes #492729.
5828         Added some more comments.
5829
5830 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         * gst/gst.c: (_gst_disable_segtrap):
5833           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5834           we can use gst_segtrap_is_enabled() there now that we have that API.
5835           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5836           to do the getenv here (and export the variable).
5837
5838         * gst/gstdebugutils.c: (debug_dump_element),
5839           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5840           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5841
5842         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5843           (gst_debug_log_default):
5844           Rename _gst_info_start_time to priv_gst_info_start_time so it
5845           doesn't get exported (was never in any header).
5846
5847         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5848           (gst_plugin_loading_mutex):
5849           Make static mutex gst_plugin_loading_mutex really static (was never
5850           in any header), and use gst_segtrap_is_enabled() instead of
5851           _gst_disable_segtrap.
5852
5853         * gst/gsttrace.c: (_gst_trace_default):
5854           Make local _gst_trace_default static (was never in any header).
5855
5856 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5857
5858         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5859
5860         * win32/common/libgstbase.def:
5861         * win32/common/libgstcontroller.def:
5862         * win32/common/libgstdataprotocol.def:
5863         * win32/common/libgstnet.def:
5864         * win32/common/libgstreamer.def:
5865           Add more missing symbols, remove some duplicates, and sort
5866           as the 'sort' command sorts it (partially fixes #493983).
5867
5868 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5869
5870         * gst/gstelement.c: (gst_element_set_state_func):
5871         Only change the state cookie if a different state was set on the
5872         element. See #492729.
5873
5874 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5875
5876         * gst/gstvalue.c:
5877           Remove unused and uninitialised type variables that were still
5878           exported for some reason (they were never in any header files
5879           though).
5880
5881 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5882
5883         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5884         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5885         (gst_base_sink_event), (gst_base_sink_get_position_last),
5886         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5887         (gst_base_sink_change_state):
5888         Don't try to report a 0 position when we don't know, return -1 and FALSE
5889         instead. This mostly happens when we are prerolling.
5890         Make sure we can report the right position before we post the ASYNC_DONE
5891         message so that a message handler can query position without races.
5892
5893         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5894         (async_done_handoff), (async_done_func), (send_buffer),
5895         (async_done_eos_func), (gst_sinks_suite):
5896         Add two tests for the above.
5897
5898 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5899
5900         * MAINTAINERS:
5901         Update with new email address.
5902
5903         * docs/design/part-TODO.txt:
5904         Add some more info about future pad-block and negotiation changes.
5905
5906         * docs/design/part-buffering.txt:
5907         Add some ideas about buffering reporting.
5908
5909 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5910
5911         * tests/check/gst/gstobject.c:
5912         Disable silly racy test that always fails on this combination of CPU
5913         and kernel.
5914
5915 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5916
5917         Patch by: Murray Cumming  <murrayc@murrayc.com>
5918
5919         * gst/gstobject.c:
5920           Corrected the registration of the parent-set and parent-unset
5921           signals: The parameter is a GstObject, not a GObject (#493134).
5922
5923 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5924
5925         * gst/gst_private.h:
5926         * gst/gstbuffer.h:
5927         * gst/gstevent.h:
5928         * gst/gstformat.h:
5929         * gst/gstmessage.h:
5930         * gst/gstplugin.h:
5931         * gst/gstquery.h:
5932         * gst/gsttaglist.h:
5933         * gst/gstvalue.h:
5934           Move declaration of private _gst_foo_initialize() functions into
5935           our private header file where they should have been all along.
5936
5937 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5938
5939         * docs/plugins/gstreamer-plugins-sections.txt:
5940         * gst/gstdebugutils.h:
5941         * gst/gstxml.h:
5942         * plugins/elements/gstqueue.c:
5943           gtk-doc fixes; trailing-comma-in-enum fix.
5944
5945 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5946
5947         * gst/gst.c: (gst_deinit):
5948           Clean up on deinit (not the external ones though, doesn't seem to be
5949           needed for some reason).
5950
5951 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5952
5953         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5954           Remove __declspec(dllimport) for MSVC that was copied over into core
5955           from a plugin, obviously without ever having been tested (note the
5956           single underscore in _declspec in the initial commit), and that doesn't
5957           really make sense.  See #492077.
5958
5959 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5960
5961         * gst/gst.c: (init_post):
5962         * gst/gstevent.c: (_gst_event_initialize):
5963         * gst/gstquery.c: (_gst_query_initialize):
5964         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5965           g_type_class_ref() other types as well, see #349410 and #64764.
5966
5967         * gst/gstbuffer.c: (_gst_buffer_initialize):
5968         * gst/gstmessage.c: (_gst_message_initialize):
5969           Simplify existing g_type_class_ref().
5970
5971 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5972
5973         * gst/gstformat.c: (_gst_format_initialize):
5974           g_type_class_ref() our GstFormat type to make sure we avoid the
5975           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5976           bug #64764. Should fix intermittent tee unit test failures (#474823).
5977
5978 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5979
5980         * tests/check/elements/tee.c: (test_num_buffers):
5981           Simplify, simplify, simplify - or not.  Rewrite unit test
5982           not to use gst_parse_launch(); allow N sub-streams. Increasing
5983           the number of sub-streams seems to reproduce #474823 more easily.
5984
5985 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
5986
5987         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5988
5989         * gst/gsttrace.c:
5990         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5991         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5992         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5993           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5994           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5995           so use _pipe() directly (#492077).
5996
5997         * win32/common/dirent.c: (_treaddir):
5998           Add a couple of casts to make it build without warnings with MSVC.
5999
6000         * win32/common/libgstreamer.def:
6001           Add some more symbols that need to be exported.
6002
6003 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6004
6005         * tests/examples/metadata/read-metadata.c: (message_loop):
6006           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6007           arriving in a second or third tag message are added to
6008           the tag list as well.
6009
6010 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6011
6012         * libs/gst/base/gstbasesrc.c:
6013           Its "Since:" and not "@Since:". And remove an superflous cast.
6014
6015 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6016
6017         * docs/libs/gstreamer-libs-sections.txt:
6018         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6019         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6020         (gst_base_sink_get_property), (gst_base_sink_render_object),
6021         (gst_base_sink_preroll_object),
6022         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6023         (gst_base_sink_change_state):
6024         * libs/gst/base/gstbasesink.h:
6025         Add a new last-buffer property that contains the last buffer used in
6026         basesink for preroll or rendering. useful for making snapshots.
6027         API: gst_base_sink_get_last_buffer()
6028         API: GstBaseSink::last-buffer
6029
6030 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6031
6032         * docs/gst/running.xml:
6033         * gst/gst.c:
6034         * gst/gstdebugutils.c:
6035         * gst/gstdebugutils.h:
6036         * tools/gst-launch.c:
6037           Improve bin graph dumping, by using the envvar to specify a path.
6038           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6039
6040 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6041
6042         * plugins/elements/gsttypefindelement.c:
6043           (gst_type_find_element_handle_event),
6044           (gst_type_find_element_activate):
6045           Post special error message if we can't determine the type of a stream
6046           because it's empty.
6047
6048 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6049
6050         * docs/gst/running.xml:
6051         * gst/gstdebugutils.c:
6052           Document new env-var. Add one log-line after dumpng a graph.
6053
6054 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6055
6056         * configure.ac:
6057           Ugly hack to put the (recently removed and non-portable, apparently)
6058           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6059           GNU ld, because without that 'make check' fails miserably on my debian
6060           stable box.  Someone with more knowledge of linker intricacies and
6061           portability issues than me fix this properly please.
6062
6063 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6064
6065         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6066         Reset last seen position after flushing so that we don't report the old
6067         position anymore.
6068
6069 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6070
6071         * gst/gstelementfactory.c: (gst_element_register):
6072         * gst/gsturi.h:
6073         Patch from Alessandro Decina adding get_type_full and
6074         get_protocols_full private vfuncs to the URIHandler interface
6075         to allow bindings to support creating URI handlers. 
6076         Partially fixes: #339279
6077         API: GstURIHandlerInterface::get_type_full
6078         API: GstURIHandlerInterface::get_protocols_full
6079
6080 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6081
6082         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6083         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6084         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6085         Make it so that pads are considered linked until a buffer is pushed
6086         and discovered otherwise. This avoids problems with decodebin2 hanging
6087         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6088         case.
6089
6090         Make sure we lock the multiqueue when updating the max-size properties.
6091         
6092         Fix a crash on Solaris in a debug statement in get_request_pad that
6093         passes a NULL string to GST_DEBUG. 
6094
6095         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6096         (run_output_order_test):
6097         Fix the test to allow the first buffer on not-linked pads to come out
6098         of sequence while multiqueue discovers that they are not-linked.
6099
6100 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6101
6102         * configure.ac:
6103         * libs/gst/check/Makefile.am:
6104         Use a custom export symbol regex for libgstcheck, as it needs
6105         to export symbols that don't match the standard GStreamer gst_*
6106         pattern, and  --export-dynamic is not portable (only works on 
6107         GNU ld)
6108
6109         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6110         (gst_check_setup_sink_pad):
6111         Make sure to pass a message parameter to the fail_* macros.
6112
6113         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6114         Fix some compiler warnings.
6115
6116 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6117
6118         * tests/check/gst/gststructure.c: (test_to_string):
6119           Disable test that checks that white spaces are not allowed
6120           in structure names or field names, since we need to
6121           support that for now for backwards compatibility reasons.
6122
6123 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6124
6125         * docs/gst/gstreamer-sections.txt:
6126         * gst/gsttaglist.c:
6127         * gst/gsttaglist.h:
6128           API: add GST_TAG_ARTIST_SORTNAME
6129           API: add GST_TAG_ALBUM_SORTNAME
6130           API: add GST_TAG_TITLE_SORTNAME
6131           Add tag variants for sorting (#414539).
6132
6133 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6134
6135         * gst/gststructure.c:
6136           Also allow white space for names so we don't break
6137           backwards compatibility.
6138
6139 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6140
6141         * docs/design/part-TODO.txt:
6142         * docs/design/part-segments.txt:
6143         * docs/design/part-streams.txt:
6144         Small updates.
6145
6146 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6147
6148         * docs/gst/gstreamer-sections.txt:
6149          Fixed documentation from my previous commit (added new API add
6150          gst_value_set_structure(), add gst_value_get_structure() and
6151          GST_VALUE_HOLDS_STRUCTURE).
6152
6153 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6154
6155         * gst/gstdebugutils.c:
6156           Reflow code to fix uninitialized variable warning.
6157
6158 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6159
6160         * gst/gstcaps.c: (gst_caps_to_string),
6161         (gst_caps_from_string_inplace):
6162         * gst/gststructure.c: (gst_structure_get_abbrs),
6163         (gst_structure_to_string), (gst_structure_from_string):
6164         * gst/gstvalue.c: (gst_value_set_structure),
6165         (gst_value_get_structure), (gst_value_serialize_structure),
6166         (gst_value_deserialize_structure), (_gst_value_initialize):
6167         * gst/gstvalue.h:
6168         * tests/check/gst/gststructure.c: (GST_START_TEST),
6169         (gst_structure_suite):
6170         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6171          Added GstStructure to gst_value_table and its related functions.
6172          Changed gst_structure_to_string to print ';' in the end.
6173          Changed gst_caps_to_string to not print ';' beteween its
6174          fields (structures) anymore and remove the lastes ';' from latest
6175          structure. Now it is possible to have nested structures.
6176          In addition, backward compatibilty is assured by accepting '\0' as
6177          end delimiter. Fixes: #487969.
6178          API: add gst_value_set_structure()
6179          API: add gst_value_get_structure()
6180          API: add GST_VALUE_HOLDS_STRUCTURE
6181
6182 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6183
6184         * gst/gstbus.c:
6185           When no GSource callback has been set up, tell developer
6186           to use a function that actually exists.
6187
6188 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6189
6190         * docs/gst/gstreamer-sections.txt:
6191         * gst/Makefile.am:
6192         * gst/gst.c:
6193         * gst/gst.h:
6194         * gst/gstdebugutils.c:
6195         * gst/gstdebugutils.h:
6196         * gst/gstinfo.c:
6197         * gst/gstinfo.h:
6198         * tools/gst-launch.c:
6199           Allow dumping pipelines as dot graphs. Fixes #456573.
6200
6201 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6202
6203         * gst/gststructure.c:
6204           Allow '+' as well, it can be part of media or mime types
6205           such as image/svg+xml.
6206
6207 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6208
6209         * docs/gst/gstreamer-sections.txt:
6210         * gst/gstbus.c:
6211         * gst/gstbus.h:
6212           API: add gst_bus_pop_filtered
6213           API: add gst_bus_timed_pop_filtered
6214           Two new functions for waiting for specific message types on the
6215           bus for a specified amount of time without iterating any main
6216           loops or main contexts.
6217
6218         * tests/check/gst/gstbus.c:
6219           Some tests for the new functions.
6220
6221 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6222
6223         * docs/libs/gstreamer-libs-sections.txt:
6224           Make gtk-doc ignore stuff it should ignore.
6225
6226 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6227
6228         * libs/gst/check/gstcheck.c:
6229         * libs/gst/check/gstcheck.h:
6230           Allow runtime selection of unit tests to run via the GST_CHECKS
6231           environment variable (test case function names, comma-separated).
6232
6233 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6234
6235         * gst/gststructure.c:
6236         * tests/check/gst/gststructure.c:
6237           Revert serialisation change and constrain structure-names after
6238           consensus on irc. Update api documentation to reflect the change.
6239
6240 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6241
6242         * gst/gststructure.c:
6243           Improve serialization and fix tests.
6244
6245         * tests/check/gst/gststructure.c:
6246           Add another test that covers why I actually did the previous structure
6247           change.
6248
6249 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6250
6251         * tools/gst-inspect.c: (print_element_info):
6252         Don't crash when inspecting an element.
6253
6254 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6255
6256         * tests/check/gst/gststructure.c:
6257           Add unit test for escaping of structure name when serialising
6258           and deserialising to/from strings.
6259
6260 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6261
6262         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6263         (gst_single_queue_new):
6264         * plugins/elements/gstqueue.c: (gst_queue_init),
6265         (gst_queue_push_one):
6266         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6267         upstream is tricked into thinking it can suggest a format downstream
6268         while downstream does not support that format. The real problem is that
6269         core calls acceptcaps when pushing a buffer with new caps, for which we
6270         do a little workaround by setting the caps on the srcpad ourselves
6271         before pushing the buffer (until this is figured out). Fixes #486758.
6272
6273 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6274
6275         * gst/gststructure.c:
6276         * gst/gstvalue.c:
6277           Add some more comments and debug output. Quote structure name to fix
6278           deserialisation of some strings.
6279
6280 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6281
6282         * gst/gstbuffer.h:
6283           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6284           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6285
6286 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6287
6288         * tools/gst-inspect.c:
6289           Save approx. 400 1 byte allocs when printing. Use API to acces element
6290           details.
6291
6292         * tools/gst-run.c:
6293           Avoid a strdup.
6294
6295         * tools/gst-xmlinspect.c:
6296           Use API to acces element details.
6297
6298 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6299
6300         * gst/gstinfo.c:
6301           Fix some spelling errors.
6302
6303 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6304
6305         * gst/gstbin.c: (bin_handle_async_done):
6306         Correctly set the next state if all of our async children commited their
6307         state. This makes sure we can actually cancel the state change in
6308         progress. Fixes a regression in Rhythmbox when seeking.
6309
6310 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6311
6312         * gst/gstbin.c:
6313           Don't shadow local variable.
6314
6315         * gst/gstinfo.c:
6316           Don't shadow global function name.
6317
6318 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6319
6320         * gst/gstelementfactory.c:
6321         * gst/gstpluginfeature.c:
6322         * gst/gstpluginfeature.h:
6323         * gst/gstregistrybinary.c:
6324         * gst/gstregistryxml.c:
6325         * gst/gsttypefind.c:
6326           Use already-interned string for the private GstPluginFeature
6327           plugin_name field.
6328
6329 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6330
6331         * docs/libs/gstreamer-libs-sections.txt:
6332           Add new API to docs; fixes the build.
6333
6334 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6335         
6336         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6337
6338         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6339         (gst_base_sink_event):
6340         * libs/gst/base/gstbasesink.h:
6341         Add function to wait for EOS, subclasses can use this to correctly wait
6342         for devices to drain before performing the EOS logic. Fixes #485343.
6343         API: gst_base_sink_wait_eos()
6344
6345 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6346
6347         * gst/gstplugin.h:
6348           Cast description string constants in GST_PLUGIN_DEFINE macros
6349           to a (gchar*) to make C++ code using these macros compile
6350           without warning with g++-4.2 (see #462737).  Even if slightly
6351           ugly, this seems preferable to putting the description strings
6352           into the GLib quark table or making the structure member a
6353           const gchar * and doing casts in core code that allocs and
6354           frees these strings, or requiring a cast in the C++ code.
6355
6356 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6357
6358         * gst/gstinfo.h:
6359           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6360           to print the entire class/function signature into the log
6361           file for C++ code.  This only affects C++ code, for C code
6362           everything remains the same.
6363
6364 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6365
6366         * gst/gstbin.c: (remove_from_queue):
6367         Work around a problem with pipelines containing (semi)loops until a
6368         proper, more complicated solution is ready. See #475455.
6369
6370 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6371
6372         * gst/gstplugin.c:
6373         * gst/gstplugin.h:
6374         * gst/gstregistrybinary.c:
6375         * gst/gstregistryxml.c:
6376           Put more strings into the GLib quark table. No need to keep
6377           a hundred-something copies of identical version strings,
6378           license strings, package name strings and package origin
6379           strings around. 
6380
6381 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6382
6383         * docs/manual/advanced-dataaccess.xml:
6384           Don't imply that it's okay to unconditionally change
6385           buffer data or buffer metadata in a pad probe callback,
6386           and a bunch of other comments. Fixes #430031.
6387
6388 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6389
6390         * win32/common/gstenumtypes.c:
6391         * win32/common/gstenumtypes.h:
6392         * win32/common/gstversion.h:
6393           Update generated files.
6394
6395 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6396
6397         * docs/manual/advanced-autoplugging.xml:
6398           Prefix section with broken code with a warning (see #342432).
6399
6400 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6401
6402         * docs/manual/appendix-integration.xml:
6403         * docs/manual/basics-init.xml:
6404           Call g_thread_init() before g_option_context_new() to
6405           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6406
6407 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6408
6409         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6410         (gst_base_sink_queue_object_unlocked),
6411         (gst_base_sink_queue_object), (gst_base_sink_event),
6412         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6413         When we received EOS and are waiting for when to post the EOS message,
6414         our state is prerolled and we should not return ASYNC.
6415         Reorganize some code paths to implement this behavior.
6416
6417         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6418         (gst_sinks_suite):
6419         Add unit test to verify above EOS fix.
6420
6421 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6422
6423         * plugins/elements/gsttypefindelement.c:
6424         (gst_type_find_element_have_type), (gst_type_find_element_init),
6425         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6426         Move detecting the input caps of the sinkpad to the setcaps function.
6427         This allows us to update the output caps when we receive new input caps
6428         instead of always using the first detected caps.
6429
6430 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6431
6432         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6433         (gst_base_sink_get_position):
6434         Don't try to preroll non-async elements after a flush.
6435         Subtract latency form clock times when reporting position.
6436
6437 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6438
6439         * gst/gstpad.c: (gst_pad_pause_task):
6440         * gst/gstutils.c:
6441         Small comment and documentation update.
6442
6443 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6444
6445         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6446         (gst_base_src_set_live), (gst_base_src_is_live),
6447         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6448         (gst_base_src_default_event), (gst_base_src_wait),
6449         (gst_base_src_do_sync), (gst_base_src_get_range),
6450         (gst_base_src_pad_get_range), (gst_base_src_loop),
6451         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6452         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6453         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6454         (gst_base_src_change_state):
6455         Rework the locking of basesrc in a similar fashion to basesink. We
6456         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6457         us to handle live sources and semi live ones much better.
6458         Simplify flushing.
6459         Fix unlocking when seeking, shutting down and pausing in live sources.
6460
6461 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6462
6463         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6464         Fix compilation again.
6465
6466 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6467
6468         * gst/gstelement.c:
6469           Use meaningful categories for the logs to clean the default one.
6470
6471 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6472
6473         * tests/check/pipelines/cleanup.c:
6474           Print message name and not just number.
6475
6476 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6477
6478         * docs/design/draft-tagreading.txt:
6479           Add some more thoughts.
6480
6481 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6482
6483         * tests/check/pipelines/simple-launch-lines.c:
6484           Print message name and not just number.
6485
6486 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6487
6488         * libs/gst/base/gsttypefindhelper.c:
6489           Speedup typefinding. This is work in progress (see #459862).
6490
6491 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6492
6493         * gst/gstplugin.c:
6494           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6495           Spotted by Josep Torra Valles <josep@fluendo.com>.
6496
6497 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6498
6499         * gst/gstclock.h:
6500           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6501           field has moved to GstObject.
6502
6503 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6504
6505         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6506         (gst_base_src_get_range), (gst_base_src_change_state):
6507         Call unlock for live sources so that they can't get stuck in _create and
6508         produce a buffer before they are set back to PLAYING.
6509
6510 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6511
6512         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6513         (gst_queue_locked_dequeue):
6514         Comment the segment-related code... in the PROPER function.
6515         See #482147 and my commit from yesterday.
6516
6517 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6518
6519         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6520         Also initialize the counter that calculates the first timestamp on a
6521         buffer correctly for non-live sources.
6522
6523 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6524
6525         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6526         Disable code that's breaking the current-time-level reporting.
6527         See #482147
6528
6529 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6530
6531         * docs/gst/gstreamer-sections.txt:
6532         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6533         as they shouldn't show up. Fixes the docs build.
6534
6535 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6536         
6537         * gst/gstinfo.h:
6538         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6539         Define M_PI which is used in files which are including gstinfo.h. 
6540         VS6 includes doesn't define it.
6541         * win32/common/libgstbase.def:
6542         * win32/common/libgstcontroller.def:
6543         * win32/common/libgstreamer.def:
6544         Add new exported functions and variables.
6545         * win32/vs6/libgstcontroller.dsp:
6546         * win32/vs6/libgstreamer.dsp:
6547         Update the list of files to build.
6548         
6549 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6550
6551         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6552
6553         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6554         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6555         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6556         Improve debugging. Fixes #480858.
6557
6558 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6559
6560         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6561
6562         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6563         First patch of code cleanups, use the macros and right arguments in the
6564         macros to signal and lock the queue. See #480858.
6565
6566 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6567
6568         * gst/gstbus.c: (poll_func):
6569         Improve debugging when dealing with _poll().
6570
6571 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6572
6573         * gst/gstregistryxml.c:
6574           Fix memory leak I introduced a few days ago.
6575
6576 2007-09-26  Michael Smith <msmith@fluendo.com>
6577
6578         * gst/gstbuffer.c: (gst_buffer_finalize):
6579           Make it once again possible to free GstBuffers in the default
6580           build.
6581           The poisoning scribbles on parts of the miniobject we need in
6582           order to free it.
6583           Fixes #480341
6584
6585 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6586
6587         * docs/gst/gstreamer-sections.txt:
6588         * gst/gsttaglist.c:
6589         * gst/gsttaglist.h:
6590         API: add GST_TAG_COMPOSER, fixes #459809.
6591
6592 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6593
6594         * gst/gstplugin.c:
6595         * gst/gstplugin.h:
6596         Add the 3-clause BSD license and the MIT/X11 license to the license
6597         list. Fixes #479784.
6598
6599 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6600
6601         * docs/faq/getting.xml:
6602           Add Q+A about different GStreamer versions (#364056).
6603
6604 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6605
6606         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6607         (gst_base_sink_event), (gst_base_sink_change_state):
6608         Return correct gboolean from query function.
6609
6610 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6611
6612         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6613         (gst_base_sink_event), (gst_base_sink_query),
6614         (gst_base_sink_change_state):
6615         Simplify latency query.
6616         When not synchronizing, we can report latency without querying the peer
6617         element.
6618
6619 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6620
6621         * gst/gstobject.h:
6622         * gst/gstvalue.c:
6623         Fix small typos in the docs.
6624
6625 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6626
6627         * docs/design/draft-latency.txt:
6628         * docs/design/draft-push-pull.txt:
6629         * docs/design/draft-tagreading.txt:
6630         * docs/design/part-MT-refcounting.txt:
6631         * docs/design/part-activation.txt:
6632         * docs/design/part-block.txt:
6633         * docs/design/part-element-source.txt:
6634         * docs/design/part-events.txt:
6635         * docs/design/part-gstbin.txt:
6636         * docs/design/part-gstelement.txt:
6637         * docs/design/part-gstobject.txt:
6638         * docs/design/part-gstpipeline.txt:
6639         * docs/design/part-messages.txt:
6640         * docs/design/part-preroll.txt:
6641         * docs/design/part-push-pull.txt:
6642         * docs/design/part-qos.txt:
6643         * docs/design/part-query.txt:
6644         * docs/design/part-scheduling.txt:
6645         * docs/design/part-seeking.txt:
6646         * docs/design/part-segments.txt:
6647         * docs/design/part-states.txt:
6648         Documentation updates and typo fixes.
6649
6650 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6651
6652         * plugins/elements/gstfakesink.c:
6653           Add some debug text to error message to indicate that
6654           we errored out on request.
6655
6656         * tools/gst-launch.c:
6657           When the state change to PLAYING fails, check for an
6658           error message on the bus and print it.
6659
6660 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6661
6662         translated by: Jorge González González <aloriel@gmail.com>
6663
6664         * po/LINGUAS:
6665         * po/es.po:
6666           Added Spanish translation.
6667
6668 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6669
6670         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6671         Fix printf arguments.
6672
6673 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6674
6675         * tests/check/generic/states.c:
6676           Improved state change unit test.
6677
6678 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6679
6680         * gst/gstbin.h:
6681           Move priv to the right place.
6682
6683         * gst/gstsystemclock.c:
6684           Add FIXME: and improve log.
6685
6686         * tests/check/Makefile.am:
6687         * tests/examples/manual/Makefile.am:
6688           Work with all types of registries.
6689
6690 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6691
6692         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6693         Don't unref the event after pushing it. Fixes #478401.
6694
6695 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6696
6697         * .cvsignore:
6698         * tests/examples/manual/.cvsignore:
6699           Ignore registries in any format.
6700
6701 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6702
6703         * gst/glib-compat-private.h:
6704           Add compatibility macro for g_intern_string() for
6705           GLib-2.8 (any reason we can't just bump the
6706           requirement to at least 2.10?)
6707
6708         * gst/gstpadtemplate.h:
6709         * gst/gstelementfactory.c:
6710         * gst/gstregistryxml.c:
6711         * gst/gstregistrybinary.c:
6712           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6713           up the internal code accordingly.  This shouldn't be a problem, since
6714           there is no reason external code could ever assume the string in such
6715           a structure is dynamically allocated unless it did that itself;  the
6716           use of g_strdup() is private to element factories.  The new code also
6717           saves some memory by putting pad template name strings into the GLib
6718           quark table instead of allocating them dynamically.
6719           Declaring this field constant fixes warnings with g++-4.2 when using
6720           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6721
6722 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6723
6724         * gst/gstelementfactory.c:
6725           Release static caps. Fixes #475723.
6726
6727 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6728
6729         * gst/gstinfo.c:
6730         * gst/gstinfo.h:
6731           Make some internal API take const gchar * instead of just
6732           gchar * to avoid compiler warnings with g++-4.2.2 when
6733           passing string constants (partially fixes #478092).
6734
6735 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6736
6737         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6738         A latency query fails when one of the sinks fail.
6739
6740         * gst/gstelement.c: (gst_element_set_base_time):
6741         Improve debugging.
6742
6743 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6744
6745         * gst/gstbin.c: (gst_bin_continue_func):
6746         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6747         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6748         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6749
6750         Fix minor compilation warnings shown with Forte.
6751
6752 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6753
6754         * plugins/elements/gstqueue.c: (apply_buffer),
6755         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6756         Measure queue level based on the diff between head and tail timestamps
6757         even when pushing the first buffer.
6758
6759 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6760
6761         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6762         (gst_base_sink_event), (gst_base_sink_change_state):
6763         Sinks that don't preroll can always be queried for the latency.
6764         Don't post ASYNC start when we are not async.
6765
6766 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6767
6768         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6769         (gst_queue_handle_sink_event), (gst_queue_chain),
6770         (gst_queue_push_one), (gst_queue_handle_src_query),
6771         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6772         * plugins/elements/gstqueue.h:
6773         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6774         push more buffers but allow pushing of EOS and NEWSEGMENT.
6775         Add some more debug info here and there. Fixes #476514.
6776
6777 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6778
6779         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6780         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6781         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6782         (gst_base_sink_set_flushing), (gst_base_sink_query),
6783         (gst_base_sink_change_state):
6784         Latency query is allowed after we are prerolled. Introduce a new flag
6785         for this and stop abusing other variables.
6786
6787 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6788
6789         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6790         Push OOB events downstream when we get them in send_event. This allows
6791         the application to insert events in the pipeline.
6792         Add some more comments.
6793
6794 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6795
6796         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6797         (do_bin_latency), (gst_bin_change_state_func):
6798         * gst/gstpipeline.c: (gst_pipeline_change_state):
6799         Move latency query from GstPipeline to GstBin so that we can also
6800         use it when async-handling is enabled on bins.
6801
6802 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6803
6804         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6805         (gst_base_src_do_sync), (gst_base_src_change_state):
6806         Update docs.
6807         Clean up the timestamping and syncing code for pseudo live sources.
6808
6809 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6810
6811         Patch by: Steve Fink  <sphink gmail com>
6812
6813         * docs/manual/appendix-checklist.xml:
6814           Mention less -R switch in the section about debug output (#474055).
6815
6816 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6817
6818         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6819         Queue can latency to the pipeline up to the configured max size in time.
6820         Report this fact in the latency query.
6821
6822 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6823
6824         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6825
6826         * libs/gst/controller/gstinterpolation.c:
6827         * libs/gst/controller/gstlfocontrolsource.c:
6828         Use gst_guint64_to_gdouble() when converting from a uint64 or
6829         GstClockTime to double to fix the build on win32. Fixes #474371.
6830
6831 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6832
6833         * gst/gstbuffer.c: (gst_buffer_finalize):
6834         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6835         When finalizing a buffer the complete struct is filled with 0xff,
6836         thus making a use of the buffer after the final unref impossible.
6837
6838 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6839
6840         * tests/check/libs/controller.c: (GST_START_TEST):
6841         Use fail_unless_equals_int(a, b) instead of
6842         fail_unless_equals (a == b) to get better output on failures.
6843
6844 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6845
6846         * tests/check/gst/gsturi.c:
6847           Also check for the other file URI variant on win32.
6848
6849 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6850
6851         * gst/gsturi.c: (gst_uri_get_location):
6852           If there's no hostname, we want to return 'c:/foo/bar.txt'
6853           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6854
6855         * tests/check/gst/gsturi.c:
6856           Unit test for the above and a few more things.
6857
6858 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6859
6860         * docs/design/part-live-source.txt:
6861         Add docs on how live sources should timestamp.
6862
6863         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6864         Add some more debug info.
6865         For subclasses that are live and like to sync, add aditional startup
6866         latency to sync time and timestamps so that we timstamp according to the
6867         design doc.
6868
6869 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6870
6871         * gst/gstbuffer.c:
6872           Also do a g_type_class_ref() for the subbuffer type in
6873           the init function.
6874
6875 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6876
6877         * docs/gst/gstreamer-sections.txt:
6878         * gst/gstpad.c: (gst_pad_peer_query):
6879         * gst/gstpad.h:
6880         Add function to perform a query on the peer of a pad.
6881         API: gst_pad_peer_query()
6882
6883 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6884
6885         * tests/check/gst/gstsystemclock.c:
6886           Cleanup the test a little (use gst-logging and not g_message). Improve
6887           test to check if a wait reached the target.
6888
6889 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6890
6891         * docs/libs/gstreamer-libs-sections.txt:
6892           Add new API to docs and fix the build.
6893
6894 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6895
6896         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6897         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6898         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6899         (gst_base_src_get_property), (gst_base_src_do_sync):
6900         * libs/gst/base/gstbasesrc.h:
6901         Add property to make the basesrc timestamp buffers based on the current
6902         running time.
6903         API: GstBaseSrc::do-timestamp
6904         API: gst_base_src_set_do_timestamp()
6905         API: gst_base_src_get_do_timestamp()
6906
6907 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6908
6909         * docs/random/release:
6910           Really make sure translations are up-to-date before
6911           a release (#465010).
6912
6913 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6914
6915         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6916         Always destroy the timer, also in error cases.
6917
6918 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6919
6920         * docs/manual/highlevel-xml.xml:
6921         Fix XML example code. Fixes #472714.
6922
6923 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6924
6925         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6926         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6927         (gst_base_sink_query):
6928         Protect eos and have_preroll with the OBJECT lock so we don't need to
6929         take the PREROLL lock when querying the latency. Fixes #473846.
6930
6931 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6932
6933         * gst/gstelement.c:
6934           Give some log-messages a category.
6935
6936 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6937
6938         * gst/gststructure.c:
6939         (gst_structure_fixate_field_nearest_fraction):
6940         Fix fraction list fixation code. Take the fraction with the smallest
6941         difference with the target instead of the first one in the list.
6942
6943         * tests/check/gst/gststructure.c: (GST_START_TEST),
6944         (gst_structure_suite):
6945         Added test to verify correct fraction list fixation behaviour.
6946
6947 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6948
6949         * win32/common/libgstreamer.def:
6950           Export gst_bus_add_signal_watch too.
6951
6952 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6953
6954         * docs/libs/gstreamer-libs-sections.txt:
6955         Add new methods to docs.
6956
6957         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6958         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6959         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6960         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6961         * libs/gst/base/gstbasesink.h:
6962         Add ts-offset property to fine-tune the synchronisation.
6963         API: GstBaseSink::ts-offset property
6964         API: gst_base_sink_set_ts_offset()
6965         API: gst_base_sink_get_ts_offset()
6966
6967 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6968
6969         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6970         (gst_base_sink_init), (gst_base_sink_set_sync),
6971         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6972         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6973         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6974         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6975         (gst_base_sink_get_property), (gst_base_sink_change_state):
6976         * libs/gst/base/gstbasesink.h:
6977         Add async property to instruct the sink never to inform the parent about
6978         ASYNC state changes, update docs.
6979         Check argument with g_return_* for the public functions.
6980         API: GstBaseSink::async property
6981         API: gst_base_sink_set_async_enabled()
6982         API: gst_base_sink_is_async_enabled()
6983
6984 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
6985
6986         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6987         Improve debugging.
6988
6989         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6990         (gst_base_src_default_query), (gst_base_src_wait),
6991         (gst_base_src_do_sync), (gst_base_src_change_state):
6992         Rearrange some code so that we can add support for measuring the 
6993         startup latency.
6994
6995 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
6996
6997         * docs/random/ensonic/dynlink.txt:
6998           More thoughs on this.
6999
7000         * plugins/elements/gstcapsfilter.c:
7001           Add bugzilla ticket number to FIXME comment.
7002
7003 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7004
7005         * docs/design/part-TODO.txt:
7006         * docs/design/part-block.txt:
7007         Update some docs.
7008
7009 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7010
7011         * gst/Makefile.am:
7012           Revert patch which uses $(gst_headers) instead of $^ because it
7013           breaks make dist.
7014
7015 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7016
7017         * tests/check/gst/gstbin.c: (GST_START_TEST):
7018           Fix leaks in the new unit test.
7019
7020 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7021
7022         * gst/gst.c:
7023           Don't use GST_INFO before the debug system is actually initialised
7024           (shouldn't do any harm, but won't print anything either, so we can
7025           just as well remove it).
7026
7027         * gst/gstinfo.h:
7028           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7029           compilers that don't support variadic macros (such as MSVC), should
7030           check for debug_level <= __gst_debug_min as well, since that's the
7031           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7032           inline helper functions. Should improve performance a bit, but also
7033           makes sure uses of GST_INFO et.al are ignored if the debugging
7034           system isn't initialised yet (instead of printing an assertion
7035           failure).
7036
7037 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7038
7039         patch by: David Nečas <yeti@physics.muni.cz>
7040
7041         * gst/Makefile.am:
7042           Replace some non portable makefile constructs.
7043
7044 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7045
7046         * common/gtk-doc-plugins.mak:
7047           Grrrrr. Don't remove the types file on make clean.
7048
7049 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7050
7051         * tools/gst-launch.1.in:
7052         Add colorspace to example pipeline. Fixes #458274.
7053
7054 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7055
7056         * docs/random/release:
7057           The release manager should run 'make download-po' before making a
7058           release to make sure translations are up-to-date.
7059
7060         * po/LINGUAS:
7061         * po/be.po:
7062         * po/pl.po:
7063         * po/rw.po:
7064           Add some new translations.
7065
7066 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7067
7068         * tools/gst-launch.c: (event_loop), (main):
7069         Don´t try to do any state management when a live pipeline posts
7070         buffering messages.
7071         Also make the buffering string translatable.
7072
7073 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7074
7075         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7076         (bin_handle_async_start), (gst_bin_handle_message_func):
7077         Improve debugging.
7078         When adding elements, insert messages into the bus of the newly added
7079         element and make sure the element is the source of the message. This
7080         allows the parent bin to intercept the message and do the
7081         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7082         messages to the app (which is not allowed).
7083         Update some docs.
7084
7085         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7086         Fix testsuite so that is does not work around messages that should not
7087         have been posted in the first place.
7088
7089 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7090
7091         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7092         (update_degree), (gst_bin_sort_iterator_next):
7093         Fix annoying bug in the sorted iterator where a sink that is not really
7094         a sink (when it has downstream links) screwed up the iterator.
7095
7096         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7097         Unit test to verify the fix.
7098
7099 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7100
7101         * gst/gstmessage.h:
7102         Add some more docs for the messages.
7103
7104         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7105         (gst_base_sink_query):
7106         Add some more debugging.
7107
7108         * tools/gst-launch.c: (event_loop):
7109         When interrupting, don't try to set pipeline to PAUSED twice.
7110
7111 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7112
7113         
7114         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7115         (bin_handle_async_start), (gst_bin_handle_message_func):
7116         Move ASYNC_START message posting to where it belongs, similar to
7117         async_done. 
7118         Don't post ASYNC_START when we are in error. 
7119         Post ASYNC_START when we added an async element to a bin.
7120
7121 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7122
7123         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7124         generation from vargs. Fixes #466595.
7125
7126 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7127
7128         * gst/gstbin.c: (gst_bin_element_set_state):
7129         Always change the state of a NO_PREROLL element even if it has ASYNC
7130         elements inside (in case of a bin).
7131
7132         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7133         Unit test for this case.
7134
7135 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7136
7137         * libs/gst/check/gstbufferstraw.c:
7138         * libs/gst/check/gstcheck.h:
7139         * libs/gst/controller/gstcontroller.c:
7140         * libs/gst/controller/gstcontrolsource.h:
7141         * libs/gst/controller/gstlfocontrolsource.h:
7142         * plugins/elements/gstcapsfilter.h:
7143         * plugins/elements/gstfdsink.h:
7144         * plugins/elements/gstfdsrc.h:
7145           Add more missing docs.
7146
7147 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7148
7149         * gst/gststructure.c:
7150         Add Since tag to docs.
7151
7152 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7153
7154         * docs/gst/gstreamer-sections.txt:
7155         * gst/gststructure.c: (gst_structure_get_uint):
7156         * gst/gststructure.h:
7157         Add function to get uint from a structure.
7158         API: gst_structure_get_uint()
7159
7160 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7161
7162         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7163         (gst_caps_intersect):
7164         Fix proper check for simple caps.
7165
7166 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7167
7168         * docs/gst/Makefile.am:
7169         * docs/libs/Makefile.am:
7170           Remove cruft and do some cleanups.
7171
7172         * docs/gst/gstreamer-docs.sgml:
7173         * docs/libs/gstreamer-libs-docs.sgml:
7174           Prepare for comming gtkdoc features (rebase against online docs).
7175
7176 2007-08-10  Michael Smith <msmith@fluendo.com>
7177
7178         * docs/gst/gstreamer-sections.txt:
7179           Add gst_registry_add_path to docs.
7180
7181 2007-08-10  Michael Smith <msmith@fluendo.com>
7182
7183         * gst/gstregistry.h:
7184           Add gst_registry_add_path, which was missing from this header.
7185
7186 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7187
7188         * libs/gst/controller/gstlfocontrolsource.c:
7189           Printf format fix.
7190
7191 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7192
7193         * libs/gst/base/gstbasesink.c:
7194           Don't send an async_start message during downwards state change if 
7195           target state is less than READY
7196
7197 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7198
7199         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7200
7201         * po/LINGUAS:
7202         * po/hu.po:
7203           Added Hungarian translation.
7204
7205 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7206
7207         * po/fi.po:
7208         * po/it.po:
7209         * po/nl.po:
7210         * po/sv.po:
7211         * po/uk.po:
7212           Updated translations.
7213
7214 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7215
7216         * libs/gst/controller/Makefile.am:
7217         Dist gstlfocontrolsourceprivate.h
7218
7219 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7220
7221         * docs/libs/gstreamer-libs.types:
7222         Don't register the enum type gst_lfo_waveform_get_type() in the
7223         .types file - only GObject derived types belong.
7224
7225 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7226
7227         Patch by: <arenevier at fdn dot fr>
7228
7229         * gst/gstbuffer.h:
7230         Remove comma from last element in enum to avoid compile errors when
7231         using -pendantic. Fixes #464366.
7232
7233 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7234
7235         * docs/design/part-TODO.txt:
7236         Add some more TODO items
7237
7238         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7239         Improve debugging.
7240
7241         * gst/gstcaps.c: (gst_caps_intersect):
7242         Optimize trivial intersection case between identical caps pointers.
7243
7244         * gst/gstelement.c: (gst_element_continue_state),
7245         (gst_element_set_state_func):
7246         * gst/gstpad.c:
7247         Fix spelling and grammar mistakes.
7248
7249 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7250
7251         * po/POTFILES.in:
7252         * po/POTFILES.skip:
7253           Update POTFILES. Fixes #461599.
7254
7255 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7256
7257         * gst/gst.c:
7258         Fix confusing typo in debug output.
7259
7260 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7261
7262         reviewed by: Stefan Kost <ensonic@users.sf.net>
7263
7264         * libs/gst/controller/Makefile.am:
7265         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7266         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7267         (gst_lfo_control_source_new),
7268         (gst_lfo_control_source_set_waveform),
7269         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7270         (gst_lfo_control_source_finalize),
7271         (gst_lfo_control_source_dispose),
7272         (gst_lfo_control_source_set_property),
7273         (gst_lfo_control_source_get_property),
7274         (gst_lfo_control_source_class_init):
7275         * libs/gst/controller/gstlfocontrolsource.h:
7276         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7277         API: Add GstLFOControlSource, a control source that gives values
7278         for specific timestamps based on several periodic waveforms.
7279         Fixes #459717.
7280
7281         * tests/check/libs/controller.c: (GST_START_TEST),
7282         (gst_controller_suite):
7283         * docs/libs/gstreamer-libs-docs.sgml:
7284         * docs/libs/gstreamer-libs-sections.txt:
7285         * docs/libs/gstreamer-libs.types:
7286         Add documentation and unit tests for GstLFOControlSource.
7287
7288 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7289
7290         * configure.ac:
7291         Back to CVS
7292
7293 === release 0.10.14 ===
7294
7295 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7296
7297         * configure.ac:
7298           releasing 0.10.14, "Breathing Vacuum"
7299
7300 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7301
7302         * gst/gstelement.c: (gst_element_class_set_details_simple):
7303         * gst/gstelement.h:
7304           Make strings passed to gst_element_class_set_details_simple()
7305           constant, as they should be (#462752).
7306
7307 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7308
7309         * gst/gstbin.c: (gst_bin_change_state_func),
7310         (bin_handle_async_done), (gst_bin_handle_message_func):
7311         Don't forget about the fact that some element went ASYNC even after a
7312         resync. This makes us post the ASYNC_DONE message correctly.
7313         Fixes #462558.
7314
7315 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7316
7317         * gst/gstregistry.c: (gst_registry_add_feature):
7318         When replacing an existing feature in the registry, make sure to
7319         continue holding a reference until we've replaced the name string
7320         within our feature hash table. Make sure to use g_hash_table_replace
7321         instead of g_hash_table_insert to ensure the new name string is used
7322         as a key instead of the old one that we're about to free.
7323         Fixes: #462085
7324
7325 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7326
7327         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7328         (gst_plugin_feature_set_name):
7329         Revert patch from #459466 until after the release and we can work
7330         out exactly what the problem is (if any).
7331
7332 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7333
7334         * docs/gst/gstreamer-sections.txt:
7335         * gst/gsttaglist.c:
7336         * gst/gsttaglist.h:
7337           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7338
7339 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7340
7341         * docs/libs/Makefile.am:
7342         Include our build-prefix libs and includes before the generic ones to
7343         avoid linking against the installed libs when we want the build-tree
7344         ones.
7345
7346 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7347
7348         Patch by: Steve Fink  <sphink gmail com>
7349
7350         * docs/pwg/building-testapp.xml:
7351           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7352           if people try to build or install the example from the plugin
7353           template against a GStreamer from package using the configure
7354           defaults.
7355
7356 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7357
7358         Patch by: Steve Fink  <sphink gmail com>
7359
7360         * tools/gst-inspect.1.in:
7361           Document --print-all and --print-plugin-auto-install-info command
7362           line options in man page.
7363
7364 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7365
7366         * docs/gst/gstreamer-sections.txt:
7367         Add docs for new api function.
7368
7369 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7370
7371         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7372         * gst/gstelementfactory.h:
7373         API: gst_element_factory_has_interface()
7374         Added method to check if an element factory implements a named
7375         interface.
7376
7377 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7378
7379         * configure.ac:
7380         * docs/gst/gstreamer.types.in:
7381           Another conditional doc check.
7382
7383         * gst/gstmessage.c:
7384         * gst/gstparamspecs.h:
7385         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7386         * gst/gstvalue.c:
7387         * gst/gstxml.h:
7388           API-doc fixes.
7389
7390 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7391
7392         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7393         (gst_registry_binary_load_feature),
7394         (gst_registry_binary_load_plugin),
7395         (gst_registry_binary_read_cache):
7396           Print error just once and with additional info.
7397
7398 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7399
7400         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7401         (helper_find_suggest), (helper_find_get_length),
7402         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7403         (gst_type_find_helper_for_buffer):
7404           Cleanup the typefindhelper code and add private doc comments.
7405
7406 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7407
7408         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7409         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7410         Fix capsfilter for cases where the caps set on capsfilter will provide
7411         additional information.
7412         Fixes #449197
7413
7414 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7415
7416         * gst/gsttypefindfactory.c:
7417           Fix docs that recommened wrong function to use.
7418
7419 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7420
7421         * tools/gst-inspect.c: (print_plugin_features):
7422           Also give media-type for typefinders in element output.
7423
7424 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7425
7426         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7427         (gst_registry_remove_features_for_plugin_unlocked),
7428         (gst_registry_add_feature), (gst_registry_remove_feature),
7429         (gst_registry_lookup_feature_locked):
7430         * gst/gstregistry.h:
7431           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7432           Fixes #459501.
7433
7434 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7435
7436         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7437         (gst_plugin_feature_set_name):
7438           Avoid double memory usage for pluginfeature names. Fixes #459466.
7439
7440 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7441
7442         * gst/gstpad.h:
7443           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7444           driving the pipeline may need to explicitly check for NOT_LINKED as
7445           well, since IS_FATAL doesn't cover that.
7446
7447 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7448
7449         * docs/pwg/advanced-types.xml:
7450           Fix typo and duplicate entry in video formats list.
7451
7452 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7453
7454         * libs/gst/controller/gstinterpolation.c:
7455         Also round to the nearest int when using cubic interpolation.
7456
7457 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7458
7459         * libs/gst/controller/gstinterpolation.c:
7460         When linearly interpolating integer types, round to the nearest int
7461         by adding 0.5. Don't do it for float/double types.
7462         Fixes the failing controller test on my machine, which is somehow
7463         rounding differently than on the buildbots.
7464
7465 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7466
7467         * tools/gst-plot-timeline.py:
7468           Better log parsing (categories can have -). Adjust text vs. lines, so
7469           that they span the same y-range.        
7470
7471 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7472
7473         * docs/random/ensonic/audiobaseclasses.txt:
7474         * docs/random/ensonic/dynlink.txt:
7475         * docs/random/ensonic/profiling.txt:
7476           Save my thoughts.
7477
7478         * docs/random/moving-plugins:
7479           Add note to use g_assert type macros.
7480
7481 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7482
7483         * configure.ac:
7484         * libs/gst/check/Makefile.am:
7485           Add libm check as we use in for plugins.
7486
7487 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7488
7489         * gst/gstbin.c: (gst_bin_continue_func):
7490         Check that the state_cookie hasn't changed since the continue_func
7491         was scheduled. Avoids problems where the state changes back to
7492         something it shouldn't be because it was changed in the meantime.
7493
7494 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7495
7496         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7497         (gst_registry_binary_save_string),
7498         (gst_registry_binary_save_pad_template),
7499         (gst_registry_binary_save_feature),
7500         (gst_registry_binary_save_plugin),
7501         (gst_registry_binary_load_feature),
7502         (gst_registry_binary_load_plugin),
7503         (gst_registry_binary_read_cache):
7504           Fix memory leak. Be less verbose in the log.
7505
7506 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7507
7508         * tests/check/elements/.cvsignore:
7509         Add file to cvsignore as commanded.
7510
7511 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7512
7513         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7514         (mq_dummypad_event), (run_output_order_test):
7515         Use a GStaticMutex to protect all cases where libcheck
7516         fail_if/fail_unless macros might be called from multiple threads
7517         simultaneously to avoid errors like:
7518           "check_pack.c:107: :-1081725400:Bad message type arg"
7519
7520 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7521
7522         * tests/check/pipelines/stress.c: (GST_START_TEST):
7523         Make sure we set the pipeline back to the NULL state before
7524         dropping our final reference.
7525
7526 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7527
7528         * tests/check/elements/tee.c: (GST_START_TEST):
7529         Make the tee stress-test a little less stressful so it doesn't just
7530         time out on slow-machines, and remove a small race when it's starting 
7531         up by adding a get_state() call.
7532
7533 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7534
7535         * gst/gst.c:
7536           Avoid reading registry twice on startup. Fixes #457322.
7537
7538 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7539
7540         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7541         * pkgconfig/gstreamer-check.pc.in:
7542         Substitute the CFLAGS for libcheck into our .pc file too so that
7543         dependent modules will pick it up properly if libcheck is installed
7544         into some other prefix.
7545
7546 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7547
7548         * configure.ac:
7549         Revert the pkg-config check for libcheck, since it pulls in the
7550         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7551         a proper solution, either from the check project, or something else.
7552
7553 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7554
7555         * configure.ac:
7556           Use pkg-config to locate check.
7557
7558 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7559
7560         * gst/gsttaglist.c:
7561           Fix doc syntax.
7562
7563         * gst/gstutils.c:
7564         * gst/gstutils.h:
7565           Add deprecation guards.
7566
7567         * libs/gst/base/gstcollectpads.h:
7568           Don't document object (this is implicitly private).
7569
7570 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7571
7572         * gst/gststructure.c: (gst_structure_parse_value):
7573           When deserialising foo=bar without a type cast, check if it's a
7574           boolean before falling back to a string type, otherwise things like
7575           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7576           because the filtercaps end up having a signed=(string)true field,
7577           which causes problems later when intersection caps.
7578
7579         * tests/check/gst/gststructure.c: (GST_START_TEST):
7580           Add a unit test for this.
7581
7582 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7583
7584         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7585
7586         * libs/gst/controller/Makefile.am:
7587         * libs/gst/controller/gstcontroller.c:
7588         (gst_controlled_property_add_interpolation_control_source),
7589         (gst_controlled_property_new), (gst_controlled_property_free),
7590         (gst_controller_find_controlled_property),
7591         (gst_controller_new_valist), (gst_controller_new_list),
7592         (gst_controller_new), (gst_controller_remove_properties_valist),
7593         (gst_controller_remove_properties_list),
7594         (gst_controller_remove_properties),
7595         (gst_controller_set_property_disabled),
7596         (gst_controller_set_disabled), (gst_controller_set_control_source),
7597         (gst_controller_get_control_source), (gst_controller_get),
7598         (gst_controller_sync_values), (gst_controller_get_value_array),
7599         (_gst_controller_dispose), (gst_controller_get_type),
7600         (gst_controlled_property_set_interpolation_mode),
7601         (gst_controller_set), (gst_controller_set_from_list),
7602         (gst_controller_unset), (gst_controller_unset_all),
7603         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7604         * libs/gst/controller/gstcontroller.h:
7605         * libs/gst/controller/gstcontrollerprivate.h:
7606         * libs/gst/controller/gstcontrolsource.c:
7607         (gst_control_source_class_init), (gst_control_source_init),
7608         (gst_control_source_get_value),
7609         (gst_control_source_get_value_array), (gst_control_source_bind):
7610         * libs/gst/controller/gstcontrolsource.h:
7611         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7612         (gst_object_get_control_source):
7613         * libs/gst/controller/gstinterpolation.c:
7614         (gst_interpolation_control_source_find_control_point_node),
7615         (gst_interpolation_control_source_get_first_value),
7616         (_interpolate_none_get), (interpolate_none_get),
7617         (interpolate_none_get_boolean_value_array),
7618         (interpolate_none_get_enum_value_array),
7619         (interpolate_none_get_string_value_array),
7620         (_interpolate_trigger_get), (interpolate_trigger_get),
7621         (interpolate_trigger_get_boolean_value_array),
7622         (interpolate_trigger_get_enum_value_array),
7623         (interpolate_trigger_get_string_value_array):
7624         * libs/gst/controller/gstinterpolationcontrolsource.c:
7625         (gst_control_point_free), (gst_interpolation_control_source_reset),
7626         (gst_interpolation_control_source_new),
7627         (gst_interpolation_control_source_set_interpolation_mode),
7628         (gst_interpolation_control_source_bind),
7629         (gst_control_point_compare), (gst_control_point_find),
7630         (gst_interpolation_control_source_set_internal),
7631         (gst_interpolation_control_source_set),
7632         (gst_interpolation_control_source_set_from_list),
7633         (gst_interpolation_control_source_unset),
7634         (gst_interpolation_control_source_unset_all),
7635         (gst_interpolation_control_source_get_all),
7636         (gst_interpolation_control_source_get_count),
7637         (gst_interpolation_control_source_init),
7638         (gst_interpolation_control_source_finalize),
7639         (gst_interpolation_control_source_dispose),
7640         (gst_interpolation_control_source_class_init):
7641         * libs/gst/controller/gstinterpolationcontrolsource.h:
7642         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7643         API: Refactor GstController into the core controller which can take
7644         a GstControlSource for providing actual values for timestamps.
7645         Implement a interpolation control source and use this for backward
7646         compatibility, deprecate a bunch of functions that are now handled
7647         by GstControlSource or GstInterpolationControlSource.
7648         Make it possible to disable the controller completely or only for
7649         specific properties. Fixes #450711.
7650         * docs/libs/gstreamer-libs-docs.sgml:
7651         * docs/libs/gstreamer-libs-sections.txt:
7652         * docs/libs/gstreamer-libs.types:
7653         Add new functions and classes to the docs.
7654         * tests/check/libs/controller.c: (GST_START_TEST),
7655         (gst_controller_suite):
7656         * tests/examples/controller/audio-example.c: (main):
7657         Port unit test and example to the new API and add some new
7658         unit tests.
7659
7660 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7661
7662         Patch by: Mark Nauwelaerts <manauw at skynet be>
7663
7664         * plugins/elements/gstmultiqueue.c:
7665         (gst_multi_queue_get_internal_links), (apply_buffer),
7666         (single_queue_overrun_cb), (gst_single_queue_new):
7667         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7668         the pipeline layout can be tracked correctly. Fixes #453732.
7669
7670 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7671
7672         * docs/gst/Makefile.am:
7673         * docs/libs/Makefile.am:
7674         * docs/plugins/Makefile.am:
7675           Simplify --extra-dir as gtkdoc scans recursively.
7676
7677 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7678
7679         * tools/gst-launch.c: (main):
7680         When we got an error, there is no point in waiting for preroll when
7681         shutting down.
7682
7683 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7684
7685         * plugins/elements/gsttee.c: (gst_tee_base_init),
7686         (gst_tee_request_new_pad), (gst_tee_release_pad),
7687         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7688         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7689         (gst_tee_chain):
7690         Be a lot smarter when deciding what srcpad to use for proxying
7691         the buffer_alloc. Also handle pad added/removed when doing so.
7692         Fixes #357959.
7693         Keep track of what pads we already pushed on in case we have pads
7694         added/removed while pushing. Fixes #374639 
7695
7696         * tests/check/Makefile.am:
7697         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7698         (tee_suite):
7699         Added unit test for pad resync.
7700
7701 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7702
7703         * po/nl.po:
7704         * po/sv.po:
7705           Updated translations.
7706
7707 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7708
7709         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7710
7711         * po/LINGUAS:
7712         * po/fi.po:
7713           Added new Finnish translation.
7714
7715 2007-06-28  Wim Taymans  <wim@fluendo.com>
7716
7717         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7718         (single_queue_overrun_cb):
7719         When figuring out when a queue is filled, use our internal time estimate
7720         based on segments, just like check_full does.
7721
7722 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7723
7724         * gst/gstminiobject.c: (gst_mini_object_get_type):
7725           Remove 3 do-nothing methods.
7726
7727 2007-06-27  Wim Taymans  <wim@fluendo.com>
7728
7729         Patch by: Tim Angus <tim at ngus dot net>
7730
7731         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7732         (gst_capsfilter_set_property):
7733         Take a reference instead of a copy when setting "caps".
7734         Fix documentation to clarify this behaviour. Fixes #449414.
7735
7736 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7737
7738         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7739         * gst/gstplugin.c: (gst_plugin_init):
7740         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7741         * gst/gstquery.c: (gst_query_get_type):
7742         * gst/gstregistry.c: (gst_registry_init):
7743         * gst/gsturi.c: (gst_uri_handler_base_init):
7744           Remove empty instance_init() functions to save relocs and lessen the
7745           noise. Remove some of the function prototypes that are doubled by
7746           G_DEFINE_TYPE.
7747           
7748 2007-06-27  Wim Taymans  <wim@fluendo.com>
7749
7750         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7751
7752         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7753         Add peer and direction in the XML serialisation of ghostpads.
7754         Fixes #449226.
7755
7756 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7757
7758         * configure.ac:
7759           Preserve useful information, thanks Tim.
7760
7761 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7762
7763         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7764         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7765         (gst_single_queue_push_one), (gst_multi_queue_loop),
7766         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7767         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7768         (compute_high_id), (gst_single_queue_new):
7769         * plugins/elements/gstmultiqueue.h:
7770         Take the multiqueue lock when updating the fill level so we don't get
7771         confused. 
7772
7773         After applying a buffer or event on the src pad segment, make sure to
7774         call gst_data_queue_limits_changed() to get the data queue to unblock
7775         and check the filled state again.
7776         
7777         Rework the not-linked pad handling so the logic is that not-linked 
7778         pads can push as fast as they like, but only so they never get 
7779         ahead of any linked pads.
7780
7781         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7782         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7783         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7784
7785         Add a test to check that not-linked pads always stay behind
7786         linked pads.
7787
7788         Fixes: #430682
7789
7790 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7791
7792         * docs/random/release:
7793           Some updates to the release procedure.
7794
7795 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7796
7797         * gst/gstelementfactory.c: (__gst_element_details_clear):
7798           Microoptimization that saves stunning 80 bytes.
7799
7800 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7801
7802         * docs/plugins/gstreamer-plugins.args:
7803         * docs/plugins/inspect/plugin-coreelements.xml:
7804         * docs/plugins/inspect/plugin-coreindexers.xml:
7805           Update docs with caps info.
7806
7807 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7808
7809         * po/it.po:
7810           Updated Italian translation.
7811
7812 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7813
7814         * ChangeLog:
7815         * po/vi.po:
7816           Update Vietnamese translations.
7817
7818 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7819
7820         * libs/gst/base/gstbasesink.c:
7821           Remove unused signal enum.
7822
7823 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7824
7825         * docs/gst/gstreamer-sections.txt:
7826         * gst/gstelement.c:
7827         * gst/gstutils.c: (gst_type_register_static_full):
7828         Beef up and include the docs for gst_type_register_static_full and
7829         gst_element_class_set_details_simple and add the API keyword
7830         in the ChangeLog.
7831
7832 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7833
7834         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7835         (update_time_level), (gst_single_queue_push_one),
7836         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7837         (single_queue_overrun_cb), (single_queue_underrun_cb),
7838         (single_queue_check_full):
7839         Fix setting max-* properties after adding queues.
7840         Use IS_FILLED for checking visible items.
7841         Signal overrun if multiple queues overrun.
7842         Add extra debug output.
7843         Patch by: Wim Taymans <wim@fluendo.com>
7844
7845 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7846
7847         * gst/gstelement.c: (gst_element_class_set_details_simple):
7848         * gst/gstelement.h:
7849         * gst/gstutils.c: (gst_type_register_static_full):
7850         * gst/gstutils.h:
7851         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7852         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7853         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7854         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7855         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7856         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7857         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7858         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7859         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7860         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7861         (apply_buffer), (gst_queue_chain):
7862         * plugins/elements/gsttee.c: (gst_tee_base_init):
7863         * plugins/elements/gsttypefindelement.c:
7864         (gst_type_find_element_base_init),
7865         (gst_type_find_element_class_init):
7866           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7867           API: add gst_type_register_static_full
7868           API: add gst_element_class_set_details_simple
7869
7870 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7871
7872         * docs/pwg/advanced-types.xml:
7873           Fix typo in iana.org URI.
7874
7875 2007-06-19  Andy Wingo  <wingo@pobox.com>
7876
7877         * tests/check/pipelines/simple-launch-lines.c
7878         (test_state_change_returns): Enable pull-mode tests now that
7879         basesink has been fixed.
7880
7881         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7882         Changed from gst_base_sink_is_prerolled, reversing the sense of
7883         the return value. Returns FALSE also if the sink is in pull mode,
7884         in which case it needs no preroll.
7885         (gst_base_sink_query, gst_base_sink_change_state): Update for
7886         needs_preroll change.
7887         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7888         chaining up, in which we return SUCCESS directly if we activated
7889         in pull mode instead of ASYNC. Involves countering an async_start
7890         message sent before chaining up; not sure if this is correct, in
7891         an ideal world we only send async-start when activating in push
7892         mode.
7893
7894         * tests/check/pipelines/simple-launch-lines.c
7895         (test_state_change_returns): New test, partially disabled until
7896         basesink is fixed.
7897
7898 2007-06-19  Wim Taymans  <wim@fluendo.com>
7899
7900         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7901         (gst_multi_queue_sink_event):
7902         Fix event leak.
7903
7904 2007-06-19  Wim Taymans  <wim@fluendo.com>
7905
7906         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7907         (gst_bin_change_state_func), (bin_push_state_continue),
7908         (bin_handle_async_start), (bin_handle_async_done),
7909         (gst_bin_handle_message_func):
7910         Move the common code for posting state-change messages into
7911         one function.
7912         Broadcast the state signal after we posted the messages.
7913         Mark the bin as busy when it's doing a state-change.
7914         Make sure async-start/done messages don't interfere with the bin's
7915         state when it's busy.
7916         After the state change, let the bin check which elements completed the
7917         state change while it was busy so that it can update its state.
7918
7919 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7920
7921         * docs/random/release:
7922         Add a note about updating the doap file to the release checklist
7923
7924 2007-06-18  Wim Taymans  <wim@fluendo.com>
7925
7926         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7927         (gst_single_queue_push_one), (gst_multi_queue_chain),
7928         (gst_multi_queue_sink_event):
7929         Make sure we don't reference the buffer/event after we have given away
7930         ownership in the queue.
7931
7932 2007-06-18  Wim Taymans  <wim@fluendo.com>
7933
7934         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7935         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7936         Update queue state _after_ adding the item in the queue because else we
7937         could end up being full without the element added yet.
7938
7939 2007-06-18  Wim Taymans  <wim@fluendo.com>
7940
7941         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7942         (gst_bin_remove_func), (gst_bin_get_state_func),
7943         (gst_bin_element_set_state), (gst_bin_continue_func),
7944         (bin_push_state_continue), (bin_handle_async_start),
7945         (bin_handle_async_done), (gst_bin_handle_message_func):
7946         * gst/gstbin.h:
7947         Immediatly commit the toplevel bin state when receiving an async-done
7948         message. This enables us to avoid spawning a thread to commit the state
7949         in some common cases and it also avoids some races.
7950         Avoid spawning a state thread when adding/removing async elements to a
7951         toplevel bin. Instead we immediatly update the bin state.
7952         Get rid of iterating all the children when getting the state in the bin
7953         because it is now always up-to-date.
7954         Fix bug where locked elements would always return _SUCCESS even it they
7955         returned NO_PREROLL before being locked.
7956         Fix the order of the state_change, async-start/done messages that was
7957         sometimes incorrect.
7958         Mark the state_dirty field as deprecated, we don't need it anymore as we
7959         are always up-to-date.
7960
7961         * gst/gstelement.c: (gst_element_get_state_func),
7962         (gst_element_continue_state):
7963         Small debug inprovements.
7964         Return the previous element state return when nothing is pending instead
7965         of blindly returning SUCCESS.
7966
7967         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7968         (gst_sinks_suite):
7969         Add a whole bunch of new testcases.
7970
7971 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7972
7973         * po/uk.po:
7974         * po/vi.po:
7975           Update translations.
7976
7977 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
7978
7979         * gst/gstpad.c:
7980         Fix typo in the docs.
7981
7982 2007-06-15  Wim Taymans  <wim@fluendo.com>
7983
7984         * docs/libs/gstreamer-libs-sections.txt:
7985         Add docs for new methods.
7986
7987 2007-06-15  Wim Taymans  <wim@fluendo.com>
7988
7989         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7990         (gst_multi_queue_item_new):
7991         Don't use GSlice because we don't depend on >= 2.10 yet.
7992
7993 2007-06-15  Wim Taymans  <wim@fluendo.com>
7994
7995         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7996         (update_time_level), (apply_segment), (apply_buffer),
7997         (gst_single_queue_push_one), (gst_multi_queue_item_new),
7998         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7999         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8000         (single_queue_underrun_cb), (single_queue_check_full):
8001         Remove debug printf.
8002
8003 2007-06-15  Wim Taymans  <wim@fluendo.com>
8004
8005         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8006         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8007         (gst_data_queue_set_flushing), (gst_data_queue_push),
8008         (gst_data_queue_pop), (gst_data_queue_drop_head),
8009         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8010         * libs/gst/base/gstdataqueue.h:
8011         Various cleanups.
8012         Added methods to get the current levels and to inform the queue that the
8013         'full' limits changed.
8014
8015         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8016         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8017         (gst_single_queue_flush), (update_time_level), (apply_segment),
8018         (apply_buffer), (gst_single_queue_push_one),
8019         (gst_multi_queue_item_steal_object),
8020         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8021         (gst_multi_queue_loop), (gst_multi_queue_chain),
8022         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8023         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8024         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8025         (single_queue_underrun_cb), (single_queue_check_full),
8026         (gst_single_queue_new):
8027         Keep track of time in the queue by measuring the difference between
8028         running_time on input and output. This gives more accurate results and
8029         can compensate for segments correctly.
8030         Make a queue by default only 5 buffers deep. We will now increase the
8031         buffer size depending on the filledness of the other queues.
8032         Factor out commong flush code.
8033         Make sure we don't add additional refcounts to buffers when we can avoid
8034         it.
8035         Propagate GstFlowReturn differently.
8036         Use GSlice for intermediate GstMultiQueueItems.
8037         Keep track of EOS.
8038         Resize queues on over and underruns based on filled level of other
8039         queues.
8040         When checking if the queue is filled, prefer to measure in time if we
8041         can and fall back to bytes when no time is known.
8042
8043         * plugins/elements/gstqueue.c:
8044         Fix return value.
8045
8046 2007-06-15  Wim Taymans  <wim@fluendo.com>
8047
8048         * libs/gst/base/gstbasetransform.c:
8049         (gst_base_transform_sink_event):
8050         Work around the brokenness of the event vmethod in basetransform. Prefer
8051         to return TRUE when the subclass returned FALSE (meaning don't forward
8052         the event). 
8053
8054         * libs/gst/base/gstbasetransform.h:
8055         Clarify the docs.
8056
8057 2007-06-15  Wim Taymans  <wim@fluendo.com>
8058
8059         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8060         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8061         (gst_base_src_default_query), (gst_base_src_get_range),
8062         (gst_base_src_start):
8063         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8064         Improve debugging.
8065
8066 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8067
8068         * docs/pwg/advanced-types.xml:
8069           Added more formats to caps table.
8070
8071 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8072
8073         * tools/gst-launch.c: (main):
8074           Remove crufy code. GOption does not need this workaround.
8075
8076 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8077
8078         * libs/gst/controller/gstcontroller.c:
8079         (gst_controlled_property_set_interpolation_mode):
8080           Fix wrong getter for enums in controller.
8081
8082 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8083
8084         * libs/gst/check/gstcheck.c: (gst_check_init):
8085           Intercept criticals and warnings in the Gst-Phonon log domain, so
8086           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8087           well.
8088         
8089 2007-06-14  Edward Hervey  <edward@fluendo.com>
8090
8091         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8092         Since this file doesn't include "gst.h" it will not go through the
8093         macros that disable GST_LOG if debugging was disabled.
8094
8095 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8096
8097         * libs/gst/check/Makefile.am:
8098         * libs/gst/check/gstcheck.h:
8099         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8100         * pkgconfig/gstreamer-check.pc.in:
8101           Ugly 'fix' for the controller unit test on the p5 bot: in
8102           fail_unless_equals_float() check whether the values are 'almost
8103           equal' by allowing a small absolute error, which should be good
8104           enough for our use cases (normal numbers and values close to 0).
8105           Proper fixage left to floating point arithmetic aficionados.
8106
8107 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8108
8109         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8110         (gst_base_sink_render_object), (gst_base_sink_get_position):
8111           Add two breaks thats where missing.
8112
8113 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8114
8115         * docs/libs/gstreamer-libs-sections.txt:
8116         * libs/gst/check/gstcheck.h:
8117           API: add fail_unless_equals_float() and assert_equals_float().
8118           Add documentation for some of the macros.
8119
8120         * tests/check/libs/controller.c: (GST_START_TEST):
8121           Use newly-added asserts.
8122
8123 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8124
8125         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8126           Show the caps change in the log to help spotting the case of not
8127           exactly matching caps.
8128
8129 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8130
8131         * docs/pwg/building-boiler.xml:
8132           Fix typos, spotted by Thijs Vermeir (#447190).
8133
8134 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8135
8136         * docs/plugins/tmpl/.cvsignore:
8137         Ignore file to keep the buildbots happy
8138
8139 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8140
8141         * docs/plugins/Makefile.am:
8142         * docs/plugins/gstreamer-plugins-docs.sgml:
8143         * docs/plugins/gstreamer-plugins-sections.txt:
8144         Pull fdsink into the docs too.
8145
8146 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8147
8148         * libs/gst/controller/gstinterpolation.c:
8149         Actually use the new functions with min/max checks for the trigger and
8150         none interpolation modes for get() and get_value_array() instead of
8151         just the latter.
8152
8153 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8154
8155         * libs/gst/controller/gstcontroller.c:
8156         (gst_controlled_property_free):
8157         Unset the minimum and maximum GValues when freeing the corresponding
8158         GstControllerProperty struct.
8159
8160 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8161
8162         * libs/gst/controller/gstcontroller.c:
8163         (gst_controlled_property_new):
8164         * libs/gst/controller/gstcontrollerprivate.h:
8165         * libs/gst/controller/gstinterpolation.c:
8166         (gst_controlled_property_find_control_point_node),
8167         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8168         (interpolate_none_get_string_value_array),
8169         (interpolate_trigger_get),
8170         (interpolate_trigger_get_enum_value_array),
8171         (interpolate_trigger_get_string_value_array):
8172         Protect against values larger or smaller than the minimum or maximum
8173         allowed value for the property when using values that can be compared.
8174
8175         Optimize trigger interpolator a bit by taking the last requested value
8176         into account instead of always looping through the complete list.
8177
8178         Fix coding style a bit, everywhere else we use "return foo" instead
8179         of "return (foo)".
8180         
8181         * tests/check/libs/controller.c: (GST_START_TEST),
8182         (gst_controller_suite):
8183         Add unit test for the protection against too large or too small
8184         values.
8185
8186 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8187
8188         * docs/random/slomo/controller.txt:
8189         Add some thoughts about the future of the controller.
8190
8191 2007-06-08  Wim Taymans  <wim@fluendo.com>
8192
8193         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8194         Don't overflow in retimestamping code.
8195
8196 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8197
8198         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8199         Use gst_util_guint64_to_gdouble for conversions.
8200         * win32/common/libgstreamer.def:
8201         Add new exported functions.
8202
8203 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8204
8205         * gst/gstutils.c:
8206           Small docs addition.
8207
8208 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8209
8210         * README:
8211           Remove that test line again.
8212
8213 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8214
8215         * README:
8216           Test commit mail sending.
8217
8218 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8219
8220         * configure.ac:
8221           Fix typo and test commit mail sending.
8222
8223 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8224
8225         * tests/examples/controller/audio-example.c:
8226           Improve comment and test commit mail sending.
8227
8228 2007-06-07  Wim Taymans  <wim@fluendo.com>
8229
8230         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8231         (gst_bin_remove_func), (gst_bin_element_set_state),
8232         (bin_handle_async_start), (bin_handle_async_done),
8233         (gst_bin_handle_message_func):
8234         Add helper function to find messages.
8235         Generate the async-done messages together with the state change
8236         messages.
8237         Small cleanups in handling toplevel bins.
8238
8239 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8240
8241         * libs/gst/base/gstdataqueue.c:
8242         * libs/gst/base/gstdataqueue.h:
8243         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8244         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8245         (gst_multi_queue_sink_event):
8246         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8247           Fix multiqueue leaking buffers and events when downstream or the
8248           queue are flushing. Make refcounting assumptions explicit and
8249           document them (shouldn't break existing code that uses it other than
8250           maybe leak miniobjects, but that already happens anyway). Add unit
8251           test for the most common flushing case. Fixes #423700.
8252           
8253 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8254
8255         * libs/gst/controller/gstcontroller.c:
8256         Clarify docs: The get_all, get_value_array(s) functions
8257         don't modify the GObject properties.
8258
8259 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8260
8261         * libs/gst/controller/gstcontroller.c:
8262         (gst_controlled_property_set_interpolation_mode),
8263         (gst_controlled_property_prepend_default),
8264         (gst_controlled_property_new), (gst_controller_set_unlocked),
8265         (gst_controller_set), (gst_controller_set_from_list),
8266         (gst_controller_unset), (gst_controller_unset_all):
8267         * libs/gst/controller/gstcontrollerprivate.h:
8268         * libs/gst/controller/gstinterpolation.c:
8269         Factor out the 'set' logic into gst_controller_set_unlocked for the
8270         gst_controller_set and gst_controller_set_from_list functions.
8271
8272         To make life of the interpolators easier always add a control point
8273         at timestamp zero with the default value.
8274
8275         In the linear interpolator make things more obvious by better variable
8276         naming (slope).
8277
8278         Implement cubic interpolation mode (by using a natural cubic spline)
8279         and map the quadratic interpolation mode to this too (as quadratic
8280         doesn't make much sense, see discussion on the list).
8281
8282         * tests/check/libs/controller.c: (GST_START_TEST),
8283         (gst_controller_suite):
8284         Add unit test for the cubic interpolation mode and check everywhere
8285         if the interpolation mode could be set as expected.
8286
8287 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8288
8289         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8290           Don't use GLib-2.10 functions, we still depend on
8291           GLib-how-old-is-it-again-2.8.
8292
8293 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8294
8295         * docs/gst/gstreamer-sections.txt:
8296         * gst/Makefile.am:
8297         * gst/gst.c:
8298         * gst/gst.h:
8299         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8300         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8301         (_gst_param_fraction_values_cmp),
8302         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8303         * gst/gstparamspecs.h:
8304         * gst/gstvalue.c:
8305         * tests/check/Makefile.am:
8306         * tests/check/gst/.cvsignore:
8307         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8308         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8309         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8310         (GST_START_TEST), (gst_param_spec_suite):
8311           API: add GstParamSpecFraction, so elements can have fraction
8312           properties without lots of painful string parsing (#444648).
8313
8314 2007-06-05  Wim Taymans  <wim@fluendo.com>
8315
8316         * gst/gstobject.c: (gst_object_class_init):
8317         Fix signal signature.
8318
8319         * gst/gstsegment.c:
8320         Add small clarification in the api docs.
8321
8322         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8323         States are protected with object lock.
8324
8325 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8326
8327         * AUTHORS:
8328         I should probably be listed as an author by now.
8329
8330         * docs/random/release:
8331         Update the release doc
8332
8333 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8334
8335         * gst/gstvalue.c:
8336           Make docs for gst_value_compare() mention return enums that
8337           actually exist.
8338
8339 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8340
8341         * configure.ac:
8342           Back to CVS
8343
8344 === release 0.10.13 ===
8345
8346 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8347
8348         * configure.ac:
8349           releasing 0.10.13, "With or without you"
8350
8351 2007-05-25  Wim Taymans  <wim@fluendo.com>
8352
8353         * gst/gstbin.c: (bin_handle_async_done):
8354         Make sure that the child bin stops after completing the async state
8355         change so that the parent can continue the state change to PLAYING.
8356         Fixes #441159.
8357
8358 2007-05-25  Wim Taymans  <wim@fluendo.com>
8359
8360         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8361         (unref_data), (gst_collect_pads_remove_pad),
8362         (gst_collect_pads_check_pads):
8363         Use additional refcounting to avoid crashes when dynamically adding and
8364         removing pads. Fixes #420206.
8365
8366 2007-05-24  Wim Taymans  <wim@fluendo.com>
8367
8368         * tools/gst-launch.c: (event_loop):
8369         When buffering goes from a two digit to a single digit number, make sure
8370         to remove the old second digit by writing a blank over it.
8371
8372 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8373
8374         * libs/gst/base/gstdataqueue.c:
8375           Eliminate tabs and trailing comma in enum list; fix some typos.
8376
8377 2007-05-24  Wim Taymans  <wim@fluendo.com>
8378
8379         * tests/check/gst/gstbin.c: (GST_START_TEST):
8380         Allow refcount of 3 and 4 because some state thread might still be busy
8381         with it.
8382
8383 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8384
8385         * plugins/elements/Makefile.am:
8386         * plugins/elements/gstmultiqueue.h:
8387         * plugins/elements/gstqueue.h:
8388           These are not installed headers, no need for padding.
8389
8390 2007-05-24  Wim Taymans  <wim@fluendo.com>
8391
8392         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8393         (gst_bin_continue_func):
8394         Enable latency for next release.
8395         Restore STATE_LOCK around recalc_state that was left out during the
8396         rewrite and could result in racy behaviour when _get_state and
8397         recalc_state are run concurrently. See #440463.
8398
8399 2007-05-23  Wim Taymans  <wim@fluendo.com>
8400
8401         * tests/check/gst/gstsystemclock.c: (store_callback),
8402         (GST_START_TEST):
8403         Improve test_async_order to also work when both timers are already
8404         expired when we get scheduled to check it.
8405
8406 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8407
8408         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8409         (gst_bin_set_property), (gst_bin_get_property),
8410         (gst_bin_remove_func), (gst_bin_handle_message_func):
8411         * gst/gstbin.h:
8412           'private' is a c++ keyword, let's not use that in header files,
8413           otherwise c++ compilers will throw a tantrum.
8414
8415 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8416
8417         * plugins/elements/gstelements.c:
8418         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8419         (gst_file_sink_get_current_offset):
8420         * plugins/indexers/gstindexers.c: (plugin_init):
8421           Use #ifdef for HAVE_XYZ for consistency.
8422
8423         * tests/check/Makefile.am:
8424         * tests/check/elements/.cvsignore:
8425         * tests/check/elements/filesink.c: (setup_filesink),
8426         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8427           Add some unit tests for filesink.
8428
8429 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8430
8431         Patch by: Mark Nauwelaerts <manauw at skynet be>
8432
8433         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8434         (gst_file_sink_query), (gst_file_sink_do_seek),
8435         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8436         * plugins/elements/gstfilesink.h:
8437           Fix position reporting; rename data_written member to current_pos to
8438           reflect its real meaning (fixes #412648).
8439
8440 2007-05-22  Edward Hervey  <edward@fluendo.com>
8441
8442         * docs/gst/gstreamer-sections.txt:
8443         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8444         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8445         (gst_bin_remove_func), (gst_bin_handle_message_func):
8446         * gst/gstbin.h:
8447         Add a property for bins that handle the state change of their childs.
8448         Fixes #435880
8449
8450 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8451
8452         * libs/gst/controller/gstinterpolation.c:
8453         Use an array of the correct type when using _get_value_array with
8454         linear interpolation.
8455
8456 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8457
8458         * gst/gstelement.c (gst_element_requires_clock,
8459           gst_element_provides_clock, gst_element_request_pad,
8460           gst_element_class_set_details, gst_element_class_set_details_simple,
8461           gst_element_default_send_event, gst_element_abort_state,
8462           gst_element_continue_state, gst_element_set_state,
8463           gst_element_set_state_func, iterator_activate_fold_with_resync):
8464         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8465           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8466           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8467           gst_pad_get_range, gst_pad_pull_range):
8468         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8469           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8470           GstPadActivateModeFunction, GstPadChainFunction,
8471           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8472           GstPadFixateCapsFunction, GstPadTemplate):
8473         * gst/gstpipeline.c (gst_pipeline_change_state,
8474           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8475           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8476           gst_pipeline_get_delay):
8477           Whitespace and docs fixes.
8478
8479 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8480
8481         * libs/gst/controller/gstinterpolation.c:
8482         (interpolate_trigger_get_enum_value_array),
8483         (interpolate_trigger_get_string_value_array):
8484         Add support for retrieving value arrays when using the trigger
8485         interpolation mode. 
8486
8487 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8488
8489         * libs/gst/controller/gstcontroller.c:
8490         (gst_controller_get_value_array):
8491         * libs/gst/controller/gstcontroller.h:
8492         Clarify the docs of gst_controller_get_value_array(): The array where
8493         the values should be written to must be allocated as there seems to be
8494         no way to get the size of a random GType. This doesn't change any
8495         behaviour. Also fix some typos all over the place and remove an unused,
8496         commented function that is not necessary as g_object_set() could be
8497         used instead.
8498         * tests/check/libs/controller.c: (GST_START_TEST),
8499         (gst_controller_suite):
8500         Add unit test for gst_controller_get_value_array().
8501
8502 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8503
8504         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8505
8506         Disable part of the gst_buffer_try_new_and_alloc test, because
8507         it can happily succeed on 64-bit systems where there's more address
8508         space available.
8509
8510 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8511
8512         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8513         Add unit test for the improved caps checking from bug #421543.
8514
8515 2007-05-21  Wim Taymans  <wim@fluendo.com>
8516
8517         * docs/design/part-synchronisation.txt:
8518         Small addition.
8519
8520         * gst/gstbin.c: (gst_bin_query):
8521         * plugins/elements/gstqueue.c: (apply_segment):
8522         Improve debugging.
8523
8524         * gst/gstmessage.h:
8525         Improve docs.
8526
8527 2007-05-21  Wim Taymans  <wim@fluendo.com>
8528
8529         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8530         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8531         (gst_pad_configure_src):
8532         Added simple version of improved caps checking. It was previously
8533         assumed that a setcaps function would check the validity of the caps but
8534         people prefer us to check caps against the template automatically. 
8535         Fixes #421543.
8536
8537 2007-05-21  Wim Taymans  <wim@fluendo.com>
8538
8539         * libs/gst/base/gstbasetransform.h:
8540         Fix macro for locking/unlocking the transform lock.
8541
8542 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8543
8544         * docs/plugins/tmpl/.cvsignore:
8545           Ignore more.
8546
8547 2007-05-18  Edward Hervey  <edward@fluendo.com>
8548
8549         * plugins/elements/gstqueue.c: (gst_queue_loop):
8550         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8551         for the subtle art of warning a potentially blocking thread that it
8552         should check the source pad return value, and relay the information
8553         upstream.
8554
8555 2007-05-18  Edward Hervey  <edward@fluendo.com>
8556
8557         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8558         Release the queue lock !
8559
8560 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8561
8562         * docs/libs/gstreamer-libs-sections.txt:
8563         Add the two new controller functions to the appropiate places.
8564
8565 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8566
8567         reviewed by: Stefan Kost <ensonic@users.sf.net>
8568
8569         * libs/gst/controller/gstcontroller.c:
8570         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8571         (_gst_controller_get_property), (_gst_controller_set_property),
8572         (_gst_controller_init), (_gst_controller_class_init):
8573         * libs/gst/controller/gstcontroller.h:
8574         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8575         (gst_object_get_control_rate), (gst_object_set_control_rate):
8576         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8577         Add API that provides sync suggestion timestamps for elements that
8578         call gst_object_sync_values() from which those elements can subdivide
8579         their processing loop to get the best results for the controlled
8580         properties. For now it just suggests last_sync + control_rate as
8581         new timestamp but this will be improved in the future.
8582
8583         While doing that change the control-rate property to a GstClockTime
8584         from guint and change it's meaning from samples to nanoseconds as
8585         the GstController doesn't know anything about sampling rate. Strictly
8586         speaking this breaks ABI but as the control-rate property didn't do
8587         anything in the past and as such couldn't be used this should be no
8588         problem.        
8589
8590 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8591
8592         reviewed by: Stefan Kost <ensonic@users.sf.net>
8593
8594         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8595         (gst_controller_unset_all):
8596         * libs/gst/controller/gstcontrollerprivate.h:
8597         * libs/gst/controller/gstinterpolation.c:
8598         (gst_controlled_property_find_control_point_node):
8599         Save last synced value from the list to continue searching from there
8600         in future syncs. This speeds everything up a bit.
8601         
8602 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8603
8604         reviewed by: Stefan Kost <ensonic@users.sf.net>
8605
8606         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8607         (gst_control_point_find), (gst_controlled_property_new),
8608         (gst_control_point_free), (gst_controlled_property_free),
8609         (gst_controller_set), (gst_controller_set_from_list),
8610         (gst_controller_unset), (gst_controller_unset_all),
8611         (gst_controller_sync_values):
8612         * libs/gst/controller/gstcontroller.h:
8613         * libs/gst/controller/gstcontrollerprivate.h:
8614         * libs/gst/controller/gstinterpolation.c:
8615         (gst_controlled_property_find_control_point_node),
8616         (interpolate_none_get), (interpolate_trigger_get):
8617         Add a new private GstControlPoint struct which "inherits" from
8618         GstTimedValue to allow different interpolators to store internal
8619         values next to each control point. From the outside everything is
8620         still a GstControlPoint so we don't loose binary compatibility.
8621         Also fixup all the GValue handling to not leak GValues or list nodes.
8622         * tests/check/libs/controller.c: (GST_START_TEST):
8623         Free the list nodes and GValues in the controller_misc test.
8624
8625 2007-05-17  Edward Hervey  <edward@fluendo.com>
8626
8627         * gst/gstsegment.c:
8628         Small doc fix.
8629
8630 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8631
8632         * gst/gstplugin.c: (gst_plugin_load_file):
8633           If we fail to load a plugin because of unresolved symbols or missing
8634           libraries and spew a warning to stderr, we may just as well mention
8635           which plugin it was that failed to load.
8636
8637 2007-05-13  David Schleef  <ds@schleef.org>
8638
8639         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8640           handles the case when ENABLE_GTK_DOC is false, and installs
8641           the prebuilt documentation.  So gtk-doc subdirs are 
8642           unconditionally enabled.  Fixes: #349099.
8643
8644 2007-05-13  David Schleef  <ds@schleef.org>
8645
8646         * gst/gstutils.h: Reword some documentation.
8647
8648 2007-05-12  David Schleef  <ds@schleef.org>
8649
8650         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8651           do anything with the passed "module" parameter, so remove it.
8652           Allows removal of additional vestigal code.
8653
8654 2007-05-12  David Schleef  <ds@schleef.org>
8655
8656         * gst/gstplugin.c:
8657           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8658           Switch to using g_stat() because it's more portable.
8659
8660 2007-05-12  David Schleef  <ds@schleef.org>
8661
8662         * gst/gst.c:
8663           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8664           parsing for embedded systems.
8665         * gst/gstelementfactory.c:
8666           Allow gst_element_register() to be called with plugin==NULL.
8667           Did nobody notice that static elements were broken?
8668
8669 2007-05-12  Wim Taymans  <wim@fluendo.com>
8670
8671         * tools/gst-launch.c: (event_loop):
8672         Give more interesting info when buffering starts and stops.
8673         Fix case where buffering starts but we fail to update the buffering flag
8674         because the target state is not PLAYING.
8675
8676 2007-05-12  Wim Taymans  <wim@fluendo.com>
8677
8678         * plugins/elements/gstqueue.c: (gst_queue_init),
8679         (gst_queue_finalize), (update_time_level), (apply_segment),
8680         (apply_buffer), (gst_queue_locked_flush),
8681         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8682         (gst_queue_handle_sink_event), (gst_queue_chain),
8683         (gst_queue_push_one), (gst_queue_loop):
8684         * plugins/elements/gstqueue.h:
8685         Refactor an cleanup queue a bit.
8686         Do better time level calculations that also work when the srcpad is not
8687         yet running.
8688         Remove some unneeded debug lines.
8689
8690         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8691         Added testcase for time level measurement.
8692         Try to make some stuff more racefree.
8693
8694 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8695
8696         * gst/gsturi.c: (gst_element_make_from_uri):
8697           Don't leak plugin feature.
8698
8699         * tests/check/Makefile.am:
8700         * tests/check/gst/.cvsignore:
8701         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8702           Add brain-dead unit test.
8703
8704 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8705
8706         Patch by: Jeroen Wouters <woutersj at gmail com>
8707
8708         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8709           Treat protocol strings in a case-insensitive way (#437563).
8710
8711 2007-05-11  Michael Smith <msmith@fluendo.com>
8712
8713         * gst/gstplugin.c: (gst_plugin_load_file):
8714         * gst/gstregistry.c: (gst_registry_scan_path_level):
8715           Don't print a g_warning for any failure to load a shared object.
8716           Instead, push this down into gstplugin.c, and warn _only_ if we
8717           failed to open the module (i.e. failure to link).
8718           Avoids warnings on normal, working, non-plugin .so files.
8719
8720 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8721
8722         * gst/gstplugin.c (gst_plugin_load_file):
8723         * gst/gstregistry.c (GST_CAT_DEFAULT,
8724           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8725           Print a g_warning if there was an error when loading a plugins during
8726           registry scan. The shuld help beginners starting with gst-plugin
8727           template.
8728
8729 2007-05-10  Wim Taymans  <wim@fluendo.com>
8730
8731         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8732         (update_time_level), (gst_queue_locked_flush),
8733         (gst_queue_handle_sink_event), (gst_queue_chain),
8734         (gst_queue_push_one), (gst_queue_loop):
8735         * plugins/elements/gstqueue.h:
8736         Be smarter when calculating the current amount of data in the queue by
8737         measuring the difference between start and end timestamps (in running
8738         time) inside the queue. Fixes #432876.
8739         API: GstQueue::pushing to notify elements that we are pushing data again
8740         since the running signal is rather broken for this purpose.
8741
8742 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8743
8744         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8745           gst_queue_base_init, gst_queue_init):
8746           use GST_BOILERPLATE
8747
8748 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8749
8750         * win32/common/libgstreamer.def:
8751         Add new exported functions.
8752         * win32/vs6/grammar.dsp:
8753         Use grammar pre-generated files.
8754
8755 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8756
8757         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8758
8759         * gst/Makefile.am:
8760         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8761         * gst/gstparse.h:
8762         * gst/gstutils.c: (gst_parse_bin_from_description):
8763         * gst/gstutils.h:
8764           Maintain API and ABI when --disable-parse is used. Now that
8765           we have an appropriate error code, we can just return NULL and the
8766           appropriate error when gst_parse_launch() is used despite it having
8767           been disabled (#342564).
8768
8769         * tests/check/Makefile.am:
8770         * tests/check/pipelines/.cvsignore:
8771         * tests/check/pipelines/parse-disabled.c:
8772           Make sure these functions exist and return NULL plus a GError when
8773           --disable-parse is used.
8774
8775 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8776
8777         * tests/benchmarks/complexity.c: (main):
8778         * tests/benchmarks/mass-elements.c: (main):
8779           Set a good example and don't leak messages.
8780
8781 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8782
8783         * docs/gst/Makefile.am:
8784         * docs/libs/Makefile.am:
8785           Correct fixxrefs options.
8786
8787         * docs/plugins/Makefile.am:
8788         * docs/plugins/gstreamer-plugins-docs.sgml:
8789         * docs/plugins/gstreamer-plugins-sections.txt:
8790         * plugins/elements/Makefile.am:
8791         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8792         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8793           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8794           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8795           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8796           _GstCapsFilterClass, trans_class):
8797         * plugins/elements/gstelements.c (name, rank, type, _elements):
8798         * plugins/elements/gstidentity.c
8799           (gst_identity_check_imperfect_timestamp,
8800           gst_identity_check_imperfect_offset):
8801           Document capsfilter and add doc-blurb to identity.
8802
8803 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8804
8805         * libs/gst/controller/gstcontroller.c:
8806         (gst_controlled_property_set_interpolation_mode):
8807         * libs/gst/controller/gstinterpolation.c:
8808           Don't crash if someone tries to set an interpolation mode that
8809           is invalid or that isn't supported yet. Fixes #422295.
8810
8811         * tests/check/libs/controller.c: (GST_START_TEST),
8812         (gst_controller_suite):
8813           Add a test case for the above.
8814
8815 2007-05-03  Edward Hervey  <edward@fluendo.com>
8816
8817         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8818         Properly set the last_stop position on GstSegment. This will only happen
8819         if there is a buffer to push out.
8820
8821 2007-05-03  Wim Taymans  <wim@fluendo.com>
8822
8823         * libs/gst/base/gstbasetransform.c:
8824         (gst_base_transform_buffer_alloc):
8825         always_in_place does not mean that the sink and source caps are the
8826         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8827
8828 2007-05-03  Wim Taymans  <wim@fluendo.com>
8829
8830         * docs/libs/gstreamer-libs-sections.txt:
8831         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8832         (gst_base_src_default_query), (gst_base_src_get_range):
8833         * libs/gst/base/gstbasesrc.h:
8834         API: gst_base_src_query_latency(). Added method so that subclasses can
8835         easily get the latency values of the base source class.
8836
8837 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8838
8839         * tools/gst-inspect.c (print_implementation_info):
8840         Remove 0.8 cruft.
8841
8842 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8843
8844         * tools/Makefile.am:
8845         * tools/gst-launch.1.in:
8846           Don't create a customised man page based on the host architecture,
8847           describe the default registry path generically. That way the man
8848           page is the same for all architectures and packagers have one
8849           multilib issue less to deal with. Fixes #434926.
8850
8851 2007-05-02  Wim Taymans  <wim@fluendo.com>
8852
8853         * gst/gstpad.c:
8854         Fix documentation as spotted by rg on IRC. 
8855
8856 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8857
8858         * gst/gstutils.c:
8859           Improve docs for gst_element_{link,unlink}.
8860
8861 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8862
8863         * docs/design/part-events.txt:
8864         * docs/design/part-overview.txt:
8865         * gst/gstevent.c:
8866         * gst/gsturi.c:
8867         * gst/gsturi.h:
8868         * libs/gst/base/gstbasesink.c:
8869           Typo fixes; minor docs addition.
8870
8871 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8872
8873         * docs/gst/gstreamer-sections.txt:
8874         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8875         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8876         * gst/gsturi.h:
8877         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8878         or src that supports a given URI protocol exists.
8879
8880 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8881
8882         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8883         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8884         Set the location to NULL if "file://" is set as URI. Otherwise
8885         some random previous URI would still be set if "file://" is
8886         set on an already used filesink/filesrc.
8887
8888 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8889
8890         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8891         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8892         Special case the "file://" URI as as this is used by some
8893         applications to test with gst_element_make_from_uri if there's
8894         an element that supports the URI protocol.
8895         Also move the g_path_is_absolute() check for the location part
8896         of the URI to also check this for "file://localhost/bla" URIs.
8897
8898 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8899
8900         * docs/gst/gstreamer-sections.txt:
8901         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8902         * gst/gstbuffer.h:
8903         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8904         (gst_buffer_suite):
8905           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8906
8907 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8908
8909         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8910         (gst_registry_binary_load_pad_template),
8911         (gst_registry_binary_load_plugin),
8912         (gst_registry_binary_read_cache):
8913         * gst/gstregistrybinary.h:
8914           Implement no-mmap alternative for registry reading. Do code cleanups.
8915           Add more comments about avoiding strdups for all text data. Comments
8916           welcome.
8917
8918 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8919
8920         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8921           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8922           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8923           Comment structs and reformat to fix the build (that stuff should go
8924           into a priv. header).
8925
8926 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8927
8928         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8929         (gst_registry_binary_load_feature):
8930         * gst/gstregistrybinary.h:
8931           Refactor so that we can implement multiple features. Add support for
8932           TypeFindFactory features.
8933
8934 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8935
8936         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8937
8938         * configure.ac:
8939           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8940
8941 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8942
8943         * gst/gstbin.c: (gst_bin_element_set_state),
8944         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8945         (bin_handle_async_done), (gst_bin_handle_message_func):
8946           Fix build with --gst-disable-gst-debug
8947
8948 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8949
8950         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8951           Make sure streaming has finished before calling the ::stop() vfunc,
8952           since that vfunc might clear state which is being used in the
8953           streaming thread. This fixes a race that caused crashes in
8954           audioresample when shutting down a pipeline (#420106).
8955
8956 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8957
8958         * docs/gst/gstreamer-sections.txt:
8959           That was one byte missing.
8960
8961 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8962
8963         * configure.ac:
8964         * docs/gst/gstreamer-sections.txt:
8965         * gst/Makefile.am:
8966         * gst/gstconfig.h.in:
8967         * gst/gstobject.c: (gst_object_class_init),
8968         (gst_signal_object_class_init):
8969         * gst/gstobject.h:
8970           2nd attempt to have a xml-less build as a joined effort of #413123
8971           and #421480.
8972
8973 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8974
8975         * docs/design/draft-tagreading.txt:
8976           Added open issues/thoughts to draft.
8977
8978 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8979
8980         * gst/parse/grammar.tab.pre.c:
8981         * gst/parse/grammar.tab.pre.h:
8982         * gst/parse/lex._gst_parse_yy.pre.c:
8983         Update the prebuild parser sources.
8984
8985 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8986
8987         * gst/parse/Makefile.am:
8988         And now fix the building of the flex sources. Now everything should
8989         work as expected.
8990
8991 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
8992
8993         * gst/parse/Makefile.am:
8994         Now hopefully fix the build failures by setting proper rule
8995         dependencies and moving instead of copying.
8996
8997 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
8998
8999         * tests/benchmarks/complexity.gnuplot:
9000         * tests/benchmarks/complexity.scm:
9001         * tests/benchmarks/mass-elements.gnuplot:
9002         * tests/benchmarks/mass-elements.scm:
9003           Total licensification.
9004
9005 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9006
9007         * gst/parse/Makefile.am:
9008           Fix the build by correcting the rule that gave wrong files to flex.
9009
9010 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9011
9012         * tests/benchmarks/complexity.c:
9013         * tests/benchmarks/mass-elements.c:
9014           Change licence to LGPL as granted by Benjamin and Andy.
9015
9016 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9017
9018         * gst/parse/Makefile.am:
9019         Add correct grammar.tab.h dependency if compiling without new enough
9020         flex. Fixes #431150.
9021
9022 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9023
9024         * gst/parse/Makefile.am:
9025         Fix typo and use outdated sources if the flex/bison sources are newer
9026         than the pregenerated ones but flex is too old. Print a warning in
9027         that case. This should fix the build on the build bot.
9028
9029 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9030
9031         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9032         * gst/parse/Makefile.am:
9033         * gst/parse/grammar.y:
9034         * gst/parse/parse.l:
9035         Make the parser reentrant and recursively callable. This requires flex
9036         >= 2.5.31, for older versions pregenerated sources are used as we
9037         can't bump the build dependency. Finally fixes #349180.
9038
9039         * gst/gstparse.c: (gst_parse_launch):
9040         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9041         now anyway.
9042
9043         * docs/gst/Makefile.am:
9044         * docs/gst/Makefile.am:
9045         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9046         (__gst_parse_strfree), (__gst_parse_link_new),
9047         (__gst_parse_link_free), (__gst_parse_chain_new),
9048         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9049         (gst_parse_element_set), (gst_parse_free_link),
9050         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9051         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9052         (_gst_parse_launch):
9053         * gst/parse/grammar.tab.pre.h:
9054         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9055         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9056         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9057         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9058         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9059         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9060         (_gst_parse_yypop_buffer_state),
9061         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9062         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9063         (yy_fatal_error), (_gst_parse_yyget_extra),
9064         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9065         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9066         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9067         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9068         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9069         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9070         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9071         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9072         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9073         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9074         (_gst_parse_yyfree):
9075         If the installed flex version is too old use pre-generated parser
9076         sources. These pre-generated parser sources are always updated when
9077         the actual flex/bison sources change but require everybody who wants
9078         to change something in the parser to have flex >= 2.5.31 installed.
9079
9080 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9081
9082         * common/m4/gst-gettext.m4:
9083         * gst/gst-i18n-lib.h:
9084           Make --disable-nls to work
9085
9086 2007-04-17  Wim Taymans  <wim@fluendo.com>
9087
9088         * gst/gstconfig.h.in:
9089         Revert previous change that broke the build.
9090
9091 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9092
9093         * configure.ac:
9094         * gst/Makefile.am:
9095         * gst/gstconfig.h.in:
9096           Drop libxml2 dependency when building with 
9097           --enable-binary-registry --disable-loadsave
9098
9099 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9100
9101         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9102         (gst_registry_binary_read_cache):
9103         * gst/gstregistrybinary.h:
9104           Remove unnecessary <sys/mman.h> include which broke the win32 build
9105           with MingW; move includes from header file to .c file, even if the
9106           header file isn't installed; use g_strerror() where UTF-8 strings
9107           are expected, such as in GST_DEBUG messages.
9108
9109 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9110
9111         * docs/libs/gstreamer-libs-sections.txt:
9112         Remove bogus addition for API I didn't end up keeping.
9113
9114         * libs/gst/base/gstbasesrc.h:
9115         Mention Since: 0.10.13 in the documentation.
9116
9117         Add the API keyword to the previous ChangeLog entry.
9118
9119 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9120
9121         * docs/libs/gstreamer-libs-sections.txt:
9122         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9123         (gst_base_src_default_prepare_seek_segment),
9124         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9125         * libs/gst/base/gstbasesrc.h:
9126         Allow basesrc derived classes to execute seeks in other formats
9127         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9128         to prepare the GstSegment in any format that their perform_seek method
9129         will be able to understand. The default implementation provides the
9130         old behaviour of attempting to convert the seek offsets to the 
9131         configured native format.
9132
9133         API: basesrc::prepare_seek_segment vmethod.
9134
9135 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9136
9137         * gst/gstelement.c: (gst_element_get_state_func):
9138         Don't output the same debug statement twice.
9139
9140         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9141         (gst_adapter_peek), (gst_adapter_take_buffer):
9142         Optimise the case where we have buffers at the head of the queue that
9143         can be joined quickly (because they're contiguous sub-buffers) by
9144         merging them together rather than copying data out into new memory.
9145
9146         * gst/parse/grammar.y:
9147         * tests/check/pipelines/parse-launch.c:
9148         Fix a leak in an error path for parse_launch, and add a check 
9149         for it to the testsuite.
9150
9151 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9152
9153         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9154           Don't deadlock when releasing a pad - gst_pad_set_active may try
9155           and take the multiqueue lock too.
9156
9157 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9158
9159         * gst/gsterror.c: (_gst_core_errors_init):
9160         * gst/gsterror.h:
9161           API: add GST_CORE_ERROR_DISABLED (#392804).
9162
9163 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9164
9165         * docs/faq/gst-uninstalled:
9166           don't get empty paths on the PATH variables
9167         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9168           Don't format for the uncommon terminal width of 84 characters.
9169
9170 2007-04-06  Wim Taymans  <wim@fluendo.com>
9171
9172         * gst/gstpipeline.c: (reset_stream_time),
9173         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9174         Only try to select a different pipeline clock when we went back to
9175         PAUSED and not when we merely got flushed.
9176
9177 2007-04-05  Michael Smith  <msmith@fluendo.com>
9178
9179         * tools/gst-launch.1.in:
9180           fractions are better supported in gstreamer than ractions, so
9181           suggest using those.
9182
9183 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9184
9185         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9186
9187         * po/LINGUAS:
9188         * po/da.po:
9189           Added Danish translation.
9190
9191 2007-04-05  Wim Taymans  <wim@fluendo.com>
9192
9193         * libs/gst/base/gstbasesink.c:
9194         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9195         Fix leak caused when refusing newsegment after EOS.
9196
9197         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9198         (gst_fake_sink_init), (gst_fake_sink_set_property),
9199         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9200         (gst_fake_sink_render), (gst_fake_sink_change_state):
9201         * plugins/elements/gstfakesink.h:
9202         Add num-buffers property to make the element generate EOS after a
9203         configurable amount of buffers.
9204         API: fakesink::num-buffers property.
9205
9206         * tests/check/elements/fakesink.c: (GST_START_TEST),
9207         (fakesink_suite):
9208         Fix GstBus leak in test.
9209         Test for fakesink num-buffers.
9210
9211 2007-04-05  Wim Taymans  <wim@fluendo.com>
9212
9213         * libs/gst/base/gstbasesink.c:
9214         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9215         (gst_base_sink_change_state):
9216         Don't accept anything after an EOS, return UNEXPECTED instead.
9217
9218         * tests/check/elements/fakesink.c: (GST_START_TEST),
9219         (fakesink_suite):
9220         Unit test for new EOS behaviour.
9221
9222 2007-04-05  Wim Taymans  <wim@fluendo.com>
9223
9224         * gst/gstelement.c: (gst_element_get_request_pad):
9225         Make padtemplates also work when they don't contain %s or %d.
9226
9227 2007-04-05  Wim Taymans  <wim@fluendo.com>
9228
9229         * docs/gst/gstreamer-sections.txt:
9230         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9231         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9232         * gst/gstclock.h:
9233         Improve _adjust_unlocked() so that it overflows less.
9234         Add gst_clock_unadjust_unlocked to convert from external time to
9235         internal time based on calibration.
9236         Add some more debug.
9237         API: GstClock::gst_clock_unadjust_unlocked()
9238
9239 2007-04-03  Wim Taymans  <wim@fluendo.com>
9240
9241         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9242
9243         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9244         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9245         when releasing sink pad. Fixes #425400.
9246
9247 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9248
9249         * docs/random/ensonic/dynlink.txt:
9250           More work on proposal for new core api.
9251
9252         * docs/libs/gstreamer-libs-sections.txt:
9253         * libs/gst/base/gstbasetransform.h:
9254           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9255           
9256         * libs/gst/controller/gstcontroller.c:
9257         (on_object_controlled_property_changed),
9258         (gst_controller_sync_values),
9259         (gst_controller_set_interpolation_mode):
9260         * libs/gst/controller/gstcontroller.h:
9261           Less verbose logging add docs for unimplemented parts and correctly
9262           return when using unavailable parts.
9263
9264 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9265
9266         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9267         Move all the debug to the CLOCK category, and associate it with
9268         the clock object.
9269
9270 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9271
9272         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9273         Make take_buffer a bit quicker by removing redundant checks
9274         caused by calling gst_adapter_take.
9275
9276 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9277
9278         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9279           Don't leak GCond.
9280
9281         * tests/check/Makefile.am:
9282         * tests/check/elements/.cvsignore:
9283         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9284         (GST_START_TEST), (multiqueue_suite):
9285           Add some dead simple unit tests for the 'multiqueue' element
9286           (some bits don't work yet and are disabled for now).
9287
9288 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9289
9290         * gst/gstelement.c: (gst_element_get_request_pad),
9291         (gst_element_class_get_request_pad_template):
9292           Make gst_element_get_request_pad() create request pads only for
9293           request pad templates and not for, say, sometimes pad templates.
9294
9295 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9296
9297         * docs/design/draft-klass.txt:
9298           Add example that needs more thinking.
9299         
9300         * docs/design/draft-missing-plugins.txt:
9301           More thoughts about wrapper plugins.
9302         
9303         * docs/random/ensonic/embedded.txt:
9304         * docs/random/ensonic/profiling.txt:
9305           More design work.
9306
9307 2007-03-25  Wim Taymans  <wim@fluendo.com>
9308
9309         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9310         (gst_base_src_loop):
9311         Only push the segment events in the PLAYING state for live sources.
9312
9313 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9314
9315         * gst/gstpipeline.c: (gst_pipeline_change_state):
9316         Modify the clock distribution path in PAUSED->PLAYING so that we 
9317         never attempt to choose a new clock unless we're actually leaving
9318         the PAUSED state for the first time. This prevents choosing a
9319         different clock when the state_change gets called for a 2nd time due
9320         to some element doing an async state change.
9321
9322 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9323
9324         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9325         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9326         (gst_pad_chain_unchecked), (gst_pad_push):
9327         Revert last commit. This needs some more thoughts.
9328
9329 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9330
9331         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9332         (gst_pad_chain_unchecked), (gst_pad_push):
9333         Check in set_caps if the caps are compatible with the pad and remove
9334         two functions that are redundant now. Fixes #421543.
9335
9336 2007-03-22  Wim Taymans  <wim@fluendo.com>
9337
9338         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9339         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9340         Unref some more to make valgrind happy.
9341
9342 2007-03-22  Wim Taymans  <wim@fluendo.com>
9343
9344         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9345         (gst_system_clock_id_wait_jitter),
9346         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9347         Fix anoying regression that survived a few releases. When adding an
9348         async entry while blocking on a sync entry, the sync entry will unblock
9349         but still be busy, so it should continue to wait instead of returning
9350         _BUSY to the app.
9351         Add some comments here and there.
9352
9353         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9354         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9355         Add testcase for this.
9356
9357 2007-03-22  Wim Taymans  <wim@fluendo.com>
9358
9359         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9360         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9361         WRONG_STATE and can silently pause the task. All other cases should
9362         error out.
9363
9364 2007-03-22  Wim Taymans  <wim@fluendo.com>
9365
9366         Patch by: Ville Syrjala <syrjala at sci dot fi>
9367
9368         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9369         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9370         Improve debugging.
9371
9372 2007-03-21  Michael Smith  <msmith@fluendo.com>
9373
9374         * docs/pwg/advanced-types.xml:
9375           Fix some errors in the typefinding docs pointed out on irc.
9376
9377 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9378
9379         * libs/gst/base/gstbasesrc.c:
9380         Clarify FIXME comment in the face of having added unlock_stop()
9381
9382 2007-03-21  Wim Taymans  <wim@fluendo.com>
9383
9384         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9385         Prepare for release where we warn against possible app breakage in the
9386         case of live pipelines along with an env var to enable/disable live
9387         preroll mode (GST_COMPAT=[no-]live-preroll).
9388
9389 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9390
9391         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9392         So we should use correct constants for checking for None offset.
9393
9394 2007-03-20  Wim Taymans  <wim@fluendo.com>
9395
9396         * docs/design/part-block.txt:
9397         Mention the fact that the newly switched element should be set to at
9398         least PAUSED.
9399
9400 2007-03-20  Wim Taymans  <wim@fluendo.com>
9401
9402         * gst/gst.c:
9403         Fix compilation with registry disabled as spotted by Saur.
9404
9405 2007-03-20  Wim Taymans  <wim@fluendo.com>
9406
9407         Patch by: Olivier Crete <tester at tester dot ca>
9408
9409         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9410         Look at the pending state too when syncing the element state to the
9411         parent. Fixes #420133.
9412
9413 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9414
9415         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9416         (gst_base_sink_change_state):
9417         * libs/gst/base/gstbasesink.h:
9418         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9419         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9420         (gst_base_src_deactivate):
9421         * libs/gst/base/gstbasesrc.h:
9422         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9423         for sub-classes to correctly clear any state they set trying to
9424         unlock, such as clearing out unlock commands from a command fd.
9425         API: basesrc::unlock_stop
9426         API: basesink::unlock_stop
9427
9428         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9429         (gst_fd_sink_render), (gst_fd_sink_unlock),
9430         (gst_fd_sink_unlock_stop):
9431         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9432         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9433         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9434
9435         Implement unlock_stop in fdsrc and fdsink.
9436         Implement seeking in fdsrc when a seekable fd is passed, as in
9437         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9438
9439 2007-03-19  Wim Taymans  <wim@fluendo.com>
9440
9441         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9442
9443         * gst/gstelement.c: (gst_element_class_init):
9444         Fix pad-added and pad-removed signal signatures so that the pad type is
9445         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9446
9447 2007-03-19  Wim Taymans  <wim@fluendo.com>
9448
9449         * docs/gst/gstreamer-sections.txt:
9450         Add new element field and method.
9451
9452         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9453         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9454         (gst_bin_recalc_state), (gst_bin_get_state_func),
9455         (gst_bin_element_set_state), (gst_bin_change_state_func),
9456         (gst_bin_continue_func), (bin_bus_handler),
9457         (bin_push_state_continue), (bin_handle_async_start),
9458         (bin_handle_async_done), (gst_bin_handle_message_func):
9459         Make async state changes a bit smarter by using new ASYNC_START and
9460         ASYNC_DONE messages. This reduces the number of times we run the state
9461         recalculation thread.
9462         Don't change state of element with a pending ASYNC_START message.
9463         Deprecate STATE_DIRTY messages.
9464         
9465         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9466         (gst_element_get_state_func), (gst_element_continue_state),
9467         (gst_element_lost_state), (gst_element_set_state_func),
9468         (gst_element_change_state):
9469         * gst/gstelement.h:
9470         Keep the state that was last set by the app in a new element field.
9471         Don't allow state changes when handling an element event.
9472         Post ASYNC_START and ASYNC_DONE messages.
9473         Change lost_state so that we go to PAUSED and wait for the parent to set
9474         us to PLAYING again (so latency calculation can be performed)
9475         Export gst_element_change_state() method so that subclasses can use it.
9476         API: gst_element_change_state()
9477         API: GST_STATE_TARGET
9478
9479         * gst/gstpipeline.c: (gst_pipeline_class_init),
9480         (reset_stream_time), (gst_pipeline_change_state),
9481         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9482         Using the new ASYNC_START message we can reset the base_time when
9483         needed. This can then be used to implement base_time redistribution in
9484         flushing seeks so that we can remove the explicit seek handling.
9485         Perform latency query and configuration when going to PLAYING.
9486
9487         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9488         (gst_base_sink_query), (gst_base_sink_change_state):
9489         Post new ASYNC_START/ASYNC_DONE messages.
9490
9491         * tests/check/generic/sinks.c: (GST_START_TEST):
9492         Fix test because the bin will not set the async element to PLAYING right
9493         away.
9494
9495         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9496         Make the message check a little stronger.
9497         Handle ASYNC messages.
9498
9499         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9500         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9501         Expect ASYNC_DONE messages.
9502
9503 2007-03-19  Wim Taymans  <wim@fluendo.com>
9504
9505         * docs/gst/gstreamer-sections.txt:
9506         * gst/gstmessage.c: (gst_message_new_async_start),
9507         (gst_message_new_async_done), (gst_message_parse_info),
9508         (gst_message_parse_async_start):
9509         * gst/gstmessage.h:
9510         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9511         support.
9512
9513 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9514
9515         * tools/gst-inspect.c:
9516         (print_plugin_automatic_install_info_codecs):
9517           Now that we don't check for the 'Codec' keyword any longer in the
9518           klass, we shouldn't spew a warning if the klass isn't a decoder or
9519           encoder (since it might be a Source/Network, for example).
9520
9521 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9522
9523         * tools/gst-inspect.c:
9524         (print_plugin_automatic_install_info_codecs):
9525           Don't require decoder/demuxer/depayloader elements or
9526           encoder/muxer/paylader elements to have 'Codec' as part of their
9527           factory class string when introspecting a plugin's capabilities.
9528           draft-klass.txt mentions that it might be removed in future, and
9529           flump3dec doesn't have it as part of its class string, so chances
9530           are others might also not have it.
9531
9532 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9533
9534         * po/af.po:
9535         * po/az.po:
9536         * po/bg.po:
9537         * po/ca.po:
9538         * po/cs.po:
9539         * po/de.po:
9540         * po/en_GB.po:
9541         * po/fr.po:
9542         * po/it.po:
9543         * po/nb.po:
9544         * po/nl.po:
9545         * po/ru.po:
9546         * po/sq.po:
9547         * po/sr.po:
9548         * po/sv.po:
9549         * po/tr.po:
9550         * po/uk.po:
9551         * po/vi.po:
9552         * po/zh_CN.po:
9553         * po/zh_TW.po:
9554           Update translations from translation project
9555
9556 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9557
9558         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9559         (gst_child_proxy_set_property):
9560           Invert precondition check to be alike the ones in the mimiced gobject
9561           api.
9562
9563 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9564
9565         * docs/design/draft-tagreading.txt:
9566         * docs/random/ensonic/audiobaseclasses.txt:
9567           Do some Architect work.
9568
9569         * gst/gstobject.c: (gst_object_set_name):
9570           Add a WARNING.
9571
9572         * gst/gstpad.c:
9573           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9574
9575 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9576
9577         * gst/gstsystemclock.c: (gst_system_clock_init),
9578         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9579         Defer starting the async system clock thread until the first async
9580         wait is scheduled. Fixes #414986.
9581
9582 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9583
9584         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9585         (gst_single_queue_free):
9586           Fix small leak (free GstSingleQueue structure too, not only contents).
9587
9588 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9589
9590         * gst/gstbin.c:(gst_bin_add):
9591         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9592         * win32/common/libgstbase.def:
9593         * win32/common/libgstreamer.def:
9594         Add new exported functions.
9595
9596 2007-03-09  Wim Taymans  <wim@fluendo.com>
9597
9598         * docs/plugins/gstreamer-plugins-sections.txt:
9599         Fix GstTee docs.
9600
9601 2007-03-09  Wim Taymans  <wim@fluendo.com>
9602
9603         * docs/gst/gstreamer-sections.txt:
9604         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9605         * gst/gstbuffer.h:
9606         Add metadata copy functions. Fixes #393099.
9607         API: gst_buffer_copy_metadata()
9608
9609         * gst/gstutils.c: (gst_buffer_stamp):
9610         * libs/gst/base/gstbasetransform.c:
9611         (gst_base_transform_prepare_output_buffer):
9612         Use new metadata copy functions.
9613
9614 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9615
9616         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9617         (gst_identity_init), (gst_identity_check_perfect),
9618         (gst_identity_check_imperfect_timestamp),
9619         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9620         (gst_identity_set_property), (gst_identity_get_property):
9621         * plugins/elements/gstidentity.h:
9622         Separate out check-imperfect-timestamp and check-imperfect-offset.
9623         Put back check-perfect as it was to keep compatibility.
9624
9625 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9626
9627         * gst/gstelement.c: (gst_element_dispose):
9628         There's no need to warn if VOID_PENDING is not NONE here, as
9629         long as the state is NULL it's ok, and that's checked immediately
9630         above.
9631
9632 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9633
9634         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9635         Fix check for perfect stream to ignore buffers with -1 
9636         offsets/offset ends when checking data contiguity.
9637
9638 2007-03-08  Wim Taymans  <wim@fluendo.com>
9639
9640         * tools/gst-launch.c: (event_loop):
9641         Print INFO messages.
9642
9643 2007-03-08  Wim Taymans  <wim@fluendo.com>
9644
9645         * libs/gst/base/gstbasetransform.c:
9646         (gst_base_transform_sink_eventfunc),
9647         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9648         (gst_base_transform_activate):
9649         * libs/gst/base/gstbasetransform.h:
9650         Add support for dropping buffers with custom GstFlowReturn.
9651         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9652         buffers or dropped buffers.
9653
9654         * docs/libs/gstreamer-libs-sections.txt:
9655         docs for new custom return code.
9656
9657         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9658         Use drop support in base class to implement drop-probability.
9659
9660 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9661
9662         * gst/gst.c: (load_plugin_func):
9663         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9664         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9665         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9666           Remove newlines at end of debug log strings.
9667
9668 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9669
9670         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9671         Only post bus message at max, once per buffer received.
9672
9673 2007-03-07  Wim Taymans  <wim@fluendo.com>
9674
9675         * docs/design/Makefile.am:
9676         * docs/design/part-synchronisation.txt:
9677         Add doc about synchronisation
9678
9679         * docs/design/draft-latency.txt:
9680         * docs/design/part-TODO.txt:
9681         * docs/design/part-clocks.txt:
9682         * docs/design/part-events.txt:
9683         * docs/design/part-gstbus.txt:
9684         * docs/design/part-gstpipeline.txt:
9685         * docs/design/part-live-source.txt:
9686         * docs/design/part-messages.txt:
9687         * docs/design/part-overview.txt:
9688         * docs/design/part-streams.txt:
9689         * docs/design/part-trickmodes.txt:
9690         Documentation updates.
9691
9692 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9693
9694         * gstreamer.doap:
9695         Update the doap file.
9696
9697 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9698
9699         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9700         Rename non-perfect to imperfect for Mike and for the sanctity of the
9701         language.
9702         Also make sure bus message gets emitted for data-incontiguities.
9703
9704 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9705
9706         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9707         (gst_identity_start):
9708         * plugins/elements/gstidentity.h:
9709         Emit bus message if check-perfect is true and we encounter a
9710         non-perfect stream between 2 consecutive buffers.
9711         Fixes #415394.
9712
9713 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9714
9715         * configure.ac:
9716         Back to CVS
9717
9718 === release 0.10.12 ===
9719
9720 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9721
9722         * configure.ac:
9723           releasing 0.10.12, "Inevitable Demise"
9724
9725 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9726
9727         * configure.ac:
9728          Version 0.10.11.2 (0.10.12 pre-release)
9729          Bump libtool versioning.
9730
9731 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9732
9733         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9734           Log flow-names and not numbers.
9735
9736 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9737
9738         * configure.ac:
9739           Convert to new AG_GST style.
9740
9741 2007-02-28  Wim Taymans  <wim@fluendo.com>
9742
9743         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9744         Don't unref query twice.
9745
9746 2007-02-28  Wim Taymans  <wim@fluendo.com>
9747
9748         * gst/gstvalue.c: (gst_value_transform_object_string),
9749         (_gst_value_initialize):
9750         Implement GstObject -> string transform so we print object names
9751         when serializing GValues containing GstObjects.
9752
9753 2007-02-28  Wim Taymans  <wim@fluendo.com>
9754
9755         * docs/gst/gstreamer-sections.txt:
9756         Add new stuff to docs.
9757
9758 2007-02-28  Wim Taymans  <wim@fluendo.com>
9759
9760         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9761         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9762         (gst_base_sink_change_state):
9763         Improve latency query code.
9764         Don't leak latency events.
9765
9766         * tests/check/gst/gstbin.c: (GST_START_TEST):
9767         Improve debugging.
9768
9769 2007-02-28  Wim Taymans  <wim@fluendo.com>
9770
9771         * gst/gstelement.c: (gst_element_message_full),
9772         (gst_element_get_state_func):
9773         * gst/gstelement.h:
9774         Improve docs a little. Added Since: for new macro.
9775
9776         * gst/gstobject.c: (gst_object_sink):
9777         * gst/gstpipeline.c: (gst_pipeline_change_state),
9778         (gst_pipeline_set_new_stream_time):
9779         * gst/gstpipeline.h:
9780         Improve debugging and docs.
9781
9782         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9783         Improve debugging.
9784
9785 2007-02-28  Wim Taymans  <wim@fluendo.com>
9786
9787         * gst/gstelement.c: (gst_element_message_full),
9788         (gst_element_set_locked_state), (gst_element_get_state_func),
9789         (gst_element_change_state):
9790         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9791         Documentation updates.
9792         Small code cleanups.
9793
9794         * gst/gstmessage.c: (gst_message_new_info),
9795         (gst_message_parse_info):
9796         * gst/gstmessage.h:
9797         API: gst_message_new_info()
9798         API: gst_message_parse_info()
9799         Add INFO message create and parse code.
9800
9801 2007-02-28  Wim Taymans  <wim@fluendo.com>
9802
9803         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9804         (bin_query_latency_done):
9805         Also report the live parameter of a latency query.
9806
9807 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9808
9809         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9810           Copy the current generic/states example from -base and adapt so
9811           we can use the exact same code everywhere.
9812           Check a STATES_IGNORE_ELEMENTS env var which can be used
9813           to ignore certain element factories for this test, which is
9814           what is being done in -base
9815         * tests/check/Makefile.am:
9816           Mention this environment variable.
9817
9818 2007-02-27  Wim Taymans  <wim@fluendo.com>
9819
9820         * docs/gst/gstreamer-sections.txt:
9821         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9822         (gst_bus_timed_pop), (gst_bus_pop):
9823         * gst/gstbus.h:
9824         API: gst_bus_timed_pop()
9825         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9826         message to arrive on the bus.
9827
9828         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9829         (gst_bus_suite):
9830         Two unit tests for new _timed_pop() function.
9831
9832 2007-02-23  Wim Taymans  <wim@fluendo.com>
9833
9834         * gst/gstpipeline.c: (gst_pipeline_change_state),
9835         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9836         Don't ref a NULL clock in _provide_clock_func().
9837         Don't allow an INVALID delay.
9838         Don't try to calculate base_time with an invalid start_time.
9839         Also distribute and notify a NULL clock when it was selected.
9840
9841         * tools/gst-launch.c: (event_loop):
9842         Don't crash when a NULL clock was selected in the pipeline.
9843
9844 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9845
9846         * docs/design/Makefile.am:
9847         * docs/design/draft-missing-plugins.txt:
9848         * docs/random/draft-missing-plugins.txt:
9849           Some small updates: update plugin system identifier prefix
9850           ('gstreamer.net' to 'gstreamer'), mention our new install
9851           API in libgstbaseutils rather than libgimme-codec, add
9852           reference to the online docs.
9853
9854 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9855
9856         * win32/common/config.h:
9857           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9858           use moap cl ci to only check in what is mentioned in the ChangeLog.
9859
9860 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9861
9862         * docs/gst/gstreamer-sections.txt:
9863         * gst/gstelement.h:
9864           Fix up documentation to link to the correct GstGError section.
9865           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9866
9867 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9868
9869         * tools/gst-launch.c: (event_loop):
9870           Make sure that we actually show the important message part of a
9871           warning message.
9872           No need to check if the gerror is not NULL to free; first of all
9873           g_free accepts NULL; and second the default error handler would
9874           segfault if gerror was NULL.
9875
9876 2007-02-21  Wim Taymans  <wim@fluendo.com>
9877
9878         * docs/gst/gstreamer-sections.txt:
9879         Removed docs as well.
9880
9881 2007-02-21  Wim Taymans  <wim@fluendo.com>
9882
9883         * gst/gstmessage.c: (gst_message_parse_duration):
9884         * gst/gstmessage.h:
9885         Remove new messages for release.
9886
9887 2007-02-20  Wim Taymans  <wim@fluendo.com>
9888
9889         * docs/design/part-gstghostpad.txt:
9890         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9891         (gst_ghost_pad_new_full):
9892         Make the ghostpad a parent of the internal pad again for better backward
9893         compatibility. Don't write code that relies on this however.
9894
9895         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9896         (gst_pad_link_check_hierarchy):
9897         Require that parents should be GstElements in the hierarchy check.
9898
9899 2007-02-20  Wim Taymans  <wim@fluendo.com>
9900
9901         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9902         (gst_bin_change_state_func), (bin_query_min_max_init),
9903         (bin_query_latency_fold), (bin_query_latency_done),
9904         (gst_bin_query):
9905         Improve debug info.
9906         Implement latency query.
9907
9908 2007-02-20  Wim Taymans  <wim@fluendo.com>
9909
9910         * docs/design/part-gstghostpad.txt:
9911         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9912         (gst_ghost_pad_internal_do_activate_push),
9913         (gst_ghost_pad_internal_do_activate_pull),
9914         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9915         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9916         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9917         Do not set the internal pad as a parent anymore so we can avoid
9918         hierarchy linking errors when the ghostpad has no parent yet. This also
9919         fixes failed activation because of unlinked internal pads, which in
9920         turn fixes the impossible case where you have to activate a pad before
9921         you can add it to a running element.
9922         Also fix the docs.
9923
9924         * gst/gstpad.c: (pre_activate), (post_activate),
9925         (gst_pad_set_active), (gst_pad_activate_pull),
9926         (gst_pad_activate_push), (gst_pad_check_pull_range):
9927         Add some more debug info.
9928         Mark activation mode in pre_activate so that we don't try to activate in
9929         endless loops. Fixes #385084.
9930
9931 2007-02-19  Wim Taymans  <wim@fluendo.com>
9932
9933         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9934         (gst_base_transform_check_get_range):
9935         Implement a checkgetrange function instead of relying on the default
9936         core behaviour that assumes we can operate in pull mode if we have a
9937         getrange function. First step at fixing #385084.
9938
9939 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9940
9941         * gst/gstchildproxy.h:
9942         * libs/gst/base/gstbasesink.h:
9943         * libs/gst/base/gstbasesrc.h:
9944         * libs/gst/base/gstbasetransform.h:
9945         More docs coverage and some ChangeLog surgery (add missing names)
9946
9947 2007-02-15  Wim Taymans  <wim@fluendo.com>
9948
9949         * docs/design/part-TODO.txt:
9950         * docs/design/part-activation.txt:
9951         * docs/design/part-block.txt:
9952         * docs/design/part-buffering.txt:
9953         * docs/design/part-clocks.txt:
9954         * docs/design/part-element-source.txt:
9955         * docs/design/part-events.txt:
9956         * docs/design/part-gstbin.txt:
9957         * docs/design/part-gstbus.txt:
9958         * docs/design/part-gstpipeline.txt:
9959         * docs/design/part-live-source.txt:
9960         * docs/design/part-messages.txt:
9961         * docs/design/part-overview.txt:
9962         * docs/design/part-qos.txt:
9963         * docs/design/part-query.txt:
9964         * docs/design/part-states.txt:
9965         * docs/design/part-trickmodes.txt:
9966         Some doc updates. Start renaming from stream_time to running_time where
9967         it was used wrongly.
9968
9969 2007-02-15  Wim Taymans  <wim@fluendo.com>
9970
9971         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9972         Answer LATENCY query.
9973
9974 2007-02-15  Wim Taymans  <wim@fluendo.com>
9975
9976         * tests/check/gst/gstevent.c: (event_probe), (test_event),
9977         (GST_START_TEST):
9978         Improve debugging.
9979
9980 2007-02-15  Wim Taymans  <wim@fluendo.com>
9981
9982         * gst/gstpad.c: (gst_pad_get_internal_links_default),
9983         (gst_pad_dispatcher):
9984         Improve debugging of default pad dispatcher and query functions.
9985
9986 2007-02-15  Wim Taymans  <wim@fluendo.com>
9987
9988         * docs/gst/gstreamer-sections.txt:
9989         Remove old unused method.
9990
9991 2007-02-13  Wim Taymans  <wim@fluendo.com>
9992
9993         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9994         Fix check
9995
9996 2007-02-13  Wim Taymans  <wim@fluendo.com>
9997
9998         * docs/design/part-seeking.txt:
9999         Some small update.
10000
10001         * gst/gstsegment.c: (gst_segment_set_seek):
10002         Revert old bogus change that should make seeking work again.
10003
10004 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10005
10006         * docs/random/ensonic/dynlink.txt:
10007         * docs/random/ensonic/interfaces.txt:
10008         * docs/random/ensonic/receipies.txt:
10009           Possible dynamic reconnection api, plus some type fixes the other two
10010           docs.
10011
10012 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10013
10014         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10015         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10016         Also check for an absolute path following file:// in the filesrc
10017         element. Remove redundant check and call g_path_is_absolute() on the
10018         unescaped location.
10019
10020 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10021
10022         * docs/design/draft-klass.txt:
10023           Add existing category analysis.
10024           
10025         * gst/gstcaps.c:
10026           Fix doc example, framerate is a fraction.
10027
10028 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10029
10030         * configure.ac:
10031         * docs/gst/Makefile.am:
10032         * docs/gst/gstreamer-sections.txt:
10033         * docs/libs/Makefile.am:
10034           Erm, forgot a bunch of --extra-dir.
10035
10036 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10037
10038         * configure.ac:
10039         * docs/gst/Makefile.am:
10040         * docs/libs/Makefile.am:
10041         * docs/plugins/Makefile.am:
10042           Add crossreferences to glib/gobject docs.
10043
10044 2007-02-12  Wim Taymans  <wim@fluendo.com>
10045
10046         * docs/design/draft-latency.txt:
10047         Small update.
10048
10049         * docs/libs/gstreamer-libs-sections.txt:
10050         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10051         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10052         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10053         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10054         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10055         (gst_base_sink_get_position), (gst_base_sink_query),
10056         (gst_base_sink_change_state):
10057         * libs/gst/base/gstbasesink.h:
10058         API: gst_base_sink_query_latency() to let subclasses query the upstream
10059         latency.
10060         API: gst_base_sink_get_latency() to let subclasses query the configured
10061         latency in the sink.
10062         Implement query and set latency.
10063         Update some docs.
10064         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10065         don't continue preroll when we are flushing. Fixes #405284.
10066
10067         * tests/check/pipelines/stress.c: (change_state_timeout),
10068         (quit_timeout), (GST_START_TEST), (stress_suite):
10069         Test for #405284.
10070
10071 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10072
10073         Patch by: René Stadler <mail at renestadler de>
10074
10075         * docs/gst/gstreamer-sections.txt:
10076         * gst/gsttaglist.c: (_gst_tag_initialize):
10077         * gst/gsttaglist.h:
10078           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10079
10080 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10081
10082         * docs/libs/Makefile.am:
10083           Fix path to core docs.
10084
10085         * gst/gstbin.c: (gst_bin_get_by_interface),
10086         (gst_bin_iterate_all_by_interface):
10087           Refix docs by also renaming 'interface' to 'iface' in implementation.
10088
10089         * docs/gst/gstreamer-sections.txt:
10090         * gst/gstcaps.c:
10091         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10092         * gst/gstchildproxy.h:
10093         * gst/gstelementfactory.c:
10094         * gst/gstpadtemplate.h:
10095         * libs/gst/controller/gstcontroller.c:
10096         (gst_controlled_property_new):
10097           Document more.
10098
10099 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10100
10101         * gst/gstbin.h:(gst_bin_get_by_interface),
10102         (gst_bin_iterate_all_by_interface):
10103         Replace interface parameter name by iface as interface is 
10104         a reserved keyword in Visual Studio for C++ projects so it removes
10105         a build error for application developpers using VS.
10106         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10107         Fix a bug on Windows in uri format check. Now the prefix checked
10108         is file:// and next we check if the path after file:// is absolute.
10109         * win32/common/libgstbase.def:
10110         * win32/common/libgstdataprotocol.def:
10111         * win32/common/libgstgstreamer.def:
10112         Add new exported functions.
10113
10114 2007-02-09  Andy Wingo  <wingo@pobox.com>
10115
10116         * tests/check/pipelines/simple-launch-lines.c
10117         (simple_launch_lines_suite, test_tee): Disable tee test until I
10118         have time to fix it :-(
10119
10120         * tests/check/Makefile.am (noinst_HEADERS): 
10121         * tests/check/libs/libsabi.c: 
10122         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10123         * tests/check/gst/gstabi.c: 
10124         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10125
10126         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10127         tests for push and pull tee behavior.
10128
10129         * plugins/elements/gsttee.h: 
10130         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10131         mark as deprecated as well as unimplemented. It was a crack idea.
10132         Add support for tee operating in pull mode, off by default.
10133
10134         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10135         normal-case logs down to LOG, raise errors to WARNING.
10136         (gst_registry_xml_read_cache): Don't log before calling a function
10137         that logs.
10138
10139         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10140         exit (registry finalize).
10141         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10142         DEBUG log when we emit signals that people don't even have the
10143         chance to connect to.
10144         (gst_registry_scan_path_level): Less logging in the normal case.
10145
10146 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10147
10148         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10149
10150         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10151         Correctly generate EOS for non-seekable files. We don't have a total
10152         length for them and would get an unexpected end of file if we only
10153         special-cased for regular files. (Fixes: #404569)
10154
10155 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10156
10157         * tests/check/elements/filesrc.c: (GST_START_TEST),
10158         (filesrc_suite):
10159         Add unit test for the GstURIHandler interface in filesrc. This also
10160         tests the newly added file://localhost/foo/bar support.
10161
10162 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10163
10164         * gst/gstelementfactory.h:
10165           The klass string is not a hierarchy. Add reference to the design doc
10166           for more information and common types.
10167
10168 2007-02-02  Wim Taymans  <wim@fluendo.com>
10169
10170         * gst/gstquery.c: (gst_query_new_latency):
10171         Remove old structure field.
10172
10173 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10174
10175         * tools/gst-launch.1.in:
10176           Give example for network streaming (#351998)
10177
10178 2007-02-02  Wim Taymans  <wim@fluendo.com>
10179
10180         * docs/gst/gstreamer-sections.txt:
10181         Add docs for new methods.
10182
10183         * gst/gstevent.c: (gst_event_new_latency),
10184         (gst_event_parse_latency):
10185         * gst/gstevent.h:
10186         Add new LATENCY event to configure latency in a pipeline.
10187         API: gst_event_new_latency
10188         API: gst_event_parse_latency
10189
10190         * gst/gstmessage.c: (gst_message_new_buffering),
10191         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10192         (gst_message_new_latency), (gst_message_parse_buffering),
10193         (gst_message_parse_lost_preroll):
10194         * gst/gstmessage.h:
10195         Added messages used in draft-latency.
10196         API: gst_message_new_lost_preroll
10197         API: gst_message_parse_lost_preroll
10198         API: gst_message_new_prerolled
10199         API: gst_message_new_latency
10200
10201         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10202         (gst_query_parse_latency):
10203         * gst/gstquery.h:
10204         Implemented new latency query as in design doc.
10205         API: gst_query_new_latency
10206         API: gst_query_set_latency
10207         API: gst_query_parse_latency
10208
10209 2007-02-02  Wim Taymans  <wim@fluendo.com>
10210
10211         * docs/design/draft-latency.txt:
10212         Slight redesign to allow for dynamic latency adjustments.
10213
10214         * docs/design/part-negotiation.txt:
10215         Fix some typos.
10216
10217 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10218
10219         reviewed by: Wim Taymans <wim@fluendo.com>
10220
10221         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10222         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10223         Allow file://localhost/foo/bar URLs and correctly fail for every other
10224         hostname that one sets. This was gnomevfssrc is linked for those if
10225         installed as it can handle it (#403172)
10226
10227 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10228
10229         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10230
10231         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10232         (unref_data), (gst_collect_pads_add_pad_full):
10233         * libs/gst/base/gstcollectpads.h:
10234         Don't put the previously added destroy notify in the GstCollectData
10235         struct as all it's padding is already used and we don't want to break
10236         ABI. Instead put in the pad's GObject data for now. This should be
10237         cleaned up for 0.11 (#402393).
10238
10239 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10240
10241         reviewed by: Wim Taymans <wim@fluendo.com>
10242
10243         * docs/libs/gstreamer-libs-sections.txt:
10244         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10245         (unref_data), (gst_collect_pads_add_pad),
10246         (gst_collect_pads_add_pad_full):
10247         * libs/gst/base/gstcollectpads.h:
10248         API: Add function to specify a destroy notification for custom
10249         GstCollectData when adding new pads in GstCollectPads (#402393).
10250
10251 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10252
10253         * po/sv.po:
10254           Update Swedish translation (#378255).
10255
10256 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10257
10258         * docs/design/draft-klass.txt:
10259           Fix the previous change, this is a list of categories and not a hierarchy.
10260
10261 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10262
10263         * docs/design/draft-klass.txt:
10264           Add info about how to get a list of used classes.
10265
10266 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10267
10268         * plugins/elements/gsttypefindelement.c:
10269         (gst_type_find_element_chain_do_typefinding),
10270         (gst_type_find_element_change_state):
10271           Don't leak found caps in chain function (no idea why that never
10272           showed up as a leak anywhere).
10273
10274 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10275
10276         * gst/gstplugin.h:
10277           Fix and expand GstPluginDesc API docs.
10278
10279 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10280
10281         * gst/gstcaps.c:
10282         * gst/gstelementfactory.c:
10283         * gst/gstpadtemplate.h:
10284           api doc fixes
10285
10286         * libs/gst/controller/gstcontroller.c:
10287         (gst_controlled_property_new):
10288         * tests/examples/controller/audio-example.c:
10289           comment fixes
10290
10291 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10292
10293         * configure.ac:
10294           comment about refining the xml deps
10295
10296         * docs/manuals.mak:
10297           comments about moving away from jade for docs
10298         
10299         * gst/gst.c:
10300           recommit the ifdefs to use the binary registry
10301         
10302         * gst/gstbin.c: (gst_bin_change_state_func):
10303           this break is obsolete
10304
10305         * gst/gstelementfactory.h:
10306           better GST_ELEMENT_DETAILS docs, add comment about translation
10307
10308         * gst/gstinfo.h:
10309           remove eol slash
10310
10311         * gst/gstobject.c: (gst_signal_object_get_type):
10312           add G_UNLIKELY as usual
10313
10314         * gst/gstpad.c: (gst_pad_event_default):
10315           add fall trhu comment
10316
10317         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10318         (gst_registry_binary_initialize_magic),
10319         (gst_registry_binary_save_string),
10320         (gst_registry_binary_save_pad_template),
10321         (gst_registry_binary_save_feature),
10322         (gst_registry_binary_save_plugin),
10323         (gst_registry_binary_write_cache),
10324         (gst_registry_binary_check_magic),
10325         (gst_registry_binary_load_pad_template),
10326         (gst_registry_binary_load_feature),
10327         (gst_registry_binary_load_plugin),
10328         (gst_registry_binary_read_cache):
10329           comment typo and formatting
10330
10331         * gst/gstutils.c: (gst_element_state_get_name),
10332         (gst_element_state_change_return_get_name):
10333           remove obsolete breaks
10334
10335         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10336           add FIXME 0.11 and remove cpp comment
10337
10338 2007-01-29  Edward Hervey  <edward@fluendo.com>
10339
10340         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10341         Fix print statement in an even more portable way.
10342
10343 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10344
10345         * docs/gst/gstreamer-sections.txt:
10346         * gst/gstutils.h:
10347           API: add GST_ROUND_DOWN_* macros (#401781).
10348
10349 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10350
10351         * docs/gst/gstreamer.types.in:
10352         * gst/gstregistry.c: (gst_registry_class_init):
10353           Document registry signals and make gtk-doc pick them up (#401381).
10354
10355 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10356
10357         * docs/pwg/building-testapp.xml:
10358           Add some audioconverts and audioresample to the pipeline, and some
10359           more comments and error handling.
10360
10361 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10362
10363         * docs/manual/manual.xml:
10364         * docs/pwg/pwg.xml:
10365           Fix typo (#400987).
10366
10367 2007-01-26  Wim Taymans  <wim@fluendo.com>
10368
10369         * gst/gstcaps.c: (gst_static_caps_get):
10370         Init caps flags too.
10371
10372 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10373
10374         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10375
10376         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10377         If not using mmap'ed files try to seek to the end instead of the
10378         start to determine whether we can seek at all. This fixes the case
10379         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10380         seeks for everything afterwards fail. Fixes #400656
10381
10382 2007-01-25  Wim Taymans  <wim@fluendo.com>
10383
10384         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10385         Add some refcount debugging.
10386         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10387         in multiple streaming threads.
10388
10389 2007-01-25  Wim Taymans  <wim@fluendo.com>
10390
10391         Patch by: David Schleef <ds at schleef dot org>
10392
10393         * docs/libs/gstreamer-libs-sections.txt:
10394         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10395         * libs/gst/base/gstadapter.h:
10396         API: gst_adapter_copy() that can reduce the amount of memcpy when
10397         getting data from the adapter. Fixes #388201.
10398
10399 2007-01-25  Edward Hervey  <edward@fluendo.com>
10400
10401         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10402         In print statements, "%x" is for guint. Fixes build on macosx.
10403
10404 2007-01-24  Edward Hervey  <edward@fluendo.com>
10405
10406         * plugins/elements/gstmultiqueue.c:
10407         (gst_multi_queue_loop):
10408         Small fix.
10409         (single_queue_overrun_cb), (single_queue_underrun_cb),
10410         (single_queue_check_full), (gst_single_queue_new):
10411         Implement single queue growth system.
10412         This uses the extra-size properties, and will grow single queues by
10413         that much if one goes full whereas there are others empty. This is
10414         called extra-mode in the code.
10415         When a single queue's levels go back below the initial max-size
10416         limits, it is no longer in extra-mode. This is to ensure we don't
10417         consume too much memory.
10418         Fixes #399875
10419
10420 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10421
10422         * gst/gst.c: (gst_init_get_option_group):
10423           Make warning about late g_thread_init() calls a bit more explicit,
10424           so that it's more obvious to application developers what they need
10425           to do if a user files a bug against their application.
10426
10427 2007-01-22  Edward Hervey  <edward@fluendo.com>
10428
10429         * plugins/elements/gstmultiqueue.c:
10430         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10431         Remove previous hack of unsetting the flushing flag for the source pad
10432         instead of activating it. Instead, fix the source pad activate function
10433         so that it no longer depends on having a parent set or not.
10434
10435 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10436
10437         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10438
10439         * docs/manual/basics-bus.xml:
10440           Fix example code, gst_element_unref() doesn't exist any longer.
10441
10442 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10443
10444         Patch by: Mark Nauwelaerts <manauw at skynet be>
10445
10446         * gst/gstpad.c:
10447           Fix two docs typoes (#399094).
10448
10449 2007-01-19  Edward Hervey  <edward@fluendo.com>
10450
10451         * docs/faq/gst-uninstalled:
10452         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10453         depending on libgstbaseutils can work in uninstalled environment.
10454
10455 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10456
10457         * gst/gsttaglist.h:
10458         * gst/gsttagsetter.c:
10459         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10460         statement for new tag.
10461
10462 2007-01-17  Edward Hervey  <edward@fluendo.com>
10463
10464         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10465         When dynamically creating single queues, activate sinkpad before adding
10466         it.
10467         We should be doing the same thing for the source pad, but we can't
10468         since it would call a method which needs the parent to be set in order
10469         to work propertly. Instead of activating the source pad, we just unset
10470         the flushing flag, which is the minimal requirement for adding a pad
10471         to an element in a state greater than READY.
10472
10473 2007-01-17  Edward Hervey  <edward@fluendo.com>
10474
10475         * docs/faq/gst-uninstalled:
10476         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10477         Mac OS X.
10478
10479 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10480
10481         * tests/check/gst/gstabi.c:
10482         * tests/check/gst/struct_hppa.h:
10483         * tests/check/libs/libsabi.c:
10484         * tests/check/libs/struct_hppa.h:
10485           Add ABI structs for HPPA (see #393796).
10486
10487 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10488
10489         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10490           Actually write ABI structs to the file specified in the GST_ABI
10491           environment variable, as the message we print claims we would.
10492
10493 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10494
10495         * tests/check/gst/gsttask.c:
10496           Fix header comment.
10497
10498 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10499
10500         * gst/gsttaglist.c: (_gst_tag_initialize):
10501           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10502           previous two entries.
10503
10504 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10505
10506         * docs/gst/gstreamer-sections.txt:
10507         * gst/gsttaglist.c: (_gst_tag_initialize):
10508         * gst/gsttaglist.h:
10509           Add tag support for beat-per-minute.
10510
10511 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10512
10513         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10514         (gst_registry_binary_initialize_magic),
10515         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10516         (gst_registry_binary_save_pad_template),
10517         (gst_registry_binary_save_feature),
10518         (gst_registry_binary_save_plugin),
10519         (gst_registry_binary_write_cache),
10520         (gst_registry_binary_check_magic),
10521         (gst_registry_binary_load_pad_template),
10522         (gst_registry_binary_load_feature),
10523         (gst_registry_binary_load_plugin),
10524         (gst_registry_binary_read_cache):
10525         * gst/gstregistrybinary.h:
10526           Use glib types, cleanup comments, impement interfaces and uri-types.
10527
10528 2007-01-13  Andy Wingo  <wingo@pobox.com>
10529
10530         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10531         getrange() to return buffers with other caps, while we fix
10532         demuxers and typefind, or otherwise change part-negotiation.txt.
10533
10534 2007-01-12  Andy Wingo  <wingo@pobox.com>
10535
10536         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10537         Factor start/stop into this private function instead of partially
10538         in activate functions and partially in the change_state function.
10539         Fixes setup before the element has changed from READY->PAUSED, as
10540         is the case in pull-mode pipelines.
10541         (gst_base_transform_sink_activate_push)
10542         (gst_base_transform_src_activate_pull): Refactor to use
10543         gst_base_transform_activate().
10544         (gst_base_transform_change_state): Removed, not needed any more.
10545
10546         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10547         Truncate before fixating.
10548         
10549         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10550         Don't set_caps() if the result of fixating is ANY, as it's not
10551         supported, and not necessary in the case of a link with no
10552         template caps on either side. Fixes tests/check/libs/basesrc in
10553         some pull-mode tests.
10554
10555         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10556         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10557         (gst_base_transform_src_activate_pull): 
10558         Track the activation mode.
10559         (gst_base_transform_setcaps): In pull mode, when activating the
10560         src pad, after activating the sink pad, activate the sink pad's
10561         peer, as discussed in part-negotiation.txt.
10562
10563         * libs/gst/base/gstbasesrc.h: 
10564         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10565         vmethod, as in basesink.
10566
10567         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10568
10569         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10570         mode, first proxy the setcaps to the peer pad.
10571         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10572         new fixate vmethod.
10573         (gst_base_sink_default_activate_pull): Rename from
10574         gst_base_sink_activate_pull.
10575         (gst_base_sink_negotiate_pull): New function, performs negotiation
10576         in pull mode before calling ::activate_pull().
10577         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10578         vmethod instead of the default implementation. I have no idea how
10579         this worked before. Negotiate before calling activate_pull.
10580
10581         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10582         sink pads in pull mode. In addition to being correct, fixes
10583         filesrc ! decodebin ! identity ! fakesink.
10584         (gst_pad_get_range, gst_pad_pull_range): Don't call
10585         gst_pad_set_caps() if the caps changes; instead error out with
10586         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10587
10588 2007-01-12  Andy Wingo  <wingo@pobox.com>
10589
10590         * docs/design/part-negotiation.txt: Update with more policy.
10591
10592 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10593
10594         * libs/gst/check/gstbufferstraw.h:
10595         * libs/gst/check/gstcheck.h:
10596           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10597           belongs.
10598
10599 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10600
10601         * tests/check/Makefile.am:
10602         * tests/check/gst/.cvsignore:
10603         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10604         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10605         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10606         (GST_START_TEST), (gst_tag_setter_suite):
10607           Add minimal unit test for beforementioned GstTagSetter bug.
10608
10609 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10610
10611         Patch by: René Stadler <mail at renestadler dot de>
10612
10613         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10614           gst_tag_list_merge() returns a new list, so it's not the best idea
10615           to ingore its return value. Effectively meant that tags could only
10616           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10617           Also add function guard to require a non-NULL taglist as input (has
10618           always been so due to gst_tag_list_copy(), just making it explicit).
10619
10620 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10621
10622         * docs/random/draft-missing-plugins.txt:
10623           Some additions: mention new API that is supposed to be used at the
10624           various stages; short blob about new gst-inspect introspection
10625           option; mention potential future problem with plugins that have
10626           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10627
10628 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10629
10630         * tools/gst-inspect.c:
10631         (print_plugin_automatic_install_info_codecs),
10632         (print_plugin_automatic_install_info_protocols),
10633         (print_plugin_automatic_install_info), (main):
10634         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10635         introspect plugin files and get machine-parsable output that corresponds
10636         to the last bit of the missing-plugin installer string (small gotcha:
10637         doesn't take into account ranks).
10638
10639 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10640
10641         * configure.ac:
10642         * docs/gst/gstreamer-sections.txt:
10643         * gst/Makefile.am:
10644         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10645         (gst_registry_lookup_locked):
10646         * gst/gstregistry.h:
10647         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10648         (gst_registry_binary_initialize_magic),
10649         (gst_registry_binary_save_string),
10650         (gst_registry_binary_save_pad_template),
10651         (gst_registry_binary_save_feature),
10652         (gst_registry_binary_save_plugin),
10653         (gst_registry_binary_write_cache),
10654         (gst_registry_binary_check_magic),
10655         (gst_registry_binary_load_pad_template),
10656         (gst_registry_binary_load_feature),
10657         (gst_registry_binary_load_plugin),
10658         (gst_registry_binary_read_cache):
10659         * gst/gstregistrybinary.h:
10660         * gst/gstregistryxml.c: (load_feature),
10661         (gst_registry_xml_read_cache):
10662           commit binary registry (disabled by default, see #359653)
10663
10664 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10665
10666         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10667           Fix 'make check' too.
10668
10669 2007-01-10  Andy Wingo  <wingo@pobox.com>
10670
10671         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10672         notes.
10673         
10674         * docs/design/part-negotiation.txt: Update with, um, one way that
10675         pull-mode negotiation might work?
10676
10677         * gst/gstpad.h: 
10678         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10679         that the pad must be a src pad; makes sense to call it the other
10680         way in pull mode, and the logic is symmetric anyway.
10681
10682 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10683
10684         * plugins/elements/gstfilesink.c:
10685           Include <stdio.h> for fseeko().
10686
10687 2007-01-10  Wim Taymans  <wim@fluendo.com>
10688
10689         * gst/gstevent.c:
10690         * gst/gstevent.h:
10691         Reserve LATENCY event.
10692
10693 2007-01-09  Wim Taymans  <wim@fluendo.com>
10694
10695         * docs/design/draft-latency.txt:
10696         Updates.
10697
10698 2007-01-09  Wim Taymans  <wim@fluendo.com>
10699
10700         * docs/design/draft-latency.txt:
10701         Updates.
10702
10703         * gst/gstelement.h:
10704         * gst/gststructure.c:
10705         * gst/gsttrace.c:
10706         Small typo fixes.
10707
10708 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10709
10710         * tests/check/.cvsignore:
10711           Ignore test-registry.xml as well.
10712
10713 2007-01-09  Wim Taymans  <wim@fluendo.com>
10714
10715         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10716         unref data at the end when we are done with the pad.
10717
10718 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10719
10720         * docs/gst/gstreamer-sections.txt:
10721         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10722         (init_post), (gst_deinit), (gst_update_registry):
10723         * gst/gst.h:
10724           API: add gst_update_registry() (#391296).
10725
10726         * tests/check/Makefile.am:
10727         * tests/check/gst/gstregistry.c:
10728         * tests/check/gst/.cvsignore:
10729           Simple unit test for the above.
10730
10731 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10732
10733         * gst/gstregistry.c: (gst_registry_scan_path_level):
10734           Plugin extension on HP-UX is .sl, add that to the list of approved
10735           plugin extensions (see #393796).
10736
10737         * tests/check/gst/gstpad.c: (GST_START_TEST):
10738           ulong => gulong. Fixes compilation with HP-UX compiler.
10739
10740         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10741           Fix compilation if valgrind headers are not available.
10742
10743 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10744
10745         * win32/common/libgstreamer.def: 
10746           Add new exported function.
10747         * win32/vs6/libgstbase.dsp: 
10748           Add gstdataqueue.c to the build.
10749         * win32/vs6/libgstcoreelements.dsp:
10750           Add gstmultiqueue.c to the build.
10751         
10752 2007-01-06  Andy Wingo  <wingo@pobox.com>
10753
10754         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10755         activate_pull(), providing for a way to specialize the process of
10756         spawning a thread to pull on the sink pad. There is a default
10757         implementation.
10758
10759         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10760         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10761         (gst_base_sink_init): Renamed pad activation functions (inserting
10762         "_pad" in their names). Refactor to use the new activate_pull
10763         vmethod, as appropriate.
10764         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10765         default activate_pull function to start a task pulling from the
10766         sink pad, as before.
10767
10768         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10769         on the pads if necessary, as in push()/chain(). Update docs.
10770         Shouldn't affect existing pull() usage as it is currently only
10771         being used on buffers without caps.
10772
10773 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10774
10775         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10776         (init_pre):
10777           Call g_thread_init() first thing in gst_init() / gst_check_init().
10778           When initialisation is done via gst_init_get_option_group() and
10779           GOption parsing, issue a warning if the GLib thread system has not
10780           been initialised yet by the time gst_init_get_option_group() is
10781           called, as it's quite likely other GLib functions such as
10782           g_option_context_new() have been called already then, and
10783           g_thread_init() must be called before any other GLib function. The
10784           application in question must be fixed in that case, since memory
10785           corruption might happen otherwise.
10786           We issue the warning because even if the GLib folks decide to work
10787           around the problem on their end in future, this is still an issue
10788           with all GLib versions >= 2.10.0, so we should warn until we depend
10789           on a GLib version we know to be safe.
10790           Update documentation as well.
10791           Closes bug #391278.
10792
10793 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10794
10795         * tools/gst-inspect.c: (main):
10796         * tools/gst-launch.c: (main):
10797         * tools/gst-typefind.c: (main):
10798         * tools/gst-xmlinspect.c: (main):
10799           Call g_thread_init() really really early, before any other GLib
10800           function (see #342564 and recent discussion on gtk-devel-list).
10801
10802 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10803
10804         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10805
10806         * gst/gst_private.h:
10807         * gst/gstconfig.h.in:
10808         * gst/gstinfo.h:
10809           On win32, all the __declspec stuff for symbol exporting is
10810           apparently only needed with MSVC, but doesn't work with MingW.
10811           Fixes compilation with MingW and #391909.
10812
10813 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10814
10815         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10816           Change some GST_ERROR_OBJECT that aren't really errors to
10817           GST_WARNING_OBJECT in order to reduce terminal spam.
10818
10819 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10820
10821         * tests/check/Makefile.am:
10822           disable test again, as there seem to be still race problems
10823
10824 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10825
10826         * tests/check/Makefile.am:
10827         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10828         (GST_START_TEST), (queue_suite):
10829           enable queue test again, add tests for the leaky behaviour
10830
10831 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10832
10833         * configure.ac:
10834         * tests/examples/Makefile.am:
10835           Compile adapter test/example only if the required headers are
10836           available (fixes #391915).
10837
10838 2007-01-01  David Schleef  <ds@schleef.org>
10839
10840         * gst/gstplugin.c:
10841           Restore the previous signal handler for SIGSEGV instead of
10842           setting to default, since we may have stolen it away from
10843           someone.  (i.e., Mono)
10844
10845 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10846
10847         * docs/random/draft-missing-plugins.txt:
10848           Some small additions and clarifications.
10849
10850 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10851
10852         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10853           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10854           since that can lead to random memory corruptions and crashes
10855           (may or may not be related to #383244, #386711, and #386711).
10856
10857 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10858
10859         * tests/check/.cvsignore:
10860         * tests/check/Makefile.am:
10861           sync .cvsignome and CLEANFILES
10862
10863 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10864
10865         * tests/check/Makefile.am:
10866           fix distcheck
10867
10868 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10869
10870         * docs/design/part-states.txt:
10871           two tiny additional comments
10872         
10873         * gst/gststructure.c:
10874           doc fixing
10875
10876         * tests/check/Makefile.am:
10877         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10878         (GST_START_TEST):
10879           disable test for now, unless it gets fixed
10880
10881 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10882
10883         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10884         (GST_START_TEST):
10885           fix race in underrun test
10886
10887 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10888
10889         * tests/check/elements/.cvsignore:
10890           ignore more
10891
10892         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10893         (GST_START_TEST):
10894           try to narrow test failure
10895
10896 2006-12-21  David Schleef  <ds@schleef.org>
10897
10898         * plugins/elements/gstfakesrc.c:
10899           Use g_random_int_range(), since it produces better random
10900           numbers in a range than almost-correct floating point code.
10901
10902 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10903
10904         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10905         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10906         (gst_check_teardown_sink_pad):
10907           do not automatically (de)activate pads
10908
10909         * tests/check/Makefile.am:
10910         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10911         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10912           add new, yet simple tests for queue
10913
10914         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10915         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10916         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10917         (GST_START_TEST):
10918         * tests/check/elements/identity.c: (cleanup_identity):
10919           consistent pad (de)activation
10920
10921 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10922
10923         Patch by: Sebastian Dröge  <slomo ubuntu com>
10924
10925         * libs/gst/base/gstcollectpads.c:
10926           Fix two doc typos (#387866).
10927
10928 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10929
10930         * docs/manual/advanced-dparams.xml:
10931           Fix typo (g_object_control_properties() doesn't exist).
10932
10933 2006-12-19  Edward Hervey  <edward@fluendo.com>
10934
10935         * gst/gstsegment.c: (gst_segment_set_seek):
10936         Fine tune the cases where the segment start/stop values are really
10937         updated.
10938         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10939         Add tests for the return values of gst_segment_set_seek().
10940
10941 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10942
10943         * gst/gst.c:
10944           Docs typo fix.
10945
10946         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10947         (gst_queue_init):
10948           Fix incorrect documentation and flesh it out a bit more.
10949           Set default values for the max properties on the GParamSpec as well,
10950           so it shows up correctly in gst-inspect.
10951
10952 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10953
10954         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10955           Correct docs of queue, add more detail and crosslink it more.
10956
10957 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10958
10959         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10960           Print additional debug info when the stream isn't perfectly
10961           timestamped; don't try to use invalid durations.
10962
10963 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10964
10965         * docs/design/Makefile.am:
10966           Dist new design docs.
10967
10968 2006-12-16  Wim Taymans  <wim@fluendo.com>
10969
10970         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10971
10972         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10973         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10974         (gst_collect_pads_stop), (gst_collect_pads_event),
10975         (gst_collect_pads_chain):
10976         * libs/gst/base/gstcollectpads.h:
10977         Add refcounting to the collectpads data so we can track when it's safe
10978         to free the data. Fixes #383382.
10979
10980 2006-12-15  Wim Taymans  <wim@fluendo.com>
10981
10982         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10983         (gst_collect_pads_remove_pad):
10984         Automatically activate/deactivate pads when they are added to a
10985         started/stoped collectpads.
10986
10987 2006-12-15  Wim Taymans  <wim@fluendo.com>
10988
10989         * gst/gstelement.c: (gst_element_add_pad):
10990         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10991         * gst/gstpad.c: (gst_pad_init):
10992         Set pads to FLUSHING when they are created. Check, warn and fix when a
10993         demuxer adds an inactive pad to itself when running. Fixes #339326.
10994
10995 2006-12-15  Wim Taymans  <wim@fluendo.com>
10996
10997         * gst/gstelement.c: (gst_element_class_init),
10998         (gst_element_default_send_event), (gst_element_send_event),
10999         (gst_element_default_query), (gst_element_query):
11000         Expose default element send_event and query handling as vmethods that
11001         subclasses can chain up to.
11002
11003 2006-12-15  Wim Taymans  <wim@fluendo.com>
11004
11005         * gst/gstelement.c: (gst_element_set_state_func):
11006         Small documentation fixes.
11007
11008 2006-12-15  Wim Taymans  <wim@fluendo.com>
11009
11010         * docs/design/draft-latency.txt:
11011         Checked in draft for handling latency in pipelines.
11012
11013 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11014
11015         * Makefile.am:
11016         * gstreamer.doap:
11017         * gstreamer.spec.in:
11018           adding .doap file
11019
11020 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11021
11022         * gst/gst.c: (init_pre), (init_post):
11023           init_pre() and init_post() might be called via our GOptionGroup or
11024           from gst_init(), and we should skip both of them if we've already
11025           been initialised, otherwise we will init some things twice or add
11026           two default log functions.
11027
11028 2006-12-13  Edward Hervey  <edward@fluendo.com>
11029
11030         * docs/manual/basics-bus.xml:
11031         No, gst_main_loop does not exist. Its g_main_loop.
11032         Discovered by somebody who abused the copy-paste technique of coding :)
11033
11034 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11035
11036         * gst/gstghostpad.c:
11037           Log ghostpad debug stuff to the GST_PADS category as well rather
11038           than just to the default category.
11039
11040 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11041
11042         * configure.ac:
11043         * gst/gst.c: (init_pre):
11044           Add some basic system details such as OS and architecture
11045           to the debug output if possible, courtesy of uname().
11046
11047 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11048
11049         * docs/gst/running.xml:
11050           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11051           environment variables.
11052
11053 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11054
11055         * tests/check/gst/gstbin.c: (GST_START_TEST):
11056         It is acceptable to have a refcount of 2 or 3 at this point in the
11057         test, because the pipeline might be just posting its state_change
11058         message. The next line then waits for that message to appear using
11059         bus_poll, so that should be fine too.
11060
11061 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11062
11063         * gst/gst.c: (ensure_current_registry_forking):
11064         Ignore EINTR when reading from the child registry pipe.
11065         Explicitly ignore the return value from close, since it makes no
11066         difference.
11067
11068         * gst/gstminiobject.c: (gst_mini_object_ref),
11069         (gst_mini_object_unref):
11070         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11071
11072         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11073         When removing cached plugins, remove their features too, so they're
11074         not visible after they've disappeared.
11075
11076         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11077         In the unlikely case that we are linking pads with no parents, don't
11078         crash trying to get the non-existent parent bin.
11079
11080         * gst/parse/grammar.y:
11081         Output debug in the PIPELINE category
11082
11083 2005-03-08  Wim Taymans  <wim@fluendo.com>
11084
11085         Patch by: René Stadler <mail at renestadler dot de>
11086
11087         * gst/gstclock.c: (gst_clock_new_periodic_id):
11088         Reject invalid clock times for interval of periodic ids.
11089         Fixes ##383506.
11090
11091 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11092
11093         * gst/gstelementfactory.c: (gst_element_factory_create):
11094         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11095         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11096         * tools/gst-inspect.c: (print_element_info):
11097         Fix refcounting of gst_plugin_feature_load to match the docs. 
11098         Fixes: #380129
11099
11100 2006-12-07  Wim Taymans  <wim@fluendo.com>
11101
11102         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11103         (gst_base_sink_get_position):
11104         Improve debugging of events.
11105
11106 2006-12-07  Wim Taymans  <wim@fluendo.com>
11107
11108         Patch by: René Stadler <mail at renestadler dot de>
11109
11110         * gst/gstclock.c: (gst_clock_id_wait):
11111         Make period ids add the interval to the origial requested time instead
11112         of the possibly updated time which can be wrong when there are multiple
11113         waiters for the same id. Fixes #382592.
11114
11115         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11116         (gst_system_clock_id_wait_jitter_unlocked),
11117         (gst_system_clock_id_wait_jitter):
11118         Fix restart in the async notify thread when an async entry is added to
11119         the front of the list. Fixes #381492. 
11120
11121         * tests/check/gst/gstsystemclock.c: (store_callback),
11122         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11123         Added test for multiple async waits.
11124         Added test for async wait order.
11125
11126 2006-12-07  Wim Taymans  <wim@fluendo.com>
11127
11128         * gst/gstbin.c: (gst_bin_query):
11129         Add some more docs about the POSITION query.
11130
11131 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11132
11133         * configure.ac:
11134         Bump version nano - back to CVS.
11135
11136 === release 0.10.11 ===
11137
11138 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11139
11140         * configure.ac:
11141           releasing 0.10.11, "Love never runs on time"
11142
11143 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11144
11145         * win32/common/libgstbase.def:
11146         * win32/common/libgstreamer.def:
11147         * win32/vs8/libgstbase.vcproj:
11148         * win32/vs8/libgstcoreelements.vcproj:
11149         * win32/vs8/libgstreamer.vcproj:
11150         Fix compilation on win32 under VS8
11151         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11152         Partially fixes #381175
11153
11154 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11155
11156         * gst/gstvalue.c: (gst_value_compare_fraction):
11157         If someone is foolish enough to compare 2 fractions with denominator =
11158         0, return UNORDERED rather than aborting.
11159
11160 2006-11-28  Edward Hervey  <edward@fluendo.com>
11161
11162         * libs/gst/base/Makefile.am:
11163         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11164         (gst_data_queue_base_init), (gst_data_queue_class_init),
11165         (gst_data_queue_init), (gst_data_queue_new),
11166         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11167         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11168         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11169         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11170         (gst_data_queue_set_flushing), (gst_data_queue_push),
11171         (gst_data_queue_pop), (gst_data_queue_drop_head),
11172         (gst_data_queue_set_property), (gst_data_queue_get_property):
11173         * libs/gst/base/gstdataqueue.h:
11174         New GstDataQueue object for threadsafe queueing. Most useful for
11175         elements that need some queueing functionnality.
11176         * docs/libs/gstreamer-libs-docs.sgml:
11177         * docs/libs/gstreamer-libs-sections.txt:
11178         Insert documentation for GstDataQueue
11179         * plugins/elements/Makefile.am:
11180         * plugins/elements/gstelements.c:
11181         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11182         (gst_multi_queue_class_init), (gst_multi_queue_init),
11183         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11184         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11185         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11186         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11187         (gst_multi_queue_loop), (gst_multi_queue_chain),
11188         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11189         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11190         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11191         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11192         (wake_up_next_non_linked), (compute_next_non_linked),
11193         (single_queue_overrun_cb), (single_queue_underrun_cb),
11194         (single_queue_check_full), (gst_single_queue_new):
11195         * plugins/elements/gstmultiqueue.h:
11196         New multiqueue element, using GstDataQueue. Used for queuing multiple
11197         streams.
11198         Closes #344639 and #347785
11199
11200 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11201
11202         * docs/pwg/advanced-types.xml:
11203           add more missing type details
11204
11205         * tools/gst-run.c: (main):
11206           remove unused variable
11207
11208 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11209
11210         * docs/libs/Makefile.am:
11211         * docs/libs/gstreamer-libs.types:
11212           add types of base classes to enable gobject specific stuff in the docs
11213
11214         * docs/random/ensonic/embedded.txt:
11215           more ideas about isolating platform specific things
11216
11217 2006-11-20  Wim Taymans  <wim@fluendo.com>
11218
11219         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11220
11221         * libs/gst/check/gstcheck.h:
11222         Fix compilation and running against 0.9.4. Fixes #377332.
11223
11224 2006-11-20  Wim Taymans  <wim@fluendo.com>
11225
11226         * gst/gstsegment.c: (gst_segment_set_seek),
11227         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11228         (gst_segment_to_running_time):
11229         Fix boundary checking in to_running_time() and to_stream_time().
11230         Fixes #377183.
11231
11232         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11233         stream and running time can now be calculated for the complete
11234         clipped segment.
11235
11236 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11237
11238         * gst/gstpad.c: (gst_pad_push_event):
11239           Can't access event structure after giving away ownership of
11240           the event.
11241
11242 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11243
11244         * docs/random/ensonic/embedded.txt:
11245         * docs/random/ensonic/profiling.txt:
11246         * docs/random/ensonic/receipies.txt:
11247           more thinking
11248
11249 2006-11-13  Wim Taymans  <wim@fluendo.com>
11250
11251         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11252
11253         * gst/gstpad.c:
11254         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11255
11256 2006-11-13  Wim Taymans  <wim@fluendo.com>
11257
11258         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11259
11260         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11261         Store new length in segment duration so we don't keep on calling the
11262         potentially expensize get_size() call. Fixes #370865.
11263
11264 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11265
11266         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11267
11268         * win32/common/libgstreamer.def:
11269           Add two missing symbols (#366492).
11270
11271 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11272
11273         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11274         (gst_adapter_take_buffer):
11275         Fix format string to use all its arguments.
11276         Remove useless >= check on a guint
11277
11278 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11279
11280         * tests/examples/adapter/.cvsignore:
11281         Ignore build file as commanded by the build-bot
11282
11283 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11284
11285         * tests/examples/adapter/Makefile.am:
11286         * tests/examples/adapter/adapter_test.c: (run_test_take),
11287         (run_test_take_buffer), (run_tests), (main):
11288
11289         Add new files from the previous commit
11290
11291 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11292
11293         * Makefile.am:
11294         * configure.ac:
11295         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11296         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11297         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11298         * libs/gst/base/gstadapter.h:
11299         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11300         (GST_START_TEST), (gst_adapter_suite):
11301         * tests/examples/Makefile.am:
11302         Do some optimisation work in GstAdapter to avoid copies in more cases.
11303         It could still do slightly better by merging buffers when
11304         gst_buffer_is_span_fast is true, but is already faster. 
11305
11306         Also, avoid traversing a single-linked list to append each incoming 
11307         buffer inside the adapter.
11308
11309         Add simple test app that times the adapter behaviour in different
11310         situations, and extend the unit test to check that bytes enter and
11311         exit the adapter in their original order.
11312
11313 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11314
11315         * docs/random/draft-missing-plugins.txt:
11316           Update: use element message instead of adding a new message
11317           type to the core; don't provide GStreamer API to initiate the
11318           plugin download, just provide API to compose the strings needed
11319           and let an external libgimmestuff handle the rest.
11320
11321 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11322
11323         * tools/gst-inspect.c: (print_element_properties_info):
11324         Print a string instead of 'unknown type' for GValueArray properties
11325
11326 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11327
11328         * docs/random/draft-missing-plugins.txt:
11329         More small fixes.
11330
11331 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11332
11333         * tests/examples/typefind/typefind.c: (type_found), (main):
11334           Make typefind element example work again (#371894); add a
11335           license header.
11336
11337 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11338
11339         * docs/random/draft-missing-plugins.txt:
11340           Commit initial draft about how to deal with missing plugins,
11341           needs work (API too).
11342
11343 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11344
11345         * docs/pwg/advanced-types.xml:
11346           documents the new caps elements (see #363118)
11347
11348 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11349
11350         * gst/gstplugin.c: (gst_plugin_load_file):
11351         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11352         (gst_file_src_map_region), (gst_file_src_start):
11353         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11354         (gst_file_index_commit):
11355           Use g_strerror() instead of strerror() - we want UTF-8.
11356
11357 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11358
11359         Patch by: Peter Kjellerstedt <pkj at axis com>
11360
11361         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11362           Another printf fix (#371493).
11363
11364 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11365
11366         * tests/check/gst/gsttag.c:
11367           relicence (okay with author=company)
11368
11369 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11370
11371         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11372         (gst_pad_push_event):
11373           Enhance debug and improve docs
11374         
11375         * gst/gsturi.c:
11376           Fix docs
11377
11378 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11379
11380         * docs/random/ensonic/distributed.txt:
11381         * docs/random/ensonic/profiling.txt:
11382           more ideas
11383
11384 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11385
11386         * docs/gst/gstreamer-sections.txt:
11387           add new API and fix the build
11388           
11389         * gst/gstbin.c: (gst_bin_recalc_state):
11390         * gst/gstelement.c: (gst_element_message_full),
11391         (gst_element_get_state_func), (gst_element_set_state_func):
11392           use new API and improve logging
11393         
11394         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11395         * gst/gstutils.h:
11396           API: add function to get StateChangereturn names to improve logs 
11397
11398 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11399
11400         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11401           I'm considering shooting the next person to put strerror stuff
11402           in the translateable part of the message.
11403
11404 2006-11-03  Wim Taymans  <wim@fluendo.com>
11405
11406         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11407         Get the type and printf conversion specifiers right.
11408
11409 2006-11-03  Wim Taymans  <wim@fluendo.com>
11410
11411         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11412
11413         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11414         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11415         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11416         Some small cleanups. Improve debugging.
11417         * gst/gstpad.h:
11418         Signal all waiting threads with a broadcast instead of just one.
11419         Fixes #369942.
11420
11421 2006-11-03  Wim Taymans  <wim@fluendo.com>
11422
11423         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11424         (gst_fd_src_create):
11425         Add some debugging. 
11426         Only update fd when it's different from the old.
11427
11428 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11429
11430         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11431           Printf fixes for PPC/OSX, take two (#369366).
11432
11433 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11434
11435         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11436
11437         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11438         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11439         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11440           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11441           don't cast to long long for portability reasons, but use
11442           GLib's types instead.
11443
11444 2006-10-30  Michael Smith  <msmith@fluendo.com>
11445
11446         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11447           Get the arguments to lseek() the right way around.
11448           Fixes 367677.
11449
11450 2006-10-30  Wim Taymans  <wim@fluendo.com>
11451
11452         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11453
11454         * gst/gstinfo.h:
11455         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11456
11457 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11458
11459         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11460
11461         * docs/design/part-MT-refcounting.txt:
11462         * docs/random/wtay/capsnego2-docs:
11463         * gst/gstclock.c:
11464         * gst/gstxml.c:
11465           Typo fixes (#366212).
11466
11467 2006-10-28  Wim Taymans  <wim@fluendo.com>
11468
11469         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11470
11471         * gst/gst.c:
11472         * win32/common/libgstbase.def:
11473         * win32/common/libgstreamer.def:
11474         * win32/vs8/libgstbase.vcproj:
11475         * win32/vs8/libgstcontroller.vcproj:
11476         Add needed entries in .def files.
11477         Use HAVE_UNISTD_H.
11478         Rearrange def files in vs8 solutions. Fixes #366286.
11479
11480 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11481
11482         * win32/common/gstconfig.h:
11483           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11484           hand-made win32 gstconfig.h. Fixes #366321.
11485
11486 2006-10-27  Wim Taymans  <wim@fluendo.com>
11487
11488         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11489         (gst_ghost_pad_new_full):
11490         Make acceptcaps return TRUE when we don't have a target, just like
11491         setcaps does.
11492
11493 2006-10-27  Wim Taymans  <wim@fluendo.com>
11494
11495         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11496         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11497
11498 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11499
11500         * gst/gststructure.c: (gst_structure_id_set_value):
11501           If someone tries to set a non-UTF8 string field on a structure,
11502           don't just print a warning, but also ignore the request and do
11503           not change/add that field to the structure.
11504
11505         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11506           Test for the above.
11507
11508 2006-10-25  David Schleef  <ds@schleef.org>
11509
11510         * gst/gstinfo.c:
11511           g_hash_table_insert() needs a cast to a non-const pointer duh.
11512
11513 2006-10-25  David Schleef  <ds@schleef.org>
11514
11515         * gst/gstinfo.c:
11516         * gst/gstinfo.h:
11517           Change name parameter of _gst_debug_register_funcptr to const
11518           to reflect the constness of its use in the function as well
11519           as to quiet a gcc warning.
11520
11521 2006-10-25  Edward Hervey  <edward@fluendo.com>
11522
11523         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11524         Don't push the buffer if it's empty.
11525         Closes #363095
11526
11527 2006-10-24  Wim Taymans  <wim@fluendo.com>
11528
11529         * gst/gstevent.h:
11530         Add small comment.
11531
11532         * libs/gst/base/gstbasetransform.c:
11533         (gst_base_transform_sink_eventfunc):
11534         Debug segment values *after* updating them as this is more
11535         interesting.
11536
11537 2006-10-23  Wim Taymans  <wim@fluendo.com>
11538
11539         * docs/design/part-events.txt:
11540         Update some docs.
11541
11542         * docs/design/part-block.txt:
11543         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11544         (gst_pad_push_event):
11545         Revert BLOCKING patch, it tries to be smart without really having a
11546         clear idea what or how. So, now we discard all FLUSHING events again on
11547         a blocking pad. Should fix gnonlin again.
11548
11549 2006-10-23  Wim Taymans  <wim@fluendo.com>
11550
11551         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11552
11553         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11554         (gst_base_src_start), (gst_base_src_activate_push):
11555         Make sure size is always initialized. Fixes #364388.
11556
11557 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11558
11559         * docs/random/ensonic/distributed.txt:
11560           add some ideas about doing distributed processing
11561
11562         * docs/random/ensonic/profiling.txt:
11563           get_rusage look promising
11564
11565 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11566
11567         * docs/manual/basics-helloworld.xml:
11568           Add a cast in example to fix compile warning
11569
11570 2006-10-18  Wim Taymans  <wim@fluendo.com>
11571
11572         * gst/gstsegment.c: (gst_segment_set_last_stop),
11573         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11574         Relax arg checking again, -1 is allowed.
11575
11576 2006-10-18  Wim Taymans  <wim@fluendo.com>
11577
11578         * gst/gstsegment.c: (gst_segment_set_last_stop),
11579         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11580         _set_last_stop() must be with a value != -1
11581         A _TYPE_SET to -1 means seek to 0.
11582         Calc last_stop correctly for negative rates.
11583         Make sure we work with positive durations when updating a segment.
11584
11585 2006-10-18  Wim Taymans  <wim@fluendo.com>
11586
11587         * docs/design/part-live-source.txt:
11588         * gst/gstclock.h:
11589         Small docs fixes.
11590
11591 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11592
11593         * gst/gstbuffer.h:
11594           Add an explicit cast to GstBuffer** to keep old code that added an
11595           explicit cast to GstMiniObject** for gst_mini_object_replace()
11596           compiling without warning.
11597
11598 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11599
11600         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11601           check for validity of dates
11602
11603 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11604
11605         * docs/gst/gstreamer-sections.txt:
11606           Forgot this one, makes gtk-doc shut up.
11607
11608 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11609
11610         Patch by: Peter Kjellerstedt <pkj at axis com>
11611
11612         * gst/gstobject.h:
11613           Don't define xmlNodePtr to gpointer if the core was built with
11614           --disable-loadsave and --disable-registry, this will break
11615           applications that want to use libxml2 but are buildling against a
11616           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11617           instead so we don't have to mess with the libxml2 namespace
11618           (#361675).
11619
11620 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11621
11622         * gst/gstbuffer.h:
11623           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11624           type-punned pointer warnings.
11625
11626 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11627
11628         * gst/gstelement.h:
11629           Add casts to the correct return type to state <=> state transition
11630           macros.
11631
11632 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11633
11634         * docs/design/part-live-source.txt:
11635           describe howto handle latency
11636         
11637         * docs/random/ensonic/profiling.txt:
11638           more ideas
11639
11640         * tools/gst-plot-timeline.py:
11641           fix log parsing for solaris, remove unused function
11642
11643 2006-10-16  Wim Taymans  <wim@fluendo.com>
11644
11645         * docs/design/part-trickmodes.txt:
11646         * gst/gstevent.c:
11647         Update some docs regarding reverse playback.
11648
11649 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11650
11651         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11652
11653         * win32/vs8/grammar.vcproj:
11654           Error out with a warning if glib-genmarshal.exe is not in path,
11655           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11656
11657 2006-10-13  Wim Taymans  <wim@fluendo.com>
11658
11659         * gst/gstsegment.c: (gst_segment_set_seek):
11660         When seeking to stop -1, set last_stop (current position) to the
11661         duration of the segment.
11662
11663 2006-10-13  Wim Taymans  <wim@fluendo.com>
11664
11665         * gst/gstelement.h:
11666         Clarify _NO_PREROLL a bit more.
11667
11668         * gst/gstevent.c:
11669         Fix docs.
11670
11671         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11672         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11673         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11674         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11675         due to wrong locking order. Fixes #361769.
11676         Remove some redundant/misplaced checks in pad_block.
11677
11678         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11679         For negative rates, count backwards from the duration.
11680
11681 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11682
11683         * gst/gsterror.c: (_gst_library_errors_init):
11684           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11685           up with something better).
11686
11687 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11688
11689         * win32/vs6/libgstreamer.dsp:
11690         * win32/vs7/libgstreamer.vcproj:
11691         * win32/vs8/libgstreamer.vcproj:
11692           Don't reference glib-compat.c which is currently not used and not
11693           disted; add gstquark.c which was recently added. Fixes #361730.
11694
11695 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11696
11697         * win32/common/libgstbase.def:
11698         * win32/common/libgstcontroller.def:
11699         * win32/common/libgstreamer.def:
11700           Add gst_caps_merge() and a bunch of other recently-added functions.
11701           Fixes #361732.
11702
11703 2006-10-11  Wim Taymans  <wim@fluendo.com>
11704
11705         * docs/plugins/gstreamer-plugins.args:
11706         * docs/plugins/inspect/plugin-coreelements.xml:
11707         * docs/plugins/inspect/plugin-coreindexers.xml:
11708         Update element args.
11709
11710         * gst/gstsystemclock.c:
11711         Small comment update.
11712
11713         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11714         (gst_tee_request_new_pad), (gst_tee_release_pad),
11715         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11716         (gst_tee_sink_activate_pull):
11717         * plugins/elements/gsttee.h:
11718         Some tee loving:
11719         Add default property defines.
11720         Implement release pad function.
11721         Give properties better blubs etc.
11722         Activate pads before adding them to a running tee.
11723         Do simple buffer_alloc on the first requested pad.
11724         Post error when activation fails.
11725
11726 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11727
11728         * gst/gst.c: (ensure_current_registry_forking):
11729           Check return value of write() to make compiler happy.
11730
11731 2006-10-11  Wim Taymans  <wim@fluendo.com>
11732
11733         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11734
11735         * plugins/elements/gstqueue.c: (gst_queue_chain):
11736         Recheck queue filledness after signalling the overrun when we're about
11737         to leak downstream because we released the lock when emitting the signal
11738         and the queue could be empty again. Fixes #352345.
11739
11740 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11741
11742         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11743           Fix refcounting here too, just like we did for _new_valist() a few
11744           days ago (#357180) (thanks to René Stadler). Also remove all those
11745           'Since: 0.9' from the gtk-doc blobs.
11746
11747         * tests/check/libs/controller.c: (controller_refcount_new_list),
11748         (gst_controller_suite):
11749           Unit test for the above.
11750
11751 2006-10-10  Wim Taymans  <wim@fluendo.com>
11752
11753         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11754
11755         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11756         (gst_pad_save_thyself):
11757         Update some docs.
11758         Write pad direction in XML output. Fixes #345496.
11759
11760 2006-10-10  Wim Taymans  <wim@fluendo.com>
11761
11762         Patch by: René Stadler <mail at renestadler dot de>
11763
11764         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11765         (gst_controller_new_list), (_gst_controller_dispose),
11766         (_gst_controller_finalize), (_gst_controller_class_init):
11767         Take ref to controlled object so that it cannot disappear. 
11768         Fixes #357432.
11769
11770 2006-10-10  Wim Taymans  <wim@fluendo.com>
11771
11772         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11773         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11774         (gst_check_teardown_sink_pad):
11775         Activate/deactivate pads in setup/teardown respectively.
11776
11777 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11778
11779         Patch by: Josep Torra Valles <josep@fluendo.com>
11780
11781         * gst/Makefile.am:
11782         Cast values when making gstenumtypes.h.  This pacifies Forte
11783         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11784         in the enumeration.
11785
11786 2006-10-09  Wim Taymans  <wim@fluendo.com>
11787
11788         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11789         Rename some more @cur to @start to fix docs. 
11790
11791         * gst/gstsegment.c: (gst_segment_set_seek):
11792         Fix typo.
11793         time and start must always stay in sync as defined in design doc.
11794
11795         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11796         Rename param to fix docs.
11797
11798         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11799         Check that start and time are in sync.
11800
11801         * tests/check/pipelines/parse-launch.c:
11802         (gst_parse_test_element_change_state):
11803         Activate pad before adding to the element.
11804
11805 2006-10-09  Wim Taymans  <wim@fluendo.com>
11806
11807         * docs/design/part-qos.txt:
11808         Fix typo.
11809
11810         * gst/gstevent.c:
11811         * gst/gstevent.h:
11812         Update seek event docs regarding negative rates.
11813         Rename @cur to @start. 
11814
11815         * gst/gstsegment.c: (gst_segment_set_seek):
11816         * gst/gstsegment.h:
11817         Update set_seek docs regarding negative rates.
11818         Correctly update last_stop to @stop when dealing with negative
11819         rates.
11820         Rename @cur to @start. 
11821
11822         * tests/check/gst/gstpad.c: (GST_START_TEST):
11823         Activate pads before trying to use them.
11824
11825         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11826         (gst_segment_suite):
11827         Add simple check for segments and negative rates.
11828
11829 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11830
11831         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11832         * gst/gsttaglist.h:
11833         * docs/gst/gstreamer-sections.txt:
11834           API: add gst_tag_list_is_empty() (#360467).
11835
11836         * tests/check/gst/gsttag.c: (GST_START_TEST):
11837           And a test case.
11838
11839 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11840
11841         * gst/gstmessage.h:
11842         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11843         a value that doesn't fit on enumeration.
11844
11845 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11846
11847         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11848         Remove local debugging system and use Gstreamer's instead.
11849
11850 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11851
11852         Patch by: Josep Torra Valles <josep@fluendo.com>
11853
11854         * common/m4/gst-error.m4:
11855         Disable warning of statement not reached on Forte.
11856         * gst/gstmessage.h:
11857         Fix warning on Forte (value doesn't fit on enumeration).
11858         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11859         Fix warning on Forte (value doesn't fit on enumeration).
11860         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11861         DEBUG macro says it takes minimum of 2 args and so Forte
11862         complains about the use with just 1 arg.
11863         * plugins/elements/gstfdsink.c:
11864         * plugins/elements/gstfdsrc.c:
11865         * plugins/elements/gstfilesink.c:
11866         * plugins/elements/gstfilesrc.c:
11867         Use correct return type for the uri handler implementations.
11868
11869         All these fix warnings in Forte.  Fixes bug #360860.
11870
11871 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11872
11873         * gst/gstelement.h:
11874           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11875           format string, so don't use G_GNUC_PRINTF for those versions.
11876
11877 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11878
11879         * gst/gsttaglist.c: (gst_is_tag_list):
11880         * gst/gsttaglist.h:
11881           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11882
11883         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11884           Small test for the above.
11885
11886 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11887
11888         * gst/gsttaglist.h:
11889           Less tabs, more spaces.
11890
11891 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11892
11893         * gst/gstinfo.h:
11894           Those two function declarations do actually belong there, revert
11895           commit from yesterday that turned them intro macros.
11896
11897 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11898
11899         Patch by: Josep Torra Valles <josep@fluendo.com>
11900
11901         * gst/gst.c: (gst_init_get_option_group):
11902         Fix empty declaration and type mismatch.
11903         * gst/gstbin.c: (gst_bin_change_state_func):
11904         Fix type mismatch.
11905         * gst/gstelement.c: (gst_element_continue_state),
11906         (gst_element_set_state_func), (gst_element_change_state),
11907         (gst_element_change_state_func):
11908         Fix type mismatches.
11909         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11910         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11911         Cast as appropriate.
11912         * gst/gstobject.c: (gst_class_signal_connect):
11913         Cast as appropriate.  The function pointer parameter really
11914         has the wrong type but would break API if we change it.
11915         * gst/gstquery.c:
11916         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11917         order of including string.h.
11918         * gst/gstutils.c: (gst_element_state_get_name):
11919         Remove unreachable line.
11920         * gst/gstxml.c: (gst_xml_parse_doc):
11921         Fix type mismatch.
11922         All these caught by Forte.
11923
11924 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11925
11926         Patch by: Josep Torra Valles <josep@fluendo.com>
11927
11928         * common/m4/gst-error.m4:
11929         Fixed bug #360151.
11930         We need to disable warnings on Forte for empty declarations
11931         due to gst-indent adding ;s to lines that just use macros
11932         where the macro actually doesn't need a ; at end to end
11933         statement.
11934
11935 2006-10-06  Wim Taymans  <wim@fluendo.com>
11936
11937         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11938         (gst_file_sink_close_file), (gst_file_sink_event),
11939         (gst_file_sink_render):
11940         Add some FIXME for the NEWSEGMENT handling.
11941
11942 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11943
11944         * gst/parse/grammar.y:
11945         Remove static function gst_parse_element_lock as all it does
11946         is return.  Looks like cruft from 0.8.
11947
11948 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11949
11950         Patch by: Josep Torra Valles <josep@fluendo.com>
11951
11952         * common/m4/gst-error.m4:
11953         * configure.ac:
11954         * libs/gst/net/Makefile.am:
11955         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11956         libresolv.
11957
11958 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11959
11960         * gst/gstpad.c: (pre_activate):
11961         * gst/gstregistry.c: (gst_registry_scan_path_level):
11962         * gst/gstregistryxml.c: (load_plugin):
11963         * libs/gst/controller/gstcontroller.c:
11964         (gst_controlled_property_set_interpolation_mode):
11965         * libs/gst/dataprotocol/dataprotocol.c:
11966         (gst_dp_packet_from_event_1_0):
11967         * libs/gst/net/gstnetclientclock.c:
11968         (gst_net_client_clock_observe_times):
11969         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11970           Printf fixes.
11971
11972 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11973
11974         * configure.ac:
11975         * docs/gst/gstreamer-sections.txt:
11976         * gst/gstconfig.h.in:
11977         * gst/gstelement.h:
11978         * gst/gstinfo.h:
11979           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11980           whether we can use G_GNUC_PRINTF in other header files and at
11981           least check the printf format/arguments of debug messages and
11982           GST_ELEMENT_ERROR messages when the printf extension is not
11983           being used.
11984           Replace more tabs with spaces in gstinfo.h and remove two spurious
11985           function declarations in GST_DISABLE_DEBUG part with macros.
11986
11987 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
11988
11989         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11990           More docs for the sync-message signal (mention that it is not
11991           emitted by default); log message structures of messages posted on
11992           the bus as well.
11993
11994 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
11995
11996         * gst/gst.c: (ensure_current_registry_forking):
11997         Use a pipe pair to receive status results from the forked child, and
11998         ignore the result from waitpid. Fixes #355499
11999
12000 2006-10-02  Wim Taymans  <wim@fluendo.com>
12001
12002         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12003         (gst_ghost_pad_suite):
12004         Fix leak in check.
12005
12006 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12007
12008         * gst/gstpad.c:
12009           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12010
12011 2006-10-02  Edward Hervey  <edward@fluendo.com>
12012
12013         * docs/design/part-block.txt:
12014         Further explain the use of flushing on blocked pads.
12015         * docs/gst/gstreamer-sections.txt:
12016         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12017         (gst_pad_push_event):
12018         * gst/gstpad.h:
12019         Added new GstPadFlag : GST_PAD_BLOCKING.
12020         Adds the notion of pads really blocking, which enables to properly
12021         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12022         Fixes #358999
12023         API: gst_pad_is_blocking()
12024         API: GST_PAD_IS_BLOCKING() macro
12025         API: GST_PAD_BLOCKING GstPadFlag
12026         
12027 2006-10-02  Wim Taymans  <wim@fluendo.com>
12028
12029         Patch by: mrcgran <mrc.gran at gmail dot com>
12030
12031         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12032         Filter the proxied caps against the padtemplate if we have one.
12033
12034         * gst/gstquery.c: (gst_query_new_segment):
12035         Add include for gstinfo.h so that compilation with
12036         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12037
12038 2006-10-02  Wim Taymans  <wim@fluendo.com>
12039
12040         Patch by: Alessandro Decina  <alessandro at nnva org>
12041
12042         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12043         (gst_file_sink_set_location), (gst_file_sink_open_file),
12044         (gst_file_sink_close_file), (gst_file_sink_event),
12045         (gst_file_sink_render):
12046         Set file to NULL when closing filesink so that we can set a new filename
12047         in READY. Fixes #358613.
12048
12049 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12050
12051         Patch by: Alessandro Decina  <alessandro at nnva org>
12052
12053         * gst/gstevent.c: (_gst_event_copy):
12054           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12055           with event structures by setting the parent refcount address of the
12056           copied structure to the address of the refcount member of the newly
12057           copied event rather than the address of the refcount member of the
12058           original event. Fixes #358737.
12059
12060         * tests/check/gst/gstevent.c: (GST_START_TEST):
12061           Unit test for the above.
12062
12063 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12064
12065         * docs/design/Makefile.am:
12066           Dist some more files.
12067
12068 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12069
12070         * tests/check/libs/controller.c: (GST_START_TEST),
12071         (gst_controller_suite):
12072           Add test for the previous fix; add some more tests
12073           for correct refcounting behaviour; fix a few leaks
12074           in test cases; call gst_controller_init() at start
12075           of all tests.
12076
12077 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12078
12079         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12080         (gst_controller_set_from_list):
12081           Don't g_return_val_if_fail() on timed values with invalid timestamps
12082           inside a critical section without unlocking the mutex. Spotted by
12083           René Stadler. (#357617)
12084           Also, fix up refcounting properly: when returning an existing
12085           controller, we should increase the reference only once and not
12086           once per property and when trying to control a property again
12087           we should also increase the refcount.
12088
12089 2006-09-29  Wim Taymans  <wim@fluendo.com>
12090
12091         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12092         * libs/gst/net/gstnettimeprovider.c:
12093         (gst_net_time_provider_thread):
12094         Stop reading commands when EOF as well.
12095
12096         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12097         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12098         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12099         Unify description of the dump property.
12100
12101 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12102
12103         * tests/examples/manual/.cvsignore:
12104         OK, so it's actually cvsignore that needs changing. Stop laughing.
12105
12106 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12107
12108         * tests/examples/manual/Makefile.am:
12109         Gah, declare vars *before* using them
12110
12111 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12112
12113         * gst/gst.c: (init_pre), (scan_and_update_registry),
12114         (ensure_current_registry_nonforking),
12115         (ensure_current_registry_forking), (ensure_current_registry),
12116         (init_post), (gst_debug_help), (gst_deinit):
12117         * gst/gst_private.h:
12118         * gst/gstregistry.c: (gst_registry_finalize),
12119         (gst_registry_remove_features_for_plugin_unlocked),
12120         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12121         (gst_registry_scan_path),
12122         (_priv_gst_registry_remove_cache_plugins),
12123         (_priv_gst_registry_cleanup):
12124         * gst/gstregistry.h:
12125         Re-commit the registry changes, along with an extra fix:
12126           When a cached plugin is encountered at a different file path,
12127           update the stored path in the registry cache so that the parent
12128           process knows where it actually is now when it re-reads the registry
12129           cache. Fixes the thing that broke distcheck with the previous commit.
12130
12131         * tests/check/Makefile.am:
12132         Clean up files named 'core' too when running make clean.
12133
12134         * tests/examples/manual/Makefile.am:
12135         Set up a registry path for running these tests, and clean it properly
12136         for distcheck.
12137
12138 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12139
12140         * configure.ac:
12141         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12142         want gmodule-no-export-2.0.pc instead so that we don't drag in
12143         --export-dynamic on every project that links to GStreamer.
12144
12145         Also, make our export regex only match the start of symbols, rather 
12146         than any symbol that contains '_gst' somewhere.
12147
12148         * libs/gst/check/Makefile.am:
12149         The libgstcheck we build does however need export-dynamic, as it
12150         produces some symbols that don't match our _gst... style regex.
12151         Fixes: #318031
12152
12153 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12154
12155         * gst/gst.c: (init_pre), (scan_and_update_registry),
12156         (ensure_current_registry_nonforking),
12157         (ensure_current_registry_forking), (ensure_current_registry),
12158         (init_post), (gst_debug_help), (gst_deinit):
12159         * gst/gst_private.h:
12160         * gst/gstregistry.c: (gst_registry_finalize),
12161         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12162         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12163         (_gst_registry_cleanup):
12164         * gst/gstregistry.h:
12165           Revert previous change until I figure out why it breaks distcheck.
12166
12167 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12168
12169         * gst/gst.c: (init_pre), (scan_and_update_registry),
12170         (ensure_current_registry_nonforking),
12171         (ensure_current_registry_forking), (ensure_current_registry),
12172         (init_post), (gst_debug_help), (gst_deinit):
12173
12174           Make init_pre and init_post take the full complement of GOptionFunc
12175           args so they can return useful GErrors. Make the registry updating
12176           functions do so.
12177
12178           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12179           ensure that the registry we're about to write out doesn't contain
12180           stale information about old-deleted plugin files.
12181
12182           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12183           that deletion of plugin files is considered a registry change.
12184
12185         * gst/gst_private.h:
12186         * gst/gstregistry.c: (gst_registry_finalize),
12187         (gst_registry_remove_features_for_plugin_unlocked),
12188         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12189         (gst_registry_scan_path),
12190         (_priv_gst_registry_remove_cache_plugins),
12191         (_priv_gst_registry_cleanup):
12192         * gst/gstregistry.h:
12193         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12194         by adding _priv prefix, so that they won't appear in the global
12195         symbol table. They still do atm though because of #318031. Move the
12196         prototypes to gst_private.h
12197
12198         When removing a plugin, remove all features for that plugin too. 
12199         Fixes #340878.
12200
12201 2006-09-27  Wim Taymans  <wim@fluendo.com>
12202
12203         * docs/random/moving-plugins:
12204         Make it clear that the "compiled-in descriptions" really mean
12205         the element details.
12206
12207         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12208         (gst_base_sink_wait_preroll):
12209         Update docs.
12210
12211         * docs/libs/gstreamer-libs-sections.txt:
12212         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12213         (gst_base_src_get_range), (gst_base_src_activate_push):
12214         * libs/gst/base/gstbasesrc.h:
12215         Added function to block while waiting for PLAYING, this function
12216         is used by live sources that block on the clock.
12217         API: gst_base_src_wait_playing()
12218
12219 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12220
12221         Patch by: Peter Kjellerstedt <pkj at axis com>
12222
12223         * Makefile.am:
12224           gst-element-check.m4 is generated and should therefore be
12225           copied from the build dir rather than the source dir (#357593).
12226           'make distcheck' hasn't noticed this because we were disting
12227           the file as well, so stop doing that.
12228
12229 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12230
12231         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12232           Add some tests for gst_caps_intersect().
12233
12234         * tools/gst-launch.c: (event_loop):
12235           Print all buffering percentages we get, even the 100% one.
12236
12237 2006-09-26  Wim Taymans  <wim@fluendo.com>
12238
12239         * tools/gst-inspect.c: (print_element_properties_info),
12240         (print_signal_info):
12241         Fix printing of flags to match the look of enums.
12242
12243 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12244
12245         * gst/gstelementfactory.c:
12246           Fix typo in docs blurb.
12247
12248 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12249
12250         * gst/gsturi.c: (search_by_entry):
12251           Don't assert/crash here if a uri handler doesn't return any
12252           supported protocols. The list of protocols could be generated
12253           dynamically at runtime or at plugin registration, and an error
12254           in the underlying library shouldn't be fatal (#353301).
12255
12256 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12257
12258         * gst/gstinfo.c:
12259           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12260           (spotted by Peter Kjellerstedt).
12261
12262 2006-09-23  Wim Taymans  <wim@fluendo.com>
12263
12264         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12265
12266         * libs/gst/base/gstbasesrc.c:
12267         (gst_base_src_default_check_get_range), (gst_base_src_start),
12268         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12269         (gst_base_src_change_state):
12270         Match _start/_stop calls in the activate functions. Remove redundant
12271         _stop call from the state change function. Fixes #356910.
12272         Turn failure DEBUG into ERROR. 
12273
12274 2006-09-22  Wim Taymans  <wim@fluendo.com>
12275
12276         * docs/design/part-buffering.txt:
12277         * gst/gstmessage.c: (gst_message_new_buffering),
12278         (gst_message_parse_buffering):
12279         Update docs about buffering.
12280
12281         * docs/design/part-trickmodes.txt:
12282         Fix typo.
12283
12284 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12285
12286         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12287         (gst_controller_new_list):
12288           Ref instances when returning them again (fixes #357180)
12289
12290 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12291
12292         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12293           Don't forget to release proxy lock when there's an error.
12294
12295 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12296
12297         * gst/gstcaps.h:
12298           Add extra initialisers for Caps things, to fix some plugin warnings
12299           when using -Wextra
12300
12301 2006-09-18  Wim Taymans  <wim@fluendo.com>
12302
12303         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12304           Also set template on the internal pad so that a getcaps from the 
12305           target pad returns the template caps.
12306
12307 2006-09-18  Wim Taymans  <wim@fluendo.com>
12308
12309         * gst/gstelement.c: (gst_element_post_message),
12310         (gst_element_dispose):
12311         Use _DEBUG_OBJECT some more.
12312
12313         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12314         Avoid typechecks.
12315
12316         * tools/gst-launch.c: (main):
12317         If the toplevel element is not a GstPipeline, it must be put in a
12318         pipeline so that a bus and clock is selected.
12319
12320 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12321
12322         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12323           JITTER, RATE, and LATENCY query should be handled by the
12324           default case and not by the CONVERT query code.
12325
12326 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12327
12328         * gst/gstformat.c: (gst_format_register):
12329           Fix locking order (must take lock before using n_values).
12330
12331         * gst/gstvalue.c: (gst_value_serialize_enum),
12332         (gst_value_deserialize_enum_iter_cmp),
12333         (gst_value_deserialize_enum):
12334           Fix serialisation/deserialisation of custom registered GstFormats.
12335
12336         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12337           Unit test for custom format serialisation/deserialisation.
12338
12339 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12340
12341         * docs/pwg/building-boiler.xml:
12342         * plugins/elements/gstcapsfilter.c:
12343         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12344         section.
12345
12346 2006-09-16  Edward Hervey  <edward@fluendo.com>
12347
12348         * libs/gst/base/gstbasetransform.c:
12349         (gst_base_transform_buffer_alloc):
12350         Check if requested caps are the same as the sinks caps IF
12351         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12352         is FALSE.
12353         This fixes the renegotiation issues stated in #352827.
12354
12355 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12356
12357         * configure.ac:
12358         * docs/manual/advanced-autoplugging.xml:
12359         * tests/examples/Makefile.am:
12360         * tests/examples/manual/.cvsignore:
12361         * tests/examples/manual/Makefile.am:
12362         * tests/examples/manual/extract.pl:
12363           Extract the manual examples again like we used to do.
12364           Fix one of them.
12365
12366 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12367
12368         * win32/common/config.h:
12369           update for version
12370
12371 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12372
12373         * gst/gsterror.c:
12374           Documents how to receive errors.
12375
12376 2006-09-15  Wim Taymans  <wim@fluendo.com>
12377
12378         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12379         (event_loop), (main):
12380         Added some comments here and there.
12381         Post an application message when an interrupt is caught instead of doing
12382         an uncontrolled state change.
12383         Clean up the event loop.
12384         Handle buffering messages, pause/resume the pipeline.
12385         Make shutdown because of an interrupt more reliable.
12386
12387 2006-09-15  Wim Taymans  <wim@fluendo.com>
12388
12389         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12390         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12391         (gst_base_sink_preroll_object):
12392         Make sure that our internal state is correct when we commit our state
12393         asynchronously. This solves a race where a state change to PLAYING
12394         could cause the sink to remain blocked in preroll in some situations.
12395
12396 2006-09-15  Wim Taymans  <wim@fluendo.com>
12397
12398         * tools/gst-inspect.c: (print_element_properties_info),
12399         (print_signal_info):
12400         List flags as hex so it's easier to deal with.
12401
12402 2006-09-15  Wim Taymans  <wim@fluendo.com>
12403
12404         * docs/libs/gstreamer-libs-sections.txt:
12405         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12406         (gst_base_sink_do_sync):
12407         * libs/gst/base/gstbasesink.h:
12408         Expose logic to wait for preroll so that subclasses such as audiosink
12409         can also use this method.
12410         API: gst_base_sink_wait_preroll()
12411
12412 2006-09-15  Wim Taymans  <wim@fluendo.com>
12413
12414         * gst/gstobject.c: (gst_object_set_parent):
12415         * gst/gstpipeline.c: (do_pipeline_seek):
12416         Small cleanups in docs and code.
12417
12418         * gst/gstsegment.c: (gst_segment_clip):
12419         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12420         if stop == start and start is in the segment, no clipping should be
12421         done. Also add a test for this.
12422
12423 2006-09-15  Wim Taymans  <wim@fluendo.com>
12424
12425         * docs/design/part-buffering.txt:
12426         * docs/gst/gstreamer-sections.txt:
12427         * gst/gstmessage.c: (gst_message_new_buffering),
12428         (gst_message_parse_buffering):
12429         * gst/gstmessage.h:
12430         Added methods to create and parse BUFFERING messages.
12431         Added preliminary docs about buffering.
12432         API: gst_message_new_buffering
12433         API: gst_message_parse_buffering
12434
12435 2006-09-06  Wim Taymans  <wim@fluendo.com>
12436
12437         * gst/gstbin.c:
12438         Update documentation.
12439
12440         * gst/gstelement.c: (gst_element_class_init),
12441         (gst_element_release_request_pad), (gst_element_set_clock),
12442         (gst_element_get_index), (gst_element_add_pad),
12443         (gst_element_remove_pad), (gst_element_get_random_pad),
12444         (gst_element_send_event), (gst_element_get_query_types),
12445         (gst_element_query), (gst_element_post_message),
12446         (gst_element_message_full), (gst_element_continue_state),
12447         (gst_element_lost_state), (gst_element_save_thyself),
12448         (gst_element_restore_thyself):
12449         Documentation updates.
12450         Rename last bit of the new-pad -> pad-added signal rename.
12451         Fix the case where an element query would only work if the source
12452         pad was linked.
12453         Avoid some useless type checking in message handling.
12454
12455         * gst/gstevent.c:
12456         * gst/gstevent.h:
12457         * gst/gstutils.c:
12458         Documentation updates.
12459
12460 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12461
12462         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12463           add an INFO line for when we actually update the fd
12464
12465 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12466
12467         * configure.ac:
12468           back to TRUNK
12469
12470 === release 0.10.10 ===
12471
12472 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12473
12474         * configure.ac:
12475           releasing 0.10.10, "Pais"
12476
12477 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12478
12479         * docs/manual/advanced-position.xml:
12480           Fix typo in sample code.
12481
12482 2006-09-05  Wim Taymans  <wim@fluendo.com>
12483
12484         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12485         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12486         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12487         * libs/gst/net/gstnetclientclock.h:
12488         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12489         * libs/gst/net/gstnettimepacket.h:
12490         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12491         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12492         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12493         * libs/gst/net/gstnettimeprovider.h:
12494         Make stuff compile on windows. Fixes #345295.
12495
12496 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12497
12498         * gst/gst.c: (ensure_current_registry_forking):
12499           Print better details when child was terminated by signal.
12500
12501 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12502
12503         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12504           Print a warning rather than g_assert() if a plugin feature
12505           is a URI handler but returns no protocols (#353976).
12506
12507 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12508
12509         * docs/random/moving-plugins:
12510         Fix two typos.         
12511
12512 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12513
12514         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12515           Fix locking order, handle NULL function values properly.
12516
12517         * gst/gstinfo.h:
12518           Fix docs.
12519
12520         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12521           Initialise variable before using it and fix debug statement to
12522           print the address of the function rather than the address of the
12523           variable on the stack holding the address of the function.
12524
12525 2006-09-01  Wim Taymans  <wim@fluendo.com>
12526
12527         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12528         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12529         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12530         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12531         (gst_ghost_pad_parent_unset),
12532         (gst_ghost_pad_internal_do_activate_push),
12533         (gst_ghost_pad_internal_do_activate_pull),
12534         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12535         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12536         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12537         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12538         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12539         (gst_ghost_pad_new_no_target_from_template),
12540         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12541         More cleanups.
12542         Avoid needless typechecking in macros.
12543         Since the internal pad is always present and never changes, there is
12544         no need to locking or ref when retrieving it.
12545         Improve debugging a bit.
12546         Handle link errors when setting the target. Fixes #341029.
12547
12548 2006-09-01  Wim Taymans  <wim@fluendo.com>
12549
12550         * docs/libs/gstreamer-libs-sections.txt:
12551         * docs/plugins/gstreamer-plugins-sections.txt:
12552         Fix docs some more.
12553
12554         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12555         (gst_collect_pads_event):
12556         * libs/gst/base/gstcollectpads.h:
12557         Documentation updates.
12558         Free queued buffer when removing a pad.
12559
12560 2006-08-31  Michael Smith  <msmith@fluendo.com>
12561
12562         * gst/gstutils.c: (gst_element_link_pads),
12563         (gst_element_link_pads_filtered):
12564           Ensure that we set a capsfilter to NULL if we failed to link it
12565           when doing filtered linking, to avoid criticals.
12566
12567           No need to check for unreffing srcpad, which is explicly NULLed
12568           above (a trivial code cleanup).
12569
12570 2006-08-31  Wim Taymans  <wim@fluendo.com>
12571
12572         * docs/design/part-gstghostpad.txt:
12573         Update ascii art in documentation.
12574
12575         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12576         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12577         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12578         (gst_ghost_pad_internal_do_activate_push),
12579         (gst_ghost_pad_internal_do_activate_pull),
12580         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12581         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12582         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12583         (gst_ghost_pad_set_target):
12584         Small cleanups and leak fixes.
12585         Remove some checks now that the internal pad is never NULL.
12586         Fix the case where linking pads without a target would create nasty
12587         criticals. Fixes #341029.
12588         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12589         value of _set_target().
12590
12591         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12592         (gst_ghost_pad_suite):
12593         Some more tests for creating and linking untargeted ghostpads.
12594
12595 2006-08-31  Edward Hervey  <edward@fluendo.com>
12596
12597         * docs/gst/gstreamer-sections.txt:
12598         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12599         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12600         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12601         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12602         (gst_ghost_pad_new_from_template),
12603         (gst_ghost_pad_new_no_target_from_template):
12604         * gst/gstghostpad.h:
12605         Refactored *_new() functions.
12606         Templates are now used as a g_object_new() parameter.
12607         Use template in _do_getcaps() if we don't have a target.
12608         Small documentation cleanups.
12609         Added two new constructors:
12610         gst_ghost_pad_new_from_template()
12611         gst_ghost_pad_new_no_target_from_template()
12612         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12613         (gst_ghost_pad_suite):
12614         Added tests for new ghostpad instanciation functions.
12615
12616         API additions: gst_ghost_pad_new_from_template,
12617         gst_ghost_pad_new_no_target_from_template
12618
12619 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12620
12621         * docs/random/ensonic/profiling.txt:
12622           Ideas about qos profiling.
12623
12624 2006-08-29  Wim Taymans  <wim@fluendo.com>
12625
12626         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12627         Code cleanups.
12628         Fix memleak.
12629
12630 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12631
12632         * gst/gstxml.c:
12633           Improve and detypofy docs.
12634
12635         * tests/check/Makefile.am:
12636         * tests/check/gst/.cvsignore:
12637         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12638           Add a basic test suite for GstXML.
12639
12640 2006-08-29  Wim Taymans  <wim@fluendo.com>
12641
12642         * gst/gstelement.c: (activate_pads), (clear_caps),
12643         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12644         Clear the pad caps when the element shut down all of the pads and
12645         is not streaming data that could modify the caps. 
12646         Fixes #352958.
12647
12648 2006-08-28  Michael Smith  <msmith@fluendo.com>
12649
12650         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12651           Revert previous change; I misunderstood single-segment mode.
12652
12653 2006-08-28  Michael Smith  <msmith@fluendo.com>
12654
12655         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12656           Unset DISCONT on buffers when using single-segment mode.
12657
12658 2006-08-28  Wim Taymans  <wim@fluendo.com>
12659
12660         * gst/gstcaps.c: (gst_caps_merge_structure):
12661         * gst/gstcaps.h:
12662         Fix docs and indentation again.
12663
12664         * tests/check/gst/gstquery.c: (GST_START_TEST):
12665         Fix leak in tests and add some more tests.
12666
12667 2006-08-28  Edward Hervey  <edward@fluendo.com>
12668
12669         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12670         Inform GstSegment of the last stop position in order for the current
12671         segment to have a proper duration if it doesn't have a specific stop
12672         position from which a duration could be calculated.
12673         This bug was noticeable when a non-flushing, non-update new segment was
12674         followed by another segment (all buffers from the new segment were being
12675         dropped).
12676
12677 2006-08-28  Wim Taymans  <wim@fluendo.com>
12678
12679         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12680         Small comment update.
12681
12682         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12683         (gst_identity_transform_ip):
12684         Drop-probability is broken, mention this in the code with a 
12685         FIXME and also in the property description.
12686         Make silent also be silent about the drop messages.
12687
12688 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12689
12690         * docs/manual/appendix-win32.xml:
12691           Remove mention of popt, we don't depend on that any
12692           longer (#353136). Add some comments pointing out that
12693           this section is slightly outdated.
12694
12695 2006-08-28  Wim Taymans  <wim@fluendo.com>
12696
12697         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12698
12699         * gst/gstquery.c: (gst_query_new_segment):
12700         * tests/check/gst/gstquery.c: (GST_START_TEST):
12701         Initialize variables when creating a new segment query.
12702         Fixes #353121.
12703
12704 2006-08-28  Wim Taymans  <wim@fluendo.com>
12705
12706         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12707
12708         * gst/gstelement.c: (gst_element_get_bus):
12709         * tests/check/gst/gstelement.c: (GST_START_TEST):
12710         Check for NULL before _reffing the bus. Fixes #353122.
12711
12712 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12713
12714         * docs/manual/basics-bus.xml:
12715           Docs update: fix wrong callback return value explanation; add
12716           some lines about the implicit relationship between main loop
12717           and main context; remove duplicate main loop variable declaration.
12718
12719 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12720
12721         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12722           Don't leak caps in unit test; add a few more simple
12723           checks. 
12724
12725 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12726
12727         * docs/gst/gstreamer-sections.txt:
12728         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12729         (gst_caps_structure_is_subset), (gst_caps_merge),
12730         (gst_caps_merge_structure):
12731         * gst/gstcaps.h:
12732         * libs/gst/base/gstbasetransform.c:
12733         (gst_base_transform_transform_caps):
12734         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12735           implement caps merging (fixes #352580)
12736
12737 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12738
12739         * tools/Makefile.am:
12740         * tools/gst-plot-timeline.py:
12741           add debug-log plotting developer tool (#340674)
12742
12743 2006-08-23  Wim Taymans  <wim@fluendo.com>
12744
12745         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12746         (gst_pad_stop_task):
12747         Improve debugging for task functions.
12748
12749         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12750         (gst_task_start), (gst_task_pause), (gst_task_join):
12751         Make sure that the task function started and finished after a 
12752         join(). 
12753         Don't try to push the task function on the threadpool multiple
12754         times.
12755         Improve the g_warning message with some useful suggestions
12756         about how to fix the problem. 
12757
12758 2006-08-23  Wim Taymans  <wim@fluendo.com>
12759
12760         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12761         Handle RESYNC correctly in _proxy_getcaps.
12762
12763 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12764
12765         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12766         (gst_xml_parse_memory), (gst_xml_get_element):
12767           Chain up to parent class in dispose function and also
12768           unref the elements in the toplevel_elements GList.
12769           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12770           Always return a reference in gst_xml_get_element() rather
12771           than only sometimes.
12772
12773         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12774           Don't leak GstXml object.
12775
12776 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12777
12778         * docs/gst/gstreamer-sections.txt:
12779         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12780         (gst_caps_merge):
12781         * gst/gstcaps.h:
12782         * libs/gst/base/gstbasetransform.c:
12783         (gst_base_transform_transform_caps):
12784           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12785           in a better way
12786
12787 2006-08-21  Edward Hervey  <edward@fluendo.com>
12788
12789         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12790         Implement GObject::dispose virtual method in GstXML so we can free the
12791         top_elements GList.
12792
12793 2006-08-21  Wim Taymans  <wim@fluendo.com>
12794
12795         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12796         (gst_buffer_create_sub):
12797         Copy duration/offset_end/caps when creating a subbuffer of the
12798         complete parent.
12799         Make the subbuffer read-only when we make the metadata writable for
12800         now. Fixes #351768.
12801
12802         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12803         Added check for metadata copy when creating subbuffers.
12804
12805 2006-08-21  Edward Hervey  <edward@fluendo.com>
12806
12807         * libs/gst/base/gstbasetransform.c:
12808         (gst_base_transform_buffer_alloc):
12809         Only call downstream buffer_alloc if transform element is passthrough
12810         or always_in_place. Closes #350449.
12811
12812 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12813
12814         * ChangeLog:
12815           ChangeLog surgery to add comments to previous changes
12816
12817 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12818
12819         * gst/gst.c:
12820           Add comments
12821
12822         * gst/gstpad.c: (gst_pad_set_active):
12823           Be more verbose in the log
12824
12825         * libs/gst/base/gstbasetransform.c:
12826         (gst_base_transform_transform_caps):
12827           Simplify caps to get rid of duplicates, fixes #345444
12828
12829 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12830
12831         * gst/gstvalue.c:
12832         * gst/gstvalue.h:
12833           Use these optimizations only internally.
12834
12835 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12836
12837         * gst/gstvalue.c: (gst_value_compare_list),
12838         (gst_value_compare_fraction_range),
12839         (gst_value_intersect_fraction_fraction_range),
12840         (gst_value_intersect_fraction_range_fraction_range),
12841         (gst_value_subtract_fraction_fraction_range),
12842         (gst_value_subtract_fraction_range_fraction_range),
12843         (gst_value_get_compare_func), (gst_value_compare),
12844         (gst_value_compare_with_func):
12845         * gst/gstvalue.h:
12846           Saves the expensive lookup of the compare function in many cases
12847          (#345444)
12848
12849 2006-08-18  Edward Hervey  <edward@fluendo.com>
12850
12851         * tests/check/gst/gstinfo.c: (gst_info_suite):
12852         Disable test that require gstdebug if it wasn't built in core.
12853
12854 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12855
12856         * docs/random/ensonic/logging.txt:
12857           update ideas
12858           
12859         * gst/gstinfo.c: (gst_debug_log_default):
12860           reorder fields, save some columns, add optional color codes for log
12861           levels
12862
12863 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12864
12865         * docs/random/ensonic/logging.txt:
12866           add ideas about making the logs a bit more useful
12867
12868 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12869
12870         * docs/pwg/advanced-events.xml:
12871         * docs/pwg/titlepage.xml:
12872           Update for 0.10 API (#340627). Add myself
12873           to authors list.
12874
12875 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12876
12877         * docs/libs/gstreamer-libs-docs.sgml:
12878         * docs/libs/gstreamer-libs-sections.txt:
12879         * libs/gst/check/gstbufferstraw.c:
12880           Make gstcheck stuff show up in docs (still needs to
12881           be documented properly though).
12882
12883 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12884
12885         * docs/gst/gstreamer-sections.txt:
12886         * gst/Makefile.am:
12887         * gst/gst.c: (init_post):
12888         * gst/gst_private.h:
12889         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12890         * gst/gstquark.h:
12891         * gst/gstquery.c: (gst_query_new_position),
12892         (gst_query_set_position), (gst_query_parse_position),
12893         (gst_query_new_duration), (gst_query_set_duration),
12894         (gst_query_parse_duration), (gst_query_new_convert),
12895         (gst_query_set_convert), (gst_query_parse_convert),
12896         (gst_query_new_segment), (gst_query_set_segment),
12897         (gst_query_parse_segment), (gst_query_new_seeking),
12898         (gst_query_set_seeking), (gst_query_parse_seeking):
12899         Add internal helpers for pre-registering quarks from static strings
12900         and using the quark values directly instead of looking them up when
12901         creating and parsing queries. Can be used for event construction too.
12902         Closes #350432.
12903
12904 2006-08-16  Wim Taymans  <wim@fluendo.com>
12905
12906         * gst/gstbin.c:
12907         Fix bogus docs.
12908
12909 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12910
12911         * gst/gstutils.c: (gst_util_set_value_from_string):
12912           Fix memleak (#351502).
12913
12914         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12915           Add unit test for most of gst_util_set_value_from_string()
12916           (not that one would want to encourage use of this function).
12917
12918 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12919
12920         * libs/gst/check/gstcheck.h:
12921           Use const gchar * variables in fail_unless_equals_string
12922           macro to avoid compiler warnings (and don't use tabs for
12923           indenting).
12924
12925 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12926
12927         * tools/gst-launch.c: (print_tag):
12928           More space on the left for the tag names, to cater
12929           for the 'extended comment' tag (not touching the
12930           string for the first line since it's translated).
12931
12932 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12933
12934         * libs/gst/check/gstcheck.h:
12935           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12936           print something when they fail.
12937
12938 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12939
12940         * docs/gst/gstreamer-sections.txt:
12941         * gst/gsttaglist.c: (_gst_tag_initialize):
12942         * gst/gsttaglist.h:
12943           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12944           Also change merge function for GST_TAG_COMMENT to
12945           use_first.
12946
12947 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12948
12949         * gst/gstinfo.c: (gst_debug_print_object):
12950           Make GST_PTR_FORMAT print messages as well.
12951
12952         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12953         (GST_START_TEST), (gst_info_suite):
12954           More tests.
12955
12956 2006-08-14  Edward Hervey  <edward@fluendo.com>
12957
12958         * gst/gstelementfactory.c: (gst_element_register):
12959         If the GstElementClass doesn't have a GstElementDetails with all fields
12960         filled up correctly (longname, description AND author), then error out
12961         nicely instead of crashing.
12962
12963 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12964
12965         * gst/gststructure.c:
12966           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12967
12968         * gst/gstvalue.h:
12969           Expand on the difference between arrays and lists as we use them.
12970           
12971 2006-08-14  Wim Taymans  <wim@fluendo.com>
12972
12973         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12974         If the parent state change function failed, don't assume we can safely
12975         stop the source, this will be done when the pads are deactivated.
12976
12977 2006-08-14  Wim Taymans  <wim@fluendo.com>
12978
12979         * gst/gstbuffer.c:
12980         * gst/gsttask.c: (gst_task_join):
12981         Small doc updates.
12982
12983         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12984         (gst_pad_stop_task):
12985         When pad (de)activation failed for some reason, restore the old
12986         activation mode and set the pad to flushing instead of assuming the
12987         pad is deactivated.
12988         If the _task_join() failed, reinstall the task on the pad so that it can
12989         be stopped later and return an error.
12990
12991 2006-08-11  Andy Wingo  <wingo@pobox.com>
12992
12993         * configure.ac:
12994         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12995         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12996         is only for users of API that don't want to see deprecated
12997         functions in the headers; people that want to compile out
12998         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12999         CFLAGS. Fixes the build of multifdsink, or will soon..
13000
13001 2006-08-11  Wim Taymans  <wim@fluendo.com>
13002
13003         * docs/gst/gstreamer-sections.txt:
13004         Add GstClockClass vmethod docs.
13005
13006         * gst/gstcaps.h:
13007         Mark #endif with comment for associated #if
13008
13009         * gst/gstclock.c: (gst_clock_id_wait):
13010         * gst/gstclock.h:
13011         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13012         most clock implementations.
13013         Document vmethods.
13014         Flesh out docs about resolution methods.
13015         API: GstClockClass::wait_jitter
13016
13017         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13018         (gst_system_clock_async_thread),
13019         (gst_system_clock_id_wait_jitter_unlocked),
13020         (gst_system_clock_id_wait_jitter):
13021         Use base class wait_jitter variant for improved performance
13022         due to less clock polling.
13023
13024 2006-08-11  Edward Hervey  <edward@fluendo.com>
13025
13026         * gst/gst.c: (gst_init_check), (init_post):
13027         Set gst as being initialized before scanning/updating the registry,
13028         since there might be my python plugin loader that calls gst_init() and
13029         we don't want to loop back in.
13030         Closes #350879
13031
13032 2006-08-11  Wim Taymans  <wim@fluendo.com>
13033
13034         * docs/design/part-qos.txt:
13035         Bring docs in line with the code. Mostly the sign of the jitter was
13036         wrong in the docs. Fixes #349943.
13037
13038         * gst/gstclock.c:
13039         Fix the docs for the jitter.
13040
13041         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13042         (gst_event_parse_tag), (gst_event_new_buffer_size),
13043         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13044         (gst_event_new_seek), (gst_event_parse_seek),
13045         (gst_event_new_navigation):
13046         Make sure the GstStructure has no parent when creating custom
13047         events.
13048         Add some more argument checking so that we avoid 0.0 rates.
13049         Flesh out the docs for the QoS event some more.
13050
13051 2006-08-11  Wim Taymans  <wim@fluendo.com>
13052
13053         * docs/gst/gstreamer-sections.txt:
13054         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13055         (ensure_current_registry_forking), (ensure_current_registry),
13056         (parse_one_option), (parse_goption_arg), (gst_deinit),
13057         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13058         * gst/gst.h:
13059         Doc updates.
13060         Added API and command line option to disable registry forking in
13061         addition to the environment variable.
13062         Constify some static arrays.
13063         Added some more debug.
13064         Don't deinit twice.
13065         API: gst_registry_fork_is_enabled()
13066         API: gst_registry_fork_set_enabled()
13067         API: --gst-disable-registry-fork command line option
13068         Fixes #348918.
13069
13070 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13071
13072         * gst/gst.c: (gst_init):
13073           Fix typo in error message.
13074
13075 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13076
13077         * libs/gst/controller/gstcontroller.h:
13078           fix ABI size-correction
13079
13080         * tests/check/libs/gdp.c: (gst_dp_suite):
13081           make tests that use deprecated API conditional
13082
13083 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13084
13085         * docs/libs/gstreamer-libs-sections.txt:
13086         * libs/gst/controller/gstcontroller.c:
13087         (_gst_controller_get_property), (_gst_controller_set_property),
13088         (_gst_controller_init), (_gst_controller_class_init):
13089         * libs/gst/controller/gstcontroller.h:
13090         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13091         (gst_object_set_control_rate):
13092           API: add gst_object_{s,g}et_control_rate(), add private data section,
13093           fix docs
13094
13095         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13096         * libs/gst/dataprotocol/dataprotocol.h:
13097           add deprecation guards to make gtk-doc happy and allow disabling cruft
13098
13099 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13100
13101         * tests/check/Makefile.am:
13102         * tests/check/gst/.cvsignore:
13103           Let's enable the new unit test as well.
13104
13105 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13106
13107         * configure.ac:
13108         * docs/gst/gstreamer-sections.txt:
13109         * gst/gstconfig.h.in:
13110         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13111         (_gst_info_printf_extension_ptr),
13112         (_gst_info_printf_extension_segment):
13113           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13114           register that lets us easily dump GstSegments into debug
13115           logs (#350419).
13116
13117         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13118         (info_segment_format_printf_extension), (gst_info_suite):
13119           Add simple unit test that logs a bunch of different segments (not
13120           valgrinded at the moment because of leaks in
13121           gst_debug_add_log_function).
13122
13123 2006-08-09  Edward Hervey  <edward@fluendo.com>
13124
13125         * libs/gst/base/gstbasetransform.c:
13126         (gst_base_transform_buffer_alloc):
13127         Even if we can't figure out the proper format to request downstream,
13128         call buffer_alloc() downstream with the input parameters without setting
13129         the caps on the srcpad. This will force negotiation in the chain
13130         function.
13131         Closes #350449
13132
13133 2006-08-08  Edward Hervey  <edward@fluendo.com>
13134
13135         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13136         Unlinking from a pad without a target is now a perfectly valid case
13137         which should NOT raise an assertion.
13138         This case would happen if a linked ghostpad its target set to NULL after
13139         it was previously linked.
13140
13141 2006-08-08  Edward Hervey  <edward@fluendo.com>
13142
13143         * tests/check/libs/gdp.c:
13144         Also comment out the test (see below).
13145
13146 2006-08-08  Edward Hervey  <edward@fluendo.com>
13147
13148         * tests/check/libs/gdp.c: (gst_dp_suite):
13149         Use the architecture information from config.h and not gcc macros
13150         in order to properly disable a test that fails on PPC64.
13151
13152 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13153
13154         * gst/gstelement.c: (gst_element_remove_pad):
13155           Don't crash printing the warning if the pad has no parent.
13156
13157 2006-08-02  Wim Taymans  <wim@fluendo.com>
13158
13159         * libs/gst/dataprotocol/dataprotocol.c:
13160         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13161         (gst_dp_crc), (gst_dp_header_payload_length),
13162         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13163         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13164         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13165         (gst_dp_event_from_packet), (gst_dp_validate_header),
13166         (gst_dp_validate_payload):
13167         Make debug category static
13168         Constify the crc table.
13169         Do some more arg checking in public functions.
13170         Fix some docs and do some small cleanups.
13171
13172         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13173         Add some more checks to see if GDP deals with bogus input.
13174
13175 2006-07-31  Wim Taymans  <wim@fluendo.com>
13176
13177         * gst/gstvalue.c: (gst_value_compare_list):
13178         Fix GstValueList comparison code. Fixes #347293.
13179
13180         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13181         Check to test GstValueList comparison.
13182
13183 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13184
13185         * gst/gstelementfactory.c: (gst_element_factory_create):
13186         Remove unnecessary ref/unref pair
13187
13188         * gst/parse/grammar.y:
13189         Make sure to free the parse buffer on all code paths.
13190         Move a g_free up to the error handler where it's easier to see.
13191
13192         * tests/check/gst/gstevent.c: (test_event):
13193         Extending timeout for downstream travelling events to 10 seconds to
13194         hopefully avoid intermittent failure on the buildbots.
13195
13196         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13197         Don't manually set the state of the src element - it will happen as a
13198         natural consequence of the pipeline changing state, and that way it
13199         will do it in the right order too.
13200
13201 2006-07-31  Wim Taymans  <wim@fluendo.com>
13202
13203         * libs/gst/base/gstbasetransform.c:
13204         (gst_base_transform_buffer_alloc):
13205         Use OBJECT_LOCK and refcounting to get the pad caps in the
13206         buffer_alloc function because the caps could change while we are
13207         busy with them. Fixes #349105
13208
13209 2006-07-31  Wim Taymans  <wim@fluendo.com>
13210
13211         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13212         Protect _PAD_CAPS with OBJECT_LOCK.
13213
13214 2006-07-31  Wim Taymans  <wim@fluendo.com>
13215
13216         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13217         (gst_pad_get_property), (gst_pad_activate_pull),
13218         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13219         (gst_pad_set_activate_function),
13220         (gst_pad_set_activatepull_function),
13221         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13222         (gst_pad_set_getrange_function),
13223         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13224         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13225         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13226         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13227         (gst_pad_set_acceptcaps_function),
13228         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13229         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13230         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13231         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13232         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13233         (gst_pad_configure_sink), (gst_pad_configure_src),
13234         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13235         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13236         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13237         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13238         (gst_pad_send_event):
13239         Use _DEBUG_OBJECT when it makes sense.
13240         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13241         Small cleanups and code reflows.
13242         Avoid caps refcounting in _accept_caps.
13243         Refactor alloc_buffer so that the code performed on the peer is in a
13244         separate function. Also if the pad does not implement a buffer alloc
13245         function, we should still check if the pad is flushing before falling
13246         back to the default allocator.
13247
13248 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13249
13250         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13251         Make all uses of identity and fakesink have silent=true to avoid
13252         serialising every passing data structure, which is breaking tests
13253         on FC4 for some unknown reason.
13254
13255 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13256
13257         * gst/parse/Makefile.am:
13258         * gst/parse/grammar.y:
13259         * gst/parse/parse.l:
13260           Reverted previous patch as it required to bump the flex dependency to
13261           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13262
13263 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13264
13265         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13266
13267         * gst/parse/Makefile.am:
13268         * gst/parse/grammar.y:
13269         * gst/parse/parse.l:
13270           push & pop the state of the lexer for reentrant use case
13271           Fixes #349180
13272
13273 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13274
13275         * libs/gst/base/gstbasesrc.h:
13276           Note in the docs that the ::newsegment vfunc is not actually used by
13277           GstBaseSrc.
13278
13279 2006-07-28  Wim Taymans  <wim@fluendo.com>
13280
13281         * libs/gst/base/gstcollectpads.c:
13282         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13283         (gst_collect_pads_clear), (gst_collect_pads_flush),
13284         (gst_collect_pads_event), (gst_collect_pads_chain):
13285         When flushing a pad, also clear the queued buffer so that we don't
13286         accidentally use it when we shouldn't.
13287         Fix leaks by inreffing incomming buffer.
13288         Flush out queued buffers in case of errors.
13289         Fixes #347452.
13290
13291 2006-07-28  Wim Taymans  <wim@fluendo.com>
13292
13293         * docs/random/phonon-gst:
13294         Random notes about a Phonon backend.
13295
13296 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13297
13298         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13299         Extra debug output
13300         * tests/check/libs/gdp.c: (gst_dp_suite):
13301         Take a whack at fixing the ppc compile using a different define to
13302         disable the broken test.
13303
13304         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13305         Remove excess g_print()
13306
13307 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13308
13309         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13310         Oops, meant to uncomment this line too to dampen the noise a bit.
13311
13312 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13313
13314         * gst/parse/grammar.y:
13315         * gst/parse/parse.l:
13316         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13317         (GST_START_TEST), (parse_suite):
13318         Fix some of the leaks exposed by extending the parse-launch testsuite,
13319         and move the 3 I can't figure out into a separate test that won't run
13320         the pipelines unless the appropriate line is uncommented.
13321
13322 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13323
13324         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13325           Requesting 0 bytes before the end of the file should result in
13326           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13327           unit test.
13328
13329 2006-07-27  Wim Taymans  <wim@fluendo.com>
13330
13331         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13332         Fix useless assert, a uint is always positive.
13333
13334         * gst/gststructure.c: (gst_structure_nth_field_name),
13335         (gst_structure_foreach), (gst_structure_map_in_place):
13336         Check input arguments for public functions to avoid obvious crashes.
13337
13338         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13339         * plugins/elements/gstfakesink.h:
13340         Do less useless typechecking.
13341
13342 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13343
13344         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13345           Do not use mmap() by default since there are a number of error
13346           conditions that we would like to handle in a non-fatal way that
13347           will result in a SIGBUS if we use mmap(). Examples: external
13348           devices (USB harddrive, portable music player) being unplugged
13349           while in use; file on mounted CD/DVD that can't be read because
13350           the medium is partly damaged. Fixes #348455 and #348475.
13351
13352 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13353
13354         * gst/gstquery.h:
13355         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13356         rates are a gdouble
13357
13358 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13359
13360         * gst/gstregistry.c:
13361           Move big documentation comment into class section header, so that it
13362           appears in the API docs.
13363
13364 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13365
13366         * docs/gst/gstreamer-sections.txt:
13367         Oops. Commit the docs additions too for new API.
13368         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13369
13370 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13371
13372         * gst/gststructure.c: (gst_structure_id_set),
13373         (gst_structure_id_set_valist):
13374         * gst/gststructure.h:
13375         Add API for setting values into structures without performing
13376         a quark lookup, if the appropriate quark is already known.
13377
13378         API: gst_structure_id_set
13379         API: gst_structure_id_set_valist
13380
13381         * gst/parse/grammar.y:
13382         * gst/parse/parse.l:
13383         Remove some dead code shown by the coverage information.
13384         Don't throw a critical g_warning when encountering a syntax error,
13385         just warn and let the normal error path handle it.
13386
13387         * plugins/elements/gstelements.c:
13388         Bump the rank of filesink up to PRIMARY so that it is preferred over
13389         gnomevfssink for file:// sink uri's
13390
13391         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13392         (GST_START_TEST), (run_delayed_test),
13393         (gst_parse_test_element_base_init),
13394         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13395         (gst_parse_test_element_change_state),
13396         (gst_register_parse_element), (parse_suite):
13397         Beef up the tests for parse syntax to check that more error cases
13398         fail as they are supposed to. Increases the test coverage a bit.
13399
13400 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13401
13402         * docs/manual/basics-elements.xml:
13403           Fix gst_element_link() example.
13404
13405         * gst/gstutils.c:
13406           Mention in API docs that one should usually gst_bin_add()
13407           elements to a bin or pipeline before doing the linking.
13408           
13409 2006-07-26  Wim Taymans  <wim@fluendo.com>
13410
13411         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13412         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13413         Avoid function call for known types by keeping the buffer and
13414         subbuffer GType global.
13415
13416         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13417         Random silly optimisations in read() path.
13418
13419 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13420
13421         * tools/gst-launch.c: (main):
13422           If the top-level of the parse is a normal bin, it doesn't do the
13423           right logic to run as a top-level element, so place it inside a
13424           pipeline.
13425
13426 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13427
13428         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13429           Remove superfluous g_object_notify() calls, GObject does
13430           that for us automatically.
13431
13432 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13433
13434         * gst/gstinfo.h:
13435           on Win32, use dllspec to export the debug category symbols
13436
13437 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13438
13439         * gst/gsttaglist.c: (_gst_tag_initialize):
13440           Allow more than one GST_TAG_IMAGE per taglist.
13441
13442 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13443
13444         * gst/gstminiobject.c:
13445           update docs
13446         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13447         (gst_fd_src_create):
13448           log recurring events at LOG level
13449           add more debug for when the fd gets set
13450
13451 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13452
13453         * gst/gstparse.c: (gst_parse_launch):
13454           Also remove reentrance checks if flex is MT safe (#348179)
13455          Fix my empty ChangeLog entry below
13456
13457 2006-07-21  Andy Wingo  <wingo@pobox.com>
13458
13459         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13460
13461         * libs/gst/check/Makefile.am
13462         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13463         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13464         * libs/gst/check/gstbufferstraw.h:
13465         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13466         functions, thus proving I am still a GStreamer haxor. OK I wrote
13467         them a long time ago, but anyways.
13468
13469 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13470
13471         * configure.ac:
13472         * gst/gstparse.c: (gst_parse_launch):
13473           Check for flex version and omit mutex if we have a MT save flex
13474           (fixes #348179)
13475
13476 2006-07-21  Wim Taymans  <wim@fluendo.com>
13477
13478         * gst/gstparse.c: (gst_parse_launch):
13479         Protect recursive calls to _parse with a recursive mutex
13480         and busy flag.
13481
13482 2006-07-21  Wim Taymans  <wim@fluendo.com>
13483
13484         * tests/check/gst/gstpad.c: (GST_START_TEST):
13485         Fix leak in test.
13486
13487 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13488
13489         * gst/gstparse.c: (gst_parse_launch):
13490           Do not hang on recursive usage of gst_parse_launch()
13491
13492 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13493
13494         * gst/gsttaglist.c:
13495           Add some more docs, comments and FIXME 0.11s here and there
13496           and also fix some typos.
13497
13498 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13499
13500         * gst/gstsegment.h:
13501           Convert tabs to spaces for better readability. 
13502
13503 2006-07-20  Edward Hervey  <edward@fluendo.com>
13504
13505         * tests/check/libs/gdp.c: (gst_dp_suite):
13506         the test_buffer test fails at line 140 on ppc64 at the following
13507         check:
13508         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13509                 GST_BUFFER_FLAG_IN_CAPS),
13510                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13511         See bug #348114 for more details.
13512
13513 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13514
13515         * docs/pwg/advanced-scheduling.xml:
13516         * gst/gstpad.c:
13517           Fix typos (#348000).
13518
13519 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13520
13521         * docs/pwg/intro-basics.xml:
13522           Fix wrong links (#347927).
13523
13524 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13525
13526         * gst/gstregistry.h:
13527         * gst/gstregistryxml.c: (load_feature),
13528         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13529         * win32/common/config.h:
13530           make --disable-index work (#342564)
13531
13532 2006-07-18  Wim Taymans  <wim@fluendo.com>
13533
13534         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13535
13536         * gst/Makefile.am:
13537         * gst/gsttrace.h:
13538         The attached patch adds two missing defines to gsttrace.h when tracing
13539         is disabled.  It also corrects one existing define.
13540         Fixes #347756.
13541
13542 2006-07-17  Wim Taymans  <wim@fluendo.com>
13543
13544         * docs/gst/gstreamer-sections.txt:
13545         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13546         * gst/gst.h:
13547         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13548         Add two functions to check and change the SIGSEGV behaviour
13549         when loading plugins.
13550         Don't mess with the SIGSEGV handler when we were told not to.
13551         Fixes #347794.
13552         API: gst_segtrap_is_enabled
13553         API: gst_segtrap_set_enabled
13554
13555 2006-07-14  Wim Taymans  <wim@fluendo.com>
13556
13557         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13558         * tests/check/elements/filesrc.c: (GST_START_TEST):
13559         Revert fix for regression in #347408 after release.
13560
13561 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13562
13563         Patch by: Antoine Tremblay <hexa00 at gmail com>
13564
13565         * gst/gstutils.c: (gst_element_unlink):
13566           Free iterator when done (#347311).
13567
13568         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13569           And add a test case for this.
13570
13571 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13572
13573         * configure.ac:
13574         Bump nano back to CVS
13575
13576 === release 0.10.9 ===
13577
13578 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13579
13580         * configure.ac:
13581           releasing 0.10.9, "On the road again"
13582
13583 2006-07-13  Wim Taymans  <wim@fluendo.com>
13584
13585         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13586         * tests/check/elements/filesrc.c: (GST_START_TEST):
13587         Revert pull-0 fix for release. Disable check. Fixes #347408.
13588
13589 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13590
13591         * libs/gst/dataprotocol/dataprotocol.c:
13592         (gst_dp_event_from_packet_1_0):
13593           Fixes #347337: failure to deserialize event packets with
13594           empty payload (only event type)
13595
13596 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13597
13598         * gst/Makefile.am:
13599           do not install a .c file in the header directory
13600
13601 2006-07-13  Edward Hervey  <edward@fluendo.com>
13602
13603         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13604         GhostPad no longer implicitely use the padtemplates of the targets.
13605         Fixes #347384
13606
13607 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13608
13609         * gst/gstvalue.c: (gst_value_compare_list),
13610         (gst_value_compare_array), (_gst_value_initialize):
13611         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13612         Make GstValueArray comparison be order dependent as designed.
13613         Add checks for value lists and value array comparisons.
13614         Fixes #347221
13615
13616 2006-07-11  Edward Hervey  <edward@fluendo.com>
13617
13618         * gst/gstbin.c: (activate_pads),
13619         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13620         (gst_bin_change_state_func):
13621         (de)activate src pads before calling state_change on the childs.
13622         This is to avoid the case where a src ghostpad is blocked (holding the
13623         stream lock), which would block the deactivation of the ghostpad's
13624         target pad.
13625         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13626         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13627         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13628         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13629         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13630         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13631         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13632         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13633         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13634         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13635         (gst_ghost_pad_class_init),
13636         (gst_ghost_pad_internal_do_activate_push),
13637         (gst_ghost_pad_internal_do_activate_pull),
13638         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13639         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13640         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13641         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13642         GhostPads now create their internal GstProxyPad at creation (and not
13643         when they're linked, as it was being done previously).
13644         The internal and target pads are linked straight away.
13645         The data will also travel through the other pad in order to make
13646         pad blocking and probes non-hackish (the probe/block now really happens
13647         on the GhostPad and not on the target).
13648         * gst/gstpad.c: (gst_pad_set_blocked_async),
13649         (gst_pad_link_prepare), (gst_pad_push_event):
13650         Remove previous ghostpad cruft.
13651         * gst/gstutils.c: (gst_pad_add_data_probe),
13652         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13653         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13654         (gst_pad_remove_buffer_probe):
13655         Remove previous ghost pad cruft.
13656         Added more detailed debug statements.
13657         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13658         Fix the testsuite for refcounting changes.
13659         The comments about who has references were correct, but the refcount
13660         being checked wasn't the same (!?!).
13661
13662         Fixes #341029
13663
13664 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13665
13666         * docs/gst/gstreamer-sections.txt:
13667         * gst/gstconfig.h.in:
13668         More docs for configuration options, add docs to gtk-doc.
13669
13670 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13671
13672         * gst/Makefile.am:
13673         * gst/gstconfig.h.in:
13674         * win32/common/config.h:
13675         Fix build when disabling tracing (fixes #344016). Also start to document
13676         the defines that disable the sub-systems.
13677
13678 2006-07-10  Edward Hervey  <edward@fluendo.com>
13679
13680         * gst/gst.c: (ensure_current_registry_forking):
13681         let's make valgrind happy...
13682
13683 2006-07-09  Wim Taymans  <wim@fluendo.com>
13684
13685         * gst/gstelement.c: (activate_pads),
13686         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13687         Better pad activation code: Reset the collect value too on resync.
13688         Add some comments.
13689
13690 2006-07-09  Wim Taymans  <wim@fluendo.com>
13691
13692         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13693         (gst_pad_activate_push):
13694         Use some more macros where it makes sense.
13695         Allow pad mode switching instead of asserting. When a pad
13696         is activated in one mode and we activate it in another, 
13697         deactivate it first before activating it in a different mode.
13698         Fixes #329198.
13699
13700 2006-07-08  Andy Wingo  <wingo@pobox.com>
13701
13702         * tools/gst-launch.c (main): Handle err == NULL.
13703
13704         * gst/gst.c (init_post, ensure_current_registry)
13705         (ensure_current_registry_forking)
13706         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13707         factoring out the registry scanning into separate functions. Don't
13708         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13709         Better environment var name/interface suggestions accepted.
13710
13711 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13712
13713         * gst/gstobject.c: (gst_object_set_name_default),
13714         (gst_object_set_name):
13715           Random micro-optimisation: don't use a hash table
13716           with strings as keys and the usual strdup/strcmp
13717           involved, but rather just use the GQuark of the
13718           type name as key, since it needs to be looked up
13719           anyway to get the type name string.
13720
13721         * tests/check/gst/gstobject.c: (GST_START_TEST):
13722           Fix various leaks.
13723
13724 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13725
13726         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13727         (gst_bin_iterate_all_by_interface):
13728           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13729           GTypes are gulongs and thus the top 4 bytes might be cut
13730           off on some platforms when doing GPOINTER_TO_INT, leading
13731           to invalid GTypes and bad things happening (see RH bug #179654).
13732           Also add a check to make sure the type passed in is really
13733           an interface type.
13734
13735 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13736
13737         * .cvsignore:
13738           Ignore more.
13739
13740 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13741
13742         * Makefile.am:
13743         * configure.ac:
13744         * gst-element-check.m4:
13745         * gst-element-check.m4.in:
13746           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13747           instead of the unversioned gst-inspect (#324176, #168659).
13748
13749 2006-07-06  Wim Taymans  <wim@fluendo.com>
13750
13751         * gst/gstmessage.h:
13752         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13753         warnings.
13754
13755 2006-07-06  Wim Taymans  <wim@fluendo.com>
13756
13757         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13758         (gst_base_src_wait), (gst_base_src_update_length),
13759         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13760         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13761         (gst_base_src_loop), (gst_base_src_start),
13762         (gst_base_src_activate_pull):
13763         Update docs.
13764         blocksize == 0 now means the default blocksize when working in push
13765         based mode.
13766         Remove some pointless asserts in _wait function.
13767         Fix offset/length calculations and EOS handling. We can now pull 0
13768         bytes as well, which is allowed.
13769         use _check_get_range() to decide if we can operate in _pull based
13770         mode.
13771         Fix refcounting leak when check_get_range function was not 
13772         implemented.
13773         API GstBaseSrc::blocksize range can be 0 too now (default)
13774
13775         * tests/check/elements/filesrc.c: (GST_START_TEST),
13776         (filesrc_suite):
13777         Added check to test _get_range() behaviour.
13778
13779 2006-07-06  Wim Taymans  <wim@fluendo.com>
13780
13781         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13782         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13783         (gst_pad_pull_range):
13784         * gst/gstpad.h:
13785         Lots of comments and docs added to the pad functions.
13786         Flesh out the expected behaviour of the get_range() functions.
13787
13788 2006-07-06  Wim Taymans  <wim@fluendo.com>
13789
13790         * gst/gstbus.h:
13791         * gst/gstclock.h:
13792         * gst/gstevent.h:
13793         * gst/gstiterator.h:
13794         * gst/gstpad.h:
13795         * gst/gstplugin.h:
13796         * gst/gsttask.h:
13797         Remove comma at end of enumerator list. 
13798
13799 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13800
13801         * win32/common/libgstbase.def:
13802         * win32/common/libgstdataprotocol.def:
13803         * win32/common/libsgtreamer.def:
13804         Add new exported functions.
13805
13806 2006-07-05  Wim Taymans  <wim@fluendo.com>
13807
13808         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13809         Add some more docs here and there.
13810
13811 2006-07-05  Wim Taymans  <wim@fluendo.com>
13812
13813         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13814         (gst_base_sink_loop), (gst_base_sink_get_position):
13815         When operating in pull mode update the offset so that we
13816         read sequentially.
13817
13818 2006-07-05  Wim Taymans  <wim@fluendo.com>
13819
13820         * gst/gstregistryxml.c: (read_string):
13821         Avoid strdup. (will happen in libxml, but hey!)
13822
13823         * gst/gsturi.c:
13824         Add some more docs.
13825
13826 2006-07-05  Wim Taymans  <wim@fluendo.com>
13827
13828         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13829         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13830         (gst_buffer_suite):
13831         No point in checking if the size of the subbuffer > 0, the
13832         code handles it correclty as demonstrated by unit test.
13833         Also add a unit test for the zero sized _new_and_alloc and
13834         _copy. Fixes #346663.
13835
13836 2006-07-05  Wim Taymans  <wim@fluendo.com>
13837
13838         * libs/gst/base/gstbasetransform.c:
13839         (gst_base_transform_prepare_output_buffer),
13840         (gst_base_transform_buffer_alloc),
13841         (gst_base_transform_handle_buffer):
13842         Make sure the buffer we pass to transform_ip has a refcount of
13843         1 and thus is writable. Fixes #343196
13844
13845 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13846
13847         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13848         (gst_file_src_init), (gst_file_src_set_property),
13849         (gst_file_src_get_property), (gst_file_src_map_region):
13850         * plugins/elements/gstfilesrc.h:
13851         Add "sequential" property, off by default, to use madvise and hint
13852         to the kernel that sequential access is desired.
13853         Touch all retrieved pages by default to ensure they are pulled
13854         into memory. (Closes #345720)
13855
13856 2006-07-03  Wim Taymans  <wim@fluendo.com>
13857
13858         * docs/design/part-block.txt:
13859         * docs/design/part-dynamic.txt:
13860         Small docs updates.
13861
13862 2006-07-03  Wim Taymans  <wim@fluendo.com>
13863
13864         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13865         (gst_caps_unref), (gst_static_caps_get),
13866         (gst_caps_append_structure):
13867         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13868         Use GSlice when the glib we build against is >= 2.10
13869
13870 2006-07-03  Wim Taymans  <wim@fluendo.com>
13871
13872         * gst/gstelement.c: (gst_element_pads_activate):
13873         Small cleanup in pad activation code.
13874
13875 2006-07-03  Wim Taymans  <wim@fluendo.com>
13876
13877         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13878
13879         * gst/gst-i18n-app.h:
13880         * gst/gst-i18n-lib.h:
13881         * tools/gst-inspect.c: (print_signal_info):
13882         The attached patch will make the inclusion of gettext.h unconditional in
13883         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13884         libintl.h in tools/gst-inspect.c.
13885         This allows use of --disable-nls again and fixes #344642.
13886
13887 2006-07-03  Edward Hervey  <edward@fluendo.com>
13888
13889         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13890         Implement pad blocking on events according to part-block.txt.
13891         More comments on behaviour.
13892         * tests/check/gst/gstevent.c: (test_event):
13893         Send event to peer pad of blocked pad (else it will block).
13894
13895 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13896
13897         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13898         (gst_check_run_suite):
13899           if we get the wrong message, give us the types as string
13900         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13901           Fix a translatable
13902         * tests/check/elements/filesrc.c: (GST_START_TEST):
13903           add a test for trying to open a non-existing file
13904
13905 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13906
13907         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13908           add a test for adding self
13909
13910 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13911
13912         * libs/gst/check/gstcheck.h:
13913           add some assert_ as alias for fail_unless_*
13914         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13915           increase test coverage
13916
13917 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13918
13919         * Makefile.am:
13920           include lcov.mak for lcov coverage generation
13921         * tools/Makefile.am:
13922           add to CLEANFILES
13923
13924 2006-07-02  Edward Hervey  <edward@fluendo.com>
13925
13926         * tests/check/elements/.cvsignore:
13927         moaping
13928
13929 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13930
13931         * configure.ac:
13932           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13933         * tests/check/Makefile.am:
13934           clean up gcov files
13935
13936 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13937
13938         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13939           remove gst_caps_simplify; it was not declared and not used
13940           and deprecated in 0.8
13941
13942 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13943
13944         * docs/faq/gst-uninstalled:
13945           don't put empty paths on PYTHONPATH
13946         * docs/gst/gstreamer-sections.txt:
13947           remove some symbols that are not there
13948
13949 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13950
13951         * gst/gstcaps.c: (gst_caps_compare_structures):
13952           whitespace fixes
13953         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13954         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13955           add more tests
13956
13957 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13958
13959         * libs/gst/dataprotocol/Makefile.am:
13960           build dataprotocol test by linking to the lib, instead of
13961           compiling the source, so we get coverage
13962         * tests/check/Makefile.am:
13963         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13964         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13965           add a test for filesrc
13966
13967 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13968
13969         * tests/check/gst/gststructure.c: (GST_START_TEST),
13970         (gst_structure_suite):
13971           Push coverage from 59.04% to 70.00%
13972
13973 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13974
13975         * tests/check/Makefile.am:
13976           gst-inspect every element; this makes sure that we also get
13977           coverage on element's get/set functions
13978
13979 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13980
13981         * configure.ac:
13982           set CFLAGS and friends to -O0 if gcov is being used
13983           add GCOV LIBS
13984         * gst/Makefile.am:
13985         * libs/gst/base/Makefile.am:
13986         * libs/gst/check/Makefile.am:
13987         * libs/gst/controller/Makefile.am:
13988         * libs/gst/dataprotocol/Makefile.am:
13989         * libs/gst/net/Makefile.am:
13990         * plugins/elements/Makefile.am:
13991         * plugins/indexers/Makefile.am:
13992           add makefile rules to generate gcov data and clean up
13993         * tests/check/Makefile.am:
13994           add a coverage target that generates an html overview
13995           of coverage data
13996
13997 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13998
13999         * tests/check/elements/fakesink.c:
14000         * tests/check/elements/fakesrc.c:
14001         * tests/check/elements/fdsrc.c:
14002         * tests/check/elements/identity.c:
14003         * tests/check/generic/sinks.c: (gst_sinks_suite):
14004         * tests/check/generic/states.c:
14005         * tests/check/gst/gst.c:
14006         * tests/check/gst/gstabi.c:
14007         * tests/check/gst/gstbin.c:
14008         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14009         * tests/check/gst/gstbus.c: (gst_bus_suite):
14010         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14011         * tests/check/gst/gstelement.c:
14012         * tests/check/gst/gstevent.c: (gst_event_suite):
14013         * tests/check/gst/gstghostpad.c:
14014         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14015         * tests/check/gst/gstmessage.c: (gst_message_suite):
14016         * tests/check/gst/gstminiobject.c:
14017         * tests/check/gst/gstobject.c:
14018         * tests/check/gst/gstpad.c:
14019         * tests/check/gst/gstpipeline.c:
14020         * tests/check/gst/gstplugin.c:
14021         * tests/check/gst/gstquery.c: (gst_query_suite):
14022         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14023         * tests/check/gst/gststructure.c:
14024         * tests/check/gst/gstsystemclock.c:
14025         * tests/check/gst/gsttag.c:
14026         * tests/check/gst/gsttask.c: (gst_task_suite):
14027         * tests/check/gst/gstutils.c:
14028         * tests/check/gst/gstvalue.c:
14029         * tests/check/libs/adapter.c:
14030         * tests/check/libs/basesrc.c:
14031         * tests/check/libs/collectpads.c:
14032         * tests/check/libs/controller.c:
14033         * tests/check/libs/gdp.c: (gst_dp_suite):
14034         * tests/check/libs/gstnetclientclock.c:
14035         * tests/check/libs/gstnettimeprovider.c:
14036         * tests/check/libs/libsabi.c: (libsabi_suite):
14037         * tests/check/libs/typefindhelper.c:
14038         * tests/check/pipelines/cleanup.c:
14039         * tests/check/pipelines/parse-launch.c:
14040         * tests/check/pipelines/simple-launch-lines.c:
14041         * tests/check/pipelines/stress.c: (stress_suite):
14042           use the new macro
14043
14044 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14045
14046         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14047         * libs/gst/check/gstcheck.h:
14048           create a macro and function so that the simple unit test
14049           case can be just one macro to create main()
14050
14051 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14052
14053         * gst/gstbin.c: (gst_bin_restore_thyself):
14054         * gst/gstxml.c: (gst_xml_make_element):
14055           Fix deserialisation from XML. Set parent manually
14056           instead of using gst_bin_add(), since gst_bin_add()
14057           will unlink all pads of the element being added.
14058           Fixes #341667.
14059
14060 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14061
14062         Patch by: Peter Kjellerstedt <pkj at axis com>
14063
14064         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14065           Fix missing g_strdup() and double free when using the
14066           --gst-plugin-load command line option (#346097).
14067
14068 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14069
14070         * gst/gstinfo.c:
14071           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14072
14073         * libs/gst/net/gstnetclientclock.c:
14074         * libs/gst/net/gstnettimeprovider.c:
14075           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14076
14077 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14078
14079         * docs/manual/advanced-dataaccess.xml:
14080           Fix buffer probe example compilation in
14081           ADM (#345708).
14082         
14083 2006-06-22  Edward Hervey  <edward@fluendo.com>
14084
14085         * gst/gstelement.c: (gst_element_pads_activate):
14086         We need to deactivate src pads first and then sink pads.
14087         The reason is the src pads might be blocking while holding the streaming
14088         lock, so we need to deactivate them first so that deactivating the sink
14089         pads doesn't block (since it will require the streaming lock).
14090
14091 2006-06-22  Wim Taymans  <wim@fluendo.com>
14092
14093         * libs/gst/base/gstbasetransform.c:
14094         (gst_base_transform_buffer_alloc):
14095         Forgot to remove two unneeded unrefs.
14096         Simplify a check _is_equal allready checks the obvious case.
14097
14098 2006-06-22  Wim Taymans  <wim@fluendo.com>
14099
14100         * docs/design/part-block.txt:
14101         Some docs about what pad_block should do.
14102
14103 2006-06-22  Wim Taymans  <wim@fluendo.com>
14104
14105         * gst/gstcaps.c: (gst_caps_replace):
14106         Fix crasher when passed NULL. Doc clarification.
14107         Optimize for the trivial case.
14108
14109         * gst/gstpipeline.c: (gst_pipeline_change_state):
14110         Small cleanups.
14111
14112         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14113         Small documentation cleanup.
14114
14115         * libs/gst/base/gstbasetransform.c:
14116         (gst_base_transform_buffer_alloc):
14117         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14118         is what we need and it avoids a whole lot of redundant 
14119         refcount operations.
14120
14121 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14122
14123         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14124
14125         * docs/manual/advanced-dataaccess.xml:
14126           Fix 'Embedding static elements' section to use
14127           GST_PLUGIN_DEFINE_STATIC (#345607).
14128
14129 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14130
14131         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14132           Attempt to 'fix' spuriously failing test case: it seems like the
14133           timeout of half a second is simply too small when the system is under
14134           load otherwise, and the timeout doesn't really seem to serve any
14135           particular purpose here. Give the pipeline a few seconds to preroll
14136           first, and then give it another half a second to go from PAUSED to
14137           PLAYING and marshal the message into the main thread.
14138
14139 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14140
14141         * tools/gst-feedback-m.m:
14142           Don't only use unversioned tools, try versioned tools as well
14143           (#345086).
14144
14145 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14146
14147         * gst/gstbus.c: (gst_bus_class_init):
14148           Fix some typos, make docs more explicit.
14149
14150 2006-06-20  Wim Taymans  <wim@fluendo.com>
14151
14152         * tests/check/gst/gstghostpad.c: (block_callback),
14153         (GST_START_TEST), (gst_ghost_pad_suite):
14154         Added some more ghostpad tests, mainly blocking
14155         and probes.
14156
14157 2006-06-16  Wim Taymans  <wim@fluendo.com>
14158
14159         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14160         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14161         (gst_file_sink_event), (gst_file_sink_render):
14162         * plugins/elements/gstfilesink.h:
14163         Check if we can seek in the file instead of assuming
14164         we always can. Post an error when we are asked to seek in a
14165         non-seekable file (like a fifo). Fixes #343312.
14166         Some cleanups.
14167
14168 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14169
14170         * tools/gst-launch.1.in:
14171           Un-garble (fourcc) bit in filtered caps section.
14172
14173 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14174
14175         * docs/manual/advanced-autoplugging.xml:
14176         * docs/manual/basics-helloworld.xml:
14177         * docs/manual/highlevel-components.xml:
14178           Don't leak bus reference in sample code.
14179
14180 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14181
14182         * autogen.sh:
14183           Add default for new --enable-plugin-docs switch.
14184
14185         * configure.ac:
14186           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14187           Fixes #344039.
14188
14189         * docs/Makefile.am:
14190           Use new ENABLE_PLUGIN_DOCS conditional.
14191
14192 2006-06-14  Wim Taymans  <wim@fluendo.com>
14193
14194         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14195         Make it clear with a FIXME and a real define what the #if 0
14196         previously disabled.
14197
14198 2006-06-14  Wim Taymans  <wim@fluendo.com>
14199
14200         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14201         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14202         * libs/gst/base/gstbasetransform.c:
14203         (gst_base_transform_sink_eventfunc):
14204         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14205         Don't randomly and silently reset a segment when the format 
14206         changes as this is a bug somewhere upstream. Fixes #330379.
14207
14208 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14209
14210         Patch by: Wouter Paesen  <wouter at kangaroot net>
14211
14212         * libs/gst/controller/gstcontroller.c:
14213         (gst_controlled_property_new):
14214           Fix controlling of float properties (#344849).
14215
14216         * tests/check/libs/controller.c:
14217         (gst_test_mono_source_get_property),
14218         (gst_test_mono_source_set_property),
14219         (gst_test_mono_source_class_init), (GST_START_TEST):
14220           While we're at it, add some float stuff to unit test.
14221
14222 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14223
14224         * docs/README:
14225         * docs/images/gdp-header.svg:
14226           add a gdp image
14227         * docs/libs/Makefile.am:
14228         * docs/libs/gdp-header.png:
14229         * libs/gst/dataprotocol/dataprotocol.c:
14230           add it to the API docs
14231         * docs/manual/intro-motivation.xml:
14232           fix typo
14233
14234 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14235
14236         * gst/gst.c: (scan_and_update_registry), (init_post):
14237           If the fork()'ed child process can't write the updated registry cache
14238           file to disk for some reason, make it exit with a failure exit code,
14239           so that the parent can then re-scan the plugins itself and update the
14240           registry structures in memory and work with that (rather than failing
14241           when creating elements because seemingly no plugins are available).
14242           Refactor registry scanning code into separate function for this and
14243           also separate fork() and non-fork() code paths. Fixes #344748.
14244
14245 2006-06-13  Wim Taymans  <wim@fluendo.com>
14246
14247         * docs/manual/advanced-dataaccess.xml:
14248         Fix wrong PluginDesc. Fixes #344755.
14249
14250 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14251
14252         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14253           Fix silly bug that prevented us from creating
14254           ~/.gstreamer-0.10 and writing the registry in one
14255           go (the first call to g_mkstemp() would overwrite the
14256           placeholder in the template string, so the second call
14257           to g_mkstemp() after creating the missing directory
14258           would then error out with 'invalid argument').
14259
14260 2006-06-13  Edward Hervey  <edward@fluendo.com>
14261
14262         * gst/gst.c: (init_post):
14263         Free string.
14264
14265 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14266
14267         * gst/glib-compat-private.h:
14268         * gst/glib-compat.c:
14269         * gst/glib-compat.h:
14270         * gst/gstvalue.c: (gst_value_serialize_flags):
14271           remove GLib 2.6 compatibility code
14272
14273 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14274
14275         * gst/parse/Makefile.am:
14276           Fix build with 'make -j N' even more (#340016).
14277
14278 2006-06-12  Wim Taymans  <wim@fluendo.com>
14279
14280         * docs/gst/gstreamer-sections.txt:
14281         Fix docs.
14282
14283 2006-06-12  Wim Taymans  <wim@fluendo.com>
14284
14285         * gst/gstsegment.c: (gst_segment_set_duration),
14286         (gst_segment_set_last_stop), (gst_segment_set_seek),
14287         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14288         (gst_segment_to_running_time), (gst_segment_clip):
14289         Use G_UNLIKELY to help the compiler a bit.
14290
14291 2006-06-12  Wim Taymans  <wim@fluendo.com>
14292
14293         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14294
14295         * gst/gstevent.c: (gst_event_get_type):
14296         * gst/gstmessage.c:
14297         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14298         (gst_pad_push):
14299         constify quark registration strings. Fixes #344115
14300         Avoid unneeded type checking is _pad_push() by internally
14301         calling gst_pad_chain_unchecked().
14302
14303 2006-06-12  Wim Taymans  <wim@fluendo.com>
14304
14305         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14306         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14307         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14308         (gst_buffer_is_span_fast), (gst_buffer_span):
14309         Init _type for consistency.
14310         Use _FLAGS macro to avoid type check.
14311         Avoid unneeded type checks in subbufer code.
14312
14313 2006-06-12  Wim Taymans  <wim@fluendo.com>
14314
14315         * gst/gst.c: (gst_debug_help):
14316         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14317         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14318         (gst_plugin_feature_list_free):
14319         * gst/gstregistry.c: (gst_registry_add_plugin),
14320         (gst_registry_add_feature), (gst_registry_plugin_filter),
14321         (gst_registry_feature_filter), (gst_registry_find_plugin),
14322         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14323         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14324         * gst/gstregistryxml.c: (load_feature),
14325         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14326         * gst/gstminiobject.c: (gst_mini_object_unref),
14327         (gst_mini_object_replace), (gst_value_mini_object_free),
14328         (gst_value_mini_object_copy):
14329         Use _CAST macros to avoid unneeded type checking.
14330         Added some more G_UNLIKELY.
14331
14332 2006-06-12  Wim Taymans  <wim@fluendo.com>
14333
14334         * gst/gstbuffer.h:
14335         Avoid unneeded type checking.
14336         API: GST_BUFFER_IS_DISCONT
14337
14338         * gst/gstminiobject.h:
14339         Avoid type check in flag accessor.
14340
14341         * gst/gstelementfactory.h:
14342         * gst/gstplugin.h:
14343         * gst/gstpluginfeature.h:
14344         Add _CAST macros.
14345         API: GST_ELEMENT_FACTORY_CAST
14346         API: GST_PLUGIN_CAST
14347         API: GST_PLUGIN_FEATURE_CAST
14348
14349 2006-06-12  Wim Taymans  <wim@fluendo.com>
14350
14351         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14352         (gst_object_unref):
14353         Add G_UNLIKELY in type registration.
14354         Avoid type check in _ref/_unref since that is also
14355         done in glib.
14356
14357 2006-06-12  Wim Taymans  <wim@fluendo.com>
14358
14359         * gst/gsterror.c: (gst_g_error_get_type):
14360         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14361         (gst_static_pad_template_get_type):
14362         * gst/gsttaglist.c: (gst_tag_list_get_type):
14363         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14364         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14365         * gst/gsturi.c: (gst_uri_handler_get_type):
14366         * gst/gstvalue.c: (gst_date_get_type):
14367         * gst/gstxml.c: (gst_xml_get_type):
14368         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14369         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14370         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14371         Add G_UNLIKELY in type registration.
14372
14373 2006-06-12  Wim Taymans  <wim@fluendo.com>
14374
14375         * tools/gst-inspect.c: (print_signal_info):
14376         Properly print enum values.
14377
14378 2006-06-12  Wim Taymans  <wim@fluendo.com>
14379
14380         * gst/gstinfo.c: (gst_debug_set_active),
14381         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14382         * gst/gstinfo.h:
14383         Add some G_[UN]LIKELY.
14384         Maintain __gst_debug_min to avoid formatting the arguments of
14385         debug messages that will be dropped anyway to avoid a lot of 
14386         overhead from the debugging system.
14387
14388 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14389
14390         * po/POTFILES.in:
14391         * po/POTFILES.skip:
14392           add missing files containing translatable strings, tell intltool about
14393           one exception
14394
14395 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14396
14397         * tests/check/libs/.cvsignore:
14398         add test-binary to ignore list
14399
14400 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14401
14402         * docs/libs/gstreamer-libs-docs.sgml:
14403         reorder (put dp into a chapter) and indent
14404
14405 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14406
14407         * configure.ac:
14408           back to HEAD
14409
14410 === release 0.10.8 ===
14411
14412 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14413
14414         * configure.ac:
14415           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14416
14417 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14418
14419         * gst/gst.c: (init_post):
14420           move pid declaration to declaration block
14421
14422 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14423
14424         * gst/gst.c: (init_post):
14425           use _exit() instead of exit() in our forked child; this ensures
14426           that none of the registered exit handlers from whatever is using
14427           GStreamer get executed.  This fixes gnome-mixer-applet failing
14428           to load, because ORBit would shut down.
14429           Spotted by: Edward Hervey  <edward@fluendo.com>
14430           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14431           Fixes #344474
14432
14433 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14434
14435         * configure.ac:
14436           back to TRUNK
14437
14438 === release 0.10.7 ===
14439
14440 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14441
14442         * configure.ac:
14443           releasing 0.10.7, "Soepeke, ik zie ou"
14444
14445 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14446
14447         * configure.ac:
14448         * po/af.po:
14449         * po/az.po:
14450         * po/bg.po:
14451         * po/ca.po:
14452         * po/cs.po:
14453         * po/de.po:
14454         * po/en_GB.po:
14455         * po/fr.po:
14456         * po/it.po:
14457         * po/nb.po:
14458         * po/nl.po:
14459         * po/ru.po:
14460         * po/sq.po:
14461         * po/sr.po:
14462         * po/sv.po:
14463         * po/tr.po:
14464         * po/uk.po:
14465         * po/vi.po:
14466         * po/zh_CN.po:
14467         * po/zh_TW.po:
14468         * win32/common/config.h:
14469           0.10.6.2 prerelease
14470
14471 2006-06-07  Wim Taymans  <wim@fluendo.com>
14472
14473         * gst/gstindex.c: (gst_index_gtype_resolver):
14474         * tools/gst-xmlinspect.c: (print_plugin_info):
14475         Fix leak spotted by coverity checker. Fixes #343827
14476         Fix another other leak found by paolo borelli.
14477
14478 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14479
14480         * libs/gst/dataprotocol/dataprotocol.c:
14481         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14482         (gst_dp_version_get_type), (gst_dp_init),
14483         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14484         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14485         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14486         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14487         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14488         (gst_dp_packetizer_free):
14489         * libs/gst/dataprotocol/dataprotocol.h:
14490           API: add a GstDPPacketizer object, and create/free functions
14491           API: add GstDPVersion enum
14492           Add 1.0 event function that uses the string serialization
14493           Serialize more useful buffer flags
14494           Fixes #343988
14495
14496 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14497
14498         * tests/check/Makefile.am:
14499         * tests/check/gst/gstabi.c:
14500         * tests/check/gst/struct_ppc64.h:
14501         * tests/check/libs/libsabi.c:
14502         * tests/check/libs/struct_ppc64.h:
14503           add ppc64 structure sizes
14504
14505 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14506
14507         * tests/check/Makefile.am:
14508         * tests/check/gst/gstabi.c:
14509         * tests/check/gst/struct_x86_64.h:
14510         * tests/check/libs/libsabi.c:
14511         * tests/check/libs/struct_x86_64.h:
14512           generate and add structure size lists for x86_64
14513
14514 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14515
14516         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14517         * libs/gst/check/gstcheck.h:
14518           factor out the method from tests that checks size of structures,
14519           and add code to generate the header containing these sizes
14520         * tests/check/gst/gstabi.c: (GST_START_TEST):
14521         * tests/check/gst/struct_i386.h:
14522         * tests/check/libs/libsabi.c: (GST_START_TEST):
14523         * tests/check/libs/struct_i386.h:
14524           use it
14525
14526 2006-06-06  Michael Smith  <msmith@fluendo.com>
14527
14528         * gst/gstsegment.h:
14529           Don't use c++-style comments, fixes #343929
14530
14531 2006-06-05  Edward Hervey  <edward@fluendo.com>
14532
14533         * gst/gst.c:
14534         plugin_paths is not used if we build without registry support.
14535
14536         * gst/gstsegment.c: (gst_segment_copy): 
14537         _copy() was always returning NULL...
14538
14539 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14540
14541         * libs/gst/dataprotocol/dataprotocol.c:
14542         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14543         (gst_dp_packet_from_event):
14544           factor out CRC code
14545
14546 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14547
14548         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14549           make sure we unset caps
14550
14551 2006-06-02  Michael Smith  <msmith@fluendo.com>
14552
14553         * libs/gst/check/gstcheck.c: (gst_check_init),
14554         (gst_check_chain_func):
14555         * libs/gst/check/gstcheck.h:
14556           Add a cond/mutex to the check support lib, signal this whenever we
14557           add to the buffers list. This will allow tests to not busy-wait on
14558           the buffer-list.
14559
14560 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14561
14562         * libs/gst/dataprotocol/dataprotocol.c:
14563         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14564         (gst_dp_packet_from_event):
14565           factor out some common header init code
14566
14567 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14568
14569         * docs/libs/gstreamer-libs-sections.txt:
14570         * docs/libs/tmpl/gstdataprotocol.sgml:
14571         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14572         * libs/gst/dataprotocol/dataprotocol.h:
14573           API: make gst_dp_crc() public
14574
14575 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14576
14577         * plugins/indexers/gstindexers.c: (plugin_init):
14578         conditionally register fileindexer (fixes #343598)
14579
14580 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14581
14582         * gst/gsttagsetter.h:
14583         Can't cast ifaces to a class
14584
14585         * libs/gst/net/gstnetclientclock.h:
14586         * libs/gst/net/gstnettimeprovider.h:
14587         * plugins/elements/gstfakesink.h:
14588         * plugins/elements/gstfakesrc.h:
14589         * plugins/elements/gstfdsink.h:
14590         * plugins/elements/gstfdsrc.h:
14591         * plugins/elements/gstfilesink.h:
14592         * plugins/elements/gstfilesrc.h:
14593         * plugins/elements/gstidentity.h:
14594         * plugins/elements/gstqueue.h:
14595         * plugins/elements/gsttee.h:
14596         * plugins/indexers/gstfileindex.c:
14597         * plugins/indexers/gstmemindex.c:
14598         * tests/old/examples/plugins/example.h:
14599         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14600
14601 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14602
14603         * libs/gst/dataprotocol/dataprotocol.c:
14604         (gst_dp_header_from_buffer):
14605           make sure we zero the whole ABI-compatible area
14606
14607 2006-06-01  Wim Taymans  <wim@fluendo.com>
14608
14609         Patch by: Alessandro Decina <alessandro at nnva dot org>
14610
14611         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14612         Make sure the EOS flag is cleared from pads after a flush
14613         or stop. Fixes #343538.
14614
14615         * tests/check/libs/collectpads.c: (GST_START_TEST),
14616         (gst_collect_pads_suite):
14617         Added test for collectpads reusage after EOS.
14618
14619 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14620
14621         * gst/gst.c:
14622          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14623         * win32/common/libgstbase.def:
14624          export gst_collect_pads_set_flushing
14625         * win32/common/libgstreamer.def:
14626          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14627          gst_value_fraction_multiply
14628         * win32/vs6/gst_inspect.dsp:
14629          add a link to intl.lib
14630
14631 2006-05-30  Wim Taymans  <wim@fluendo.com>
14632
14633         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14634         (gst_collect_pads_chain):
14635         Handle the case where a pad is removed from the collection
14636         that could cause the other pads to become collectable.
14637
14638 2006-05-30  Wim Taymans  <wim@fluendo.com>
14639
14640         * gst/gstelement.c:
14641         Clarify the use of _release_request_pad() and
14642         _get_request_pad() a bit better.
14643
14644         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14645         (gst_adapter_take_buffer):
14646         Fix some doc and comment typos.
14647
14648 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14649
14650         * docs/gst/gstreamer-sections.txt:
14651         * docs/libs/gstreamer-libs-sections.txt:
14652           add declared symbols
14653
14654 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14655
14656         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14657         Add debug that can be enabled using a #define at the top of the file,
14658         for dumping stats about how late/early we were when waking up from
14659         waiting on the clock.
14660
14661 2006-05-30  Wim Taymans  <wim@fluendo.com>
14662
14663         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14664         When rebuilding the pad list, don't leak the previous list.
14665
14666 2006-05-30  Wim Taymans  <wim@fluendo.com>
14667
14668         Patch by: Lutz Mueller <lutz at topfrose dot de>
14669
14670         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14671         (gst_base_src_get_query_types), (gst_base_src_update_length):
14672         Publish supported query types.
14673         Update last_stop field in get_range mode so the position
14674         query works. Fixes #342321.
14675
14676 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14677
14678         * docs/gst/gstreamer-sections.txt:
14679         * gst/gsttaglist.c: (_gst_tag_initialize):
14680         * gst/gsttaglist.h:
14681           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14682
14683 2006-05-30  Wim Taymans  <wim@fluendo.com>
14684
14685         Patch by: Alessandro Decina <alessandro at nnva dot org>
14686
14687         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14688         Unlock mutex when removing an unknown pad.
14689         Fixes #343334.
14690
14691         * tests/check/Makefile.am:
14692         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14693         (push_event), (setup), (teardown), (GST_START_TEST),
14694         (gst_collect_pads_suite), (main):
14695         Added collecpads check, disabled for now as check crashes for
14696         some reason.
14697
14698 2006-05-29  Wim Taymans  <wim@fluendo.com>
14699
14700         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14701         Don't leak pads lists.
14702
14703 2006-05-29  Wim Taymans  <wim@fluendo.com>
14704
14705         * docs/libs/gstreamer-libs-sections.txt:
14706         * libs/gst/base/gstcollectpads.c:
14707         (gst_collect_pads_set_flushing_unlocked),
14708         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14709         (gst_collect_pads_stop):
14710         * libs/gst/base/gstcollectpads.h:
14711         API: gst_collect_pads_set_flushing()
14712         Added api to set the pads to flushing, useful for seeking
14713         code in elements using collectpads.
14714         Clear segment when receiving a flush.
14715
14716 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14717
14718         * gst/gst.c: (add_path_func), (init_post):
14719           Don't scan registry paths passed via --gst-plugin-path immediately
14720           (will crash, because absolutely nothing is set up and no types are
14721           registered etc.); do this later in init_post(). Fixes #343057.
14722
14723 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14724
14725         * gst/gst.c: (init_post):
14726           if we have fork, fork while reading/rebuilding the registry
14727           so the parent doesn't take the hit of having all plugins loaded
14728           in memory.  Fixes #342777.
14729         * configure.ac:
14730           Check if we have fork()
14731         * win32/common/config.h.in:
14732           no fork() on win32
14733
14734 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14735
14736         * plugins/elements/gstelements.c:
14737         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14738         (gst_file_src_init), (gst_file_src_set_property),
14739         (gst_file_src_get_property), (gst_file_src_start):
14740         * plugins/elements/gstfilesrc.h:
14741           API: GstFileSrc::use-mmap
14742
14743         Add a use-mmap property to enable easier testing of all code paths.
14744         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14745         in the absence of gnomevfssrc. (Closes #340501)
14746
14747 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14748
14749         * tools/gst-inspect.c:
14750         Add missing include, removes warning of ngettext not being defined on
14751         some arches.
14752
14753 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14754
14755         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14756         Handle NULL input and output pointers silently as a failed conversion,
14757         rather than g_warnings.
14758
14759 2006-05-25  Wim Taymans  <wim@fluendo.com>
14760
14761         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14762         Initialize variable before using. Fixes #342820.
14763
14764 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14765
14766         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14767           Fix off-by-one bug that would only allow peeks of N-1 bytes
14768           from the start even if the buffer to typefind on contains
14769           in fact N bytes of data (makes vorbis typefinding from a
14770           vorbis identification header buffer work).
14771
14772         * tests/check/Makefile.am:
14773         * tests/check/libs/.cvsignore:
14774         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14775         (gst_typefindhelper_suite), (main), (foobar_typefind),
14776         (plugin_init):
14777           Add very basic unit test for gst_type_find_helper_for_buffer()
14778           that checks for the problem fixed above.
14779
14780 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14781
14782         * tools/gst-inspect.c: (print_interfaces),
14783         (print_element_properties_info), (print_element_list), (main):
14784           add more translatable strings
14785
14786 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14787
14788         Patch by: Julien Moutte  <julien at moutte net>
14789
14790         * docs/gst/gstreamer-sections.txt:
14791           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14792           
14793         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14794         (gst_fake_sink_preroll):
14795         * plugins/elements/gstfakesink.h:
14796           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14797
14798 2006-05-23  Wim Taymans  <wim@fluendo.com>
14799
14800         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14801         * gst/gstpad.h:
14802         Added _CUSTOM error and success GstFlowReturn that can be
14803         used be elements internally. 
14804         Added macro to check for SUCCESS flowreturns.
14805         API: GST_FLOW_CUSTOM_SUCCESS
14806         API: GST_FLOW_CUSTOM_ERROR
14807         API: GST_FLOW_IS_SUCCESS
14808
14809         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14810         Added check for GstFlowReturn sanity.
14811
14812 2006-05-23  Wim Taymans  <wim@fluendo.com>
14813
14814         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14815
14816         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14817         (gst_collect_pads_event):
14818         clear/reset segment info in FLUSH_STOP.
14819         Fixes #336929.
14820
14821 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14822
14823         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14824         (gst_collect_pads_check_collected):
14825         Flush queued buffer on _stop(), fixes playing again (#342454)
14826
14827 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14828
14829         * tests/check/gst/gststructure.c: (GST_START_TEST),
14830         (gst_structure_suite):
14831           add a test for a complete structure
14832
14833 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14834
14835         * docs/faq/developing.xml:
14836         * docs/faq/faq.xml:
14837         * docs/faq/troubleshooting.xml:
14838         * docs/faq/using.xml:
14839           Some minor FAQ updates that won't change the fact that
14840           our FAQ is badly structured, full of information hardly
14841           anyone new to GStreamer needs to know and lacking lots
14842           of information people constantly ask for.
14843           
14844 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14845
14846         * gst/gstpad.c: (gst_pad_set_caps):
14847           Short-circuit gst_pad_set_caps if setting the existing
14848           caps pointer again, and avoid printing debug and 
14849           reffing/unreffing the caps.
14850
14851         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14852           There's actually no need to set the caps before pushing -
14853           the acceptcaps method will handle it anyway.
14854
14855 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14856
14857         * docs/gst/gstreamer-sections.txt:
14858         * win32/common/libgstreamer.def:
14859         * gst/gstutils.c: (gst_element_seek_simple):
14860         * gst/gstutils.h:
14861           API: add gst_element_seek_simple() (#342238).
14862
14863 2006-05-18  Edward Hervey  <edward@fluendo.com>
14864
14865         * gst/gsttypefind.c: (gst_type_find_get_type):
14866         * gst/gsttypefind.h:
14867         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14868         registered for GstTypeFind pointers. This allows wrapping the structure
14869         in bindings (i.e. gst-python).
14870
14871 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14872
14873         * gst/gsttagsetter.c:
14874           Docs additions and fixes (see #339918).
14875
14876 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14877
14878         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14879         The caps intersection algorithm can produce multiple copies of the
14880         caps. Until that is fixed, we need to simplify the result to be
14881         sure whether the allowed caps are fixed or not.
14882
14883         * plugins/elements/gstqueue.c: (gst_queue_init),
14884         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14885         (gst_queue_push_one):
14886         Proxied buffer alloc should not set the caps on the source pad.
14887         When pushing buffers, we always accept the caps change that triggers.
14888         This prevents negotiation errors caused by caps changing mid-stream 
14889         and then being refused on our source pad (because upstream is now
14890         refusing those caps).
14891
14892 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14893
14894         * tests/examples/helloworld/helloworld.c: (main):
14895           Must plug audioconvert and audioresample between decoder
14896           and audio sink.
14897
14898 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14899
14900         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14901         (load_feature), (load_plugin):
14902         Allow empty strings for some of the plugin fields so we don't 
14903         drop valid plugin entries that were written out correctly
14904         (Fixes #341479)
14905
14906 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14907         
14908         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14909           Use g_remove and g_rename instead of remove and rename that don't 
14910           handle utf8 characters. rename was failing for users who had specific
14911           characters in their name then the registry was built at each 
14912           gstreamer init.
14913         * win32/vs6/gst_inspect.dsp:
14914         * win32/vs6/gst_launch.dsp:
14915         * win32/vs6/libgstbase.dsp:
14916         * win32/vs6/libgstcoreelements.dsp:
14917         * win32/vs6/libgstreamer.dsp:
14918           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14919           build of libgstreamer and clean unused libraries in projects link 
14920           settings.
14921
14922 2006-05-17  Edward Hervey  <edward@fluendo.com>
14923
14924         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14925         The queue is not responsible for pushing an EOS when receiving a fatal
14926         flow error. It's up to the real element driving the pipeline to do that.
14927
14928 2006-05-16  Edward Hervey  <edward@fluendo.com>
14929
14930         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14931         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14932         buffer returned a fatal error. It should just send an EOS and stop
14933         its task.
14934         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14935         when pushing buffers on the queue and will be able to handle the event.
14936
14937 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14938
14939         * docs/manual/basics-bins.xml:
14940         * docs/manual/basics-init.xml:
14941           Fix typos and minor errors in sample code (#341856).
14942
14943 2006-05-16  Wim Taymans  <wim@fluendo.com>
14944
14945         * docs/design/part-qos.txt:
14946         Fix indexes in formulas to make more sense.
14947
14948 2006-05-15  Wim Taymans  <wim@fluendo.com>
14949
14950         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14951         Don't report POSITION based on clock time if sync is
14952         disabled in a sink.
14953
14954 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14955
14956         * gst/gstobject.h:
14957           Add cast to make compiler happy - refcount variable was a gint
14958           in GstObject but is a guint in GObject and g_atomic_int_get()
14959           wants a gint *.
14960
14961 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14962
14963         * gst/parse/Makefile.am:
14964           chain commands using &&, which also makes parallel make work
14965
14966 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14967
14968         * docs/gst/gstreamer-sections.txt:
14969         * gst/gstevent.c:
14970         * gst/gstevent.h:
14971         * gst/gstmessage.h:
14972           Minor docs fixes.
14973
14974 === release 0.10.6 ===
14975
14976 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
14977
14978         * configure.ac:
14979           releasing 0.10.6, "Take the cannoli"
14980
14981 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
14982
14983         * tools/gst-launch.c: (print_tag):
14984           Fix use of uninitialized variable in the hypothetical
14985           case that some broken plugin creates a GST_TAG_IMAGE
14986           tag containing a NULL buffer (#341667).
14987
14988 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
14989
14990         * tools/gst-launch.c: (print_tag):
14991           Print something more intelligible for image tags when
14992           using the -t switch (#341556).
14993
14994 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14995
14996         * Makefile.am:
14997           updates for win32
14998         * configure.ac:
14999           define GST_MAJORMINOR so we have it available in win32/common/config.h
15000           Possibly remove it from our Makefile.am files later
15001         * win32/common/config.h:
15002         * win32/common/config.h.in:
15003           added GST_MAJORMINOR
15004         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15005         * win32/common/gstversion.h:
15006           updated
15007
15008 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15009
15010         * win32/MANIFEST:
15011           Update win32 files listing.
15012         * win32/common/gstversion.h:
15013           Add GST_MAJORMINOR definition.
15014         * win32/common/libgstreamer.def:
15015           Add new exported functions.
15016           
15017 2006-05-12  Michael Smith  <msmith@fluendo.com>
15018
15019         * gst/gstplugin.c: (gst_plugin_load_file):
15020           If an so file has no plugin entry point, unload the module.
15021
15022 2006-05-11  Wim Taymans  <wim@fluendo.com>
15023
15024         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15025         (gst_queue_set_property):
15026         Don't forget to signal the _chain or _loop function 
15027         when the queue size or thresholds change since that might
15028         cause them to make progres again.
15029
15030 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15031
15032         * gst/gstclock.c: (gst_clock_class_init):
15033         * gst/gstindex.c: (gst_index_class_init):
15034         * gst/gstobject.c: (gst_object_class_init):
15035         * gst/gstpad.c: (gst_pad_class_init):
15036         * gst/gstpipeline.c: (gst_pipeline_class_init):
15037         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15038         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15039         * libs/gst/base/gstbasetransform.c:
15040         (gst_base_transform_class_init):
15041         * libs/gst/net/gstnetclientclock.c:
15042         (gst_net_client_clock_class_init):
15043         * libs/gst/net/gstnettimeprovider.c:
15044         (gst_net_time_provider_class_init):
15045         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15046         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15047         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15048         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15049         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15050         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15051         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15052         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15053         * plugins/elements/gsttee.c: (gst_tee_class_init):
15054         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15055         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15056           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15057
15058 2006-05-11  Wim Taymans  <wim@fluendo.com>
15059
15060         * gst/gstbuffer.c: (_gst_buffer_initialize):
15061         Register subbufer along with the buffer type so that
15062         it does not accidentally gets registered from N
15063         different streaming threads in a non threadsafe way.
15064
15065 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15066
15067         * gst/gstbuffer.h:
15068         * gst/gstevent.h:
15069         * gst/gstmessage.h:
15070           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15071           gst_event_ref() and gst_message_ref() functions again
15072           (ugly hack, please do fix if there's a better way besides
15073           overrides.txt, which doesn't seem to work).
15074
15075 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15076
15077         * libs/gst/check/gstcheck.h:
15078           add an assert for setting state to avoid lots of repetitive code
15079           in the future
15080
15081 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15082
15083         * gst/gstvalue.c: (gst_value_serialize_flags):
15084           fix a leak if no flags are set
15085         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15086           fix leak in tests
15087
15088 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15089
15090         * docs/manual/basics-pads.xml:
15091           Expand a bit on caps and filtered links and update
15092           examples that were still using the no longer existing
15093           gst_pad_link_filtered() (#338206).
15094
15095 2006-05-10  Wim Taymans  <wim@fluendo.com>
15096
15097         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15098         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15099         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15100         (gst_collect_pads_stop):
15101         * libs/gst/base/gstcollectpads.h:
15102         No need to call _stop in _finalize.
15103         Iterate the main pad list in _finalize.
15104         Added some more debug.
15105         Free lists and data in the right order.
15106         Also free data whem doing _remove_pad when stopped for
15107         backward compatibility protect ::started with PAD_LOCK as
15108         well.
15109
15110 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15111
15112         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15113         (gst_structure_parse_value):
15114           add some comments
15115           rename a method so that it actually says what it does better
15116
15117 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15118
15119         * gst/gstevent.c: (_gst_event_initialize):
15120         * gst/gstformat.c: (_gst_format_initialize):
15121           make sure some essential types used by events are registered
15122           as part of gst_init()
15123         * gst/gstvalue.c: (gst_value_serialize_flags):
15124           if no flags are set, serialize them to a value that represents NONE
15125           so that deserializing them works
15126         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15127           add tests for serialization and deserialization of flags
15128
15129 2006-05-10  Wim Taymans  <wim@fluendo.com>
15130
15131         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15132         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15133         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15134         (gst_collect_pads_event), (gst_collect_pads_chain):
15135         Update docs.
15136         Better debug info.
15137         Catch and return errors from the collect function
15138         Refuse data on eos pads.
15139
15140 2006-05-10  Edward Hervey  <edward@fluendo.com>
15141
15142         * gst/gstinterface.h:
15143         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15144         GInterface type checking.
15145         They were previously using non-defined macros.
15146
15147 2006-05-09  Wim Taymans  <wim@fluendo.com>
15148
15149         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15150         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15151         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15152         (gst_collect_pads_start), (gst_collect_pads_stop),
15153         (gst_collect_pads_peek), (gst_collect_pads_pop),
15154         (gst_collect_pads_available), (gst_collect_pads_read),
15155         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15156         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15157         (gst_collect_pads_chain):
15158         * libs/gst/base/gstcollectpads.h:
15159         Clean up the mess that is collectpads, add comments and
15160         FIXMEs where needed.
15161         Maintain a separate pad list so we can add pads while
15162         collecting the other ones. For this we need a new separate 
15163         lock (see comics).
15164         Fix memory leak in finalize.
15165         Refactor some weird code to set/unset pad flushing flags, mark
15166         with comments.
15167         Don't crash in _available, _read, _flush when we're EOS.
15168
15169         * tests/check/libs/.cvsignore:
15170         Ignore adapter check binary.
15171
15172 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15173
15174         * gst/gstindex.c: (gst_index_resolver_get_type):
15175         * plugins/elements/gstfakesink.c:
15176         (gst_fake_sink_state_error_get_type):
15177         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15178         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15179         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15180           Const-ify GEnumValue arrays.
15181
15182 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15183
15184         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15185           Add test case for flags + gst_buffer_make_metadata_writable().
15186
15187 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15188
15189         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15190           gst_buffer_make_metadata_writable() should maintain the
15191           buffer flags (those that make sense at least) (see #340859).
15192
15193 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * tools/gst-inspect.c:
15196         * tools/gst-launch.c:
15197         * tools/gst-typefind.c:
15198         * tools/gst-xmlinspect.c:
15199         * tools/tools.h:
15200           Fix up includes: need to include stdlib.h in tools.h for exit().
15201
15202 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15203
15204         * gst/gsttaglist.c: (_gst_tag_initialize):
15205         * gst/gsttaglist.h:
15206           API: add GST_TAG_IMAGE tag (#340721).
15207
15208 2006-05-08  Wim Taymans  <wim@fluendo.com>
15209
15210         * gst/gstquery.c:
15211         Added some docs for the segment query.
15212
15213 2006-05-08  Wim Taymans  <wim@fluendo.com>
15214
15215         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15216         (gst_base_src_loop), (gst_base_src_change_state):
15217         Always push non-flushing serialized events in the streaming 
15218         thread.
15219
15220 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15221
15222         * gst/gsterror.c: (_gst_stream_errors_init):
15223           Add a missing error string.
15224
15225 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15226
15227         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15228         Add applied_rate to the debug
15229
15230         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15231         Copy applied_rate into the outgoing NEWSEGMENT event
15232
15233 2006-05-08  Wim Taymans  <wim@fluendo.com>
15234
15235         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15236
15237         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15238         (gst_base_sink_change_state):
15239         call ::unlock before taking the PREROLL_LOCK so we can safely
15240         handle elements that lock in ::render.
15241         Fixes #340174.
15242
15243 2006-05-08  Edward Hervey  <edward@fluendo.com>
15244
15245         * autogen.sh: (CONFIGURE_DEF_OPT): 
15246         Darwin's libtoolize is in fact called glibtoolize.
15247         Adding glibtoolize to the list of accepted names for libtoolize.
15248
15249 2006-05-08  Wim Taymans  <wim@fluendo.com>
15250
15251         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15252         Unify error handling, don't post an error message
15253         when a push() returns EOS but perform our normal EOS
15254         handling code. Fixes #340772.
15255
15256 2006-05-08  Wim Taymans  <wim@fluendo.com>
15257
15258         * docs/design/part-overview.txt:
15259         Make upsteam/downstream concepts more clear.
15260         Give an example of serialized/non-serialized events.
15261
15262         * docs/design/part-events.txt:
15263         * docs/design/part-streams.txt:
15264         Mention applied_rate.
15265
15266         * docs/design/part-trickmodes.txt:
15267         Mention applied rate, flesh out some more use cases.
15268
15269         * gst/gstevent.c: (gst_event_new_new_segment),
15270         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15271         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15272         (gst_event_parse_tag), (gst_event_new_buffer_size),
15273         (gst_event_parse_buffer_size), (gst_event_new_qos),
15274         (gst_event_parse_qos), (gst_event_parse_seek),
15275         (gst_event_new_navigation):
15276         * gst/gstevent.h:
15277         Add applied_rate field to NEWSEGMENT event.
15278         API: gst_event_new_new_segment_full()
15279         API: gst_event_parse_new_segment_full()
15280
15281         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15282         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15283         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15284         * gst/gstsegment.h:
15285         Add applied_rate to GstSegment structure.
15286         Make calculation of stream_time and running_time more correct
15287         wrt rate/applied_rate.
15288         Add some more docs.
15289         API: GstSegment::applied_rate field
15290         API: gst_segment_set_newsegment_full();
15291
15292         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15293         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15294         * libs/gst/base/gstbasetransform.c:
15295         (gst_base_transform_sink_eventfunc),
15296         (gst_base_transform_handle_buffer):
15297         Parse and use applied_rate in the GstSegment field.
15298
15299         * tests/check/gst/gstevent.c: (GST_START_TEST):
15300         Add check for applied_rate field.
15301
15302         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15303         (gstsegments_suite):
15304         Add more checks for various GstSegment operations.
15305
15306 2006-05-08  Wim Taymans  <wim@fluendo.com>
15307
15308         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15309         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15310         (gst_base_sink_get_position), (gst_base_sink_change_state):
15311         Store the sync time of the buffer end position separatly in a
15312         new variable eos_rtime so we can properly sync the EOS event.
15313         Fixes #340697.
15314         Fix the docs for gst_base_sink_set_qos_enabled().
15315         Don't set segment start to invalid value when we receive a 
15316         non TIME newsegment.
15317         get closer to handling position reporting for negative rates 
15318         correctly.
15319
15320 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15321
15322         * gst/gstcaps.c:
15323         Docs about how to print caps for debug purposes.
15324
15325         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15326         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15327
15328 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15329
15330         * gst/gstelement.c:
15331           use full enum names and preprend a '%' in docs strings to make recent 
15332           gtk-doc turn that into a link
15333
15334 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15335
15336         * docs/manual/basics-bins.xml:
15337         * docs/manual/basics-bus.xml:
15338         * docs/manual/basics-pads.xml:
15339           Some typo fixes, some additions, some clarifications. 
15340
15341 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15342
15343         * tools/gst-inspect.c: (main):
15344         * tools/gst-launch.c: (main):
15345         * tools/gst-run.c: (main):
15346         * tools/gst-typefind.c: (main):
15347         * tools/gst-xmlinspect.c: (main):
15348           Use the string passed to g_option_context_new() for
15349           what it's intended for - the program name is already
15350           printed elsewhere.
15351
15352 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15353
15354         * tools/Makefile.am:
15355         * tools/gst-inspect.c: (main):
15356         * tools/gst-launch.c: (main):
15357         * tools/gst-xmlinspect.c: (main):
15358         * tools/tools.h:
15359           Add back --version command line option (#340460).
15360
15361         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15362           Add --version option and use GOption for argument parsing; refactor a
15363           bit; accept directories as arguments and recurse into them; lastly,
15364           print a decent error message when things go wrong.
15365
15366 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15367
15368         * docs/manual/basics-bins.xml:
15369         Don't mention GstThread (#340611)
15370         * docs/manual/basics-elements.xml:
15371         Update link to GObject tutorial (#340607)
15372         
15373 2006-05-05  Wim Taymans  <wim@fluendo.com>
15374
15375         * gst/gstbuffer.h:
15376         * gst/gstminiobject.c:
15377         Add note about refcounting and miniobject/buffer writeability
15378         to docs. Fixes #340604
15379
15380         * gst/gstelementfactory.h:
15381         Added some explanation about @klass.
15382
15383 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15384
15385         * docs/manual/intro-motivation.xml:
15386         * docs/manual/manual.xml:
15387         Avoid CORBA & Bonobo references (#340598)
15388
15389 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15390
15391         * docs/manual/basics-bus.xml:
15392         * docs/manual/basics-pads.xml:
15393         Fix up some inaccuracies and omissions (#340609)
15394         
15395 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15396
15397         * gst/gstghostpad.c:
15398           Small typo in docs (#340625)
15399
15400 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15401
15402         * gst/parse/Makefile.am:
15403           Make 'make -j' proof (see #340698).
15404
15405 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15406
15407         * configure.ac:
15408           Require GLib-2.8 here as well.
15409
15410 2006-05-05  Wim Taymans  <wim@fluendo.com>
15411
15412         * gst/glib-compat.c:
15413         * gst/gst.c: (init_pre):
15414         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15415         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15416         (gst_object_dispatch_properties_changed):
15417         * gst/gstobject.h:
15418         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15419         * gst/gststructure.c: (gst_structure_set_valist):
15420         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15421         Remove pre glib2.8 compatibility, fixes #340508
15422
15423 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15424
15425         * gst/gsttaglist.h:
15426           Mention type of tags in doc blurbs.
15427
15428 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15429
15430         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15431         (gst_pad_configure_src), (gst_pad_push):
15432         Restore acceptcaps checking behaviour now that good plugins have
15433         been released.
15434
15435 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15436
15437         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15438
15439         * gst/gst.c:
15440         * gst/gstbus.c:
15441         * gst/gstclock.c:
15442         * gst/gstevent.c:
15443         * gst/gstformat.c:
15444         * gst/gstmessage.c:
15445         * gst/gstparse.c:
15446         * gst/gstquery.c:
15447         * gst/gstutils.c:
15448         * gst/parse/Makefile.am:
15449         * libs/gst/base/gstadapter.c:
15450         * libs/gst/base/gstbasesrc.c:
15451         * libs/gst/base/gstpushsrc.c:
15452         * libs/gst/base/gsttypefindhelper.c:
15453         * plugins/elements/gstfakesrc.c:
15454         * plugins/elements/gstidentity.c:
15455           Make sure gstprivate.h and/or config.h are
15456           always included first, otherwise some of our
15457           defines (like _FILE_OFFSET_BITS) might be
15458           redefined in the system headers. Fixes build
15459           on opensolaris (#340016).
15460
15461 2006-05-04  Wim Taymans  <wim@fluendo.com>
15462
15463         * docs/libs/gstreamer-libs-sections.txt:
15464         API: addition: gst_adapter_take_buffer()
15465         
15466         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15467         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15468         (gst_adapter_available_fast):
15469         * libs/gst/base/gstadapter.h:
15470         Prepare for optimizing the hell out of this hugely inefficient
15471         piece of code. 
15472         Added gst_adapter_take_buffer() so we can at least start thinking
15473         about subbuffering and merging.
15474         Added some comments.
15475
15476         * tests/check/Makefile.am:
15477         * tests/check/libs/adapter.c: (GST_START_TEST),
15478         (gst_adapter_suite), (main):
15479         Added GstAdapter check.
15480
15481 2006-05-04  Wim Taymans  <wim@fluendo.com>
15482
15483         * docs/design/part-overview.txt:
15484         Fix some typos, add blurb about buffer flags.
15485
15486 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15487
15488         * docs/libs/gstreamer-libs-sections.txt:
15489           make sure GstBaseTransformClass shows up in the docs
15490         * libs/gst/base/gstbasetransform.c:
15491         * libs/gst/base/gstbasetransform.h:
15492           move docs so gtk-doc picks it up now
15493
15494 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15495
15496         * docs/libs/gstreamer-libs-sections.txt:
15497           add missing symbols to docs
15498
15499 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15500
15501         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15502           back out the newsegment handling change, see #340060 for ongoing
15503           discussion
15504
15505 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15506
15507         * tools/gst-run.c: (get_candidates), (main):
15508           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15509           work); fix typo in error message. Fixes #340079.
15510
15511 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15512
15513         * common/Makefile.am:
15514         * docs/Makefile.am:
15515         * docs/faq/Makefile.am:
15516         * docs/gst/Makefile.am:
15517         * docs/libs/Makefile.am:
15518         * docs/manual/Makefile.am:
15519         * docs/plugins/Makefile.am:
15520         * docs/pwg/Makefile.am:
15521         * docs/slides/Makefile.am:
15522         * docs/upload.mak:
15523         * common/upload.mak:
15524           move upload.mak to common
15525
15526 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15527
15528         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15529           add more asserts on refcounts
15530           do more cleanup at end of tests
15531           fix test leaks showing in FC5
15532
15533 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15534
15535         * plugins/elements/gsttypefindelement.c:
15536         (gst_type_find_element_handle_event):
15537         reverted wrong change and reflowed code to avoid others falling into
15538         this trap
15539
15540 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15541
15542         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15543           fix changelog entry about last collectpads change,
15544           add notes about proper fix
15545
15546 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15547
15548         * gst/gst.c:
15549         * gst/gstregistry.c: (gst_registry_scan_path_level),
15550         (gst_registry_scan_path):
15551         * gst/gstregistry.h:
15552           only write out registry if it has changed, fixes #338339
15553
15554 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15555
15556         * gst/gstbin.c:
15557         * gst/gstpipeline.c:
15558         * plugins/elements/gstcapsfilter.c:
15559         * plugins/elements/gstfakesink.c:
15560         * plugins/elements/gstfakesrc.c:
15561         * plugins/elements/gstfdsink.c:
15562         * plugins/elements/gstfdsrc.c:
15563         * plugins/elements/gstfilesink.c:
15564         * plugins/elements/gstfilesrc.c:
15565         * plugins/elements/gstidentity.c:
15566         * plugins/elements/gstqueue.c:
15567         * plugins/elements/gsttee.c:
15568         * plugins/elements/gsttypefindelement.c:
15569         (gst_type_find_element_handle_event):
15570           make GstElementDetails const
15571
15572 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15573
15574         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15575         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15576         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15577           more detailed debug and formatting cleanup,
15578           forward newsegments to src-pad (so that e.g. adder not eats them)
15579
15580 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15581
15582         * gst/gstutils.c: (gst_element_link_pads):
15583           cleanup double code
15584
15585 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15586
15587         * libs/gst/controller/gstcontroller.c:
15588         (gst_controller_sync_values):
15589           some little tuning
15590         * tests/check/libs/controller.c: (GST_START_TEST),
15591         (gst_controller_suite):
15592           a new test for live value handling
15593
15594 2006-04-28  Wim Taymans  <wim@fluendo.com>
15595
15596         * gst/gstutils.c: (push_and_ref):
15597         Added some more docs.
15598         Fix refcount issue whith gst_element_found_tags() helper 
15599         function. Fixes #338335
15600
15601         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15602         Added testsuite for gst_element_found_tags().
15603
15604 2006-04-28  Michael Smith  <msmith@fluendo.com>
15605
15606         * gst/gstvalue.c: (gst_value_serialize_flags):
15607           Avoid NULL dereference when trying to serialize flags containing
15608           invalid values.
15609
15610 2006-04-28  Michael Smith  <msmith@fluendo.com>
15611
15612         * plugins/elements/gsttypefindelement.c:
15613         (gst_type_find_element_handle_event):
15614           If we get EOS before any data is accumulated, don't use
15615           uninitialised local variables.
15616
15617 2006-04-28  Michael Smith  <msmith@fluendo.com>
15618
15619         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15620         (gst_dp_event_from_packet):
15621           Fixes in reading/writing events over GDP (not currently used?) - 
15622           dereferencing NULL events for unknown/invalid event types, memory
15623           leak, and change g_warning to GST_WARNING.
15624
15625 2006-04-28  Wim Taymans  <wim@fluendo.com>
15626
15627         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15628         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15629         (gst_base_sink_get_position), (gst_base_sink_change_state):
15630         When frame dropping is enabled, we should not ignore frames
15631         without a duration.
15632         Update some documentation.
15633
15634 2006-04-28  Wim Taymans  <wim@fluendo.com>
15635
15636         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15637         (gst_base_src_send_event), (gst_base_src_change_state):
15638         Documentation updates.
15639
15640 2006-04-28  Wim Taymans  <wim@fluendo.com>
15641
15642         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15643         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15644         handle EAGAIN, EINTR and short writes correctly. Also clean
15645         up some error cases, avoid a deadlock on bad file descriptors and
15646         use GST_DEBUG_OBJECT.
15647         Fixes #339843
15648
15649 2006-04-28  Wim Taymans  <wim@fluendo.com>
15650
15651         * gst/gstvalue.c: (gst_value_serialize_buffer),
15652         (gst_value_deserialize_buffer):
15653         Don't try to serialize a GValue with a NULL buffer. 
15654         Fixes #339821.
15655
15656         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15657         Added check for serialisation of NULL buffers.
15658
15659 2006-04-28  Wim Taymans  <wim@fluendo.com>
15660
15661         * gst/gstminiobject.c: (gst_value_take_mini_object):
15662         Taking a NULL miniobject is valid, fix the case where
15663         we try to unref the NULL miniobject.
15664
15665 2006-04-28  Wim Taymans  <wim@fluendo.com>
15666
15667         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15668
15669         * gst/gstbin.c: (gst_bin_handle_message_func):
15670         Update docs.
15671         Don't leak bin refcount when a state recalc is
15672         in progress and we delay another one #339808.
15673
15674 2006-04-28  Wim Taymans  <wim@fluendo.com>
15675
15676         * docs/design/part-TODO.txt:
15677         Mention QoS as an ongoing work item.
15678
15679         * docs/design/part-buffering.txt:
15680         New doc about buffering that needs to be fleshed out
15681         at some point.
15682
15683         * docs/design/part-qos.txt:
15684         More QoS policy for decoders/demuxers/transforms
15685
15686         * docs/design/part-trickmodes.txt:
15687         Small update.
15688
15689 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15690
15691         * configure.ac:
15692           back to HEAD
15693
15694 === release 0.10.5 ===
15695
15696 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15697
15698         * configure.ac:
15699           releasing 0.10.5, "Fogo"
15700
15701 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15702
15703         patch by: Wim Taymans
15704
15705         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15706         (gst_pad_configure_src), (gst_pad_push):
15707         * gst/gstpipeline.c: (gst_pipeline_init):
15708           Fix internal data flow errors.  Fixes #338711.
15709
15710 2006-04-12  Wim Taymans  <wim@fluendo.com>
15711
15712         * tests/check/gst/gstelement.c: (GST_START_TEST):
15713         Don't leak the factory.
15714
15715 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15716
15717         * configure.ac:
15718         * win32/common/config.h:
15719           prerelease
15720
15721 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15722
15723         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15724         (gst_controller_unset_all):
15725           Free allocated GstTimedValues when freeing list nodes.
15726           Should fix leaks 'make check-valgrind' complains about.
15727
15728         * win32/common/libgstcontroller.def:
15729           Add gst_controller_unset_all.
15730
15731 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15732
15733         * docs/libs/gstreamer-libs-sections.txt:
15734         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15735         (gst_controller_unset_all):
15736         * libs/gst/controller/gstcontroller.h:
15737         API: Added new method gst_controller_unset_all()
15738         fixed gst_controller_unset()
15739         * tests/check/libs/controller.c: (GST_START_TEST),
15740         (gst_controller_suite):
15741         Added two testcases for new and fixed method
15742
15743 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15744
15745         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15746           MSG_DONTWAIT is not defined on Cygwin, so work
15747           around that (fixes #317048).
15748           
15749 2006-04-11  Wim Taymans  <wim@fluendo.com>
15750
15751         * gst/gstelementfactory.c: (gst_element_register),
15752         (gst_element_factory_create), (gst_element_factory_make):
15753         Some cleanups.
15754         Fixed a FIXME.
15755         Updated docs (Fixes #131079)
15756
15757         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15758         Small cleanups.
15759
15760         * tests/check/gst/gstelement.c: (GST_START_TEST),
15761         (gst_element_suite):
15762         Added testcase for elementfactory class field.
15763
15764 2006-04-10  Wim Taymans  <wim@fluendo.com>
15765
15766         * gst/gstsegment.c:
15767         Added some more docs.
15768
15769         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15770         (gst_base_sink_reset_qos):
15771         Calculate more accurate rate values.
15772
15773 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15774
15775         * gst/gst_private.h:
15776           add a new #ifdef to use __declspec(dllimport) only for
15777           other modules and not for gstreamer core
15778         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15779           use gst_guint64_to_gdouble for conversion
15780         * win32/common/libgstreamer.def:
15781           add new exported functions
15782         * win32/vs6/gst_inspect.dsp:
15783         * win32/vs6/gst_launch.dsp:
15784         * win32/vs6/libgstbase.dsp:
15785         * win32/vs6/libgstcontroller.dsp:
15786         * win32/vs6/libgstcoreelements.dsp:
15787         * win32/vs6/libgstdataprotocol.dsp:
15788         * win32/vs6/libgstnet.dsp:
15789           update project files
15790
15791 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15792
15793         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15794         * gst/gstclock.c: (gst_clock_class_init):
15795         * gst/gstelement.c: (gst_element_class_init):
15796         * gst/gstindex.c: (gst_index_class_init):
15797         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15798         * gst/gstobject.c: (gst_object_class_init),
15799         (gst_signal_object_class_init):
15800         * gst/gstpad.c: (gst_pad_class_init):
15801         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15802         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15803         * gst/gstregistry.c: (gst_registry_class_init):
15804         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15805         * gst/gsttask.c: (gst_task_class_init):
15806         * gst/gstxml.c: (gst_xml_class_init):
15807         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15808         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15809         (gst_base_src_loop):
15810         * libs/gst/controller/gstcontroller.c:/
15811         (_gst_controller_class_init):
15812         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15813         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15814         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15815         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15816         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15817         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15818
15819 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15820
15821         * gst/gstpad.c: (gst_pad_link):
15822           Must set peer pads before calling the link function, otherwise
15823           a task started from a link function might get a flow-not-linked
15824           result when trying to push because the other thread where the
15825           linking happens hasn't had a chance to set the peers yet. This
15826           might happen for example when a queue gets linked to a downstream
15827           element, as queue starts a streaming task when its source pad
15828           gets linked. Happens in real life when playing back flac/musepack
15829           files in playbin (#332390).
15830           
15831 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15832
15833         * gst/gstindex.h:
15834         * gst/gstxml.h:
15835         * libs/gst/base/gstadapter.h:
15836         * libs/gst/base/gstbasesink.h:
15837         * libs/gst/base/gstbasesrc.h:
15838         * libs/gst/base/gstbasetransform.h:
15839         * libs/gst/base/gstcollectpads.h:
15840         * libs/gst/base/gstpushsrc.h:
15841         Fix broken GObject macros
15842
15843 2006-04-07  Wim Taymans  <wim@fluendo.com>
15844
15845         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15846         Initialize start and stop times, thanks valgrind.
15847
15848 2006-04-07  Wim Taymans  <wim@fluendo.com>
15849
15850         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15851         Be a bit nicer to badly behaving upstream elements that expect
15852         us to deal with non TIME segments and timestamps (such as fakesrc
15853         in the testsuite).
15854
15855 2006-04-07  Wim Taymans  <wim@fluendo.com>
15856
15857         * gst/gstbus.c:
15858         Small documentation clarification about the signal watch.
15859
15860         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15861         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15862         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15863         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15864         (gst_base_sink_get_position_last),
15865         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15866         Convert and store timestamps in stream time and running time, the
15867         raw timestamps are not useful, also document this better.
15868         Use different window sizes for good and bad QoS observations so
15869         we react to badness a little quicker.
15870         Keep track of the amount of rendered and dropped buffers.
15871         Send QoS timestamps in running time.
15872
15873         * libs/gst/base/gstbasetransform.c:
15874         (gst_base_transform_sink_eventfunc),
15875         (gst_base_transform_handle_buffer):
15876         Compare QoS timestamps against running time.
15877
15878 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15879
15880         * gst/gstpad.c:
15881           Typo fixes in docs.
15882
15883 2006-04-06  Michael Smith  <msmith@fluendo.com>
15884
15885         * gst/gstpad.c: (gst_pad_set_property):
15886           Use g_value_get_object() instead of g_value_dup_gst_object(),
15887           to avoid double-reffing the pad template (which we then sink,
15888           so this worked previously if (and only if) the pad template
15889           was floating.
15890
15891         * gst/gstpadtemplate.c: (gst_pad_template_init),
15892         (gst_pad_template_pad_created):
15893           Never return floating references to pad templates, create
15894           them as initially-sunken.
15895
15896           Document an extra function (and make this stop sinking our
15897           pad template, since that is now guaranteed to do nothing,
15898           since we created it sunken).
15899
15900         * gst/gstghostpad.c:
15901           Fix docs typo.
15902
15903 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15904
15905         * gst/gstinfo.c: (__gst_in_valgrind):
15906           Add some newlines.
15907
15908         * plugins/elements/gsttypefindelement.c:
15909         (gst_type_find_element_chain):
15910           Don't leak buffer caps.
15911
15912 2006-04-06  Michael Smith  <msmith@fluendo.com>
15913
15914         * gst/parse/grammar.y:
15915           Fix a leak in parse-launch for any source-or-sink named element 
15916           references used.
15917
15918         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15919           Unref the pipeline if it exists after we've failed parsing.
15920
15921 2006-04-05  Michael Smith  <msmith@fluendo.com>
15922
15923         * gst/gstpipeline.c: (gst_pipeline_init):
15924           When we create a pipeline bus, initially create it in flushing mode.
15925           Fixes leaks in at least one test, and makes a new pipeline work the
15926           same as one that has gone to READY and then back to NULL.
15927
15928         * gst/gstelement.c:
15929           Typo fix in docs.
15930
15931 2006-04-05  Michael Smith  <msmith@fluendo.com>
15932
15933         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15934           Unref a pad we reffed.
15935         * tests/check/gst/gstutils.c: (GST_START_TEST):
15936           Unref bins
15937
15938 2006-04-05  Michael Smith  <msmith@fluendo.com>
15939
15940         * gst/gstquery.c: (gst_query_set_formats),
15941         (gst_query_set_formatsv):
15942           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15943
15944 2006-04-05  Michael Smith  <msmith@fluendo.com>
15945
15946         * tests/check/generic/sinks.c: (GST_START_TEST):
15947           Fix a variety of memleaks in sinks check, which are only sometimes 
15948           shown by running the tests under valgrind (weird?).
15949
15950 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15951
15952         * docs/version.entities.in:
15953           Fix the substituted entity name after thomas' changes on the
15954           weekend.
15955
15956 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15957
15958         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15959         VALGRIND_PRINTF
15960         
15961 2006-04-05  Andy Wingo  <wingo@pobox.com>
15962
15963         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15964
15965         * libs/gst/base/gstbasetransform.c
15966         (gst_base_transform_sink_eventfunc): When resetting our segment on
15967         FLUSH_STOP, also update the flag saying we haven't seen a
15968         newsegment.
15969
15970 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15971
15972         Patch by: Paolo Borelli  <pborelli at katamail dot com>
15973
15974         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15975         (gst_plugin_check_license):
15976           minor clean-ups: G_DEFINE_TYPE already takes care of the
15977           parent_class stuff, no need to do it twice. Mark array of
15978           license strings as constant. (#337103)
15979           
15980 2006-04-04  Michael Smith  <msmith@fluendo.com>
15981
15982         * tools/gst-inspect.c: (print_element_list):
15983           Free the right plugin list; fixes a memory leak.
15984
15985 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
15986
15987         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
15988
15989         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15990           Don't error out on empty buffers (#336945).
15991           
15992 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
15993
15994         * docs/libs/gstreamer-libs-sections.txt:
15995         * gst/gsttaglist.c:
15996         * libs/gst/base/gstbasesink.c:
15997         * libs/gst/base/gstbasesink.h:
15998         * libs/gst/base/gstbasesrc.c:
15999         * libs/gst/base/gstbasesrc.h:
16000           Documentation updates. Make BaseSink and BaseSrc docs contain the
16001           class structure so that people can actually see the prototypes for
16002           virtual functions they're supposed to be overriding.
16003
16004 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16005
16006         * plugins/elements/gsttypefindelement.c:
16007         (gst_type_find_element_chain):
16008           More debug info; when skipping typefinding, send cached
16009           events in all cases.
16010
16011 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16012
16013         * configure.ac:
16014           use new AS_VERSION and AS_NANO macros
16015         * gst/gst-i18n-lib.h:
16016         * gst/gst.c:
16017         * gst/gsterror.c:
16018         * gst/gstversion.h.in:
16019         * win32/common/config.h:
16020         * win32/common/config.h.in:
16021           update accordingly
16022
16023 2006-03-31  Michael Smith  <msmith@fluendo.com>
16024
16025         * plugins/elements/gsttypefindelement.c:
16026         (gst_type_find_element_chain):
16027           Do not typefind content if the buffers already have caps.
16028           Neccesary for icydemux (#333657), and the right thing to do anyway.
16029
16030 2006-03-30  Wim Taymans  <wim@fluendo.com>
16031
16032         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16033         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16034         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16035         (gst_base_sink_record_qos_observation),
16036         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16037         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16038         (gst_base_sink_change_state):
16039         More QoS measurements as described in the design doc.
16040         Get rid of ringbuffer with observations, running average is
16041         more simple and equally good.
16042         Calculates valid proportion now.
16043         Added beginning of flood measurement.
16044
16045 2006-03-29  Wim Taymans  <wim@fluendo.com>
16046
16047         * docs/design/part-qos.txt:
16048         * gst/gstclock.c:
16049         Small documentation updates and additions.
16050
16051 2006-03-29  Wim Taymans  <wim@fluendo.com>
16052
16053         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16054         (gst_base_src_send_event), (gst_base_src_loop),
16055         (gst_base_src_change_state):
16056         Perform the EOS logic when we reach the segment stop position.
16057         Fix compilation on gcc4.1
16058
16059 2006-03-29  Wim Taymans  <wim@fluendo.com>
16060
16061         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16062
16063         * plugins/elements/gstqueue.c: (gst_queue_init),
16064         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16065         (gst_queue_set_property):
16066         * plugins/elements/gstqueue.h:
16067         In queue, when EOS is received, if minimum threshold > max_size -
16068         current_level, there is chance that queue blocks forever in conditional
16069         item del wait. This is because the queue is not emptied completely due
16070         to minimum threshold.  Here is another approach. Instead of setting
16071         cur_levels to max in EOS, just zero all minimum threshold levels. This
16072         should make sure that queue gives out all data. When going to READY
16073         (stop) state, just reset the original minimum threshold levels.
16074         Fixes #336336.
16075
16076 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16077
16078         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16079         (gst_type_find_element_handle_event),
16080         (gst_type_find_element_send_cached_events),
16081         (gst_type_find_element_change_state):
16082         * plugins/elements/gsttypefindelement.h:
16083           When typefinding is done in push mode, we should cache
16084           events we receive during typefinding instead of just
16085           dropping them (e.g. newsegment, custom events from
16086           dvdreadsrc etc.) and then send them out once we've
16087           determined the type of the stream (and decodebin
16088           has had a chance to plug in a decoder/demuxer).
16089           
16090 2006-03-27  Wim Taymans  <wim@fluendo.com>
16091
16092         * docs/design/part-qos.txt:
16093         First QoS ideas.
16094
16095 2006-03-27  Wim Taymans  <wim@fluendo.com>
16096
16097         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16098
16099         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16100         (gst_base_src_send_event), (gst_base_src_change_state):
16101         Handle element seek correctly when we are streaming.
16102         Fixes #326998.
16103
16104 2006-03-24  Michael Smith  <msmith@fluendo.com>
16105
16106         * docs/faq/gst-uninstalled:
16107           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16108           allow you to correctly run intalled applications built against old 
16109           core, using plugins that require updated core (e.g. running
16110           installed totem against a full uninstalled gstreamer stack)
16111
16112 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16113
16114         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16115         more debug details
16116
16117 2006-03-24  Wim Taymans  <wim@fluendo.com>
16118
16119         * docs/gst/gstreamer-sections.txt:
16120         Rearrange the order of the methods so that related methods
16121         are grouped together in sections.
16122
16123 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16124
16125         * gst/gstelement.c:
16126           Little clarification in the docs
16127
16128 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16129
16130         * docs/README:
16131         formatting fix
16132         * plugins/elements/gstidentity.c:
16133         * plugins/elements/gstqueue.c:
16134         * plugins/elements/gsttee.c:
16135         * plugins/elements/gsttypefindelement.c:
16136         GST_ELEMENT_DETAILS formatting
16137
16138 2006-03-24  Wim Taymans  <wim@fluendo.com>
16139
16140         * libs/gst/base/gstbasesink.h:
16141         Only add fields, not insert or we break ABI.
16142
16143 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16144
16145         * win32/common/libgstbase.def:
16146         * win32/common/libgstreamer.def:
16147           Update, add recently added functions.
16148
16149 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16150
16151         * docs/gst/gstreamer-sections.txt:
16152         * gst/gstutils.c: (gst_pad_query_peer_position),
16153         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16154         * gst/gstutils.h:
16155           API: add some new utility functions:
16156            - gst_pad_query_peer_position()
16157            - gst_pad_query_peer_duration()
16158            - gst_pad_query_peer_convert()
16159           
16160 2006-03-23  Wim Taymans  <wim@fluendo.com>
16161
16162         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16163         (gst_base_sink_init), (gst_base_sink_finalize),
16164         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16165         (gst_base_sink_set_property), (gst_base_sink_get_property),
16166         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16167         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16168         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16169         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16170         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16171         (gst_base_sink_preroll_object), (gst_base_sink_event),
16172         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16173         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16174         (gst_base_sink_query), (gst_base_sink_change_state):
16175         Decouple max-lateness and the fact that QoS messages are generated
16176         with a new property (qos).
16177         added API: GstBaseSink::async_play()
16178         Add vmethod so subclasses can be notified of ASYNC playing
16179         state changes.
16180         Collect timestamp start and stop to report better current
16181         position in EOS/PLAYING/PAUSED/READY/NULL.
16182         Refactor QoS/frame dropping and other measurements.
16183         API: GstBaseSrc::qos
16184         Fixes #326311
16185
16186         * libs/gst/base/gstbasesink.h:
16187         Added Private struct.
16188         API: gst_base_sink_set_qos_enabled()
16189         API: gst_base_sink_is_qos_enabled()
16190
16191 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16192
16193         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16194           If compiling against GLib-2.8 or newer, try to read the
16195           registry file using GMappedFile first before falling back
16196           to fopen() + fread() (#332151).
16197
16198 2006-03-22  Wim Taymans  <wim@fluendo.com>
16199
16200         * gst/gstinfo.c: (gst_debug_set_active),
16201         (gst_debug_category_set_threshold):
16202         Disable debugging unless explicitly activated.
16203         Fixes #335480.
16204
16205 2006-03-22  Wim Taymans  <wim@fluendo.com>
16206
16207         * gst/gstelement.c: (gst_element_set_locked_state),
16208         (gst_element_dispose):
16209         Cleanup the error case.
16210
16211         * gst/gstobject.c: (gst_object_dispose):
16212         print a critical when some object was disposed with
16213         a parent, also revive the object since it might
16214         crash the parent.
16215
16216 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16217
16218         * tools/gst-launch.1.in:
16219           Fix another typo.
16220
16221 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16222
16223         * configure.ac:
16224         * tests/check/Makefile.am:
16225           disable some tests when we don't have a registry
16226         * tests/check/gst/gstutils.c: (gst_utils_suite):
16227           don't build the part that needs parsing
16228
16229 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16230
16231         * gst/Makefile.am
16232         * tests/examples/Makefile.am:
16233           fix --disable-parse build
16234
16235 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16236
16237         * tools/gst-feedback.1.in:
16238           Fix typo: s/feeback/feedback/ (#133494).
16239
16240 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16241
16242         * tools/Makefile.am:
16243         * tools/gst-launch.1.in:
16244           Add FILES section and correct entry about GST_REGISTRY_PATH
16245           environment variable (#133495; #133494).
16246
16247 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16248
16249         * tools/Makefile.am:
16250         * tools/gst-md5sum.1.in:
16251         * tools/gst-md5sum.c:
16252           Remove gst-md5sum and man page (the md5sink element
16253           required was removed ages ago)
16254
16255 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16256
16257         * gst/gststructure.c: (gst_structure_id_set_value):
16258           Make sure that string fields in structures/taglists
16259           contain valid UTF-8 - we don't want to pass rubbish to
16260           applications because of a buggy plugin (cp. #334167).
16261
16262 2006-03-21  Edward Hervey  <edward@fluendo.com>
16263
16264         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16265         (gst_bin_handle_message_func):
16266         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16267         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16268         (gst_element_set_bus_func):
16269         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16270         * gst/gstminiobject.c: (gst_value_set_mini_object),
16271         (gst_value_take_mini_object):
16272         * gst/gstpad.c: (gst_pad_set_pad_template):
16273         * gst/gstpipeline.c: (gst_pipeline_dispose),
16274         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16275         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16276         (gst_collect_pads_chain):
16277         * libs/gst/net/gstnettimeprovider.c:
16278         (gst_net_time_provider_set_property):
16279         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16280         It's in fact all issues with gst_*object_replace().
16281
16282 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16283
16284         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16285         
16286         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16287         * pkgconfig/gstreamer-check.pc.in:
16288           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16289
16290 2006-03-21  Edward Hervey  <edward@fluendo.com>
16291
16292         * gst/gstbuffer.h:
16293         * gst/gstevent.h:
16294         * gst/gstmessage.h:
16295         gst_[buffer|event|message]_ref() macros are replaced by a static
16296         inline functions because gcc-4.1 will about if the return value
16297         isn't used.
16298         * tests/check/gst/gstevent.c: (event_probe):
16299         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16300
16301 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16302
16303         * gst/gstutils.h:
16304         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16305         the type' case. (Closes: #335195 for now). In the future, when we
16306         depend on GLib 2.10, we could also intern the type name using
16307         g_intern_static_string()
16308
16309 2006-03-20  Wim Taymans  <wim@fluendo.com>
16310
16311         * gst/gstbin.c: (gst_bin_handle_message_func),
16312         (bin_query_max_init), (bin_query_position_fold),
16313         (bin_query_position_done), (gst_bin_query):
16314         Position query should also take max of all streams.
16315
16316 2006-03-20  Wim Taymans  <wim@fluendo.com>
16317
16318         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16319         (gst_fake_src_finalize):
16320         Fix leaks in fakesrc.
16321
16322         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16323         Fix leaks in the testcase.
16324
16325 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16326
16327         * gst/gst_private.h:
16328           add win32 specific import decoration(__declspec(dllimport)) 
16329           for all extern GstDebugCategory * variables
16330         * win32/common/libgstbase.def:
16331         * win32/common/libgstcontroller.def:
16332         * win32/common/libgstreamer.def:
16333           Add some exports, remove empty lines
16334         * win32/common/libgstdataprotocol.def:
16335         * win32/common/libgstdataprotocol.dsp:
16336         * win32/common/libgstnet.def:
16337         * win32/common/libgstnet.dsp:
16338           new project files and exportation files added
16339         
16340 2006-03-19  Wim Taymans  <wim@fluendo.com>
16341
16342         * tests/check/libs/basesrc.c: (eos_event_counter):
16343         Use proper return value for probe.
16344
16345 2006-03-17  Wim Taymans  <wim@fluendo.com>
16346
16347         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16348         (gst_pad_push):
16349         Don't leak buffers, caps and pads on negotiation errors.
16350
16351 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16352
16353         * docs/faq/cvs.xml:
16354         * docs/faq/dependencies.xml:
16355         * docs/faq/developing.xml:
16356         * docs/faq/faq.xml:
16357         * docs/faq/general.xml:
16358         * docs/faq/getting.xml:
16359         * docs/faq/legal.xml:
16360         * docs/faq/troubleshooting.xml:
16361         * docs/faq/using.xml:
16362         Faq review and update.
16363
16364 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16365
16366         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16367         (gst_pad_push):
16368         Don't pound the cpu to pieces by checking get_caps when accept_caps
16369         is called with the same caps as the pad already has.
16370         Use GST_DEBUG_OBJECT when outputting caps change information.
16371
16372 2006-03-15  Wim Taymans  <wim@fluendo.com>
16373
16374         * gst/gstclock.c: (gst_clock_class_init):
16375         Fix docs.
16376
16377 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16378
16379         * gst/gstbuffer.h:
16380         Documentation fix.
16381
16382         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16383         (gst_pad_accept_caps), (gst_pad_configure_sink),
16384         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16385         Make the default acceptcaps behaviour be to check the requested 
16386         caps against the gst_pad_get_caps output. 
16387
16388         Ensure that gst_pad_accept_caps is used to check caps when a pad
16389         doesn't have a setcaps function, so that pads automatically refuse 
16390         caps that they don't allow in their pad template. (Fixes #332986)
16391
16392         When a buffer with attached caps is pushed, ensure that the source 
16393         pad receives those caps even if the element didn't call
16394         gst_pad_set_caps first.
16395
16396 2006-03-15  Wim Taymans  <wim@fluendo.com>
16397
16398         * libs/gst/base/gstadapter.c:
16399         Add some docs.
16400
16401 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16402
16403         * win32/common/libgstbase.def:
16404         * win32/common/libgstcontroller.def:
16405         * win32/common/libgstreamer.def:
16406           Add a whole bunch of missing functions (#334434).
16407
16408 2006-03-14  Wim Taymans  <wim@fluendo.com>
16409
16410         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16411         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16412         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16413         Better debug info when we receive a segment event.
16414         Reorganize a bit so we can pass the get_times() results around.
16415         Use the segment format when calculating the running time.
16416         Don't do QoS is sync is disabled or we have no clock or the
16417         element does not want us to sync to the clock.
16418         Don't drop buffers if QoS is disabled for now.
16419
16420 2006-03-14  Wim Taymans  <wim@fluendo.com>
16421
16422         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16423         Marked the stats property as unimplemented so people don't get
16424         wild ideas.
16425         Add debug message when regression goes wrong.
16426         Added some more docs.
16427
16428 2006-03-14  Wim Taymans  <wim@fluendo.com>
16429
16430         * gst/gstsegment.c: (gst_segment_to_stream_time):
16431         Return correct return type in case of errors.
16432
16433 2006-03-14  Wim Taymans  <wim@fluendo.com>
16434
16435         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16436           Don't segfault on invalid formats.
16437
16438 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16439
16440         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16441           Can't use gst_segment_to_running_time() when the segment
16442           is not in GST_TIME_FORMAT (like with filesink, for example).
16443           Stops flac encoding pipelines from spewing critical warnings
16444           at EOS (#331248).
16445           
16446 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16447
16448         * gst/gstpipeline.c: (gst_pipeline_class_init):
16449           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16450
16451         * plugins/elements/gsttypefindelement.c:
16452         (gst_type_find_element_handle_event):
16453           Don't try to typefind empty streams.
16454
16455 2006-03-14  Wim Taymans  <wim@fluendo.com>
16456
16457         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16458         (gst_base_sink_do_qos):
16459         Separate QoS calculation.
16460         Only drop buffers when lateness is bigger than the 
16461         duration of the buffer.
16462
16463 2006-03-13  Wim Taymans  <wim@fluendo.com>
16464
16465         * gst/gstpipeline.c: (gst_pipeline_set_property),
16466         (gst_pipeline_get_property), (do_pipeline_seek),
16467         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16468         (gst_pipeline_get_delay):
16469         Don't deadlock when reading properties.
16470
16471 2006-03-13  Wim Taymans  <wim@fluendo.com>
16472
16473         * libs/gst/base/gstbasetransform.c:
16474         (gst_base_transform_class_init), (gst_base_transform_init),
16475         (gst_base_transform_sink_event),
16476         (gst_base_transform_sink_eventfunc),
16477         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16478         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16479         (gst_base_transform_set_property),
16480         (gst_base_transform_get_property),
16481         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16482         (gst_base_transform_set_qos_enabled),
16483         (gst_base_transform_is_qos_enabled):
16484         * libs/gst/base/gstbasetransform.h:
16485         Make basetransform virtual method for src events too.
16486         Handle QOS in basetransform.
16487         API: gst_base_transform_update_qos()
16488         API: gst_base_transform_set_qos_enabled()
16489         API: gst_base_transform_is_qos_enabled()
16490
16491 2006-03-13  Wim Taymans  <wim@fluendo.com>
16492
16493         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16494         (gst_base_sink_do_sync):
16495         Small cleanups.
16496         Use QOS debug category.
16497
16498 2006-03-13  Wim Taymans  <wim@fluendo.com>
16499
16500         * plugins/elements/gstqueue.c:
16501         Very small doc update.
16502
16503 2006-03-13  Wim Taymans  <wim@fluendo.com>
16504
16505         * gst/gst_private.h:
16506         * gst/gstinfo.c: (_gst_debug_init):
16507         Added QOS debug category
16508
16509 2006-03-13  Wim Taymans  <wim@fluendo.com>
16510
16511         * docs/gst/gstreamer-sections.txt:
16512         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16513         * gst/gstbin.h:
16514         * gst/gstbus.c: (gst_bus_class_init):
16515         * gst/gstbus.h:
16516         * gst/gstclock.c:
16517         * gst/gstelement.c: (gst_element_set_locked_state):
16518         * gst/gstsegment.c:
16519         Documentation updates.
16520
16521         * gst/gstpipeline.c: (gst_pipeline_get_type),
16522         (gst_pipeline_class_init), (gst_pipeline_init),
16523         (gst_pipeline_dispose), (gst_pipeline_set_property),
16524         (gst_pipeline_get_property), (do_pipeline_seek),
16525         (gst_pipeline_send_event), (gst_pipeline_change_state),
16526         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16527         (gst_pipeline_get_delay):
16528         * gst/gstpipeline.h:
16529         Added methods for setting the delay.
16530         API: gst_pipeline_set_delay()
16531         API: gst_pipeline_get_delay()
16532         Add pipeline debug category
16533         Various cleanups.
16534         Updated docs.
16535         Don't reset stream time when seek failed.
16536
16537 2006-03-13  Wim Taymans  <wim@fluendo.com>
16538
16539         * docs/design/draft-klass.txt:
16540         * docs/design/part-clocks.txt:
16541         * docs/design/part-events.txt:
16542         * docs/design/part-gstbin.txt:
16543         * docs/design/part-gstpipeline.txt:
16544         * docs/design/part-messages.txt:
16545         * docs/design/part-negotiation.txt:
16546         * docs/design/part-overview.txt:
16547         * docs/design/part-preroll.txt:
16548         * docs/design/part-seeking.txt:
16549         * docs/design/part-states.txt:
16550         * docs/design/part-streams.txt:
16551         Documentation updates.
16552
16553 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16554
16555         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16556         us to leak strings...
16557
16558 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16559
16560         * libs/gst/net/gstnettimeprovider.c:
16561           fix docs
16562         * win32/common/config.h:
16563           update
16564
16565 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16566
16567         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16568
16569         * configure.ac:
16570           Don't check for libgnomeui (leftover from old examples
16571           that aren't built or disted any longer) (#334303).
16572           
16573 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16574
16575         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16576         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16577           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16578           there's no space left on the device.
16579
16580 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16581
16582         * gst/gstclock.h:
16583           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16584           to cast the input to GstClockTime before comparing with
16585           another GstClockTime value.
16586
16587 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16588
16589         * configure.ac:
16590           back to trunk
16591
16592 === release 0.10.4 ===
16593
16594 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16595
16596         * configure.ac:
16597           releasing 0.10.4, "Light"
16598
16599 2006-03-10  Michael Smith  <msmith@fluendo.com>
16600
16601         * libs/gst/dataprotocol/dataprotocol.c:
16602           Fix docs for dataprocotol to not get the return types completely
16603           wrong for a few functions.
16604
16605 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16606
16607         * docs/gst/gstreamer-sections.txt:
16608         * gst/gstpipeline.c: (gst_pipeline_class_init),
16609         (gst_pipeline_init), (gst_pipeline_set_property),
16610         (gst_pipeline_get_property), (gst_pipeline_change_state),
16611         (gst_pipeline_set_auto_flush_bus),
16612         (gst_pipeline_get_auto_flush_bus):
16613         * gst/gstpipeline.h:
16614           Add new API: gst_pipeline_set_auto_flush_bus() and
16615           gst_pipeline_get_auto_flush_bus() to disable automatic
16616           flushing of the pipeline's GstBus when going from READY
16617           to NULL state (#332045).
16618
16619 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16620
16621         * docs/gst/gstreamer-sections.txt:
16622         * gst/gsturi.c: (gst_uri_has_protocol):
16623         * gst/gsturi.h:
16624            Add new API: gst_uri_has_protocol() (#333779).
16625
16626 2006-03-09  Wim Taymans  <wim@fluendo.com>
16627
16628         * gst/gstclock.c: (gst_clock_entry_new),
16629         (gst_clock_id_compare_func), (gst_clock_id_wait),
16630         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16631         (gst_clock_init), (gst_clock_get_internal_time),
16632         (gst_clock_set_master), (do_linear_regression),
16633         (gst_clock_add_observation), (gst_clock_set_property):
16634         * gst/gstclock.h:
16635         Review docs.
16636         Small cleanups.
16637         Fix a possible segfault when the window-size is made smaller.
16638         Calculate jitter before performing the clock wait. Ideally
16639         the clock implementation should calculate jitter but we need
16640         API breakage for that.
16641
16642         * gst/gstsystemclock.c: (gst_system_clock_init):
16643         Docs review.
16644         
16645         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16646         Remove leftover else
16647
16648         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16649         (gst_systemclock_suite):
16650         Added check to test GST_CLOCK_DIFF.
16651
16652 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16653
16654         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16655         (gst_type_find_helper_get_range):
16656           If we are provided with the size, we should implement
16657           GstTypeFind::get_length, so that typefind functions who
16658           want to can actually peek at the middle of a file.
16659
16660 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16661
16662         * docs/manual/advanced-dataaccess.xml:
16663           Add some very very basic error checking.
16664
16665         * docs/pwg/appendix-checklist.xml:
16666           Some updates to the list of things to check when writing an element.
16667
16668 2006-03-08  Wim Taymans  <wim@fluendo.com>
16669
16670         * docs/design/part-element-transform.txt:
16671         Added some docs about the design of tranform elements.
16672
16673         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16674         (gst_base_src_loop), (gst_base_src_change_state):
16675         Mark buffers with the DISCONT flag.
16676
16677 2006-03-08  Michael Smith  <msmith@fluendo.com>
16678
16679         * gst/gstregistry.h:
16680         * gst/gstregistryxml.c: (gst_registry_save),
16681         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16682         (gst_registry_xml_save_pad_template),
16683         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16684         (gst_registry_xml_write_cache):
16685           Rewrite registry-saving to avoid race conditions and check for
16686           failed writes.
16687
16688 2006-03-08  Wim Taymans  <wim@fluendo.com>
16689
16690         * libs/gst/base/gstbasetransform.c:
16691         (gst_base_transform_transform_caps),
16692         (gst_base_transform_transform_size),
16693         (gst_base_transform_prepare_output_buffer),
16694         (gst_base_transform_get_unit_size),
16695         (gst_base_transform_buffer_alloc),
16696         (gst_base_transform_handle_buffer),
16697         (gst_base_transform_change_state):
16698         Cleanups, separate normal flow from errors, add sensible
16699         DEBUG lines.
16700         Don't try to renegotiate when allocating an output buffer.
16701         Also copy DISCONT buffer flag when copying a buffer.
16702         Reset the transform after we finish streaming, not during.
16703
16704 2006-03-08  Wim Taymans  <wim@fluendo.com>
16705
16706         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16707         Use last buffer timestamp in qos message.
16708
16709 2006-03-07  Wim Taymans  <wim@fluendo.com>
16710
16711         Patch by: Christophe Fergeau
16712
16713         * docs/pwg/advanced-tagging.xml:
16714         * docs/pwg/building-pads.xml:
16715           fixes #333416
16716
16717 2006-03-07  Wim Taymans  <wim@fluendo.com>
16718
16719         * docs/libs/gstreamer-libs-sections.txt:
16720         Added basesink new methods.
16721
16722         * gst/gstevent.c:
16723         * gst/gstevent.h:
16724         Docs updates. Flesh out the QoS docs.
16725
16726         * libs/gst/base/gstadapter.c:
16727         Small doc clarification about ownership and flushing.
16728
16729         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16730         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16731         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16732         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16733         * libs/gst/base/gstbasesink.h:
16734         API additions: 
16735         Added new methods to allow subclass to control max-lateness 
16736         and sync.
16737         Generate very basic QoS events based on last sync observation.
16738         Updated docs, fix typo, added some QoS blurb.
16739
16740         * libs/gst/base/gstbasesrc.c:
16741         Remove obsolete _get_state() calls from docs.
16742
16743 2006-03-07  Wim Taymans  <wim@fluendo.com>
16744
16745         * docs/libs/gstreamer-libs-sections.txt:
16746         * libs/gst/base/gstbasetransform.h:
16747         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16748         Fix docs for GstBaseSrc.
16749
16750 2006-03-07  Wim Taymans  <wim@fluendo.com>
16751
16752         * docs/gst/gstreamer-sections.txt:
16753         * gst/gstbuffer.h:
16754         * gst/gstvalue.c:
16755         * libs/gst/base/gstbasetransform.h:
16756         Small documentation fixes.
16757
16758 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16759
16760         * gst/gstvalue.c:
16761           Document thread-unsafety of gst_value_register_foo_func()
16762           when used at the same time as gst_value_foo() (#322628).
16763
16764 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16765
16766         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16767         (gst_push_src_check_get_range):
16768           Push sources don't support pull mode by default.
16769
16770 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16771
16772         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16773         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16774         (gst_base_src_default_check_get_range):
16775         * libs/gst/base/gstbasesrc.h:
16776           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16777           provide default implementation, and rename
16778           gst_base_src_check_get_range() to
16779           gst_base_src_pad_check_get_range() for clarity.
16780
16781 2006-03-06  Wim Taymans  <wim@fluendo.com>
16782
16783         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16784         Make property overridable.
16785
16786 2006-03-06  Wim Taymans  <wim@fluendo.com>
16787
16788         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16789         (gst_base_sink_init), (gst_base_sink_set_property),
16790         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16791         * libs/gst/base/gstbasesink.h:
16792         API addition: Make max-lateness a property.
16793
16794 2006-03-06  Wim Taymans  <wim@fluendo.com>
16795
16796         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16797         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16798         Don't ever draw a frame that is >10ms late.
16799
16800 2006-03-06  Michael Smith  <msmith@fluendo.com>
16801
16802         * gst/gstmessage.c: (_gst_message_copy):
16803           When copying a message, set the parent_refcount of the enclosed
16804           structure to point at the copy, not the original message.
16805
16806 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16807
16808         Patch by: Christophe Fergeau
16809
16810         * gst/gstutils.h:
16811           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16812           usable in c++ code (#333417)
16813
16814 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16815
16816         * gst/gstclock.h:
16817           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16818
16819 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16820
16821         * libs/gst/base/gstbasetransform.c:
16822         (gst_base_transform_transform_caps):
16823           Make sure caps are writable before passing them to
16824           gst_caps_append().
16825
16826 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16827
16828         * gst/gsterror.h:
16829           Fix some minor docs errors.
16830
16831 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16832
16833           Patch by: Ross Burton <ross at burtonini dot com>
16834
16835         * gst/gsterror.c: (_gst_resource_errors_init):
16836         * gst/gsterror.h:
16837           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16838
16839 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16840
16841         * gst/gst.c:
16842         Add a check and output a g_warning when GStreamer is built
16843         against GLib 2.6 but running against 2.8 or higher, and vice 
16844         versa. (Closes: #323542)
16845
16846 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16847
16848         * gst/parse/parse.l:
16849           Commit patch for parse_launch syntax from #331255. Removes 
16850           support for quoted strings and mimetypes when writing filtered 
16851           caps. See the bug report for more details - I'm pretty sure this
16852           obscure feature is not in use by _anyone_ anywhere.
16853
16854           With this simple change, the size of the gstreamer.so here 
16855           drops from 2193KB to 1565KB.
16856
16857 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16858
16859         * plugins/elements/gsttypefindelement.h:
16860         * plugins/elements/gsttypefindelement.c:
16861         (gst_type_find_element_src_event), (start_typefinding),
16862         (stop_typefinding), (gst_type_find_element_handle_event),
16863         (gst_type_find_element_chain),
16864         (gst_type_find_element_chain_do_typefinding):
16865           Use gst_type_find_helper_for_buffer() for chain-based
16866           typefinding.
16867
16868 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16869
16870         * plugins/elements/gsttypefindelement.c:
16871         (gst_type_find_element_class_init),
16872         (gst_type_find_element_set_property),
16873         (gst_type_find_element_get_property):
16874           Deprecate "maximum" property (not only was it only taken into
16875           account for typefinding in push-mode anyway, it also was never
16876           actually possible to set it in the first place because the
16877           property was registered with the numeric property ID for the
16878           "minimum" property). Register "maximum" property correctly,
16879           for the sake of future copy'n'pasters. Remove some cruft
16880           from property get/set functions.
16881
16882 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16883
16884         * plugins/elements/gsttypefindelement.c:
16885         (gst_type_find_element_activate):
16886           Use gst_type_find_helper_get_range() here, so we
16887           can honour the "minimum" property and also emit
16888           the signal with the correct probability of the found caps.
16889
16890 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16891
16892         * docs/libs/gstreamer-libs-sections.txt:
16893         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16894         (helper_find_suggest), (gst_type_find_helper_get_range),
16895         (gst_type_find_helper):
16896         * libs/gst/base/gsttypefindhelper.h:
16897           New API: gst_type_find_helper_get_range() (#333042).
16898
16899 2006-03-02  Michael Smith  <msmith@fluendo.com>
16900
16901         * gst/gstregistryxml.c: (load_feature):
16902           Asserting on a failure to read part of the registry is Not Cool.
16903           Just log a warning and return NULL (which is already handled)
16904
16905 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16906
16907         * win32/common/libgstbase.def:
16908           added export of gst_type_find_helper_for_buffer
16909         * win32/common/libgstbase.def:
16910           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16911           gst_ghost_pad_get_target
16912
16913 2006-02-28  Wim Taymans  <wim@fluendo.com>
16914
16915         * docs/design/draft-klass.txt:
16916         We use Filter now.
16917         Added Connector to mark elements that are only used to
16918         allow pipeline connections.
16919         Moved Debug to extra feature since most of them are 
16920         functionally something else.
16921
16922 2006-02-28  Wim Taymans  <wim@fluendo.com>
16923
16924         * docs/design/draft-klass.txt:
16925         Some updates and clarifications.
16926
16927 2006-02-28  Wim Taymans  <wim@fluendo.com>
16928
16929         * docs/design/draft-klass.txt:
16930         Proposal for klass field values.
16931
16932         * docs/design/part-streams.txt:
16933         Start of a doc describing stream anatomy.
16934
16935 2006-02-28  Wim Taymans  <wim@fluendo.com>
16936
16937         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16938         Help the compiler a bit with type registration.
16939         Use existing forward cod path instead of duplicating it when 
16940         handling a message.
16941         
16942         * gst/gstbus.c: (gst_bus_get_type):
16943         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16944         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16945         * gst/gstclock.c: (gst_clock_get_type):
16946         * gst/gstelement.c: (gst_element_get_type),
16947         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16948         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16949         * gst/gstminiobject.c: (gst_mini_object_get_type):
16950         * gst/gstpad.c: (gst_pad_get_type):
16951         * gst/gstsegment.c: (gst_segment_get_type):
16952         * gst/gststructure.c: (gst_structure_get_type):
16953         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16954         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16955         * gst/gstvalue.c:
16956         Help compiler with type registration.
16957
16958         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16959         Small doc update.
16960
16961 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16962
16963         * plugins/elements/gsttypefindelement.c:
16964         (gst_type_find_element_handle_event):
16965           When we get an EOS event and have not found a type yet
16966           (most likely because we had not yet accumulated
16967           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16968           type given the data we have so far. Fixes typefinding
16969           for very short streams again, most notably quicktime
16970           redirections as used on Apple's trailer site (#331701).
16971
16972 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16973
16974         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16975         (gst_type_find_helper):
16976           Try typefinding factories with the highest rank first.
16977
16978 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16979
16980         * docs/libs/gstreamer-libs-docs.sgml:
16981         * docs/libs/gstreamer-libs-sections.txt:
16982         * libs/gst/base/gsttypefindhelper.c:
16983           Add section for typefind helper and add documentation
16984           for the old and the new function.
16985
16986 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16987
16988         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16989         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16990         (gst_type_find_helper_for_buffer):
16991         * libs/gst/base/gsttypefindhelper.h:
16992           New API: gst_type_find_helper_for_buffer() (#332723).
16993           
16994 2006-02-27  Michael Smith  <msmith@fluendo.com>
16995
16996         Patch by: Loïc Minier
16997
16998         * configure.ac:
16999         * docs/Makefile.am:
17000         * docs/slides/Makefile.am:
17001           prevent CVS directories getting disted.
17002
17003 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17004
17005         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17006           Use the REFCOUNTING category for caps refcounting.
17007           
17008 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17009
17010         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17011           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17012
17013 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17014
17015         * plugins/elements/gsttypefindelement.c:
17016         (gst_type_find_element_activate):
17017           Use gst_pad_check_pull_range() before _activate_pull()
17018           to avoid unnecessary open/close (see #331690).
17019
17020 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17021
17022         * gst/gstutils.c:
17023           Docs enhancement: make it crystal clear what the
17024           gst_pad_add_*_probe() callbacks should look like.
17025
17026 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17027
17028         * libs/gst/base/gstbasesrc.c:
17029           Document how applications can stop recording from
17030           live sources (see #330996).
17031
17032 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17033
17034         * tests/check/Makefile.am:
17035         * tests/check/libs/basesrc.c: (eos_event_counter),
17036         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17037         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17038         (gst_basesrc_suite), (main):
17039           ... and add some tests for the base source EOS stuff.
17040
17041 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17042
17043         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17044           Test case originally showed the problem fixed below,
17045           but was then amended. Add checks back at the place
17046           where they used to be.
17047
17048 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17049
17050         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17051         (gst_base_src_init), (gst_base_src_loop),
17052         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17053         (gst_base_src_change_state):
17054         * libs/gst/base/gstbasesrc.h:
17055           Don't unconditionally send EOS when going from PAUSED to
17056           READY state, esp. make sure we don't send two EOS events
17057           in some cases (e.g. one when reaching EOS and one when
17058           going from PAUSED to READY). Also, we don't want to send
17059           EOS events when operating in pull mode. However, we do
17060           want to send an EOS event when shutting down a live
17061           source explicitly, for example (fixes #330996).
17062           
17063 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17064
17065         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17066           Update src->read_position after a seek when not using mmap.
17067           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17068
17069 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17070
17071         * gst/Makefile.am:
17072         * gst/gstparse.h:
17073         * gst/gstutils.c:
17074         * gst/gstutils.h:
17075         Make things work with --disable-parse as they do with 
17076         --disable-load-save - the symbols involved disappear, but the
17077         header is still installed and GST_DISABLE_PARSE is included via
17078         gstconfig.h
17079
17080 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17081
17082         * libs/gst/base/gstbasetransform.c:
17083         (gst_base_transform_change_state): Fix a stupid bug. I was 
17084         sure I compiled that.
17085
17086 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17087
17088         * gst/gstpad.c: (gst_pad_set_blocked_async):
17089         * gst/gstutils.c: (gst_pad_add_data_probe),
17090         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17091         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17092         (gst_pad_remove_buffer_probe): Make those function act on the
17093         ghostpad target when it's a ghostpad. (Closes #331727)
17094
17095 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17096
17097         * libs/gst/base/gstbasetransform.c:
17098         (gst_base_transform_change_state): Make basetransform reusable.
17099         (Closes #331898)
17100
17101 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17102
17103         * docs/random/release:
17104         Move the current documentation of how to do a release to the top
17105         of the file.
17106
17107         * gst/gstbin.c: (gst_bin_class_init),
17108         (gst_bin_handle_message_func):
17109         Allow multiple state-recalculation threads. (Closes #328873)
17110
17111 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17112
17113         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17114         * gst/gstpad.c: (gst_pad_set_event_function),
17115         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17116         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17117         2 strings. You can't use the STR_NULL macro on that.
17118
17119 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17120
17121         * gst/gstpad.c: (gst_pad_set_event_function),
17122         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17123         (gst_pad_set_getcaps_function)
17124         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17125           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17126           So now, we can use --gst-debug-level=5 on Windows
17127         * win32/common/libgstcontroller.def:
17128           Added export of gst_controller_init
17129         * win32/vs6/libgstcontroller.dsp:
17130           Fixed Release post build configuration
17131
17132 2006-02-17  Wim Taymans  <wim@fluendo.com>
17133
17134         * tests/check/gst/gstquery.c: (GST_START_TEST):
17135         Added another check.
17136
17137 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17138
17139         * plugins/elements/gsttypefindelement.c: (find_peek):
17140           We can do peeks at non-zero offsets, as long as they
17141           fall within the buffer we have.
17142
17143 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17144
17145         * tests/check/Makefile.am:
17146         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17147         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17148         (parse_suite), (main):
17149           Add testsuite for parse launch syntax
17150
17151 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17152
17153         * plugins/elements/gsttypefindelement.c:
17154         (gst_type_find_element_chain):
17155           When typefinding is unsuccessful in the chain function, don't
17156           error out immediately. Only error out with NO_CAPS_FOUND if
17157           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17158           otherwise simply wait for more data so we can try typefinding
17159           again with more data later. Also, don't attempt to typefind
17160           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17161           this should improve typefinding from network sources where the
17162           size of the first buffer can be somewhat random.
17163
17164 2006-02-14  Wim Taymans  <wim@fluendo.com>
17165
17166         * docs/gst/gstreamer-sections.txt:
17167         * gst/gstpadtemplate.c:
17168         * gst/gstpadtemplate.h:
17169         Fix padtemplate docs, fixes #328805.
17170
17171 2006-02-14  Wim Taymans  <wim@fluendo.com>
17172
17173         * tools/gst-launch.c: (main):
17174         NO_PREROLL is not an ERROR so don't send confusing messages
17175         to the user.
17176
17177 2006-02-14  Wim Taymans  <wim@fluendo.com>
17178
17179         Patch by: Torsten Schoenfeld
17180
17181         * gst/gstregistry.c: (gst_registry_get_default),
17182         (_gst_registry_cleanup):
17183         Protect default registry with lock and ref/sink it.
17184         Fixes #324818
17185
17186 2006-02-14  Wim Taymans  <wim@fluendo.com>
17187
17188         * gst/gstbuffer.c:
17189         * gst/gstquery.c: (gst_query_list_add_format),
17190         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17191         (gst_query_parse_formats_nth):
17192         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17193         Docs fixes.
17194
17195 2006-02-14  Wim Taymans  <wim@fluendo.com>
17196
17197         * docs/gst/gstreamer-sections.txt:
17198         Reworked query docs.
17199
17200         * gst/gstquery.c: (gst_query_new_formats),
17201         (gst_query_list_add_format), (gst_query_set_formats),
17202         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17203         (gst_query_parse_formats_nth):
17204         * gst/gstquery.h:
17205         Flesh out formats query, added some new methods.
17206         Fix part of #324398.
17207
17208         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17209         Added query creation tests.
17210
17211 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17212
17213         * gst/gstpad.c: (fixate_value):
17214         Add a default fixation for fraction lists.
17215
17216 2006-02-13  Wim Taymans  <wim@fluendo.com>
17217
17218         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17219         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17220         (gst_task_join):
17221         * gst/gsttask.h:
17222         Detect and warn for obvious deadlocks. fixes #320340
17223         Fix error case where lock was not released.
17224
17225         * tests/check/Makefile.am:
17226         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17227         (task_func), (gst_element_suite), (main):
17228         Add task check.
17229
17230 2006-02-13  Wim Taymans  <wim@fluendo.com>
17231
17232         * docs/gst/gstreamer-sections.txt:
17233         * gst/gstbus.c:
17234         Add new functions to docs.
17235
17236 2006-02-13  Wim Taymans  <wim@fluendo.com>
17237
17238         * docs/design/part-TODO.txt:
17239         Updated TODO list, basesrc supports seeking to non-bytes
17240         formats.
17241
17242         * docs/design/part-element-sink.txt:
17243         Update docs.
17244
17245         * gst/gstbin.c: (bin_replace_message),
17246         (gst_bin_handle_message_func):
17247         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17248         * gst/gstevent.c: (gst_event_finalize):
17249         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17250         (gst_pad_send_event):
17251         Use shiny new _TYPE_NAME macros.
17252
17253         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17254         Move debug statement up.
17255
17256         * gst/gstelement.c: (gst_element_set_locked_state):
17257         Add some debugging.
17258
17259 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17260
17261         * docs/gst/gstreamer-sections.txt:
17262         * gst/gstmessage.h:
17263         * gst/gstquery.h:
17264           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17265           macros (#330906). Also, document the already existing
17266           GST_QUERY_TYPE macro.
17267
17268 2006-02-13  Wim Taymans  <wim@fluendo.com>
17269
17270         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17271         (event_probe), (GST_START_TEST):
17272         Only events up to the pipeline EOS are counted, there are
17273         some more when going to NULL currently which we don't care
17274         about for now.
17275
17276 2006-02-13  Wim Taymans  <wim@fluendo.com>
17277
17278         * gst/gstpad.c: (gst_pad_send_event):
17279         Correctly check flushing and emit probes. fixes #330125
17280
17281 2006-02-10  Andy Wingo  <wingo@pobox.com>
17282
17283         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17284         structure.
17285         (gst_bus_init): Cache the location of the private data in the
17286         instance structure.
17287         (gst_bus_enable_sync_message_emission) 
17288         (gst_bus_disable_sync_message_emission): Implement new public
17289         functions.
17290         (gst_bus_post): Emit the sync-message signal if the user asked for
17291         it. Fixes #330684.
17292
17293         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17294         location of the bus-private structure.
17295         (gst_bus_enable_sync_message_emission)
17296         (gst_bus_disable_sync_message_emission): API addition
17297
17298 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17299
17300         Patch by: Vincent Torri
17301
17302         * docs/pwg/building-boiler.xml:
17303         PWG patch from #326800
17304
17305 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17306
17307         * configure.ac:
17308         * docs/Makefile.am:
17309         * docs/design/Makefile.am:
17310           Dist design docs.
17311
17312 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17313
17314         * configure.ac:
17315           back to CVS
17316
17317 === release 0.10.3 ===
17318
17319 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17320
17321         * configure.ac:
17322           releasing 0.10.3, "Like a virgin"
17323
17324 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17325
17326         * configure.ac:
17327           2nd prerelease of 0.10.3
17328           Bump libtool versioning.
17329
17330 2006-02-07  Andy Wingo  <wingo@pobox.com>
17331
17332         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17333         update last_stop if we're in TIME format and the timestamp is
17334         valid.
17335
17336         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17337         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17338         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17339         If we get a new newsegment with a different format, adapt
17340         accordingly.
17341
17342         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17343         of 0. Not a problem, really.
17344
17345         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17346         warn if sync=true.
17347
17348 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17349
17350         * configure.ac:
17351           Prelease of 0.10.3
17352
17353 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17354
17355         * win32/vs7:
17356           project files updated to the default vs7 configuration
17357         * win32/common/libgstbase.def:
17358         * win32/common/libgstreamer.def:
17359           added new symbols,
17360           removed empty lines,
17361           sorted all exported symbols alphabetically
17362         * win32/common/dirent.c:
17363         * win32/common/dirent.h:
17364         * win32/common/gchar.h:
17365           use windows line end.
17366           
17367 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17368
17369         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17370           Send EOS event when stopping.
17371
17372 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17373
17374         * docs/README:
17375           Tell folks what to do if the plugin-foobar.xml file
17376           hasn't been generated for a newly-added plugin.
17377
17378 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17379
17380         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17381         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17382         (gst_collect_pads_start), (gst_collect_pads_stop),
17383         (gst_collect_pads_event): Collectpads now holds a reference
17384         to the GstPad that was added. Indeed we don't want to look
17385         at pads that might just go away with no warning...
17386
17387 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17388
17389         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17390         (gst_collect_pads_start), (gst_collect_pads_stop),
17391         (gst_collect_pads_event), (gst_collect_pads_chain):
17392         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17393         Mark Nauwelaerts's patch on bug #328491.
17394
17395 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17396
17397         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17398         (gst_utils_suite):
17399           Add some simple tests for gst_parse_bin_from_description() and
17400           gst_bin_find_unconnected_pad() (#329069).
17401
17402 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17403
17404         * tools/gst-launch.c: (event_loop), (main):
17405           Catch errors during preroll (#320084).
17406
17407 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17408
17409         * plugins/elements/gsttypefindelement.c:
17410         (gst_type_find_element_activate):
17411           Post TYPE_NOT_FOUND error message when typefinding
17412           is unsuccessful in the activate function as well.
17413
17414 2006-02-02  Wim Taymans  <wim@fluendo.com>
17415
17416         * docs/design/part-element-sink.txt:
17417         Updated doc.
17418
17419 2006-02-02  Wim Taymans  <wim@fluendo.com>
17420
17421         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17422         (gst_base_sink_render_object),
17423         (gst_base_sink_queue_object_unlocked):
17424         Only keep track of prerollable items when we are 
17425         prerolling.
17426         Before rendering after preroll, always check if we
17427         have queued items.
17428         Added some more debugging.
17429
17430 2006-02-02  Wim Taymans  <wim@fluendo.com>
17431
17432         * gst/gstelement.c: (gst_element_continue_state),
17433         (gst_element_set_state_func), (gst_element_change_state):
17434         Fixed #326576, been running this for quite some time with
17435         no regressions at all.
17436
17437 2006-02-02  Wim Taymans  <wim@fluendo.com>
17438
17439         * common/gst.supp:
17440         Added more suppressions
17441
17442 2006-02-02  Wim Taymans  <wim@fluendo.com>
17443
17444         * docs/design/part-element-sink.txt:
17445         Updated document.
17446
17447         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17448         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17449         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17450         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17451         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17452         (gst_base_sink_preroll_object),
17453         (gst_base_sink_queue_object_unlocked),
17454         (gst_base_sink_queue_object), (gst_base_sink_event),
17455         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17456         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17457         (gst_base_sink_get_position), (gst_base_sink_change_state):
17458         * libs/gst/base/gstbasesink.h:
17459         Totally refactored matching the design doc.
17460         Use two segments, one to clip incomming buffers and another to
17461         perform sync.
17462         Handle queueing correctly, bypass the queue when playing.
17463         Make EOS cancelable.
17464         Handle errors correctly when operating in pull based mode.
17465
17466         * tests/check/elements/fakesink.c: (GST_START_TEST),
17467         (fakesink_suite):
17468         Added new check for sinks.
17469
17470 2006-02-02  Wim Taymans  <wim@fluendo.com>
17471
17472         * gst/gstsegment.c: (gst_segment_clip):
17473         No reason to refuse to clip when start == -1
17474
17475 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17476
17477         * docs/README:
17478         * docs/manual/intro-basics.xml:
17479         * docs/manual/intro-preface.xml:
17480         * docs/manual/manual.xml:
17481         * docs/pwg/advanced-dparams.xml:
17482         * docs/pwg/intro-basics.xml:
17483         * docs/pwg/intro-preface.xml:
17484         * docs/pwg/pwg.xml:
17485           describe dparams (controller) for plugins
17486           unify docs a little more
17487
17488 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17489
17490         * docs/gst/gstreamer-sections.txt:
17491         * gst/gstutils.c: (element_find_unconnected_pad),
17492         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17493         * gst/gstutils.h:
17494           Add new API: gst_parse_bin_from_description() and
17495           gst_bin_find_unconnected_pad() (#329069).
17496
17497 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17498
17499         * docs/manual/README:
17500           uncover a nasty detail of the docs build
17501
17502 2006-01-31  Wim Taymans  <wim@fluendo.com>
17503
17504         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17505         Don't cache duration messages if we're not going to use or
17506         free them.
17507
17508 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17509
17510         * docs/manual/advanced-dparams.xml:
17511         * docs/pwg/advanced-dparams.xml:
17512           more dparam docs
17513         * gst/gstindex.c:
17514           fix docs
17515         * libs/gst/controller/lib.c: (gst_controller_init):
17516           init just once
17517
17518 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17519
17520         * gst/gstelement.c: (gst_element_message_full):
17521           also show file/line/func if no additional debug was given
17522
17523 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17524         
17525         * win32/vs7/grammar.vcproj:
17526           activate copy of autogenerated files for Release mode
17527
17528 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17529         
17530         * win32/common/libgstreamer.def:
17531           export gst_value_compare
17532
17533 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17534
17535         * plugins/elements/Makefile.am:
17536         * plugins/elements/gstelements.c:
17537         * plugins/elements/gstfdsink.c: (_do_init),
17538         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17539         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17540         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17541         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17542         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17543         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17544         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17545         * plugins/elements/gstfdsink.h:
17546         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17547
17548 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17549
17550         * docs/manual/advanced-dparams.xml:
17551           describe controller
17552         * docs/manual/advanced-position.xml:
17553         * docs/manual/basics-init.xml:
17554         * docs/manual/manual.xml:
17555         * docs/manual/titlepage.xml:
17556         * docs/pwg/pwg.xml:
17557         * docs/pwg/titlepage.xml:
17558           cleanup xml (more to come)
17559         * libs/gst/controller/gstcontroller.c:
17560           fix typo
17561
17562 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17563         
17564         * win32/vs6/grammar.dsp:
17565           add autogen of gstmarshal.c,h for Release mode
17566                 
17567 2006-01-30  Wim Taymans  <wim@fluendo.com>
17568
17569         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17570         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17571         (gst_base_sink_handle_object), (gst_base_sink_event),
17572         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17573         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17574         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17575         (gst_base_sink_deactivate), (gst_base_sink_activate),
17576         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17577         (gst_base_sink_query), (gst_base_sink_change_state):
17578         Basesink cleanups, remove some old code.
17579         Handle the case where a subclass can preroll in the render
17580         method (mostly audiosinks).
17581         Handle more events.
17582         Remove some locks around variables that are now protected
17583         with the PREROLL_LOCK (clock_id, flushing, ..).
17584         Optimize position query some more, do correct locking.
17585         Remove old code to push queue in state change, this is not
17586         needed anymore since preroll blocks on all prerollable items 
17587         now.
17588         Almost implemented as described in design doc.
17589
17590 2006-01-30  Wim Taymans  <wim@fluendo.com>
17591
17592         * tests/check/gst/gstbin.c: (GST_START_TEST):
17593         Wait for refcount to settle down before checking.
17594
17595 2006-01-30  Wim Taymans  <wim@fluendo.com>
17596
17597         * docs/design/part-element-sink.txt:
17598         Pseudo code overview of desired sink behaviour regarding
17599         preroll.
17600
17601 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17602         * win32/vs6/grammar.dsp:
17603           fix some bugs in Release mode for autogenerated files
17604                 
17605 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17606         * win32/common/libgstbase.def:
17607         * win32/common/libgstreamer.def:
17608           export some new symbols: gst_base_src_set_format,
17609           gst_iterator_next, gst_structure_set_valist
17610
17611 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17612
17613         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17614         Set pad functions unconditionally. Fixes #329105.
17615
17616 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17617         * win32/vs8:
17618           add vs8 project files created by Sergey Scobich
17619
17620 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17621
17622         * gst/gstutils.c: (gst_element_unlink_pads):
17623         Don't leak pad references.
17624
17625         * tests/check/elements/fakesink.c: (GST_START_TEST):
17626         * tests/check/generic/sinks.c: (GST_START_TEST):
17627         * tests/check/generic/states.c: (GST_START_TEST):
17628         * tests/check/gst/gstbin.c: (GST_START_TEST):
17629         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17630         * tests/check/gst/gstelement.c: (GST_START_TEST):
17631         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17632         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17633         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17634         Fix a bunch of leaks. Make generic/sinks.c
17635         use a bit less cpu by slowing the buffer rate
17636         between fakesrc and fakesink.
17637         
17638 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17639         * gst/gstcaps.c:
17640         * gst/gstelement.c: (gst_element_send_event):
17641         * gst/gstevent.c:
17642         * gst/gstinfo.c:
17643         * gst/gstiterator.c:
17644         * gst/gstiterator.h:
17645         * gst/gstpad.c: (gst_pad_send_event):
17646         * gst/gststructure.c:
17647         * gst/gsturi.c:
17648         * gst/gstutils.c:
17649         * gst/gstvalue.c:
17650         * libs/gst/base/gstadapter.c:
17651           doc fixes, to link to function, just write gst_cool_function(), don't
17652           prefix with '#'
17653
17654 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17655
17656         * plugins/elements/gsttee.c: (gst_tee_do_push),
17657         (gst_tee_handle_buffer):
17658         Always prefer an actual return value from a src
17659         pad in place of NOT_LINKED. This means we return
17660         WRONG_STATE when all src pads are WRONG_STATE
17661         instead of NOT_LINKED.
17662
17663         Lock when replacing the last message to prevent
17664         racing with the get_property method.
17665
17666         Add debug output
17667
17668 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17669
17670         * tests/check/Makefile.am:
17671         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17672         (main):
17673         Add a very simple check that should have caught the memleak I fixed
17674         last night (if not for the slice allocator hiding it)
17675
17676 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17677
17678         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17679         (gst_bin_remove_func), (gst_bin_handle_message_func),
17680         (bin_query_duration_fold), (bin_query_generic_fold):
17681         Clean up references to the clock provider when disposed or when
17682         handling a clock-lost message from it.
17683
17684         Unref sinks when performing a query via gst_iterator_fold, as the
17685         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17686
17687         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17688         (gst_clock_set_master):
17689         Drop our reference to the master clock, if any, when we are disposed.
17690
17691         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17692         Chain up in dispose. 
17693
17694 2006-01-26  Wim Taymans  <wim@fluendo.com>
17695
17696         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17697         Add some debugging.
17698
17699 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17700
17701         * plugins/elements/gsttee.c: (gst_tee_do_push),
17702         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17703         handles pad being NOT_LINKED or in WRONG_STATE.
17704
17705 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17706
17707         * win32/MANIFEST:
17708           more updating
17709
17710 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17711
17712         * win32/MANIFEST:
17713           remove obsolete entry
17714
17715 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17716
17717         * docs/gst/gstreamer-sections.txt:
17718         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17719         (gst_bin_iterate_sources), (gst_bin_send_event):
17720         * gst/gstbin.h:
17721         * gst/gstelement.c: (gst_element_send_event):
17722         * gst/gstevent.c:
17723         * gst/gstpad.c: (gst_pad_send_event):
17724           added code for downstream events, reviewed docs in gstevent.c
17725
17726 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17727
17728         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17729         We only query position using the clock in the playing state.
17730         Query peer in the other cases.
17731         * win32/common/config.h: Updates.
17732
17733 2006-01-24  Wim Taymans  <wim@fluendo.com>
17734
17735         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17736         A clock entry that is scheduled for the exact time of the
17737         clock is still in time.
17738
17739         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17740         (gst_base_sink_do_sync):
17741         Add some more debug info.
17742
17743 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17744
17745         * win32/vs7:
17746           Add new vs7 project files and solution.
17747
17748 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17749
17750         * win32/vs7:
17751           all files removed as they were out-dated.
17752
17753 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17754
17755         * docs/random/release:
17756           update notes
17757         * gst/gstbin.c: (gst_bin_init):
17758         * gst/gstbus.c: (gst_bus_new):
17759         * gst/gstbus.h:
17760         * gst/gstpipeline.c: (gst_pipeline_init):
17761           use gst_bus_new(), improve logging, fix docs
17762         * win32/common/config.h:
17763           update for cvs build
17764
17765 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17766
17767         * autogen.sh:
17768           up required version of automake to 1.7
17769
17770 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17771
17772         * win32/common/libgstreamer.def:
17773           export gst_buffer_is_metadata_writable
17774
17775 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17776
17777         * docs/gst/gstreamer-sections.txt:
17778         * gst/gstevent.h:
17779           Add gst_event_replace() (#327001)
17780
17781 2006-01-20  Wim Taymans  <wim@fluendo.com>
17782
17783         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17784         Make it actually compile too..
17785
17786 2006-01-20  Wim Taymans  <wim@fluendo.com>
17787
17788         * gst/gstcaps.c:
17789         Clarify behaviour of _is_equal() when passing NULL parameters.
17790
17791         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17792         (gst_pad_set_caps):
17793         Cleanups. Don't unref NULL caps.
17794         When setting the same caps, protect caps of the pad with
17795         proper lock.
17796         Use full functionality of _is_equal() when comparing caps.
17797
17798 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17799
17800         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17801         Don't loop infinitely if there are no buffers to present. Partially
17802         fixes #327197, but collectpads is just broken for reusing elements
17803         to do multiple encodes atm.
17804
17805 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17806
17807         * tools/gst-inspect.c: (print_element_features):
17808         * tools/gst-xmlinspect.c: (main):
17809         URL_HANDLER is not a plugin feature we can search for in
17810         the registry.
17811
17812 2006-01-19  Edward Hervey  <edward@fluendo.com>
17813
17814         * gst/gstelement.c: (gst_element_pads_activate): 
17815         When activating, do src pads first, then sink pads.
17816         When de-activating, do sink pads first, then src pads.
17817
17818 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17819
17820         * docs/gst/gstreamer-sections.txt:
17821         Add gst_index_add_associationv to the docs
17822
17823 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17824
17825         * gst/gstevent.c:
17826           Fix docs typo
17827
17828         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17829         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17830           Do some refactoring. Doesn't actually change functionality,
17831           but makes landing the DRAIN event easier later.
17832
17833 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17834
17835         * docs/pwg/advanced-scheduling.xml:
17836           Update from 0.9.x to 0.10 API and make example a bit
17837           clearer.
17838
17839 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17840
17841         * docs/gst/gstreamer-sections.txt:
17842         Add gst_buffer_(is|make)_metadata_writable methods.
17843
17844 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17845
17846         * docs/design/part-sparsestreams.txt:
17847         Update sparse streams doc, hopefully for greater clarity
17848
17849 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17850
17851         * docs/design/part-events.txt:
17852         Remove mention of FILLER events.
17853         Add DRAIN event.
17854
17855         * docs/design/part-sparsestreams.txt:
17856         Write some things about using NEWSEGMENT to keep sparse streams
17857         flowing.
17858
17859 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17860
17861         * gst/gstbin.c: (gst_bin_dispose):
17862           Guard gst_object_unref call against a NULL object (dispose
17863           can theoretically be called multiple times).
17864           
17865 2006-01-18  Wim Taymans  <wim@fluendo.com>
17866
17867         * gst/gstbin.c: (gst_bin_element_set_state):
17868         * gst/gstclock.c: (gst_clock_id_wait):
17869         Added some more debug info.
17870
17871         * libs/gst/base/gstadapter.c:
17872         Added more docs.
17873
17874         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17875         (gst_base_sink_do_sync), (gst_base_sink_chain):
17876         Added some comments.
17877
17878 2006-01-18  Wim Taymans  <wim@fluendo.com>
17879
17880         * tests/check/Makefile.am:
17881         * tests/check/elements/fakesink.c: (chain_async_buffer),
17882         (chain_async), (chain_async_return), (GST_START_TEST),
17883         (fakesink_suite), (main):
17884         Added fakesink test that checks prerolling and clipping
17885         behaviour.
17886
17887         * tests/check/gst/gstutils.c: (GST_START_TEST):
17888         Make check run faster so that buildbots don't timeout.
17889
17890 2006-01-18  Wim Taymans  <wim@fluendo.com>
17891
17892         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17893         (gst_base_sink_do_sync):
17894         Some cleanups.
17895         When the sink finishes blocking on the preroll buffer, it can
17896         immediatly render it instead of rendering when the next buffer
17897         arrives.
17898
17899 2006-01-18  Wim Taymans  <wim@fluendo.com>
17900
17901         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17902         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17903         (gst_base_sink_chain):
17904         Small cleanups.
17905         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17906         Don't store _last_stop if the buffer is dropped.
17907
17908 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17909
17910         * plugins/elements/gsttypefindelement.c:
17911         (gst_type_find_element_class_init):
17912           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17913           object method handler that sets the caps on the pad and we want
17914           that to happen before we emit the signal (fixes e.g. feeding a
17915           plain text file to decodebin).
17916
17917 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17918
17919         * gst/gstplugin.c: Add MPL and Proprietary as license options
17920
17921 2006-01-18  Andy Wingo  <wingo@pobox.com>
17922
17923         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17924         symbol was exported before, it appears this was just an oversight.
17925         Fixes #168703.
17926         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17927
17928         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17929         prototype to gint. OK since this prototype was not in the header.
17930
17931 2006-01-17  Andy Wingo  <wingo@pobox.com>
17932
17933         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17934         registry while we remove plugins.
17935
17936         * tools/gst-inspect.c (print_element_info): Don't unref the
17937         factory arg, that should be the responsibility of whatever code
17938         received the ref. Fixes a double-free when called from
17939         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17940         (main): Unref the factory if we have one.
17941         (print_element_list): No change -- relies on the
17942         plugin_feature_list_free to free the list of features.
17943
17944 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17945
17946         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17947         (gst_buffer_make_metadata_writable):
17948         * gst/gstbuffer.h:
17949         * libs/gst/base/gstbasetransform.c:
17950         (gst_base_transform_prepare_output_buf):
17951         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17952         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17953           Replace gst_buffer_(make|is)_metadata_writable patch now
17954           that the release is out.
17955
17956 2006-01-17  Andy Wingo  <wingo@pobox.com>
17957
17958         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17959         in the present tense without reference to versions.
17960
17961         * gst/gstregistry.c (gst_registry_add_plugin)
17962         (gst_registry_remove_plugin, gst_registry_remove_feature)
17963         (gst_registry_find_feature, gst_registry_get_feature_list)
17964         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17965         (gst_registry_lookup, gst_registry_scan_path)
17966         (_gst_registry_remove_cache_plugins)
17967         (gst_registry_get_feature_list_by_plugin): Add argument
17968         validation.
17969
17970 === release 0.10.2 ===
17971
17972 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
17973
17974         * configure.ac:
17975           releasing 0.10.2, "If man is five"
17976
17977 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17978
17979         * gst/gstbuffer.c:
17980         * gst/gstbuffer.h:
17981         * libs/gst/base/gstbasetransform.c:
17982         (gst_base_transform_prepare_output_buf):
17983         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17984         * tests/check/gst/gstbuffer.c: (gst_test_suite):
17985           Back out patch until after the release.
17986
17987 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17988
17989         * gst/gstminiobject.c:
17990           Spelling fix in docs.
17991         * ChangeLog - remove conflict indicator
17992
17993 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
17994
17995         Reviewed By: Andy Wingo
17996
17997         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17998         (gst_buffer_make_metadata_writable):
17999         * gst/gstbuffer.h:
18000           Add gst_buffer_(is|make)_metadata_writable as analogues of
18001           gst_buffer_(is|make)_writable.
18002
18003         * libs/gst/base/gstbasetransform.c:
18004         (gst_base_transform_prepare_output_buf):
18005         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18006           Use name gst_buffer_(is|make)_metadata_writable functions.
18007
18008         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18009           Test gst_buffer_(is|make)_metadata_writable
18010         
18011           (Closes: #324162)
18012
18013 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18014
18015         * docs/manual/Makefile.am:
18016           don't do parallel make
18017         * configure.ac:
18018           AC_SUBST HOST_CPU
18019         * win32/common/config.h.in:
18020           add generations for HOST_CPU and GST_MAJORMINOR
18021         * win32/common/config.h:
18022           commit generated result
18023
18024 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18025
18026         * docs/manual/appendix-integration.xml:
18027           Update GNOME integration section to use gst_init_get_option_group()
18028           instead of the old popt stuff (#322911). Also, GNOME applications
18029           should  now use gconf*sink and gconf*src instead of the old gconf
18030           helper lib we had.
18031
18032 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18033
18034
18035         * docs/gst/gstreamer-docs.sgml:
18036         * docs/gst/gstreamer-sections.txt:
18037         * docs/libs/gstreamer-libs-sections.txt:
18038           add new API entries to the docs
18039         * libs/gst/controller/Makefile.am:
18040         * libs/gst/controller/gstcontroller.c:
18041         * libs/gst/controller/gstcontroller.h:
18042         * libs/gst/controller/gstcontrollerprivate.h:
18043         * libs/gst/controller/gsthelper.c:
18044         * libs/gst/controller/gstinterpolation.c:
18045           move private structs to private header
18046         * po/README:
18047           gstreamer-0.7 -> gstreamer-0.10
18048         * tests/check/libs/struct_i386.h:
18049           remove private structs
18050
18051 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18052
18053         * plugins/indexers/Makefile.am:
18054           Fixes as part of #317048
18055
18056 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18057
18058         * plugins/indexers/Makefile.am:
18059           fix #316086 - compilation when mmap is missing
18060
18061 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18062
18063         * libs/gst/base/gstbasesink.c:
18064           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18065           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18066         * win32/common/config.h:
18067           added some defines GST_MAJORMINOR and HOST_CPU
18068         * win32/common/libgstbase.def:
18069         * win32/common/libgstreamer.def:
18070           added some exported functions.
18071
18072 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18073
18074         * libs/gst/controller/gstcontroller.c:
18075         (gst_controlled_property_set_interpolation_mode),
18076         (gst_controlled_property_new):
18077         * libs/gst/controller/gstcontroller.h:
18078         * libs/gst/controller/gstinterpolation.c:
18079         (interpolate_none_get_string_value_array):
18080           make G_TYPE_STRING controlable
18081
18082 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18083
18084         * tools/README:
18085         * tools/gst-feedback.1.in:
18086         * tools/gst-inspect.1.in:
18087         * tools/gst-launch.1.in:
18088         * tools/gst-md5sum.1.in:
18089         * tools/gst-typefind.1.in:
18090         * tools/gst-xmlinspect.1.in:
18091         * tools/gst-xmllaunch.1.in:
18092           cleanup man-pages, remove reference to gst-register, document env-vars
18093
18094 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18095
18096         * gst/gstbuffer.c: (gst_buffer_span):
18097           gst_buffer_span should copy the timestamp of the first buffer
18098           if they were both originally overlapping subbuffers of the 
18099           same parent, using the same logic as the 'slow copy' case.
18100
18101 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18102
18103         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18104           Need to awaken ALL the pads when we pop a buffer, otherwise
18105           collectpads only works when there is 2 input streams.
18106
18107 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18108
18109         * docs/random/ensonic/media-device-daemon.txt:
18110           more ideas (dbus)
18111         * gst/gstbuffer.c:
18112           fix doc example, add clarification
18113         * tools/gst-launch.1.in:
18114           add initial info about GST_PLUGIN_PATH, needs more work
18115
18116 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18117
18118         * docs/manual/basics-bins.xml:
18119         * docs/manual/basics-elements.xml:
18120         * docs/manual/intro-basics.xml:
18121           Some more minor docs additions and updates.
18122
18123 2006-01-11  Wim Taymans  <wim@fluendo.com>
18124
18125         * docs/manual/basics-bins.xml:
18126         * docs/manual/basics-elements.xml:
18127         Some small fixes as pointed out by Ser-ver on IRC.
18128
18129 2006-01-10  Edward Hervey  <edward@fluendo.com>
18130
18131         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18132         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18133         the single-segment mode.
18134
18135 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18136
18137         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18138
18139         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18140         (gst_base_src_perform_seek), (gst_base_src_send_event),
18141         (gst_base_src_set_property), (gst_base_src_get_property),
18142         (gst_base_src_loop), (gst_base_src_start),
18143         (gst_base_src_activate_push):
18144         * libs/gst/base/gstbasesrc.h:
18145           Name (private) union; makes Sun's Forte compiler happy (#324900).
18146
18147 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18148
18149         * README:
18150           gst-register is gone.
18151
18152 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18153
18154         * gst/gstvalue.c: (_gst_value_initialize):
18155           make the G_TYPE_DATE instantiation work if debug is disabled
18156
18157 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18158
18159         * gst/gstmessage.c: (gst_message_parse_tag),
18160         (gst_message_parse_error), (gst_message_parse_warning):
18161           Don't crash when return location for error/warning debug
18162           string is NULL; add fact that return locations can be
18163           NULL to docs where appropriate.
18164
18165 2006-01-05  Wim Taymans  <wim@fluendo.com>
18166
18167         * gst/gstplugin.c: (gst_plugin_load_file):
18168         Replace strdup by g_strdup.
18169
18170 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18171
18172         * docs/pwg/advanced-types.xml:
18173           fix doc borkage
18174
18175 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18176
18177         submitted by: Abel Cheung
18178
18179         * po/LINGUAS:
18180         * po/zh_TW.po:
18181           Added Chinese (traditional) translation
18182
18183 2006-01-04  Wim Taymans  <wim@fluendo.com>
18184
18185         * docs/manual/basics-pads.xml:
18186         * docs/plugins/Makefile.am:
18187         * docs/plugins/gstreamer-plugins-docs.sgml:
18188         * docs/plugins/gstreamer-plugins-sections.txt:
18189         * docs/pwg/advanced-clock.xml:
18190         * docs/pwg/advanced-scheduling.xml:
18191         * docs/pwg/advanced-types.xml:
18192         * plugins/elements/gstfdsink.c:
18193         * plugins/elements/gstfdsrc.c:
18194         * plugins/elements/gstfdsrc.h:
18195         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18196         * plugins/elements/gstidentity.h:
18197         * plugins/elements/gstqueue.h:
18198         * plugins/elements/gsttee.c:
18199         * plugins/elements/gsttee.h:
18200         * plugins/elements/gsttypefindelement.c:
18201         (gst_type_find_element_class_init):
18202         * plugins/elements/gsttypefindelement.h:
18203         Small updates to various docs.
18204         Added core plugins to docs.
18205
18206 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18207
18208         * common/gst.supp:
18209           add a suppression for liboil's uninitialized variable
18210
18211 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18212
18213         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18214
18215         * gst/gstutils.h:
18216           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18217           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18218           compiler switch is being used (#325429).
18219
18220 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18221
18222         * gst/gstbin.c: (gst_bin_query):
18223           Disable duration query caching in bins until it gets
18224           fixed (see #324807).
18225
18226 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18227
18228         * tools/gst-inspect.c: (print_element_properties_info):
18229           Handle properties of POINTER and BOXED type.
18230
18231 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18232
18233         * gst/gst.c: (init_post):
18234           Init tags stuff and some other things before loading
18235           any static plugins (there may be other static plugins
18236           than just the GStreamer ones, and they may want to
18237           register their own tags or formats or whatever, and
18238           preferably without segfaulting).
18239
18240         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18241           Print at least a warning in the debug logs if we drop a
18242           query just because we don't know how to adjust the value
18243           in the particular format.
18244
18245 2005-12-24  David Schleef  <ds@schleef.org>
18246
18247         * tools/gstreamer-completion:
18248           Replacement for gst-complete written in sh and sed.  Only
18249           completes names of features, but that's 90% of what I want
18250           it for.  Properties are not available in registry.xml.  (Maybe
18251           they should be...)
18252
18253 === release 0.10.1 ===
18254
18255 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18256
18257         * configure.ac:
18258           releasing 0.10.1, "Nollaig chridheil"
18259
18260 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18261
18262         * docs/faq/cvs.xml:
18263           Add missing quote, should be make ERROR_CFLAGS="".
18264
18265 2005-12-20  Wim Taymans  <wim@fluendo.com>
18266
18267         * docs/design/part-trickmodes.txt:
18268         More documentation on trickmodes.
18269
18270 2005-12-20  Edward Hervey  <edward@fluendo.com>
18271
18272         * gst/gstcaps.c: (gst_static_caps_get_type):
18273         * gst/gstcaps.h:
18274           API addition: GST_TYPE_STATIC_CAPS
18275         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18276         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18277         * gst/gstpadtemplate.h:
18278           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18279         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18280         bindings.
18281
18282 2005-12-18  Wim Taymans  <wim@fluendo.com>
18283
18284         * libs/gst/base/gstadapter.c:
18285         * libs/gst/base/gstadapter.h:
18286         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18287         (gst_base_sink_get_position):
18288         * libs/gst/base/gstbasesink.h:
18289         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18290         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18291         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18292         (gst_base_src_send_event), (gst_base_src_update_length),
18293         (gst_base_src_get_range), (gst_base_src_loop),
18294         (gst_base_src_start):
18295         * libs/gst/base/gstbasesrc.h:
18296         * libs/gst/base/gstbasetransform.h:
18297         * libs/gst/base/gstcollectpads.h:
18298         * libs/gst/base/gstpushsrc.c:
18299         * libs/gst/base/gstpushsrc.h:
18300         * libs/gst/dataprotocol/dataprotocol.c:
18301         * libs/gst/dataprotocol/dataprotocol.h:
18302         * libs/gst/net/gstnetclientclock.h:
18303         * libs/gst/net/gstnettimeprovider.h:
18304         Documentation updates.
18305
18306 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18307
18308         * docs/manual/basics-helloworld.xml:
18309           Remove superfluous closing bracket in helloworld example.
18310
18311 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18312
18313         * tools/gst-launch.1.in:
18314           Update gst-launch man page; add a section with useful
18315           environment variables. Fixes #323882.
18316
18317 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18318
18319         * gst/gst.c:
18320         * gst/gst_private.h:
18321           change some char* into char[]
18322
18323 2005-12-16  Wim Taymans  <wim@fluendo.com>
18324
18325         * gst/gstregistryxml.c: (load_feature):
18326         Cleanups.
18327         Don't use g_object_unref on GstObjects so that we avoid
18328         leaks on unsafe glibs.
18329
18330 2005-12-16  Wim Taymans  <wim@fluendo.com>
18331
18332         * gst/gstbin.c: (gst_bin_recalc_state):
18333         Small doc updates.
18334
18335 2005-12-16  Wim Taymans  <wim@fluendo.com>
18336
18337         * common/check.mak:
18338         Added make forever target for check.
18339
18340 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18341
18342         * gst/gst.c: (init_post):
18343           make the registry cache file HOST_CPU-dependent
18344
18345 2005-12-16  Andy Wingo  <wingo@pobox.com>
18346
18347         * plugins/elements/gstbufferstore.c
18348         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18349         return value.
18350
18351         * tests/check/gst/gstobject.c
18352         (test_fake_object_name_threaded_unique): Pay attention to
18353         g_list_sort return value.
18354
18355 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18356
18357         * tools/gst-feedback-m.m:
18358           Update for 0.9/0.10 (fixes #323870).
18359
18360 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18361
18362         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18363           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18364           
18365         * tests/check/gst/gstminiobject.c: (my_foo_init),
18366         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18367         (test_value_collection), (gst_mini_object_suite):
18368           Add test to ensure refcounts end up as expected when passing
18369           GstMiniObjects through g_object_get() and g_object_set().
18370
18371 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18372
18373         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18374         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18375         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18376         of collectpads. This version removes a lot of races without
18377         touching API/ABI. Yay !
18378
18379 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18380
18381         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18382           Don't allow activation of a srcpad in pull_range if it has no
18383           getrange function.
18384           Change some debug statements to be a little clearer
18385
18386         * plugins/elements/gsttypefindelement.c:
18387         (gst_type_find_handle_src_query):
18388           Check that we have a peer before executing queries thereupon.
18389
18390         * tests/examples/metadata/read-metadata.c: (message_loop):
18391           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18392           immediately return us any available message with 0 timeout.
18393
18394 2005-12-12  Michael Smith  <msmith@fluendo.com>
18395
18396         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18397           Don't unref factories after calling them.
18398         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18399         * plugins/elements/gsttypefindelement.c:
18400         (gst_type_find_element_chain):
18401           Free lists of factories after using them. Fixing typefinding memory
18402           leaks.
18403
18404 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18405
18406         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18407         (gst_plugin_feature_load):
18408           more meaningful debug output
18409         * configure.ac:
18410         * tests/Makefile.am:
18411         * tests/old/examples/Makefile.am:
18412           make make distcheck happy again
18413
18414 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18415
18416         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18417           Catch the special case where we are operating chain-based,
18418           but the downstream peer pad has no chain function. Emit a
18419           custom error message in this case instead of letting the
18420           core generate one implying that this is some sort of core
18421           bug. It's not, it just means that whatever got plugged
18422           into the pipeline downstream when we announced the type
18423           can only operate pull-based, while our source can only
18424           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18425           Error string has not been marked for translation yet, as
18426           it probably needs some more work first.
18427
18428         (gst_type_find_element_get_best_possibility):
18429           Add helper function to find the best of all available
18430           found possibilities that qualify given the min. threshold.
18431
18432         (gst_type_find_element_handle_event):
18433           Fix the case where we get an EOS while still in TYPEFIND
18434           mode (we want to chose the best of all possible types,
18435           not just the first type that happens to be in our unsorted
18436           list of possible types).
18437
18438         (gst_type_find_element_chain):
18439           Make sure we return GST_FLOW_ERROR when we errored out
18440           in stop_typefinding(); also, don't just find the best of
18441           all found type entries and then use the last examined
18442           type entry, but actually use the best entry.
18443
18444 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18445
18446         * tests/examples/typefind/typefind.c: (type_found):
18447         * tests/examples/xml/runxml.c: (xml_loaded):
18448           More gcc4 fixes and a mem leak fix.
18449
18450 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18451
18452         * tests/examples/xml/createxml.c: (object_saved):
18453           gcc 4 fixes
18454
18455 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18456
18457         * tests/Makefile.am:
18458           enable the examples even more
18459
18460 2005-12-12  Andy Wingo  <wingo@pobox.com>
18461
18462         * libs/gst/net/gstnettimeprovider.c
18463         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18464         (gst_net_time_provider_set_property)
18465         (gst_net_time_provider_get_property):
18466         API addition: Export "active" as a GObject property.
18467         (gst_net_time_provider_thread): Only respond to time queries if
18468         the time provider is active.
18469
18470         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18471         NetTimeProvider, preserving binary compat.
18472
18473 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18474
18475         * tests/examples/controller/audio-example.c: (main):
18476         * tests/examples/launch/Makefile.am:
18477           convert comments again
18478
18479 2005-12-12  Wim Taymans  <wim@fluendo.com>
18480
18481         * libs/gst/base/gstpushsrc.c:
18482         Fix typo.
18483
18484 2005-12-12  Wim Taymans  <wim@fluendo.com>
18485
18486         * docs/libs/gstreamer-libs-sections.txt:
18487         Added new symbol to docs.
18488
18489         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18490         (gst_base_src_init), (gst_base_src_set_format),
18491         (gst_base_src_default_query), (gst_base_src_query),
18492         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18493         (gst_base_src_perform_seek), (gst_base_src_send_event),
18494         (gst_base_src_default_event), (gst_base_src_event_handler),
18495         (gst_base_src_set_property), (gst_base_src_get_property),
18496         (gst_base_src_wait), (gst_base_src_do_sync),
18497         (gst_base_src_update_length), (gst_base_src_get_range),
18498         (gst_base_src_check_get_range), (gst_base_src_loop),
18499         (gst_base_src_default_negotiate), (gst_base_src_start),
18500         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18501         (gst_base_src_change_state):
18502         * libs/gst/base/gstbasesrc.h:
18503         Implement seeking to other formats than _BYTES.
18504         Implement more seeking methods correctly.
18505         Doc updates.
18506         Added query vmethod.
18507         Added do_seek vmethod to make life easier for subclasses
18508         when seeking.
18509         API addition: gst_base_src_set_format()
18510
18511 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18512
18513         * tests/examples/Makefile.am:
18514           added that too
18515
18516 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18517
18518         * configure.ac:
18519         * docs/random/ensonic/media-device-daemon.txt:
18520         * tests/examples/controller/.cvsignore:
18521         * tests/examples/controller/Makefile.am:
18522         * tests/examples/controller/audio-example.c: (main):
18523         * tests/examples/helloworld/.cvsignore:
18524         * tests/examples/helloworld/Makefile.am:
18525         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18526         * tests/examples/launch/.cvsignore:
18527         * tests/examples/launch/Makefile.am:
18528         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18529         * tests/examples/metadata/.cvsignore:
18530         * tests/examples/metadata/Makefile.am:
18531         * tests/examples/metadata/read-metadata.c: (message_loop),
18532         (make_pipeline), (print_tag), (main):
18533         * tests/examples/queue/.cvsignore:
18534         * tests/examples/queue/Makefile.am:
18535         * tests/examples/queue/queue.c: (event_loop), (main):
18536         * tests/examples/typefind/.cvsignore:
18537         * tests/examples/typefind/Makefile.am:
18538         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18539         (main):
18540         * tests/examples/xml/.cvsignore:
18541         * tests/examples/xml/Makefile.am:
18542         * tests/examples/xml/createxml.c: (object_saved), (main):
18543         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18544         * tests/old/examples/Makefile.am:
18545         * tests/old/examples/TODO:
18546         * tests/old/examples/controller/.cvsignore:
18547         * tests/old/examples/controller/Makefile.am:
18548         * tests/old/examples/controller/audio-example.c:
18549         * tests/old/examples/helloworld/.cvsignore:
18550         * tests/old/examples/helloworld/Makefile.am:
18551         * tests/old/examples/helloworld/helloworld.c:
18552         * tests/old/examples/launch/.cvsignore:
18553         * tests/old/examples/launch/Makefile.am:
18554         * tests/old/examples/launch/mp3parselaunch.c:
18555         * tests/old/examples/launch/mp3play:
18556         * tests/old/examples/manual/Makefile.am:
18557         * tests/old/examples/metadata/Makefile.am:
18558         * tests/old/examples/metadata/read-metadata.c:
18559         * tests/old/examples/queue/.cvsignore:
18560         * tests/old/examples/queue/Makefile.am:
18561         * tests/old/examples/queue/queue.c:
18562         * tests/old/examples/typefind/.cvsignore:
18563         * tests/old/examples/typefind/Makefile.am:
18564         * tests/old/examples/typefind/typefind.c:
18565         * tests/old/examples/xml/.cvsignore:
18566         * tests/old/examples/xml/Makefile.am:
18567         * tests/old/examples/xml/createxml.c:
18568         * tests/old/examples/xml/runxml.c:
18569           applied some simple fixing to some examples
18570           re-enabled the working examples
18571
18572 2005-12-12  Wim Taymans  <wim@fluendo.com>
18573
18574         * gst/gstsegment.c: (gst_segment_init),
18575         (gst_segment_set_last_stop), (gst_segment_set_seek),
18576         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18577         (gst_segment_to_running_time):
18578         Added more documentation.
18579         Make sure the last_pos value is updated properly.
18580         Make sure to_stream_time and to_running_time don't
18581         operate on wrong values.
18582
18583         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18584         Update check.
18585
18586 2005-12-12  Michael Smith  <msmith@fluendo.com>
18587
18588         * plugins/elements/gsttypefindelement.c: (free_entry),
18589         (gst_type_find_element_chain):
18590           Now that we're not leaking factories, make sure we keep references
18591           to them while we need them.
18592
18593 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18594
18595         * tests/check/gst/struct_i386.h:
18596           ifdef out the XML structs
18597
18598 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18599
18600         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18601           floor is not needed, F is always positive; this obviates the
18602           need for adding -lm when building without libxml
18603
18604 2005-12-12  Wim Taymans  <wim@fluendo.com>
18605
18606         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18607         Take current playback rate into account when reporting
18608         the position.
18609
18610 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18611
18612         * docs/manual/mime-world.fig:
18613           Let's try this again, this time with a file that is
18614           actually in XFig format.
18615
18616 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18617
18618         * docs/manual/mime-world.fig:
18619           Add audioconvert element to diagram so that it
18620           matches the text and the code (fixes #319526).
18621
18622 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18623
18624         * docs/pwg/building-chainfn.xml:
18625         * docs/pwg/building-pads.xml:
18626         * docs/pwg/building-state.xml:
18627         * docs/pwg/other-source.xml:
18628           Update state change stuff for 0.10 (fixes #322969).
18629
18630 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18631
18632         * docs/manual/advanced-dataaccess.xml:
18633         * docs/manual/appendix-checklist.xml:
18634         * docs/manual/appendix-programs.xml:
18635         * docs/manual/basics-pads.xml:
18636         * docs/manual/highlevel-components.xml:
18637         * docs/manual/manual.xml:
18638           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18639           add converters in front of pipelines; remove curly
18640           brackets for threads stuff, they no longer exist; use
18641           GST_TYPE_FRACTION for framerates; update some pieces of
18642           code to 0.10, but there's plenty more to do.
18643
18644         * docs/manual/appendix-porting.xml:
18645           Expand on asynchroneous state changes; s/0.9/0.10/;
18646           mention disappearance of gst_init_get_popt_table()
18647           (fixes #322916).
18648
18649 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18650
18651         * docs/faq/using.xml:
18652           Spider no longer exists, and neither does gst-launch-ext.
18653           Update examples to use decodebin and playbin and put
18654           converters in front of sinks (fixes #323726).
18655
18656 2005-12-09  Michael Smith  <msmith@fluendo.com>
18657
18658         * plugins/elements/gsttypefindelement.c: (find_peek),
18659         (gst_type_find_element_chain):
18660           Fix leaking element factories in typefinding.
18661           Fix problem where we forgot about a probable type on non-seekable
18662           files, and thus later mis-typefound it.
18663
18664 2005-12-09  Michael Smith  <msmith@fluendo.com>
18665
18666         * common/m4/gst-makecontext.m4:
18667         * common/m4/gst-mcsc.m4:
18668         * configure.ac:
18669         * win32/common/config.h:
18670         * win32/common/config.h.in:
18671           Remove makecontext stuff; not used in 0.10 and causes problems on
18672           HPUX according to bug #322441
18673
18674 2005-12-07  Wim Taymans  <wim@fluendo.com>
18675
18676         * tests/check/Makefile.am:
18677         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18678         (main):
18679         * tests/check/libs/struct_i386.h:
18680         Added ABI check for libs
18681
18682 2005-12-07  Wim Taymans  <wim@fluendo.com>
18683
18684         * tests/check/Makefile.am:
18685         And add the struct_i386.h to dist.
18686
18687 2005-12-07  Wim Taymans  <wim@fluendo.com>
18688
18689         * tests/check/Makefile.am:
18690         * tests/check/gst/.cvsignore:
18691         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18692         (main):
18693         * tests/check/gst/struct_i386.h:
18694         Added check for ABI compatibility.
18695
18696 2005-12-07  Wim Taymans  <wim@fluendo.com>
18697
18698         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18699         (gst_fake_src_get_times), (gst_fake_src_create):
18700         Fix broken sync option, fixes #323259
18701
18702 2005-12-07  Wim Taymans  <wim@fluendo.com>
18703
18704         * gst/gstbuffer.c:
18705         Small docs update.
18706
18707         * gst/gstcaps.c: (gst_caps_is_equal):
18708         Don't assert on NULL <--> X. Fixes #323260
18709
18710         * gst/gstminiobject.c: (gst_mini_object_replace):
18711         If we're doing atomic operations, we might just as well use
18712         the proper way to get an atomic pointer.
18713
18714         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18715         Clean up debugging.
18716
18717 2005-12-07  Michael Smith  <msmith@fluendo.com>
18718
18719         * gst/parse/grammar.y:
18720           Remove handling of { } for threads.
18721
18722 2005-12-06  David Schleef  <ds@schleef.org>
18723
18724         * libs/gst/base/gstbasetransform.c: speling fix.
18725
18726 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18727
18728         * docs/libs/tmpl/gstdataprotocol.sgml:
18729         * docs/random/omega/testing/gstobject.c:
18730         * gst/gst.c:
18731         * gst/gstclock.c:
18732         * gst/gstelement.c:
18733         * gst/gstelementfactory.c:
18734         * gst/gsterror.c:
18735         * gst/gstevent.c:
18736         * gst/gstghostpad.c:
18737         * gst/gstinfo.c:
18738         * gst/gstpadtemplate.c:
18739         * gst/gstregistryxml.c:
18740         * gst/gsttaglist.c:
18741         * gst/gsttagsetter.c:
18742         * gst/gsttypefind.c:
18743         * gst/gstvalue.c:
18744         * libs/gst/base/gstbasesrc.c:
18745         * libs/gst/net/gstnetclientclock.c:
18746         * libs/gst/net/gstnettimeprovider.c:
18747         * plugins/elements/gstfakesrc.c:
18748         * plugins/elements/gstfdsrc.c:
18749         * plugins/elements/gstfilesrc.c:
18750         * plugins/elements/gstidentity.c:
18751         * plugins/elements/gstqueue.c:
18752         * plugins/elements/gsttypefindelement.c:
18753         * plugins/indexers/gstfileindex.c:
18754         * plugins/indexers/gstmemindex.c:
18755         * tests/check/gst/gsttag.c:
18756         * tests/old/examples/cutter/cutter.c:
18757         * tests/old/examples/mixer/mixer.c:
18758         * tests/old/examples/xml/runxml.c: (main):
18759         * tests/old/testsuite/caps/normalisation.c:
18760         * tests/old/testsuite/debug/global.c:
18761         * tests/old/testsuite/parse/parse1.c:
18762         * tools/gst-xmlinspect.c:
18763         * win32/common/dirent.c:
18764           expand tabs
18765
18766 === release 0.10.0 ===
18767
18768 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18769
18770         * configure.ac:
18771           releasing 0.10.0, "Maroilles"
18772
18773 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18774
18775         submitted by: Funda Wang <fundawang@linux.net.cn>
18776
18777         * po/LINGUAS:
18778         * po/zh_CN.po:
18779           added Chinese (Traditional) translation
18780
18781 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18782
18783         * docs/gst/gstreamer-sections.txt:
18784         * docs/libs/tmpl/gstdataprotocol.sgml:
18785         * docs/random/thomasvs/TODO:
18786         * gst/gstutils.c:
18787         * gst/gstutils.h:
18788           fix docs
18789
18790 2005-12-05  Andy Wingo  <wingo@pobox.com>
18791
18792         patch by: Wim Taymans <wim@fluendo.com>
18793
18794         * libs/gst/base/gstbasetransform.c
18795         (gst_base_transform_prepare_output_buf)
18796         (gst_base_transform_buffer_alloc):
18797         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18798         alloc_buffer_and_set_caps.
18799
18800         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18801         set_caps on the source pad.
18802         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18803         alloc_buffer used to do. Fixes #322874.
18804
18805         * docs/gst/gstreamer-sections.txt: 
18806         * docs/design/part-negotiation.txt: 
18807         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18808         changes.
18809
18810 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18811
18812         patch by: Sebastien Moutte
18813
18814         * win32/MANIFEST:
18815         * win32/common/config.h.in:
18816         * win32/vs6/libgstcontroller.dsp:
18817           win32 build fixes
18818
18819 2005-12-05  Wim Taymans  <wim@fluendo.com>
18820
18821         * gst/gstcaps.c: (gst_caps_is_equal):
18822         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18823         (gst_fake_src_create):
18824         Back out previous code changes, leave doc updates, file bugs 
18825         instead. 
18826
18827 2005-12-05  Wim Taymans  <wim@fluendo.com>
18828
18829         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18830         (gst_fake_src_get_times), (gst_fake_src_create):
18831         * plugins/elements/gstfakesrc.h:
18832         Fix broken sync code.
18833
18834 2005-12-05  Wim Taymans  <wim@fluendo.com>
18835
18836         * gst/gstcaps.c: (gst_caps_is_equal):
18837         Comparing NULL against !NULL yields different caps, not a
18838         failure.
18839
18840 2005-12-05  Wim Taymans  <wim@fluendo.com>
18841
18842         * gst/gstpipeline.c:
18843         Fix small typo in docs.
18844
18845 2005-12-05  Andy Wingo  <wingo@pobox.com>
18846
18847         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18848
18849         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18850         registries/plugins with a MAJORMINOR one.
18851         (plugin_desc): Rename library from gstcoreleements to
18852         staticelements. Fixes #323222.
18853
18854 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18855
18856         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18857           Change debug category to 'collectpads' from 'collect_pads'
18858           (fixes #323250).
18859
18860 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18861
18862         patch by: Sebastien Moutte
18863
18864         * libs/gst/controller/gstinterpolation.c:
18865           use convert function for uint64/double
18866         * win32/vs6/libgstcontroller.dsp:
18867           link to GLib
18868
18869 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18870
18871         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18872         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18873         * gst/gstutils.h:
18874         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18875           add tests that seem to show that the guint64/gdouble conversions
18876           are correct.
18877
18878 2005-12-02  Wim Taymans  <wim@fluendo.com>
18879
18880         * gst/gstregistry.c: (gst_registry_add_path):
18881         * gst/gstregistry.h:
18882         * gst/gstregistryxml.c:
18883         Fix docs again.
18884
18885 2005-12-02  Wim Taymans  <wim@fluendo.com>
18886
18887         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18888         (gst_util_uint64_scale_int):
18889         Small cleanup.
18890
18891         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18892         Add debug log line.
18893
18894         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18895         Add FIXME.
18896
18897 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18898
18899         * win32/MANIFEST:
18900         * win32/common/config.h:
18901         * win32/vs6/gstreamer.dsw:
18902         * win32/vs6/libgstcoreelements.dsp:
18903         * win32/vs6/libgstelements.dsp:
18904           renamed core elements plugin
18905
18906 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18907
18908         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18909         (get_candidates):
18910           do piece-wise major/minor comparison so 0.9 < 0.10
18911           also allow .exe extensions for tools
18912
18913 2005-12-02  Michael Smith  <msmith@fluendo.com>
18914
18915         * gst/gst.c:
18916           Escape a % to make gtkdoc happier; bug 322958.
18917
18918 === release 0.9.7 ===
18919
18920 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18921
18922         * configure.ac:
18923           releasing 0.9.7, "My Dog Has No Nose"
18924
18925 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18926
18927         * common/gst-xmlinspect.py:
18928         * configure.ac:
18929         * docs/libs/tmpl/gstdataprotocol.sgml:
18930         * docs/random/release:
18931         * po/af.po:
18932         * po/az.po:
18933         * po/bg.po:
18934         * po/ca.po:
18935         * po/cs.po:
18936         * po/de.po:
18937         * po/en_GB.po:
18938         * po/fr.po:
18939         * po/it.po:
18940         * po/nb.po:
18941         * po/nl.po:
18942         * po/ru.po:
18943         * po/sq.po:
18944         * po/sr.po:
18945         * po/sv.po:
18946         * po/tr.po:
18947         * po/uk.po:
18948         * po/vi.po:
18949         * win32/common/config.h:
18950         * win32/common/config.h.in:
18951         * win32/vs6/gst_inspect.dsp:
18952         * win32/vs6/gst_launch.dsp:
18953         * win32/vs6/libgstbase.dsp:
18954         * win32/vs6/libgstelements.dsp:
18955         * win32/vs6/libgstreamer.dsp:
18956         * win32/vs7/GStreamer.vcproj:
18957         * win32/vs7/gst-inspect.vcproj:
18958         * win32/vs7/gst-launch.vcproj:
18959         * win32/vs7/libgstbase.vcproj:
18960           bump GST_MAJORMINOR to 0.10
18961           reset libtool version
18962
18963 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18964
18965         * po/LINGUAS:
18966         * po/bg.po:
18967           Added Bulgarian translation by (Alexander Shopov)
18968
18969 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18970
18971         * tests/check/gst/gstplugin.c:
18972           fix test
18973
18974 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18975
18976         * common/gst-xmlinspect.py:
18977         * common/gtk-doc-plugins.mak:
18978         * configure.ac:
18979         * docs/Makefile.am:
18980         * docs/gst/Makefile.am:
18981         * docs/gst/gstreamer-docs.sgml:
18982         * docs/gst/gstreamer-sections.txt:
18983         * docs/gst/gstreamer.types:
18984         * docs/gst/gstreamer.types.in:
18985         * docs/plugins/Makefile.am:
18986         * docs/plugins/gstreamer-plugins-docs.sgml:
18987         * docs/plugins/gstreamer-plugins-sections.txt:
18988         * docs/plugins/gstreamer-plugins.types:
18989         * docs/plugins/inspect.stamp:
18990         * docs/plugins/inspect/plugin-coreelements.xml:
18991         * docs/plugins/inspect/plugin-coreindexers.xml:
18992         * docs/plugins/scanobj-build.stamp:
18993         * gstreamer.spec.in:
18994         * plugins/elements/Makefile.am:
18995         * plugins/elements/gstelements.c:
18996         * plugins/elements/gstfakesink.c:
18997         * plugins/elements/gstfakesrc.c:
18998         * plugins/elements/gstfilesink.c:
18999         * plugins/elements/gstfilesrc.c:
19000         * plugins/elements/gstqueue.c:
19001         * plugins/indexers/Makefile.am:
19002         * plugins/indexers/gstindexers.c:
19003           document core plugins in a separate document just like all the
19004           others
19005           rename these plugins to something starting with core
19006
19007 2005-12-01  Andy Wingo  <wingo@pobox.com>
19008
19009         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19010         padding here before, but it missed the commit.
19011
19012 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19013
19014         * libs/gst/controller/gstinterpolation.c:
19015           whitespace prices have crashed, we should feel free to use some now
19016           use gst_guint64_to_gdouble
19017
19018 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19019
19020         * libs/gst/controller/gstcontroller.c:
19021         * libs/gst/controller/gsthelper.c:
19022         * libs/gst/controller/gstinterpolation.c:
19023         * libs/gst/controller/lib.c:
19024           wrap config.h include
19025
19026 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19027
19028         * docs/gst/gstreamer-sections.txt:
19029           update docs
19030
19031 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19032
19033         * plugins/elements/gstelements.c:
19034         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19035         (gst_fd_sink__class_init), (gst_fd_sink__init),
19036         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19037         (gst_fd_sink__get_property):
19038         * plugins/elements/gstfdsink.h:
19039         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19040         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19041         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19042         (gst_fd_src_unlock), (gst_fd_src_set_property),
19043         (gst_fd_src_get_property), (gst_fd_src_create),
19044         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19045         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19046         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19047         (gst_fd_src_uri_handler_init):
19048         * plugins/elements/gstfdsrc.h:
19049         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19050           more anal cleanup
19051
19052 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19053
19054         * docs/gst/Makefile.am:
19055         * docs/gst/gstreamer.types.in:
19056         * gst/Makefile.am:
19057           fix the docs build
19058
19059 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19060
19061         * configure.ac:
19062         * gst/Makefile.am:
19063         * gst/gst.c:
19064         * gst/gstplugin.h:
19065         * gst/gstregistry.h:
19066         * tests/benchmarks/complexity.c:
19067         * tests/benchmarks/mass-elements.c:
19068         * tests/check/Makefile.am:
19069         * tools/Makefile.am:
19070         * tools/gst-inspect.c:
19071         * tools/gst-xmlinspect.c:
19072           various fixes to make
19073           --disable-nls --disable-registry --disable-loadsave
19074           --disable-parse --disable-gst-debug
19075           work and get the core .so down to 360444 bytes after stripping
19076
19077 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19078
19079         * Makefile.am:
19080         * configure.ac:
19081           descend into tests
19082         * docs/random/thomasvs/TODO:
19083         * tests/Makefile.am:
19084         * tests/README:
19085           add a README
19086
19087 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19088
19089         * win32/GStreamer.vcproj:
19090         * win32/MANIFEST:
19091         * win32/Makefile:
19092         * win32/Makefile.inspect:
19093         * win32/Makefile.launch:
19094         * win32/Makefile.register:
19095         * win32/README.txt:
19096         * win32/gst-inspect.vcproj:
19097         * win32/gst-launch.vcproj:
19098         * win32/gst-register.vcproj:
19099         * win32/gstelements.vcproj:
19100         * win32/gstgetbits.def:
19101         * win32/gstgetbits.vcproj:
19102         * win32/gstreamer-dbg.def:
19103         * win32/gstreamer.def:
19104         * win32/libgstbase.def:
19105         * win32/libgstbase.vcproj:
19106         * win32/link_oldruntime.c:
19107         * win32/mman.c:
19108         * win32/mman.h:
19109         * win32/mman.inl:
19110         * win32/msvc71.sln:
19111           move even more stuff, win32/ is nice and clean now
19112
19113 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19114
19115         * libs/gst/control/.cvsignore:
19116         * win32/MANIFEST:
19117         * win32/config.h:
19118         * win32/dirent.c:
19119         * win32/dirent.h:
19120         * win32/gstbytestream.def:
19121         * win32/gstbytestream.vcproj:
19122         * win32/gstconfig.h:
19123         * win32/gstenumtypes.c:
19124         * win32/gstenumtypes.h:
19125         * win32/gstoptimalscheduler.vcproj:
19126         * win32/gstversion.h:
19127         * win32/gtchar.h:
19128         * win32/testsuite/bins.vcproj:
19129         * win32/testsuite/bytestream.vcproj:
19130         * win32/testsuite/caps.vcproj:
19131         * win32/testsuite/cleanup.vcproj:
19132         * win32/testsuite/clock.vcproj:
19133         * win32/testsuite/debug.vcproj:
19134         * win32/testsuite/dlopen.vcproj:
19135         * win32/testsuite/dynparams.vcproj:
19136         * win32/testsuite/elements.vcproj:
19137         * win32/testsuite/ghostpads.vcproj:
19138         * win32/testsuite/indexers.vcproj:
19139         * win32/testsuite/negotiation.vcproj:
19140         * win32/testsuite/parse.vcproj:
19141         * win32/testsuite/plugin.vcproj:
19142         * win32/testsuite/refcounting.vcproj:
19143         * win32/testsuite/schedulers.vcproj:
19144         * win32/testsuite/states.vcproj:
19145         * win32/testsuite/tags.vcproj:
19146         * win32/testsuite/threads.vcproj:
19147           remove old win32 stuff that isn't maintained and should be
19148           reorganized
19149
19150 2005-11-30  Andy Wingo  <wingo@pobox.com>
19151
19152         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19153         loading the gst.interfaces python module bork.
19154
19155         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19156         available since GLib 2.2. Fixes #318031.
19157
19158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19159
19160         * Makefile.am:
19161         * check/.cvsignore:
19162         * check/Makefile.am:
19163         * check/elements/.cvsignore:
19164         * check/elements/fakesrc.c:
19165         * check/elements/fdsrc.c:
19166         * check/elements/identity.c:
19167         * check/generic/.cvsignore:
19168         * check/generic/states.c:
19169         * check/gst-libs/.cvsignore:
19170         * check/gst-libs/controller.c:
19171         * check/gst-libs/gdp.c:
19172         * check/gst/.cvsignore:
19173         * check/gst/capslist.h:
19174         * check/gst/gst.c:
19175         * check/gst/gstbin.c:
19176         * check/gst/gstbuffer.c:
19177         * check/gst/gstbus.c:
19178         * check/gst/gstcaps.c:
19179         * check/gst/gstelement.c:
19180         * check/gst/gstevent.c:
19181         * check/gst/gstghostpad.c:
19182         * check/gst/gstiterator.c:
19183         * check/gst/gstmessage.c:
19184         * check/gst/gstminiobject.c:
19185         * check/gst/gstobject.c:
19186         * check/gst/gstpad.c:
19187         * check/gst/gstpipeline.c:
19188         * check/gst/gstplugin.c:
19189         * check/gst/gstsegment.c:
19190         * check/gst/gststructure.c:
19191         * check/gst/gstsystemclock.c:
19192         * check/gst/gsttag.c:
19193         * check/gst/gstutils.c:
19194         * check/gst/gstvalue.c:
19195         * check/net/.cvsignore:
19196         * check/net/gstnetclientclock.c:
19197         * check/net/gstnettimeprovider.c:
19198         * check/pipelines/.cvsignore:
19199         * check/pipelines/cleanup.c:
19200         * check/pipelines/simple_launch_lines.c:
19201         * check/pipelines/stress.c:
19202         * check/states/.cvsignore:
19203         * check/states/sinks.c:
19204         * configure.ac:
19205         * examples/Makefile.am:
19206         * examples/appreader/.cvsignore:
19207         * examples/appreader/Makefile.am:
19208         * examples/appreader/appreader.c:
19209         * examples/controller/.cvsignore:
19210         * examples/controller/Makefile.am:
19211         * examples/controller/audio-example.c:
19212         * examples/cutter/.cvsignore:
19213         * examples/cutter/Makefile.am:
19214         * examples/cutter/cutter.c:
19215         * examples/cutter/cutter.h:
19216         * examples/events/Makefile.am:
19217         * examples/events/seek.c:
19218         * examples/helloworld/.cvsignore:
19219         * examples/helloworld/Makefile.am:
19220         * examples/helloworld/helloworld.c:
19221         * examples/helloworld2/.cvsignore:
19222         * examples/helloworld2/Makefile.am:
19223         * examples/helloworld2/helloworld2.c:
19224         * examples/launch/.cvsignore:
19225         * examples/launch/Makefile.am:
19226         * examples/launch/mp3parselaunch.c:
19227         * examples/launch/mp3play:
19228         * examples/manual/.cvsignore:
19229         * examples/manual/Makefile.am:
19230         * examples/manual/extract.pl:
19231         * examples/metadata/Makefile.am:
19232         * examples/metadata/read-metadata.c:
19233         * examples/mixer/.cvsignore:
19234         * examples/mixer/Makefile.am:
19235         * examples/mixer/mixer.c:
19236         * examples/mixer/mixer.h:
19237         * examples/pingpong/.cvsignore:
19238         * examples/pingpong/Makefile.am:
19239         * examples/pingpong/pingpong.c:
19240         * examples/plugins/.cvsignore:
19241         * examples/plugins/Makefile.am:
19242         * examples/plugins/example.c:
19243         * examples/plugins/example.h:
19244         * examples/pwg/.cvsignore:
19245         * examples/pwg/Makefile.am:
19246         * examples/pwg/extract.pl:
19247         * examples/queue/.cvsignore:
19248         * examples/queue/Makefile.am:
19249         * examples/queue/queue.c:
19250         * examples/queue2/.cvsignore:
19251         * examples/queue2/Makefile.am:
19252         * examples/queue2/queue2.c:
19253         * examples/queue3/.cvsignore:
19254         * examples/queue3/Makefile.am:
19255         * examples/queue3/queue3.c:
19256         * examples/queue4/.cvsignore:
19257         * examples/queue4/Makefile.am:
19258         * examples/queue4/queue4.c:
19259         * examples/retag/.cvsignore:
19260         * examples/retag/Makefile.am:
19261         * examples/retag/retag.c:
19262         * examples/retag/transcode.c:
19263         * examples/thread/.cvsignore:
19264         * examples/thread/Makefile.am:
19265         * examples/thread/thread.c:
19266         * examples/typefind/.cvsignore:
19267         * examples/typefind/Makefile.am:
19268         * examples/typefind/typefind.c:
19269         * examples/xml/.cvsignore:
19270         * examples/xml/Makefile.am:
19271         * examples/xml/createxml.c:
19272         * examples/xml/runxml.c:
19273         * tests/Makefile.am:
19274         * tests/check/Makefile.am:
19275         * testsuite/.cvsignore:
19276         * testsuite/Makefile.am:
19277         * testsuite/Rules:
19278         * testsuite/caps/.cvsignore:
19279         * testsuite/caps/Makefile.am:
19280         * testsuite/caps/app_fixate.c:
19281         * testsuite/caps/audioscale.c:
19282         * testsuite/caps/caps.c:
19283         * testsuite/caps/caps.h:
19284         * testsuite/caps/caps_strings:
19285         * testsuite/caps/compatibility.c:
19286         * testsuite/caps/deserialize.c:
19287         * testsuite/caps/enumcaps.c:
19288         * testsuite/caps/eratosthenes.c:
19289         * testsuite/caps/filtercaps.c:
19290         * testsuite/caps/fixed.c:
19291         * testsuite/caps/fraction-convert.c:
19292         * testsuite/caps/fraction-multiply-and-zero.c:
19293         * testsuite/caps/intersect2.c:
19294         * testsuite/caps/intersection.c:
19295         * testsuite/caps/normalisation.c:
19296         * testsuite/caps/random.c:
19297         * testsuite/caps/renegotiate.c:
19298         * testsuite/caps/sets.c:
19299         * testsuite/caps/simplify.c:
19300         * testsuite/caps/string-conversions.c:
19301         * testsuite/caps/structure.c:
19302         * testsuite/caps/subtract.c:
19303         * testsuite/caps/union.c:
19304         * testsuite/debug/.cvsignore:
19305         * testsuite/debug/Makefile.am:
19306         * testsuite/debug/category.c:
19307         * testsuite/debug/commandline.c:
19308         * testsuite/debug/global.c:
19309         * testsuite/debug/output.c:
19310         * testsuite/debug/printf_extension.c:
19311         * testsuite/dlopen/.cvsignore:
19312         * testsuite/dlopen/Makefile.am:
19313         * testsuite/dlopen/dlopen_gst.c:
19314         * testsuite/dlopen/loadgst.c:
19315         * testsuite/elements/.cvsignore:
19316         * testsuite/elements/Makefile.am:
19317         * testsuite/elements/gst-inspect-check.in:
19318         * testsuite/elements/struct_i386.h:
19319         * testsuite/elements/struct_size.c:
19320         * testsuite/indexers/.cvsignore:
19321         * testsuite/indexers/Makefile.am:
19322         * testsuite/indexers/cache1.c:
19323         * testsuite/indexers/indexdump.c:
19324         * testsuite/parse/.cvsignore:
19325         * testsuite/parse/Makefile.am:
19326         * testsuite/parse/parse1.c:
19327         * testsuite/parse/parse2.c:
19328         * testsuite/plugin/.cvsignore:
19329         * testsuite/plugin/Makefile.am:
19330         * testsuite/plugin/README:
19331         * testsuite/plugin/dynamic.c:
19332         * testsuite/plugin/linked.c:
19333         * testsuite/plugin/loading.c:
19334         * testsuite/plugin/registry.c:
19335         * testsuite/plugin/static.c:
19336         * testsuite/plugin/static2.c:
19337         * testsuite/plugin/testplugin.c:
19338         * testsuite/plugin/testplugin2.c:
19339         * testsuite/plugin/testplugin2_s.c:
19340         * testsuite/plugin/testplugin_s.c:
19341         * testsuite/refcounting/.cvsignore:
19342         * testsuite/refcounting/Makefile.am:
19343         * testsuite/refcounting/bin.c:
19344         * testsuite/refcounting/element.c:
19345         * testsuite/refcounting/element_pad.c:
19346         * testsuite/refcounting/mainloop.c:
19347         * testsuite/refcounting/mem.c:
19348         * testsuite/refcounting/mem.h:
19349         * testsuite/refcounting/object.c:
19350         * testsuite/refcounting/pad.c:
19351         * testsuite/refcounting/sched.c:
19352         * testsuite/refcounting/thread.c:
19353         * testsuite/states/.cvsignore:
19354         * testsuite/states/Makefile.am:
19355         * testsuite/states/bin.c:
19356         * testsuite/states/locked.c:
19357         * testsuite/states/parent.c:
19358         * testsuite/threads/.cvsignore:
19359         * testsuite/threads/159566.c:
19360         * testsuite/threads/159852.c:
19361         * testsuite/threads/Makefile.am:
19362         * testsuite/threads/queue.c:
19363         * testsuite/threads/signals.c:
19364         * testsuite/threads/staticrec.c:
19365         * testsuite/threads/thread.c:
19366         * testsuite/threads/threadb.c:
19367         * testsuite/threads/threadc.c:
19368         * testsuite/threads/threadd.c:
19369         * testsuite/threads/threade.c:
19370         * testsuite/threads/threadf.c:
19371         * testsuite/threads/threadg.c:
19372         * testsuite/threads/threadh.c:
19373         * testsuite/threads/threadi.c:
19374           move all of these under tests
19375
19376 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19377
19378         * configure.ac:
19379         * tests/Makefile.am:
19380           fix distcheck
19381
19382 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19383
19384         * docs/gst/gstreamer-sections.txt:
19385         * tests/sched/.cvsignore:
19386         * tests/sched/Makefile.am:
19387         * tests/sched/cases/(fs-fs).xml:
19388         * tests/sched/cases/(fs-i-fs).xml:
19389         * tests/sched/cases/(fs-i-i-fs).xml:
19390         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19391         * tests/sched/dynamic-pipeline.c:
19392         * tests/sched/interrupt1.c:
19393         * tests/sched/interrupt2.c:
19394         * tests/sched/interrupt3.c:
19395         * tests/sched/runtestcases:
19396         * tests/sched/runxml.c:
19397         * tests/sched/sched-stress.c:
19398         * tests/sched/sort.c:
19399         * tests/sched/testcases:
19400         * tests/sched/testcases1.tc:
19401         * tests/seeking/.cvsignore:
19402         * tests/seeking/Makefile.am:
19403         * tests/seeking/seeking1.c:
19404         * tests/threadstate/.cvsignore:
19405         * tests/threadstate/Makefile.am:
19406         * tests/threadstate/test1.c:
19407         * tests/threadstate/test2.c:
19408         * tests/threadstate/threadstate1.c:
19409         * tests/threadstate/threadstate2.c:
19410         * tests/threadstate/threadstate3.c:
19411         * tests/threadstate/threadstate4.c:
19412         * tests/threadstate/threadstate5.c:
19413           remove obsolete tests
19414         * configure.ac:
19415         * tests/bench-complexity.scm:
19416         * tests/bench-mass_elements.scm:
19417         * tests/complexity.c:
19418         * tests/complexity.gnuplot:
19419         * tests/instantiate/.cvsignore:
19420         * tests/instantiate/Makefile.am:
19421         * tests/instantiate/caps.c:
19422         * tests/mass_elements.c:
19423         * tests/network-clock-utils.scm:
19424         * tests/network-clock.scm:
19425         * tests/plot-data:
19426         First pass at cleaning up tests/ dir before moving the rest
19427         Combined with CVS surgery
19428
19429 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19430
19431         * po/POTFILES.in:
19432           queue has moved, update
19433
19434 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19435
19436         * docs/gst/gstreamer-sections.txt:
19437           remove double entries from the docs
19438         * gst/gst_private.h:
19439         * gst/gstinfo.c: (_gst_debug_init):
19440           remove the THREAD debug category
19441         * gst/Makefile.am:
19442         * gst/gstqueue.c:
19443         * gst/gstqueue.h:
19444         * docs/gst/gstreamer.types:
19445         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19446         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19447           completely move queue and fix up debugging categories
19448
19449 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19450
19451         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19452           make initialization portable, using LL is not
19453
19454 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19455
19456         * win32/common/gstconfig.h:
19457           add large padding
19458
19459 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19460
19461         * win32/common/libgstreamer.def:
19462           rename symbols; sort base section
19463
19464 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19465
19466         * gst/gstclock.c: (do_linear_regression):
19467           remove crack non-portable handrolled DEBUG macro
19468
19469 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19470
19471         * docs/random/release:
19472           update notes
19473         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19474         (gst_object_flags_get_type), (register_gst_bin_flags),
19475         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19476         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19477         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19478         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19479         (gst_caps_flags_get_type), (register_gst_clock_return),
19480         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19481         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19482         (gst_clock_flags_get_type), (register_gst_state),
19483         (gst_state_get_type), (register_gst_state_change_return),
19484         (gst_state_change_return_get_type), (register_gst_state_change),
19485         (gst_state_change_get_type), (register_gst_element_flags),
19486         (gst_element_flags_get_type), (register_gst_core_error),
19487         (gst_core_error_get_type), (register_gst_library_error),
19488         (gst_library_error_get_type), (register_gst_resource_error),
19489         (gst_resource_error_get_type), (register_gst_stream_error),
19490         (gst_stream_error_get_type), (register_gst_event_type_flags),
19491         (gst_event_type_flags_get_type), (register_gst_event_type),
19492         (gst_event_type_get_type), (register_gst_seek_type),
19493         (gst_seek_type_get_type), (register_gst_seek_flags),
19494         (gst_seek_flags_get_type), (register_gst_format),
19495         (gst_format_get_type), (register_gst_index_certainty),
19496         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19497         (gst_index_entry_type_get_type),
19498         (register_gst_index_lookup_method),
19499         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19500         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19501         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19502         (gst_index_flags_get_type), (register_gst_debug_level),
19503         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19504         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19505         (gst_iterator_result_get_type), (register_gst_iterator_item),
19506         (gst_iterator_item_get_type), (register_gst_message_type),
19507         (gst_message_type_get_type), (register_gst_mini_object_flags),
19508         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19509         (gst_pad_link_return_get_type), (register_gst_flow_return),
19510         (gst_flow_return_get_type), (register_gst_activate_mode),
19511         (gst_activate_mode_get_type), (register_gst_pad_direction),
19512         (gst_pad_direction_get_type), (register_gst_pad_flags),
19513         (gst_pad_flags_get_type), (register_gst_pad_presence),
19514         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19515         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19516         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19517         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19518         (gst_plugin_flags_get_type), (register_gst_rank),
19519         (gst_rank_get_type), (register_gst_query_type),
19520         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19521         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19522         (gst_tag_flag_get_type), (register_gst_task_state),
19523         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19524         (gst_alloc_trace_flags_get_type),
19525         (register_gst_type_find_probability),
19526         (gst_type_find_probability_get_type), (register_gst_uri_type),
19527         (gst_uri_type_get_type), (register_gst_parse_error),
19528         (gst_parse_error_get_type):
19529         * win32/common/gstenumtypes.h:
19530         * win32/common/gstversion.h:
19531           update visual studio generated files
19532
19533 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19534
19535         * win32/vs6/libgstbase.dsp:
19536         * win32/vs6/libgstelements.dsp:
19537           update project files for new locations
19538
19539 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19540
19541         * Makefile.am:
19542           remove some files
19543         * README:
19544           reinstate and update
19545         * DEVEL:
19546         * REQUIREMENTS:
19547           removed
19548         * LICENSE:
19549         * docs/random/LICENSE:
19550           moved to random
19551
19552 2005-11-30  Edward Hervey  <edward@fluendo.com>
19553
19554         * gst/gsttypefind.c: (gst_type_find_register):
19555         * gst/gsttypefind.h:
19556         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19557         (gst_type_find_factory_dispose):
19558         * gst/gsttypefindfactory.h:
19559         Fix memory leak in GstTypeFindFactory.
19560
19561 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19562
19563         * gst/gst.c:
19564         * plugins/elements/Makefile.am:
19565         * plugins/elements/gstelements.c:
19566         * plugins/elements/gstqueue.c:
19567           move queue from core to the elements plugin
19568
19569 2005-11-29  Andy Wingo  <wingo@pobox.com>
19570
19571         * libs/gst/base/gstbasetransform.h: 
19572         * libs/gst/base/gstbasesrc.h: 
19573         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19574
19575         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19576         of pointers by which to pad very extensible base classes (like the
19577         ones in libs/gst/base).
19578
19579 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19580
19581         * docs/gst/gstreamer-docs.sgml:
19582         * docs/gst/gstreamer-sections.txt:
19583         * docs/libs/gstreamer-libs-docs.sgml:
19584         * docs/libs/gstreamer-libs-sections.txt:
19585           moving documentation from core to lib
19586
19587 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19588
19589         * check/Makefile.am:
19590         * configure.ac:
19591         * docs/gst/Makefile.am:
19592         * gst/Makefile.am:
19593         * gst/base/.cvsignore:
19594         * gst/base/Makefile.am:
19595         * gst/base/README:
19596         * gst/base/gstadapter.c:
19597         * gst/base/gstadapter.h:
19598         * gst/base/gstbasesink.c:
19599         * gst/base/gstbasesink.h:
19600         * gst/base/gstbasesrc.c:
19601         * gst/base/gstbasesrc.h:
19602         * gst/base/gstbasetransform.c:
19603         * gst/base/gstbasetransform.h:
19604         * gst/base/gstcollectpads.c:
19605         * gst/base/gstcollectpads.h:
19606         * gst/base/gstpushsrc.c:
19607         * gst/base/gstpushsrc.h:
19608         * gst/base/gsttypefindhelper.c:
19609         * gst/base/gsttypefindhelper.h:
19610         * gst/check/Makefile.am:
19611         * gst/check/gstcheck.c:
19612         * gst/check/gstcheck.h:
19613         * gst/net/Makefile.am:
19614         * gst/net/gstnet.h:
19615         * gst/net/gstnetclientclock.c:
19616         * gst/net/gstnetclientclock.h:
19617         * gst/net/gstnettimepacket.c:
19618         * gst/net/gstnettimepacket.h:
19619         * gst/net/gstnettimeprovider.c:
19620         * gst/net/gstnettimeprovider.h:
19621         * libs/gst/Makefile.am:
19622         * libs/gst/base/Makefile.am:
19623         * libs/gst/base/gstbasetransform.c:
19624         * libs/gst/check/Makefile.am:
19625         * plugins/elements/Makefile.am:
19626         * po/POTFILES.in:
19627           CVS surgery + support to move base, check, and net out of gst
19628           and into libs/gst
19629
19630 2005-11-29  Andy Wingo  <wingo@pobox.com>
19631
19632         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19633
19634         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19635         padding.
19636
19637         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19638
19639         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19640
19641         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19642
19643         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19644         padding; reduces object size by about 30%. We don't expect
19645         anything else to go into gstobject.
19646
19647         * gst/gstminiobject.h (struct _GstMiniObject)
19648         (struct _GstMiniObjectClass): Only one pointer of padding; the
19649         payload is only a pointer and two ints anyway. For the class there
19650         are only two methods as well.
19651         
19652         * gst/gstelement.h (struct _GstElementClass): Removed
19653         the state_changed signal callback, it is not used.
19654
19655 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19656
19657         * docs/gst/gstreamer.types:
19658           fix includes, though they are a little dinky
19659
19660 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19661
19662         * check/Makefile.am:
19663           look in the right place for elements, a lot more chance of
19664           success
19665         * gst/Makefile.am:
19666           remove indexers and elements subdirs
19667         * plugins/Makefile.am:
19668           make indexers conditional
19669
19670 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19671
19672         * Makefile.am:
19673         * configure.ac:
19674         * plugins/elements/Makefile.am:
19675         * plugins/elements/gstcapsfilter.c:
19676         * plugins/elements/gstfilesink.c:
19677         * plugins/elements/gstfilesrc.c:
19678         * plugins/elements/gstidentity.c:
19679         * plugins/indexers/Makefile.am:
19680           do CVS surgery and related build fixery to move elements
19681           and indexers in a new gstreamer/plugins directory, out of the
19682           gst/ directory
19683
19684 2005-11-29  Andy Wingo  <wingo@pobox.com>
19685
19686         * check/Makefile.am:
19687         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19688         * pkgconfig/gstreamer-net.pc.in:
19689         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19690         #322257.
19691
19692 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19693
19694         * tools/Makefile.am:
19695         * tools/gst-complete.1.in:
19696         * tools/gst-complete.c:
19697         * tools/gst-compprep.1.in:
19698         * tools/gst-compprep.c:
19699           removing -compprep and -complete
19700
19701 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19702
19703         * gst/gstevent.c: (gst_event_new_new_segment),
19704         (gst_event_parse_new_segment):
19705         * gst/gstevent.h:
19706           fix #320529 - clean up new_segment API and structure.
19707           Let's hope everyone was using the methods, and not the structure.
19708
19709 2005-11-29  Edward Hervey  <edward@fluendo.com>
19710
19711         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19712         (gst_base_sink_event), (gst_base_sink_do_sync),
19713         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19714         Properly handle non GST_FORMAT_TIME segment
19715         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19716         Properly handle non GST_FORMAT_TIME segment
19717         * gst/gstsegment.c:
19718         This function is valid if the accumulator is 0 and the format
19719         is different from the requested format.
19720         
19721 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19722
19723         * docs/gst/gstreamer-sections.txt:
19724         Add gst_query_new_seeking and gst_query_parse_seeking to the
19725         docs.
19726
19727 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19728
19729         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19730           Treat a pad alloc with new caps the same as if we were not
19731           negotiated, in order to allow a changing upstream output
19732           to produce a new format of data.
19733
19734 2005-11-29  Edward Hervey  <edward@fluendo.com>
19735
19736         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19737         (gst_base_transform_event), (gst_base_transform_eventfunc):
19738         The event virtual method is now properly implemented, with a default
19739         handler
19740         Sub classes should call the parent_class event method. They should
19741         return FALSE if they had a problem handling the given event, or don't
19742         want GstBaseTransform to send that even downstream
19743         * gst/elements/gstidentity.c: (gst_identity_class_init),
19744         (gst_identity_init), (gst_identity_event),
19745         (gst_identity_transform_ip), (gst_identity_set_property),
19746         (gst_identity_get_property):
19747         * gst/elements/gstidentity.h:
19748         Added the single-segment boolean property.
19749         If set to TRUE, it will output a single segment of data, starting from
19750         0, will eat up all incoming newsegment, and modify the timestamp of the
19751         buffers accordingly
19752
19753 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19754
19755         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19756           Don't ref NULL target pad (#322751). Improve docs.
19757
19758 2005-11-29  Michael Smith  <msmith@fluendo.com>
19759
19760         * gst/gstregistryxml.c: (load_plugin):
19761           Don't crash if we failed to load a feature from a plugin. 
19762
19763 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19764
19765         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19766         (GST_START_TEST):
19767           use more check API and less GLib API
19768
19769 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19770
19771         * Makefile.am:
19772           don't run checks if we don't have check
19773         * common/check.mak:
19774           remove the registry when running make torture
19775         * docs/gst/gstreamer-sections.txt:
19776           remove second multiply
19777         * gst/gstqueue.c: (gst_queue_loop):
19778           fix a compile warning when disabling debug
19779
19780 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19781
19782         * gst/gstinfo.h:
19783         Hey! Let's print the pad name if the pointer != NULL instead
19784         of when it == NULL :-)
19785
19786 2005-11-28  Wim Taymans  <wim@fluendo.com>
19787
19788         * check/gst/gstutils.c: (GST_START_TEST):
19789         Updated check, add some scaling accuracy checking code.
19790
19791         * gst/gstutils.c: (gst_util_div128_64),
19792         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19793         (gst_util_uint64_scale_int):
19794         Fix 6 times faster division code. Optimize for common 
19795         1/1 and less common X/1 cases.
19796
19797 2005-11-28  Wim Taymans  <wim@fluendo.com>
19798
19799         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19800         More checks.
19801
19802         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19803         (do_linear_regression), (gst_clock_add_observation):
19804         Cleanups.
19805         Release lock when the clock cannot be slaved.
19806         Catch the case where the regression returned an invalid denominator.
19807
19808         * gst/gstutils.c: (gst_util_div128_64_iterate),
19809         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19810         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19811         Add protentially more performant non-iterative 128/64 divide function
19812         that unfortunatly does not work yet.
19813         Shortcut the trivial 0/X = 0 case.
19814         Remove the warnings on overflow.
19815
19816 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19817
19818         * gst/gstplugin.c: (gst_plugin_register_func):
19819           everything causing a plugin not to load should be at least a WARNING
19820
19821 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19822
19823         * docs/random/ensonic/dparams.txt:
19824           some TODOs for the next dev cycle
19825         * libs/gst/controller/gstcontroller.c:
19826         (gst_controlled_property_set_interpolation_mode),
19827         (gst_controlled_property_new):
19828         * libs/gst/controller/gstcontroller.h:
19829           use base type to assign acccessor functions
19830
19831 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19832
19833         * check/Makefile.am:
19834         Oops, that should have been top_srcdir
19835
19836 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19837
19838         * check/Makefile.am:
19839         * check/elements/fdsrc.c: (GST_START_TEST):
19840         Use a cmdline define to specify the location of a file to use for
19841         testing, to avoid breaking distcheck.
19842
19843 2005-11-28  Andy Wingo  <wingo@pobox.com>
19844
19845         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19846
19847 2005-11-28  Edward Hervey  <edward@fluendo.com>
19848
19849         * tools/gst-launch.c: (main):
19850         Clarify the output strings, makes it easier to translate.
19851         Fixes #322626
19852
19853 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19854
19855         * gst/Makefile.am:
19856           don't try and build net if we don't even have <sys/socket.h>
19857
19858 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19859
19860         * check/Makefile.am:
19861         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19862         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19863           Add tests for fdsrc seekability
19864
19865         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19866         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19867         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19868         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19869         * gst/elements/gstfdsrc.h:
19870           fdsrc should not be a 'live' source.
19871           Implement seeking on seekable fd's.
19872
19873         * gst/gstquery.c: (gst_query_new_seeking),
19874         (gst_query_parse_seeking):
19875         * gst/gstquery.h:
19876           Implement SEEKING query functions: 
19877             *_new_seeking and *_parse_seeking
19878
19879 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19880
19881         * gst/gstelement.c: (gst_element_dispose):
19882           don't loop forever
19883
19884         * gst/gstiterator.c:
19885         * gst/gststructure.c:
19886           doc fixes
19887
19888         * libs/gst/controller/gstcontroller.c:
19889         (gst_controlled_property_set_interpolation_mode):
19890         * libs/gst/controller/gstcontroller.h:
19891         * libs/gst/controller/gstinterpolation.c:
19892         (interpolate_none_get_enum_value_array):
19893           support controlling enums
19894
19895 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19896
19897         * gst/gstvalue.c:
19898           Improve documentation for gst_value_union().
19899
19900         * gst/gstvalue.h:
19901           Change return value for union, intersect and subtract functions
19902           from gint to gboolean.
19903
19904 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19905
19906         * gst/gstvalue.c: (gst_value_serialize_any_list),
19907         (gst_value_transform_any_list_string),
19908         (gst_value_deserialize_list), (gst_value_deserialize_array),
19909         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19910         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19911         (gst_value_set_fraction_range_full),
19912         (gst_value_deserialize_fraction_range),
19913         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19914         (gst_value_deserialize_boolean),
19915         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19916         (gst_value_serialize_float), (gst_value_deserialize_float),
19917         (gst_string_wrap), (gst_value_deserialize_string),
19918         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19919         (gst_value_union_int_range_int_range),
19920         (gst_value_intersect_int_range_int_range),
19921         (gst_value_intersect_double_range_double_range),
19922         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19923         (gst_value_subtract_int_range_int_range),
19924         (gst_value_subtract_double_double_range),
19925         (gst_value_subtract_double_range_double_range),
19926         (gst_value_deserialize_fraction):
19927         * gst/gstvalue.h:
19928           Use gint, gdouble and gchar in our API instead of int, double and
19929           char (and make usage in gstvalue.c more consistent).
19930
19931 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19932
19933         * check/Makefile.am:
19934         * libs/gst/controller/Makefile.am:
19935         * libs/gst/dataprotocol/Makefile.am:
19936           fix up Makefile.am and remove GST_ENABLE_NEW
19937
19938 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19939
19940         * configure.ac:
19941         * gst/Makefile.am:
19942         * gst/base/Makefile.am:
19943         * gst/check/Makefile.am:
19944         * gst/elements/Makefile.am:
19945         * gst/net/Makefile.am:
19946           update LDFLAGS use some more
19947
19948 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19949
19950         * common/m4/gst-doc.m4:
19951           Fixes #312589
19952
19953 2005-11-26  Edward Hervey  <edward@fluendo.com>
19954
19955         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19956         This shouldn't issue a g_warning since it returns NULL if it
19957         couldn't find the plugin, and all functions using this behave
19958         properly on a NULL return. Switching to a GST_WARNING.
19959
19960 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19961
19962         * gst/gstbin.c: (gst_bin_handle_message_func):
19963         Don't leak clock messages.
19964
19965 2005-11-25  Wim Taymans  <wim@fluendo.com>
19966
19967         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19968         (gst_util_uint64_scale_int):
19969         Optimisations, remove unneeded vars.
19970
19971 2005-11-25  Wim Taymans  <wim@fluendo.com>
19972
19973         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19974         Added more checks for the high precision uint64 cases.
19975
19976         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19977         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19978         Implement high precision (guint64 * guint64) / guint64.
19979
19980 2005-11-24  Wim Taymans  <wim@fluendo.com>
19981
19982         * gst/base/gstbasesrc.c: (gst_base_src_query):
19983         Fix wrong percentage query.
19984
19985         * gst/gstutils.c: (gst_util_uint64_scale),
19986         (gst_util_uint64_scale_int):
19987         Add some more common cases that can be handled 
19988         efficiently to _scale.
19989
19990 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19991
19992         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19993         (gst_mini_object_suite):
19994           don't use check calls from threads; check probably isn't
19995           threadsafe and using a lock to make it threadsafe would
19996           defeat the purpose of this check
19997         * gst/check/gstcheck.c:
19998         * gst/check/gstcheck.h:
19999           use GST_DEBUG some more
20000
20001 2005-11-24  Wim Taymans  <wim@fluendo.com>
20002
20003         * gst/gstutils.c: (gst_util_uint64_scale),
20004         (gst_util_uint64_scale_int):
20005         Chain trivial case to _scale_int.
20006
20007 2005-11-24  Wim Taymans  <wim@fluendo.com>
20008
20009         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20010         Added test for scaling.
20011
20012         * gst/gstclock.h:
20013         Small doc fix.
20014
20015         * gst/gstutils.c: (gst_util_uint64_scale_int):
20016         Implemented high precision scaling code.
20017
20018 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20019
20020         * gst/gstinfo.h:
20021           do not crash on pad==NULL
20022
20023 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20024
20025         Patch by: Stefan Kost
20026
20027         * common/gtk-doc.mak:
20028         * docs/gst/Makefile.am:
20029         * docs/libs/Makefile.am:
20030           Fix distcheck issues for the libraries docs build
20031           Closes #319599.
20032
20033 2005-11-24  Michael Smith <msmith@fluendo.com>
20034
20035         * docs/manual/basics-helloworld.xml:
20036           Fix bug #315027: memory leak in example code in docs.
20037
20038 2005-11-24  Michael Smith <msmith@fluendo.com>
20039
20040         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20041           Unlock the PREROLL_LOCK in a failure case.
20042
20043 2005-11-24  Wim Taymans  <wim@fluendo.com>
20044
20045         * docs/gst/gstreamer-sections.txt:
20046         * gst/base/gstadapter.h:
20047         * gst/base/gstbasesink.h:
20048         * gst/base/gstbasesrc.h:
20049         * gst/base/gstbasetransform.h:
20050         * gst/base/gstpushsrc.h:
20051         * gst/elements/gstfakesink.h:
20052         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20053         * gst/elements/gstfakesrc.h:
20054         * gst/elements/gstfilesink.h:
20055         * gst/elements/gstfilesrc.h:
20056         * gst/gst.c:
20057         * gst/gstbin.c:
20058         * gst/gstbuffer.c: (_gst_buffer_copy):
20059         * gst/gstbus.h:
20060         * gst/gstcaps.c:
20061         * gst/gstchildproxy.c:
20062         * gst/gstclock.c:
20063         * gst/gstelement.c:
20064         * gst/gstelementfactory.c:
20065         * gst/gstelementfactory.h:
20066         * gst/gstevent.c:
20067         * gst/gstghostpad.h:
20068         * gst/gstindex.h:
20069         * gst/gstinterface.h:
20070         * gst/gstminiobject.c:
20071         * gst/gstminiobject.h:
20072         * gst/gstpad.c:
20073         * gst/gstpad.h:
20074         * gst/gstpadtemplate.h:
20075         * gst/gstpipeline.h:
20076         * gst/gstpluginfeature.h:
20077         * gst/gstquery.h:
20078         * gst/gstqueue.h:
20079         * gst/gsttaglist.c:
20080         * gst/gsttaglist.h:
20081         * gst/gsttagsetter.c:
20082         * gst/gsttagsetter.h:
20083         * gst/gsttrace.c:
20084         * gst/gsttrace.h:
20085         * gst/gsttypefind.h:
20086         * gst/gsturi.h:
20087         * gst/gstvalue.c:
20088         * gst/net/gstnetclientclock.c:
20089         * gst/net/gstnetclientclock.h:
20090         * gst/net/gstnettimepacket.c:
20091         * gst/net/gstnettimeprovider.c:
20092         * gst/net/gstnettimeprovider.h:
20093         Doc fixes.
20094
20095 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20096
20097         * configure.ac: back to HEAD
20098
20099 === release 0.9.6 ===
20100
20101 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20102
20103         * configure.ac:
20104           releasing 0.9.6, "Always On Time"
20105
20106 2005-11-23  Wim Taymans  <wim@fluendo.com>
20107
20108         * docs/gst/gstreamer-sections.txt:
20109         * gst/glib-compat.c:
20110         * gst/gsttagsetter.c:
20111         * gst/gstvalue.c:
20112         * gst/net/gstnetclientclock.c:
20113         * gst/net/gstnettimepacket.h:
20114         Doc updates.
20115
20116 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20117
20118         * docs/faq/using.xml:
20119         * docs/libs/tmpl/gstcontrol.sgml:
20120         * docs/manual/advanced-dparams.xml:
20121         * docs/manual/appendix-checklist.xml:
20122         * docs/manual/basics-elements.xml:
20123         * docs/pwg/other-source.xml:
20124         * docs/random/moving-plugins:
20125         * gst/gstpad.c:
20126         * tools/gst-launch.1.in:
20127           remove mentions of sinesrc
20128
20129 2005-11-23  Michael Smith <msmith@fluendo.com>
20130
20131         * docs/gst/gstreamer-sections.txt:
20132           Update for new API and API changes.
20133         * gst/gstobject.h:
20134           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20135         * gst/gstvalue.c:
20136           Documentation typo fix.
20137         * gst/net/gstnettimepacket.c:
20138           Documentation fixes for arguments.
20139
20140 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20141
20142         * gst/gststructure.c: (gst_structure_get_fraction),
20143         (gst_structure_parse_value),
20144         (gst_structure_fixate_field_nearest_fraction):
20145         * gst/gststructure.h:
20146         * gst/gstutils.c: (gst_util_uint64_scale_int):
20147         * gst/gstutils.h:
20148         * scripts/update-funcnames:
20149         API Changes. 
20150         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20151         Make gst_structure_fixate_field_nearest_fraction take a numerator
20152         and denominator argument instead of a GValue
20153         add gst_structure_get_fraction helper function.
20154
20155 2005-11-23  Wim Taymans  <wim@fluendo.com>
20156
20157         * docs/design/part-TODO.txt:
20158         Update TODO.
20159
20160         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20161         * gst/net/gstnetclientclock.h:
20162         Use parent fields for timeout and window_size.
20163
20164 2005-11-23  Andy Wingo  <wingo@pobox.com>
20165
20166         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20167         rate_num/rate_denom change.
20168
20169         * gst/net/gstnetclientclock.c
20170         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20171         OBJECT_LOCK. Don't call add_observation with the lock.
20172
20173         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20174         fraction.
20175         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20176         rate fraction.
20177         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20178         deal with rate as a fraction whose numerator and denominator are
20179         GstClockTime values.
20180         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20181         master; the other fields are protected by the SLAVE_LOCK.
20182         (do_linear_regression): Note that this must be called with the
20183         SLAVE_LOCK.
20184         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20185         OBJECT_LOCK. Call set_calibration instead of touching the
20186         variables directly.
20187         (gst_clock_set_property, gst_clock_get_property): Protect
20188         master/slave parameters with the SLAVE_LOCK.
20189
20190         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20191         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20192         note that all of the instance variables that add_observation and
20193         the set_master functions use are protected by that lock and not
20194         the OBJECT_LOCK.
20195         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20196
20197         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20198         the caller to take the object lock.
20199
20200 2005-11-23  Wim Taymans  <wim@fluendo.com>
20201
20202         * gst/gsterror.c: (_gst_core_errors_init):
20203         * gst/gsterror.h:
20204         Add error for clock stuff.
20205
20206         * gst/gstpipeline.c: (gst_pipeline_change_state),
20207         (gst_pipeline_set_clock):
20208         Post clock error when clock cannot be used in a pipeline.
20209
20210 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20211
20212         * docs/gst/gstreamer-sections.txt:
20213           make two symbols from gstinfo private for the docs
20214         * gst/base/gstcollectpads.h:
20215         * gst/gstutils.c:
20216           fix doc typos, update docs
20217
20218 2005-11-22  Wim Taymans  <wim@fluendo.com>
20219
20220         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20221         (gst_base_sink_wait), (gst_base_sink_do_sync),
20222         (gst_base_sink_handle_event):
20223         * gst/base/gstbasesink.h:
20224         No need to store the clock, the parent element class already
20225         has it.
20226
20227         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20228         Updates for clock_set returning a gboolean
20229
20230         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20231         (gst_clock_id_wait_async), (gst_clock_class_init),
20232         (gst_clock_init), (gst_clock_finalize),
20233         (gst_clock_get_internal_time), (gst_clock_get_time),
20234         (gst_clock_slave_callback), (gst_clock_set_master),
20235         (gst_clock_get_master), (do_linear_regression),
20236         (gst_clock_add_observation), (gst_clock_set_property),
20237         (gst_clock_get_property):
20238         * gst/gstclock.h:
20239         Implement master/slave. When setting a clock as a slave, a
20240         periodic timeout is scheduled to sample master and slave times.
20241         Then the slave clock is recalibrated to match offset and rate
20242         of the master clock.
20243         Update logging a bit.
20244         Add flag so that a clock can state that is cannot be slaved to
20245         another clock.
20246
20247         * gst/gstelement.c: (gst_element_set_clock):
20248         * gst/gstelement.h:
20249         The set clock returns a gboolean for when an element cannot
20250         deal with the selected clock in the pipeline. 
20251
20252         * gst/gstpipeline.c: (gst_pipeline_change_state),
20253         (gst_pipeline_set_clock):
20254         * gst/gstpipeline.h:
20255         Handle the case where the selected clock cannot be set on
20256         the pipeline.
20257
20258         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20259         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20260         (gst_net_client_clock_set_property),
20261         (gst_net_client_clock_get_property),
20262         (gst_net_client_clock_observe_times):
20263         * gst/net/gstnetclientclock.h:
20264         Use regression code in GstClock parent, remove duplicated
20265         functionality.
20266
20267 2005-11-22  Michael Smith <msmith@fluendo.com>
20268
20269         * gst/gstutils.c: (gst_util_clock_time_scale):
20270         * gst/gstutils.h:
20271         * docs/gst/gstreamer-sections.txt:
20272           Rename method to have extra underscore.
20273
20274 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20275
20276         * gst/elements/Makefile.am:
20277         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20278         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20279         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20280         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20281         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20282         * gst/elements/gstfakesrc.h:
20283         * gst/gstqueue.c: (queue_leaky_get_type):
20284           correctly fix GEnumValues so that nick is the short lowercase
20285           dashed tag
20286         * tools/gst-inspect.c: (print_element_properties_info):
20287           also show the nick, since it's useful to use from parse_launch
20288           syntax
20289           Fixes #322139
20290
20291 2005-11-22  Michael Smith <msmith@fluendo.com>
20292
20293         * gst/gstutils.c: (gst_util_clocktime_scale):
20294         * gst/gstutils.h:
20295         * docs/gst/gstreamer-sections.txt:
20296           Add util method for scaling a clocktime by a fraction. Useful 
20297           implementation is left as an exercise for the reader.
20298
20299 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20300
20301         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20302         If needed, allocate storage in the destination value during
20303         collection.
20304
20305 2005-11-22  Edward Hervey  <edward@fluendo.com>
20306
20307         * docs/gst/gstreamer-sections.txt:
20308         * gst/Makefile.am:
20309         * gst/gst.h:
20310         * gst/gsturitype.c:
20311         * gst/gsturitype.h:
20312         * gst/gstutils.c: (gst_util_set_object_arg):
20313         * tools/gst-compprep.c: (main):
20314         * tools/gst-inspect.c: (print_element_properties_info):
20315         Removed GstURI, closes bug #321061
20316
20317 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20318
20319         * check/gst/gststructure.c: (GST_START_TEST):
20320         * gst/gststructure.c: (gst_structure_parse_value):
20321           Oops, broke automatic string type parsing.
20322           Add a test to catch it in future.
20323
20324 2005-11-22  Andy Wingo  <wingo@pobox.com>
20325
20326         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20327         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20328         Actually rename the function implementations. Grr.
20329
20330 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20331
20332         * check/gst/capslist.h:
20333           Comment test cases
20334         * check/gst/gststructure.c: (GST_START_TEST),
20335         (gst_structure_suite):
20336           Test automatic value type detection in gst_structure_from_string.
20337         * gst/gststructure.c: (gst_structure_parse_value):
20338           Add fraction as a type we try and guess automatically in
20339           caps/structure strings.
20340
20341 2005-11-22  Andy Wingo  <wingo@pobox.com>
20342
20343         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20344
20345         * gst/gsttagsetter.h:
20346         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20347         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20348         (gst_tag_setter_add_tag_valist)
20349         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20350         _add_values, _add_valist, and _add_valist_values. Since this is an
20351         interface the function suffixes should be more explicit so
20352         language binding don't end up with element.add_valist ->
20353         gst_tag_setter_add_valist, for example. Fixes #322069.
20354
20355 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20356
20357         * check/gst/gstcaps.c: (GST_START_TEST):
20358           Extend caps string tests to check that a caps to string
20359           conversion is reversible and produces the same caps.
20360
20361         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20362           Output "fraction" as the generic type fraction range, so caps
20363           serialisation and deserialisation works.
20364         * check/gst/capslist.h:
20365         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20366           Support 'MIN' and 'MAX' for deserialising fractions.
20367
20368 2005-11-22  Andy Wingo  <wingo@pobox.com>
20369
20370         * gst/gstevent.h (gst_event_new_new_segment)
20371         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20372         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20373         Renamed from *_newsegment, *_buffersize, *_notarget.
20374
20375         * scripts/update-funcnames: New script, performs the changes
20376         listed above.
20377
20378 2005-11-22  Wim Taymans  <wim@fluendo.com>
20379
20380         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20381         Make sure the GstFlowReturn is returned.
20382
20383         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20384         (gst_bus_add_signal_watch):
20385         * gst/gstbus.h:
20386         add gst_bus_add_signal_watch_full.
20387
20388         * gst/gstplugin.c: (gst_plugin_load_file):
20389         Small style cleanup.
20390
20391 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20392
20393         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20394           Block the fakesrc srcpad when we send an event, to avoid
20395           contention on the stream_lock causing random test failures.
20396
20397 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20398
20399         * check/gst/gstvalue.c: (GST_START_TEST):
20400         * gst/gstvalue.c: (gst_value_fraction_subtract):
20401           Fix subtraction.
20402
20403 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20404
20405         * gst/gst.h:
20406           include "gstchildproxy.h"
20407         * gst/gstchildproxy.h:
20408         * libs/gst/controller/gstcontroller.h:
20409           use G_GNUC_NULL_TERMINATED
20410
20411 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20412
20413         * check/gst/capslist.h:
20414         * check/gst/gstcaps.c: (GST_START_TEST):
20415         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20416         * gst/gststructure.c: (gst_structure_parse_range),
20417         (gst_structure_fixate_field_nearest_fraction):
20418         * gst/gststructure.h:
20419         * gst/gstvalue.c: (gst_value_init_fraction_range),
20420         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20421         (gst_value_collect_fraction_range),
20422         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20423         (gst_value_set_fraction_range_full),
20424         (gst_value_get_fraction_range_min),
20425         (gst_value_get_fraction_range_max),
20426         (gst_value_serialize_fraction_range),
20427         (gst_value_transform_fraction_range_string),
20428         (gst_value_compare_fraction_range),
20429         (gst_value_deserialize_fraction_range),
20430         (gst_value_intersect_fraction_fraction_range),
20431         (gst_value_intersect_fraction_range_fraction_range),
20432         (gst_value_subtract_fraction_fraction_range),
20433         (gst_value_subtract_fraction_range_fraction),
20434         (gst_value_subtract_fraction_range_fraction_range),
20435         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20436         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20437         (gst_value_transform_string_fraction), (_gst_value_initialize):
20438         * gst/gstvalue.h:
20439           Implement fraction ranges and extend GstFraction to support
20440           arithmetic subtraction, as well as deserialization from integer
20441           strings such as "100"
20442           Add a testsuite as for int and double range set operations
20443
20444 2005-11-21  Andy Wingo  <wingo@pobox.com>
20445
20446         * gst/gsttaglist.h: 
20447         * gst/gstcaps.h: 
20448         * gst/gststructure.h: Add glib-compat.h.
20449
20450 2005-11-21  Wim Taymans  <wim@fluendo.com>
20451
20452         * gst/gstbin.c: (gst_bin_change_state_func):
20453         Fix for #321595
20454
20455 2005-11-21  Wim Taymans  <wim@fluendo.com>
20456
20457         * gst/gstsegment.h:
20458         And add a nice define too.
20459
20460 2005-11-21  Wim Taymans  <wim@fluendo.com>
20461
20462         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20463         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20464         (gst_segment_set_duration), (gst_segment_set_last_stop),
20465         (gst_segment_set_seek), (gst_segment_set_newsegment),
20466         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20467         (gst_segment_clip):
20468         * gst/gstsegment.h:
20469         Make binding friendly.
20470
20471 2005-11-21  Andy Wingo  <wingo@pobox.com>
20472
20473         * gst/gsttagsetter.h: 
20474         * gst/gsttaglist.h: 
20475         * gst/gststructure.h: 
20476         * gst/gstcaps.h: 
20477         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20478         #319940.
20479
20480         * gst/gsterror.c (_gst_core_errors_init):
20481         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20482         category.
20483
20484         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20485         (noinst_HEADERS): noinst the -private.
20486
20487 2005-11-21  Michael Smith <msmith@fluendo.com>
20488
20489         * gst/gstplugin.h:
20490         * gst/gstregistry.h:
20491           Remove unimplemented declarations for which we can see no sensible
20492           use.
20493
20494 2005-11-21  Andy Wingo  <wingo@pobox.com>
20495
20496         * gst/gst.h: Include glib-compat.h.
20497
20498         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20499
20500         * gst/glib-compat.c: Include the public and the private header.
20501
20502         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20503
20504         * gst/gstvalue.c: 
20505         * gst/gstpad.c: 
20506         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20507
20508         * check/gst/gstevent.c (create_custom_events): Check that
20509         FLUSH_STOP is serialized.
20510
20511         * check/elements/identity.c (event_func): 
20512         * check/elements/fakesrc.c (event_func): No stream lock, the core
20513         takes it.
20514
20515         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20516         stream lock taking, yay.
20517
20518         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20519         ensure that core takes the stream lock.
20520
20521         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20522         lock name change.
20523
20524         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20525         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20526         it already. For the flush start we do take it though so we get the
20527         right preroll state change messages.
20528
20529         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20530         the stream lock here, the core does it for us.
20531
20532         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20533         GST_STREAM_GET_LOCK.
20534         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20535         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20536         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20537         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20538         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20539         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20540
20541         * gst/gstpad.c: Update for stream lock name change.
20542
20543         * gst/base/gstbasesink.c: Update for preroll lock name change.
20544
20545 2005-11-21  Wim Taymans  <wim@fluendo.com>
20546
20547         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20548         (gst_clock_get_master):
20549         * gst/gstclock.h:
20550         * gst/gstsystemclock.c: (gst_system_clock_init):
20551         Convert Clock flags to object flags.
20552         Added methods to manage master/slave clocks.
20553
20554 2005-11-21  Wim Taymans  <wim@fluendo.com>
20555
20556         * check/gst/gstsegment.c: (GST_START_TEST):
20557         * docs/design/part-TODO.txt:
20558         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20559         (gst_base_sink_event), (gst_base_sink_do_sync),
20560         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20561         (gst_base_sink_query), (gst_base_sink_change_state):
20562         * gst/base/gstbasesink.h:
20563         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20564         (gst_base_src_default_newsegment),
20565         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20566         (gst_base_src_get_range), (gst_base_src_loop),
20567         (gst_base_src_change_state):
20568         * gst/base/gstbasesrc.h:
20569         * gst/base/gstbasetransform.c:
20570         (gst_base_transform_prepare_output_buf),
20571         (gst_base_transform_event), (gst_base_transform_change_state):
20572         * gst/base/gstbasetransform.h:
20573         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20574         (gst_collect_pads_event):
20575         * gst/base/gstcollectpads.h:
20576         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20577         (gst_fake_src_create):
20578         * gst/elements/gstfakesrc.h:
20579         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20580         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20581         (gst_segment_set_last_stop), (gst_segment_set_seek),
20582         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20583         (gst_segment_to_running_time), (gst_segment_clip):
20584         * gst/gstsegment.h:
20585         More segment updates, replace code in plugins with segment
20586         helper functions.
20587
20588 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20589
20590         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20591         Don't ignore sscanf results
20592
20593 2005-11-21  Andy Wingo  <wingo@pobox.com>
20594
20595         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20596
20597         * *.h:
20598         * *.c: Ran scripts/update-macros. Oh yes.
20599
20600         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20601         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20602         GST_GET_LOCK, etc.
20603
20604         * scripts/update-macros: New script. Run it on your files to
20605         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20606         well.
20607
20608 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20609
20610         * docs/gst/Makefile.am:
20611         * docs/gst/gstreamer-docs.sgml:
20612         * docs/gst/gstreamer-sections.txt:
20613         * docs/gst/gstreamer.types:
20614         * gst/gstinfo.h:
20615           more docs fixes, add new api to the docs
20616
20617 2005-11-21  Andy Wingo  <wingo@pobox.com>
20618
20619         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20620         state_broadcast call.
20621
20622         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20623
20624 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20625
20626         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20627         function calls for arrays.
20628
20629 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20630
20631         * docs/random/ensonic/media-device-daemon.txt:
20632           wild idea, can this be done?
20633         * docs/gst/gstreamer-sections.txt:
20634         * gst/gsterror.h:
20635         * gst/gstfilter.c:
20636         * gst/gstfilter.h:
20637         * gst/gstplugin.h:
20638         * gst/gstpluginfeature.c:
20639         * gst/gsttrace.c:
20640         * gst/gstvalue.c:
20641         * gst/gstvalue.h:
20642           doc fixes and additions
20643
20644 2005-11-21  Andy Wingo  <wingo@pobox.com>
20645
20646         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20647         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20648         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20649         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20650         private to the basesrc implementation.
20651
20652         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20653         behalf of event function if necessary. It should no longer be
20654         necessary to take the stream lock in pad's event functions. Fixes
20655         #320299.
20656
20657 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20658         * docs/gst/gstreamer-sections.txt:
20659         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20660         (gst_structure_fixate_field_nearest_double),
20661         (gst_structure_fixate_field_boolean):
20662         * gst/gststructure.h:
20663         * win32/common/libgstreamer.def:
20664         * win32/gstreamer.def:
20665
20666         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20667         (#322027)
20668
20669 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20670
20671         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20672         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20673         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20674         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20675         (gst_fdsrc_uri_handler_init):
20676         * gst/elements/gstfdsrc.h:
20677           Port fd:// URI handler from 0.8 to fdsrc
20678
20679 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20680
20681         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20682         (gst_value_serialize_fourcc):
20683         * gst/gstvalue.h:
20684           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20685           consistent with our other format defines (#320324).
20686
20687 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20688
20689         * gst/gstvalue.c: (gst_value_is_fixed):
20690           Revert previous commit. Value lists are by definition
20691           not fixed, as they are a list of possible values.
20692
20693 2005-11-21  Andy Wingo  <wingo@pobox.com>
20694
20695         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20696         during the stable series if we need it. Fixes #319178.
20697
20698         * gst/gstevent.c (gst_event_new_filler): Removed.
20699
20700         * check/gst/gstevent.c: Update comment about filler events.
20701
20702 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20703
20704         * gst/gstvalue.c: (gst_value_is_fixed):
20705           Should handle both value arrays and value lists.
20706
20707 2005-11-21  Andy Wingo  <wingo@pobox.com>
20708
20709         patch by: Alessandro Dessina <alessandro nnva org>
20710
20711         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20712         functions to access arrays. Fixes #321962.
20713
20714 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20715
20716         * docs/gst/gstreamer.types:
20717           gst_collectpads_get_type => gst_collect_pads_get_type.
20718           
20719         * gst/base/gstbasetransform.c:
20720           Remove unused SIGNAL_HANDOFF enum.
20721
20722 2005-11-21  Andy Wingo  <wingo@pobox.com>
20723
20724         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20725         the event type (upstream, downstream, serialized). Renamed
20726         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20727         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20728         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20729
20730         * gst/gstevent.c: Update for new CUSTOM event names.
20731
20732         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20733
20734         * gst/gstevent.h:
20735         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20736         bug #319392.
20737
20738 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20739
20740         * docs/gst/gstreamer-sections.txt:
20741         * win32/common/libgstbase.def:
20742         * win32/libgstbase.def:
20743         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20744         (gst_collect_pads_class_init), (gst_collect_pads_init),
20745         (gst_collect_pads_finalize), (gst_collect_pads_new),
20746         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20747         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20748         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20749         (gst_collect_pads_start), (gst_collect_pads_stop),
20750         (gst_collect_pads_peek), (gst_collect_pads_pop),
20751         (gst_collect_pads_available), (gst_collect_pads_read),
20752         (gst_collect_pads_flush), (gst_collect_pads_event),
20753         (gst_collect_pads_chain):
20754         * gst/base/gstcollectpads.h:
20755           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20756           unimplemented functions as unimplemented. Add padding to
20757           GstCollectData. (#320766, #320423)
20758
20759 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20760
20761         * gst/gstmessage.c:
20762           Improve docs for DURATION message (usage of duration parameter)
20763           (#320113)
20764
20765 2005-11-20  Wim Taymans  <wim@fluendo.com>
20766
20767         * check/Makefile.am:
20768         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20769         (main):
20770         * gst/Makefile.am:
20771         * gst/gst.h:
20772         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20773         (gst_segment_set_seek), (gst_segment_set_newsegment),
20774         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20775         (gst_segment_clip):
20776         * gst/gstsegment.h:
20777         Added segment helper structure and methods. Not fully implemented
20778         yet.
20779         Added segment check.
20780
20781 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20782
20783         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20784           Add a deserialisation test for fractions
20785         * examples/metadata/read-metadata.c: (message_loop),
20786         (make_pipeline), (main):
20787           Fix up metadata reading sample.
20788         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20789           Debug format fix
20790         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20791           Don't try and fixate empty caps
20792         * gst/gst_private.h:
20793           Wrap in G_BEGIN_DECLS/G_END_DECLS
20794         * gst/gstvalue.c: (gst_value_collect_fraction),
20795         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20796         (gst_value_transform_string_fraction),
20797         (gst_value_compare_fraction):
20798           Add some extra guards to ensure that we don't end up 
20799           with an invalid denominator of 0 in a gstfraction and
20800           that fractions always get reduced.
20801
20802 2005-11-20  Wim Taymans  <wim@fluendo.com>
20803
20804         * docs/gst/gstreamer-sections.txt:
20805         * gst/gstbuffer.h:
20806         * gst/gstelement.c:
20807         * gst/gstformat.c:
20808         * gst/gstformat.h:
20809         * gst/gstindex.h:
20810         * gst/gstquery.c:
20811         * gst/gstquery.h:
20812         * gst/gstvalue.c:
20813         Doc fixes.
20814
20815 2005-11-20  Wim Taymans  <wim@fluendo.com>
20816
20817         * docs/design/part-TODO.txt:
20818         * gst/gstcaps.h:
20819         Make a proper enum of the flag.
20820
20821 2005-11-19  Wim Taymans  <wim@fluendo.com>
20822
20823         * docs/design/part-TODO.txt:
20824         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20825         (gst_format_to_quark), (gst_format_register):
20826         * gst/gstformat.h:
20827         * gst/gstquery.c: (_gst_query_initialize),
20828         (gst_query_type_get_name), (gst_query_type_to_quark),
20829         (gst_query_type_register):
20830         * gst/gstquery.h:
20831         Add type to quark and type to string conversions.
20832
20833 2005-11-19  Andy Wingo  <wingo@pobox.com>
20834
20835         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20836         #320097.
20837
20838 2005-11-19  Wim Taymans  <wim@fluendo.com>
20839
20840         * docs/design/part-TODO.txt:
20841         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20842         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20843         (gst_bin_handle_message_func):
20844         * gst/gstbin.h:
20845         Make message handling overridable.
20846
20847 2005-11-19  Andy Wingo  <wingo@pobox.com>
20848
20849         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20850
20851         * gst/gstclock.h:
20852         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20853         be a GstClockTime.
20854         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20855         is a GstClockTime. Fixes #321710.
20856
20857         * gst/gstclock.h (GstClock): Remove offset property. Add
20858         internal_calibration and external_calibration. Fix padding. Pad
20859         also by GstClockTime so we don't run into problems.
20860
20861         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20862         (gst_clock_get_rate_offset): Remove.
20863         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20864
20865         * gst/gstutils.h:
20866         * gst/gstutils.c (g_static_rec_cond_wait)
20867         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20868
20869         * gst/gstbin.c: Remove terrible continue_state prototype.
20870
20871         * gst/gstelement.h (gst_element_continue_state): Make public.
20872
20873         * gst/gstelement.h:
20874         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20875         by continue_state. Fixes #319389.
20876
20877         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20878         Really fixes #168438. However I don't see anywhere where the
20879         filter function is called... stupid GStreamer...
20880         
20881         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20882         don't have a dispose function, so it won't get called when the
20883         object is unreffed, but oh well!
20884
20885         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20886         allows a destroy function to be set so user_data can be freed.
20887         Fixes #168438.
20888         (gst_index_set_filter): Call gst_index_set_filter_full.
20889
20890         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20891
20892         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20893         string should produce an error, given the lack of a way to
20894         represent NULL strings. Fixes #165650.
20895         
20896         * gst/gstvalue.h: 
20897         * gst/gstvalue.c (gst_value_array_append_value) 
20898         (gst_value_array_prepend_value, gst_value_array_get_size) 
20899         (gst_value_array_get_value): New API, copied from
20900         gst_value_list_*, only operates on arrays.
20901         (gst_value_list_append_value, gst_value_list_prepend_value) 
20902         (gst_value_list_concat, gst_value_list_get_size) 
20903         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20904
20905         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20906         init_list, because it works on both.
20907         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20908         (gst_value_copy_list_or_array): Renamed from copy_list.
20909         (gst_value_free_list_or_array): Renamed from free_list.
20910         (gst_value_collect_list_or_array): Renamed from collect_list.
20911         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20912         (gst_value_list_or_array_peek_pointer): Renamed from
20913         list_peek_pointer.
20914         (_gst_value_array_value_table, _gst_value_list_value_table):
20915         Update value table functions.
20916         (gst_value_compare_list_or_array): Renamed from compare_list.
20917
20918         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20919         some constness.
20920
20921         * gst/gsttaglist.c:
20922         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20923         GstTagList*. Fixes #143472.
20924
20925         * gst/gststructure.h: Clarify what the foreach/map functions can
20926         or can't do to their arguments.
20927
20928 2005-11-18  Wim Taymans  <wim@fluendo.com>
20929
20930         * gst/gstclock.c: (gst_clock_set_calibration),
20931         (gst_clock_get_calibration):
20932         Doc and API fixes.
20933         Calibration can be set with internal time equal to current
20934         internal time too.
20935
20936 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20937
20938         * gst/gsterror.c:
20939         * gst/gsterror.h:
20940           document
20941
20942 2005-11-18  Andy Wingo  <wingo@pobox.com>
20943
20944         * configure.ac: 
20945         * pkgconfig/gstreamer-net.pc.in:
20946         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20947         * pkgconfig/Makefile.am: Add net pkgconfig files.
20948
20949 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20950
20951         * gst/gstcaps.c:
20952         * gst/gstghostpad.c:
20953         * gst/gsttrace.c:
20954         * gst/gstvalue.c:
20955         * gst/gstvalue.h:
20956           docs fixes
20957
20958 2005-11-18  Andy Wingo  <wingo@pobox.com>
20959
20960         * gst/net/gstnetclientclock.c: Turn off debugging.
20961
20962         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20963         times connverge somewhat. Can't make a real test.
20964
20965         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20966         integer arithmetic. Return the minimum of the domain, which can be
20967         set as "internal" for gst_clock_set_calibration.
20968         (gst_net_client_clock_observe_times): Call _set_calibration.
20969         (gst_net_client_clock_new): Call _set_calibration instead of
20970         rate_offset.
20971
20972         * check/net/gstnetclientclock.c (test_functioning): Use the right
20973         adjustment api.
20974
20975         * gst/gstclock.h:
20976         * gst/gstclock.c (gst_clock_get_calibration) 
20977         (gst_clock_set_calibration): New functions, obsolete the ones I
20978         added yesterday. Doh. Precision issues mean we have to extrapolate
20979         from a point in the more recent past than 1970.
20980         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20981         obsolete.
20982         (gst_clock_adjust_unlocked): Use the right calibration data.
20983
20984 2005-11-18  Edward Hervey  <edward@fluendo.com>
20985
20986         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
20987         Also reset the ->current_* values in READY->PAUSED
20988
20989 2005-11-18  Andy Wingo  <wingo@pobox.com>
20990
20991         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20992         Whoops, check the right fd. Also add some debugging.
20993         (gst_net_client_clock_observe_times): Adjust for int64 offset.
20994         (do_linear_regression): Add a crapload of debugging. Subtract off
20995         the minimum values from the input series to discard unneeded bits.
20996         Use only int arithmetic. There is still double arithmetic when
20997         calculating the intercept that needs fixing. Return boolean to
20998         indicate success; FALSE would mean the domain or range is too
20999         great. Still needs fixes.
21000
21001 2005-11-18  Wim Taymans  <wim@fluendo.com>
21002
21003         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21004         For the current position in stream time, we need to subtract
21005         accumulated time.
21006         
21007         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21008         Release lock before calling the callback function of async
21009         entries.
21010
21011 2005-11-18  Andy Wingo  <wingo@pobox.com>
21012
21013         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21014         Port goes all the way to MAXUINT16.
21015
21016         * gst/net/gstnettimeprovider.c: Make the port range the same as
21017         for the kernel: 0 assigns, otherwise ports are less than
21018         MAXUINT16.
21019
21020         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21021         port change.
21022
21023         * check/net/gstnetclientclock.c (test_functioning): Add the start
21024         of another test. 
21025
21026 2005-11-18  Wim Taymans  <wim@fluendo.com>
21027
21028         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21029         (gst_bin_remove_func), (bin_bus_handler):
21030         * gst/gstbin.h:
21031         Removing a clock provider from a bin, triggers a clock lost message
21032         so that a new clock will be selected.
21033         Adding a clock to a bin triggers a clock provider message.
21034         Make sure we reselect a clock when we received a clock lost message.
21035         Keep a reference to the element that provided the clock.
21036
21037 2005-11-18  Andy Wingo  <wingo@pobox.com>
21038
21039         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21040         the clock initially so it produces values around the base time.
21041         (gst_net_client_clock_class_init): Typo fix.
21042         (gst_net_client_clock_thread): Add note on when the socket gets
21043         closed.
21044
21045 2005-11-17  Wim Taymans  <wim@fluendo.com>
21046
21047         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21048         Free remote and local time arrays.
21049
21050 2005-11-17  Wim Taymans  <wim@fluendo.com>
21051
21052         * gst/net/gstnetclientclock.c: (do_linear_regression),
21053         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21054         Fix compilation, uninitialized vars and a forgotten continue.
21055
21056 2005-11-17  Andy Wingo  <wingo@pobox.com>
21057
21058         * check/Makefile.am (check_PROGRAMS): 
21059         * check/net/gstnetclientclock.c: Add a most minimal test for the
21060         net client clock. More to come later.
21061
21062         * gst/net/gstnet.h: 
21063         * gst/net/Makefile.am: Add netclientclock.
21064
21065         * gst/net/gstnetclientclock.h:
21066         * gst/net/gstnetclientclock.c: New files, implement an untested
21067         GstClock that takes its time from a network time provider.
21068         Implements the algorithm in network-clock.scm.
21069
21070         * tests/network-clock.scm (*window-size*): Rename from
21071         *queue-length*.
21072         * tests/network-clock.scm (network-time): 
21073         * tests/network-clock-utils.scm (q-push): Update callers.
21074
21075 2005-11-17  Wim Taymans  <wim@fluendo.com>
21076
21077         * gst/gstbin.c: (gst_bin_provide_clock_func),
21078         (gst_bin_sort_iterator_new):
21079         And unref the child too..
21080
21081 2005-11-17  Wim Taymans  <wim@fluendo.com>
21082
21083         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21084         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21085         Refactor the sort iterator so it can be used while holding the
21086         LOCK too.
21087         Make clock selection select a clock closest to the source.
21088
21089 2005-11-17  Michael Smith <msmith@fluendo.com>
21090
21091         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21092         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21093         * gst/gstclock.h:
21094           Anonymous structs are a gcc (and some other compilers) extension, so
21095           don't use them. Since this is only for ABI-compatibility, and our
21096           API/ABI freeze is over in a few days, this whole thing will only
21097           last a few days, so don't bother trying to think up a meaningful
21098           name for the struct.
21099
21100 2005-11-17  Andy Wingo  <wingo@pobox.com>
21101
21102         * gst/gstclock.h (GstClock): Add rate and offset properties,
21103         preserving ABI stability. Add rate/offset accessors. Will file bug
21104         for the freeze break.
21105
21106         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21107         and offset, trying to keep precision and avoiding
21108         underflow/overflow.
21109         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21110         functions. Make gst_clock_set_time_adjust obsolete.
21111         (gst_clock_set_time_adjust): Note that this function is obsolete.
21112         Will file bug soon.
21113
21114         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21115         greppable by using GST_PADDING-1+1.
21116
21117 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21118
21119         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21120
21121         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21122           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21123
21124         * gst/gstpadtemplate.h:
21125         * gst/gstpluginfeature.h:
21126           Don't use c++ style comments in headers (#321638).
21127
21128 2005-11-16  Andy Wingo  <wingo@pobox.com>
21129
21130         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21131         buffer.
21132
21133         * check/net/gstnettimeprovider.c: Check to see that the time
21134         provider actually provides times. Works, yo!
21135
21136 2005-11-16  Wim Taymans  <wim@fluendo.com>
21137
21138         * check/Makefile.am:
21139         Enable more tests.
21140
21141         * check/elements/fakesrc.c: (GST_START_TEST):
21142         Set element to NULL before disposing it.
21143
21144 2005-11-16  Andy Wingo  <wingo@pobox.com>
21145
21146         * gst/net/Makefile.am:
21147         * gst/net/gstnet.h:
21148         * gst/net/gstnettimeprovider.c: 
21149         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21150         provider, include it from gstnet.h, and add it to the build.
21151
21152         * gst/net/gstnettimepacket.h: 
21153         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21154         sending and receiving.
21155
21156 2005-11-16  Wim Taymans  <wim@fluendo.com>
21157
21158         * check/Makefile.am:
21159         Enable valgrind check.
21160
21161         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21162         (gst_fake_src_alloc_buffer):
21163         Fix memleak.
21164
21165 2005-11-16  Wim Taymans  <wim@fluendo.com>
21166
21167         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21168         Call parent finalize too.
21169
21170 2005-11-16  Wim Taymans  <wim@fluendo.com>
21171
21172         * check/Makefile.am:
21173         Enable valgrind check that should work fine now.
21174
21175         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21176         * gst/gstqueue.c: (gst_queue_init):
21177         Fix memleaks in pad allocation.
21178
21179 2005-11-16  Andy Wingo  <wingo@pobox.com>
21180
21181         * gst/net/Makefile.am:
21182         * gst/net/gstnet.h: New part of core to hold network elements and
21183         objects. Put in core because it exposes API that applications want
21184         to use. The library is named libgstnet-tempname right now because
21185         of the existing libgstnet in gst-plugins-base. Solution is
21186         probably to rename the one in plugins-base; will file a bug for
21187         the freeze break.
21188
21189         * gst/net/gstnettimeprovider.c: 
21190         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21191         get_time call over the network.
21192
21193         * configure.ac: 
21194         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21195
21196         * check/Makefile.am:
21197         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21198         get additions shortly.
21199
21200 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21201
21202         * gst/gstpad.c: (gst_pad_new_from_static_template):
21203         * gst/gstpad.h:
21204           add gst_pad_new_from_static_template functions
21205         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21206         (gst_check_setup_sink_pad):
21207         * gst/elements/gsttee.c: (gst_tee_init):
21208           and use them
21209
21210 2005-11-16  Wim Taymans  <wim@fluendo.com>
21211
21212         * gst/gstpad.c: (gst_pad_pause_task):
21213         Removed warning, it's not really an error either.
21214
21215 2005-11-16  Wim Taymans  <wim@fluendo.com>
21216
21217         * gst/base/gstbasetransform.c:
21218         (gst_base_transform_prepare_output_buf),
21219         (gst_base_transform_event):
21220         Check if the caps are NULL, this can happen if the element
21221         is shutting down and the pad caps are set to NULL.
21222
21223 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21224
21225         * gst/elements/gsttee.c: (gst_tee_init):
21226           fix pad template leak in tee
21227
21228 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21229
21230         * gst/glib-compat.c: (g_value_dup_gst_object):
21231         * gst/glib-compat.h:
21232         * gst/gstpad.c: (gst_pad_set_property):
21233           use gst_object_ref when setting the pad template; this will
21234           trigger the pad template leaks on GLib 2.6 and the slaves
21235
21236 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21237
21238         * gst/glib-compat.c: (gst_flags_get_first_value):
21239         * gst/glib-compat.h:
21240         * gst/gstregistryxml.c:
21241           remove functions copied from GLib 2.6
21242
21243 2005-11-16  Michael Smith <msmith@fluendo.com>
21244
21245         * gst/Makefile.am:
21246           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21247           do, but only breaks with newer valgrind versions. We're not a
21248           valgrind tool, we have no link-time dependencies on libcoregrind.
21249
21250 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21251
21252         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21253           some debug changes
21254         * gst/gstmessage.h:
21255           typo fixes
21256
21257 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21258
21259         * gst/base/gstbasesrc.c: (gst_base_src_init):
21260         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21261         * gst/gstqueue.c: (gst_queue_init):
21262         * gst/gstregistryxml.c: (load_feature):
21263           Revert all these unrefs, they don't even pass make check !
21264
21265 2005-11-15  Johan Dahlin  <johan@gnome.org>
21266
21267         * gst/base/gstbasesrc.c: (gst_base_src_init):
21268         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21269         * gst/gstqueue.c: (gst_queue_init): 
21270         Free pad templates, fixes a couple of leaks.
21271
21272 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21273
21274         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21275
21276         * gst/gstpad.c: (gst_pad_get_property):
21277           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21278           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21279           (#321452)
21280
21281 2005-11-15  Wim Taymans  <wim@fluendo.com>
21282
21283         * gst/gstevent.c:
21284         Small doc update.
21285
21286 2005-11-15  Andy Wingo  <wingo@pobox.com>
21287
21288         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21289
21290         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21291         using GST_CLOCK_TIME_NONE to disable base time management.
21292         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21293         time if it was NONE before.
21294         (gst_pipeline_change_state): Only munge the base time if
21295         stream_time != GST_CLOCK_TIME_NONE.
21296
21297         * check/gst/gstpipeline.c (test_base_time): Punt around the
21298         problem of the probe not being called, because that's not the
21299         issue I'm looking at. Add a check that setting stream_time to NONE
21300         disables base time management.
21301         
21302 2005-11-15  Wim Taymans  <wim@fluendo.com>
21303
21304         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21305         segment_stop == -1 at startup.
21306
21307         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21308         (gst_base_transform_change_state):
21309         Init segment values at start.
21310
21311 2005-11-15  Wim Taymans  <wim@fluendo.com>
21312
21313         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21314         0 segment values are 0 in any format.
21315
21316         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21317         * gst/base/gstbasetransform.h:
21318         Parse newsegment correctly in basetransform
21319
21320         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21321         Sync to clock using updated segment values.
21322
21323 2005-11-15  Andy Wingo  <wingo@pobox.com>
21324
21325         * check/gst/gstpipeline.c (test_base_time): Add check that the
21326         base time and stream time are reset correctly.
21327
21328 2005-11-15  Wim Taymans  <wim@fluendo.com>
21329
21330         * docs/design/part-TODO.txt:
21331         Some more TODO items.
21332
21333 2005-11-15  Andy Wingo  <wingo@pobox.com>
21334
21335         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21336         error if the user selected "no clock" as the clocking method.
21337
21338         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21339         timestamps with live capture.
21340
21341         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21342         is 0 but we are a live source, timestamp the buffers using the
21343         element's clock.
21344
21345 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21346
21347         * docs/gst/gstreamer-sections.txt:
21348         * gst/gsterror.c:
21349         * gst/gstghostpad.c:
21350         * gst/gstobject.h:
21351         * gst/gstxml.c:
21352           more section docs
21353
21354 2005-11-14  Wim Taymans  <wim@fluendo.com>
21355
21356         * common/gst.supp:
21357           add suppressions from Wim's Debian machine
21358
21359 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21360
21361         * common/gst.supp:
21362           add suppressions from Andy's AMD64 Ubuntu machine
21363
21364 2005-11-14  Andy Wingo  <wingo@pobox.com>
21365
21366         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21367         STATE_LOCK not necessary. Fixes #311489.
21368
21369         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21370         #305291.
21371
21372         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21373         this function is not implemented.
21374
21375 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21376
21377         * gst/base/gstbasetransform.c:
21378         (gst_base_transform_prepare_output_buf):
21379         Ref the source pad caps while we need them.
21380         Fixes (#321386)
21381
21382 2005-11-11  Wim Taymans  <wim@fluendo.com>
21383
21384         * docs/gst/gstreamer-sections.txt:
21385         Added some docs for GstCollectData.
21386
21387         * gst/base/gstadapter.c:
21388         Some small code example fix.
21389
21390         * gst/base/gstcollectpads.c:
21391         * gst/base/gstcollectpads.h:
21392         Document some more.
21393
21394 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21395
21396         * configure.ac: back to HEAD
21397
21398 === release 0.9.5 ===
21399
21400 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21401
21402         * configure.ac:
21403           releasing 0.9.5, "Bike Lunch Day"
21404
21405 2005-11-11  Wim Taymans  <wim@fluendo.com>
21406
21407         * gst/gstbuffer.c: (_gst_buffer_copy):
21408         Copy more flags.
21409
21410         * gst/gstcaps.c: (gst_caps_is_equal):
21411         Fix some docs.
21412         Make _is_equal fast in the trivial cases.
21413
21414         * gst/gstminiobject.c:
21415         * gst/gstminiobject.h:
21416         More docs. Spifify .h file.
21417
21418         * gst/gstutils.c:
21419         Small doc update.
21420
21421 2005-11-11  Wim Taymans  <wim@fluendo.com>
21422
21423         * gst/base/gstbasetransform.c:
21424         (gst_base_transform_prepare_output_buf),
21425         (gst_base_transform_handle_buffer):
21426         Small cleanups.
21427         If we're processing a buffer and need to allocate an output
21428         buffer, we cannot accept a format change. If we did get a 
21429         format change, we have to alloc a buffer ourselves of the 
21430         right size.
21431
21432 2005-11-11  Wim Taymans  <wim@fluendo.com>
21433
21434         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21435         While checking the flag for reentrancy in the gstcaps function
21436         is nice to detect recursive invocations, it also makes it 
21437         impossible to call getcaps from multiple threads, which must be
21438         possible. So, checking for recursive calls has to go.
21439
21440 2005-11-11  Michael Smith <msmith@fluendo.com>
21441
21442         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21443           Don't sync on buffers that fall partially outside our current
21444           segment. Prevents an assertion failure/abort playing some files.
21445
21446 2005-11-10  Andy Wingo  <wingo@pobox.com>
21447
21448         * check/gst/gstbin.c (test_message_state_changed_children): Style
21449         fix..
21450
21451         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21452         gst_bus_poll with the signal watch. Ensures that poll and a signal
21453         watch see the same messages.
21454
21455         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21456         a poll and a watch at the same time get the same messages.
21457
21458 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21459
21460         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21461         * gst/gstcaps.c: (gst_caps_intersect):
21462           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21463           and it's not needed.
21464
21465 2005-11-10  Wim Taymans  <wim@fluendo.com>
21466
21467         * docs/design/part-TODO.txt:
21468         Updated todo.
21469
21470 2005-11-10  Wim Taymans  <wim@fluendo.com>
21471
21472         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21473         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21474         (gst_base_src_do_sync), (gst_base_src_get_range):
21475         Implement clock sync in base class.
21476
21477 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21478
21479         patch by: Tim-Philipp Müller <tim at centricular dot net>
21480
21481         * gst/gststructure.c: (gst_structure_parse_field),
21482         (gst_structure_from_string):
21483           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21484           so that gst_parse_launch() can deal with spaces in filtered link
21485           caps (fixes #164479)
21486         * check/gst/capslist.h:
21487         * check/gst/gststructure.c: (GST_START_TEST):
21488           add unit tests for this change
21489
21490 2005-11-10  Wim Taymans  <wim@fluendo.com>
21491
21492         * docs/gst/gstreamer-sections.txt:
21493         * gst/gstelement.c:
21494         * gst/gstelement.h:
21495         Fix docs, move some STATE macros to private.
21496
21497 2005-11-10  Wim Taymans  <wim@fluendo.com>
21498
21499         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21500         Added check for bug #317341
21501
21502         * gst/gstbuffer.c:
21503         * gst/gstbuffer.h:
21504         Some more spiffifying.
21505
21506         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21507         Call peer linkfunction if we are a source pad. Totally fixes
21508         #317341
21509
21510         * gst/gstpad.c:
21511         Update docs, source pads should call the peer linkfunction
21512         so they can atomically perform the pad link.
21513
21514 2005-11-09  Wim Taymans  <wim@fluendo.com>
21515
21516         * gst/gstbuffer.c:
21517         * gst/gstbuffer.h:
21518         Uber-spiffy-spiffify some more.
21519
21520 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21521
21522         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21523         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21524         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21525         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21526         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21527         * gst/gstpad.c: (gst_pad_init):
21528           Use GST_DEBUG_FUNCPTR() more extensively.
21529
21530 2005-11-09  Wim Taymans  <wim@fluendo.com>
21531
21532         * gst/gstobject.c: (gst_object_class_init):
21533         * gst/gstobject.h:
21534         Documentation fixes.
21535
21536 2005-11-09  Edward Hervey  <edward@fluendo.com>
21537
21538         * gst/gsttypefindfactory.c:
21539         Fix docs.
21540         
21541 2005-11-09  Edward Hervey  <edward@fluendo.com>
21542
21543         * gst/base/gsttypefindhelper.c:
21544         * gst/gsttypefind.c:
21545         * gst/gsttypefind.h:
21546         Fix docs.
21547
21548 2005-11-09  Wim Taymans  <wim@fluendo.com>
21549
21550         * gst/gstiterator.c:
21551         Fix revision data.
21552
21553         * gst/gsttask.c:
21554         * gst/gsttask.h:
21555         Fix docs.
21556
21557 2005-11-09  Wim Taymans  <wim@fluendo.com>
21558
21559         * gst/gstevent.h:
21560         * gst/gsturi.h:
21561         Fix docs.
21562
21563 2005-11-09  Wim Taymans  <wim@fluendo.com>
21564
21565         * docs/gst/gstreamer-sections.txt:
21566         Moved the message async delivery private lock and cond
21567         to the private section.
21568
21569         * gst/gstmessage.c:
21570         * gst/gstmessage.h:
21571         Fixed docs.
21572
21573 2005-11-09  Edward Hervey  <edward@fluendo.com>
21574
21575         * docs/gst/gstreamer-sections.txt:
21576         * gst/gsturi.c:
21577         * gst/gsturi.h:
21578         Document GstURIHandler
21579
21580 2005-11-09  Wim Taymans  <wim@fluendo.com>
21581
21582         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21583         (gst_iterator_find_custom):
21584         * gst/gstiterator.h:
21585         Fix iterator docs.
21586
21587 2005-11-09  Wim Taymans  <wim@fluendo.com>
21588
21589         * gst/gstbin.h:
21590         Document another field.
21591
21592         * gst/gststructure.c:
21593         * gst/gststructure.h:
21594         Document.
21595
21596 2005-11-09  Wim Taymans  <wim@fluendo.com>
21597
21598         * gst/gstbin.h:
21599         Documented structs.
21600
21601 2005-11-09  Wim Taymans  <wim@fluendo.com>
21602
21603         * docs/gst/gstreamer-sections.txt:
21604         Added some new macros.
21605
21606         * gst/gstclock.c:
21607         * gst/gstclock.h:
21608         * gst/gstobject.h:
21609         Docs updates.
21610
21611 2005-11-09  Wim Taymans  <wim@fluendo.com>
21612
21613         * docs/design/part-TODO.txt:
21614         Some more items for the TODO
21615
21616         * gst/gstcaps.c:
21617         * gst/gstcaps.h:
21618         Document GstCaps.
21619
21620 2005-11-09  Andy Wingo  <wingo@pobox.com>
21621
21622         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21623         to work on something else now tho...
21624
21625         * gst/base/gstadapter.c: More adapter docs.
21626
21627         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21628         (gst_file_sink_stop): New functions, replace the state change
21629         handler.
21630         (gst_file_sink_class_init): Hook up the start and stop functions.
21631         (gst_file_sink_base_init): Don't set the state change handler any
21632         more. It was a bit ugly too, being set from here...
21633         (gst_file_sink_get_property, gst_file_sink_set_property):
21634         Cleanups...
21635         (gst_file_sink_set_location): More robust check that doesn't call
21636         GST_STATE. Ugggggg.
21637
21638 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21639
21640         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21641           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21642
21643 2005-11-08  Wim Taymans  <wim@fluendo.com>
21644
21645         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21646         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21647         (gst_base_sink_chain), (gst_base_sink_change_state):
21648         * gst/base/gstbasesink.h:
21649         * gst/base/gstbasesrc.h:
21650         * gst/gstelement.h:
21651         * gst/gstevent.h:
21652         Avoid excessive typechecking in macros.
21653
21654         * gst/gstminiobject.c: (gst_mini_object_get_type),
21655         (gst_mini_object_init), (gst_mini_object_new),
21656         (gst_mini_object_free):
21657         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21658         (gst_object_finalize):
21659         Remove cruft code, optimize alloc_trace.
21660
21661 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21662
21663         * docs/faq/gst-uninstalled:
21664           fix up PS1 for systems that try to reset it
21665
21666 2005-11-07  Wim Taymans  <wim@fluendo.com>
21667
21668         * gst/base/gstbasesrc.c: (gst_base_src_init),
21669         (gst_base_src_get_range):
21670         Set the segment_end to -1 initially. Fixed typefind.
21671
21672 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21673
21674         * gst/base/gstadapter.c:
21675           Debug category should be 'adapter', not 'GstAdapter'.
21676           
21677         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21678         (gst_collectpads_class_init), (gst_collectpads_init),
21679         (gst_collectpads_peek), (gst_collectpads_pop),
21680         (gst_collectpads_event), (gst_collectpads_chain):
21681           Add debug category and some debugging output. Use boilerplate
21682           macros. Remove some extraneous words from docs.
21683
21684 2005-11-05  Andy Wingo  <wingo@pobox.com>
21685
21686         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21687         macro.
21688
21689 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21690
21691         * docs/gst/gstreamer-sections.txt:
21692         * gst/gstcaps.h:
21693         * gst/gstinfo.c:
21694         * gst/gstminiobject.h:
21695         * gst/gstobject.h:
21696         * gst/gstutils.h:
21697           more docs added
21698
21699 2005-11-04  Wim Taymans  <wim@fluendo.com>
21700
21701         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21702         Small update to stop at the configured segment_end
21703         position.
21704
21705 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21706
21707         * gst/gstregistry.c:
21708         * gst/gstregistry.h:
21709           added missing docs
21710
21711 2005-11-04  Edward Hervey  <edward@fluendo.com>
21712
21713         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21714         Check if we are doing a segment seek and have arrived at the
21715         end of that segment.
21716
21717 2005-11-04  Wim Taymans  <wim@fluendo.com>
21718
21719         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21720         Don't leak a mutex unlock in case of an error.
21721
21722         * gst/gstbus.h:
21723         Doc fixes.
21724
21725 2005-11-04  Wim Taymans  <wim@fluendo.com>
21726
21727         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21728         (gst_bus_post):
21729         Get the context to wake up only once.
21730
21731 2005-11-03  Wim Taymans  <wim@fluendo.com>
21732
21733         * check/states/sinks.c: (GST_START_TEST):
21734         Uncomment fixed check.
21735
21736         * docs/design/part-TODO.txt:
21737         Updated TODO.
21738
21739         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21740         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21741         (gst_base_sink_get_position):
21742         If we are going to PLAYING, post the right pending state
21743         when we post the intermediate paused message.
21744
21745         * gst/gstelement.c: (gst_element_continue_state),
21746         (gst_element_set_state_func), (gst_element_change_state):
21747         Don't post state changes that were between the same state
21748         and were not ASYNC.
21749
21750 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21751
21752         * docs/gst/gstreamer-sections.txt:
21753         * gst/gstcaps.h:
21754         * gst/gstinfo.c:
21755         * gst/gstminiobject.h:
21756         * gst/gstobject.h:
21757         * gst/gstutils.h:
21758           more docs and doc style fixes
21759
21760 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21761
21762         * docs/gst/gstreamer-sections.txt:
21763         * gst/gstelement.c:
21764         * gst/gstminiobject.c:
21765         doc fixes
21766
21767 2005-11-03  Andy Wingo  <wingo@pobox.com>
21768
21769         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21770         state-changed messages actually have the right order and the right
21771         values.
21772
21773 2005-11-03  Wim Taymans  <wim@fluendo.com>
21774
21775         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21776         Added some more checks. Specifically the case where NO_PREROLL
21777         elements are in the pipeline.
21778
21779         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21780         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21781         (gst_base_sink_get_position):
21782         Post READY->PAUSED state change messages too.
21783         Fix bug where VOID was posted as pending state...
21784
21785         * gst/gstbin.c: (gst_bin_recalc_state):
21786         use _element_continue_state() to continue the state change.
21787
21788         * gst/gstelement.c: (gst_element_continue_state),
21789         (gst_element_commit_state), (gst_element_set_state_func),
21790         (gst_element_change_state), (gst_element_change_state_func):
21791         Lots of state change cleanups, assign the STATE_RETURN in
21792         a new continue_state() function that also propagates the
21793         last return value from a state change to the app.
21794         Update some debug statements with proper category.
21795
21796 2005-11-03  Wim Taymans  <wim@fluendo.com>
21797
21798         * docs/design/part-events.txt:
21799         * docs/design/part-gstpipeline.txt:
21800         * docs/design/part-messages.txt:
21801         * docs/design/part-overview.txt:
21802         * docs/design/part-seeking.txt:
21803         * docs/design/part-states.txt:
21804         * docs/design/part-trickmodes.txt:
21805         * docs/manual/advanced-position.xml:
21806         Small docs updates.
21807
21808         * gst/gstobject.h:
21809         People think !! is ugly, this looks better.
21810
21811         * gst/gstpad.c: (gst_pad_set_blocked_async):
21812         Remove !! since it's fixed elsewhere now.
21813
21814 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21815
21816         * gst/gstminiobject.h:
21817         * gst/gstobject.h:
21818           Add !! to _FLAG_IS_SET macros to make the result boolean.
21819
21820 2005-11-03  Edward Hervey  <edward@fluendo.com>
21821
21822         * gst/gstpad.c: (gst_pad_set_blocked_async):
21823         comparing a flag and a gboolean rarely returns coherent results...
21824         Added two characters (!!) to make that work correctly.
21825         
21826 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21827
21828         * gst/gstbus.c: (gst_bus_class_init):
21829           Fix some typos.
21830           
21831         * gst/gstqueue.c: (gst_queue_loop):
21832           Don't assume a miniobject that isn't a buffer is an
21833           event (it could be that there is a refcounting
21834           problem somewhere and the pointer is stale and
21835           refers to an already destroyed miniobject).
21836
21837 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21838
21839         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21840
21841 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21842
21843         * docs/manual/advanced-position.xml:
21844           Update seek example and explanations to current 0.9 API.
21845
21846         * gst/elements/gsttypefindelement.c:
21847         (gst_type_find_element_activate):
21848           Remove FIXME comment now that the found caps
21849           are unreffed.
21850
21851 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21852
21853         * gst/gstregistryxml.c: (load_feature):
21854           Add another GST_STR_NULL instance
21855
21856 2005-11-02  Edward Hervey  <edward@fluendo.com>
21857
21858         * gst/gstpad.c: (handle_pad_block):
21859         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21860         
21861 2005-11-02  Wim Taymans  <wim@fluendo.com>
21862
21863         * gst/gstbin.c:
21864         Fix typo in docs.
21865
21866         * gst/gstelement.c: (gst_element_commit_state):
21867         Remove unused value.
21868
21869         * gst/gstiterator.c:
21870         Mention that the returned element is reffed in the docs.
21871
21872 2005-11-02  Wim Taymans  <wim@fluendo.com>
21873
21874         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21875         (gst_pad_push), (gst_pad_push_event):
21876         Unlock blocked pads when they are flushed.
21877
21878 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21879
21880         * docs/README:
21881         * docs/gst/gstreamer-sections.txt:
21882         * gst/gstbin.c:
21883           doc updates
21884         * gst/gstregistry.c: (gst_registry_scan_path_level):
21885           fix for a nasty little missed situation where an installed plug-in
21886           which was in the cache did not get overridden by an uninstalled one
21887           which was earlier in the plugin path because the newly created plugin
21888           for the uninstalled one (not in the registry) didn't get its
21889           ->registered set to TRUE
21890
21891 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21892
21893         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21894         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21895         (gst_collectpads_is_active), (gst_collectpads_collect),
21896         (gst_collectpads_collect_range), (gst_collectpads_start),
21897         (gst_collectpads_stop), (gst_collectpads_peek),
21898         (gst_collectpads_pop), (gst_collectpads_available),
21899         (gst_collectpads_read), (gst_collectpads_flush):
21900           Guard public API with assertions.
21901         
21902         * gst/gstpad.c:
21903           Fix docs for gst_pad_set_link_function().
21904
21905 2005-11-02  Johan Dahlin  <johan@gnome.org>
21906
21907         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21908         Unref found_caps after we used it.
21909
21910 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21911
21912         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21913           Don't try to ref NULL.
21914
21915 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21916
21917         * win32/common/config.h.in:
21918           provide a GST_FUNCTION that just gives a string for now
21919
21920 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21921
21922         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21923         (gst_object_flags_get_type), (register_gst_bin_flags),
21924         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21925         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21926         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21927         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21928         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21929         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21930         (gst_clock_flags_get_type), (register_gst_state),
21931         (gst_state_get_type), (register_gst_state_change_return),
21932         (gst_state_change_return_get_type), (register_gst_state_change),
21933         (gst_state_change_get_type), (register_gst_element_flags),
21934         (gst_element_flags_get_type), (register_gst_core_error),
21935         (gst_core_error_get_type), (register_gst_library_error),
21936         (gst_library_error_get_type), (register_gst_resource_error),
21937         (gst_resource_error_get_type), (register_gst_stream_error),
21938         (gst_stream_error_get_type), (register_gst_event_type),
21939         (gst_event_type_get_type), (register_gst_seek_type),
21940         (gst_seek_type_get_type), (register_gst_seek_flags),
21941         (gst_seek_flags_get_type), (register_gst_format),
21942         (gst_format_get_type), (register_gst_index_certainty),
21943         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21944         (gst_index_entry_type_get_type),
21945         (register_gst_index_lookup_method),
21946         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21947         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21948         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21949         (gst_index_flags_get_type), (register_gst_debug_level),
21950         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21951         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21952         (gst_iterator_result_get_type), (register_gst_iterator_item),
21953         (gst_iterator_item_get_type), (register_gst_message_type),
21954         (gst_message_type_get_type), (register_gst_mini_object_flags),
21955         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21956         (gst_pad_link_return_get_type), (register_gst_flow_return),
21957         (gst_flow_return_get_type), (register_gst_activate_mode),
21958         (gst_activate_mode_get_type), (register_gst_pad_direction),
21959         (gst_pad_direction_get_type), (register_gst_pad_flags),
21960         (gst_pad_flags_get_type), (register_gst_pad_presence),
21961         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21962         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21963         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21964         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21965         (gst_plugin_flags_get_type), (register_gst_rank),
21966         (gst_rank_get_type), (register_gst_query_type),
21967         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21968         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21969         (gst_tag_flag_get_type), (register_gst_task_state),
21970         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21971         (gst_alloc_trace_flags_get_type),
21972         (register_gst_type_find_probability),
21973         (gst_type_find_probability_get_type), (register_gst_uri_type),
21974         (gst_uri_type_get_type), (register_gst_parse_error),
21975         (gst_parse_error_get_type):
21976         * win32/common/gstversion.h:
21977           update win32 copies
21978
21979 2005-11-01  Luca Ognibene  <luogni@tin.it>
21980
21981         * gst/gst.c:
21982           fix docs. popt is dead, long live GOption.
21983
21984 2005-10-31  Wim Taymans  <wim@fluendo.com>
21985
21986         * gst/gstbuffer.h:
21987         Small doc fix.
21988
21989 2005-10-31  Andy Wingo  <wingo@pobox.com>
21990
21991         * Boo!
21992
21993         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21994
21995         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21996         need to serialize property notifications on GLib 2.8. GLib 2.6 has
21997         the possibility of deadlocks here if code calling notify() or
21998         set() has a lock that can be taken in another notify handler (ABBA
21999         with class lock and e.g. python GIL state lock).
22000
22001 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22002
22003         * gst/gstbus.c: Doc updates.
22004
22005 2005-10-28  Wim Taymans  <wim@fluendo.com>
22006
22007         * docs/design/part-TODO.txt:
22008         * gst/gstiterator.c:
22009         * gst/gstsystemclock.c:
22010         * gst/gstsystemclock.h:
22011         Doc updates.
22012
22013 2005-10-28  Edward Hervey  <edward@fluendo.com>
22014
22015         * docs/gst/gstreamer-docs.sgml:
22016         * docs/gst/gstreamer-sections.txt:
22017         the GstURIType documentation page is private, it only defines GstURIType
22018         which should be defined in the GstURIHandler page
22019         
22020 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22021
22022         * gst/gstbin.c: (gst_bin_class_init):
22023         * gst/gstbin.h:
22024         * gst/gstutils.c:
22025         Documentation updates.
22026
22027 2005-10-28  Wim Taymans  <wim@fluendo.com>
22028
22029         * docs/gst/gstreamer-sections.txt:
22030         * gst/gstclock.c:
22031         * gst/gstclock.h:
22032         Documented the clocks.
22033
22034 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22035
22036         * docs/gst/gstreamer-sections.txt:
22037           move some macros to private sections
22038         * gst/gstminiobject.c:
22039         * gst/gstminiobject.h:
22040           add descriptions provided by ds and some more
22041         * gst/gstpad.h:
22042           mark macro as to be removed
22043
22044 2005-10-28  Wim Taymans  <wim@fluendo.com>
22045
22046         * docs/design/part-TODO.txt:
22047         Add an item to TODO.
22048
22049         * gst/gstiterator.c: (gst_iterator_fold),
22050         (gst_iterator_find_custom):
22051         * gst/gstiterator.h:
22052         Add iterator docs.
22053
22054 2005-10-28  Wim Taymans  <wim@fluendo.com>
22055
22056         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22057         (gst_base_transform_init):
22058         Don't leak class.
22059
22060         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22061         An EOS event marks the queue as completely filled.
22062
22063 2005-10-27  Wim Taymans  <wim@fluendo.com>
22064
22065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22066         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22067         Some more debugging.
22068
22069         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22070         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22071         (gst_base_transform_event), (gst_base_transform_getrange),
22072         (gst_base_transform_chain):
22073         * gst/base/gstbasetransform.h:
22074         Fix debugging,
22075         Protect transform and concurrent buffer alloc with a new lock.
22076         Try not to break ABI/API.
22077
22078 2005-10-27  Wim Taymans  <wim@fluendo.com>
22079
22080         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22081         (gst_base_src_init), (gst_base_src_query),
22082         (gst_base_src_default_newsegment),
22083         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22084         (gst_base_src_send_event), (gst_base_src_event_handler),
22085         (gst_base_src_pad_get_range), (gst_base_src_loop),
22086         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22087         (gst_base_src_start), (gst_base_src_deactivate),
22088         (gst_base_src_activate_push), (gst_base_src_change_state):
22089         Move some stuff around and cleanup things.
22090
22091 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22092
22093         * gst/base/gstbasesrc.c: (gst_base_src_query):
22094           Add missing break statements.
22095
22096 2005-10-27  Wim Taymans  <wim@fluendo.com>
22097
22098         * check/gst/gstbin.c: (GST_START_TEST):
22099         An extra refcount is taken in basesrc.
22100
22101         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22102         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22103         (gst_base_src_loop):
22104         Small cleanups, check for flushing after being unlocked from the 
22105         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22106         Don't send out EOS when going to READY.
22107
22108 2005-10-27  Wim Taymans  <wim@fluendo.com>
22109
22110         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22111         (gst_base_sink_get_position):
22112         Some more debug.
22113
22114         * gst/gstbin.c: (message_check), (bin_replace_message),
22115         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22116         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22117         (bin_query_duration_init), (bin_query_duration_fold),
22118         (bin_query_duration_done), (bin_query_generic_fold),
22119         (gst_bin_query):
22120         * tools/gst-launch.c: (main):
22121         Remove old option.
22122
22123 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22124
22125         * examples/controller/audio-example.c: (main):
22126         * examples/queue/queue.c: (event_loop):
22127         * gst/base/gstbasetransform.h:
22128         * gst/gstelement.c: (gst_element_send_event):
22129         * gst/gstevent.h:
22130         * gst/gstpad.c: (gst_pad_send_event):
22131           fixing examples
22132           fixing docs typos
22133           changing log priority in error situations
22134
22135 2005-10-25  Wim Taymans  <wim@fluendo.com>
22136
22137         * gst/gstbin.c: (message_check), (bin_replace_message),
22138         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22139         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22140         (bin_query_duration_init), (bin_query_duration_fold),
22141         (bin_query_duration_done), (bin_query_generic_fold),
22142         (gst_bin_query):
22143         Some doc and debug updates.
22144         Cache previously requested query DURATION for speed. invalidate
22145         cached duration if element posts a DURATION message.
22146
22147 2005-10-25  Wim Taymans  <wim@fluendo.com>
22148
22149         * docs/design/part-TODO.txt:
22150         Update TODO.
22151
22152         * gst/gstbin.c: (message_check), (bin_replace_message),
22153         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22154         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22155         (bin_query_duration_init), (bin_query_duration_fold),
22156         (bin_query_duration_done), (bin_query_generic_fold),
22157         (gst_bin_query):
22158         Handle SEGMENT_START/DONE messages correctly.
22159         More evolved query algorithm that handles duration queries
22160         correctly.
22161
22162         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22163         (gst_element_get_state_func), (gst_element_abort_state),
22164         (gst_element_commit_state), (gst_element_lost_state):
22165         Some more debugging.
22166
22167         * gst/gstmessage.h:
22168         Added doc.
22169
22170 2005-10-25  Wim Taymans  <wim@fluendo.com>
22171
22172         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22173         Don't use invalid stream_time.
22174
22175         * gst/gstevent.c: (gst_event_new_newsegment):
22176         stream_time in newsegment cannot be undefined.
22177
22178 2005-10-24  Wim Taymans  <wim@fluendo.com>
22179
22180         * gst/gstbus.c:
22181         Doc fix.
22182
22183         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22184         (gst_queue_loop):
22185         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22186
22187 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22188
22189         * docs/libs/tmpl/gstdparam.sgml:
22190         * docs/libs/tmpl/gstdplinint.sgml:
22191         * docs/libs/tmpl/gstdpman.sgml:
22192         * docs/libs/tmpl/gstdpsmooth.sgml:
22193         * docs/libs/tmpl/gstunitconvert.sgml:
22194           these are obsolete
22195
22196 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22197
22198         * configure.ac:
22199           back to HEAD
22200
22201 === release 0.9.4 ===
22202
22203 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22204
22205         * configure.ac:
22206           releasing 0.9.4, "Tyrannosaurus Rex"
22207
22208 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22209
22210         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22211         (gst_file_sink_get_current_offset):
22212           Use fseeko() and ftello() if available. When falling back on
22213           lseek() to get the current offset, fflush() first to make sure
22214           everything is up-to-date and we get the right offset.
22215
22216 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22217
22218         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22219         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22220         * gst/gsterror.c: (_gst_stream_errors_init):
22221         * gst/gsterror.h:
22222         * gst/gstqueue.c: (gst_queue_loop):
22223         * po/POTFILES.in:
22224           remove prematurely added error category and clean up the instances
22225
22226 2005-10-21  Wim Taymans  <wim@fluendo.com>
22227
22228         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22229         (gst_base_sink_get_position), (gst_base_sink_query),
22230         (gst_base_sink_change_state):
22231         Simply set the right flag when going to playing, that's all
22232         we need to do instead of calling a function inside the object
22233         lock (that could take the lock as well and deadlock)
22234
22235 2005-10-21  Wim Taymans  <wim@fluendo.com>
22236
22237         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22238         (gst_base_src_loop):
22239         Don't warn, the peer element knows what to do best when
22240         the seek failed, it might try something else.
22241
22242 2005-10-21  Wim Taymans  <wim@fluendo.com>
22243
22244         * gst/base/gstbasesrc.c: (gst_base_src_init),
22245         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22246         Fix seeking.
22247
22248 2005-10-21  Wim Taymans  <wim@fluendo.com>
22249
22250         * docs/design/part-segments.txt:
22251         More docs.
22252
22253         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22254         Correctly set caps, even on the subbufer.
22255
22256 2005-10-21  Wim Taymans  <wim@fluendo.com>
22257
22258         * docs/gst/gstreamer-docs.sgml:
22259         * docs/gst/gstreamer-sections.txt:
22260         * gst/gstelement.h:
22261         * gst/gstevent.c:
22262         * gst/gstevent.h:
22263         * gst/gstmessage.h:
22264         * gst/gstpad.h:
22265         * gst/gstparse.h:
22266         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22267         * gst/gsttask.h:
22268         * gst/gstutils.c:
22269         * gst/gstutils.h:
22270         And 2% more doc coverage.
22271
22272 2005-10-21  Andy Wingo  <wingo@pobox.com>
22273
22274         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22275         position reporting.
22276
22277 2005-10-20  Wim Taymans  <wim@fluendo.com>
22278
22279         * gst/gsterror.c: (gst_error_get_message):
22280         * gst/gstparse.h:
22281         * gst/gstquery.h:
22282         * gst/gststructure.c:
22283         * gst/gsttrace.c:
22284         * gst/gstutils.c:
22285         More docs.
22286
22287 2005-10-20  Wim Taymans  <wim@fluendo.com>
22288
22289         * gst/gstbuffer.h:
22290         * gst/gstpad.c:
22291         * gst/gstparse.c:
22292         Another 1% more coverage.
22293
22294 2005-10-20  Wim Taymans  <wim@fluendo.com>
22295
22296         * docs/gst/gstreamer-sections.txt:
22297         * gst/gstelement.c: (gst_element_get_state_func),
22298         (gst_element_abort_state), (gst_element_commit_state),
22299         (gst_element_lost_state):
22300         * gst/gstevent.h:
22301         * gst/gstquery.c: (gst_query_set_position),
22302         (gst_query_parse_position), (gst_query_set_duration),
22303         (gst_query_parse_duration), (gst_query_new_convert):
22304         * gst/gstutils.c:
22305         Yay! 1% more docs coverage.
22306
22307 2005-10-20  Wim Taymans  <wim@fluendo.com>
22308
22309         * gst/gstpad.h:
22310         * gst/gstquery.c: (gst_query_set_position),
22311         (gst_query_parse_position), (gst_query_set_duration),
22312         (gst_query_parse_duration), (gst_query_new_convert):
22313         * gst/gstquery.h:
22314         * gst/gstutils.c: (gst_element_query_convert):
22315         * gst/gstutils.h:
22316         Docs and consistency fixes.
22317
22318 2005-10-20  Wim Taymans  <wim@fluendo.com>
22319
22320         * gst/gsttask.c:
22321         * gst/gsttask.h:
22322         More docs.
22323
22324 2005-10-20  Wim Taymans  <wim@fluendo.com>
22325
22326         * gst/gstbin.c: (message_check), (bin_replace_message),
22327         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22328         (update_degree), (gst_bin_sort_iterator_next),
22329         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22330         Reworked the message handling a bit, cache the messages instead of
22331         only the senders. alows us to do more in the future.
22332
22333 2005-10-20  Wim Taymans  <wim@fluendo.com>
22334
22335         * docs/design/part-TODO.txt:
22336         Update TODO
22337
22338         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22339         (gst_base_sink_query):
22340         Don't use clock time to report position when in EOS.
22341
22342 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22343
22344         * tools/gst-inspect.c: (print_interfaces),
22345         (print_element_properties_info), (print_element_info):
22346           Fix interface output with gst-inspect -a; don't print
22347           newlines after double/float properties.
22348
22349 2005-10-20  Wim Taymans  <wim@fluendo.com>
22350
22351         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22352         (gst_base_sink_query):
22353         Speed up current position calculation.
22354
22355         * gst/base/gstbasesrc.c: (gst_base_src_query),
22356         (gst_base_src_default_newsegment):
22357         Correctly set stream position in newsegment.
22358
22359         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22360         (update_degree), (gst_bin_sort_iterator_next),
22361         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22362         * gst/gstmessage.c: (gst_message_new_custom):
22363         Clean up debugging info
22364
22365         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22366         (gst_queue_loop), (gst_queue_handle_src_query):
22367         Pause task faster.
22368
22369 2005-10-19  Wim Taymans  <wim@fluendo.com>
22370
22371         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22372         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22373         Fix query handling again.
22374
22375 2005-10-19  Wim Taymans  <wim@fluendo.com>
22376
22377         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22378         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22379         * gst/base/gstbasesrc.c: (gst_base_src_query):
22380         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22381         * gst/elements/gsttypefindelement.c:
22382         (gst_type_find_handle_src_query), (find_element_get_length),
22383         (gst_type_find_element_activate):
22384         API change fix.
22385
22386         * gst/gstquery.c: (gst_query_new_position),
22387         (gst_query_set_position), (gst_query_parse_position),
22388         (gst_query_new_duration), (gst_query_set_duration),
22389         (gst_query_parse_duration), (gst_query_set_segment),
22390         (gst_query_parse_segment):
22391         * gst/gstquery.h:
22392         Bundling query position/duration is not a good idea since duration
22393         does not change much and we don't want to recalculate it for every
22394         position query, so they are separated again..
22395         Base value in segment query is not needed.
22396
22397         * gst/gstqueue.c: (gst_queue_handle_src_query):
22398         * gst/gstutils.c: (gst_element_query_position),
22399         (gst_element_query_duration), (gst_pad_query_position),
22400         (gst_pad_query_duration):
22401         * gst/gstutils.h:
22402         Updates for query API change.
22403         Added some docs here and there.
22404
22405 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22406
22407         * check/gst/gstbin.c: (GST_START_TEST):
22408         * check/gst/gstghostpad.c: (GST_START_TEST):
22409         * check/pipelines/cleanup.c: (GST_START_TEST):
22410           wait on thread to die so we can check refcount correctly
22411
22412 2005-10-18  Wim Taymans  <wim@fluendo.com>
22413
22414         * check/pipelines/stress.c: (GST_START_TEST):
22415         Make check a little more time consuming.
22416
22417 2005-10-18  Wim Taymans  <wim@fluendo.com>
22418
22419         * check/Makefile.am:
22420         * check/pipelines/stress.c: (GST_START_TEST),
22421         (simple_launch_lines_suite), (main):
22422         Small state change torture test.
22423
22424         * docs/design/part-states.txt:
22425         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22426         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22427         (gst_base_sink_change_state):
22428         Never take state lock from streaming thread, clean up ugly
22429         hacks. Unfortunatly core does not yet support nice ways to
22430         async commit state.
22431         
22432         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22433         (bin_bus_handler):
22434         Start state recalc if a STATE_DIRTY message is posted, but only
22435         on the toplevel bin.
22436
22437         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22438         (gst_element_get_state_func), (gst_element_abort_state),
22439         (gst_element_commit_state), (gst_element_lost_state),
22440         (gst_element_set_state_func), (gst_element_change_state):
22441         * gst/gstelement.h:
22442         State variables are now protected with the LOCK, the state
22443         lock is only used to serialize _set_state().
22444
22445 2005-10-18  Wim Taymans  <wim@fluendo.com>
22446
22447         * check/gst/gstbin.c: (GST_START_TEST):
22448         * check/gst/gstmessage.c: (GST_START_TEST):
22449         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22451         (bin_bus_handler):
22452         * gst/gstelement.c: (gst_element_abort_state),
22453         (gst_element_commit_state), (gst_element_lost_state):
22454         * gst/gstmessage.c: (gst_message_new_state_changed),
22455         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22456         (gst_message_new_segment_done), (gst_message_new_duration),
22457         (gst_message_parse_state_changed),
22458         (gst_message_parse_segment_start),
22459         (gst_message_parse_segment_done), (gst_message_parse_duration):
22460         * gst/gstmessage.h:
22461         * tools/gst-launch.c: (event_loop):
22462         Seriously, this is better than a previous commit as we only need
22463         to notify the fact that an element changed state in a streaming
22464         thread, marking the state of the parents dirty, hence the 
22465         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22466         message.
22467
22468 2005-10-18  Wim Taymans  <wim@fluendo.com>
22469
22470         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22471         (gst_bin_recalc_func):
22472         * gst/gstelement.c: (gst_element_set_clock),
22473         (gst_element_abort_state), (gst_element_lost_state):
22474         Cleanups, prepare for state change fixes.
22475
22476 2005-10-18  Wim Taymans  <wim@fluendo.com>
22477
22478         * gst/gstbin.h:
22479         * gst/gstelement.c: (gst_element_class_init),
22480         (gst_element_set_state), (gst_element_set_state_func):
22481         * gst/gstelement.h:
22482         Pending ABI changes.
22483         GThreadPool in GstBinClass to monitor async state changes.
22484         state_cookie in GstElement to detect concurrent gst/set state.
22485         set_state is now virtual too in case a very complicated element
22486         has to be constructed.
22487
22488 2005-10-18  Wim Taymans  <wim@fluendo.com>
22489
22490         * check/gst/gstbin.c: (GST_START_TEST):
22491         * check/gst/gstmessage.c: (GST_START_TEST):
22492         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22493         * gst/gstbin.c: (bin_bus_handler):
22494         * gst/gstelement.c: (gst_element_commit_state),
22495         (gst_element_lost_state):
22496         * gst/gstmessage.c: (gst_message_new_state_changed),
22497         (gst_message_new_segment_start), (gst_message_new_segment_done),
22498         (gst_message_new_duration), (gst_message_parse_state_changed),
22499         (gst_message_parse_segment_start),
22500         (gst_message_parse_segment_done), (gst_message_parse_duration):
22501         * gst/gstmessage.h:
22502         * tools/gst-launch.c: (event_loop):
22503         Make messages future proof.
22504         state-change gets a flag if it was a message comming from the
22505         streaming thread.
22506         segment-start/stop can also be specified in other formats.
22507         A message to notify an app that a pipeline changed playback 
22508         duration.
22509         Also fix a GstMessage leak in -launch
22510
22511 2005-10-18  Andy Wingo  <wingo@pobox.com>
22512
22513         * gst/gstelement.c (gst_element_dispose): More helpful message.
22514
22515 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22516
22517         reviewed by: <delete if not using a buddy>
22518
22519         * common/gtk-doc.mak:
22520
22521 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22522
22523         * gst/gstregistry.c: (gst_registry_scan_path_level):
22524           unref a plug-in we get that was already initialized
22525
22526 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22527
22528         * docs/gst/gstreamer-sections.txt:
22529         * docs/libs/gstreamer-libs-sections.txt:
22530         * gst/gstelement.h:
22531           add new api entries
22532           hide internal macro
22533
22534 2005-10-17  Andy Wingo  <wingo@pobox.com>
22535
22536         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22537         cleanup.
22538
22539         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22540
22541         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22542
22543         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22544         (gst_element_get_state_func): Better debug message.
22545         (gst_element_commit_state): s/INFO/DEBUG/.
22546         (gst_element_lost_state, gst_element_change_state): 
22547
22548         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22549         (gst_message_new_custom): s/INFO/LOG/.
22550
22551 2005-10-17  Michael Smith <msmith@fluendo.com>
22552
22553         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22554           Check if end time is valid using end time, not start time.
22555
22556 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22557
22558         * check/gst-libs/controller.c: (GST_START_TEST),
22559         (gst_controller_suite):
22560         * libs/gst/controller/gstcontroller.c:
22561         (gst_controlled_property_set_interpolation_mode):
22562         * libs/gst/controller/gstcontroller.h:
22563         * libs/gst/controller/gstinterpolation.c:
22564         * testsuite/controller/.cvsignore:
22565         * testsuite/controller/Makefile.am:
22566         * testsuite/controller/interpolator.c:
22567           merge controller testsuites
22568           fix broken tests
22569           remove mem-chunk from docs
22570
22571 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22572
22573         * gst/gstmemchunk.c:
22574         * gst/gstmemchunk.h:
22575         * gst/gsttrashstack.c:
22576         * gst/gsttrashstack.h:
22577           out.  get out.  you're fired.  to the Attic !
22578
22579 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22580
22581         * gst/gstcaps.c: (gst_caps_intersect):
22582           fix signedness issues in a (hopefully) correct way
22583         * gst/gstelement.c: (gst_element_pads_activate):
22584           some debugging
22585         * gst/gstobject.c: (gst_object_set_parent):
22586           some debugging
22587
22588 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22589
22590         * gst/gstvalue.h: Fix prototypes.
22591
22592 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22593
22594         * docs/gst/gstreamer-sections.txt:
22595         * gst/gst.c: (gst_version_string):
22596         * gst/gst.h:
22597         * gst/gstversion.h.in:
22598         * win32/common/libgstreamer.def:
22599           add gst_version_string ()
22600
22601 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22602
22603         * configure.ac:
22604           clean up further
22605         * gst/gst.c: (init_post):
22606         * win32/common/config.h.in:
22607           it's PLUGINDIR now
22608         * gst/gstcaps.c: (gst_caps_intersect):
22609           use gint64, the range could be bigger than a guint
22610
22611 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22612
22613         * gst/gstclock.h:
22614           document potential problem in 2038
22615
22616 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22617
22618         * gst/gstcaps.c: (gst_caps_intersect):
22619           Fix guint j diving under 0
22620
22621 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22622
22623         * configure.ac:
22624         * win32/common/config.h:
22625         * win32/common/config.h.in:
22626           check for process.h, declares getpid() on Windows
22627         * gst/gstinfo.c:
22628           include process.h if we have it
22629         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22630         * gst/gstmemchunk.h:
22631           fix signedness issues
22632         * win32/common/libgstreamer.def:
22633           fix get_type's
22634
22635 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22636
22637         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22638         fix. Because of unsigned ints, caps intersection was going nuts and
22639         trying to access structures with G_MAXUINT index. That fixes
22640         videotestsrc ! ffmpegcolorspace ! fakesink
22641         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22642         consistency.
22643
22644 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22645
22646         * configure.ac:
22647           use the gettext macro
22648         * gst/elements/gstelements.c:
22649         * gst/gst.c:
22650         * gst/indexers/gstindexers.c:
22651           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22652         * win32/common/config.h:
22653           updated config.h
22654         * win32/common/config.h.in:
22655           add the template to generate config.h
22656         * win32/common/gstenumtypes.c:
22657         * win32/common/gstversion.h:
22658           updated copies
22659
22660 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22661
22662         * gst/gst.c: (gst_version):
22663         * gst/gstversion.h.in:
22664           add the nano
22665
22666 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22667
22668         * gst/gstevent.h:
22669           Oops, add missing closing bracket.
22670
22671 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22672
22673         * configure.ac:
22674           use common m4's for argument checking
22675
22676 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22677
22678         * docs/gst/gstreamer-sections.txt:
22679         * gst/gstevent.h:
22680           Add GST_EVENT_TYPE_NAME() macro.
22681
22682 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22683
22684         * gst/gstinfo.c:
22685         * gst/gstpluginfeature.c:
22686         * gst/gsttask.c:
22687           privatize more symbols
22688
22689 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22690
22691         * configure.ac:
22692           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22693           everything that uses GStreamer API should have the includes
22694
22695 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22696
22697         * docs/gst/gstreamer-sections.txt:
22698         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22699         * gst/gstvalue.h:
22700           give each value a _get_type, removes the DATA exports
22701
22702 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22703
22704         * gst/gst.c:
22705         * gst/gst.h:
22706           remove _gst_registry_auto_load, not used anymore
22707         * gst/gstbin.c: (gst_bin_get_type):
22708         * gst/gstbin.h:
22709         * gst/gstelement.c: (gst_element_get_type):
22710         * gst/gstelement.h:
22711         * gst/gstobject.c: (gst_object_get_type):
22712         * gst/gstobject.h:
22713         * gst/gstpad.c: (gst_pad_get_type):
22714         * gst/gstpad.h:
22715           make _get_type functions similar, fixes data export from library
22716
22717 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22718
22719         * configure.ac:
22720           correctly make conditionals
22721         * gst/elements/Makefile.am:
22722         * gst/elements/gstelements.c:
22723           fix typo causing fdsrc not to build
22724
22725 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22726
22727         * testsuite/Makefile.am:
22728         * testsuite/bytestream/.cvsignore:
22729         * testsuite/bytestream/Makefile.am:
22730         * testsuite/bytestream/filepadsink.c:
22731         * testsuite/bytestream/gstbstest.c:
22732         * testsuite/bytestream/test1.c:
22733         * testsuite/bytestream/testfile1:
22734         * testsuite/caps/normalisation.c:
22735         * testsuite/caps/random.c: (main):
22736         * testsuite/cleanup/.cvsignore:
22737         * testsuite/cleanup/Makefile.am:
22738         * testsuite/cleanup/cleanup1.c:
22739         * testsuite/cleanup/cleanup2.c:
22740         * testsuite/cleanup/cleanup3.c:
22741         * testsuite/cleanup/cleanup4.c:
22742         * testsuite/cleanup/cleanup5.c:
22743         * testsuite/controller/interpolator.c:
22744         * testsuite/debug/printf_extension.c: (main):
22745         * testsuite/elements/tee.c:
22746         * testsuite/negotiation/.cvsignore:
22747         * testsuite/negotiation/Makefile.am:
22748         * testsuite/negotiation/pad_link.c:
22749         * testsuite/pad/Makefile.am:
22750         * testsuite/pad/chainnopull.c:
22751         * testsuite/pad/getnopush.c:
22752         * testsuite/pad/link.c:
22753         * testsuite/refcounting/sched.c: (create_pipeline):
22754         * testsuite/registry/Makefile.am:
22755         * testsuite/registry/gst-print-formats.c:
22756         * testsuite/schedulers/.cvsignore:
22757         * testsuite/schedulers/142183-2.c:
22758         * testsuite/schedulers/142183.c:
22759         * testsuite/schedulers/143777-2.c:
22760         * testsuite/schedulers/143777.c:
22761         * testsuite/schedulers/147713.c:
22762         * testsuite/schedulers/147819.c:
22763         * testsuite/schedulers/147894-2.c:
22764         * testsuite/schedulers/147894.c:
22765         * testsuite/schedulers/Makefile.am:
22766         * testsuite/schedulers/group_link.c:
22767         * testsuite/schedulers/queue_link.c:
22768         * testsuite/schedulers/relink.c:
22769         * testsuite/schedulers/unlink.c:
22770         * testsuite/schedulers/unref.c:
22771         * testsuite/schedulers/useless_iteration.c:
22772         * testsuite/states/bin.c:
22773           clean out/remove some stuff from the testsuite directories
22774
22775 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22776
22777         * configure.ac:
22778           check for some headers
22779         * gst/elements/Makefile.am:
22780         * gst/elements/gstelements.c:
22781           don't compile fdsrc without sys/socket.h
22782         * gst/indexers/Makefile.am:
22783         * gst/indexers/gstindexers.c: (plugin_init):
22784           don't compile fileindex without mmap
22785
22786 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22787
22788         * configure.ac:
22789           reorganize
22790           clean up
22791           document more
22792           remove cruft
22793         * check/Makefile.am:
22794         * docs/gst/Makefile.am:
22795         * examples/helloworld/Makefile.am:
22796         * gst/Makefile.am:
22797         * gst/base/Makefile.am:
22798         * gst/check/Makefile.am:
22799         * gst/elements/Makefile.am:
22800         * gst/indexers/Makefile.am:
22801         * gst/parse/Makefile.am:
22802         * libs/gst/controller/Makefile.am:
22803         * libs/gst/dataprotocol/Makefile.am:
22804         * examples/helloworld/helloworld.c: (event_loop):
22805           compile fixes, though it's not being compiled currently
22806
22807 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22808
22809         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22810           Add some simple tests for the new taglist date API.
22811
22812 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22813
22814         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22815         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22816           Beautify 'last-message' output: print 'none' for buffer timestamps
22817           and durations if none is set; improve alignment with next messages.
22818
22819 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22820
22821         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22822         * gst/gstpluginfeature.h:
22823         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22824         * gst/gstregistry.h:
22825         * docs/gst/gstreamer-sections.txt:
22826           Add new API to check plugin feature version requirements.
22827
22828         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22829           Some basic tests for the above.         
22830
22831 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22832
22833         * gst/gststructure.c: (gst_structure_to_string):
22834           guard against NULL printf - happens when for example
22835           a message structure with GstClock gets serialized
22836
22837 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22838
22839         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22840           Fix presumable copy'n'pasto.
22841
22842 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22843
22844         * gst/elements/gstfakesrc.h:
22845         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22846         * gst/elements/gsttypefindelement.c:
22847           fix some signedness
22848         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22849           I wonder if this could actually write +2GB files before
22850
22851 2005-10-13  Andy Wingo  <wingo@pobox.com>
22852
22853         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22854         Fix Timmeke Waymans bug.
22855         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22856         string of the proper length to gst_caps_from_string. There's a
22857         potential for, before this fix, that this could cause someone
22858         connecting over the network to cause a segfault if the payload is
22859         not NUL-terminated.
22860
22861 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22862
22863         * docs/design/draft-push-pull.txt:
22864         * docs/design/part-overview.txt:
22865         * docs/random/TODO-pre-0.9:
22866         * docs/random/old/ChangeLog.gstreamer:
22867         * gst/base/gstpushsrc.c:
22868         * gst/gstclock.c:
22869           fixed typos
22870
22871 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22872
22873         * gst/glib-compat.c: (gst_flags_get_first_value):
22874         * gst/glib-compat.h:
22875         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22876         (gst_value_compare_double), (gst_value_serialize_flags):
22877           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22878           infinite loop
22879
22880 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22881
22882         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22883         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22884           fix up debugging
22885         * tools/gst-launch.c: (event_loop):
22886           print out clock nicely
22887
22888 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22889
22890         * docs/gst/gstreamer-sections.txt:
22891         * gst/gsttaglist.h:
22892         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22893         (gst_tag_list_get_date_index):
22894           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22895           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22896
22897 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22898
22899         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22900         (gst_collectpads_chain):
22901         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22902         in CollectData.
22903
22904 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22905
22906         * docs/gst/gstreamer-sections.txt:
22907         * gst/gst.c:
22908         * gst/gsterror.h:
22909         * tools/gst-inspect.c: (main):
22910         * tools/gst-launch.c: (main):
22911         * tools/gst-run.c: (main):
22912         * tools/gst-xmlinspect.c: (main):
22913           fix GOption context leaks
22914           doc fixes
22915
22916 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22917
22918         * gst/gstbus.c:
22919           use HAVE_UNISTD_H
22920         * win32/common/config.h:
22921           update config
22922         * win32/vs6/grammar.dsp:
22923         * win32/vs6/libgstelements.dsp:
22924         * win32/vs6/libgstreamer.dsp:
22925           update vs6 files
22926
22927 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22928
22929         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22930         * gst/base/gstbasesrc.c: (gst_base_src_query):
22931           fix more guint64<->gdouble conversions
22932
22933 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22934
22935         * Makefile.am:
22936           add win32-update target
22937         * win32/common/gstconfig.h:
22938         * win32/common/gstenumtypes.c:
22939         * win32/common/gstenumtypes.h:
22940         * win32/common/gstversion.h:
22941           add files that visual studio can't generate
22942
22943 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22944
22945         * Makefile.am:
22946           add a win32-update target
22947         * configure.ac:
22948
22949 2005-10-12  Wim Taymans  <wim@fluendo.com>
22950
22951         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22952         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22953         * gst/gstelement.c: (gst_element_commit_state),
22954         (gst_element_set_state):
22955         Protect flags with proper lock.
22956         unref provided cached clock in dispose.
22957
22958 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22959
22960         * gst/gst.c:
22961         * gst/gstminiobject.h:
22962         * gst/gstpad.h:
22963         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22964           removed unused flags from miniobject
22965           doc fixes
22966
22967 2005-10-12  Wim Taymans  <wim@fluendo.com>
22968
22969         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22970         (gst_file_sink_event), (gst_file_sink_render):
22971         Flush before seeking.
22972
22973 2005-10-12  Andy Wingo  <wingo@pobox.com>
22974
22975         * gst/gst.c (gst_init_check): Ignore unknown options, as has
22976         always been the case.
22977
22978 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22979
22980         * check/gst/gstbin.c: (GST_START_TEST):
22981         * docs/gst/gstreamer-sections.txt:
22982         * gst/base/gstbasesink.c: (gst_base_sink_init):
22983         * gst/base/gstbasesrc.c: (gst_base_src_init),
22984         (gst_base_src_get_range), (gst_base_src_check_get_range),
22985         (gst_base_src_start), (gst_base_src_stop):
22986         * gst/base/gstbasesrc.h:
22987         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22988         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22989         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22990         (bin_bus_handler):
22991         * gst/gstbin.h:
22992         * gst/gstbuffer.h:
22993         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22994         * gst/gstbus.h:
22995         * gst/gstelement.c: (gst_element_is_locked_state),
22996         (gst_element_set_locked_state), (gst_element_commit_state),
22997         (gst_element_set_state):
22998         * gst/gstelement.h:
22999         * gst/gstindex.c: (gst_index_init):
23000         * gst/gstindex.h:
23001         * gst/gstminiobject.h:
23002         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23003         (gst_object_set_parent):
23004         * gst/gstobject.h:
23005         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23006         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23007         * gst/gstpad.h:
23008         * gst/gstpadtemplate.h:
23009         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23010         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23011         * gst/gstpipeline.h:
23012         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23013         (gst_file_index_commit):
23014         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23015         * testsuite/pad/link.c: (gst_test_src_init),
23016         (gst_test_filter_init), (gst_test_sink_init):
23017         * testsuite/states/locked.c: (main):
23018           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23019           moved bitshift from macro to enum definition
23020
23021 2005-10-12  Wim Taymans  <wim@fluendo.com>
23022
23023         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23024         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23025         (gst_file_sink_render):
23026         Some more debugging info.
23027
23028 2005-10-12  Wim Taymans  <wim@fluendo.com>
23029
23030         * docs/design/part-states.txt:
23031         * tools/gst-launch.c: (main):
23032         Some doc updates.
23033         Revert non-intentional change.
23034
23035 2005-10-12  Wim Taymans  <wim@fluendo.com>
23036
23037         * check/gst/gstbin.c: (GST_START_TEST):
23038         * check/gst/gstelement.c: (GST_START_TEST):
23039         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23040         * check/gst/gstghostpad.c: (GST_START_TEST):
23041         * check/gst/gstpipeline.c: (GST_START_TEST):
23042         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23043         * check/states/sinks.c: (GST_START_TEST):
23044         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23045         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23046         (gst_bin_remove_func), (gst_bin_get_state_func),
23047         (gst_bin_recalc_state), (gst_bin_change_state_func),
23048         (bin_bus_handler):
23049         * gst/gstelement.c: (gst_element_get_state_func),
23050         (gst_element_get_state), (gst_element_abort_state),
23051         (gst_element_commit_state), (gst_element_set_state),
23052         (gst_element_change_state), (gst_element_change_state_func):
23053         * gst/gstelement.h:
23054         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23055         (gst_pipeline_provide_clock_func):
23056         * gst/gstutils.c: (gst_element_link_pads_filtered):
23057         * tools/gst-launch.c: (main):
23058         * tools/gst-typefind.c: (main):
23059         Use GstClockTime in _get_state() instead of GTimeVal.
23060         Remove old code in gstutils.c
23061
23062 2005-10-12  Andy Wingo  <wingo@pobox.com>
23063
23064         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23065         removed.
23066
23067         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23068         there is no task. Shouldn't affect any code, as nothing in our
23069         plugins checks this return value.
23070         (gst_pad_stop_task): Also take the stream lock if the pad has no
23071         task. Docs updated.
23072
23073 2005-10-12  Wim Taymans  <wim@fluendo.com>
23074
23075         * gst/gstpad.c: (pre_activate), (post_activate),
23076         (gst_pad_activate_pull), (gst_pad_activate_push):
23077         Cleanup activation code. Reset old state if
23078         activation failed.
23079
23080 2005-10-12  Wim Taymans  <wim@fluendo.com>
23081
23082         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23083         (gst_base_sink_change_state):
23084         No need to prerol after receiving EOS.
23085
23086         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23087         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23088         * gst/elements/gstidentity.c: (gst_identity_event):
23089         Print events more verbosely.
23090
23091 2005-10-12  Wim Taymans  <wim@fluendo.com>
23092
23093         * check/Makefile.am:
23094         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23095         * check/states/sinks2.c:
23096         Moved sinks2 testcode in sinks check.
23097
23098         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23099         (gst_bin_remove_func), (gst_bin_recalc_state),
23100         (gst_bin_change_state_func), (bin_bus_handler):
23101         Fix potential race condition when _get_state() iterated over an
23102         ASYNC element right before it posted a state completion.
23103
23104         * gst/gstclock.h:
23105         Do proper cast here.
23106
23107         * gst/gstevent.c: (gst_event_new_newsegment),
23108         (gst_event_parse_newsegment):
23109         A playback rate of 0.0 is not allowed.
23110
23111 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23112
23113         * win32/common/config.h:
23114         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23115         (_trewinddir), (_ttelldir), (_tseekdir):
23116         * win32/common/dirent.h:
23117         * win32/common/gtchar.h:
23118         * win32/common/libgstbase.def:
23119         * win32/common/libgstreamer.def:
23120         * win32/vs6/grammar.dsp:
23121         * win32/vs6/gst_inspect.dsp:
23122         * win32/vs6/gst_launch.dsp:
23123         * win32/vs6/gstreamer.dsw:
23124         * win32/vs6/libgstbase.dsp:
23125         * win32/vs6/libgstelements.dsp:
23126         * win32/vs6/libgstreamer.dsp:
23127           Visual Studio 6 project files, and a new common directory.
23128           Phear.
23129
23130 2005-10-11  Wim Taymans  <wim@fluendo.com>
23131
23132         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23133         (gst_base_sink_do_sync), (gst_base_sink_query),
23134         (gst_base_sink_change_state):
23135         * gst/base/gstbasesink.h:
23136         Correctly parse newsegment info.
23137
23138 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23139
23140         * gst/gst.c: (init_post):
23141           split plugin paths correctly
23142
23143 2005-10-11  Wim Taymans  <wim@fluendo.com>
23144
23145         * check/gst/gstevent.c: (GST_START_TEST):
23146         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23147         (gst_base_sink_change_state):
23148         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23149         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23150         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23151         * gst/gstevent.c: (gst_event_new_newsegment),
23152         (gst_event_parse_newsegment):
23153         * gst/gstevent.h:
23154         Added extra flag to newsegment for future API freeze.
23155         Updated check and base elements.
23156
23157 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23158
23159         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23160         (gst_collectpads_add_pad), (gst_collectpads_pop),
23161         (gst_collectpads_event), (gst_collectpads_chain):
23162         * gst/base/gstcollectpads.h: Handle EOS correctly.
23163
23164 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23165
23166         * tools/gst-launch.c: (main):
23167           more null protecting
23168
23169 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23170
23171         * gst/gst-i18n-lib.h:
23172           check for ENABLE_NLS, not GETTEXT_PACKAGE
23173         * gst/gstregistry.c: (gst_registry_add_plugin),
23174         (gst_registry_scan_path_level),
23175         (_gst_registry_remove_cache_plugins):
23176           protect possibly NULL strings
23177         * gst/parse/types.h:
23178           config.h already included before
23179         * tools/gst-inspect.c: (main):
23180           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23181           check for ENABLE_NLS, not GETTEXT_PACKAGE
23182         * tools/gst-launch.c: (main):
23183           check for ENABLE_NLS, not GETTEXT_PACKAGE
23184
23185 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23186
23187         * configure.ac:
23188           if we don't have glib, fail before testing 2.8
23189         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23190           fix a leak, should fix plugins-base testsuite
23191
23192 2005-10-11  Andy Wingo  <wingo@pobox.com>
23193
23194         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23195         take the mode we're going to as an arg. Go head and set the mode
23196         and flushing flags now, so that if the activate function starts a
23197         thread all the flags will be in the right state.
23198         (post_activate): Renamed also. Just handle making sure streaming
23199         finishes for the deactivation case, and setting the deactivated
23200         mode.
23201         (gst_pad_set_active): Complain loudly if deactivation fails.
23202         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23203         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23204         remove the terrible hack.
23205
23206 2005-10-11  Wim Taymans  <wim@fluendo.com>
23207
23208         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23209         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23210         (gst_bin_recalc_state), (gst_bin_change_state_func),
23211         (gst_bin_dispose), (bin_bus_handler):
23212         * gst/gstbin.h:
23213         Prepare to make current EOS message queue more generic.
23214         Fix some typos.
23215
23216         * gst/gstevent.c: (gst_event_new_newsegment),
23217         (gst_event_parse_newsegment):
23218         * gst/gstevent.h:
23219         Rename base to stream_time.
23220
23221         * gst/gstmessage.h:
23222         Fix typo in docs.
23223
23224 2005-10-11  Wim Taymans  <wim@fluendo.com>
23225
23226         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23227         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23228         (gst_bin_change_state_func), (bin_bus_handler):
23229         * gst/gstbin.h:
23230         Work on proper clock selection.
23231
23232 2005-10-11  Edward Hervey  <edward@fluendo.com>
23233
23234         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23235         * libs/gst/controller/gstcontroller.h:
23236         Added GList* version of _remove_properties() in order to be able to wrap
23237         it in bindings.
23238
23239 2005-10-11  Wim Taymans  <wim@fluendo.com>
23240
23241         * docs/design/part-states.txt:
23242         Some more docs.
23243
23244         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23245         (gst_bin_change_state_func), (bin_bus_handler):
23246         Doc updates. Don't distribute the same clock over and over again.
23247
23248         * gst/gstclock.c:
23249         * gst/gstclock.h:
23250         Doc updates.
23251
23252         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23253         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23254         (gst_pad_send_event):
23255         * gst/gstpad.h:
23256         Make probe emission threadsafe again.
23257         Register quarks and move _get_name() from utils.
23258         Doc updates.
23259
23260         * gst/gstpipeline.c: (gst_pipeline_class_init),
23261         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23262         Only redistribute the clock of it changed.
23263
23264         * gst/gstsystemclock.h:
23265         Doc updates. 
23266
23267         * gst/gstutils.c:
23268         * gst/gstutils.h:
23269         Moved the _flow_get_name() to GstPad.
23270
23271 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23272
23273         * check/gst-libs/gdp.c: (GST_START_TEST):
23274         * check/gst/gstcaps.c: (GST_START_TEST):
23275         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23276         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23277         (gst_dp_packet_from_caps):
23278           fix more valgrind warnings before turning up the heat
23279
23280 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23281
23282         * gst/parse/grammar.y:
23283           some cleanup before the hacking
23284
23285 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23286
23287         * gst/base/gstbasesrc.c: (gst_base_src_query):
23288           use conversions
23289         * gst/gstutils.c: (gst_guint64_to_gdouble),
23290         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23291         * gst/gstutils.h:
23292           externalize, basesrc uses it
23293           obviously the implementation needs testing
23294
23295 2005-10-10  Wim Taymans  <wim@fluendo.com>
23296
23297         * tests/sched/Makefile.am:
23298         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23299         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23300
23301 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23302
23303         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23304           apparently converting from guint64 to double is not implemented
23305           on MSVC
23306
23307 2005-10-10  Wim Taymans  <wim@fluendo.com>
23308
23309         * check/Makefile.am:
23310         * check/generic/states.c: (GST_START_TEST):
23311         * check/gst/gstbin.c: (GST_START_TEST):
23312         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23313         * check/states/sinks.c: (GST_START_TEST):
23314         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23315         (main):
23316         Check fixes, use API as stated in design docs, remove hacks.
23317
23318         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23319         (gst_base_sink_change_state):
23320         Catch stopping our task while we're shutting down.
23321
23322         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23323         (gst_bin_remove_func), (gst_bin_get_state_func),
23324         (gst_bin_recalc_state), (gst_bin_change_state_func),
23325         (bin_bus_handler):
23326         * gst/gstbin.h:
23327         * gst/gstelement.c: (gst_element_init),
23328         (gst_element_get_state_func), (gst_element_abort_state),
23329         (gst_element_commit_state), (gst_element_lost_state),
23330         (gst_element_set_state), (gst_element_change_state),
23331         (gst_element_change_state_func):
23332         * gst/gstelement.h:
23333         New state change algorithm (see #318116)
23334
23335         * gst/gstpipeline.c: (gst_pipeline_class_init),
23336         (gst_pipeline_init), (gst_pipeline_set_property),
23337         (gst_pipeline_get_property), (do_pipeline_seek),
23338         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23339         * gst/gstpipeline.h:
23340         Remove crude state change hacks.
23341
23342         * gst/gstutils.h:
23343         Remove crude hacks.
23344
23345         * tools/gst-launch.c: (main):
23346         Fixes for state change. Needs some more work to fully use the
23347         new stuff.
23348
23349 2005-10-10  Andy Wingo  <wingo@pobox.com>
23350
23351         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23352
23353         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23354         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23355         issue.
23356
23357 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23358
23359         * gst/gstiterator.c: (gst_iterator_new):
23360           Fix my previous commit: GTypes passed to gst_iterator_new()
23361           can be fundamental types.
23362
23363 2005-10-10  Wim Taymans  <wim@fluendo.com>
23364
23365         * gst/gstelement.c: (gst_element_iterate_pad_list),
23366         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23367         (gst_element_iterate_sink_pads):
23368         Use src/sink pads lists for the respective iterators instead
23369         of filtering.
23370
23371 2005-10-10  Andy Wingo  <wingo@pobox.com>
23372
23373         Merged in popt removal + GOption addition patch from Ronald, bug
23374         #169772.
23375
23376         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23377         GstElement macros around, remove popt-related symbols, add goption
23378         stuff.
23379
23380         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23381         
23382         * docs/gst/Makefile.am:
23383         * docs/libs/Makefile.am: No POPT_CFLAGS.
23384         
23385         * examples/manual/Makefile.am:
23386         * docs/manual/basics-init.xml: Doc updates with an example.
23387         
23388         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23389         (gst_init), (parse_one_option), (parse_goption_arg):
23390         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23391         bit of hand merging and debugging to get the GOption stuff working
23392         tho.
23393         
23394         * tests/Makefile.am:
23395         * tools/Makefile.am:
23396         * tools/gst-inspect.c: (main):
23397         * tools/gst-launch.c: (main):
23398         * tools/gst-run.c: (main):
23399         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23400
23401 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23402
23403         * gst/gstiterator.c: (gst_iterator_new):
23404           Add assertions to make sure passed GType is likely to really
23405           be a GType (as the compiler won't catch it if the size and
23406           GType arguments get mixed up, see #318447).
23407
23408 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23409
23410         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23411
23412         * gst/gstbin.c: (gst_bin_iterate_sorted):
23413           Pass GType and size arguments to gst_iterator_new() in the right
23414           order (maybe we should make _new() take the GType as first argument
23415           just like _new_list()?) (#318447).
23416           
23417
23418 2005-10-10  Wim Taymans  <wim@fluendo.com>
23419
23420         * gst/gstelement.c: (gst_element_finalize):
23421         And free the GStaticRecMutex too
23422
23423 2005-10-10  Andy Wingo  <wingo@pobox.com>
23424
23425         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23426         Allocate and free the mutex properly.
23427
23428         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23429         New macros.
23430         (GstElement): The state_lock is now recursive. Rebuild your
23431         plugins, suckers. Old macros adapted.
23432
23433         * docs/gst/gstreamer-sections.txt: Doc updates.
23434
23435         * gst/gstutils.h:
23436         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23437         (g_static_rec_cond_wait): Ported from state changes patch, while
23438         we wait on bug #317802 to be solved in a well-distributed GLib.
23439
23440         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23441         gst_element_change_state, variable name changes.
23442         (gst_element_change_state): Split out of gst_element_set_state in
23443         preparation for the state change merge. Doesn't pay attention to
23444         the 'transition' argument.
23445         (gst_element_set_state): Updates, hopefully purely cosmetic.
23446         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23447         state change patch.
23448         (gst_element_get_state_func): Renamed from get_state, cosmetic
23449         changes.
23450
23451 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23452
23453         * gst/elements/gstelements.c:
23454         * win32/GStreamer.vcproj:
23455         * win32/config.h:
23456         * win32/dirent.c: (_tseekdir):
23457         * win32/gst-inspect.vcproj:
23458         * win32/gst-launch.vcproj:
23459         * win32/gstconfig.h:
23460         * win32/gstelements.vcproj:
23461         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23462         * win32/gstreamer.def:
23463         * win32/msvc71.sln:
23464           updates for the win32 build (patch from Sebastien Moutte)
23465
23466 2005-10-10  Andy Wingo  <wingo@pobox.com>
23467
23468         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23469         gst_bin_get_state, cleaned up (but no logic changes).
23470         (bin_element_is_sink): Comment updates.
23471         (sink_iterator_filter): Remove needless cast.
23472         (gst_bin_iterate_sinks): Doc update.
23473         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23474         cleaned up (but no logic changes).
23475
23476         * check/states/sinks.c (test_src_sink): Cleanups from the state
23477         change patch.
23478         (test_livesrc_sink): Sync on the state.
23479
23480         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23481         the state change patch.
23482
23483         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23484         change patch.
23485
23486         * check/gst/gstbin.c: Merge in some style fixes and additional
23487         checks from Wim's state change patch.
23488
23489 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23490
23491         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23492         (gst_type_find_helper):
23493           Check whether we have the requested data already in our list of
23494           cached buffers before pulling a new buffer; also make the buffer
23495           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23496
23497 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23498
23499         * gst/gstcaps.c:
23500         * gst/gstevent.c:
23501           doc updates
23502         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23503           don't use long long, it's not portable.  Replacing with
23504           gint64 seems to work; let's hope no skeletons fall out of the closet.
23505
23506 2005-10-10  Andy Wingo  <wingo@pobox.com>
23507
23508         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23509
23510 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23511
23512         * docs/gst/gstreamer-sections.txt:
23513         * gst/gstevent.c:
23514         * gst/gstevent.h:
23515         * gst/gstinfo.c:
23516         * gst/gstinfo.h:
23517         * gst/gstmessage.c: (gst_message_parse_state_changed):
23518         * gst/gstpad.c:
23519         * gst/gstpad.h:
23520           more docs, fix compilation
23521
23522 2005-10-09  Philippe Khalaf <burger@speedy.org>
23523         * gst/gstmessage.c:
23524           Fixed a few forgotten variables on previous commit
23525
23526 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23527
23528         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23529           Fix evil typefind crasher: getrange() might return a short
23530           buffer at the end of a file, but gst_type_find_peek() must
23531           either return the full data as requested or NULL, but
23532           never a short buffer.
23533
23534 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23535
23536         * gst/gstmessage.c: (gst_message_new_state_changed),
23537         (gst_message_parse_state_changed):
23538         * gst/gstmessage.h:
23539           don't use "new", it's a C++ keyword
23540
23541 2005-10-08  Wim Taymans  <wim@fluendo.com>
23542
23543         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23544         * gst/gstelement.c: (gst_element_post_message):
23545         * gst/gstpipeline.c: (gst_pipeline_change_state):
23546         Small docs and debug updates.
23547
23548 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23549
23550         * docs/gst/gstreamer-sections.txt:
23551         * gst/gstelementfactory.c:
23552         * gst/gstevent.c:
23553         * gst/gsttaglist.c:
23554           more docs
23555
23556 2005-10-08  Wim Taymans  <wim@fluendo.com>
23557
23558         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23559         (gst_bin_dispose), (bin_bus_handler):
23560         Fix typos, add comments.
23561         Clear EOS list when going to PAUSED from any direction and do it
23562         in a threadsafe way.
23563         Get base time in a threadsafe way too.
23564         Fix confusing debug in the change_state function.
23565         Various other small cleanups.
23566         
23567         * gst/gstelement.c: (gst_element_post_message):
23568         Fix very verbose bus posting code.
23569
23570         * gst/gstpipeline.c: (gst_pipeline_class_init),
23571         (gst_pipeline_set_property), (gst_pipeline_get_property),
23572         (gst_pipeline_change_state):
23573         Small ARG_ -> PROP_ cleanup
23574
23575 2005-10-08  Wim Taymans  <wim@fluendo.com>
23576
23577         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23578         Do a less CPU demanding EOS check because we can.
23579
23580 2005-10-08  Wim Taymans  <wim@fluendo.com>
23581
23582         * libs/gst/dataprotocol/dataprotocol.c:
23583         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23584         (gst_dp_packet_from_event):
23585         * libs/gst/dataprotocol/dataprotocol.h:
23586         * libs/gst/dataprotocol/dp-private.h:
23587         It's about time we bump the version number.
23588         Since event types don't fit in the guint8 anymore describing
23589         the payload type, make payload type 16 bits wide.
23590
23591 2005-10-08  Wim Taymans  <wim@fluendo.com>
23592
23593         * docs/design/part-TODO.txt:
23594         * docs/design/part-clocks.txt:
23595         * docs/design/part-events.txt:
23596         * docs/design/part-gstbin.txt:
23597         * docs/design/part-gstelement.txt:
23598         * docs/design/part-gstpipeline.txt:
23599         * docs/design/part-live-source.txt:
23600         * docs/design/part-messages.txt:
23601         * docs/design/part-overview.txt:
23602         * docs/design/part-states.txt:
23603         Many doc updates.
23604
23605 2005-10-08  Wim Taymans  <wim@fluendo.com>
23606
23607         * gst/gstevent.c:
23608         * gst/gstevent.h:
23609         Fix event quark registration.
23610         Add some space between events so we can insert them in the
23611         right groups.
23612
23613 2005-10-08  Wim Taymans  <wim@fluendo.com>
23614
23615         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23616         (gst_base_sink_handle_buffer):
23617         Better log message.
23618
23619         * gst/gstbus.h:
23620         * gst/gstelement.h:
23621         More docs.
23622
23623         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23624         (gst_queue_set_property), (gst_queue_get_property):
23625         * gst/gstqueue.h:
23626         Remove old unused properties.
23627
23628 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23629         * docs/gst/gstreamer-sections.txt:
23630         * gst/gstmessage.c:
23631         * gst/gstmessage.h:
23632         * gst/gstminiobject.c:
23633         * gst/gstminiobject.h:
23634         * gst/gstobject.h:
23635         * gst/gstpad.h:
23636         * gst/gstutils.h:
23637           lots of new docs and doc fixes
23638
23639 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23640
23641         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23642         * gst/gstplugin.h:
23643         * gst/gstregistry.c: (gst_registry_lookup_locked),
23644         (gst_registry_scan_path_level):
23645         * gst/gstregistryxml.c: (load_plugin):
23646           Only ever load one plugin for a given plugin basename.
23647           This ensures correct overriding of GST_PLUGIN_PATH over
23648           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23649           system installed plugins.
23650
23651 2005-10-08  Wim Taymans  <wim@fluendo.com>
23652
23653         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23654         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23655         Prepare for doing QOS.
23656
23657 2005-10-08  Wim Taymans  <wim@fluendo.com>
23658
23659         * check/gst/gstbin.c: (GST_START_TEST):
23660         * check/pipelines/cleanup.c: (GST_START_TEST):
23661         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23662         Allow new clock message too.
23663
23664 2005-10-08  Wim Taymans  <wim@fluendo.com>
23665
23666         * gst/gstmessage.c: (gst_message_new_error),
23667         (gst_message_new_warning), (gst_message_new_tag),
23668         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23669         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23670         (gst_message_new_segment_start), (gst_message_new_segment_done),
23671         (gst_message_parse_state_changed),
23672         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23673         (gst_message_parse_new_clock):
23674         * gst/gstmessage.h:
23675         Also carry the clock in question.
23676
23677 2005-10-08  Wim Taymans  <wim@fluendo.com>
23678
23679         * gst/gstmessage.c: (gst_message_new_custom),
23680         (gst_message_new_eos), (gst_message_new_error),
23681         (gst_message_new_warning), (gst_message_new_tag),
23682         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23683         (gst_message_new_new_clock), (gst_message_new_segment_start),
23684         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23685         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23686         * gst/gstmessage.h:
23687         Clean up.
23688         Added clock related messages.
23689
23690         * gst/gstpipeline.c: (gst_pipeline_change_state):
23691         Post message when the clock changed.
23692
23693         * tools/gst-launch.c: (event_loop):
23694         Print new clock.
23695
23696 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23697
23698         * tools/gst-inspect.c: (print_element_properties_info):
23699           Can't pass NULL strings to g_print() on windows.
23700
23701 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23702
23703         * docs/Makefile.am:
23704         * docs/gst/Makefile.am:
23705         * docs/gst/gstreamer-docs.sgml:
23706         * docs/gst/running.xml:
23707         * docs/version.entities.in:
23708           add a chapter on running GStreamer.
23709           document GST_DEBUG and GST_PLUGIN* env vars
23710
23711 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23712
23713         * Makefile.am:
23714           remove include dir
23715         * configure.ac:
23716           remove PLUGINS_BUILDDIR stuff
23717         * gst/gst.c: (init_post):
23718           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23719         * idiottest.mak:
23720           remove, it was condescending and not needed
23721
23722 2005-10-08  Wim Taymans  <wim@fluendo.com>
23723
23724         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23725         (gst_base_sink_handle_object), (gst_base_sink_event),
23726         (gst_base_sink_wait), (gst_base_sink_handle_event),
23727         (gst_base_sink_change_state):
23728         * gst/base/gstbasesink.h:
23729         Repost EOS message while going to PLAYING if still EOS.
23730         Make sure that when receiving a FLUSH_START we don't attempt
23731         to sync on the clock anymore.
23732
23733 2005-10-08  Wim Taymans  <wim@fluendo.com>
23734
23735         * tools/gst-launch.c: (event_loop):
23736         Better message printout.
23737
23738 2005-10-08  Wim Taymans  <wim@fluendo.com>
23739
23740         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23741         (gst_bin_child_proxy_get_children_count):
23742         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23743         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23744         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23745         (gst_child_proxy_set_valist):
23746         * gst/parse/grammar.y:
23747         Make ChildProxy threadsafe and fix mem leaks.
23748
23749 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23750
23751         * gst/gst.c: (init_post):
23752           debug the GST_PLUGIN_ env vars
23753
23754 2005-10-08  Wim Taymans  <wim@fluendo.com>
23755
23756         * check/gst/gstbin.c: (GST_START_TEST):
23757         * check/gst/gstmessage.c: (GST_START_TEST):
23758         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23759         * gst/gstelement.c: (gst_element_commit_state),
23760         (gst_element_lost_state):
23761         * gst/gstmessage.c: (gst_message_new_state_changed),
23762         (gst_message_parse_state_changed):
23763         * gst/gstmessage.h:
23764         * tools/gst-launch.c: (event_loop):
23765         Added extra field to STATE_CHANGE message with the pending
23766         state, which will be different from the new state soon.
23767
23768 2005-10-08  Wim Taymans  <wim@fluendo.com>
23769
23770         * gst/gstbus.c: (gst_bus_pop):
23771         * gst/gstclock.c:
23772         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23773         Small cleanups and doc updates.
23774
23775 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23776
23777         * gst/gst.c: (init_pre):
23778         * gst/gstbin.c: (gst_bin_add_func):
23779           log distributing clocks and base time
23780         * gst/gstregistry.c: (gst_registry_add_plugin),
23781         (gst_registry_scan_path_level), (gst_registry_scan_path):
23782           clean up the debugging output a little
23783         * gst/gstutils.c: (gst_element_state_get_name):
23784           warn about a memleak (I've actually seen this be used, though
23785           it was probably a bug)
23786
23787 2005-10-07  Wim Taymans  <wim@fluendo.com>
23788
23789         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23790         (gst_base_src_init), (gst_base_src_default_newsegment),
23791         (gst_base_src_newsegment), (gst_base_src_do_seek),
23792         (gst_base_src_loop), (gst_base_src_start):
23793         * gst/base/gstbasesrc.h:
23794         Make the newsegment event customizable by subclasses.
23795
23796 2005-10-07  Wim Taymans  <wim@fluendo.com>
23797
23798         * gst/gstevent.c: (gst_event_new_buffersize),
23799         (gst_event_parse_buffersize):
23800         * gst/gstevent.h:
23801         New event for future idea.
23802
23803 2005-10-07  Andy Wingo  <wingo@pobox.com>
23804
23805         * gst/gstelement.c (gst_element_post_message): Doc update.
23806
23807         * docs/gst/gstreamer-sections.txt: Update.
23808
23809         * gst/gstmessage.c (gst_message_new_application): Made into a
23810         function like honest API calls.
23811         (gst_message_new_element): New message type.
23812
23813         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23814
23815         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23816         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23817         times.
23818
23819         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23820         NO_PREROLL from gst_element_change_state to fall through.
23821
23822 2005-10-07  Wim Taymans  <wim@fluendo.com>
23823
23824         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23825         (gst_ghost_pad_do_activate_push):
23826         Activating a ghostpad with no internal pad in push mode
23827         is ok.
23828
23829 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23830
23831         * gst/gstobject.h:
23832           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23833           Fixes compilation on Windows.
23834
23835 2005-10-07  Michael Smith <msmith@fluendo.com>
23836
23837         * tools/gst-inspect.c:
23838           Print out feature and plugin count at the end when printing out
23839           all features.
23840
23841 2005-10-04  Michael Smith <msmith@fluendo.com>
23842
23843         * gst/gsterror.c: (_gst_stream_errors_init):
23844           Add another error string used in a few existing plugins.
23845
23846         * gst/gstplugin.c:
23847         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23848         * tools/gst-inspect.c: (print_element_info):
23849           When a feature disappears from a plugin (and the feature exists in
23850           the cached registry file), things went horribly wrong. This isn't a
23851           complete fix, we should actually be removing the 'missing' features
23852           from the features list when we load the actual plugin. That's not
23853           yet implemented. 
23854
23855 2005-10-04  Johan Dahlin  <johan@gnome.org>
23856
23857         * check/gst/gstiterator.c: (GST_START_TEST):
23858         * gst/gstbin.c: (gst_bin_iterate_elements),
23859         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23860         * gst/gstelement.c: (gst_element_iterate_pads):
23861         * gst/gstformat.c: (gst_format_iterate_definitions):
23862         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23863         (gst_iterator_new_list), (gst_iterator_filter):
23864         * gst/gstiterator.h:
23865         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23866         Add a GType to GstIterator, update callsites and tests.
23867
23868 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23869
23870         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23871           give events a chance to be handled by event probes when the pad
23872           is not linked
23873
23874 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23875
23876         * gst/gstevent.c: (gst_event_type_get_name),
23877         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23878         * gst/gstevent.h:
23879           add string representations for event types
23880
23881 2005-10-06  Wim Taymans  <wim@fluendo.com>
23882
23883         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23884         Don't use NULL pointers.
23885
23886 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23887
23888         * gst/gst_private.h:
23889         * gst/gstbus.c:
23890         * gst/gstelement.c:
23891         * gst/gstinfo.c:
23892         * gst/gstpluginfeature.c:
23893           widen the debug category in output to fit the biggest one we have
23894           add a bus category and use it
23895           play with the colors
23896           fix up some categories
23897
23898 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23899
23900         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23901           add push activation of sink ghost pads.
23902           Andye, please verify
23903
23904 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23905
23906         * gst/gstutils.c: (gst_element_link_pads):
23907           fix a bug in the case where neither element has a pad
23908         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23909           add a test for that case
23910
23911 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23912
23913         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23914           emit have-data before checking for peers.  This allows
23915           for probe handlers to connect elements.  This helps autopluggers.
23916         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23917         (gst_pad_suite):
23918           add six checks, linked/unlinked with no/true/false probe
23919
23920 2005-10-04  Wim Taymans  <wim@fluendo.com>
23921
23922         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23923         (gst_fake_sink_event), (gst_fake_sink_preroll),
23924         (gst_fake_sink_render), (gst_fake_sink_change_state):
23925         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23926         (gst_fake_src_get_property), (gst_fake_src_create),
23927         (gst_fake_src_stop):
23928         * gst/elements/gstidentity.c: (gst_identity_stop):
23929         Protect last_message with lock.
23930
23931 2005-10-04  Edward Hervey  <edward@fluendo.com>
23932
23933         * gst/gstformat.h: 
23934         Added precision in the comments for GST_FORMAT_DEFAULT
23935
23936 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23937
23938         * tools/gst-launch.c: (main):
23939           Don't try to run erroneous pipelines.
23940
23941 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23942
23943         * gst/gstbus.c: We don't need this header.
23944
23945 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23946
23947         * configure.ac:
23948           back to development
23949
23950 === release 0.9.3 ===
23951
23952 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23953
23954         * README:
23955         * configure.ac:
23956           Releasing 0.9.3, "Unregistered"
23957
23958 2005-10-03  Andy Wingo  <wingo@pobox.com>
23959
23960         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23961         whereby calling a pad's activatepush() function can start a thread
23962         that starts to push or pull before the pad gets the FLUSHING flag
23963         unset. Hack around it by holding the stream lock until the flag is
23964         set. Need to replace this with a proper solution. Together with
23965         the ghost pad fixes, this fixes mp3 playing/tagreading.
23966
23967         * docs/design/part-gstghostpad.txt: Add a note about activation of
23968         proxy pads outside of ghost pads.
23969
23970         * gst/gstghostpad.c: Implement the ghost pad activation design.
23971
23972 2005-10-02  Andy Wingo  <wingo@pobox.com>
23973
23974         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23975         It is volatile, after all.
23976
23977         * docs/design/part-gstghostpad.txt: Flesh out activation with
23978         ghost pads.
23979
23980         * gst/base/gstbasesrc.c (gst_base_src_init): Use
23981         GST_DEBUG_FUNCPTR.
23982
23983 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
23984
23985         * configure.ac:
23986           Fix (unused) AM_CONDITIONAL tests.
23987
23988 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
23989
23990         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23991
23992         * gst/gstutils.c: (gst_pad_query_convert):
23993           Add assertion that makes sure src_val is >=0, just like
23994           gst_query_new_convert() has. (#315895)
23995
23996 2005-09-30  Edward Hervey  <edward@fluendo.com>
23997
23998         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23999         Let's not iterate pads we're not interested in, it avoids getting 
24000         sky-high refcounts on sinkpad.
24001
24002 2005-09-30  Wim Taymans  <wim@fluendo.com>
24003
24004         * gst/gstelement.c: (gst_element_set_state),
24005         (gst_element_change_state):
24006         Small tweak, element in ASYNC remains ASYNC.
24007
24008 2005-09-30  Wim Taymans  <wim@fluendo.com>
24009
24010         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24011         Only error is an error.
24012
24013         * gst/gstbin.c: (gst_bin_change_state):
24014         Better debugging.
24015
24016         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24017         Also call pad_block in pad alloc.
24018
24019         * gst/gstutils.c: (gst_flow_get_name):
24020         Better debugging.
24021
24022 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24023
24024         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24025         (gst_base_src_get_range):
24026           Fix documentation typos. Add some more debug info.
24027
24028 2005-09-29  David Schleef  <ds@schleef.org>
24029
24030         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24031           more end-user friendly.
24032         * tools/gst-inspect.c: (main): Check if command-line argument is
24033           a file and attempt to load that file as a plugin.
24034
24035 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24036
24037         * check/gst/gstbin.c:
24038         * check/states/sinks.c:
24039           fix tests for the new warning
24040         * check/gst/gstpipeline.c:
24041           add a test for pipeline and bus interaction
24042         * gst/gstelement.c:
24043           elements should be NULL if they get disposed; add a warning if not
24044
24045 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24046
24047         * gst/gstobject.c:
24048           for 2.6 refcounting, make debug log more correct by printing
24049           the actual refcounts at the time of swap (Wim)
24050
24051 2005-09-29  Andy Wingo  <wingo@pobox.com>
24052
24053         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24054         removes signal watches previously added via
24055         gst_bus_add_signal_watch.
24056         (gst_bus_add_signal_watch): Don't return the source id, just store
24057         it on the bus if there wasn't an id already.
24058
24059         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24060         add_signal_watch and remove_signal_watch.
24061
24062 2005-09-29  Edward Hervey  <edward@fluendo.com>
24063
24064         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24065         Better if we actually iterate the list :)
24066
24067 2005-09-29  Wim Taymans  <wim@fluendo.com>
24068
24069         * check/gst/gstbin.c: (GST_START_TEST):
24070         Change for new bus API.
24071
24072         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24073         (send_messages), (GST_START_TEST), (gstbus_suite):
24074         Change for new bus signal API.
24075
24076         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24077         (gst_bus_source_prepare), (gst_bus_source_check),
24078         (gst_bus_create_watch), (gst_bus_add_watch_full),
24079         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24080         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24081         * gst/gstbus.h:
24082         Remove support for multiple GSources operating on different
24083         message types as it is too complex and unneeded when using
24084         signals.
24085         Added support for receiving signals from the bus.
24086
24087 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24088
24089         * docs/libs/tmpl/gstdataprotocol.sgml:
24090         * docs/manual/advanced-dataaccess.xml:
24091         * gst/elements/gstcapsfilter.c:
24092         * gst/gstutils.c:
24093           rename filter-caps to caps property
24094
24095 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24096
24097         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24098           More robust fraction string parsing.
24099
24100         * docs/pwg/appendix-porting.xml:
24101           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24102
24103 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24104
24105         * gst/gstcaps.c: (gst_caps_do_simplify):
24106           Thou shalt not free a structure and then continue using it
24107           in the next loop iteration.
24108
24109         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24110         (gst_caps_suite):
24111           Add test case for caps simplification.
24112
24113 2005-09-29  Wim Taymans  <wim@fluendo.com>
24114
24115         * check/gst/gstbin.c: (GST_START_TEST):
24116         Oops.
24117
24118 2005-09-29  Wim Taymans  <wim@fluendo.com>
24119
24120         * check/gst/gstbin.c: (GST_START_TEST):
24121         Add bus to bin.
24122
24123         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24124         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24125         (find_element), (gst_bin_sort_iterator_next),
24126         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24127         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24128         (gst_bin_change_state), (gst_bin_dispose):
24129         A bin does not have a bus, it gets the bus from the parent.
24130
24131         * gst/gstelement.c: (gst_element_requires_clock),
24132         (gst_element_provides_clock), (gst_element_is_indexable),
24133         (gst_element_is_locked_state), (gst_element_change_state),
24134         (gst_element_set_bus_func):
24135         Small cleanups.
24136
24137         * gst/gstpipeline.c: (gst_pipeline_class_init),
24138         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24139         The pipeline provides a bus.
24140
24141 2005-09-28  Johan Dahlin  <johan@gnome.org>
24142
24143         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24144         gst_structure_get_enum instead of gst_structure_get_int
24145
24146         * gst/gststructure.c (gst_structure_get_enum): Impl.
24147
24148         * gst/gststructure.h (gst_structure_get_enum): Add
24149
24150         * docs/gst/gstreamer-sections.txt: Ditto
24151
24152         * gst/gstmessage.c (gst_message_new_state_changed): Use
24153         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24154         which does introspection.
24155         Reviewed by Christian Schaller
24156
24157 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24158
24159         * gst/gstinfo.c: (gst_debug_log_default):
24160           don't do dummy g_strdup()s
24161         * libs/gst/controller/gstcontroller.c:
24162         (on_object_controlled_property_changed),
24163         (gst_controlled_property_new), (gst_controller_new_valist),
24164         (gst_controller_new_list),
24165         (gst_controller_remove_properties_valist), (gst_controller_set),
24166         (gst_controller_get), (gst_controller_sync_values),
24167         (gst_controller_get_value_array), (_gst_controller_class_init),
24168         (gst_controller_get_type):
24169         * libs/gst/controller/gstcontroller.h:
24170         * libs/gst/controller/gstinterpolation.c:
24171         (gst_controlled_property_find_timed_value_node):
24172           convert // to /**/ comments
24173
24174 2005-09-28  Wim Taymans  <wim@fluendo.com>
24175
24176         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24177         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24178         (gst_bus_sync_signal_handler):
24179         * gst/gstbus.h:
24180         Added async-message and sync-message signals to the bus.
24181         Added helper BusFunc to emit signals for all posted messages.
24182
24183         * gst/gstmessage.c: (gst_message_type_get_name),
24184         (gst_message_type_to_quark), (gst_message_get_type):
24185         * gst/gstmessage.h:
24186         Register quarks for message names.
24187
24188 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24189
24190         * docs/libs/gstreamer-libs-sections.txt:
24191         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24192         (gst_controller_new_list):
24193         * libs/gst/controller/gstcontroller.h:
24194           added another constructor for language bindings
24195
24196 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24197
24198         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24199           add another check
24200         * gst/gstbus.c:
24201           add some doc
24202         * gst/gstinfo.c: (_gst_debug_init):
24203           slightly more readable color for refcount debugging
24204
24205 2005-09-28  Wim Taymans  <wim@fluendo.com>
24206
24207         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24208         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24209         (find_element), (gst_bin_sort_iterator_next),
24210         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24211         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24212         (gst_bin_change_state), (gst_bin_dispose):
24213         Small doc fixes. get_clock -> provide_clock.
24214
24215         * gst/gstelement.c: (gst_element_class_init),
24216         (gst_element_provides_clock), (gst_element_provide_clock),
24217         (gst_element_get_clock), (gst_element_commit_state),
24218         (gst_element_lost_state):
24219         * gst/gstelement.h:
24220         Make get/set_clock() symetric. Add provide_clock vmethod since
24221         that is actually what this function does.
24222
24223         * gst/gstpipeline.c: (gst_pipeline_class_init),
24224         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24225         (gst_pipeline_get_clock):
24226         get_clock -> provide_clock.
24227
24228 2005-09-28  Andy Wingo  <wingo@pobox.com>
24229
24230         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24231         lieu of real docs...
24232
24233         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24234
24235 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24236
24237         * gst/elements/gstcapsfilter.c:
24238         * gst/elements/gstfakesink.c:
24239         * gst/elements/gstfakesrc.c:
24240         * gst/elements/gstfdsink.c:
24241         * gst/elements/gstfdsrc.c:
24242         * gst/elements/gstfilesink.c:
24243         * gst/elements/gstfilesrc.c:
24244         * gst/elements/gstidentity.c:
24245         * gst/elements/gsttee.c:
24246         * gst/elements/gsttypefindelement.c:
24247           Make element details static.
24248
24249 2005-09-28  Wim Taymans  <wim@fluendo.com>
24250
24251         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24252         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24253         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24254         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24255         (gst_bin_change_state), (gst_bin_dispose):
24256         Some documentation updates.
24257         Clean up dispose handlers.
24258
24259         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24260         * gst/gstpad.c: (gst_pad_dispose):
24261         Clean up dispose handler.
24262
24263         * gst/gstpipeline.c: (gst_pipeline_change_state):
24264         Removed spurious UNLOCK.
24265
24266 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24267
24268         * docs/gst/gstreamer-sections.txt:
24269         * gst/base/gstbasesrc.h:
24270         * gst/gstelement.h:
24271         * gst/gstevent.h:
24272         * gst/gstobject.h:
24273         * gst/gstpad.h:
24274         * gst/gstpipeline.c:
24275         * gst/gstpipeline.h:
24276         * gst/gstutils.h:
24277         * gst/gstxml.h:
24278           added two new functions to the docs
24279                 documents all undocumented GstXXXFlags
24280                 completed some incomplete docs 
24281
24282 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24283
24284         * gst/gstbin.c: (gst_bin_dispose):
24285         * gst/gstelement.c: (gst_element_dispose):
24286           remove now useless and leaky resurrection code in dispose
24287         * gst/base/gstbasesrc.c: (gst_base_src_init):
24288         * gst/gstelementfactory.c: (gst_element_factory_create):
24289         * gst/gstobject.c: (gst_object_set_parent):
24290           add some debugging
24291
24292 2005-09-27  Wim Taymans  <wim@fluendo.com>
24293
24294         * docs/design/part-TODO.txt:
24295         Update TODO.
24296
24297         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24298         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24299         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24300         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24301         (gst_bin_change_state):
24302         * gst/gstelement.h:
24303         Remove element variable, we keep element info in the iterator now.
24304
24305 2005-09-27  Andy Wingo  <wingo@pobox.com>
24306
24307         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24308         values.
24309
24310 2005-09-27  Wim Taymans  <wim@fluendo.com>
24311
24312         * check/gst/gstbin.c: (GST_START_TEST):
24313         Enable check that works now.
24314
24315         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24316         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24317         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24318         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24319         (gst_bin_change_state):
24320         * gst/gstbin.h:
24321         Redid the state change algorithm using a topological sort algo.
24322         Handles all cases correctly.
24323         Exposed iterator for state change order.
24324
24325         * gst/gstelement.h:
24326         Temp storage for state changes. Need to get rid of this soon.
24327
24328 2005-09-27  Wim Taymans  <wim@fluendo.com>
24329
24330         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24331         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24332         (link_fold_func), (gst_pad_proxy_setcaps):
24333         Leak fixes, the fold functions need to unref the passed object and
24334         _get_parent_*() returns ref to parent.
24335
24336 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24337
24338         * check/gst/gstbuffer.c: (test_make_writable):
24339           Plug leak in test case and fix 'make check-valgrind'
24340
24341 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24342
24343         * gst/gstbuffer.c: (gst_subbuffer_init):
24344           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24345           works correctly in all circumstances (we could have just copied
24346           the parent buffer's readonly flag, but conceptually it seems
24347           cleaner to mark all subbuffers as read-only). (based on patch
24348           by Alessandro Decina, #314710).
24349         
24350         * check/gst/gstbuffer.c: (create_read_only_buffer),
24351         (test_make_writable), (test_subbuffer_make_writable),
24352         (gst_test_suite):
24353           Add some tests for gst_buffer_make_writable().
24354
24355 2005-09-27  Wim Taymans  <wim@fluendo.com>
24356
24357         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24358         use gst_object_has_ancestor().
24359
24360         * gst/gstobject.c: (gst_object_has_ancestor):
24361         * gst/gstobject.h:
24362         gst_object_has_ancestor() copied from gstbin.c as it is a
24363         useful function.
24364
24365         * tests/instantiate/create.c: (create_all_elements):
24366         * tests/lat.c: (handoff_src), (handoff_sink):
24367         * tests/sched/runxml.c: (main):
24368         * tests/seeking/seeking1.c: (main):
24369         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24370         (main):
24371         Fix compilation of some tests.
24372
24373 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24374
24375         * gst/gsterror.h:
24376           Remove comment. GST_TYPE_G_ERROR is here to stay,
24377           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24378           (#316961, #300610).
24379
24380 2005-09-26  Wim Taymans  <wim@fluendo.com>
24381
24382         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24383         Added check that shows error in state change order.
24384
24385 2005-09-26  Wim Taymans  <wim@fluendo.com>
24386
24387         * gst/gstbin.c: (gst_bin_change_state):
24388         Make state change function use 3 queues again, we were
24389         adding elements in the wrong order.
24390
24391         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24392         Some debug info,
24393
24394         * gst/gstpad.c: (gst_pad_dispose):
24395         Added some debug info first.
24396
24397 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24398
24399         * docs/design/draft-push-pull.txt:
24400         * docs/design/part-events.txt:
24401         * docs/design/part-overview.txt:
24402         * docs/design/part-scheduling.txt:
24403           Replace all _pull_region() with _pull_range()
24404           
24405 2005-09-26  Andy Wingo  <wingo@pobox.com>
24406
24407         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24408
24409         * check/gst-libs/controller.c: Update for controller api change.
24410
24411         * configure.ac: 
24412         * tests/Makefile.am:
24413         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24414         over by GLib bug 118439.
24415         
24416         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24417         routines to a function.
24418
24419         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24420
24421         * libs/gst/controller/gsthelper.c:
24422         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24423         (gst_object_sync_values): Renamed from sink_values. Ugh.
24424
24425         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24426
24427         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24428         Renamed from controller_key, as it is exported.
24429
24430         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24431
24432 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24433
24434         * gst/Makefile.am:
24435         * gst/gst.h:
24436         * gst/gstpad.h:
24437         * gst/gstpadtemplate.h:
24438         * gst/gstquery.c:
24439         * gst/gstquery.h:
24440         * gst/gstqueryutils.c:
24441         * gst/gstqueryutils.h:
24442           remove queryutils headers after moving the two used functions
24443           to gstquery.  also fixes build problem for gstsiddec
24444
24445 2005-09-26  Michael Smith <msmith@fluendo.com>
24446
24447         * tools/gst-launch.1.in:
24448         Correct documentation in manpage of debug syntax
24449
24450 2005-09-26  Wim Taymans  <wim@fluendo.com>
24451
24452         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24453         (gst_base_src_is_seekable), (gst_base_src_change_state):
24454         Some more debugging info.
24455
24456 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24457
24458         * docs/gst/gstreamer-sections.txt:
24459         * gst/base/gstbasetransform.h:
24460         * gst/gstindex.h:
24461           added more docs
24462
24463 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24464
24465         * docs/gst/.cvsignore:
24466         * docs/gst/tmpl/.cvsignore:
24467         * docs/gst/tmpl/gstpipeline.sgml:
24468         * docs/gst/tmpl/gstplugin.sgml:
24469         * gst/gstpipeline.c:
24470         * gst/gstplugin.c:
24471         * gst/gstplugin.h:
24472           inlined the last two docs files
24473           removed the tmpl directory from cvs (no more conflicts here!)
24474
24475 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24476
24477         * docs/gst/gstreamer-sections.txt:
24478         * docs/gst/tmpl/.cvsignore:
24479         * docs/gst/tmpl/gstpad.sgml:
24480         * docs/gst/tmpl/gstpadtemplate.sgml:
24481         * gst/Makefile.am:
24482         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24483         (gst_pad_finalize), (gst_pad_set_pad_template):
24484         * gst/gstpad.h:
24485         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24486         (gst_pad_template_class_init), (gst_pad_template_init),
24487         (gst_pad_template_dispose), (name_is_valid),
24488         (gst_static_pad_template_get), (gst_pad_template_new),
24489         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24490         (gst_pad_template_pad_created):
24491         * gst/gstpadtemplate.h:
24492           inlined two more docs
24493           factored gstpadtemplate out of gstpad
24494
24495 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24496
24497         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24498         (test_children_state_change_order_semi_sink):
24499           Fix test case: we can't rely on a fixed state change order when
24500           going from READY => PAUSED because the sink might commit its 
24501           new state first when the first buffer created by the source 
24502           reaches the sink before the source has finished its change state.
24503           (Test case still fails at times, see #316856, comment 5 onwards)
24504
24505 2005-09-24  Wim Taymans  <wim@fluendo.com>
24506
24507         * docs/design/part-events.txt:
24508         * docs/design/part-gstbus.txt:
24509         * docs/design/part-gstpipeline.txt:
24510         * docs/design/part-messages.txt:
24511         * docs/design/part-overview.txt:
24512         * docs/design/part-segments.txt:
24513         * gst/gstbin.c:
24514         * gst/gstbuffer.c:
24515         * gst/gstclock.c:
24516         * gst/gstelement.c:
24517         * gst/gstevent.c:
24518         * gst/gstfilter.c:
24519         * gst/gstiterator.c:
24520         Various documentation updates.
24521
24522 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24523
24524         * gst/gstclock.h:
24525           Well, that's embarassing.  Luckily we weren't using
24526           GST_CLOCK_DIFF anywhere.
24527
24528 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24529
24530         * common/gtk-doc.mak:
24531           don't fail on building XML, FC4 slave shows a bunch of doc
24532           missing bits that I don't get
24533         * gst/gstpad.c:
24534         * gst/gstpipeline.c:
24535         * gst/gststructure.c:
24536           some doc updates
24537
24538 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24539
24540         * docs/design/part-gstbin.txt:
24541         * docs/design/part-gstbus.txt:
24542         * gst/gstbus.c:
24543           Add blurb about how the bus goes into flushing mode and
24544           drops all messages when its bin goes from READY into NULL 
24545           state.
24546
24547 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24548
24549         * docs/gst/gstreamer-sections.txt:
24550         * gst/gststructure.c: (gst_structure_get_clock_time):
24551         * gst/gststructure.h:
24552           add a method to get a GstClockTime out of a structure
24553
24554 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24555
24556         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24557         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24558           Added test to check state change order in bins (can still be made
24559           to fail here under heavy disk load; bails out with 'Push on pad
24560           fakesink:sink0, but it was not activated in push mode').
24561
24562         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24563           Fix state change order when there is only a semi sink (#316856)
24564
24565         * gst/gstbus.c: (gst_bus_class_init):
24566           Use _class_peek_parent(), not _class_ref(); fix docs to say
24567           'default main context' instead of 'mainloop' where that is
24568           what's meant.
24569
24570         * gst/gstelement.c: (gst_element_commit_state),
24571         (gst_element_set_state):
24572           Fix typos in debug messages
24573
24574 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24575
24576         * docs/README:
24577         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24578         * gst/gstpluginfeature.c:
24579         * gst/gstutils.c:
24580           various doc updates
24581         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24582           change an assert into an error until it gets fixed properly
24583
24584 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24585
24586         * docs/gst/gstreamer-sections.txt:
24587         * docs/gst/tmpl/.cvsignore:
24588         * docs/gst/tmpl/gstelement.sgml:
24589         * docs/gst/tmpl/gstinfo.sgml:
24590         * docs/gst/tmpl/gstobject.sgml:
24591         * gst/gstelement.c:
24592         * gst/gstelement.h:
24593         * gst/gstinfo.c:
24594         * gst/gstinfo.h:
24595         * gst/gstobject.c: (gst_object_class_init):
24596         * gst/gstobject.h:
24597           inlined 3 more biiiig doc files and added some missing docs on the fly
24598
24599 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24600
24601         * check/gst/.cvsignore:
24602         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24603         * gst/gstregistryxml.c: (load_plugin),
24604         (gst_registry_xml_save_plugin):
24605           put back source in registry.  add checks for find_plugin.
24606         * testsuite/states/bin.c: (assert_state), (empty_bin),
24607         (test_adding_one_element), (main):
24608         * testsuite/states/locked.c: (main):
24609           some compile/run fixes
24610
24611 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24612
24613         * check/gst/gstvalue.c: (GST_START_TEST):
24614           fix leaks in the test itself
24615
24616 2005-09-22  Wim Taymans  <wim@fluendo.com>
24617
24618         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24619         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24620         (gst_base_sink_query):
24621         Prepare for more accurate position reporting and query
24622         handling.
24623
24624         * gst/gstelement.c: (gst_element_send_event),
24625         (gst_element_set_state):
24626         Add some comment.
24627
24628 2005-09-22  Wim Taymans  <wim@fluendo.com>
24629
24630         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24631         (gst_query_parse_segment):
24632         * gst/gstquery.h:
24633         More documentation.
24634         Add segment query for future use.
24635
24636 2005-09-22  Wim Taymans  <wim@fluendo.com>
24637
24638         * gst/gstbin.c: (gst_bin_add_func):
24639         Some more debug info.
24640
24641         * gst/gstelement.c: (gst_element_send_event):
24642         Simplify send_event
24643
24644         * gst/gstelement.h:
24645         Don't know how flags got broken.
24646
24647         * gst/gstquery.h:
24648         Added new query.
24649
24650 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24651
24652         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24653           Add simplistic test suite for GST_TYPE_DATE serialisation and
24654           deserialisation.
24655
24656 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24657
24658         * docs/gst/gstreamer-sections.txt:
24659         * gst/gststructure.c: (gst_structure_set_valist),
24660         (gst_structure_get_date):
24661         * gst/gststructure.h:
24662         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24663         (gst_date_copy), (gst_value_compare_date),
24664         (gst_value_serialize_date), (gst_value_deserialize_date),
24665         (gst_value_transform_date_string),
24666         (gst_value_transform_string_date), (_gst_value_initialize):
24667         * gst/gstvalue.h:
24668           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24669           bunch of utility functions along with a hack that checks that
24670           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24671           is required. Part of the grand scheme in #170777.
24672
24673 2005-09-22  Andy Wingo  <wingo@pobox.com>
24674
24675         * gst/gstconfig.h.in: Psych out gtk-doc.
24676
24677         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24678
24679         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24680
24681         * tools/gst-inspect.c (print_element_list): Plug some
24682         inconsequential leaks.
24683
24684         * gst/gstregistry.c (gst_registry_get_default): Doc.
24685
24686         * check/gst/gstplugin.c: 
24687         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24688         * gst/gstelementfactory.c (gst_element_factory_create): 
24689         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24690         refcount changes.
24691
24692         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24693         (gst_plugin_feature_load): Doc, don't eat refs.
24694
24695         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24696         (gst_plugin_list_free): Doc.
24697         (gst_plugin_load_file): Doc updates.
24698
24699         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24700         accessors returning refcounted objects, return a ref.
24701
24702         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24703         accessor for caps. IDEMPOTENCE. Oh yes.
24704
24705 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24706
24707         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24708
24709         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24710         (_gst_debug_register_funcptr):
24711           Add mutex to serialise access to the hash table with
24712           the function pointer => function name string mapping;
24713           make that hash table static scope (#316809).
24714
24715         * gst/registries/.cvsignore:
24716           Remove left-over file.
24717
24718 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24719
24720         * docs/pwg/appendix-porting.xml:
24721           And something about newsegment events and caps-on-buffers to
24722           the porting guide (feel free to improve).
24723
24724 2005-09-21  Andy Wingo  <wingo@pobox.com>
24725
24726         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24727         data and event probes on the same pad.
24728         (test_buffer_probe_once): Test that removing probes from within
24729         the probe functions works.
24730
24731 2005-09-21  Andy Wingo  <wingo@pobox.com>
24732
24733         * check/gst/gstutils.c: New file.
24734         (test_buffer_probe_n_times): A simple buffer probe test. More to
24735         come, foolios.
24736
24737         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24738         have-data::buffer, not have-data.
24739         (gst_pad_add_event_probe): Likewise for have-data::event.
24740         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24741         peer' isn't quite right yet though.
24742         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24743         (gst_pad_remove_data_probe): Change to take the guint handler_id
24744         as their arg, not the function+data, which is more glib-like.
24745
24746         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24747         the signal emission to indicate if the data is a buffer or an
24748         event.
24749         (gst_pad_get_type): Initialize buffer and event quarks.
24750         (gst_pad_class_init): have-data is now a detailed signal, yes it
24751         is.
24752
24753 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24754
24755         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24756         * gst/gstutils.c: (gst_util_set_value_from_string),
24757         (gst_util_set_object_arg):
24758           Don't put functional code in g_return_if_fail() or
24759           g_return_val_if_fail() statements, otherwise things will 
24760           break when G_DISABLE_CHECKS is defined during compilation.
24761
24762 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24763
24764         * docs/gst/tmpl/.cvsignore:
24765         * docs/gst/tmpl/gstvalue.sgml:
24766         * gst/gstvalue.c:
24767         * gst/gstvalue.h:
24768           inlied another one and added  some obvious docs
24769
24770 2005-09-21  Wim Taymans  <wim@fluendo.com>
24771
24772         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24773         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24774         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24775         (gst_fdsrc_get_property), (gst_fdsrc_create):
24776         * gst/elements/gstfdsrc.h:
24777         Properly implement fdsrc. Removed signal and timeout,
24778         better implemented somewhere else.
24779
24780 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24781
24782         * docs/gst/tmpl/.cvsignore:
24783         * docs/gst/tmpl/gstimplementsinterface.sgml:
24784         * gst/gstinterface.c:
24785           inlined more docs
24786
24787 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24788
24789         * docs/gst/gstreamer-sections.txt:
24790         * docs/gst/tmpl/.cvsignore:
24791         * docs/gst/tmpl/gstenumtypes.sgml:
24792           remove obsolete doc file
24793
24794 2005-09-21  David Schleef  <ds@schleef.org>
24795
24796         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24797         little beer, fix a little leak.
24798
24799 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24800
24801         * docs/gst/gstreamer-docs.sgml:
24802         * docs/gst/gstreamer-sections.txt:
24803         * docs/gst/tmpl/.cvsignore:
24804         * gst/Makefile.am:
24805         * gst/gst.h:
24806         * gst/gstbin.c:
24807         * gst/gstelement.h:
24808         * gst/gstindex.c: (gst_index_class_init):
24809         * gst/gstindex.h:
24810         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24811         (gst_index_factory_class_init), (gst_index_factory_init),
24812         (gst_index_factory_finalize), (gst_index_factory_new),
24813         (gst_index_factory_destroy), (gst_index_factory_find),
24814         (gst_index_factory_create), (gst_index_factory_make):
24815         * gst/gstindexfactory.h:
24816         * gst/gstpluginfeature.c:
24817         * gst/gstpluginfeature.h:
24818         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24819           more docs inlined, splitted gstindex.{c,h}
24820
24821 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24822
24823         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24824           fix a leak
24825
24826 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24827
24828         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24829           Set sync to FALSE by default.
24830
24831 2005-09-20  Wim Taymans  <wim@fluendo.com>
24832
24833         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24834         (gst_base_sink_init):
24835         Make sync property settable from subclass.
24836
24837         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24838         (gst_fake_sink_change_state):
24839         Set sync to FALSE by default.
24840
24841 2005-09-20  Wim Taymans  <wim@fluendo.com>
24842
24843         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24844         * tools/gst-launch.c: (main):
24845         The timeout handler should have lower priority than the source
24846         so we don't timeout before popping a message with 0 timeout.
24847         Dump error messages after failed state change.
24848
24849 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24850
24851         * tools/gst-inspect.c: (print_element_properties_info):
24852           Fix two typos.
24853
24854 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24855
24856         * check/gst/gstevent.c:
24857         * gst/elements/gstfakesink.c:
24858         * gst/elements/gstfakesink.h:
24859           remove the sync property from fakesink.
24860           has the side effect of setting sync TRUE
24861           for fakesink, which is a change.  Anyone who knows how
24862           to fix this nicely in a GObject-y way, feel free.
24863
24864 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24865
24866         * docs/gst/gstreamer-docs.sgml:
24867           remove probe refsection
24868
24869 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24870
24871         * check/Makefile.am:
24872           disable valgrinding the controller test again
24873         * docs/gst/gstreamer-sections.txt:
24874           update for api-changes
24875
24876 2005-09-20  Wim Taymans  <wim@fluendo.com>
24877
24878         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24879         (gst_base_sink_set_property), (gst_base_sink_get_property),
24880         (gst_base_sink_do_sync):
24881         * gst/base/gstbasesink.h:
24882         Added sync property to basesink to disable clock sync.
24883
24884 2005-09-20  Andy Wingo  <wingo@pobox.com>
24885
24886         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24887         eating the caller's refcount.
24888
24889         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24890         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24891         refcount.
24892
24893         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24894         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24895         of GLib 2.8 public, so we can know which refcount to check in
24896         tests.
24897
24898         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24899         (gst_object_init): Only set the gst refcount if we're going ahead
24900         with the refcount hack.
24901
24902 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24903
24904         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24905         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24906           more leaks plumbed, added more debug-logging
24907         * gst/gstmacros.h:
24908           whitespace fix
24909
24910 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24911
24912         * gst/gstmessage.c:
24913           remove include of gstmemchunk.h
24914
24915 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24916
24917         * gst/gstclock.c: (_gst_clock_id_free):
24918           Commit from the Political Party For More Atomic CVS Commits,
24919           so that people don't waste too much of their day fishing
24920           out obvious leaks out of massive commits.
24921           Oh, and fix a pretty damn obvious leak in the memchunk
24922           removal code.
24923
24924 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24925
24926         * check/Makefile.am:
24927         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24928           plug mem-leak, re-add to valgrindable tests
24929
24930 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24931
24932         * gst/gstplugin.h:
24933           unbreak the build for those who have chronic arthritis
24934           and typing "make check" is just too taxing on the hands
24935
24936 2005-09-20  Andy Wingo  <wingo@pobox.com>
24937
24938         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24939         really want it out, you should fix plugins at the same time.
24940
24941 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24942
24943         * configure.ac:
24944         * docs/gst/gstreamer-sections.txt:
24945         * gst/gstobject.c:
24946           added missing symbols to api docs
24947           disable ref-count hack if we have glib >= 2.8
24948
24949 2005-09-19  David Schleef  <ds@schleef.org>
24950
24951         * docs/gst/Makefile.am: Ignore a few more internal headers
24952         * docs/gst/gstreamer-docs.sgml: Remove old sections
24953         * docs/gst/gstreamer-sections.txt: Remove old sections
24954         * docs/gst/tmpl/gstobject.sgml: update
24955         * docs/gst/tmpl/gstplugin.sgml: update
24956         * docs/gst/tmpl/gstpluginfeature.sgml: update
24957         * docs/random/ds/0.9-suggested-changes: update.
24958         * gst/Makefile.am: remove memchunk and trashstack, since they're
24959           not used.
24960         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24961         * gst/gst.h: don't include some headers
24962         * gst/gstchildproxy.c: add gstmarshal.h
24963         * gst/gstclock.c: Don't use memchunks
24964         * gst/gstminiobject.c: Add some docs
24965         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24966         * gst/gstobject.h: same
24967         * gst/gstplugin.c: include gstmacros.h
24968         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24969         * gst/gstquery.c: don't use memchunks
24970         * gst/gstregistry.c: rename gst_registry_deinit()
24971         * gst/gstregistry.h: same
24972
24973 2005-09-19  David Schleef  <ds@schleef.org>
24974
24975         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24976         * docs/libs/gstreamer-libs-sections.txt:
24977         * docs/libs/tmpl/gstgetbits.sgml:
24978         * docs/libs/tmpl/gstputbits.sgml:
24979
24980 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
24981
24982         * win32/gstenumtypes.c:
24983         * win32/gstenumtypes.h:
24984           Update.
24985
24986 2005-09-19  Wim Taymans  <wim@fluendo.com>
24987
24988         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24989         Automatically PAUSE and RESUME a pipeline when a flushing seek
24990         is performed.
24991
24992 2005-09-19  Andy Wingo  <wingo@pobox.com>
24993
24994         * gst/gstregistry.h: Spacing fixen.
24995
24996 2005-09-19  Wim Taymans  <wim@fluendo.com>
24997
24998         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24999         Handle state change failure more correctly.
25000
25001 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25002
25003         * check/Makefile.am:
25004         * check/pipelines/cleanup.c: (run_pipeline):
25005         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25006         (GST_START_TEST):
25007           enable cleanup again after fixing the leak
25008         * docs/README:
25009           some more info on docs
25010
25011 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25012
25013         * check/Makefile.am:
25014           re-enable tests now that leaks are plugged
25015         * check/gst/gst.c:
25016         * check/gst/gstbin.c:
25017         * check/gst/gstpipeline.c:
25018           add some more tests while fixing leaks
25019         * common/check.mak:
25020           make sure binaries are uptodate when valgrinding/gdbing
25021         * gst/gst.c:
25022         * gst/gstelementfactory.c:
25023           remove a ref too many, and add a FIXME for when we get
25024           round to disposing of classes
25025         * gst/gstplugin.c:
25026           fix the refcounting when loading a plugin from a file and
25027           the code pretends that the pointer is the same even though
25028           of course it can change
25029         * gst/gstpluginfeature.c:
25030           unref plugins marked cached (a bit confusing as a name)
25031           as the docs state should be done
25032           various doc additions to explain refcounting
25033         * gst/gstregistry.c:
25034         * gst/gstregistryxml.c:
25035           debugging
25036
25037 2005-09-19  Wim Taymans  <wim@fluendo.com>
25038
25039         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25040         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25041         (send_messages), (GST_START_TEST), (gstbus_suite):
25042         * check/gst/gstpipeline.c: (GST_START_TEST):
25043         * check/pipelines/cleanup.c: (run_pipeline):
25044         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25045         (GST_START_TEST):
25046         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25047         (gst_bus_source_check), (gst_bus_source_dispatch),
25048         (gst_bus_create_watch), (gst_bus_add_watch_full),
25049         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25050         * gst/gstbus.h:
25051         * tools/gst-launch.c: (event_loop):
25052         * tools/gst-md5sum.c: (event_loop):
25053         GstBusHandler -> GstBusFunc, return value has the same meaning as
25054         any other GSource (FALSE == remove source).
25055         _add_watch() and _add_watch_full() now take a MessageType mask to
25056         only handle specific types of messages.
25057         _poll() returns the GstMessage instead of the message type to avoid
25058         race conditions.
25059         _have_pending() takes a MessageType mask now too.
25060         Added testsuite for multiple bus watches.
25061         Fix testsuites and applications for new bus API.
25062
25063 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25064
25065         * check/Makefile.am:
25066           mark a bunch of the tests as to fix until we fix them
25067
25068 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25069
25070         * common/check.mak:
25071           use GST_PLUGIN settings for valgrind tests as well, so we're
25072           valgrinding the correct thing
25073         * gst/gst.c: (init_post):
25074           plug another leak
25075
25076 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25077
25078         * gst/gst.c: (init_post), (gst_deinit):
25079         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25080         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25081         * gst/gstindex.c: (gst_index_factory_class_init),
25082         (gst_index_factory_finalize):
25083         * gst/gstobject.c: (gst_object_dispose):
25084         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25085         (gst_plugin_load_file), (gst_plugin_desc_free):
25086         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25087         (gst_plugin_feature_finalize):
25088         * gst/gstregistry.c: (gst_registry_class_init),
25089         (gst_registry_init), (gst_registry_finalize),
25090         (gst_registry_get_default), (gst_registry_deinit):
25091         * gst/gstregistry.h:
25092         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25093           various cleanups and memleak plugging.  make valgrind is happy now.
25094
25095 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25096
25097         * common/check.mak:
25098           add a check-valgrind target
25099
25100 2005-09-18  David Schleef  <ds@schleef.org>
25101
25102         * tools/gst-inspect.c: Revert the GOption code.
25103
25104 2005-09-17  David Schleef  <ds@schleef.org>
25105
25106         * check/Makefile.am: Fix environment variables.
25107         * check/gst/gstplugin.c: Fix for API changes.
25108         * tools/gst-inspect.c: Fix for API changes.
25109         * tools/gst-xmlinspect.c: Fix for API changes.
25110         * gst/gstelementfactory.c:
25111         * gst/gstplugin.c:
25112         * gst/gstplugin.h:
25113         * gst/gstpluginfeature.c:
25114         * gst/gstpluginfeature.h:
25115         * gst/gstregistry.c:
25116         * gst/gstregistry.h:
25117         * gst/gstregistryxml.c:
25118         * gst/gsttypefind.c:
25119         * gst/gsttypefindfactory.c:
25120         * gst/indexers/gstfileindex.c:
25121         * gst/indexers/gstmemindex.c:
25122         * gst/schedulers/Makefile.am:
25123           Change registry to keep track of both plugins and features,
25124           removing the feature tracking from plugins themselves.
25125
25126 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25127
25128         * check/Makefile.am:
25129         * tools/gst-register.1.in:
25130           remove gst-register
25131
25132 2005-09-15  David Schleef  <ds@schleef.org>
25133
25134         * check/gst/gstplugin.c:
25135         * gst/gstelementfactory.c:
25136         * gst/gstplugin.c:
25137         * gst/gstpluginfeature.c:
25138         * gst/gstregistry.c:
25139           Getting tired of debugging.  Disabled all the unreffing of
25140           plugins and features, which fixes the segfaults, but of
25141           course leaks like crazy.  At least playbin works.
25142
25143 2005-09-15  David Schleef  <ds@schleef.org>
25144
25145         * check/gst/gstplugin.c: (register_check_elements),
25146         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25147         More testing
25148         * gst/elements/gsttypefindelement.c: Fix refcounting.
25149         * gst/gsttypefind.c:
25150         * gst/gsttypefindfactory.c:
25151         * gst/gsttypefindfactory.h:
25152
25153 2005-09-15  David Schleef  <ds@schleef.org>
25154
25155         * gst/gstindex.c: get refcounting correct.
25156         * gst/gstregistry.c: Handle the case where a feature/plugin is
25157           not found.
25158
25159 2005-09-15  David Schleef  <ds@schleef.org>
25160
25161         * check/Makefile.am:
25162         * check/gst/gstplugin.c: Add test
25163         * gst/gstplugin.c: Fix problems noticed by testsuite
25164         * gst/gstplugin.h:
25165         * gst/gstregistry.c: 
25166         * gst/gstregistry.h:
25167
25168 2005-09-15  David Schleef  <ds@schleef.org>
25169
25170         * gst/gstplugin.c: Implement semi-decent recounting and locking
25171           in plugins and plugin features.
25172         * gst/gstplugin.h:
25173         * gst/gstpluginfeature.c:
25174         * gst/gstpluginfeature.h:
25175         * gst/gstregistry.c:
25176
25177 2005-09-15  Michael Smith <msmith@fluendo.com>
25178
25179         * gst/gstregistry.c: (gst_registry_get_feature_list):
25180           Implement this. Makes oggdemux work; decodebin still broken.
25181
25182 2005-09-14  David Schleef  <ds@schleef.org>
25183
25184         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25185           #316076)
25186         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25187         * gst/check/Makefile.am:
25188         * libs/gst/controller/Makefile.am:
25189         * libs/gst/dataprotocol/Makefile.am:
25190
25191 2005-09-14  David Schleef  <ds@schleef.org>
25192
25193         * configure.ac: Remove getbits library.  Nothing uses it, and
25194           it should be in something like liboil if someone did want
25195           to use it.
25196         * libs/gst/Makefile.am:
25197         * libs/gst/getbits/Makefile.am:
25198         * libs/gst/getbits/gbtest.c:
25199         * libs/gst/getbits/getbits.c:
25200         * libs/gst/getbits/getbits.h:
25201         * libs/gst/getbits/gstgetbits_generic.c:
25202         * libs/gst/getbits/gstgetbits_i386.s:
25203         * libs/gst/getbits/gstgetbits_inl.h:
25204
25205 2005-09-14  David Schleef  <ds@schleef.org>
25206
25207         * gst/Makefile.am: Dist glib-compat.h
25208
25209 2005-09-14  David Schleef  <ds@schleef.org>
25210
25211         * configure.ac: Remove gst/registries, since it's no longer used.
25212         * gst/registries/Makefile.am:
25213         * gst/registries/gstlibxmlregistry.c:
25214         * gst/registries/gstlibxmlregistry.h:
25215         * gst/registries/gstxmlregistry.c:
25216         * gst/registries/gstxmlregistry.h:
25217         * gst/registries/registrytest.c:
25218
25219 2005-09-14  David Schleef  <ds@schleef.org>
25220
25221         * gst/glib-compat.h:
25222         * gst/gstregistryxml.c:
25223           Convergence is near.  Seriously.
25224
25225 2005-09-14  David Schleef  <ds@schleef.org>
25226
25227         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25228         * gst/glib-compat.h:
25229           Attempt #4 to appease the buildbots.
25230
25231 2005-09-14  David Schleef  <ds@schleef.org>
25232
25233         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25234           Attempt #3.
25235
25236 2005-09-14  David Schleef  <ds@schleef.org>
25237
25238         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25239         Attempt #2.
25240
25241 2005-09-14  David Schleef  <ds@schleef.org>
25242
25243         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25244           the new functions.
25245
25246 2005-09-14  David Schleef  <ds@schleef.org>
25247
25248         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25249         * gst/glib-compat.h: Add some functions that are in newer versions
25250           of glib than we care to require.
25251         * gst/gstregistryxml.c: Use them.
25252
25253 2005-09-14  David Schleef  <ds@schleef.org>
25254
25255         * po/POTFILES.in: remove gst-register.c
25256
25257 2005-09-14  David Schleef  <ds@schleef.org>
25258
25259         * docs/gst/gstreamer-docs.sgml:
25260         * docs/gst/gstreamer-sections.txt:
25261         * docs/gst/gstreamer.types:
25262         * docs/gst/tmpl/gstelement.sgml:
25263         * docs/gst/tmpl/gstplugin.sgml:
25264         * docs/gst/tmpl/gstpluginfeature.sgml:
25265           Documentation updates for registry changes.
25266
25267 2005-09-14  David Schleef  <ds@schleef.org>
25268
25269         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25270           because we don't require glib-2.8.
25271
25272 2005-09-14  David Schleef  <ds@schleef.org>
25273
25274         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25275           registries directory.
25276
25277 2005-09-14  David Schleef  <ds@schleef.org>
25278
25279         * check/Makefile.am:
25280         * check/generic/states.c:
25281         * gst/Makefile.am:
25282         * gst/gst.c:
25283         * gst/gst.h:
25284         * gst/gst_private.h:
25285         * gst/gstelementfactory.c:
25286         * gst/gstindex.c:
25287         * gst/gstinfo.c:
25288         * gst/gstplugin.c:
25289         * gst/gstplugin.h:
25290         * gst/gstpluginfeature.c:
25291         * gst/gstpluginfeature.h:
25292         * gst/gstregistry.c:
25293         * gst/gstregistry.h:
25294         * gst/gstregistrypool.c: remove
25295         * gst/gstregistrypool.h: remove
25296         * gst/gsttypefind.c:
25297         * gst/gsttypefindfactory.c:
25298         * gst/gsturi.c:
25299         * tools/Makefile.am:
25300         * tools/gst-compprep.c:
25301         * tools/gst-inspect.c:
25302         * tools/gst-register.c: remove
25303         * tools/gst-xmlinspect.c:
25304           Registry rewrite.  Changes registry from being a file created
25305           by a tool into a simple cache file created automatically by 
25306           libgstreamer.  Removed gst-register (because it's no longer
25307           needed).  Remove registry pools, because we only have one
25308           registry implementation (XML).  Fix up other subsystems as
25309           necessary.
25310
25311 2005-09-13  Michael Smith <msmith@fluendo.com>
25312
25313         * gst/gstconfig.h.in:
25314           Don't Use windows linking attributes for MinGW. Fixes #316157
25315
25316 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25317
25318         * gst/gstutils.c: (set_state_async_thread_func),
25319         (gst_element_set_state_async):
25320           Apparently people think it's better if this function doesn't
25321           try to set the state to whatever state was asked for on the first
25322           call to this function for any object.  Seriously.
25323
25324 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25325
25326         * check/gst/gstpipeline.c: (GST_START_TEST):
25327         * docs/gst/gstreamer-sections.txt:
25328         * gst/gstutils.c: (set_state_async_thread_func),
25329         (gst_element_set_state_async):
25330         * gst/gstutils.h:
25331           add a "gst_element_set_state_async" method that
25332           sets the state and starts a thread to make sure the state
25333           change completes as best as it can
25334
25335 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25336
25337         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25338           codify design+behaviour in testsuite after discussion
25339
25340 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25341
25342         * docs/gst/tmpl/gstelement.sgml:
25343         * docs/manual/appendix-quotes.xml:
25344           add a quote
25345         * gst/gstelement.c: (gst_element_set_state):
25346           add some debug
25347
25348 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25349
25350         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25351         (gst_base_transform_prepare_output_buf),
25352         (gst_base_transform_handle_buffer):
25353         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25354         (gst_capsfilter_prepare_buf):
25355           Remove the requirement for sub-classes to call the parent
25356           implementation of prepare_output_buffer with a wrapper function.
25357           
25358         * gst/gsttaglist.h:
25359         * gst/gsttagsetter.h:
25360           Fix #define wrapper
25361
25362 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25363
25364         * docs/gst/gstreamer-sections.txt:
25365           more doc cleanups
25366
25367 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25368
25369         * docs/gst/gstreamer-sections.txt:
25370         * docs/gst/tmpl/gstelement.sgml:
25371         * docs/gst/tmpl/gstplugin.sgml:
25372         * gst/gstminiobject.c:
25373         * gst/gstvalue.h:
25374           docs now stop throwing warnings
25375
25376 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25377
25378         * docs/gst/gstreamer-sections.txt:
25379         * docs/gst/gstreamer.types:
25380         * docs/gst/tmpl/gstpad.sgml:
25381         * docs/gst/tmpl/gsttypes.sgml:
25382         * gst/base/gstadapter.h:
25383         * gst/base/gstbasesink.h:
25384         * gst/base/gstbasesrc.h:
25385         * gst/gstbin.h:
25386         * gst/gstbuffer.h:
25387         * gst/gstbus.h:
25388         * gst/gstcaps.h:
25389         * gst/gstclock.h:
25390         * gst/gstelement.h:
25391         * gst/gstevent.h:
25392         * gst/gstmessage.h:
25393         * gst/gstpad.h:
25394         * gst/gststructure.c:
25395         * gst/registries/gstlibxmlregistry.h:
25396           various documentation fixes
25397
25398 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25399
25400         * docs/gst/gstreamer-sections.txt:
25401         * docs/gst/tmpl/gstvalue.sgml:
25402           rearrange gstvalue section
25403         * gst/gstutils.c: (gst_element_state_get_name):
25404           NONE -> VOID
25405         * gst/gstvalue.c: (_gst_value_initialize):
25406         * gst/gstvalue.h:
25407           doc updates
25408
25409 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25410
25411         * check/gst-libs/controller.c:
25412           Header include fix.
25413         * gst/base/gstbasetransform.c:
25414         (gst_base_transform_default_prepare_buf),
25415         (gst_base_transform_handle_buffer):
25416         * gst/base/gstbasetransform.h:
25417           Some more basetransform changes and fixes to enable sub-classes
25418           that modify buffer metadata only.
25419         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25420         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25421         (gst_capsfilter_prepare_buf):
25422           If the output pad has fixed allowed caps and input buffers 
25423           don't have any, set the fixed caps on outgoing buffers.
25424
25425 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25426         * check/elements/identity.c: (GST_START_TEST):
25427           Make the error a little clearer when the test fails because
25428           identity made a copy of the buffer.
25429         * docs/gst/gstreamer-sections.txt:
25430           New symbols in gstbasetransform.h
25431         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25432         (gst_base_transform_init), (gst_base_transform_transform_size),
25433         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25434         (gst_base_transform_default_prepare_buf),
25435         (gst_base_transform_get_unit_size),
25436         (gst_base_transform_buffer_alloc),
25437         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25438         (gst_base_transform_change_state),
25439         (gst_base_transform_set_passthrough),
25440         (gst_base_transform_set_in_place),
25441         (gst_base_transform_is_in_place):
25442         * gst/base/gstbasetransform.h:
25443           Change BaseTransform to separate in_place operate from same_caps
25444           output. in_place implies that the element can perform the transform
25445           on incoming buffers in-place, even if the caps on the output are
25446           different.
25447           Sub-class elements can now implement special buffer allocation
25448           methods for outgoing buffers if they wish to.
25449           Big documentation addition.
25450         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25451         * gst/elements/gstelements.c:
25452           Changes for basetransform modifications.
25453         * gst/elements/Makefile.am:
25454         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25455           Compile fix. Extra debug output.
25456
25457 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25458
25459         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25460         (gst_pad_suite):
25461           add tests for valid pad naming
25462         * gst/check/gstcheck.c: (gst_check_log_message_func),
25463         (gst_check_log_critical_func):
25464           add ASSERT_WARNING
25465           remove printing of code, it is fragile when the code contains
25466           % and the line number is enough info
25467         * gst/check/gstcheck.h:
25468         * gst/gstpad.c: (gst_pad_template_new):
25469           fix memleaks
25470
25471 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25472
25473         * configure.ac:
25474           say what CHECK flags we use
25475         * docs/libs/gstreamer-libs.types:
25476         * libs/gst/controller/Makefile.am:
25477         * libs/gst/controller/gst-controller.c:
25478         * libs/gst/controller/gst-controller.h:
25479         * libs/gst/controller/gst-helper.c:
25480         * libs/gst/controller/gst-interpolation.c:
25481         * libs/gst/controller/gstcontroller.c:
25482         * libs/gst/controller/gsthelper.c:
25483         * libs/gst/controller/gstinterpolation.c:
25484         * tools/gst-inspect.c: (print_plugin_info):
25485           we don't use dashes in header names
25486
25487 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25488
25489         * check/Makefile.am:
25490         * check/gst/.cvsignore:
25491         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25492         (gst_pipeline_suite), (main):
25493           adding a test for pipelines and state changes
25494         * gst/gstutils.c: (get_state_func):
25495           add some debugging
25496         * gstreamer.spec.in:
25497           fix up spec file
25498
25499 2005-09-08  Michael Smith <msmith@fluendo.com>
25500
25501         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25502         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25503         (gst_file_src_is_seekable), (gst_file_src_get_size),
25504         (gst_file_src_start):
25505         * gst/elements/gstfilesrc.h:
25506           Various fixes for unseekable, unmmapable, and non-normal files, so
25507           that fallback to read() rather than mmap() works.
25508         * gst/gstevent.c: (gst_event_new_newsegment):
25509           Allow newsegment events with segment_start == segment_end, as will
25510           correctly happen if you use filesrc on a zero-size file, for
25511           example.
25512
25513 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25514
25515         * gst/gstplugin.c: (gst_plugin_load_file):
25516           Call g_module_close when we don't load the module
25517
25518         * gst/registries/gstlibxmlregistry.c:
25519         (gst_xml_registry_get_property):
25520           Port leak fix from 0.8
25521
25522 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25523
25524         * docs/gst/gstreamer-docs.sgml:
25525         * docs/gst/tmpl/.cvsignore:
25526         * docs/gst/tmpl/gsttrace.sgml:
25527         * docs/gst/tmpl/gsttrashstack.sgml:
25528         * gst/Makefile.am:
25529         * gst/gst.h:
25530         * gst/gstelement.h:
25531         * gst/gstevent.h:
25532         * gst/gstmessage.c:
25533         * gst/gstmessage.h:
25534         * gst/gsttag.c:
25535         * gst/gsttag.h:
25536         * gst/gsttaginterface.c:
25537         * gst/gsttaginterface.h:
25538         * gst/gsttaglist.c:
25539         * gst/gsttaglist.h:
25540         * gst/gsttagsetter.c:
25541         * gst/gsttagsetter.h:
25542         * gst/gsttrace.c:
25543         * gst/gsttrace.h:
25544         * gst/gsttrashstack.c:
25545           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25546           inlined docs for gsttrace, gsttrashstack
25547
25548 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25549
25550         * gst/Makefile.am:
25551         * gst/elements/gstbufferstore.h:
25552         * gst/elements/gsttypefindelement.c:
25553         * gst/elements/gsttypefindelement.h:
25554         * gst/gst.h:
25555         * gst/gsttypefind.c:
25556         * gst/gsttypefind.h:
25557         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25558         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25559         (gst_type_find_factory_dispose),
25560         (gst_type_find_factory_unload_thyself),
25561         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25562         (gst_type_find_factory_get_caps),
25563         (gst_type_find_factory_get_extensions),
25564         (gst_type_find_factory_call_function):
25565         * gst/gsttypefindfactory.h:
25566         * gst/registries/gstlibxmlregistry.c:
25567         * gst/registries/gstxmlregistry.c:
25568           splitted gsttypefind into gsttypefind, gsttypefindfactory
25569
25570 2005-09-07  Andy Wingo  <wingo@pobox.com>
25571
25572         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25573         condition whereby the pad's task function is entered before the
25574         pad_mode variable was set.
25575
25576 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25577
25578         * gst/gstpad.c: (gst_pad_alloc_buffer):
25579           Catch misbehaving pad_alloc functions that don't
25580           set up caps and do it for them.
25581
25582 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25583
25584         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25585           test for pipe!=NULL
25586         * docs/gst/tmpl/.cvsignore:
25587         * docs/gst/tmpl/gstmemchunk.sgml:
25588         * docs/gst/tmpl/gstparse.sgml:
25589         * docs/gst/tmpl/gsttaglist.sgml:
25590         * docs/gst/tmpl/gsttagsetter.sgml:
25591         * docs/gst/tmpl/gsttypefind.sgml:
25592         * docs/gst/tmpl/gsttypefindfactory.sgml:
25593         * gst/gstmemchunk.c:
25594         * gst/gstparse.c:
25595         * gst/gsttag.c:
25596         * gst/gsttaginterface.c:
25597         * gst/gsttypefind.c:
25598         * gst/gsttypefind.h:
25599           inlined more docs
25600
25601 === release 0.9.2 ===
25602
25603 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25604
25605         * NEWS:
25606         * RELEASE:
25607         * configure.ac:
25608           releasing 0.9.2, "South"
25609
25610 2005-09-05  Andy Wingo  <wingo@pobox.com>
25611
25612         * gst/registries/gstxmlregistry.h:
25613         * gst/registries/gstxmlregistry.c: Um... resurrect...
25614         
25615         * gst/registries/gstxmlregistry.h:
25616         * gst/registries/gstxmlregistry.c: and update to newer API.
25617         Incidentally they should be a bit faster now that they don't have
25618         to parse the caps.
25619         
25620 2005-09-05  Andy Wingo  <wingo@pobox.com>
25621
25622         * gst/registries/gstxmlregistry.h:
25623         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25624         replaced by the libxml registry a while back
25625
25626 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25627
25628         * docs/gst/tmpl/gstplugin.sgml:
25629         * gst/elements/gstelements.c:
25630         * gst/gst.c:
25631         * gst/gstplugin.c: (gst_plugin_register_func),
25632         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25633         (gst_plugin_get_source):
25634         * gst/gstplugin.h:
25635         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25636         (gst_xml_registry_save_plugin):
25637         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25638         (gst_xml_registry_save_plugin):
25639         * tools/gst-inspect.c: (print_plugin_info):
25640           add a "source" plugin description field, to represent the source
25641           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25642           will set it to PACKAGE, which is automake's idea of the name of
25643           the source project.
25644
25645 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25646
25647         * Makefile.am:
25648         * autogen.sh:
25649         * configure.ac:
25650         * docs/Makefile.am:
25651         * docs/faq/Makefile.am:
25652         * docs/gst/tmpl/gstelement.sgml:
25653         * docs/gst/tmpl/gsttypes.sgml:
25654         * docs/htmlinstall.mak:
25655         * docs/manual/Makefile.am:
25656         * docs/pwg/Makefile.am:
25657           reorganize doc build a little
25658           split out docbook and gtk-doc stuff
25659           have two separate --enable's and enable them through autogen
25660           but disable by default in configure (to be similar to other
25661           projects)
25662         * gstreamer.spec.in:
25663           clean up docs install
25664         * po/af.po:
25665         * po/az.po:
25666         * po/ca.po:
25667         * po/cs.po:
25668         * po/de.po:
25669         * po/en_GB.po:
25670         * po/fr.po:
25671         * po/it.po:
25672         * po/nb.po:
25673         * po/nl.po:
25674         * po/ru.po:
25675         * po/sq.po:
25676         * po/sr.po:
25677         * po/sv.po:
25678         * po/tr.po:
25679         * po/uk.po:
25680         * po/vi.po:
25681           translation updates
25682
25683 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25684
25685         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25686           Add comment.
25687           
25688         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25689         (gst_fake_sink_change_state):
25690           Make state change function thread-safe.
25691           
25692         * gst/gstpad.c: (gst_pad_alloc_buffer):
25693           Set offset on generic buffer allocated by fallback.
25694
25695 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25696
25697         * docs/gst/gstreamer-sections.txt:
25698         * docs/gst/tmpl/gstelement.sgml:
25699         * gst/gstpad.c:
25700         * libs/gst/controller/gst-controller.c:
25701         (gst_controlled_property_set_interpolation_mode),
25702         (gst_controlled_property_new),
25703         (gst_controller_find_controlled_property):
25704          run the wingo-magic script against the docs
25705
25706 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25707
25708         * docs/gst/gstreamer-docs.sgml:
25709         * docs/gst/gstreamer-sections.txt:
25710         * docs/gst/tmpl/.cvsignore:
25711         * docs/gst/tmpl/gstelementdetails.sgml:
25712         * docs/gst/tmpl/gstelementfactory.sgml:
25713         * gst/gst.c:
25714         * gst/gstbus.c:
25715         * gst/gstelementfactory.c:
25716         * gst/gstelementfactory.h:
25717           merged elementdetails docs into elementfactory docs
25718           inlined both
25719
25720 2005-09-02  Andy Wingo  <wingo@pobox.com>
25721
25722         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25723         consider this enum an enum and not a flags.
25724
25725 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25726
25727         * docs/gst/gstreamer-docs.sgml:
25728         * docs/gst/tmpl/.cvsignore:
25729         * docs/gst/tmpl/gstghostpad.sgml:
25730         * docs/gst/tmpl/gstiterator.sgml:
25731         * docs/gst/tmpl/gstmacros.sgml:
25732         * docs/gst/tmpl/gstrealpad.sgml:
25733         * docs/gst/tmpl/gstregistry.sgml:
25734         * docs/gst/tmpl/gstregistrypool.sgml:
25735         * docs/gst/tmpl/gststructure.sgml:
25736         * docs/gst/tmpl/gstsystemclock.sgml:
25737         * docs/gst/tmpl/gsttrace.sgml:
25738         * gst/gstghostpad.c:
25739         * gst/gstmacros.h:
25740         * gst/gstmemchunk.c:
25741         * gst/gstmemchunk.h:
25742         * gst/gstqueue.c:
25743         * gst/gstregistry.c:
25744         * gst/gstregistrypool.c:
25745         * gst/gststructure.c:
25746         * gst/gstsystemclock.c:
25747           more docs inlined
25748
25749 2005-09-02  Andy Wingo  <wingo@pobox.com>
25750
25751         * gst/gstelement.h (GstState): Renamed from GstElementState,
25752         changed to be a normal enum instead of flags.
25753         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25754         munged to be GST_STATE_CHANGE_*.
25755         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25756         work with the new state representation.
25757         (GstStateChange): New enumeration of possible state transitions.
25758         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25759         (GstElementClass::change_state): Pass the GstStateChange along as
25760         an argument. Helps language bindings, so they don't have to use
25761         tricky lock-needing macros like GST_STATE_CHANGE ().
25762
25763         * scripts/update-states (file): New script. Run it on a file to
25764         update it for state naming and API changes. Updates files in
25765         place.
25766
25767         * All files updated for the new API.
25768
25769 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25770
25771         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25772         * gst/gstutils.c: (gst_util_set_value_from_string),
25773         (gst_util_set_object_arg):
25774           fix a bunch of unchecked return values
25775         * tools/gst-complete.c: (main):
25776         * gstreamer.spec.in:
25777           clean up a little
25778
25779 2005-09-01  Wim Taymans  <wim@fluendo.com>
25780
25781         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25782         (gst_base_sink_event), (gst_base_sink_do_sync),
25783         (gst_base_sink_handle_event):
25784         * gst/base/gstbasesink.h:
25785         Handle newsegments more correctly.
25786
25787         * gst/gstbus.c:
25788         Fix docs.
25789
25790         * gst/gstevent.c: (gst_event_new_newsegment):
25791         A newsegment cannot have a start_time of -1
25792
25793 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25794
25795         * win32/gstenumtypes.c:
25796         * win32/gstenumtypes.h:
25797           Update
25798
25799 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25800
25801         * libs/gst/controller/gst-controller.c:
25802         (gst_controlled_property_set_interpolation_mode),
25803         (gst_controlled_property_new):
25804          fixed boolean again
25805
25806 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25807
25808         * docs/faq/gst-uninstalled:
25809           add -good
25810         * gst/gstevent.c:
25811         * gst/gstevent.h:
25812           remove wrong docs
25813         * gst/gstutils.c: (gst_element_link_filtered):
25814         * gst/gstutils.h:
25815           add gst_element_link_filtered
25816
25817 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25818
25819         * docs/gst/gstreamer-docs.sgml:
25820         * docs/gst/gstreamer-sections.txt:
25821         * docs/gst/tmpl/.cvsignore:
25822         * docs/gst/tmpl/gsterror.sgml:
25823         * docs/gst/tmpl/gstfilter.sgml:
25824         * docs/gst/tmpl/gsturihandler.sgml:
25825         * docs/gst/tmpl/gsturitype.sgml:
25826         * docs/gst/tmpl/gstutils.sgml:
25827         * docs/gst/tmpl/gstxml.sgml:
25828         * gst/gsterror.c:
25829         * gst/gsterror.h:
25830         * gst/gstfilter.c:
25831         * gst/gsturi.c:
25832         * gst/gsturitype.c:
25833         * gst/gstutils.c:
25834         * gst/gstxml.c:
25835           inlined more docs, fixed double id-ref
25836
25837 2005-08-31  Wim Taymans  <wim@fluendo.com>
25838
25839         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25840         (gst_base_transform_handle_buffer):
25841         Passthrough elements don't need the caps as they don't care.
25842
25843 2005-08-31  Wim Taymans  <wim@fluendo.com>
25844
25845         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25846         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25847         Don't leak refcounts on buffers.
25848
25849 2005-08-31  Wim Taymans  <wim@fluendo.com>
25850
25851         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25852         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25853         (gst_base_transform_chain), (gst_base_transform_change_state):
25854         * gst/base/gstbasetransform.h:
25855         Handle the case where we are not negotiated more gracefully.
25856
25857 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25858
25859         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25860         (gst_file_src_map_region):
25861           Set READONLY flag on mmap'ed buffers, otherwise
25862           gst_buffer_make_writable() won't work properly (#314708).
25863
25864 2005-08-31  Wim Taymans  <wim@fluendo.com>
25865
25866         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25867         passthrough elements can even do inplace on non writable
25868         buffers (as they don't touch them).
25869
25870 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25871
25872         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25873         (gst_test_mono_source_set_property),
25874         (gst_test_mono_source_class_init), (GST_START_TEST),
25875         (gst_controller_suite):
25876           more tests (hehe I have the most)
25877         * gst/gstbus.c:
25878           describe popping messages whenusing mulltiple sources
25879         * libs/gst/controller/gst-controller.c:
25880         (gst_controlled_property_set_interpolation_mode),
25881         (gst_controlled_property_new):
25882         * libs/gst/controller/gst-controller.h:
25883         * libs/gst/controller/gst-interpolation.c:
25884           implement boolean properties
25885
25886 2005-08-31  Wim Taymans  <wim@fluendo.com>
25887
25888         * gst/gstminiobject.c: (gst_mini_object_ref):
25889         Cannot assert that the refcount has to be positive
25890         since a disposed object can be resurrected.
25891
25892 2005-08-31  Wim Taymans  <wim@fluendo.com>
25893
25894         * gst/gstpad.c: (gst_pad_init):
25895         Revert change, need to first fix badly behaving 
25896         apps.
25897
25898 2005-08-30  Wim Taymans  <wim@fluendo.com>
25899
25900         * check/elements/fakesrc.c: (setup_fakesrc):
25901         * check/elements/identity.c: (setup_identity):
25902         Activate pads before using them.
25903
25904 2005-08-30  Wim Taymans  <wim@fluendo.com>
25905
25906         * gst/base/gstadapter.c: (gst_adapter_flush):
25907         Flushing out 0 bytes is ok for this function.
25908
25909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25910         no newsegment gives a warning and sets the start/stop to 
25911         invalid.
25912
25913         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25914         (gst_base_transform_set_passthrough):
25915         Some debug info.
25916
25917         * gst/gstminiobject.c: (gst_mini_object_ref):
25918         Check refcount here too.
25919
25920         * gst/gstpad.c: (gst_pad_init):
25921         Pads are initially flushing and refusing data.
25922
25923         * gst/gstutils.c: (gst_element_link_pads_filtered):
25924         When adding a capsfilter element make sure it has the
25925         same state as the parent bin.
25926
25927 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25928
25929         * docs/gst/tmpl/.cvsignore:
25930         * docs/gst/tmpl/gstformat.sgml:
25931         * docs/gst/tmpl/gstversion.sgml:
25932         * gst/gstbus.h:
25933         * gst/gstformat.c:
25934         * gst/gstformat.h:
25935         * gst/gstversion.h.in:
25936           more docs and two more inlined
25937
25938 2005-08-30  Wim Taymans  <wim@fluendo.com>
25939
25940         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25941         Don't sync to clock.
25942
25943 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25944
25945         * docs/gst/gstreamer-sections.txt:
25946           ultral33t func10ns deserve to appear in the docs actually
25947         * docs/gst/tmpl/.cvsignore:
25948         * docs/gst/tmpl/gstcompat.sgml:
25949         * docs/gst/tmpl/gstconfig.sgml:
25950         * gst/check/gstcheck.c:
25951         * gst/gstcompat.h:
25952         * gst/gstconfig.h.in:
25953           inlined more docs
25954
25955 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25956
25957         * docs/gst/tmpl/.cvsignore:
25958         * docs/gst/tmpl/gstquery.sgml:
25959         * docs/gst/tmpl/gstutils.sgml:
25960         * gst/gstquery.c:
25961         * gst/gstquery.h:
25962           inlined and extended docs
25963
25964 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25965
25966         * check/gst-libs/controller.c: (GST_START_TEST),
25967         (gst_controller_suite):
25968           more tests
25969         * docs/gst/tmpl/gstutils.sgml:
25970         * docs/libs/gstreamer-libs-sections.txt:
25971         * docs/libs/tmpl/gstdataprotocol.sgml:
25972           include path fixes
25973         * examples/controller/audio-example.c: (main):
25974           controller example works now
25975         * gst/gstclock.h:
25976           doc fixes
25977         * tools/gst-inspect.c: (print_element_properties_info):
25978           show param spec flags
25979
25980 2005-08-29  Andy Wingo  <wingo@pobox.com>
25981
25982         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25983
25984 2005-08-28  Andy Wingo  <wingo@pobox.com>
25985
25986         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25987         as having two arguments instead of just one. Allows superclasses
25988         to access information on subclasses -- see the terrible for() loop
25989         in gtype.c:g_type_create_instance for the reason why. All callers
25990         changed.
25991
25992 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
25993
25994         * docs/design/part-messages.txt:
25995           update info
25996         * docs/gst/tmpl/.cvsignore:
25997         * docs/gst/tmpl/gstcaps.sgml:
25998         * docs/gst/tmpl/gstclock.sgml:
25999         * gst/gstbus.c:
26000         * gst/gstcaps.c:
26001         * gst/gstcaps.h:
26002         * gst/gstclock.c:
26003         * gst/gstclock.h:
26004         * gst/gstmessage.c:
26005           added descriptions for bus and message
26006           inline caps and clock docs
26007
26008 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26009
26010         * gst/gstmessage.c:
26011         * gst/gstmessage.h:
26012           doc fixes
26013
26014 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26015
26016         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26017           fix div-by-zero
26018
26019 2005-08-26  Andy Wingo  <wingo@pobox.com>
26020
26021         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26022         element_set_state's return val.
26023         (test_2_elements): Add test that's been disabled for months.
26024
26025         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26026         can-activate-pull properties.
26027
26028         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26029         can-activate-pull properties. Implement is_seekable so fakesrc can
26030         operate in pull mode.
26031
26032         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26033         properties.
26034         (gst_base_sink_activate, gst_base_sink_activate_pull)
26035         (gst_base_sink_activate_push): Make activation mode choosing work.
26036         Cleanups.
26037         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26038         is right. Make pull mode work. Post an eos before pausing in pull
26039         mode.
26040         (gst_base_sink_change_state): Pay attention to the core's
26041         change_state() return val.
26042         
26043         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26044         has-getrange properties. Cleanups.
26045         
26046         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26047         has_getrange and replace with can_activate_pull and
26048         can_activate_push.
26049
26050         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26051         locking comments. Remove has_loop, has_chain and replace with
26052         can_activate_pull and can_activate_push.
26053
26054 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26055
26056         * configure.ac:
26057         * examples/Makefile.am:
26058         * examples/metadata/Makefile.am:
26059         * examples/metadata/read-metadata.c: (message_loop),
26060         (have_pad_handler), (make_pipeline), (print_tag), (main):
26061           Add metadata reading example that loops over a list of filenames,
26062           dumping any tags found.
26063
26064         * gst/gstbus.c: (gst_bus_dispose):
26065         * gst/gstelement.c: (gst_element_dispose):
26066           Release a few potentially-held references in dispose.
26067
26068 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26069
26070         * docs/gst/tmpl/gstminiobject.sgml:
26071           do *not* add tmpl/*.sgml files to CVS!
26072
26073 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26074
26075         * libs/gst/bytestream/.cvsignore:
26076         * libs/gst/bytestream/Makefile.am:
26077         * libs/gst/bytestream/adapter.c:
26078         * libs/gst/bytestream/adapter.h:
26079         * libs/gst/bytestream/bytestream.c:
26080         * libs/gst/bytestream/bytestream.h:
26081         * libs/gst/bytestream/filepad.c:
26082         * libs/gst/bytestream/filepad.h:
26083           removing obsolete files
26084
26085 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26086
26087         * docs/gst/gstreamer-docs.sgml:
26088         * docs/libs/gstreamer-libs-docs.sgml:
26089           disabed additional index entries again, as this makes docs-gen just
26090           slow and they aren't useful yet
26091         * docs/libs/gstreamer-libs-sections.txt:
26092           little -section.txt cleanup for libs
26093
26094 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26095
26096         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26097         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26098           fix up some debugging
26099         (gst_base_transform_get_unit_size),
26100         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26101         (gst_base_transform_handle_buffer):
26102         * gst/base/gstbasetransform.h:
26103           handle and store timed NEWSEGMENT events so that subclasses that
26104           calculate time by counting samples have a segment_start time they
26105           need to add to their timestamps - see audioresample
26106
26107 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26108
26109         * gst/gstbin.h:
26110           removed ';' from the end of macro defs
26111         * docs/gst/gstreamer-docs.sgml:
26112         * docs/gst/gstreamer-sections.txt:
26113         * docs/gst/tmpl/.cvsignore:
26114         * gst/gstbus.h:
26115         * gst/gstelement.c: (gst_element_class_init),
26116         (gst_element_set_state), (activate_pads),
26117         (gst_element_save_thyself):
26118         * gst/gstevent.c: (gst_event_new_newsegment):
26119         * gst/gstevent.h:
26120         * gst/gstiterator.c:
26121         * gst/gstiterator.h:
26122         * gst/gstpad.c:
26123         * gst/gstprobe.h:
26124         * gst/gstutils.c: (gst_pad_query_convert):
26125         * gst/gstutils.h:
26126           fixed parameter name mismatches between source, header and docs
26127           added some more docs, resolved the last batch of unused elements in
26128           docs (now someone needs to doc them)
26129
26130 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26131
26132         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26133         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26134           don't walk through the plugins backwards.  Where is all this
26135           reversed logic coming from ?
26136
26137 2005-08-25  Wim Taymans  <wim@fluendo.com>
26138
26139         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26140         (gst_base_transform_transform_size),
26141         (gst_base_transform_configure_caps),
26142         (gst_base_transform_get_unit_size),
26143         (gst_base_transform_buffer_alloc),
26144         (gst_base_transform_change_state):
26145         * gst/base/gstbasetransform.h:
26146         Cache caps unit_size.
26147         Make sure we cannot negotiate up and downstream at the
26148         same time.
26149
26150 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26151
26152         * gst/gst.c: (init_pre), (init_post):
26153           register the installed plugin path after the env var
26154         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26155         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26156           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26157           directories, so the tests can prefer uninstalled over installed
26158
26159 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26160
26161         * gst/base/gstbasetransform.h:
26162           comment
26163         * gst/gstpad.c:
26164           add to docs
26165
26166 2005-08-25  Wim Taymans  <wim@fluendo.com>
26167
26168         * gst/gstbin.c: (bin_bus_handler):
26169         Be a bit more conservative about the posted message.
26170         
26171         * gst/gstbus.c: (gst_bus_post):
26172         Some cleanups, warn wrong return values.
26173
26174 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26175
26176         * check/gst/gstbin.c: (GST_START_TEST):
26177         * gst/gstbin.c: (bin_bus_handler):
26178         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26179         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26180         (gst_message_new_warning), (gst_message_new_tag),
26181         (gst_message_new_state_changed), (gst_message_new_segment_start),
26182         (gst_message_new_segment_done), (gst_message_new_custom):
26183         * gst/gstmessage.h:
26184         * tools/gst-launch.c: (event_loop):
26185         * tools/gst-md5sum.c: (event_loop):
26186           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26187
26188 2005-08-25  Wim Taymans  <wim@fluendo.com>
26189
26190         * check/generic/states.c: (GST_START_TEST):
26191         Cleanup can be done at the end.
26192
26193         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26194         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26195         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26196         Oh boy.. Thanks for finding this, Thomas. 
26197
26198 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26199
26200         * docs/gst/gstreamer.types:
26201           added missing types
26202
26203 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26204
26205         * docs/gst/gstreamer-docs.sgml:
26206         * docs/gst/gstreamer-sections.txt:
26207         * docs/gst/tmpl/.cvsignore:
26208         * gst/gstbin.c:
26209         * gst/gstiterator.c:
26210         * gst/gstutils.c:
26211         * gst/registries/gstxmlregistry.h:
26212           added missing classes and symbols (123 more to go)
26213           removed removed symbols from section file
26214           fixed many doc-comments
26215
26216 2005-08-24  Wim Taymans  <wim@fluendo.com>
26217
26218         * check/generic/states.c: (GST_START_TEST):
26219         Make sure all tasks are stopped.
26220
26221         * check/gst/gstbin.c: (GST_START_TEST):
26222         Unref after usage for proper valgrinding.
26223
26224         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26225         Really wait for the task to stop before destroying the
26226         mutex.
26227
26228         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26229         (gst_queue_src_activate_push):
26230         Small cleanups. Don't stop the task when we did not start
26231         it.
26232
26233         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26234         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26235         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26236         (gst_task_join):
26237         * gst/gsttask.h:
26238         Protect the stream lock with the object lock.
26239         Disallow setting the stream lock when running.
26240         Add cleanup_all to wait for the threadpool to finish.
26241         Remove code to autoallocate a mutex if none was provided.
26242         Add _join() to wait for a task to stop.
26243         Protect the thread pool with a global lock.
26244
26245 2005-08-24  Wim Taymans  <wim@fluendo.com>
26246
26247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26248         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26249         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26250         * gst/base/gstbasesink.h:
26251         Handle newsegment events correctly.
26252         Drop buffers out of the segment range.
26253
26254 2005-08-22  Andy Wingo  <wingo@pobox.com>
26255
26256         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26257         macro, implements an interface and gstimplementsinterface for a
26258         new type.
26259
26260 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26261
26262         * check/Makefile.am:
26263         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26264           add a test that does a bunch of state changes on elements
26265           needs some fixing for valgrind
26266         * check/states/sinks.c: (gst_object_suite):
26267           whitespace
26268         * gst/gstcaps.h:
26269           add prototype for gst_caps_is_equal_fixed
26270         * gst/gstplugin.c:
26271         * gst/gstregistrypool.c:
26272           doc fixes
26273
26274 2005-08-24  Andy Wingo  <wingo@pobox.com>
26275
26276         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26277         convert a negative value. Doesn't make much sense. Mostly this is
26278         here to force callers to ensure -1 maps to -1.
26279
26280 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26281
26282         * docs/pwg/advanced-types.xml:
26283           Well done to Michael for catching my deliberate introduction
26284           of this spelling mistake. 
26285         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26286         * gst/gstelement.h:
26287           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26288           unlink pads before removing the element from the bin.
26289
26290 2005-08-24  Andy Wingo  <wingo@pobox.com>
26291
26292         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26293         the same thing as GST_DEBUG=*:4.
26294         (parse_debug_level, parse_debug_category): New helper parsers.
26295
26296 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26297
26298         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26299         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26300         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26301         (gst_base_transform_buffer_alloc),
26302         (gst_base_transform_handle_buffer):
26303           use gboolean return values and pointers to size so we can use the
26304           full GST_BUFFER_SIZE range (guint) for buffer sizes
26305           use GstPadDirection for transform_caps
26306         * gst/base/gstbasetransform.h:
26307           rename get_size to get_unit_size since that's what it is
26308         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26309           use GstPadDirection for transform_caps
26310         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26311         * gst/gstutils.h:
26312           cleanup and debugging
26313
26314 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26315
26316         * gst/gstelement.c: (gst_element_class_init),
26317         (gst_element_set_state), (activate_pads),
26318         (gst_element_save_thyself):
26319         * tools/gst-compprep.c: (main):
26320         * tools/gst-inspect.c: (print_element_properties_info):
26321         * tools/gst-xmlinspect.c: (print_element_properties):
26322           Fixed long standing mem-leak
26323
26324 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26325
26326         * check/gst/gstbin.c: (GST_START_TEST):
26327         * gst/gstbin.c: (bin_bus_handler):
26328         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26329         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26330         (gst_message_new_warning), (gst_message_new_tag),
26331         (gst_message_new_state_changed), (gst_message_new_segment_start),
26332         (gst_message_new_segment_done), (gst_message_new_custom):
26333         * gst/gstmessage.h:
26334         * tools/gst-launch.c: (event_loop):
26335         * tools/gst-md5sum.c: (event_loop):
26336           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26337           that applications can sensibly post custom messages with references
26338           to their own objects.
26339
26340 2005-08-24  Andy Wingo  <wingo@pobox.com>
26341
26342         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26343         already.
26344
26345 2005-08-24  Wim Taymans  <wim@fluendo.com>
26346
26347         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26348         (gst_base_transform_transform_caps),
26349         (gst_base_transform_transform_size),
26350         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26351         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26352         (gst_base_transform_handle_buffer):
26353         * gst/base/gstbasetransform.h:
26354         Many fixes and new features added by Thomas. Can now also do
26355         transforms with variable sizes and a custom fixate_caps function.
26356
26357 2005-08-24  Wim Taymans  <wim@fluendo.com>
26358
26359         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26360         Some debugging.
26361
26362         * gst/gstclock.h:
26363         Cast to ClockTime before formatting to time.
26364
26365         * gst/gstutils.h:
26366         Cleanups.
26367
26368 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26369
26370         * check/gst-libs/controller.c: (GST_START_TEST),
26371         (gst_controller_suite):
26372         * docs/gst/tmpl/gstcaps.sgml:
26373         * docs/gst/tmpl/gstghostpad.sgml:
26374         * docs/gst/tmpl/gstquery.sgml:
26375         * docs/gst/tmpl/gstutils.sgml:
26376         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26377         (gst_object_sink_values), (gst_object_get_value_arrays),
26378         (gst_object_get_value_array):
26379           gracefully handle helper method calls to objects that are not beeing
26380           controlled, added test case for that          
26381
26382 2005-08-23  Wim Taymans  <wim@fluendo.com>
26383
26384         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26385         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26386         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26387         (gst_event_parse_qos), (gst_event_new_seek),
26388         (gst_event_parse_seek):
26389         * gst/gstevent.h:
26390         Some more debugging output and doc cleanups.
26391
26392         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26393         Fix possible deadlock.
26394
26395 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26396
26397         * docs/gst/gstreamer-docs.sgml:
26398         * docs/gst/gstreamer-sections.txt:
26399         * docs/gst/gstreamer.types:
26400         * docs/gst/tmpl/.cvsignore:
26401         * gst/gstbin.h:
26402         * gst/gstbus.c:
26403         * gst/gstelement.c:
26404         * gst/gstevent.h:
26405           added 100 symbols from gstreamer-unused.txt to the right sections
26406           fixed more broken comments
26407           added GstBus to docs
26408
26409 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26410
26411         * docs/gst/gstreamer-sections.txt:
26412         * docs/gst/tmpl/.cvsignore:
26413         * docs/gst/tmpl/gstbin.sgml:
26414         * docs/gst/tmpl/gstbuffer.sgml:
26415         * gst/base/gstbasesrc.c:
26416         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26417         * gst/gstbuffer.c:
26418         * gst/gstbuffer.h:
26419         * tools/gst-launch.1.in:
26420           inlined more doc comments, added missing comments and fixed comments
26421           fixed typos
26422
26423 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26424
26425         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26426           some debugging
26427         * gst/gstcaps.h:
26428           whitespace fixes
26429         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26430           more debugging
26431         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26432         * gst/gststructure.h:
26433           add a fixate function for booleans; add a FIXME that these func
26434           names should probably be gst_structure_fixate_*
26435
26436 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26437
26438         * docs/gst/gstreamer-docs.sgml:
26439         * docs/gst/gstreamer-sections.txt:
26440         * gst/Makefile.am:
26441         * gst/gstbin.c: (gst_bin_get_type),
26442         (gst_bin_child_proxy_get_child_by_index),
26443         (gst_bin_child_proxy_get_children_count),
26444         (gst_bin_child_proxy_init):
26445         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26446         (gst_child_proxy_get_child_by_index),
26447         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26448         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26449         (gst_child_proxy_get), (gst_child_proxy_set_property),
26450         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26451         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26452         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26453         * gst/gstchildproxy.h:
26454         * gst/parse/grammar.y:
26455         * tools/gst-inspect.c: (print_interfaces),
26456         (print_element_properties_info), (print_element_info):
26457           ported gstchildproxy over from 0.8
26458           ported gst-inspect fixes and enhancements over from 0.8
26459
26460 2005-08-22  Wim Taymans  <wim@fluendo.com>
26461
26462         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26463         (gst_base_transform_handle_buffer):
26464         Also call the transform function if we have ANY caps.
26465
26466         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26467         Fix debug info.
26468
26469 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26470
26471         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26472           Don't pretend to handle seek events if the source is not seekable
26473
26474 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26475
26476         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26477           Remove extra parameter to debug output
26478
26479         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26480         (gst_base_src_do_seek), (gst_base_src_activate_push):
26481           Fix seek event handling.
26482
26483         * gst/gstpipeline.c: (gst_pipeline_change_state):
26484         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26485         (gst_queue_src_activate_push):
26486           Don't start the src pad task on FLUSH_STOP if the pad
26487           isn't linked.
26488           Debug changes.
26489
26490 2005-08-22  Wim Taymans  <wim@fluendo.com>
26491
26492         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26493         Added check for gst_static_caps_get() refcounting.
26494
26495 2005-08-22  Wim Taymans  <wim@fluendo.com>
26496
26497         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26498         Make _static_caps_get() refcounting sane.
26499         
26500         * gst/gstelement.c: (gst_element_set_state):
26501         Add g_return_val_if_fail() to protect against segfaults.
26502
26503 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26504
26505         * docs/gst/tmpl/gstevent.sgml:
26506         * gst/gstevent.c:
26507         * gst/gstevent.h:
26508           inlined remaining docs, added missing doc comments
26509
26510 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26511
26512         * check/gst/gstbin.c: (GST_START_TEST):
26513           since we don't know when preroll is done, use refcount range
26514           check for the sink
26515         * gst/check/gstcheck.h:
26516           add macro for checking refcount range
26517
26518 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26519
26520         * check/Makefile.am:
26521           clean up environment for when registry gets built versus
26522           when actual tests are run; valgrind seems to not report
26523           leaks if GST_PLUGIN_PATH is set to some specific values
26524         * check/gst/gstbin.c: (GST_START_TEST):
26525           add more refcounting checks; maybe this exposes a
26526           preroll lock bug ?
26527         * common/check.mak:
26528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26529         * gst/check/gstcheck.h:
26530         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26531         (gst_bin_change_state):
26532         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26533           add/fix debugging/whitespace
26534
26535 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26536
26537         * check/gst/gstevent.c: (event_probe), (test_event),
26538         (GST_START_TEST):
26539          Er, don't call gst_bin_watch_for_state_change you idiot.
26540
26541 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26542
26543         * check/Makefile.am:
26544           Use CHECK_CFLAGS and CHECK_LIBS
26545         * check/gst/gstevent.c: (event_probe), (test_event),
26546         (GST_START_TEST):
26547           Don't leak events.
26548         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26549         (gst_base_src_start), (gst_base_src_stop),
26550         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26551         (gst_base_src_change_state):
26552           Sprinkle gst_base_src_stop liberally around error paths to fix
26553           problems reusing a source after failed state changes.
26554         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26555         (helper_find_suggest), (gst_type_find_helper):
26556           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26557         * gst/gstevent.h:
26558         * docs/gst/tmpl/gstevent.sgml:
26559           Migrate part of the docs from the SGML file. Wait for ensonic to
26560           tell me how I did it wrong ;)
26561         * tools/gst-typefind.c: (main):
26562           Extra robustness to state changes between files.
26563
26564 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26565
26566         * check/Makefile.am:
26567           don't valgrind the controller test - it's leaking - Stefan, HELP
26568         * gst/check/gstcheck.c: (gst_check_message_error),
26569         (gst_check_chain_func), (gst_check_setup_element),
26570         (gst_check_teardown_element), (gst_check_setup_src_pad),
26571         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26572         (gst_check_teardown_sink_pad):
26573         * gst/check/gstcheck.h:
26574           add a bunch of methods to set up elements, and src and sink pads
26575         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26576         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26577         (GST_START_TEST):
26578           use them
26579         * gst/gstmessage.c:
26580         * gst/gsttag.h:
26581           whitespace/doc fixes
26582
26583 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26584
26585         * gst/gstelement.h:
26586           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26587           be handled by the application and not always printed as well
26588
26589 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26590
26591         * check/Makefile.am:
26592           set GST_TOOLS_DIR
26593         * gst/check/gstcheck.c: (gst_check_message_error):
26594         * gst/check/gstcheck.h:
26595           add a fail_unless_equals_int
26596           add fail_unless for error messages
26597
26598 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26599
26600         * check/Makefile.am:
26601         * check/gst.supp:
26602         * common/Makefile.am:
26603         * common/check.mak:
26604         * common/gst.supp:
26605           factor out some of the common stuff so we can use it
26606
26607 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26608
26609         * check/Makefile.am:
26610         * check/gst/gstiterator.c: (GST_START_TEST):
26611         * check/gst/gstsystemclock.c: (GST_START_TEST),
26612         (gst_systemclock_suite):
26613         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26614         * gst/gstclock.c:
26615           valgrind more tests
26616
26617 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26618
26619         * check/elements/.cvsignore:
26620         * check/elements/gstfakesrc.c:
26621           rename to name of element
26622         * check/elements/identity.c: (chain_func), (event_func),
26623         (setup_identity), (cleanup_identity), (GST_START_TEST),
26624         (identity_suite), (main):
26625           add a test for identity
26626         * check/Makefile.am:
26627         * pkgconfig/Makefile.am:
26628         * pkgconfig/gstreamer-check.pc.in:
26629         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26630         * gst/check:
26631         * gst/Makefile.am:
26632         * configure.ac:
26633           move the check stuff to a library that gets installed
26634         * check/gst-libs/controller.c: (GST_START_TEST):
26635         * check/gst-libs/gdp.c:
26636         * check/gst/gst.c: (GST_START_TEST):
26637         * check/gst/gstbin.c:
26638         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26639         * check/gst/gstbus.c:
26640         * check/gst/gstcaps.c: (GST_START_TEST):
26641         * check/gst/gstelement.c:
26642         * check/gst/gstghostpad.c:
26643         * check/gst/gstiterator.c:
26644         * check/gst/gstmessage.c:
26645         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26646         * check/gst/gstobject.c:
26647         * check/gst/gstpad.c: (GST_START_TEST):
26648         * check/gst/gststructure.c: (GST_START_TEST):
26649         * check/gst/gstsystemclock.c: (GST_START_TEST),
26650         (gst_systemclock_suite):
26651         * check/gst/gsttag.c: (gst_tag_suite):
26652         * check/gst/gstvalue.c:
26653         * check/pipelines/cleanup.c:
26654         * check/pipelines/simple_launch_lines.c:
26655         * check/states/sinks.c:
26656           change include statement
26657
26658         * docs/gst/gstreamer-sections.txt:
26659         * docs/gst/tmpl/gstpad.sgml:
26660           document more pad stuff
26661         * gst/gstminiobject.c: (gst_mini_object_ref),
26662         (gst_mini_object_unref):
26663           debug refcounting
26664
26665 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26666
26667         * docs/gst/tmpl/gst.sgml:
26668         * gst/gst.c:
26669           eliminate another tmpl file, fix spelling in the long-description
26670
26671 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26672
26673         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26674         (test_event), (timediff), (gstevents_suite):
26675           Should fix build on 64-bit arch's
26676
26677 2005-08-18  Andy Wingo  <wingo@pobox.com>
26678
26679         Make sure that when a pipeline goes to PLAYING, that data has
26680         actually hit the sink.
26681
26682         * check/states/sinks.c (test_sink): A sink that doesn't get any
26683         data shouldn't return SUCCESS for going to either PLAYING or
26684         PAUSED. Test also the return values on the way back down.
26685
26686         * gst/gstelement.c (gst_element_set_state): When changing the
26687         state of an element currently changing state asynchronously, go to
26688         lost-state after commiting the pending state. Makes future calls
26689         to get_state continue to return ASYNC.
26690
26691         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26692         ASYNC when going to PLAYING if we still don't have preroll, as can
26693         happen with live sources.
26694
26695 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26696
26697         * docs/pwg/advanced-types.xml:
26698           Hack long paragraph into 2 chunks as a workaround for buggy
26699           jadetex version in sid and breezy that loops infinitely and
26700           eats all RAM.
26701
26702 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26703
26704         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26705         (test_event), (timediff), (gstevents_suite):
26706           Provide more error margin in clock measurements to allow for 
26707           g_get_current_time inaccuracies.
26708
26709 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26710
26711         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26712         (test_event), (timediff), (gstevents_suite):
26713            Fix error message output so I might be able to tell why the
26714            test works here but fails on the build farm.
26715
26716 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26717
26718         * check/Makefile.am:
26719         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26720         (test_event), (timediff), (gstevents_suite), (main):
26721           I wrote a test!
26722
26723         * docs/design/part-seeking.txt:
26724           Spelling correction
26725
26726         * docs/gst/tmpl/gstevent.sgml:
26727         * docs/gst/tmpl/gstfakesrc.sgml:
26728           Docs updates.
26729
26730         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26731           Treat a buffer-without-newsegment the same as a receiving 
26732           a newsegment not in time format, and disable syncing to the clock
26733           with a warning.
26734
26735         * gst/gstbus.c: (gst_bus_set_sync_handler):
26736           Assert if anyone tries to replace the existing sync_handler for bus, 
26737           as only the owner should be setting it.
26738
26739         * gst/gstevent.h:
26740           Have a fixed set of custom event enums with events identified by
26741           their structure name (as in 0.8), rather than a free-for-all
26742           allowing collisions between enum values from different plugins.
26743
26744         * gst/gstpad.c: (gst_pad_class_init):
26745           Docs change.
26746           
26747         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26748           Handle out-of-band downstream events from the sending thread.
26749
26750 2005-08-17  Andy Wingo  <wingo@pobox.com>
26751
26752         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26753         play-timeout==0 to mean no timeout at all. In that case, don't
26754         bother with a get_state or a warning, just return directly, even
26755         if it's ASYNC.
26756
26757         * gst/base/gstbasetransform.c: Debug changes.
26758
26759         * gst/gstutils.h:
26760         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26761         ensure bins post state change messages. A bit of a hack but I can't
26762         think of a way to avoid it.
26763
26764         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26765
26766 2005-08-16  Andy Wingo  <wingo@pobox.com>
26767
26768         * gst/base/gstadapter.h:
26769         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26770         peek() but you own the data. Not terribly efficient atm.
26771
26772 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26773
26774         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26775         (gst_element_found_tags):
26776         * gst/gstutils.h:
26777           Add two utility functions for tag handling.
26778
26779 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26780
26781         * docs/manual/advanced-dataaccess.xml:
26782         * docs/manual/basics-helloworld.xml:
26783           Fix docs to use _bin_add() before _link(), which fixes the examples
26784           with recent core versions (reported by Madhan Raj M
26785           <raj_madan@rediffmail.com>, #313199).
26786
26787 2005-08-16  Wim Taymans  <wim@fluendo.com>
26788
26789         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26790         Added subtract checks.
26791
26792         * docs/design/part-events.txt:
26793         Some more docs about newsegment
26794
26795         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26796         Fix FIXME
26797
26798         * gst/gstcaps.c: (gst_caps_to_string):
26799         Add comments, cleanups.
26800         
26801         * gst/gstelement.c: (gst_element_save_thyself):
26802         cleanups
26803         
26804         * gst/gstvalue.c: (gst_value_collect_int_range),
26805         (gst_string_unwrap), (gst_value_union_int_int_range),
26806         (gst_value_union_int_range_int_range),
26807         (gst_value_intersect_int_int_range),
26808         (gst_value_intersect_int_range_int_range),
26809         (gst_value_intersect_double_double_range),
26810         (gst_value_intersect_double_range_double_range),
26811         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26812         (gst_value_subtract_int_range_int),
26813         (gst_value_subtract_double_range_double),
26814         (gst_value_subtract_double_range_double_range),
26815         (gst_value_subtract_from_list), (gst_value_subtract_list),
26816         (gst_value_can_compare), (gst_value_compare_fraction):
26817         Cleanups, add comments, remove unneeded asserts.
26818
26819 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26820
26821         * tools/gst-launch.c: (event_loop):
26822           don't convert NULL structures to strings
26823
26824 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26825
26826         * docs/gst/gstreamer-sections.txt:
26827           made some defines private
26828         * docs/gst/tmpl/gstconfig.sgml:
26829         * docs/gst/tmpl/gstqueue.sgml:
26830         * docs/gst/tmpl/gsttaglist.sgml:
26831         * docs/gst/tmpl/gsttypes.sgml:
26832         * docs/gst/tmpl/gstutils.sgml:
26833         * docs/pwg/appendix-porting.xml:
26834         * gst/base/gstbasesink.h:
26835         * gst/base/gstbasesrc.c:
26836         * gst/base/gstbasesrc.h:
26837         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26838         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26839         * gst/gstelement.c: (gst_element_class_init):
26840         * gst/gstpad.c: (gst_pad_class_init):
26841         * gst/gstqueue.c: (gst_queue_class_init):
26842         * gst/gstxml.c: (gst_xml_class_init):
26843           documented all undocumented signal inline
26844         * libs/gst/controller/gst-controller.h:
26845           added padding
26846
26847 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26848
26849         * docs/pwg/appendix-porting.xml:
26850           Document _set_link_function -> _set_setcaps_function.
26851
26852 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26853
26854         * check/Makefile.am:
26855           add a .check target for running the check
26856         * check/gst-libs/controller.c: (GST_START_TEST):
26857           cosmetic fixups
26858         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26859           complete checks for gstbuffer; would be nice if I could get the
26860           gcov stuff to work so I can see if I actually completed gstbuffer.c
26861         * check/gstcheck.h:
26862           add ASSERT_BUFFER_REFCOUNT
26863
26864 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26865
26866         * docs/gst/gstreamer-sections.txt:
26867         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26868         * gst/gsttag.h:
26869           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26870           spew out a warning if a tag that is already registered
26871           is re-registered, unless it is re-registered with a 
26872           different type (#308438).
26873
26874 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26875
26876         * docs/pwg/appendix-porting.xml:
26877         * docs/pwg/building-state.xml:
26878           Add some paragraphs about state changes in 0.9 to the PWG
26879           and the porting guide, in particular about the new meaning
26880           of GST_STATE_PAUSED and how to write state change functions
26881           with concurrent access by multiple threads in mind.
26882
26883 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26884
26885         * docs/gst/gstreamer-docs.sgml:
26886         * docs/libs/gstreamer-libs-docs.sgml:
26887           added deprecation and since indexes
26888         * libs/gst/controller/gst-controller.c:
26889         * libs/gst/controller/gst-helper.c:
26890           added since tags
26891
26892
26893 2005-08-11  Wim Taymans  <wim@fluendo.com>
26894
26895         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26896         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26897         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26898         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26899         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26900         (gst_ghost_pad_set_target):
26901         Actually implement (re)setting the target on a ghostpad
26902         as described in the docs.
26903
26904 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26905
26906         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26907           Check whether GST_DEBUG_NO_COLOR environment variable is
26908           set and disable coloured debug output if that is the case.
26909
26910 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26911
26912         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26913         (gst_type_find_helper):
26914           The memory returned by gst_type_find_peek() needs to
26915           stay valid until the end of a typefind function, and
26916           typefind functions may keep results from different 
26917           offsets around, so we can't just unref the buffer from
26918           the previous _peek(), but have to save all buffers 
26919           returned by _peek() until typefinding is done and only
26920           free them then.
26921
26922 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26923
26924         * docs/gst/gstreamer-sections.txt:
26925         * gst/gstutils.h:
26926           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26927
26928 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26929
26930         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26931           Fix a pretty good memleak.
26932
26933 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26934
26935         * gst/gstiterator.h:
26936           Fix wrong include and 'make distcheck'.
26937
26938 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26939
26940         * gst/gstbin.c: (bin_bus_handler):
26941           Use gst_element_post_message() instead.
26942
26943 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26944
26945         * gst/base/gstadapter.h:
26946         * gst/base/gstbasesink.h:
26947         * gst/base/gstbasesrc.h:
26948         * gst/base/gstbasetransform.h:
26949         * gst/base/gstcollectpads.h:
26950         * gst/base/gstpushsrc.h:
26951         * gst/gstiterator.h:
26952           Add padding to our base elements' class and instance structs and
26953           to GstIterator (you will need to rebuild all plugins and apps!)
26954
26955 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26956
26957         * gst/gstbin.c: (bin_bus_handler):
26958           Make default message forwarding from child->bus to bin->bus
26959           threadsafe and make it not emit warnings if the parent has no bus.
26960
26961 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26962
26963         * gst/gstelement.c: (activate_pads):
26964           On paused->ready, set pad->caps to NULL, as is the documented
26965           behaviour in this state change. Fixes playback of series of
26966           media files when visualization is enabled in Totem.
26967
26968 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26969
26970         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26971           Allow NULL as filter-caps (which means "any").
26972
26973 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26974
26975         * docs/libs/gstreamer-libs-sections.txt:
26976         * libs/gst/controller/gst-controller.c:
26977         * libs/gst/controller/gst-controller.h:
26978         * libs/gst/controller/gst-helper.c:
26979           adding more entries to the docs and fix small doc-bugs
26980
26981 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
26982
26983         * docs/gst/gstreamer-docs.sgml:
26984         * docs/gst/gstreamer-sections.txt:
26985         * docs/gst/gstreamer.types:
26986         * docs/gst/tmpl/gstbasesink.sgml:
26987         * docs/gst/tmpl/gstbasesrc.sgml:
26988         * docs/gst/tmpl/gstbasetransform.sgml:
26989         * docs/gst/tmpl/gstfakesrc.sgml:
26990         * gst/base/gstcollectpads.c:
26991         * gst/base/gstcollectpads.h:
26992         * libs/gst/controller/gst-controller.c:
26993         * libs/gst/controller/gst-controller.h:
26994         * libs/gst/controller/gst-helper.c:
26995         * libs/gst/controller/gst-interpolation.c:
26996         * libs/gst/controller/lib.c:
26997           added long/short desc for controller docs
26998           added collectpads base class docs
26999           added correct includes to base-class docs
27000
27001 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27002
27003         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27004         (gst_test_mono_source_set_property),
27005         (gst_test_mono_source_class_init), (GST_START_TEST),
27006         (gst_controller_suite):
27007         * docs/gst/gstreamer-docs.sgml:
27008         * docs/gst/gstreamer-sections.txt:
27009         * docs/gst/gstreamer.types:
27010         * docs/libs/gstreamer-libs-docs.sgml:
27011         * docs/libs/gstreamer-libs-sections.txt:
27012         * gst/base/gstadapter.c:
27013         * libs/gst/controller/gst-controller.c:
27014         (gst_controlled_property_new), (gst_controlled_property_free),
27015         (gst_controller_new_valist),
27016         (gst_controller_remove_properties_valist),
27017         (gst_controller_sink_values), (_gst_controller_finalize):
27018         * libs/gst/controller/gst-controller.h:
27019         * libs/gst/controller/gst-helper.c:
27020         (gst_object_control_properties), (gst_object_uncontrol_properties),
27021         (gst_object_get_controller), (gst_object_set_controller),
27022         (gst_object_sink_values), (gst_object_get_value_arrays),
27023         (gst_object_get_value_array):
27024           more tests (and fixes) for the controller
27025           more docs for the controller
27026           integrated companies docs for the adapter 
27027
27028 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27029
27030         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27031         (GST_START_TEST), (fakesrc_suite):
27032           add tests for sizetype
27033
27034 2005-08-04  Andy Wingo  <wingo@pobox.com>
27035
27036         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27037         fixes buffer_alloc proxying among other things.
27038
27039         * gst/base/gstbasetransform.c:
27040         * gst/base/gstbasetransform.h:
27041         Revert patch to gstbasetransform from 7-28 removing
27042         delay_configure.
27043
27044         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27045         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27046         Semantics changed, should return not the size of the output buffer
27047         but the byte size of a buffer with a given caps.
27048
27049         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27050         debug object.
27051         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27052         out) are not the pad caps until setcaps finishes.
27053         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27054         not-in-place case as well. Deal with changing from in-place to
27055         not-in-place within calling pad_alloc_buffer. Still a bit
27056         concerned about the overhead here...
27057
27058 2005-08-03  Andy Wingo  <wingo@pobox.com>
27059
27060         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27061         fixating is an error.
27062
27063 2005-08-04  Edward Hervey  <edward@fluendo.com>
27064
27065         * gst/base/gstadapter.h: 
27066         Added gst_adapter_get_type() to the header
27067
27068 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27069
27070         * check/Makefile.am:
27071         * check/gst-libs/controller.c:
27072         * libs/gst/controller/gst-controller.c:
27073         (gst_controller_new_valist):
27074           added check test suite for the controller
27075         * gst/base/gstpushsrc.c:
27076           fixed a doc typo
27077
27078 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27079
27080         * docs/gst/Makefile.am:
27081         * docs/gst/gstreamer-docs.sgml:
27082         * docs/gst/gstreamer-sections.txt:
27083         * docs/gst/gstreamer.types:
27084         * docs/gst/tmpl/gstfakesrc.sgml:
27085         * gst/base/README:
27086         * gst/base/gstbasesink.c:
27087         * gst/base/gstbasesink.h:
27088         * gst/base/gstbasesrc.c:
27089         * gst/base/gstbasesrc.h:
27090         * gst/base/gstbasetransform.c:
27091         * gst/base/gstpushsrc.c:
27092         * gst/base/gstpushsrc.h:
27093           add short/long description docs to base classes
27094           add pushsrc to the docs
27095           remove consolidated doc fragments
27096
27097 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27098
27099         * configure.ac:
27100         * docs/libs/Makefile.am:
27101         * docs/libs/gstreamer-libs-docs.sgml:
27102         * docs/libs/gstreamer-libs-sections.txt:
27103         * docs/libs/gstreamer-libs.types:
27104         * examples/Makefile.am:
27105         * examples/controller/.cvsignore:
27106         * examples/controller/Makefile.am:
27107         * examples/controller/audio-example.c: (main):
27108         * libs/gst/Makefile.am:
27109         * libs/gst/controller/.cvsignore:
27110         * libs/gst/controller/Makefile.am:
27111         * libs/gst/controller/gst-controller.c:
27112         (on_object_controlled_property_changed), (gst_timed_value_compare),
27113         (gst_timed_value_find),
27114         (gst_controlled_property_set_interpolation_mode),
27115         (gst_controlled_property_new), (gst_controlled_property_free),
27116         (gst_controller_find_controlled_property),
27117         (gst_controller_new_valist), (gst_controller_new),
27118         (gst_controller_remove_properties_valist),
27119         (gst_controller_remove_properties), (gst_controller_set),
27120         (gst_controller_set_from_list), (gst_controller_unset),
27121         (gst_controller_get), (gst_controller_get_all),
27122         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27123         (gst_controller_get_value_array),
27124         (gst_controller_set_interpolation_mode),
27125         (_gst_controller_finalize), (_gst_controller_init),
27126         (_gst_controller_class_init), (gst_controller_get_type):
27127         * libs/gst/controller/gst-controller.h:
27128         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27129         (g_object_uncontrol_properties), (g_object_get_controller),
27130         (g_object_set_controller), (g_object_sink_values),
27131         (g_object_get_value_arrays), (g_object_get_value_array):
27132         * libs/gst/controller/gst-interpolation.c:
27133         (gst_controlled_property_find_timed_value_node),
27134         (interpolate_none_get), (interpolate_trigger_get),
27135         (interpolate_trigger_get_value_array):
27136         * libs/gst/controller/lib.c: (gst_controller_init):
27137         * pkgconfig/Makefile.am:
27138         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27139         * pkgconfig/gstreamer-control.pc.in:
27140         * testsuite/Makefile.am:
27141         * testsuite/controller/.cvsignore:
27142         * testsuite/controller/Makefile.am:
27143         * testsuite/controller/interpolator.c: (main):
27144           added controller code
27145           removed dparam pc files
27146
27147 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27148         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27149         (gst_collectpads_stop):
27150           Broadcast the condition when shutting down, to make sure we wake all
27151           threads up. Shut down pads on finalize, for safety.
27152
27153 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27154         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27155         (gst_base_transform_handle_buffer),
27156         (gst_base_transform_change_state):
27157           Handle PAUSED->READY->PAUSED transition after negotiation
27158           occurred already.
27159         * gst/gstmessage.c: (gst_message_init):
27160           Extra piece of debug for new messages.
27161
27162 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27163
27164         * configure.ac:
27165         * docs/gst/tmpl/gstbasesrc.sgml:
27166         * docs/gst/tmpl/gstelement.sgml:
27167         * docs/gst/tmpl/gstevent.sgml:
27168         * docs/gst/tmpl/gstfakesrc.sgml:
27169         * docs/gst/tmpl/gstformat.sgml:
27170         * docs/gst/tmpl/gstghostpad.sgml:
27171         * docs/gst/tmpl/gstpad.sgml:
27172         * docs/gst/tmpl/gstquery.sgml:
27173         * docs/gst/tmpl/gststructure.sgml:
27174         * docs/gst/tmpl/gsttaglist.sgml:
27175         * docs/gst/tmpl/gstvalue.sgml:
27176         * docs/libs/gstreamer-libs-docs.sgml:
27177         * docs/libs/gstreamer-libs-sections.txt:
27178         * docs/libs/gstreamer-libs.types:
27179         * libs/gst/Makefile.am:
27180         * libs/gst/control/.cvsignore:
27181         * libs/gst/control/Makefile.am:
27182         * libs/gst/control/control.c:
27183         * libs/gst/control/control.h:
27184         * libs/gst/control/dparam.c:
27185         * libs/gst/control/dparam.h:
27186         * libs/gst/control/dparam_smooth.c:
27187         * libs/gst/control/dparam_smooth.h:
27188         * libs/gst/control/dparamcommon.h:
27189         * libs/gst/control/dparammanager.c:
27190         * libs/gst/control/dparammanager.h:
27191         * libs/gst/control/dplinearinterp.c:
27192         * libs/gst/control/dplinearinterp.h:
27193         * libs/gst/control/unitconvert.c:
27194         * libs/gst/control/unitconvert.h:
27195         * testsuite/Makefile.am:
27196         * testsuite/dynparams/.cvsignore:
27197         * testsuite/dynparams/Makefile.am:
27198         * testsuite/dynparams/dparamstest.c:
27199         * tools/Makefile.am:
27200         * tools/gst-inspect.c: (print_element_info), (main):
27201         * tools/gst-xmlinspect.c: (print_element_info), (main):
27202           deactivate and remove dparams (libgstcontrol)
27203
27204 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27205
27206         * gst/elements/gsttypefindelement.c:
27207         (gst_type_find_element_have_type), (gst_type_find_element_init),
27208         (stop_typefinding), (gst_type_find_element_handle_event),
27209         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27210         * gst/elements/gsttypefindelement.h:
27211           Set caps on all outgoing buffers, not just the first one.
27212
27213 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27214
27215         * gst/elements/gsttypefindelement.c:
27216         (gst_type_find_element_have_type),
27217         (gst_type_find_element_check_set_buffer_caps),
27218         (gst_type_find_element_init), (stop_typefinding),
27219         (gst_type_find_element_handle_event),
27220         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27221         * gst/elements/gsttypefindelement.h:
27222           Set caps on first outgoing buffer when we've found the type.
27223
27224 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27225
27226         * docs/gst/gstreamer-docs.sgml:
27227         * docs/gst/gstreamer-sections.txt:
27228         * docs/gst/tmpl/gstscheduler.sgml:
27229         * docs/gst/tmpl/gstschedulerfactory.sgml:
27230           Remove some old cruft from docs.
27231
27232 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27233
27234         * gst/gstpad.h:
27235           Fix inline docs for GstPadLinkReturn.
27236           
27237         * gst/gststructure.c: (gst_structure_has_name):
27238         * gst/gststructure.h:
27239         * docs/gst/gstreamer-sections.txt:
27240           New API: gst_structure_has_name().
27241
27242 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27243
27244         * configure.ac:
27245           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27246           and _LARGEFILE_SOURCE in config.h as required. Do not 
27247           export those flags in our .pc files any longer (#142209).
27248
27249           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27250
27251         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27252         (gst_file_sink_do_seek), (gst_file_sink_event),
27253         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27254           Redo seek/tell calls with large file support in mind; add some
27255           debugging messages; add log message that tells us when large
27256           file support is unavailable or not enabled for some reason.
27257
27258         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27259           Add log message that tells us when large file support 
27260           is unavailable or not enabled for some reason.
27261
27262 2005-07-29  Wim Taymans  <wim@fluendo.com>
27263
27264         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27265         Added test for removing an element with ghostpad from a bin.
27266         Fixed test as current implementation does the right thing.
27267
27268         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27269         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27270         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27271         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27272         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27273         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27274         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27275         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27276         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27277         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27278         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27279         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27280         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27281         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27282         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27283         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27284         * gst/gstghostpad.h:
27285         Clean up ghostpads, remove properties for internal stuff.
27286         Make threadsafe.
27287         Fix refcounting.
27288         Prepare for switching targets, not all use cases work yet.
27289
27290 2005-07-29  Wim Taymans  <wim@fluendo.com>
27291
27292         * docs/design/part-gstghostpad.txt:
27293         Small update.
27294
27295         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27296         (gst_bin_remove_func):
27297         Unlinking pads while holding the bin LOCK is not a good
27298         idea.
27299
27300         * gst/gstpad.c: (gst_pad_class_init),
27301         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27302         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27303         No prob setting template after creating the pad.
27304
27305 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27306
27307         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27308         (gst_bus_peek), (gst_bus_source_dispatch),
27309         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27310         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27311           gst_bus_poll may be called from other threads. Handle
27312           this nicely by not making poll_data disappear off the
27313           stack once gst_bus_poll returns.
27314           gst_bus_peek now increments the refcount on the returned
27315           message.
27316
27317 2005-07-29  Wim Taymans  <wim@fluendo.com>
27318
27319         * docs/design/part-gstghostpad.txt:
27320         Overview of current GhostPad datastructures and use
27321         cases for changing the target.
27322
27323 2005-07-28  Wim Taymans  <wim@fluendo.com>
27324
27325         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27326         Added checks for hierarchy consistency whan adding linked
27327         elements to bins.
27328
27329         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27330         Added check to test element scheduling without bin/pipeline.
27331
27332         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27333         First add elements to bin, then link.
27334         
27335         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27336         (gst_bin_remove_func):
27337         Unlink pads from elements added/removed from bin to maintain
27338         hierarchy consistency.
27339
27340 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27341
27342         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27343         (gst_base_transform_handle_buffer):
27344         * gst/base/gstbasetransform.h:
27345           Remove broken delay_configure (fixes renegotiation of software
27346           scaling pipelines); remove some leftover printf()s.
27347
27348 2005-07-28  Wim Taymans  <wim@fluendo.com>
27349
27350         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27351         Added some more tests for wrong hierarchy
27352
27353         * docs/design/part-overview.txt:
27354         Some updates.
27355
27356         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27357         Cleanups.
27358
27359         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27360         (gst_element_dispose):
27361         Some more cleanups.
27362
27363         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27364         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27365         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27366         (gst_pad_set_caps), (gst_pad_send_event):
27367         Check for correct hierarchy when linking pads. Moving to
27368         strict requirement for ghostpads when linking elements in
27369         different bins.
27370
27371         * gst/gstpad.h:
27372         Clean ups. Added WRONG_HIERARCHY return value.
27373
27374 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27375
27376         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27377           Better debug if no transform is possible.
27378
27379 2005-07-27  Wim Taymans  <wim@fluendo.com>
27380
27381         * docs/random/wtay/network-transp:
27382         Some old doc I had.
27383
27384 2005-07-27  Wim Taymans  <wim@fluendo.com>
27385
27386         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27387         (gst_dp_event_from_packet):
27388         Fix serialization of seek events.
27389
27390 2005-07-27  Wim Taymans  <wim@fluendo.com>
27391
27392         * check/gst-libs/gdp.c: (GST_START_TEST):
27393         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27394         Fix compilation and fix event serialization.
27395
27396 2005-07-27  Wim Taymans  <wim@fluendo.com>
27397
27398         * CHANGES-0.9:
27399         * docs/design/part-TODO.txt:
27400         * docs/design/part-events.txt:
27401         Some docs updates
27402
27403         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27404         (gst_base_sink_event), (gst_base_sink_do_sync),
27405         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27406         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27407         (gst_base_src_do_seek), (gst_base_src_event_handler),
27408         (gst_base_src_loop):
27409         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27410         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27411         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27412         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27413         (gst_base_transform_set_passthrough),
27414         (gst_base_transform_is_passthrough):
27415         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27416         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27417         Event updates.
27418
27419         * gst/gstbuffer.h:
27420         Use faster casts.
27421
27422         * gst/gstelement.c: (gst_element_seek):
27423         * gst/gstelement.h:
27424         Update gst_element_seek.
27425
27426         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27427         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27428         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27429         (gst_event_new_eos), (gst_event_new_newsegment),
27430         (gst_event_parse_newsegment), (gst_event_new_tag),
27431         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27432         (gst_event_parse_qos), (gst_event_new_seek),
27433         (gst_event_parse_seek), (gst_event_new_navigation):
27434         * gst/gstevent.h:
27435         Make GstEvent use GstStructure. Add parsing code, make sure the
27436         API is sufficiently generic.
27437         Mark possible directions of events and serialization.
27438
27439         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27440         (_gst_message_copy), (gst_message_new_segment_start),
27441         (gst_message_new_segment_done), (gst_message_new_custom),
27442         (gst_message_parse_segment_start),
27443         (gst_message_parse_segment_done):
27444         Small cleanups.
27445
27446         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27447         (gst_pad_set_caps), (gst_pad_send_event):
27448         Update for new events. 
27449         Catch events sent in wrong directions.
27450
27451         * gst/gstqueue.c: (gst_queue_link_src),
27452         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27453         (gst_queue_handle_src_query):
27454         Event updates.
27455
27456         * gst/gsttag.c:
27457         * gst/gsttag.h:
27458         Remove event code from this file.
27459
27460         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27461         (gst_dp_event_from_packet):
27462         Event updates.
27463
27464 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27465
27466         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27467         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27468         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27469           Make debugging actually useful.
27470
27471 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27472
27473         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27474         (gst_pad_fixate_caps):
27475           Implement default fixation once again, so that gst_pad_fixate()
27476           actually does anything at all. This probably needs to be some
27477           sort of a last resort, and use profile-based fixation first, but
27478           since that doesn't exist yet, this is the best we have. Fixes
27479           visualization in Totem.
27480
27481 2005-07-22  Wim Taymans  <wim@fluendo.com>
27482
27483         * docs/design/part-events.txt:
27484         Small update.
27485
27486         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27487         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27488         (gst_base_sink_activate_pull):
27489         Some more comments.
27490
27491         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27492         (gst_fake_src_create):
27493         Fix handoff marshall.
27494
27495         * gst/elements/gstidentity.c: (gst_identity_class_init),
27496         (gst_identity_transform_ip):
27497         We're a real inplace element.
27498
27499         * gst/gstbus.c: (gst_bus_post):
27500         Added some comments.
27501
27502         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27503         * tests/muxing/case1.c: (main):
27504         * tests/sched/dynamic-pipeline.c: (main):
27505         * tests/sched/interrupt1.c: (main):
27506         * tests/sched/interrupt2.c: (main):
27507         * tests/sched/interrupt3.c: (main):
27508         * tests/sched/runxml.c: (main):
27509         * tests/sched/sched-stress.c: (main):
27510         * tests/seeking/seeking1.c: (event_received), (main):
27511         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27512         (main):
27513         * tests/threadstate/threadstate3.c: (main):
27514         * tests/threadstate/threadstate4.c: (main):
27515         * tests/threadstate/threadstate5.c: (main):
27516         Fix the tests.
27517
27518 2005-07-21  Wim Taymans  <wim@fluendo.com>
27519
27520         * docs/design/part-seeking.txt:
27521         Some small additions.
27522
27523         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27524         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27525         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27526         * gst/base/gstbasesink.h:
27527         discont values are gint64, handle the math correctly.
27528
27529         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27530         Make the basesrc report error if the source pad is not linked.
27531
27532         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27533         (gst_queue_loop), (gst_queue_handle_src_query),
27534         (gst_queue_src_activate_push):
27535         Make queue collect data even if the srcpad is not linked.
27536         Start pushing out data as soon as it is linked.
27537
27538         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27539         * gst/gstutils.h:
27540         Added gst_flow_get_name() to ease error reporting.
27541
27542 2005-07-20  Wim Taymans  <wim@fluendo.com>
27543
27544         * gst/gstmessage.c: (gst_message_new_segment_start),
27545         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27546         (gst_message_parse_segment_done):
27547         * gst/gstmessage.h:
27548         Added a bunch of messages for advanced seeking.
27549
27550         * gst/parse/grammar.y:
27551         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27552         (gst_dpman_state_changed):
27553         Fix some new-pad -> pad-added signals
27554
27555 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27556
27557         * docs/manual/appendix-porting.xml:
27558         * docs/pwg/appendix-porting.xml:
27559           Document new-pad/state-change signal renames and the FixedList
27560           type rename.
27561
27562 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27563
27564         * docs/manual/advanced-autoplugging.xml:
27565         * docs/manual/basics-helloworld.xml:
27566         * docs/manual/basics-pads.xml:
27567         * docs/random/ds/0.9-suggested-changes:
27568         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27569         * gst/gstelement.h:
27570         * gst/gstevent.h:
27571         * gst/gstformat.h:
27572         * gst/gstquery.h:
27573         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27574         (gst_structure_parse_array), (gst_structure_parse_value):
27575         * gst/gstvalue.c: (gst_type_is_fixed),
27576         (gst_value_list_prepend_value), (gst_value_list_append_value),
27577         (gst_value_list_get_size), (gst_value_list_get_value),
27578         (gst_value_transform_array_string), (gst_value_serialize_array),
27579         (gst_value_deserialize_array), (gst_value_intersect_array),
27580         (gst_value_is_fixed), (_gst_value_initialize):
27581         * gst/gstvalue.h:
27582           GstElement::new-pad -> pad-added, GstElement::state-change ->
27583           state-changed, GstValueFixedList -> GstValueArray, add format and
27584           flags as their own arguments in gst_element_seek() (should improve
27585           "bindeability"), remove function generators since they don't work
27586           under a whole bunch of compilers (they were deprecated already
27587           anyway).
27588
27589 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27590
27591         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27592         (_gst_debug_register_funcptr):
27593         * gst/gstinfo.h:
27594           Fix illegal cast on some platforms (#309253).
27595
27596 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27597
27598         * gst/gstmessage.c: (gst_message_new_custom):
27599         * gst/gstmessage.h:
27600           Add _new_custom, make _new_application a macro to _new_custom.
27601
27602 2005-07-20  Wim Taymans  <wim@fluendo.com>
27603
27604         * gst/base/gstbasesrc.c: (gst_base_src_init),
27605         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27606         * gst/base/gstbasesrc.h:
27607         Add a gboolean to decide when to push out a discont.
27608
27609         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27610         (gst_queue_loop), (gst_queue_handle_src_query),
27611         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27612         (gst_queue_set_property), (gst_queue_get_property):
27613         Some cleanups.
27614
27615         * tests/threadstate/threadstate1.c: (main):
27616         Make a thread test compile and run... very silly..
27617
27618
27619 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27620
27621         * docs/manual/appendix-porting.xml:
27622           Mention removal of libgstgconf-0.9.la and existence of gconf
27623           elements.
27624
27625 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27626
27627         * docs/pwg/advanced-clock.xml:
27628         * docs/pwg/appendix-porting.xml:
27629         * docs/pwg/intro-preface.xml:
27630         * docs/pwg/other-base.xml:
27631         * docs/pwg/other-manager.xml:
27632         * docs/pwg/other-nton.xml:
27633         * docs/pwg/other-ntoone.xml:
27634         * docs/pwg/other-oneton.xml:
27635         * docs/pwg/pwg.xml:
27636           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27637           demuxer), remove n-to-n (was never written), fix some code examples
27638           and links and update the porting section to include all this.
27639
27640 2005-07-19  Wim Taymans  <wim@fluendo.com>
27641
27642         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27643         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27644         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27645         (gst_queue_src_activate_push), (gst_queue_change_state),
27646         (gst_queue_get_property):
27647         * gst/gstqueue.h:
27648         Propagate GstFlowReturn more intelligently upstream and output
27649         an ERROR/EOS when streaming stopped due to fatal error.
27650
27651 2005-07-19  Wim Taymans  <wim@fluendo.com>
27652
27653         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27654         Don't block forever for the state change to complete, the
27655         pipeline already did with a sensible timeout.
27656
27657 2005-07-19  Wim Taymans  <wim@fluendo.com>
27658
27659         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27660         Make sure we never call the create function is we
27661         got deactivated.
27662
27663 2005-07-19  Andy Wingo  <wingo@pobox.com>
27664
27665         * gst/parse/parse.l: Attempt to solve bug #172815.
27666
27667 2005-07-19  Wim Taymans  <wim@fluendo.com>
27668
27669         * docs/design/part-clocks.txt:
27670         * docs/design/part-events.txt:
27671         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27672         Small docs updates.
27673         Only update the seeking values when we are not
27674         busy streaming.
27675
27676 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27677
27678         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27679           Oops, ignore the result of gst_pad_push_event here.
27680
27681 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27682
27683         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27684         (gst_base_src_activate_push):
27685           Send discont event from the loop function, as pads
27686           aren't activated yet in the activate_push handler.
27687
27688         * gst/gstbin.c: (bin_bus_handler):
27689           Don't leak element name.
27690
27691 2005-07-18  Andy Wingo  <wingo@pobox.com>
27692
27693         * configure.ac: Use AS_LIBTOOL_TAGS.
27694
27695 2005-07-18  Wim Taymans  <wim@fluendo.com>
27696
27697         * docs/gst/gstreamer.types:
27698         Remove deleted types.
27699
27700 2005-07-18  Wim Taymans  <wim@fluendo.com>
27701
27702         * check/elements/gstfakesrc.c: (GST_START_TEST):
27703         * configure.ac:
27704         * gst/Makefile.am:
27705         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27706         (init_popt_callback):
27707         * gst/gst.h:
27708         * gst/gst_private.h:
27709         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27710         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27711         * gst/gstbin.h:
27712         * gst/gstbus.h:
27713         * gst/gstconfig.h.in:
27714         * gst/gstelement.c: (gst_element_class_init),
27715         (gst_element_set_base_time), (gst_element_get_base_time),
27716         (iterator_fold_with_resync), (gst_element_change_state),
27717         (gst_element_dispose), (gst_element_get_bus):
27718         * gst/gstelement.h:
27719         * gst/gstelementfactory.h:
27720         * gst/gsterror.c: (_gst_core_errors_init):
27721         * gst/gsterror.h:
27722         * gst/gstevent.h:
27723         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27724         * gst/gstindex.c:
27725         * gst/gstinfo.c: (_gst_debug_init):
27726         * gst/gstmessage.c: (_gst_message_copy):
27727         * gst/gstmessage.h:
27728         * gst/gstminiobject.h:
27729         * gst/gstobject.c:
27730         * gst/gstobject.h:
27731         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27732         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27733         * gst/gstpad.h:
27734         * gst/gstparse.h:
27735         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27736         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27737         (gst_pipeline_get_last_stream_time):
27738         * gst/gstpipeline.h:
27739         * gst/gstpluginfeature.h:
27740         * gst/gstquery.h:
27741         * gst/gstscheduler.c:
27742         * gst/gstscheduler.h:
27743         * gst/gststructure.h:
27744         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27745         (gst_task_finalize), (gst_task_func), (gst_task_create),
27746         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27747         (gst_task_stop), (gst_task_pause):
27748         * gst/gsttask.h:
27749         * gst/gsttypefind.h:
27750         * gst/gsttypes.h:
27751         * gst/registries/gstlibxmlregistry.c: (load_feature),
27752         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27753         * gst/registries/gstxmlregistry.c:
27754         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27755         * gst/schedulers/threadscheduler.c:
27756         * libs/gst/control/dparammanager.h:
27757         * tools/gst-inspect.c: (print_element_list),
27758         (print_plugin_features), (print_element_features):
27759         * tools/gst-xmlinspect.c: (print_element_list),
27760         (print_plugin_info), (main):
27761         Removed plugable schedulers.
27762         Removed Scheduler/Manager from elements.
27763         Removed gsttypes.h, rearranged includes.
27764         Removed dependency pad<->element, element<>pipeline, and
27765         various others,  fix includes.
27766         implement gst_pad_get_parent() with gst_object_get_parent()
27767         Make GstTask sefcontained.
27768         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27769         timeout.
27770         Fix endless loop in iterator_fold_with_resync.
27771
27772
27773 2005-07-18  Wim Taymans  <wim@fluendo.com>
27774
27775         * gst/Makefile.am:
27776         * gst/gstarch.h:
27777         Remove old file.
27778
27779 2005-07-18  Wim Taymans  <wim@fluendo.com>
27780
27781         * gst/Makefile.am:
27782         No more cothreads.h
27783
27784 2005-07-18  Wim Taymans  <wim@fluendo.com>
27785
27786         * gst/cothreads.c:
27787         * gst/cothreads.h:
27788         Let's remove these.
27789
27790 2005-07-18  Wim Taymans  <wim@fluendo.com>
27791
27792         * docs/design/part-dynamic.txt:
27793         * docs/design/part-events.txt:
27794         * docs/design/part-seeking.txt:
27795         Some more docs in the works.
27796
27797         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27798         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27799         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27800         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27801         (gst_base_transform_handle_buffer),
27802         (gst_base_transform_sink_activate_push),
27803         (gst_base_transform_src_activate_pull),
27804         (gst_base_transform_set_passthrough),
27805         (gst_base_transform_is_passthrough):
27806         Refcounting fixes.
27807
27808         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27809         Cleanups.
27810
27811         * gst/gstevent.c: (gst_event_finalize):
27812         Set SRC to NULL.
27813
27814         * gst/gstutils.c: (gst_element_unlink),
27815         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27816         (gst_pad_proxy_setcaps):
27817         * gst/gstutils.h:
27818         Add _get_parent_element() to get a pads parent as an element.
27819
27820 2005-07-18  Wim Taymans  <wim@fluendo.com>
27821
27822         * check/gst/gstbin.c: (GST_START_TEST):
27823         Remove bogus test.
27824
27825 2005-07-18  Wim Taymans  <wim@fluendo.com>
27826
27827         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27828         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27829         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27830         (gst_base_sink_event), (gst_base_sink_do_sync),
27831         (gst_base_sink_chain), (gst_base_sink_loop),
27832         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27833         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27834         Refcounting fixes.
27835         Fix logic for returning ASYNC when not prerolled.
27836
27837 2005-07-18  Wim Taymans  <wim@fluendo.com>
27838
27839         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27840         Fix nasty refcount bug.
27841
27842 2005-07-16 Philippe Khalaf <burger@speedy.org>
27843
27844         * gst/elements/gstfdsrc.c:
27845         * gst/elements/gstfdsrc.h:
27846         * gst/elements/gstelements.c:
27847         * gst/elements/Makefile.am:
27848         Ported fdsrc to 0.9.
27849
27850 2005-07-16  Wim Taymans  <wim@fluendo.com>
27851
27852         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27853         (gst_base_sink_do_sync):
27854         Fix compile error.
27855
27856 2005-07-16  Wim Taymans  <wim@fluendo.com>
27857
27858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27859         (gst_base_sink_event), (gst_base_sink_get_times),
27860         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27861         * gst/base/gstbasesink.h:
27862         Store and use discont values when syncing buffers as described
27863         in design docs.
27864         
27865         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27866         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27867         (gst_base_src_activate_push):
27868         Push discont event when starting.
27869
27870         * gst/elements/gstidentity.c: (gst_identity_transform):
27871         Small cleanups.
27872
27873         * gst/gstbin.c: (gst_bin_change_state):
27874         Small cleanups in base_time  distribution.
27875
27876         * gst/gstelement.c: (gst_element_set_base_time),
27877         (gst_element_get_base_time), (gst_element_change_state):
27878         * gst/gstelement.h:
27879         Added methods for the base_time of the element.
27880         Some MT fixes.
27881
27882         * gst/gstpipeline.c: (gst_pipeline_send_event),
27883         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27884         (gst_pipeline_get_last_stream_time):
27885         * gst/gstpipeline.h:
27886         MT fixes.
27887         Handle seeking as described in design doc, remove stream_time
27888         hack.
27889         Cleanups clock and stream_time selection code. Added accessors
27890         for the stream_time.
27891         
27892
27893 2005-07-16  Andy Wingo  <wingo@pobox.com>
27894
27895         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27896         (#305291).
27897
27898 2005-07-16  Wim Taymans  <wim@fluendo.com>
27899
27900         * check/gst/gstbin.c: (GST_START_TEST):
27901         Make elements silent as the deep_notify refs the
27902         parent, which might make the test fail.
27903
27904         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27905         Don't hold the lock for too long.
27906
27907 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27908
27909         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27910           Don't unref the caps we passed to gst_caps_make_writable() after
27911           passing them. gst_caps_make_writable() will do that for us.
27912
27913 2005-07-15  Andy Wingo  <wingo@pobox.com>
27914
27915         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27916         (#157311).
27917
27918         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27919         own marshalling function for the handoff signal. Properly type the
27920         buffer as a buffer. Fixes some warnings. Should do a more general
27921         solution.
27922         (gst_identity_class_init): Plug into the right marshaller.
27923
27924 2005-07-15  Wim Taymans  <wim@fluendo.com>
27925
27926         * docs/design/part-TODO.txt:
27927         * docs/design/part-clocks.txt:
27928         * docs/design/part-element-sink.txt:
27929         * docs/design/part-events.txt:
27930         * docs/design/part-gstpipeline.txt:
27931         Updated docs, mostly DISCONT related.
27932
27933 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27934
27935         * docs/pwg/building-pads.xml:
27936           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27937
27938 2005-07-15  Andy Wingo  <wingo@pobox.com>
27939
27940         * tools/gst-typefind.c: Update, add copyright block.
27941
27942         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27943         Normalize and truncate caps before fixation.
27944
27945         * gst/gstcaps.h:
27946         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27947         discards all but the first structure from its argument.
27948
27949 2005-07-15  Wim Taymans  <wim@fluendo.com>
27950
27951         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27952         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27953         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27954         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27955         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27956         (gst_base_transform_chain), (gst_base_transform_change_state),
27957         (gst_base_transform_set_passthrough),
27958         (gst_base_transform_is_passthrough):
27959         * gst/base/gstbasetransform.h:
27960         Make passthrough work using the bufferpools.
27961         Changed API a bit, subclasses have to write into a buffer
27962         provided by the base class.
27963         More debug info in nego functions.
27964         
27965         * gst/elements/gstidentity.c: (gst_identity_init),
27966         (gst_identity_transform):
27967         Port to new base class.
27968
27969 2005-07-15  Wim Taymans  <wim@fluendo.com>
27970
27971         * gst/gstmessage.c: (gst_message_new_state_changed):
27972         * tools/gst-launch.c: (event_loop), (main):
27973         Totally dump messages in -launch with the -m option.
27974         Fix message name for State messages,
27975
27976 2005-07-14  Wim Taymans  <wim@fluendo.com>
27977
27978         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27979         Post error messages on errors.
27980
27981 2005-07-14  Wim Taymans  <wim@fluendo.com>
27982
27983         * gst/gstcaps.c: (gst_caps_do_simplify):
27984         Remove debug info.
27985
27986         * gst/gsterror.h:
27987         Define error for stream stopped.
27988
27989         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27990         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27991         Do proper return values.
27992
27993         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27994         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27995         (gst_pad_get_range):
27996         Better return values.
27997
27998         * gst/gstpad.h:
27999         Reorganise return values, add macro to check for fatal errors.
28000
28001         * gst/gstqueue.c: (gst_queue_chain):
28002         Return proper GstFlowReturn values,
28003
28004 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28005
28006         * docs/gst/gstreamer-sections.txt:
28007         * docs/gst/gstreamer.types:
28008         * docs/gst/tmpl/gst.sgml:
28009         * docs/gst/tmpl/gstbasesink.sgml:
28010         * docs/gst/tmpl/gstbasesrc.sgml:
28011         * docs/gst/tmpl/gstbasetransform.sgml:
28012         * docs/gst/tmpl/gstbin.sgml:
28013         * docs/gst/tmpl/gstbuffer.sgml:
28014         * docs/gst/tmpl/gstcaps.sgml:
28015         * docs/gst/tmpl/gstclock.sgml:
28016         * docs/gst/tmpl/gstcompat.sgml:
28017         * docs/gst/tmpl/gstconfig.sgml:
28018         * docs/gst/tmpl/gstelement.sgml:
28019         * docs/gst/tmpl/gstelementdetails.sgml:
28020         * docs/gst/tmpl/gstelementfactory.sgml:
28021         * docs/gst/tmpl/gstenumtypes.sgml:
28022         * docs/gst/tmpl/gsterror.sgml:
28023         * docs/gst/tmpl/gstevent.sgml:
28024         * docs/gst/tmpl/gstfakesink.sgml:
28025         * docs/gst/tmpl/gstfakesrc.sgml:
28026         * docs/gst/tmpl/gstfilesink.sgml:
28027         * docs/gst/tmpl/gstfilesrc.sgml:
28028         * docs/gst/tmpl/gstfilter.sgml:
28029         * docs/gst/tmpl/gstformat.sgml:
28030         * docs/gst/tmpl/gstghostpad.sgml:
28031         * docs/gst/tmpl/gstimplementsinterface.sgml:
28032         * docs/gst/tmpl/gstindex.sgml:
28033         * docs/gst/tmpl/gstindexfactory.sgml:
28034         * docs/gst/tmpl/gstinfo.sgml:
28035         * docs/gst/tmpl/gstiterator.sgml:
28036         * docs/gst/tmpl/gstmacros.sgml:
28037         * docs/gst/tmpl/gstmemchunk.sgml:
28038         * docs/gst/tmpl/gstminiobject.sgml:
28039         * docs/gst/tmpl/gstobject.sgml:
28040         * docs/gst/tmpl/gstpad.sgml:
28041         * docs/gst/tmpl/gstpadtemplate.sgml:
28042         * docs/gst/tmpl/gstparse.sgml:
28043         * docs/gst/tmpl/gstpipeline.sgml:
28044         * docs/gst/tmpl/gstplugin.sgml:
28045         * docs/gst/tmpl/gstpluginfeature.sgml:
28046         * docs/gst/tmpl/gstquery.sgml:
28047         * docs/gst/tmpl/gstqueue.sgml:
28048         * docs/gst/tmpl/gstregistry.sgml:
28049         * docs/gst/tmpl/gstregistrypool.sgml:
28050         * docs/gst/tmpl/gstscheduler.sgml:
28051         * docs/gst/tmpl/gstschedulerfactory.sgml:
28052         * docs/gst/tmpl/gststructure.sgml:
28053         * docs/gst/tmpl/gstsystemclock.sgml:
28054         * docs/gst/tmpl/gsttaglist.sgml:
28055         * docs/gst/tmpl/gsttagsetter.sgml:
28056         * docs/gst/tmpl/gsttrace.sgml:
28057         * docs/gst/tmpl/gsttrashstack.sgml:
28058         * docs/gst/tmpl/gsttypefind.sgml:
28059         * docs/gst/tmpl/gsttypefindfactory.sgml:
28060         * docs/gst/tmpl/gsttypes.sgml:
28061         * docs/gst/tmpl/gsturihandler.sgml:
28062         * docs/gst/tmpl/gsturitype.sgml:
28063         * docs/gst/tmpl/gstutils.sgml:
28064         * docs/gst/tmpl/gstvalue.sgml:
28065         * docs/gst/tmpl/gstversion.sgml:
28066         * docs/gst/tmpl/gstxml.sgml:
28067         * docs/libs/tmpl/gstcontrol.sgml:
28068         * docs/libs/tmpl/gstdataprotocol.sgml:
28069         * docs/libs/tmpl/gstdparam.sgml:
28070         * docs/libs/tmpl/gstdplinint.sgml:
28071         * docs/libs/tmpl/gstdpman.sgml:
28072         * docs/libs/tmpl/gstdpsmooth.sgml:
28073         * docs/libs/tmpl/gstgetbits.sgml:
28074         * docs/libs/tmpl/gstunitconvert.sgml:
28075         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28076         (gst_push_src_base_init), (gst_push_src_class_init),
28077         (gst_push_src_init), (gst_push_src_create):
28078         * gst/base/gstpushsrc.h:
28079         * gst/elements/gstelements.c:
28080         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28081         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28082         (gst_fake_sink_init), (gst_fake_sink_set_property),
28083         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28084         (gst_fake_sink_event), (gst_fake_sink_preroll),
28085         (gst_fake_sink_render), (gst_fake_sink_change_state):
28086         * gst/elements/gstfakesink.h:
28087         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28088         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28089         (gst_fake_src_base_init), (gst_fake_src_class_init),
28090         (gst_fake_src_init), (gst_fake_src_event_handler),
28091         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28092         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28093         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28094         (gst_fake_src_create_buffer), (gst_fake_src_create),
28095         (gst_fake_src_start), (gst_fake_src_stop):
28096         * gst/elements/gstfakesrc.h:
28097         * gst/elements/gstfilesink.c: (_do_init),
28098         (gst_file_sink_base_init), (gst_file_sink_class_init),
28099         (gst_file_sink_init), (gst_file_sink_dispose),
28100         (gst_file_sink_set_location), (gst_file_sink_set_property),
28101         (gst_file_sink_get_property), (gst_file_sink_open_file),
28102         (gst_file_sink_close_file), (gst_file_sink_query),
28103         (gst_file_sink_event), (gst_file_sink_render),
28104         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28105         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28106         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28107         * gst/elements/gstfilesink.h:
28108         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28109         (gst_file_src_class_init), (gst_file_src_init),
28110         (gst_file_src_finalize), (gst_file_src_set_location),
28111         (gst_file_src_set_property), (gst_file_src_get_property),
28112         (gst_file_src_map_region), (gst_file_src_map_small_region),
28113         (gst_file_src_create_mmap), (gst_file_src_create_read),
28114         (gst_file_src_create), (gst_file_src_is_seekable),
28115         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28116         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28117         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28118         (gst_file_src_uri_handler_init):
28119         * gst/elements/gstfilesrc.h:
28120           more autistic cleanliness in functions/names/defines
28121
28122 2005-07-13  Andy Wingo  <wingo@pobox.com>
28123
28124         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28125         source couldn't negotiate.
28126
28127         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28128         connections again.
28129
28130         * gst/gstutils.h:
28131         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28132         function. I am channeling Hades. Put your boots on suckers!!!
28133
28134 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28135
28136         * testsuite/caps/Makefile.am:
28137         * testsuite/caps/value_compare.c:
28138         * testsuite/caps/value_intersect.c:
28139         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28140           move two testsuite apps over to the check dir
28141
28142 2005-07-12  Wim Taymans  <wim@fluendo.com>
28143
28144         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28145         Added more debug info in the negotiate process.
28146
28147         * gst/gstmessage.h:
28148         Prepare for segment playback.
28149
28150         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28151         Better debugging.
28152
28153         * gst/gstutils.c:
28154         Some more docs.
28155
28156         * tools/gst-launch.c: (main):
28157         NULL pipeline on errors.
28158
28159 2005-07-12  Andy Wingo  <wingo@pobox.com>
28160
28161         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28162         not it comes from a malloc region. Make sure our copy gets freed.
28163
28164 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28165
28166         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28167         * check/gst/gstmessage.c: (GST_START_TEST):
28168         * check/gst/gststructure.c: (GST_START_TEST),
28169         (gst_structure_suite), (main):
28170           more testing
28171         * gst/gstelement.c: (gst_element_message_full):
28172           clean up GError and debug string now that they get copied
28173         * gst/gstmessage.c: (gst_message_new_error),
28174         (gst_message_new_warning), (gst_message_parse_error),
28175         (gst_message_parse_warning):
28176           use GST_TYPE_G_ERROR for structure_new, and take copies of
28177           arguments, so that we don't mess up refcounting
28178
28179 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28180
28181         * check/Makefile.am:
28182           add per-test valgrind targets
28183         * check/gst-libs/gdp.c: (GST_START_TEST),
28184         (gst_data_protocol_suite), (main):
28185           clean up
28186
28187 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28188
28189         * check/Makefile.am:
28190           instate more valgrindable tests
28191         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28192         (GST_START_TEST), (fakesrc_suite):
28193         * check/gst/gstpad.c: (GST_START_TEST):
28194         * check/gst/gststructure.c: (GST_START_TEST):
28195           fix test leaks
28196         * docs/gst/tmpl/gstminiobject.sgml:
28197         * gst/gstpad.c: (gst_pad_finalize):
28198           fix the static mutex leak
28199
28200 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28201
28202         * check/Makefile.am:
28203           add two more tests for valgrinding
28204         * check/gst/gstvalue.c: (GST_START_TEST):
28205           test refcount of deserialized buffer, found a leak
28206         * docs/gst/gstreamer-docs.sgml:
28207         * docs/gst/gstreamer-sections.txt:
28208         * docs/gst/gstreamer.types:
28209         * docs/gst/tmpl/gstminiobject.sgml:
28210           add miniobject to docs
28211         * gst/gstminiobject.c:
28212           add some docs
28213         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28214         (gst_string_unwrap):
28215           fix a hard-to-find invalid write for one of the tests
28216           fix a leak for deserialized buffers
28217
28218 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28219
28220         * docs/pwg/advanced-events.xml:
28221         * docs/pwg/advanced-request.xml:
28222         * docs/pwg/advanced-scheduling.xml:
28223         * docs/pwg/appendix-porting.xml:
28224         * docs/pwg/building-boiler.xml:
28225         * docs/pwg/intro-preface.xml:
28226         * docs/pwg/other-ntoone.xml:
28227           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28228           of example code and explanation for pad activation, loop() and
28229           getrange() functions and a bit more. Remove old comments pointing
28230           to loop-functions.
28231         * examples/pwg/Makefile.am:
28232           Add loop/getrange examples.
28233
28234 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28235
28236         * configure.ac:
28237           check for valgrind binary + some fixes
28238         * check/gst.supp:
28239           valgrind suppressions for the tests
28240         * check/Makefile.am:
28241           add a valgrind: target that valgrinds the unit tests
28242         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28243         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28244         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28245         * check/gst/gstghostpad.c:
28246           added some cleanup
28247         * check/gst/gstdata.c:
28248           removed
28249         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28250         (thread_unref), (gst_mini_object_suite), (main):
28251           added
28252         * gst/gst.c: (gst_deinit):
28253         * gst/gst.h:
28254           add a method to clean up.
28255         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28256         (gst_system_clock_obtain):
28257           allow for disposing the system clock.
28258         * tools/gst-launch.c: (main):
28259           deinit
28260
28261 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28262
28263         * docs/gst/tmpl/gstbasesrc.sgml:
28264         * docs/gst/tmpl/gstfakesrc.sgml:
28265         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28266         (gst_base_src_init), (gst_base_src_set_property),
28267         (gst_base_src_get_property), (gst_base_src_get_range),
28268         (gst_base_src_start):
28269         * gst/base/gstbasesrc.h:
28270           add num-buffers property
28271         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28272         (gst_fakesrc_init), (gst_fakesrc_set_property),
28273         (gst_fakesrc_get_property), (gst_fakesrc_create),
28274         (gst_fakesrc_start):
28275           remove num-buffers property
28276
28277 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28278
28279         * docs/gst/gstreamer-sections.txt:
28280         * docs/gst/tmpl/gstbasesink.sgml:
28281         * docs/gst/tmpl/gstbasesrc.sgml:
28282         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28283         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28284         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28285         (gst_base_sink_set_property), (gst_base_sink_get_property),
28286         (gst_base_sink_handle_object), (gst_base_sink_event),
28287         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28288         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28289         (gst_base_sink_loop), (gst_base_sink_deactivate),
28290         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28291         (gst_base_sink_change_state):
28292         * gst/base/gstbasesink.h:
28293         * gst/base/gstbasesrc.h:
28294         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28295         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28296         (gst_filesink_init):
28297           more macro splitting
28298
28299 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28300
28301         * gst/gstelement.c: (gst_element_get_bus):
28302           add debug
28303         * tools/gst-launch.c: (check_intr), (event_loop):
28304           fix bus leaks
28305
28306 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28307
28308         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28309           fix a caps leak
28310
28311 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28312
28313         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28314         (gst_base_src_finalize):
28315           add finalize method and clean up properly
28316         * gst/gstpipeline.c: (gst_pipeline_dispose):
28317           add debug
28318
28319 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28320
28321         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28322         (gst_bin_suite):
28323           add more things to check
28324         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28325         * gst/gstelement.c:
28326           more debug
28327
28328 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28329
28330         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28331         (GST_START_TEST), (fakesrc_suite):
28332         * check/gst-libs/gdp.c: (GST_START_TEST):
28333         * check/gst/gst.c: (GST_START_TEST):
28334         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28335         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28336         * check/gst/gstbus.c: (GST_START_TEST):
28337         * check/gst/gstcaps.c: (GST_START_TEST):
28338         * check/gst/gstdata.c: (GST_START_TEST):
28339         * check/gst/gstelement.c: (GST_START_TEST):
28340         * check/gst/gstghostpad.c: (GST_START_TEST):
28341         * check/gst/gstiterator.c: (GST_START_TEST):
28342         * check/gst/gstmessage.c: (GST_START_TEST):
28343         * check/gst/gstobject.c: (GST_START_TEST):
28344         * check/gst/gstpad.c: (GST_START_TEST):
28345         * check/gst/gststructure.c: (GST_START_TEST):
28346         * check/gst/gstsystemclock.c: (GST_START_TEST),
28347         (gst_systemclock_suite):
28348         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28349         * check/gst/gstvalue.c: (GST_START_TEST):
28350         * check/pipelines/cleanup.c: (GST_START_TEST):
28351         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28352         * check/states/sinks.c: (GST_START_TEST):
28353         * check/gstcheck.c: (gst_check_init):
28354         * check/gstcheck.h:
28355           add debugging category
28356           use GST_START_TEST now, so we add a debug line
28357
28358 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28359
28360         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28361           add test for state change message on a bin
28362         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28363           add another test
28364         * gst/gstbin.c: (gst_bin_init):
28365         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28366         * gst/gstelement.c: (gst_element_post_message),
28367         (gst_element_set_state):
28368         * gst/gstelementfactory.c: (gst_element_factory_create):
28369         * gst/gstmessage.c: (gst_message_new):
28370         * gst/gstscheduler.c:
28371           various debugging additions and cleanups
28372
28373 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28374
28375         * check/Makefile.am:
28376         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28377         (main):
28378           adding tests for elements
28379         * gst/gstelement.c: (gst_element_dispose):
28380
28381 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28382
28383         * gst/registries/gstlibxmlregistry.c: (load_feature):
28384           plug more leaks.  A simple gst_init() now is leakfree, yay.
28385
28386 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28387
28388         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28389         (gst_xml_registry_load):
28390           plug another memleak
28391
28392 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28393
28394         * configure.ac:
28395           use GST_SET_ERROR_CFLAGS
28396         * docs/faq/cvs.xml:
28397           change to ERROR_CFLAGS
28398
28399 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28400
28401         * configure.ac:
28402           make GST_ERROR_CFLAGS overridable and re-enable Werror
28403         * docs/faq/cvs.xml:
28404           add a note about error CFLAGS
28405         * docs/gst/tmpl/gstfakesrc.sgml:
28406         * gst/elements/gstfakesrc.c:
28407           comment out some unused code
28408         * gst/gst.c: (split_and_iterate):
28409         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28410         (load_feature):
28411           plug some memleaks
28412
28413 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28414
28415         * common/Makefile.am:
28416         * common/gtk-doc.mak:
28417         * docs/gst/Makefile.am:
28418           factor out gtk-doc.mak
28419
28420 2005-07-07  Wim Taymans  <wim@fluendo.com>
28421
28422         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28423         (gst_thread_scheduler_dispose):
28424         Unlock the STREAM_LOCK completely.
28425
28426 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28427
28428         * check/Makefile.am:
28429         * check/elements/.cvsignore:
28430         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28431         (START_TEST), (fakesrc_suite), (main):
28432         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28433         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28434         (gst_fakesrc_create), (gst_fakesrc_start):
28435         * gst/elements/gstfakesrc.h:
28436           adding a first element test
28437
28438 2005-07-07  Andy Wingo  <wingo@pobox.com>
28439
28440         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28441         debug message.
28442
28443 2005-07-07  Wim Taymans  <wim@fluendo.com>
28444
28445         * gst/gstquery.c:
28446         * gst/gstquery.h:
28447         Remove old types
28448
28449 2005-07-07  Wim Taymans  <wim@fluendo.com>
28450
28451         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28452         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28453         Allow subclasses to implement their own negotiation.
28454
28455 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28456
28457         * docs/design/part-gstbin.txt:
28458         * docs/design/part-gstpipeline.txt:
28459           Update design notes to reflect the movement of
28460           responsibility for bus handling from GstPipeline to
28461           GstBin
28462
28463 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28464
28465         * configure.ac:
28466           Remove unnecessary queue2/3/4 examples.
28467
28468 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28469
28470         * examples/Makefile.am:
28471         * examples/helloworld/helloworld.c: (event_loop), (main):
28472         * examples/queue/queue.c: (event_loop), (main):
28473         * examples/queue2/queue2.c: (main):
28474           Update a couple of the examples to work again.
28475
28476         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28477         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28478          Spelling corrections and extra debug.
28479         
28480         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28481         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28482         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28483         * gst/gstbin.h:
28484         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28485         (gst_pipeline_change_state):
28486         * gst/gstpipeline.h:
28487           Move the bus handler for children to the GstBin, and create a
28488           separate bus for receiving messages from children to the one the
28489           bus sends 'upwards' on.
28490
28491 2005-07-06  Wim Taymans  <wim@fluendo.com>
28492
28493         * gst/base/README:
28494         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28495         (gst_base_sink_handle_object), (gst_base_sink_loop),
28496         (gst_base_sink_change_state):
28497         * gst/base/gstbasesink.h:
28498         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28499         (gst_base_src_init), (gst_base_src_setcaps),
28500         (gst_base_src_getcaps), (gst_base_src_loop),
28501         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28502         (gst_base_src_start), (gst_base_src_change_state):
28503         * gst/base/gstbasesrc.h:
28504         Make basesrc negotiate.
28505         Handle the case where preroll fails in basesink.
28506         Update README.
28507
28508 2005-07-06  Wim Taymans  <wim@fluendo.com>
28509
28510         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28511         Implement the fixate function.
28512         Clean up acceptcaps.
28513
28514 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28515
28516         * docs/pwg/building-filterfactory.xml:
28517         * docs/pwg/pwg.xml:
28518           Remove never-written filter-factory chapter; I'll add the various
28519           base classes to part 4 ("other element types") later on.
28520
28521 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28522
28523         * docs/pwg/advanced-negotiation.xml:
28524         * docs/pwg/building-boiler.xml:
28525         * docs/pwg/building-pads.xml:
28526         * docs/pwg/pwg.xml:
28527         * examples/pwg/Makefile.am:
28528           Add a chapter on caps negotiation, simplify the original code
28529           samples a bit w.r.t. caps negotiation, add link to the advanced
28530           section. Add a bunch of examples showing different use cases of
28531           different types of caps negotiation. Upstream renegotiation isn't
28532           fully documented yet since nobody knows how that works.
28533
28534 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28535
28536         * check/gst/gstpad.c:
28537         * check/gstcheck.c:
28538         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28539           if pad has no parent, return NULL as list of internal links
28540
28541 2005-07-05  Andy Wingo  <wingo@pobox.com>
28542
28543         * gst/elements/gstfilesrc.c:
28544         * gst/elements/gstfakesrc.c: 
28545         * gst/base/gstpushsrc.c:
28546         * gst/base/gstbasesrc.h: 
28547         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28548         
28549 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28550
28551         * Makefile.am:
28552           better report generation target (lcov needs a patch)
28553
28554 2005-07-05  Andy Wingo  <wingo@pobox.com>
28555
28556         * gst/elements, testsuite: Null if we got it...
28557
28558 2005-07-05  Wim Taymans  <wim@fluendo.com>
28559
28560         * configure.ac:
28561         * libs/gst/dataprotocol/Makefile.am:
28562         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28563         * libs/gst/dataprotocol/dataprotocol.h:
28564         * pkgconfig/Makefile.am:
28565         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28566         * pkgconfig/gstreamer-dataprotocol.pc.in:
28567         Ported dataprotol to 0.9. 
28568         Added pkgconfig files.
28569
28570 2005-07-05  Andy Wingo  <wingo@pobox.com>
28571
28572         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28573         Default to returning TRUE for the case when tranform_caps returns
28574         a fixed caps, like for identity or volume.
28575
28576         * check/gst/gstbus.c (pound_bus_with_messages): 
28577         * check/gst/gstmessage.c (START_TEST): 
28578         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28579         message API change.
28580
28581         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28582         logic weaks here: always run transform_caps, trying passthrough
28583         operation only if the original caps intersects with the transform.
28584
28585         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28586         source and sink caps.
28587
28588         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28589         Intersect the peer caps with the pad template before going into
28590         transform_caps.
28591         (gst_base_transform_transform_caps): More debugging.
28592
28593         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28594         src argument.
28595
28596 2005-07-04  Edward Hervey  <edward@fluendo.com>
28597
28598         * gst/gstutils.c:
28599         * gst/gstutils.h:
28600         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28601         in bindings.
28602
28603 2005-07-04  Andy Wingo  <wingo@pobox.com>
28604
28605         * check/gst/gstpad.c: Only set explicit caps on pads.
28606
28607 2005-07-01  Andy Wingo  <wingo@pobox.com>
28608
28609         * tests/network-clock.scm: Commentary update.
28610
28611         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28612         Didn't really make sense, not implementable with basetransform,
28613         etc.
28614         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28615         attempt at implementing the sync property, needs an unlock method.
28616
28617         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28618         New func, by default returns the same caps (the identity
28619         transformation).
28620         (gst_base_transform_getcaps): Uses transform_caps to return
28621         something sensible.
28622         (gst_base_transform_setcaps): Complicated logic to get caps on
28623         both pads, even if they are different, and to call set_caps once
28624         for every time both pads get their caps set.
28625         (gst_base_transform_handle_buffer): Give the ref to the transform
28626         function. Allows in-place modification of the buffer.
28627
28628         * gst/base/gstbasetransform.h (transform_caps): New class method.
28629         Given caps on one side, what can I do on the other.
28630         (set_caps): Take two caps, one for each side of the element.
28631
28632         * gst/gstpad.h:
28633         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28634         caps in place. This is safe because we can check the mutability of
28635         the caps, and a good idea because fixate functions are just called
28636         as a matter of last resort. (Not actually implemented.)
28637         (gst_pad_set_caps): If the caps we're setting is actually the same
28638         as the existing pad caps, just update the pointer without calling
28639         setcaps. Assert that caps is either NULL or fixed, as per the
28640         docs.
28641
28642         * gst/gstghostpad.c: Update for fixate changes.
28643
28644 2005-07-02  Andy Wingo  <wingo@pobox.com>
28645
28646         * gst/gstcaps.c:
28647         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28648         two refcounts makes it immutable, which is enough. Doc more.
28649
28650 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28651
28652         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28653           Put the mini_object into GValue as a mini_object,
28654           not a gpointer, since that's how we declared
28655           the signal.
28656
28657 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28658
28659         * examples/pwg/Makefile.am:
28660           Fix buildbot again.
28661
28662 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28663
28664         * docs/pwg/building-testapp.xml:
28665           Add extra check.
28666         * examples/pwg/Makefile.am:
28667           Fix buildbot.
28668
28669 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28670
28671         * configure.ac:
28672         * examples/Makefile.am:
28673         * examples/pwg/Makefile.am:
28674         * examples/pwg/extract.pl:
28675           Enable building the PWG examples.
28676         * docs/pwg/advanced-interfaces.xml:
28677           Add URI interface stub.
28678         * docs/pwg/advanced-types.xml:
28679         * docs/pwg/other-autoplugger.xml:
28680         * docs/pwg/appendix-porting.xml:
28681         * docs/pwg/pwg.xml:
28682           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28683         * docs/pwg/building-boiler.xml:
28684         * docs/pwg/building-chainfn.xml:
28685         * docs/pwg/building-pads.xml:
28686         * docs/pwg/building-props.xml:
28687         * docs/pwg/building-state.xml:
28688         * docs/pwg/building-testapp.xml:
28689           Update the building-*.xml parts for 0.9 changes. All examples
28690           code blocks compile in examples/pwg/*.
28691
28692 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28693
28694         * docs/manual/advanced-autoplugging.xml:
28695         * docs/manual/appendix-checklist.xml:
28696         * docs/manual/appendix-integration.xml:
28697         * docs/manual/highlevel-components.xml:
28698           Fix playbin/decodebin examples, update docs a bit, mention bus
28699           instead of signals in various places, mention kmplayer and
28700           kaffeine since they have a working GStreamer backend in the KDE
28701           section.
28702
28703 2005-06-30  Wim Taymans  <wim@fluendo.com>
28704
28705         * CHANGES-0.9:
28706         * docs/design/draft-ghostpads.txt:
28707         * docs/design/draft-push-pull.txt:
28708         * docs/design/draft-query.txt:
28709         * docs/design/part-TODO.txt:
28710         * docs/design/part-query.txt:
28711         Added CHANGES-0.9 doc, updated status of other docs.
28712         
28713         * gst/gstquery.h:
28714         Remove "hmm" macro
28715
28716 2005-06-30  Wim Taymans  <wim@fluendo.com>
28717
28718         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28719         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28720         (gst_base_sink_change_state):
28721         * gst/base/gstbasesink.h:
28722         Some tweaks, only EOS and a buffer complete a preroll.
28723
28724 2005-06-30  Andy Wingo  <wingo@pobox.com>
28725
28726         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28727         activate_push down to the internal pad as well.
28728
28729 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28730
28731         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28732
28733         * gst/gsttaginterface.c:
28734           Some documentation fixes (#307394 and #307397).
28735
28736 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28737
28738         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28739
28740         * gst/gstvalue.c: (gst_value_intersect_list):
28741           Fix memleak (#309125).
28742
28743 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28744
28745         * docs/manual/advanced-dataaccess.xml:
28746           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28747         * docs/manual/basics-pads.xml:
28748           Add reference for filtered caps to above chapter.
28749
28750 2005-06-30  Wim Taymans  <wim@fluendo.com>
28751
28752         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28753         (gst_bin_change_state):
28754         Probes are gone.
28755         Lame attempt at making the state change function a bit
28756         more readable.
28757
28758 2005-06-30  Wim Taymans  <wim@fluendo.com>
28759
28760         * docs/design/part-clocks.txt:
28761         * docs/design/part-element-sink.txt:
28762         * docs/design/part-events.txt:
28763         * docs/design/part-preroll.txt:
28764         * docs/design/part-states.txt:
28765         Some more tweeks and additions to the docs.
28766
28767 2005-06-30  Wim Taymans  <wim@fluendo.com>
28768
28769         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28770         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28771         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28772         (gst_pad_check_pull_range), (gst_pad_get_range),
28773         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28774         * gst/gstpad.h:
28775         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28776         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28777         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28778         (gst_pad_remove_buffer_probe):
28779         Removed atomic operations, use existing LOCK.
28780         Move exception handling out of main code path.
28781
28782 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28783
28784         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28785         (silly_return_true_function), (gst_pad_class_init),
28786         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28787         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28788         (gst_pad_send_event):
28789           Fix accumulator, add default value by using _emitv() instead
28790           of _emit() for signal emission.
28791
28792 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28793
28794         * docs/manual/advanced-dataaccess.xml:
28795         * examples/manual/Makefile.am:
28796           Add probe example.
28797         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28798           Make work (??).
28799
28800 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28801
28802         * gst/elements/gstfilesink.c: (gst_filesink_render):
28803           Simplify code so that we don't have to handle short
28804           writes and return GST_FLOW_ERROR if an error occured.
28805
28806 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28807
28808         * docs/gst/gstreamer-docs.sgml:
28809           Remove probes more.
28810
28811 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28812
28813         * docs/gst/gstreamer-sections.txt:
28814         * docs/gst/tmpl/gstpad.sgml:
28815         * docs/gst/tmpl/gstprobe.sgml:
28816         * gst/Makefile.am:
28817         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28818         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28819         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28820         (gst_pad_push_event), (gst_pad_send_event):
28821         * gst/gstpad.h:
28822         * gst/gstutils.c: (gst_pad_add_data_probe),
28823         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28824         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28825         (gst_pad_remove_buffer_probe):
28826         * gst/gstutils.h:
28827           Remove old probes, add new g-signal-based probes and some utility
28828           functions.
28829
28830 2005-06-29  Edward Hervey  <edward@fluendo.com>
28831
28832         * gst/gstelementfactory.c:
28833         * gst/gstutils.h:
28834         * gst/gstutils.c:
28835         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28836         the definition to the header file.
28837
28838 2005-06-29  Andy Wingo  <wingo@pobox.com>
28839
28840         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28841         plugins from the source directory.
28842
28843 2005-06-29  Wim Taymans  <wim@fluendo.com>
28844
28845         * docs/gst/tmpl/gstbuffer.sgml:
28846         * docs/gst/tmpl/gstclock.sgml:
28847         Some fixings for blantently wrong text.
28848
28849 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28850
28851         * check/Makefile.am:
28852         * gst/gst.c: (add_path_func), (init_pre):
28853         * gst/gstregistry.c: (gst_registry_add_path):
28854           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28855           only scan the GST_PLUGIN_PATH locations, and not add
28856           system locations
28857
28858 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28859
28860         * docs/gst/gstreamer-sections.txt:
28861         * docs/gst/tmpl/gstbasesrc.sgml:
28862         * gst/gstelement.c:
28863         * gst/gstelement.h:
28864         * gst/gstevent.c:
28865         * gst/gstutils.c:
28866           doc fixes
28867
28868 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28869
28870         * docs/manual/advanced-autoplugging.xml:
28871           Fix autoplugging example.
28872
28873 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28874
28875         * docs/manual/advanced-autoplugging.xml:
28876         * docs/manual/mime-world.fig:
28877           Try to get autoplugging working, fix type detection. Fix text
28878           in hello-world image.
28879
28880 2005-06-29  Wim Taymans  <wim@fluendo.com>
28881
28882         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28883         (gst_base_sink_change_state):
28884         Small debug line.
28885
28886         * gst/gstclock.h:
28887         map SIGNAL and BROADCAST to the right function.
28888
28889         * gst/gstobject.h:
28890         Remove redundant braces.
28891
28892         * gst/gstpad.c: (gst_pad_set_caps):
28893         Don't call setcaps function when reseting caps to NULL.
28894
28895         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28896         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28897         (gst_system_clock_id_unschedule):
28898         Use BROADCAST as this is what we do.
28899
28900 2005-06-29  Wim Taymans  <wim@fluendo.com>
28901
28902         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28903         We are actually prerolling before commiting the state
28904         change. 
28905
28906 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28907
28908         * docs/manual/advanced-clocks.xml:
28909         * docs/manual/advanced-interfaces.xml:
28910         * docs/manual/advanced-metadata.xml:
28911         * docs/manual/advanced-position.xml:
28912         * docs/manual/advanced-schedulers.xml:
28913         * docs/manual/advanced-threads.xml:
28914         * docs/manual/appendix-porting.xml:
28915         * docs/manual/basics-bins.xml:
28916         * docs/manual/basics-bus.xml:
28917         * docs/manual/basics-elements.xml:
28918         * docs/manual/basics-helloworld.xml:
28919         * docs/manual/basics-pads.xml:
28920         * docs/manual/highlevel-components.xml:
28921         * docs/manual/manual.xml:
28922         * docs/manual/thread.fig:
28923           Update (until threads/scheduling) Application Development Manual;
28924           remove GstThread, add GstBus, add simple porting checklist, add
28925           documentation for tag writing, clocks, make all examples until this
28926           part compile and run.
28927         * examples/manual/Makefile.am:
28928           Update from changes to Application Development Manual; add bus
28929           example, remove thread example.
28930
28931 2005-06-28  Wim Taymans  <wim@fluendo.com>
28932
28933         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28934         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28935         (gst_bus_source_dispatch):
28936         Add debugging messages.
28937         Make internal methods static.
28938         Handle the case where the bus is flushed in the handler.
28939         
28940         * gst/gstelement.c: (gst_element_get_bus):
28941         Fix refcount in _get_bus();
28942
28943         * gst/gstpipeline.c: (gst_pipeline_change_state),
28944         (gst_pipeline_get_clock_func):
28945         Clock refcounting fixes.
28946         Handle the case where preroll timed out more gracefully.
28947         
28948         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28949         Clean up the internal thread in dispose. This is needed
28950         for subclasses that actually get disposed.
28951         
28952         * gst/schedulers/threadscheduler.c:
28953         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28954         (gst_thread_scheduler_dispose):
28955         Free thread pool in dispose.
28956
28957 2005-06-28  Andy Wingo  <wingo@pobox.com>
28958
28959         * tests/network-clock-utils.scm (debug, print-event): New utils.
28960
28961         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28962         (*packet-loss*): Unified loss probability.
28963         (network-time): Report out-of-band events.
28964
28965         * tests/plot-data: Add support for out-of-band events. Hack it
28966         into this script instead of passing it down the pipe; should fix
28967         this later.
28968
28969 2005-06-28  Wim Taymans  <wim@fluendo.com>
28970
28971         * docs/gst/gstreamer.types:
28972         * docs/gst/tmpl/gstbasesrc.sgml:
28973         * docs/gst/tmpl/gstpad.sgml:
28974         Docs fixes.
28975
28976 2005-06-28  Wim Taymans  <wim@fluendo.com>
28977
28978         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28979         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28980         (gst_proxy_pad_do_fixatecaps):
28981         Correctly proxy the check_pull_range function.
28982
28983 2005-06-28  Andy Wingo  <wingo@pobox.com>
28984
28985         * tests/network-clock.scm: Removed need for slib.
28986         
28987 2005-06-28  Wim Taymans  <wim@fluendo.com>
28988
28989         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28990         (gst_basesink_preroll_queue_flush):
28991         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28992         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28993         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28994         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28995         (gst_proxy_pad_set_property):
28996         * gst/gstpad.c:
28997         * gst/gstpad.h:
28998         * gst/gstqueue.c: (gst_queue_init):
28999         The deprecated pad loop function is removed now.
29000
29001 2005-06-28  Andy Wingo  <wingo@pobox.com>
29002
29003         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29004         New parameters, simulate network packet loss.
29005
29006         * tests/network-clock-utils.scm: Initialize the RNG.
29007
29008 2005-06-28  Wim Taymans  <wim@fluendo.com>
29009
29010         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29011         (gst_basesink_event), (gst_basesink_deactivate):
29012         Flushing the preroll queue always needs to unlock the waiters.
29013
29014 2005-06-28  Edward Hervey  <edward@fluendo.com>
29015
29016         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29017         Wheen a seek was successful on a pipeline, set the stream_time to the
29018         seek offset in order to have a synchronized stream_time.
29019
29020 2005-06-28  Wim Taymans  <wim@fluendo.com>
29021
29022         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29023         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29024         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29025         (gst_proxy_pad_do_fixatecaps):
29026         Call wrapper function instead of just calling the function
29027         pointers. This takes care of any locking and whatmore.
29028
29029 2005-06-28  Wim Taymans  <wim@fluendo.com>
29030
29031         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29032         (gst_pad_pull_range):
29033         * gst/gstpad.h:
29034         CONNECTED -> LINKED.
29035
29036 2005-06-28  Andy Wingo  <wingo@pobox.com>
29037
29038         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29039         source-munging commit!!!
29040
29041         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29042         (gst_object_sink): Take gpointer arguments, not GstObject --
29043         avoids casts. Like GLib.
29044
29045         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29046         activate.
29047
29048 2005-06-27  Andy Wingo  <wingo@pobox.com>
29049
29050         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29051         remaining buffer.
29052
29053         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29054         returns a sorted copy of the trace list.
29055         (gst_alloc_trace_print_live): New API, only prints traces with
29056         live objects. Sort the list.
29057         (gst_alloc_trace_print_all): Sort the list.
29058         (gst_alloc_trace_print): Align columns.
29059
29060         * gst/elements/gstttypefindelement.c:
29061         * gst/elements/gsttee.c:
29062         * gst/base/gstbasesrc.c:
29063         * gst/base/gstbasesink.c:
29064         * gst/base/gstbasetransform.c:
29065         * gst/gstqueue.c: Adapt for pad activation changes.
29066
29067         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29068         sched.
29069         (gst_pipeline_dispose): Drop ref on sched.
29070
29071         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29072         (gst_pad_activate_default): Push mode by default.
29073         (pre_activate_switch, post_activate_switch): New stubs, things to
29074         do before and after switching activation modes on pads.
29075         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29076         the pad's activate function to choose which mode to activate.
29077         Shortcut on deactivation and call the right function directly.
29078         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29079         mode.
29080         (gst_pad_activate_push): New API, same for push mode.
29081         (gst_pad_set_activate_function) 
29082         (gst_pad_set_activatepull_function) 
29083         (gst_pad_set_activatepush_function): Setters for new API.
29084
29085         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29086         Trace all miniobjects.
29087         (gst_mini_object_make_writable): Unref the arg if we copy, like
29088         gst_caps_make_writable.
29089
29090         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29091
29092         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29093         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29094         Adapt for new pad API.
29095
29096         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29097
29098         * gst/gstelement.h:
29099         * gst/gstelement.c (gst_element_iterate_src_pads) 
29100         (gst_element_iterate_sink_pads): New API functions.
29101         
29102         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29103         should fold into gstiterator.c in some form.
29104         (gst_element_pads_activate): Simplified via use of fold and
29105         delegation of decisions to gstpad->activate.
29106
29107         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29108         help in debugging.
29109
29110         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29111         class once in init, like gstmessage. Didn't run into this issue
29112         but it seems correct. Don't initialize a trace, gstminiobject does
29113         that.
29114
29115         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29116         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29117         to the bus.
29118         (assert_live_count): New util function, uses alloc traces to check
29119         cleanup.
29120
29121         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29122         To be modified when unlink drops the internal pad.
29123
29124 2005-06-27  Wim Taymans  <wim@fluendo.com>
29125
29126         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29127         (gst_bin_change_state):
29128         Cleanup the get_state() function a little, make sure it
29129         iterates the same set of elements.
29130         Added stub iterate_state_order().
29131
29132 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29133
29134         * docs/gst/gstreamer-docs.sgml:
29135         * docs/gst/gstreamer-sections.txt:
29136         * docs/gst/gstreamer.types:
29137         * docs/gst/tmpl/gstbasesink.sgml:
29138         * docs/gst/tmpl/gstbasesrc.sgml:
29139         * docs/gst/tmpl/gstbasetransform.sgml:
29140         * docs/gst/tmpl/gstelement.sgml:
29141         * docs/gst/tmpl/gstiterator.sgml:
29142         * gst/base/gstbasesrc.c:
29143         * gst/base/gstbasesrc.h:
29144         * gst/base/gstbasetransform.h:
29145         * gst/gstelement.c:
29146         * gst/gstiterator.h:
29147           adding basetransform and iterator docs
29148
29149 2005-06-27  Andy Wingo  <wingo@pobox.com>
29150
29151         * docs/design/part-activation.txt: Notes on how activation should
29152         work -- not quite implemented yet.
29153
29154 2005-06-25  Wim Taymans  <wim@fluendo.com>
29155
29156         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29157         At least get the chain function correct, needs more
29158         fixing.
29159
29160 2005-06-25  Wim Taymans  <wim@fluendo.com>
29161
29162         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29163         (gst_basesink_handle_object), (gst_basesink_event),
29164         (gst_basesink_do_sync), (gst_basesink_handle_event),
29165         (gst_basesink_change_state):
29166         * gst/gsttask.h:
29167         Right, two problems here: ghostpads don't take locks and
29168         glib _rec_mutex_lock_full() with depth==0 still locks.
29169         Catch illegal locking and g_warn them.
29170
29171 2005-06-25  Wim Taymans  <wim@fluendo.com>
29172
29173         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29174         Have to check for completion now...
29175
29176 2005-06-25  Wim Taymans  <wim@fluendo.com>
29177
29178         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29179         (gst_basesink_handle_object), (gst_basesink_event),
29180         (gst_basesink_do_sync), (gst_basesink_handle_event),
29181         (gst_basesink_change_state):
29182         * gst/gstpad.h:
29183         Unlock STREAM_LOCK whatever the recursion was.
29184
29185 2005-06-25  Wim Taymans  <wim@fluendo.com>
29186
29187         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29188         (gst_basesink_preroll_queue_empty),
29189         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29190         (gst_basesink_event), (gst_basesink_do_sync),
29191         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29192         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29193         (gst_basesink_change_state):
29194         Reworked the base sink, handle event and buffer serialisation
29195         correctly and removed possible deadlock.
29196         Handle EOS correctly.
29197
29198 2005-06-25  Wim Taymans  <wim@fluendo.com>
29199
29200         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29201         (gst_pipeline_change_state):
29202         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29203         Allow elements to post EOS in the state change function.
29204         Fix up -launch, make it exit the poll loop when the
29205         pipeline actually changed state.
29206         Fix up warning parsing in -launch.
29207
29208 2005-06-25  Wim Taymans  <wim@fluendo.com>
29209
29210         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29211         (gst_tee_sink_activate):
29212         Core takes STREAM_LOCK for us now.
29213
29214 2005-06-25  Wim Taymans  <wim@fluendo.com>
29215
29216         * gst/gstelement.c: (gst_element_get_state_func),
29217         (gst_element_set_state):
29218         * gst/gstelement.h:
29219         * gst/gstmessage.c: (gst_message_parse_error),
29220         (gst_message_parse_warning):
29221         Keep track of current target state while performing a state
29222         change so that subclasses can do something interesting.
29223         Fix parsing of warning/error messages when GError is NULL.
29224
29225 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29226
29227         * docs/gst/Makefile.am:
29228         * docs/gst/gstreamer-docs.sgml:
29229         * docs/gst/gstreamer-sections.txt:
29230         * docs/gst/gstreamer.types:
29231         * docs/gst/tmpl/gstbasesink.sgml:
29232         * docs/gst/tmpl/gstbasesrc.sgml:
29233         * docs/gst/tmpl/gstbin.sgml:
29234         * docs/gst/tmpl/gstcompat.sgml:
29235         * docs/gst/tmpl/gstfakesink.sgml:
29236         * docs/gst/tmpl/gstfakesrc.sgml:
29237         * docs/gst/tmpl/gstfilesink.sgml:
29238         * docs/gst/tmpl/gstfilesrc.sgml:
29239         * docs/gst/tmpl/gstindex.sgml:
29240         * docs/manual/appendix-quotes.xml:
29241         * gst/base/gstbasesrc.h:
29242         * gst/elements/gstfakesrc.h:
29243         * gst/gstmessage.h:
29244           start pulling in base classes and elements in our docs
29245
29246 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29247
29248         * docs/gst/Makefile.am:
29249         * docs/libs/Makefile.am:
29250           fixed make distcheck with gtk-doc 1.3
29251
29252 2005-06-23  Wim Taymans  <wim@fluendo.com>
29253
29254         * gst/gstelement.c: (gst_element_get_state_func),
29255         (gst_element_set_state), (gst_element_change_state):
29256         When the state did not change, also report NO_PREROLL
29257         when it matters.
29258
29259 2005-06-23  Wim Taymans  <wim@fluendo.com>
29260
29261         * gst/gstpad.c: (gst_pad_event_default):
29262         * gst/gstqueue.c: (gst_queue_loop):
29263         No unsafe task pausing please.
29264
29265 2005-06-23  Wim Taymans  <wim@fluendo.com>
29266
29267         * gst/schedulers/threadscheduler.c:
29268         (gst_thread_scheduler_task_start),
29269         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29270         Ref the task before pushing it on the threadpool. This
29271         makes sure that we have a ref when the threadfunction is
29272         actually called.
29273
29274 2005-06-23  Andy Wingo  <wingo@pobox.com>
29275
29276         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29277         offset is greater than the file's size.
29278
29279         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29280         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29281         * gst/gstobject.c (gst_object_class_init): Make the class lock
29282         recursive. Wim won't let me drop deep_notify. Decodebin works
29283         again, whoopdy doo.
29284
29285         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29286         internal pad, and hacks accordingly. Doesn't do it on the target
29287         pad because we change its caps. Probably catches all cases of
29288         interest tho.
29289         (gst_ghost_pad_set_property): Connect to notify::caps as
29290         appropritate.
29291
29292         * tests/network-clock.scm (plot-simulation): Pipe data to the
29293         elite python skript.
29294
29295         * tests/network-clock-utils.scm (define-parameter): New macro,
29296         defines a parameter that can be set via the command line.
29297         (set-parameter!, parse-parameter-arguments): Command line args
29298         parser.
29299
29300         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29301         stdin.
29302
29303 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29304
29305         * gst/elements/gsttypefindelement.c:
29306         (gst_type_find_element_handle_event):
29307           Don't restart typefinding on a discont.
29308         * gst/gstelement.c: (gst_element_set_state):
29309           Debug spelling fix.
29310         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29311           Allow changing mode of an active pad.
29312           Debug output fixes.
29313         * gst/registries/gstlibxmlregistry.c: (load_feature):
29314           Don't cast a static pad template to a normal pad template.
29315
29316 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29317
29318         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29319         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29320           remove gst_strtoll completely, since it didn't actually do
29321           anything more than what g_ascii_strtoull already does.
29322           check for range errors when deserializing
29323           do a cast for the unsigned cases; but further fixing needs
29324           a decision on what the interpretation of "(int)" and
29325           deserialization should be for values that fall outside the
29326           type's boundaries (ie, refuse, or interpret as casting)
29327
29328 2005-06-23  Wim Taymans  <wim@fluendo.com>
29329
29330         * check/Makefile.am:
29331         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29332         * docs/design/part-live-source.txt:
29333         * docs/design/part-states.txt:
29334         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29335         (gst_basesrc_set_live), (gst_basesrc_is_live),
29336         (gst_basesrc_get_range), (gst_basesrc_activate),
29337         (gst_basesrc_change_state):
29338         * gst/base/gstbasesrc.h:
29339         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29340         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29341         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29342         * gst/gstelement.c: (gst_element_get_state_func),
29343         (gst_element_set_state):
29344         * gst/gstelement.h:
29345         * gst/gsttypes.h:
29346         * tools/gst-launch.c: (event_loop), (main):
29347         Added support for live sources and other elements that
29348         cannot do preroll.
29349         Updated design docs, added live-source design doc.
29350         Implemented live source functionality in basesrc
29351         Fix error condition in _bin_get_state()
29352         Implement live source handling in -launch.
29353         Added check for live sources.
29354         Fixed case in GstBin where elements were changed state
29355         multiple times.
29356
29357
29358 2005-06-23  Andy Wingo  <wingo@pobox.com>
29359
29360         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29361         borken refcounting.
29362
29363         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29364         gst_caps_replace takes care of this for us.
29365
29366         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29367         gst_pad_set_caps on the target, not just its setcaps() function.
29368
29369         * tests/network-clock.scm: 
29370         * tests/network-clock-utils.scm: A network clock simulator.
29371         Something of an algorithmic testbed before doing something in C.
29372
29373 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29374
29375         * check/Makefile.am:
29376         * check/gst/capslist.h:
29377           copy over from 0.8, and add two with bitmasks specified with
29378           (int) 0xFF...
29379         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29380           add test to parse everything from capslist.h
29381         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29382         (main):
29383           add test for structure deserialization
29384         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29385           add tests for deserialization of strings to int types
29386         * gst/gststructure.c: (gst_structure_nth_field_name):
29387         * gst/gststructure.h:
29388           add a way to get the name of a field referenced by index
29389         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29390           instead of checking if the resulting long long lies between
29391           min and max, we check if the long long would fit into
29392           a number of bytes for the final type.
29393           This fixes cases where a string represents 2^32 - 1, which
29394           when cast to int would be the (valid) -1, but is bigger than
29395           G_MAXINT
29396
29397 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29398
29399         * gst/parse/grammar.y:
29400           add a log line for type deserialization
29401
29402 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29403
29404         * check/gst/gstvalue.c: (START_TEST):
29405         * gst/gstvalue.c: (gst_value_deserialize):
29406           return long long, not int, so gint64 deserialization actually
29407           works.  Is there any flag that makes the compiler check this ?
29408           Fixes #308559
29409
29410 2005-06-22  Wim Taymans  <wim@fluendo.com>
29411
29412         * gst/gstbuffer.h:
29413         Added convenience macros for setting buffers in GValue.
29414
29415 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29416
29417         * check/gst/.cvsignore:
29418         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29419           add a test deserializing int64, and comment part out because
29420           it fails, yay !
29421
29422 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29423
29424         * check/Makefile.am:
29425         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29426         * testsuite/Makefile.am:
29427         * testsuite/caps/Makefile.am:
29428         * testsuite/caps/value_serialize.c:
29429         * testsuite/test_gst_init.c:
29430           move a value_serialize test over
29431
29432 2005-06-20  Wim Taymans  <wim@fluendo.com>
29433
29434         * gst/gstpad.c:
29435         Small doc updates.
29436         
29437         * gst/gstvalue.c: (gst_value_compare_buffer),
29438         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29439         (gst_value_compare_flags), (gst_value_serialize_flags),
29440         (gst_value_deserialize_flags), (_gst_value_initialize):
29441         Fix serialisation of buffers, they are not boxed types anymore
29442
29443 2005-06-20  Wim Taymans  <wim@fluendo.com>
29444
29445         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29446         Testcase to show error in buffer-on-caps serialisation.
29447
29448 2005-06-20  Andy Wingo  <wingo@pobox.com>
29449
29450         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29451         will be adding to later.
29452
29453         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29454         if its socks fill with rocks.
29455         (gst_system_clock_obtain): Set the name on object construction.
29456         Avoid double-checked locking.
29457
29458 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29459
29460         * gst/gsturi.c: (gst_element_make_from_uri):
29461           Fix potential endless loop.
29462
29463 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29464
29465         * check/Makefile.am:
29466           add gsttag
29467         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29468         (main):
29469           move over from testsuite dir and clean up
29470         * configure.ac:
29471         * gst/gsttag.c:
29472         * testsuite/Makefile.am:
29473         * testsuite/tags/.cvsignore:
29474         * testsuite/tags/Makefile.am:
29475         * testsuite/tags/merge.c:
29476           remove testsuite/tags
29477
29478 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29479
29480         * docs/gst/gstreamer-sections.txt:
29481         * docs/gst/tmpl/gstenumtypes.sgml:
29482         * win32/gstenumtypes.c:
29483           clean up documentation build a little
29484
29485 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29486
29487         * check/gstcheck.h:
29488           add macros for checking refcounts on objects and caps
29489         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29490           add some more unit tests
29491         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29492         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29493           fix leaked refcounts (I hope :)) so unittest works
29494         * gst/gstpad.h:
29495           whitespace removal
29496
29497 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29498
29499         * configure.ac: back to HEAD
29500
29501 === release 0.9.1 ===
29502
29503 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29504
29505         * NEWS:
29506         * RELEASE:
29507           updated
29508
29509 2005-06-17  Andy Wingo  <wingo@pobox.com>
29510
29511         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29512         assert; it's always possible that the pad gets deactivated in
29513         between the checks in gstpad.c and the implementation. Rely on
29514         finish_preroll() to return a FLUSHING or similar instead of on the
29515         assert.
29516         
29517         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29518         clock and post an EOS message if we come out of finish_preroll in
29519         the playing state.
29520
29521 2005-06-16  David Schleef  <ds@schleef.org>
29522
29523         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29524         (gst_capsfilter_set_property): Allow NULL as possible value
29525         for filter_caps property, indicating GST_CAPS_ANY.
29526
29527 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29528
29529         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29530           fix debug output
29531         * gst/schedulers/Makefile.am:
29532           use libgst prefix
29533         * gstreamer.spec.in:
29534           fix spec for it
29535
29536 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29537
29538         * gstreamer.spec.in:
29539           clean up
29540
29541 2005-06-08  Andy Wingo  <wingo@pobox.com>
29542
29543         * gst/gstutils.c: RPAD fixes all around.
29544         (gst_element_link_pads): Refcounting fixes.
29545
29546         * tools/gst-inspect.c:
29547         * tools/gst-xmlinspect.c:
29548         * parse/grammar.y:
29549         * gst/base/gsttypefindhelper.c:
29550         * gst/base/gstbasesink.c:
29551         * gst/gstqueue.c: RPAD fixes.
29552
29553         * gst/gstghostpad.h:
29554         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29555         pads. The tricky thing is they provide both source and sink
29556         interfaces, since they proxy the internal pad for the external
29557         pad, and vice versa. Implement with lower-level ProxyPad objects,
29558         with the interior proxy pad as a child of the exterior ghost pad.
29559         Should write a doc on this.
29560         
29561         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29562         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29563         gst_object API.
29564         
29565         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29566         pads are real pads. No ghost pads in this file. Not documenting
29567         the myriad s/RPAD/PAD/ and REALIZE fixes.
29568         (gst_pad_class_init): Add properties for "direction" and
29569         "template". Both are construct-only, so they can't change during
29570         the life of the pad. Fixes properly deriving from GstPad.
29571         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29572         derived objects, just set properties when creating the objects via
29573         g_object_new.
29574         (gst_pad_get_parent): Implement as a function, return NULL if the
29575         parent is not an element.
29576         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29577         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29578         
29579         * gst/gstobject.c (gst_object_class_init): Make name a construct
29580         property. Don't set it in the object init.
29581
29582         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29583         with UNKNOWN direction.
29584         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29585         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29586         (gst_element_remove_pad): Remove ghost-pad special cases.
29587         (gst_element_pads_activate): Remove rpad cruft.
29588
29589         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29590         catch the pad's-parent-not-an-element case.
29591
29592         * gst/gst.h: Include gstghostpad.h.
29593
29594         * gst/gst.c (init_post): No more real, ghost pads.
29595
29596         * gst/Makefile.am: Add gstghostpad.[ch].
29597
29598         * check/Makefile.am:
29599         * check/gst/gstbin.c:
29600         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29601         into a bin creates ghost pads, and that the refcounts are right.
29602         Partly moved from gstbin.c.
29603
29604 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29605
29606         * check/gst-libs/.cvsignore:
29607         * check/gst/.cvsignore:
29608         * check/pipelines/.cvsignore:
29609           ignore more
29610         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29611         (START_TEST), (cleanup_suite), (main):
29612           add some tests related to cleanup after running pipelines
29613
29614 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29615
29616         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29617           add a testsuite for GstBuffer
29618
29619 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29620
29621         * gst/gstminiobject.h:
29622           add defines for accessing the refcount
29623
29624 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29625
29626         * Makefile.am: added support for html unit test coverage reports
29627
29628 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29629
29630         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29631           Free existing caps if the capsfilter changes. Add a FIXME about
29632           setting those caps on the pads.
29633
29634         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29635           Before adding a ghost pad to a parent bin, check that there isn't
29636           already one for the element on the bin. Prevents infinite recursion
29637           when using decodebin in parse pipelines. Andy says he'll rewrite the
29638           way this works anyway, so ignore the hack.
29639
29640 2005-06-02  Andy Wingo  <wingo@pobox.com>
29641
29642         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29643         file size, pass it on to the type find helper.
29644
29645         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29646         segment_start and segment_end properly according to the seek
29647         method. Segment_end is still a bit flaky because offset can be
29648         negative for CUR and END cases, but it takes -1 as an "unset"
29649         value.
29650
29651 2005-06-02  Wim Taymans  <wim@fluendo.com>
29652
29653         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29654         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29655         (gst_basesink_activate):
29656         * gst/base/gstbasesink.h:
29657         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29658         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29659         (gst_pad_query), (gst_pad_start_task):
29660         * gst/gstpad.h:
29661         * gst/gstqueue.c: (gst_queue_bufferalloc),
29662         (gst_queue_handle_sink_event), (gst_queue_chain):
29663         Bufferalloc: return GstFlowReturn to more accuratly report
29664         why allocation failed.
29665
29666 2005-06-02  Wim Taymans  <wim@fluendo.com>
29667
29668         * gst/gstpipeline.c: (gst_pipeline_send_event):
29669         Take snapshot of state without blocking.
29670
29671 2005-06-02  Wim Taymans  <wim@fluendo.com>
29672
29673         * docs/design/part-TODO.txt:
29674         * docs/design/part-caps.txt:
29675         * docs/design/part-clocks.txt:
29676         * docs/design/part-negotiation.txt:
29677         * docs/design/part-preroll.txt:
29678         Small doc updates 
29679
29680 2005-05-30  Wim Taymans  <wim@fluendo.com>
29681
29682         * gst/elements/gstidentity.c: (gst_identity_event),
29683         (gst_identity_transform), (gst_identity_get_property):
29684         Protect last_message property as it is accessed from
29685         multiple threads.
29686
29687 2005-05-30  Wim Taymans  <wim@fluendo.com>
29688
29689         * gst/gstelement.c: (gst_element_init),
29690         (gst_element_pads_activate), (gst_element_change_state):
29691         Slicker pad activation code.
29692
29693 2005-05-30  Wim Taymans  <wim@fluendo.com>
29694
29695         * gst/Makefile.am:
29696         * gst/gstelement.h:
29697         * gst/gstelementfactory.h:
29698         * gst/gsttypes.h:
29699         Move elementfactory methods to separate .h file.
29700
29701 2005-05-30  Wim Taymans  <wim@fluendo.com>
29702
29703         * docs/design/part-overview.txt:
29704         * gst/gstsystemclock.h:
29705         Small typo fixes, doc updates.
29706
29707 2005-05-30  Wim Taymans  <wim@fluendo.com>
29708
29709         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29710         (init_popt_callback):
29711         Remove cpu-opt flag.
29712
29713 2005-05-30  Wim Taymans  <wim@fluendo.com>
29714
29715         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29716         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29717         * gst/gstbuffer.h:
29718         Avoid typechecking in places where not needed.
29719         Added accessor for malloc_data.
29720
29721 2005-05-30  Wim Taymans  <wim@fluendo.com>
29722
29723         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29724         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29725         (gst_pad_configure_sink), (gst_pad_configure_src),
29726         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29727         (gst_pad_start_task):
29728         Propagate errors from _set_caps() in configure_src/sink
29729         functions instead of returning TRUE.
29730         FLUSH events can travel up and downstream
29731
29732
29733 2005-05-30  Wim Taymans  <wim@fluendo.com>
29734
29735         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29736         (gst_basesink_activate):
29737         Handle EOS in preroll.
29738
29739 2005-05-30  Wim Taymans  <wim@fluendo.com>
29740
29741         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29742         (gst_queue_loop), (gst_queue_handle_src_event):
29743         Remove old pieces of code
29744         Flushing the queue in an upstream event is a very bad idea.
29745
29746 2005-05-26  Andy Wingo  <wingo@pobox.com>
29747
29748         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29749         gst_value_set_mini_object so as to add a ref on the object (which
29750         will be removed when the value is unset).
29751
29752         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29753         arg type in ::handoff.
29754
29755         * gst/gstelement.c (gst_element_change_state): Also deactivate
29756         pads in READY->NULL, just in case the element didn't make it to
29757         PAUSED. Wingo tested, Wim approved.
29758
29759 2005-05-26  Wim Taymans  <wim@fluendo.com>
29760
29761         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29762         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29763         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29764         A flushing pad cannot be used to alloc_buffer from.
29765
29766 2005-05-26  Wim Taymans  <wim@fluendo.com>
29767
29768         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29769         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29770         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29771         (gst_bus_create_watch), (gst_bus_add_watch_full):
29772         * gst/gstbus.h:
29773         Implement a real GSource and use g_main_context_wakeup() to
29774         signal new messages instead of the socketpair.
29775
29776 2005-05-25  Wim Taymans  <wim@fluendo.com>
29777
29778         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29779         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29780         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29781         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29782         (gst_pad_send_event), (gst_pad_start_task):
29783         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29784         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29785         (gst_queue_sink_activate), (gst_queue_src_activate),
29786         (gst_queue_change_state):
29787         * gst/gstqueue.h:
29788         Fix state changes for non sinks. We now change sinks, then elements
29789         with unconnected srcpads, then the rest.
29790         More efficient queue unlocking in flush and state changes.
29791         Set the pad activate mode even if it does not have an activate
29792         function.
29793
29794 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29795
29796         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29797           Don't go in pull mode for non-seekable sources.
29798         * gst/elements/gsttypefindelement.h:
29799         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29800         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29801         (free_entry), (stop_typefinding),
29802         (gst_type_find_element_handle_event), (find_peek),
29803         (gst_type_find_element_chain), (do_pull_typefind),
29804         (gst_type_find_element_change_state):
29805           Allow typefinding (w/o seeking) in push-mode, simplified version
29806           of what was in 0.8.
29807         * gst/gstutils.c: (gst_buffer_join):
29808         * gst/gstutils.h:
29809           gst_buffer_join() from 0.8.
29810
29811 2005-05-25  Wim Taymans  <wim@fluendo.com>
29812
29813         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29814         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29815         (gst_pad_send_event), (gst_pad_start_task):
29816         Disable attempt at mode switching until it is figured out.
29817
29818 2005-05-25  Wim Taymans  <wim@fluendo.com>
29819
29820         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29821         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29822         (gst_basesink_finish_preroll), (gst_basesink_chain),
29823         (gst_basesink_loop), (gst_basesink_activate),
29824         (gst_basesink_change_state):
29825         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29826         (gst_basesrc_get_range), (gst_basesrc_loop),
29827         (gst_basesrc_activate):
29828         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29829         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29830         (gst_real_pad_init), (gst_real_pad_set_property),
29831         (gst_real_pad_get_property), (gst_pad_set_active),
29832         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29833         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29834         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29835         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29836         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29837         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29838         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29839         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29840         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29841         (gst_pad_stop_task):
29842         * gst/gstpad.h:
29843         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29844         (gst_queue_loop), (gst_queue_src_activate):
29845         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29846         (gst_task_get_state):
29847         * gst/gsttask.h:
29848         * gst/schedulers/threadscheduler.c:
29849         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29850         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29851         in task function.
29852         Remove ACTIVE pad flag, use FLUSHING everywhere
29853         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29854         functions.
29855         Add locks around IS_FLUSHING when reading.
29856         Take STREAM lock in chain(), get_range() functions so plugins
29857         don't need to take it anymore.
29858         
29859
29860
29861 2005-05-25  Wim Taymans  <wim@fluendo.com>
29862
29863         * tools/gst-launch.c: (event_loop):
29864         Unref message after using its contents instead of
29865         before.
29866
29867 2005-05-24  Wim Taymans  <wim@fluendo.com>
29868
29869         * docs/design/draft-ghostpads.txt:
29870         * docs/design/draft-push-pull.txt:
29871         * docs/design/draft-query.txt:
29872         * docs/design/part-overview.txt:
29873         Docs updates, added general overview doc.
29874
29875 2005-05-21  David Schleef  <ds@schleef.org>
29876
29877         * docs/gst/tmpl/old/GstBin.sgml:
29878         * docs/gst/tmpl/old/GstBuffer.sgml:
29879         * docs/gst/tmpl/old/GstCaps.sgml:
29880         * docs/gst/tmpl/old/GstClock.sgml:
29881         * docs/gst/tmpl/old/GstCompat.sgml:
29882         * docs/gst/tmpl/old/GstData.sgml:
29883         * docs/gst/tmpl/old/GstElement.sgml:
29884         * docs/gst/tmpl/old/GstEvent.sgml:
29885         * docs/gst/tmpl/old/GstIndex.sgml:
29886         * docs/gst/tmpl/old/GstStructure.sgml:
29887         * docs/gst/tmpl/old/GstTag.sgml:
29888         * docs/gst/tmpl/old/cothreads.sgml:
29889         * docs/gst/tmpl/old/cothreads_compat.sgml:
29890         * docs/gst/tmpl/old/gettext.sgml:
29891         * docs/gst/tmpl/old/gobject2gtk.sgml:
29892         * docs/gst/tmpl/old/grammar.tab.sgml:
29893         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29894         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29895         * docs/gst/tmpl/old/gst_private.sgml:
29896         * docs/gst/tmpl/old/gstaggregator.sgml:
29897         * docs/gst/tmpl/old/gstarch.sgml:
29898         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29899         * docs/gst/tmpl/old/gstbufferstore.sgml:
29900         * docs/gst/tmpl/old/gstdata_private.sgml:
29901         * docs/gst/tmpl/old/gstdisksink.sgml:
29902         * docs/gst/tmpl/old/gstdisksrc.sgml:
29903         * docs/gst/tmpl/old/gstelementfactory.sgml:
29904         * docs/gst/tmpl/old/gstextratypes.sgml:
29905         * docs/gst/tmpl/old/gstfakesink.sgml:
29906         * docs/gst/tmpl/old/gstfakesrc.sgml:
29907         * docs/gst/tmpl/old/gstfdsink.sgml:
29908         * docs/gst/tmpl/old/gstfdsrc.sgml:
29909         * docs/gst/tmpl/old/gstfilesink.sgml:
29910         * docs/gst/tmpl/old/gstfilesrc.sgml:
29911         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29912         * docs/gst/tmpl/old/gstidentity.sgml:
29913         * docs/gst/tmpl/old/gstindexfactory.sgml:
29914         * docs/gst/tmpl/old/gstmarshal.sgml:
29915         * docs/gst/tmpl/old/gstmd5sink.sgml:
29916         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29917         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29918         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29919         * docs/gst/tmpl/old/gstpipefilter.sgml:
29920         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29921         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29922         * docs/gst/tmpl/old/gstshaper.sgml:
29923         * docs/gst/tmpl/old/gstspider.sgml:
29924         * docs/gst/tmpl/old/gstspideridentity.sgml:
29925         * docs/gst/tmpl/old/gststatistics.sgml:
29926         * docs/gst/tmpl/old/gsttee.sgml:
29927         * docs/gst/tmpl/old/gsttimecache.sgml:
29928         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29929         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29930         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29931         * docs/gst/tmpl/old/types.sgml:
29932           I didn't intend to add these or check them in.
29933
29934 2005-05-19  David Schleef  <ds@schleef.org>
29935
29936         * configure.ac: Use -no-common everywhere.  In a sane world, it
29937           would be the default in libtool, because without it, you can't
29938           build DLLs on Windows.
29939         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29940         * docs/gst/gstreamer-sections.txt:
29941         * docs/gst/tmpl/gstcpu.sgml:
29942         * docs/gst/tmpl/gstdata.sgml:
29943         * docs/gst/tmpl/gstthread.sgml:
29944
29945 2005-05-19  David Schleef  <ds@schleef.org>
29946
29947         * gst/gstminiobject.c: (gst_value_set_mini_object),
29948         (gst_value_take_mini_object), (gst_value_get_mini_object):
29949         * gst/gstminiobject.h: Add GValue set/get functions.
29950
29951 2005-05-19  Wim Taymans  <wim@fluendo.com>
29952
29953         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29954         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29955         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29956         * gst/gstbuffer.h:
29957         * gst/gstbus.c: (gst_bus_post):
29958         * gst/gstelement.c: (gst_element_get_random_pad):
29959         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29960         Make subbufer unref the parent in finalize.
29961         some more debugging info.
29962
29963
29964 2005-05-19  Wim Taymans  <wim@fluendo.com>
29965
29966         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29967         (gst_basesink_init), (gst_basesink_finalize),
29968         (gst_basesink_activate), (gst_basesink_change_state):
29969         Don't free preroll queue too early.
29970
29971 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29972
29973         * gst/Makefile.am:
29974         * gst/ROADMAP:
29975           Hi, I'm outdated. Please shoot me.
29976
29977 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29978
29979         * gst/gstpipeline.c: (gst_pipeline_send_event):
29980           Do not access variables after they have been deleted.
29981
29982 2005-05-19  Wim Taymans  <wim@fluendo.com>
29983
29984         * tools/gst-inspect.c: (print_plugin_features):
29985         A plugin feature does unfortunatly not use the
29986         object name yet...
29987
29988 2005-05-18  Wim Taymans  <wim@fluendo.com>
29989
29990         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29991         Port _span() functions to new subbuffers.
29992
29993 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29994
29995         * gst/gstbin.c: (gst_bin_add_func):
29996           Fix clock settery in bins when adding kids after the clock has
29997           been selected.
29998
29999 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30000
30001         * gst/elements/gstidentity.c: (gst_identity_class_init):
30002           Workaround until signals support GstMiniObject.
30003
30004 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30005
30006         * gst/gstbuffer.c:
30007         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30008
30009 2005-05-18  Wim Taymans  <wim@fluendo.com>
30010
30011         * gst/base/Makefile.am:
30012         * gst/base/gstadapter.c: (gst_adapter_base_init),
30013         (gst_adapter_class_init), (gst_adapter_init),
30014         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30015         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30016         (gst_adapter_flush), (gst_adapter_available),
30017         (gst_adapter_available_fast):
30018         * gst/base/gstadapter.h:
30019         Ported and added adapter to the base classes.
30020
30021 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30022
30023         * gst/gst.c:
30024         * gst/gstmessage.c:
30025           Make sure the class is reffed/unreffed once before threads can be
30026           used.  Fixes #304551.
30027
30028 2005-05-17  Wim Taymans  <wim@fluendo.com>
30029
30030         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30031         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30032         * gst/gstminiobject.c: (gst_mini_object_get_type),
30033         (gst_mini_object_free):
30034         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30035         (gst_pad_push), (gst_pad_push_event):
30036         * gst/gstqueue.c: (gst_queue_change_state):
30037         Don't queue buffers in basesink when we are flushing.
30038         Unref buffer when flushing in basesink.
30039         Flush queue when going to READY
30040         Unref buffer when _push() returns an error.
30041         Don't free MiniObject instance when refcount is incremented
30042         in _finalize() so that we can recover objects.
30043
30044 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30045
30046         * docs/manual/advanced-schedulers.xml:
30047         * docs/manual/appendix-checklist.xml:
30048         * docs/pwg/advanced-clock.xml:
30049         * docs/pwg/advanced-interfaces.xml:
30050         * docs/pwg/advanced-request.xml:
30051         * docs/pwg/advanced-types.xml:
30052         * docs/pwg/intro-preface.xml:
30053         * examples/plugins/example.c: (gst_example_get_type),
30054         (gst_example_class_init), (gst_example_chain),
30055         (gst_example_set_property), (gst_example_get_property),
30056         (gst_example_change_state), (plugin_init):
30057         * examples/plugins/example.h:
30058           small doc fixes
30059
30060 2005-05-17  Wim Taymans  <wim@fluendo.com>
30061
30062         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30063         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30064         * gst/gstqueue.c: (gst_queue_change_state):
30065         Clear queue when going to READY.
30066         Remove IN_SETCAPS flag too.
30067
30068 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30069
30070         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30071           Remove implicit cast from gboolean to GstElementStateReturn;
30072           make sure we still return failure in paused => ready case if
30073           the parent class fails to change state and our own stop 
30074           vfunc succeeds.
30075
30076 2005-05-17  Wim Taymans  <wim@fluendo.com>
30077
30078         * tools/gst-launch.c: (event_loop):
30079         Message was unreffed too soon.
30080
30081 2005-05-16  Andy Wingo  <wingo@pobox.com>
30082
30083         * gst/gstbin.c (sink_iterator_filter): Err... um...
30084
30085         * check/gst/gstbin.c (test_ghost_pads): New test for the
30086         ghosting-if-elements-not-in-same-bin behavior.
30087
30088 2005-05-16  David Schleef  <ds@schleef.org>
30089
30090         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30091         accessing refcount directly.
30092
30093 2005-05-15  David Schleef  <ds@schleef.org>
30094
30095         * check/Makefile.am: remove GstData checks
30096         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30097         * gst/Makefile.am: add miniobject, remove data
30098         * gst/gst.h: add miniobject, remove data
30099         * gst/gstdata.c: remove
30100         * gst/gstdata.h: remove
30101         * gst/gstdata_private.h: remove
30102         * gst/gsttypes.h: remove GstEvent and GstMessage
30103         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30104         * gst/gstmarshal.list: change BOXED -> OBJECT
30105
30106         Implement GstMiniObject.
30107         * gst/gstminiobject.c:
30108         * gst/gstminiobject.h:
30109
30110         Modify to be subclasses of GstMiniObject.
30111         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30112         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30113         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30114         (gst_subbuffer_get_type), (gst_subbuffer_init),
30115         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30116         (gst_buffer_span):
30117         * gst/gstbuffer.h:
30118         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30119         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30120         (_gst_event_copy), (gst_event_new):
30121         * gst/gstevent.h:
30122         * gst/gstmessage.c: (_gst_message_initialize),
30123         (gst_message_get_type), (gst_message_class_init),
30124         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30125         (gst_message_new), (gst_message_new_error),
30126         (gst_message_new_warning), (gst_message_new_tag),
30127         (gst_message_new_state_changed), (gst_message_new_application):
30128         * gst/gstmessage.h:
30129         * gst/gstprobe.c: (gst_probe_perform),
30130         (gst_probe_dispatcher_dispatch):
30131         * gst/gstprobe.h:
30132         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30133         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30134         (_gst_query_copy), (gst_query_new):
30135
30136         Update elements for GstData -> GstMiniObject changes
30137         * gst/gstquery.h:
30138         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30139         (gst_queue_chain), (gst_queue_loop):
30140         * gst/elements/gstbufferstore.c:
30141         (gst_buffer_store_add_buffer_func),
30142         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30143         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30144         (gst_fakesink_render):
30145         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30146         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30147         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30148         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30149         (gst_filesrc_create_read):
30150         * gst/elements/gstidentity.c: (gst_identity_class_init):
30151         * gst/elements/gsttypefindelement.c:
30152         (gst_type_find_element_src_event), (free_entry_buffers),
30153         (gst_type_find_element_handle_event):
30154         * libs/gst/dataprotocol/dataprotocol.c:
30155         (gst_dp_header_from_buffer):
30156         * libs/gst/dataprotocol/dataprotocol.h:
30157         * libs/gst/dataprotocol/dp-private.h:
30158
30159 2005-05-15  David Schleef  <ds@schleef.org>
30160
30161         * gst/elements/gstelements.c: Don't include headers that were
30162         just removed.
30163
30164 2005-05-15  David Schleef  <ds@schleef.org>
30165
30166         * gst/elements/Makefile.am: Remove some elements that don't
30167         need to be in the core (or even exist at all).
30168         * gst/elements/gstaggregator.c:
30169         * gst/elements/gstaggregator.h:
30170         * gst/elements/gstmd5sink.c:
30171         * gst/elements/gstmd5sink.h:
30172         * gst/elements/gstmultifilesrc.c:
30173         * gst/elements/gstmultifilesrc.h:
30174         * gst/elements/gstpipefilter.c:
30175         * gst/elements/gstpipefilter.h:
30176         * gst/elements/gstshaper.c:
30177         * gst/elements/gstshaper.h:
30178         * gst/elements/gststatistics.c:
30179         * gst/elements/gststatistics.h:
30180         * po/POTFILES.in: Remove above files.
30181
30182 2005-05-14  Andy Wingo  <wingo@pobox.com>
30183
30184         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30185         so as to get the refs right.
30186         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30187         unreffing objects that don't pass the filter.
30188
30189         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30190         gst_element_set_bus.
30191         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30192         normal cases, this will destroy the bus.
30193
30194         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30195         object.
30196
30197         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30198         has no sinks.
30199
30200 2005-05-13  Andy Wingo  <wingo@pobox.com>
30201
30202         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30203         gst_pad_link, call pad_link_maybe_ghosting,
30204         (pad_link_maybe_ghosting): Links pads, making sure that the
30205         elements being linked are in the same bin.
30206         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30207         Helpers for pad_link_maybe_ghosting.
30208
30209 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30210
30211         * configure.ac:
30212           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30213
30214 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30215
30216         * docs/design/part-element-source.txt:
30217           Mention GstPushSrc
30218
30219 2005-05-12  Wim Taymans  <wim@fluendo.com>
30220
30221         * gst/base/gstbasesink.c: (gst_basesink_init),
30222         (gst_basesink_activate):
30223         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30224         (gst_basesrc_is_seekable):
30225         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30226         (bin_element_is_sink), (gst_bin_change_state):
30227         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30228         * gst/gstelement.h:
30229         Identify sinks by their flag to avoid overly complicated
30230         checks (fow now).
30231         Do state changes even for elements not reachable from the
30232         sinks.
30233         BaseSink is a sink now :)
30234         Some more debugging info in the basesrc.
30235
30236
30237 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30238
30239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30240           Implement _query on a bin, similar to _send_event.
30241
30242 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30243
30244         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30245           Discont event offset format should be GST_FORMAT_BYTES,
30246           not GST_FORMAT_TIME.
30247
30248 2005-05-12  Wim Taymans  <wim@fluendo.com>
30249
30250         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30251         Same fix as Ronald's but without the signal. 
30252
30253 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30254
30255         * gst/gstutils.c: (gst_element_query_position):
30256           No, an element is not a pad.
30257
30258 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30259
30260         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30261         (gst_bin_get_state):
30262           If a child is removed from a bin while we remove the child from
30263           the bin and while we're retrieving its state, signal this to the
30264           get_state function so we abort the wait (instead of waiting for
30265           a timeout) and can immediately re-iterate over all other elements.
30266
30267 2005-05-12  Wim Taymans  <wim@fluendo.com>
30268
30269         * gst/base/Makefile.am:
30270         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30271         (gst_basesrc_start):
30272         * gst/base/gstbasesrc.h:
30273         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30274         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30275         (gst_pushsrc_init), (gst_pushsrc_create):
30276         * gst/base/gstpushsrc.h:
30277         Added is_seekable to BaseSrc
30278         Added simple PushSrc.
30279
30280 2005-05-11  Wim Taymans  <wim@fluendo.com>
30281
30282         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30283         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30284         (gst_element_link_pads), (gst_element_query_position),
30285         (gst_element_query_convert), (intersect_caps_func),
30286         (gst_pad_query_position), (gst_pad_query_convert):
30287         Fix refcounting in utils function.
30288         No point in trying to activate a pad when it's added, it could
30289         be added from the state change function and then we deadlock, the
30290         element has to decide what to do.
30291
30292 2005-05-10  Andy Wingo  <wingo@pobox.com>
30293
30294         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30295         *all* the arguments.
30296
30297         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30298         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30299         lock (according to the docs -- if this is wrong change the docs).
30300
30301         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30302         flush messages in the NULL state.
30303
30304         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30305         message immediately and return.
30306         (gst_bus_set_flushing): New function. If a bus is flushing, it
30307         flushes out any queued messages and immediately unrefs new
30308         messages. This is so when an element goes to NULL, all of the
30309         unhandled messages coming from it can be freed, and their
30310         references to the element dropped. In other words: message source
30311         ref considered harmful :P
30312
30313         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30314         we're finished with it.
30315
30316         * gst/gstmessage.c (gst_message_new_state_changed): 
30317
30318 2005-05-10  Wim Taymans  <wim@fluendo.com>
30319
30320         * gst/gstvalue.c: (gst_value_compare_flags),
30321         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30322         (_gst_value_initialize):
30323         Added flags serialize/deserialize/compare code.
30324
30325 2005-05-09  Andy Wingo  <wingo@pobox.com>
30326
30327         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30328         Intersect the peer's caps with our caps.
30329
30330 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30331
30332         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30333         * gst/elements/gsttypefindelement.c: (find_peek):
30334           Handle negative offsets better. Fixes decodebin.
30335
30336 2005-05-09  Wim Taymans  <wim@fluendo.com>
30337
30338         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30339         (gst_base_transform_event):
30340         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30341         Implement accept_caps.
30342         Fix silly lock/unlock mismatch in base class.
30343
30344 2005-05-09  Wim Taymans  <wim@fluendo.com>
30345
30346         * docs/design/draft-push-pull.txt:
30347         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30348         * gst/elements/gstfilesink.c: (gst_filesink_init),
30349         (gst_filesink_query):
30350         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30351         (gst_type_find_handle_src_query), (find_element_get_length):
30352         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30353         * gst/gstelement.h:
30354         * gst/gstmessage.c:
30355         * gst/gstmessage.h:
30356         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30357         (gst_real_pad_get_caps_unlocked),
30358         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30359         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30360         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30361         (gst_real_pad_dispose), (gst_real_pad_finalize),
30362         (gst_pad_load_and_link), (gst_pad_save_thyself),
30363         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30364         (gst_pad_check_pull_range), (gst_pad_pull_range),
30365         (gst_pad_template_get_type), (gst_pad_template_class_init),
30366         (gst_pad_template_init), (gst_pad_template_dispose),
30367         (name_is_valid), (gst_static_pad_template_get),
30368         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30369         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30370         (gst_pad_get_element_private), (gst_pad_start_task),
30371         (gst_pad_pause_task), (gst_pad_stop_task),
30372         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30373         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30374         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30375         (gst_ghost_pad_new):
30376         * gst/gstpad.h:
30377         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30378         (gst_query_new_position), (gst_query_set_position),
30379         (gst_query_parse_position), (gst_query_new_convert),
30380         (gst_query_set_convert), (gst_query_parse_convert):
30381         * gst/gstquery.h:
30382         * gst/gstqueryutils.c:
30383         * gst/gstqueryutils.h:
30384         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30385         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30386         (gst_queue_handle_src_query):
30387         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30388         (gst_element_query_position), (gst_element_query_convert),
30389         (intersect_caps_func), (gst_pad_query_position),
30390         (gst_pad_query_convert):
30391         * gst/gstutils.h:
30392         * tools/gst-inspect.c: (print_pad_info):
30393         * tools/gst-xmlinspect.c: (print_element_info):
30394         Remove old query functions. Ported old code.
30395         Added position/convert helper functions to gstutils.
30396         Reordered gstpad.c code, grouping relevant things.
30397         Remove gst_message_new(), always need to speficy a specific
30398         message.
30399
30400
30401 2005-05-09  Andy Wingo  <wingo@pobox.com>
30402
30403         * gst/gstiterator.h: Add some includes.
30404
30405         * gst/gstqueryutils.h: Include more headers.
30406
30407         * gst/gstpad.h:
30408         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30409         some uses of gst_pad_query.
30410
30411         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30412         NULL out parameters.
30413         (gst_query_new_position): New proc, allocates a new position
30414         query.
30415
30416         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30417         gstqueryutils.c to the build.
30418
30419         * gst/gststructure.c (gst_structure_set_valist): Implement with
30420         the generic G_VALUE_COLLECT.
30421         
30422 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30423
30424         * gst/Makefile.am: (gst_headers):
30425         Added gstqueryutils.h to the list of headers to install, that was
30426         a 'nachty' move wingo :)
30427
30428 2005-05-06  Andy Wingo  <wingo@pobox.com>
30429
30430         * gst/gstquery.h
30431         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30432         GstData, init a memchunk.
30433         (standard_definitions): Add a few query types, deprecate a few.
30434         (gst_query_get_type): New proc.
30435         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30436         implementation.
30437         (gst_query_new_application, gst_query_get_structure): New public
30438         procs.
30439
30440         * docs/design/draft-query.txt: Removed LINKS from the query types,
30441         because all the rest can be dispatched to other pads -- seemed
30442         ugly to have a query that couldn't be dispatched. internal_links
30443         is fine as a pad method.
30444
30445         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30446         in gstpad.c, but maintain binary compatibility for the moment.
30447         Will fix before 0.9 is out.
30448
30449         * gst/gstqueryutils.c: 
30450         * gst/gstqueryutils.h: New files, implement 3 methods for each
30451         query type: parse_query, parse_response, and set. Probably need an
30452         allocator as well.
30453
30454         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30455
30456         * gst/elements/gstfilesink.c (gst_filesink_query2):
30457         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30458         query_types, and formats methods.
30459
30460         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30461         (gst_pad_set_query2_function): New functions.
30462         (gst_real_pad_init): Set query2_default as the default query2
30463         function. Basically just dispatches to internally linked pads.
30464
30465         Needs review!
30466         
30467         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30468         without using the atomic operations. Only one thread can possibly
30469         be accessing the data at this point. Changed so as to avoid
30470         gst_atomic operations.
30471
30472 2005-05-06  Wim Taymans  <wim@fluendo.com>
30473
30474         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30475         Also set caps if we use the fallback buffer alloc.
30476
30477 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30478
30479         * docs/gst/Makefile.am:
30480         * docs/gst/gstreamer-docs.sgml:
30481         * docs/gst/gstreamer-sections.txt:
30482         * docs/gst/tmpl/gstatomic.sgml:
30483         * docs/gst/tmpl/gstmemchunk.sgml:
30484         * testsuite/elements/struct_i386.h:
30485         * win32/GStreamer.vcproj:
30486         * win32/Makefile:
30487           Purge GstAtomic stuff from docs and win32 makefiles as well
30488
30489 2005-05-06  Wim Taymans  <wim@fluendo.com>
30490
30491         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30492         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30493         * gst/gstpad.c: (gst_pad_peer_get_caps):
30494         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30495         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30496         (gst_queue_src_activate), (gst_queue_change_state):
30497         * gst/gstqueue.h:
30498         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30499         (intersect_caps_func):
30500         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30501         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30502         Some fixes for the peer_get_caps() change.
30503
30504 2005-05-06  Wim Taymans  <wim@fluendo.com>
30505
30506         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30507         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30508         (gst_basesink_activate):
30509         Actually do something with error codes returned from the push
30510         functions.
30511
30512 2005-05-06  Wim Taymans  <wim@fluendo.com>
30513
30514         * docs/design/part-element-sink.txt:
30515         * docs/design/part-element-source.txt:
30516         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30517         (gst_basesink_event), (gst_basesink_activate):
30518         * gst/base/gstbasesink.h:
30519         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30520         (gst_basesrc_activate):
30521         * gst/base/gstbasesrc.h:
30522         * gst/gstelement.c: (gst_element_pads_activate):
30523         Some more documentation.
30524         Fixed scheduling decision in _pads_activate().
30525
30526 2005-05-05  Andy Wingo  <wingo@pobox.com>
30527
30528         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30529         the test suite.
30530
30531 2005-05-05  Wim Taymans  <wim@fluendo.com>
30532
30533         * gst/base/Makefile.am:
30534         * gst/base/gstbasesink.h:
30535         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30536         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30537         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30538         (gst_collectpads_class_init), (gst_collectpads_init),
30539         (gst_collectpads_finalize), (gst_collectpads_new),
30540         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30541         (find_pad), (gst_collectpads_remove_pad),
30542         (gst_collectpads_is_active), (gst_collectpads_collect),
30543         (gst_collectpads_collect_range), (gst_collectpads_start),
30544         (gst_collectpads_stop), (gst_collectpads_peek),
30545         (gst_collectpads_pop), (gst_collectpads_available),
30546         (gst_collectpads_read), (gst_collectpads_flush),
30547         (gst_collectpads_chain):
30548         * gst/base/gstcollectpads.h:
30549         * gst/elements/Makefile.am:
30550         * gst/elements/gstelements.c:
30551         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30552         (gst_fakesink_get_times), (gst_fakesink_event),
30553         (gst_fakesink_preroll), (gst_fakesink_render):
30554         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30555         (gst_filesink_init), (gst_filesink_set_location),
30556         (gst_filesink_open_file), (gst_filesink_close_file),
30557         (gst_filesink_pad_query), (gst_filesink_event),
30558         (gst_filesink_render), (gst_filesink_change_state):
30559         * gst/elements/gstfilesink.h:
30560         Added object to help in making collect pad based elements.
30561         Ported filesink.
30562         Make event function in sink baseclass return gboolean.
30563
30564 2005-05-05  Wim Taymans  <wim@fluendo.com>
30565
30566         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30567         (gst_bin_get_by_name):
30568         * gst/gstbuffer.h:
30569         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30570         (gst_clock_finalize):
30571         * gst/gstdata.c: (gst_data_replace):
30572         * gst/gstdata.h:
30573         * gst/gstelement.c: (gst_element_request_pad),
30574         (gst_element_pads_activate):
30575         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30576         (gst_object_unref):
30577         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30578         (gst_pad_set_checkgetrange_function),
30579         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30580         (gst_pad_check_pull_range), (gst_pad_pull_range),
30581         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30582         (gst_pad_pause_task), (gst_pad_stop_task):
30583         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30584         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30585         Fix name lookup in GstBin.
30586         Added _data_replace() function and _buffer_replace()
30587         Use finalize method to clean up clock.
30588         Fix refcounting on request pads.
30589         Fix pad schedule mode error.
30590         Some more object refcounting debug info,
30591
30592
30593 2005-05-04  Andy Wingo <wingo@pobox.com>
30594
30595         * check/Makefile.am:
30596         * docs/gst/tmpl/gstatomic.sgml:
30597         * docs/gst/tmpl/gstplugin.sgml:
30598         * gst/base/gstbasesink.c: (gst_basesink_activate):
30599         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30600         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30601         (gst_basesrc_query), (gst_basesrc_set_property),
30602         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30603         (gst_basesrc_activate):
30604         * gst/base/gstbasesrc.h:
30605         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30606         (gst_base_transform_src_activate):
30607         * gst/elements/gstelements.c:
30608         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30609         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30610         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30611         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30612         (gst_type_find_element_checkgetrange),
30613         (gst_type_find_element_activate):
30614         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30615         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30616         (gst_caps_load_thyself):
30617         * gst/gstelement.c: (gst_element_pads_activate),
30618         (gst_element_save_thyself), (gst_element_restore_thyself):
30619         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30620         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30621         * gst/gstpad.h:
30622         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30623         (gst_xml_parse_file), (gst_xml_parse_memory),
30624         (gst_xml_get_element), (gst_xml_make_element):
30625         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30626         (_file_index_id_save_xml), (gst_file_index_commit):
30627         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30628         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30629         (load_paths):
30630         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30631         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30632         * tools/gst-complete.c: (main):
30633         * tools/gst-compprep.c: (main):
30634         * tools/gst-inspect.c: (print_element_properties_info):
30635         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30636         * tools/gst-xmlinspect.c: (print_element_properties):
30637         GCC 4 fixen.
30638         
30639 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30640
30641         * gst/gstplugin.c: (gst_plugin_check_module),
30642         (gst_plugin_check_file), (gst_plugin_load_file):
30643             apply patch from #172526 to make register work on MacOSX
30644
30645 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30646
30647         * docs/gst/tmpl/gstconfig.sgml:
30648         * gst/gstconfig.h.in:
30649           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30650         * testsuite/debug/printf_extension.c: (main):
30651           Do not use GST_PTR_FORMAT on pointers to types with
30652           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30653         * testsuite/elements/property.h:
30654           use correct printf format
30655
30656 2005-05-02  Wim Taymans  <wim@fluendo.com>
30657
30658         * docs/design/draft-push-pull.txt:
30659         * docs/design/draft-query.txt:
30660         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30661         (gst_basesrc_start):
30662         Added draft for new query API.
30663         Added draft for better selecting scheduling methods.
30664         Make basesrc ignore length if the subclass does not support
30665         it.
30666
30667 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30668
30669         * gst/Makefile.am:
30670           possible fixes for automake-1.5 - _LIBADD is reserved
30671
30672 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30673
30674         * docs/faq/Makefile.am:
30675         * docs/manual/Makefile.am:
30676         * docs/manuals.mak:
30677         * docs/pwg/Makefile.am:
30678         * gst/Makefile.am:
30679           possible fixes for automake-1.5
30680
30681 2005-04-28  Wim Taymans  <wim@fluendo.com>
30682
30683         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30684         (gst_basesink_pad_getcaps), (gst_basesink_init),
30685         (gst_basesink_do_sync):
30686         * gst/gstclock.c: (gst_clock_entry_new):
30687         * gst/gstevent.c: (gst_event_discont_get_value):
30688         * gst/gstpipeline.c: (pipeline_bus_handler),
30689         (gst_pipeline_change_state):
30690         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30691         Better debugging of clocking info.
30692         Allow NULL values when getting discont values.
30693
30694 2005-04-27  Wim Taymans  <wim@fluendo.com>
30695
30696         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30697         * check/gst/gstpad.c: (gst_pad_suite):
30698         Increase timeout for checks.
30699
30700 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30701
30702         * check/Makefile.am:
30703           fix the broken rule for cleanup.  Apparently this rule is
30704           only needed on FC2, so maybe this warrants further autotool
30705           inspection.
30706
30707 2005-04-26  Wim Taymans  <wim@fluendo.com>
30708
30709         * gst/gsttrashstack.h:
30710         Ooohh. a nasty one! After having a failed pop() from the stack,
30711         it's possible that the stack is empty. In that case, don't
30712         follow the NULL pointer.
30713
30714 2005-04-25  Wim Taymans  <wim@fluendo.com>
30715
30716         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30717         (gst_pad_set_checkgetrange_function),
30718         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30719         (gst_pad_check_pull_range), (gst_pad_pull_range),
30720         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30721         (gst_pad_pause_task), (gst_pad_stop_task):
30722         * gst/gstplugin.c: (gst_plugin_load):
30723         * gst/gstplugin.h:
30724         Remove gst_library_load as it does more harm than good with
30725         the new g_module flags.
30726         Revert bogus caps template check in pad linking, pad caps
30727         are important when linking not the template, which is more
30728         general than the current caps.
30729
30730 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30731
30732         * gst/autoplug/.cvsignore:
30733         * gst/autoplug/Makefile.am:
30734         * gst/autoplug/gstsearchfuncs.c:
30735         * gst/autoplug/gstsearchfuncs.h:
30736         * gst/autoplug/gstspider.c:
30737         * gst/autoplug/gstspider.h:
30738         * gst/autoplug/gstspideridentity.c:
30739         * gst/autoplug/gstspideridentity.h:
30740         * gst/autoplug/spidertest.c:
30741           Die, spider, die.
30742
30743 2005-04-25  Wim Taymans  <wim@fluendo.com>
30744
30745         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30746         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30747         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30748         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30749         * gst/gstpad.h:
30750         Added stubs for unimplemented functions. 
30751
30752 2005-04-24  David Schleef  <ds@schleef.org>
30753
30754         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30755         please fix.
30756
30757 2005-04-24  David Schleef  <ds@schleef.org>
30758
30759         Convert everything from GstAtomicInt to g_atomic_int_*, and
30760         remove gstatomic.
30761         * gst/Makefile.am:
30762         * gst/gstatomic.c:
30763         * gst/gstatomic.h:
30764         * gst/gstatomic_impl.h:
30765         * gst/gstbuffer.c:
30766         * gst/gstcaps.c:
30767         * gst/gstcaps.h:
30768         * gst/gstclock.c:
30769         * gst/gstclock.h:
30770         * gst/gstdata.c:
30771         * gst/gstdata.h:
30772         * gst/gstdata_private.h:
30773         * gst/gstevent.c:
30774         * gst/gstinfo.c:
30775         * gst/gstinfo.h:
30776         * gst/gstmessage.c:
30777         * gst/gstobject.c:
30778         * gst/gstobject.h:
30779         * gst/gststructure.c:
30780         * gst/gststructure.h:
30781         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30782         * gst/gstutils.h:
30783
30784 2005-04-24  David Schleef  <ds@schleef.org>
30785
30786         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30787         make the regressions tests work.  Remove some code that is no
30788         longer true.
30789         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30790         Disable warning for pads without templates.
30791
30792 2005-04-24  David Schleef  <ds@schleef.org>
30793
30794         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30795         functions that handle filtered links.
30796         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30797         removed functions.
30798         * gst/gstutils.c: Fix/remove utility functions that handle
30799         filtered caps.
30800         * gst/gstutils.h:
30801         * gst/gstvalue.c: Add serialization/deserialization of caps
30802         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30803         requires fixing so that the filter caps notation creates
30804         a capsfilter element and sets the filter_caps property.  I
30805         think everyone probably wants to keep the shorthand notation.
30806         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30807         * docs/gst/tmpl/gstpad.sgml:
30808
30809         * gst/elements/gstelements.c: Register capsfilter element.
30810         * gst/Makefile.am: fix spacing
30811         * docs/random/ds/0.9-suggested-changes: random
30812
30813 2005-04-23  David Schleef  <ds@schleef.org>
30814
30815         * gst/elements/Makefile.am:
30816         * gst/elements/gstcapsfilter.c: New element that acts like an
30817         identity, but filters caps.  Will eventually replace filtered
30818         caps in pad linking.
30819         * gst/gstutils.c: (gst_element_create_all_pads): New function
30820         to create all the ALWAYS pads that are registered with an
30821         element class.  This functionality should eventually be
30822         merged in with GstElement initialization.
30823         * gst/gstutils.h:
30824         * testsuite/trigger/README: part of trigger test code that should
30825         have been checked in a long time ago.
30826
30827 2005-04-23  David Schleef  <ds@schleef.org>
30828
30829         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30830         needed with new versions of libtool (nobody will confirm this),
30831         and hard to carry around.
30832         * gst/autoplug/Makefile.am:
30833         * gst/base/Makefile.am:
30834         * gst/elements/Makefile.am:
30835         * gst/indexers/Makefile.am:
30836         * gst/schedulers/Makefile.am:
30837         * libs/gst/bytestream/Makefile.am:
30838         * libs/gst/control/Makefile.am:
30839         * libs/gst/dataprotocol/Makefile.am:
30840         * libs/gst/getbits/Makefile.am:
30841
30842 2005-04-21  Wim Taymans  <wim@fluendo.com>
30843
30844         * docs/design/draft-push-pull.txt:
30845         * docs/design/part-MT-refcounting.txt:
30846         * docs/design/part-TODO.txt:
30847         * docs/design/part-caps.txt:
30848         * docs/design/part-events.txt:
30849         * docs/design/part-gstbus.txt:
30850         * docs/design/part-gstpipeline.txt:
30851         * docs/design/part-messages.txt:
30852         * docs/design/part-push-pull.txt:
30853         * docs/design/part-query.txt:
30854         Some more docs.
30855
30856 2005-04-21  Wim Taymans  <wim@fluendo.com>
30857
30858         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30859         (gst_message_new), (gst_message_new_error),
30860         (gst_message_new_warning), (gst_message_new_tag),
30861         (gst_message_new_state_changed), (gst_message_new_application),
30862         (gst_message_get_structure):
30863         * gst/gstmessage.h:
30864         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30865         (gst_structure_copy_conditional):
30866         Use parent refcount in GstMessage to ensure GstStructure
30867         consistency.
30868         Cleaned up headers a bit.
30869         
30870
30871 2005-04-20  Wim Taymans  <wim@fluendo.com>
30872
30873         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30874         (gst_basesink_pad_getcaps), (gst_basesink_init),
30875         (gst_basesink_chain_unlocked):
30876         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30877         (gst_type_find_helper):
30878         * gst/elements/gsttypefindelement.c:
30879         (gst_type_find_element_have_type), (gst_type_find_element_init),
30880         (stop_typefinding), (gst_type_find_element_handle_event),
30881         (find_suggest), (gst_type_find_element_chain),
30882         (gst_type_find_element_checkgetrange),
30883         (gst_type_find_element_getrange), (do_typefind),
30884         (gst_type_find_element_activate):
30885         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30886         (gst_buffer_default_free), (gst_buffer_default_copy),
30887         (gst_buffer_set_caps):
30888         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30889         (gst_caps_replace):
30890         * gst/gstmessage.c: (gst_message_new),
30891         (gst_message_new_state_changed):
30892         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30893         (gst_pad_set_checkgetrange_function),
30894         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30895         (gst_pad_set_caps), (gst_pad_check_pull_range),
30896         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30897         * gst/gstpad.h:
30898         * gst/gsttypefind.c: (gst_type_find_register):
30899         Make gst_caps_replace() work like other _replace() functions.
30900         Use _caps_replace() where possible.
30901         Make sure _message_new() initialises its field.
30902         Add gst_static_pad_template_get_caps()
30903
30904
30905 2005-04-18  Andy Wingo  <wingo@pobox.com>
30906
30907         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30908         on the peer, not the pad. I think that was a typo. Pass an extra
30909         arg to see if random access is possible. Activate the pads as
30910         PULL_RANGE if possible.
30911
30912         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30913
30914         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30915         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30916         to PROP_....
30917
30918 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30919
30920         * docs/faq/using.xml:
30921           Add note on gstreamer-properties (#154996).
30922
30923 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30924
30925         * docs/random/bbb/optional-properties:
30926           Some analysis on optional properties.
30927
30928 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30929
30930         * docs/gst/tmpl/gstelementfactory.sgml:
30931         * gst/gstelement.h:
30932         * gst/gstelementfactory.c: (gst_element_factory_init),
30933         (gst_element_factory_cleanup), (gst_element_register),
30934         (__gst_element_factory_add_static_pad_template),
30935         (gst_element_factory_get_static_pad_templates),
30936         (gst_element_factory_can_src_caps),
30937         (gst_element_factory_can_sink_caps):
30938         * gst/registries/Makefile.am:
30939         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30940         (gst_xml_registry_class_init), (gst_xml_registry_init),
30941         (gst_xml_registry_new), (gst_xml_registry_set_property),
30942         (gst_xml_registry_get_property), (get_time), (make_dir),
30943         (gst_xml_registry_get_perms_func),
30944         (plugin_times_older_than_recurse), (plugin_times_older_than),
30945         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30946         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30947         (add_to_char_array), (read_string), (read_uint), (read_enum),
30948         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30949         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30950         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30951         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30952         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30953         (gst_xml_registry_rebuild):
30954         * gst/registries/gstlibxmlregistry.h:
30955         * tools/gst-compprep.c: (main):
30956         * tools/gst-inspect.c: (print_pad_templates_info):
30957         * tools/gst-xmlinspect.c: (print_element_info):
30958           Use libxml2 for registry parsing, use staticpadtemplates in
30959           elementfactories. Makes gst_init() +/- 10x faster.
30960
30961 2005-04-12  Wim Taymans  <wim@fluendo.com>
30962
30963         * gst/base/Makefile.am:
30964         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30965         (gst_basesink_pad_getcaps), (gst_basesink_init),
30966         (gst_basesink_event), (gst_basesink_change_state):
30967         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30968         (gst_basesrc_init), (gst_basesrc_query),
30969         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30970         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30971         (gst_basesrc_check_get_range), (gst_basesrc_loop),
30972         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30973         (gst_basesrc_stop), (gst_basesrc_activate),
30974         (gst_basesrc_change_state):
30975         * gst/base/gsttypefindhelper.c: (helper_find_peek),
30976         (helper_find_suggest), (gst_type_find_helper):
30977         * gst/base/gsttypefindhelper.h:
30978         * gst/elements/Makefile.am:
30979         * gst/elements/gstelements.c:
30980         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30981         (gst_fakesink_get_times), (gst_fakesink_event),
30982         (gst_fakesink_preroll), (gst_fakesink_render):
30983         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30984         (gst_fakesrc_init), (gst_fakesrc_event_handler),
30985         (gst_fakesrc_get_property), (gst_fakesrc_create),
30986         (gst_fakesrc_start), (gst_fakesrc_stop):
30987         * gst/elements/gstfakesrc.h:
30988         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30989         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30990         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30991         (gst_filesrc_create_read), (gst_filesrc_create),
30992         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30993         (gst_filesrc_start):
30994         * gst/elements/gsttypefindelement.c:
30995         (gst_type_find_element_have_type), (gst_type_find_element_init),
30996         (start_typefinding), (stop_typefinding), (push_buffer_store),
30997         (gst_type_find_element_handle_event),
30998         (gst_type_find_element_chain),
30999         (gst_type_find_element_checkgetrange),
31000         (gst_type_find_element_getrange), (do_typefind),
31001         (gst_type_find_element_activate),
31002         (gst_type_find_element_change_state):
31003         * gst/elements/gsttypefindelement.h:
31004         * gst/gstpipeline.c: (pipeline_bus_handler):
31005         Added typefind helper.
31006         Small preroll fix in the base sink.
31007         Disable typefind code in basesrc.
31008         Crude port of typefindelement.
31009         Fakesrc cleanups.
31010
31011
31012 2005-04-11  Wim Taymans  <wim@fluendo.com>
31013
31014         * check/gst/gstbus.c: (gstbus_suite):
31015         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31016         * check/gstcheck.h:
31017           Fix up the timeout so that the test does not fail.
31018
31019 2005-04-06  Wim Taymans  <wim@fluendo.com>
31020
31021         * gst/base/README:
31022         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31023         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31024         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31025         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31026         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31027         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31028         (gst_basesrc_stop), (gst_basesrc_activate),
31029         (gst_basesrc_change_state), (basesrc_find_peek),
31030         (basesrc_find_suggest), (gst_basesrc_type_find):
31031         * gst/base/gstbasesrc.h:
31032         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31033         (gst_filesrc_class_init), (gst_filesrc_init),
31034         (gst_filesrc_finalize), (gst_filesrc_set_location),
31035         (gst_filesrc_set_property), (gst_filesrc_get_property),
31036         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31037         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31038         (gst_filesrc_create_read), (gst_filesrc_create),
31039         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31040         * gst/elements/gstfilesrc.h:
31041         * gst/gstelement.c: (gst_element_get_state_func),
31042         (gst_element_lost_state), (gst_element_pads_activate):
31043         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31044         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31045         (gst_pad_pull_range):
31046         * gst/gstpad.h:
31047         More work on the generic source base class, implement seeking,
31048         query.
31049         Make filesrc extend the base source class.
31050         Added gst_pad_set_checkgetrange_function to GstPad.
31051
31052 2005-04-06  Andy Wingo  <wingo@pobox.com>
31053
31054         * pkgconfig/gstreamer-base.pc.in:
31055         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31056
31057         * pkgconfig/Makefile.am:
31058         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31059
31060 2005-04-04  Wim Taymans  <wim@fluendo.com>
31061
31062         * gst/base/Makefile.am:
31063         * gst/base/README:
31064         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31065         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31066         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31067         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31068         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31069         (gst_basesrc_base_init), (gst_basesrc_class_init),
31070         (gst_basesrc_init), (gst_basesrc_get_formats),
31071         (gst_basesrc_get_query_types), (gst_basesrc_query),
31072         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31073         (gst_basesrc_set_property), (gst_basesrc_get_property),
31074         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31075         (gst_basesrc_loop), (gst_basesrc_activate),
31076         (gst_basesrc_change_state):
31077         * gst/base/gstbasesrc.h:
31078         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31079         (gst_fakesrc_class_init), (gst_fakesrc_init),
31080         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31081         (gst_fakesrc_get_property), (gst_fakesrc_create):
31082         * gst/elements/gstfakesrc.h:
31083         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31084         (gst_filesrc_open_file), (gst_filesrc_loop),
31085         (gst_filesrc_activate), (filesrc_find_peek),
31086         (gst_filesrc_type_find):
31087         Made base source class, make fakesrc extend it.
31088         Add comments to basesink class.
31089         Some filesrc cleanup.
31090
31091 2005-03-31  David Schleef  <ds@schleef.org>
31092
31093         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31094         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31095         expected to link against libgstreamer.
31096         * gst/base/Makefile.am: link against libgstreamer
31097         * gst/elements/Makefile.am: same
31098
31099 2005-03-31  Andy Wingo  <wingo@pobox.com>
31100
31101         * tests/instantiate/Makefile.am:
31102         * tests/instantiate/caps.c: Add test to test speed of caps copy
31103         and free.
31104
31105         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31106         GMemChunk to be fair.
31107
31108         * gst/gsttrashstack.h: Remove warning about using the fallback
31109         trash stack implementation, it's still faster than malloc.
31110
31111 2005-03-30  Andy Wingo  <wingo@pobox.com>
31112
31113         * tests/complexity.c: Add a copyright.
31114
31115 2005-03-31  Wim Taymans  <wim@fluendo.com>
31116
31117         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31118         (gst_base_transform_class_init), (gst_base_transform_init),
31119         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31120         (gst_base_transform_get_property),
31121         (gst_base_transform_sink_activate),
31122         (gst_base_transform_src_activate),
31123         (gst_base_transform_change_state):
31124         * gst/base/gstbasetransform.h:
31125         * gst/elements/gstidentity.c: (gst_identity_class_init),
31126         (gst_identity_event), (gst_identity_check_perfect),
31127         (gst_identity_transform), (gst_identity_start),
31128         (gst_identity_stop):
31129         Added start/stop methods to transform base class so subclasses 
31130         don't need to deal with state changes even.
31131
31132 2005-03-31  Wim Taymans  <wim@fluendo.com>
31133
31134         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31135         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31136         * gst/gstevent.h:
31137         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31138         (gst_pad_pull_range):
31139         Added rate to the discont event to prepare for variable speed
31140         and reverse playback.
31141
31142 2005-03-29  David Schleef  <ds@schleef.org>
31143
31144         * configure.ac:
31145         * testsuite/trigger/Makefile.am:
31146         * testsuite/trigger/trigger.c: A little example program to show
31147         how trigger-based elements can work.
31148
31149 2005-03-29  Wim Taymans  <wim@fluendo.com>
31150
31151         * gst/base/Makefile.am:
31152         * gst/base/README:
31153         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31154         (gst_basesink_base_init), (gst_basesink_class_init),
31155         (gst_basesink_pad_getcaps), (gst_basesink_init),
31156         (gst_basesink_activate), (gst_basesink_change_state):
31157         * gst/base/gstbasesink.h:
31158         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31159         (gst_base_transform_base_init), (gst_base_transform_finalize),
31160         (gst_base_transform_class_init), (gst_base_transform_init),
31161         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31162         (gst_base_transform_event), (gst_base_transform_getrange),
31163         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31164         (gst_base_transform_set_property),
31165         (gst_base_transform_get_property),
31166         (gst_base_transform_sink_activate),
31167         (gst_base_transform_src_activate),
31168         (gst_base_transform_change_state):
31169         * gst/base/gstbasetransform.h:
31170         * gst/elements/gstidentity.c: (gst_identity_finalize),
31171         (gst_identity_class_init), (gst_identity_init),
31172         (gst_identity_event), (gst_identity_check_perfect),
31173         (gst_identity_transform), (gst_identity_set_property),
31174         (gst_identity_get_property), (gst_identity_change_state):
31175         * gst/elements/gstidentity.h:
31176         * gst/gstelement.c: (gst_element_get_state_func),
31177         (gst_element_lost_state), (gst_element_pads_activate):
31178         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31179         (gst_pad_check_pull_range), (gst_pad_pull_range):
31180         * gst/gstpad.h:
31181         Simplify pad activation.
31182         Added function to check if pull_range can be performed.
31183         Error out when pulling inactive or flushing pads.
31184         Removed const from refcounted types as it does not make sense.
31185         Simplify pad templates in basesink
31186         Added base class for simple 1-to-1 transforms.
31187         Make identity subclass the base transform.
31188
31189 2005-03-29  Andy Wingo  <wingo@pobox.com>
31190
31191         * docs/libs/gstreamer-libs-overrides.txt: 
31192         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31193         really don't understand what's going on, but like whatever. I want
31194         green buildbot!
31195
31196         * docs/gst/Makefile.am:
31197         * docs/libs/Makefile.am: Dist the overrides files.
31198
31199         * check/Makefile.am (clean-local): Remove .libs directories.
31200
31201         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31202         elements to EXTRA_DIST, so po/ files are happy.
31203
31204         * po/POTFILES.in: Er, remove it here.
31205
31206         * po/POTFILES: Remove gstspider.c.
31207
31208         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31209
31210         * docs/libs/gstreamer-libs-docs.sgml: 
31211         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31212         bytestream.
31213
31214         * tests/complexity.c (main): Set the length of the preroll queue
31215         on the sinks to prevent a lockup.
31216
31217         * libs/gst/dataprotocol/Makefile.am: 
31218         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31219         the same as the one in check/gst-libs/gdp.c.
31220
31221         * po/, docs/gst/: Commit automatic changes to docs and po files.
31222
31223         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31224         the versioned libgstbase.
31225
31226         * check/Makefile.am: Depend on an unversioned gst-register, seems
31227         to make autoconf happier.
31228
31229         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31230
31231 2005-03-28  Wim Taymans  <wim@fluendo.com>
31232
31233         * configure.ac:
31234         * docs/design/part-gstelement.txt:
31235         * docs/design/part-negotiation.txt:
31236         * docs/design/part-preroll.txt:
31237         * docs/design/part-scheduling.txt:
31238         * docs/design/part-states.txt:
31239         * gst/Makefile.am:
31240         * gst/base/Makefile.am:
31241         * gst/base/README:
31242         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31243         (gst_basesink_base_init), (gst_basesink_class_init),
31244         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31245         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31246         (gst_basesink_set_pad_functions),
31247         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31248         (gst_basesink_set_property), (gst_basesink_get_property),
31249         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31250         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31251         (gst_basesink_preroll_queue_push),
31252         (gst_basesink_preroll_queue_empty),
31253         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31254         (gst_basesink_event), (gst_basesink_get_times),
31255         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31256         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31257         (gst_basesink_loop), (gst_basesink_activate),
31258         (gst_basesink_change_state):
31259         * gst/base/gstbasesink.h:
31260         * gst/elements/Makefile.am:
31261         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31262         (gst_fakesink_class_init), (gst_fakesink_init),
31263         (gst_fakesink_set_property), (gst_fakesink_get_property),
31264         (gst_fakesink_get_times), (gst_fakesink_event),
31265         (gst_fakesink_preroll), (gst_fakesink_render),
31266         (gst_fakesink_change_state):
31267         * gst/elements/gstfakesink.h:
31268         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31269         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31270         * gst/gstelement.c: (gst_element_add_pad),
31271         (gst_element_get_state_func), (gst_element_abort_state),
31272         (gst_element_commit_state), (gst_element_lost_state),
31273         (gst_element_set_state), (gst_element_pads_activate):
31274         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31275         * gst/gstpipeline.c: (gst_pipeline_send_event),
31276         (gst_pipeline_change_state):
31277         Added state change code.
31278         Added/updated docs.
31279         Added sink base class, make fakesink extend the base class.
31280         Small cleanups in GstPipeline.
31281
31282 2005-03-26  David Schleef  <ds@schleef.org>
31283
31284         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31285         is broken and should be implemented in a different library.
31286         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31287         * gst/gst.h: remove gstcpu.h
31288         * gst/gstcpu.c: remove
31289         * gst/gstcpu.h: remove
31290         * gst/Makefile.am.future: Remove this file.  It's ancient.
31291
31292 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31293
31294         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31295         (gst_bin_send_event):
31296           Add default event/set_manager handlers. The set_manager handler
31297           takes care that the manager is distributed over kids that were
31298           already in the bin before the manager was set. The event handler
31299           is a utility virtual function that sends the event over all sinks,
31300           so that gst_element_send_event (bin, event); has the expected
31301           behaviour.
31302         * gst/gstpad.c: (gst_pad_event_default):
31303           Re-install default event handling for discontinuities, so that
31304           seeking works without requiring hacks in applications or extra
31305           code in sinks.
31306         * gst/gstpipeline.c: (gst_pipeline_class_init),
31307         (gst_pipeline_send_event):
31308           Half hack, half utility: set a pipeline to PAUSED for seek events,
31309           since that is the only way we can guarantee a/v sync. Means that
31310           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31311           and it "just works".
31312
31313 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31314
31315         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31316           Lock/unlock mismatch.
31317
31318 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31319
31320         * docs/faq/gst-uninstalled:
31321           add gst-plugins-base
31322         * docs/gst/Makefile.am:
31323           don't error out until docs are fixed
31324         * docs/gst/gstreamer.types:
31325           remove thread
31326
31327 2005-03-22  Wim Taymans  <wim@fluendo.com>
31328
31329         * check/Makefile.am:
31330         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31331         * gst/gststructure.c: (gst_structure_set_valist),
31332         (gst_structure_copy_conditional):
31333         Activated more tests.
31334         Added message test.
31335         Added G_TYPE_POINTER to GstStructure.
31336         
31337
31338 2005-03-22  Wim Taymans  <wim@fluendo.com>
31339
31340         * docs/design/part-TODO.txt:
31341         * docs/design/part-events.txt:
31342         * docs/design/part-gstbin.txt:
31343         * docs/design/part-gstbus.txt:
31344         * docs/design/part-gstpipeline.txt:
31345         * docs/design/part-messages.txt:
31346         * gst/gstbus.c:
31347         * gst/gstmessage.c:
31348         Docs updates
31349
31350 2005-03-21  Wim Taymans  <wim@fluendo.com>
31351
31352         * gst/gstbus.c: (gst_bus_post):
31353         Fix copy-and-paste error.
31354
31355 2005-03-21  Wim Taymans  <wim@fluendo.com>
31356
31357         * check/Makefile.am:
31358         * gst/Makefile.am:
31359         * gst/elements/Makefile.am:
31360         * gst/elements/gstelements.c:
31361         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31362         (gst_fakesink_event), (gst_fakesink_chain):
31363         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31364         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31365         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31366         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31367         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31368         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31369         (gst_fakesrc_loop), (gst_fakesrc_activate),
31370         (gst_fakesrc_change_state):
31371         * gst/elements/gstfakesrc.h:
31372         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31373         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31374         (gst_filesrc_open_file), (gst_filesrc_loop),
31375         (gst_filesrc_activate), (gst_filesrc_change_state),
31376         (filesrc_find_peek), (filesrc_find_suggest),
31377         (gst_filesrc_type_find):
31378         * gst/elements/gstidentity.c: (gst_identity_finalize),
31379         (gst_identity_class_init), (gst_identity_init),
31380         (gst_identity_proxy_getcaps), (identity_queue_push),
31381         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31382         (gst_identity_getrange), (gst_identity_chain),
31383         (gst_identity_sink_loop), (gst_identity_src_loop),
31384         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31385         (gst_identity_set_property), (gst_identity_get_property),
31386         (gst_identity_change_state):
31387         * gst/elements/gstidentity.h:
31388         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31389         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31390         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31391         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31392         (gst_tee_sink_activate):
31393         * gst/elements/gsttee.h:
31394         * gst/gst.c: (gst_register_core_elements), (init_post):
31395         * gst/gst.h:
31396         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31397         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31398         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31399         (gst_bin_change_state):
31400         * gst/gstbin.h:
31401         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31402         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31403         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31404         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31405         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31406         (bus_watch_callback), (bus_watch_destroy),
31407         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31408         (poll_timeout), (gst_bus_poll):
31409         * gst/gstbus.h:
31410         * gst/gstcaps.h:
31411         * gst/gstdata.h:
31412         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31413         (gst_element_post_message), (gst_element_message_full),
31414         (gst_element_get_state_func), (gst_element_get_state),
31415         (gst_element_abort_state), (gst_element_commit_state),
31416         (gst_element_lost_state), (gst_element_set_state),
31417         (gst_element_pads_activate), (gst_element_change_state),
31418         (gst_element_dispose), (gst_element_set_manager_func),
31419         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31420         (gst_element_set_manager), (gst_element_get_manager),
31421         (gst_element_set_bus), (gst_element_get_bus),
31422         (gst_element_set_scheduler), (gst_element_get_scheduler):
31423         * gst/gstelement.h:
31424         * gst/gstevent.c: (gst_event_new_segment_seek),
31425         (gst_event_new_flush):
31426         * gst/gstevent.h:
31427         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31428         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31429         (gst_message_new_eos), (gst_message_new_error),
31430         (gst_message_new_warning), (gst_message_new_tag),
31431         (gst_message_new_state_changed), (gst_message_new_application),
31432         (gst_message_get_structure), (gst_message_parse_tag),
31433         (gst_message_parse_state_changed), (gst_message_parse_error),
31434         (gst_message_parse_warning):
31435         * gst/gstmessage.h:
31436         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31437         (gst_real_pad_set_property), (gst_pad_set_active),
31438         (gst_pad_is_active), (gst_pad_set_blocked_async),
31439         (gst_pad_set_blocked), (gst_pad_is_blocked),
31440         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31441         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31442         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31443         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31444         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31445         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31446         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31447         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31448         (gst_pad_set_caps), (gst_pad_configure_sink),
31449         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31450         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31451         (gst_real_pad_dispose), (gst_real_pad_finalize),
31452         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31453         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31454         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31455         * gst/gstpad.h:
31456         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31457         (pipeline_bus_handler), (gst_pipeline_change_state),
31458         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31459         * gst/gstpipeline.h:
31460         * gst/gstprobe.h:
31461         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31462         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31463         (gst_queue_link_src), (gst_queue_bufferalloc),
31464         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31465         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31466         (gst_queue_loop), (gst_queue_handle_src_event),
31467         (gst_queue_handle_src_query), (gst_queue_src_activate),
31468         (gst_queue_change_state):
31469         * gst/gstqueue.h:
31470         * gst/gstscheduler.c: (gst_scheduler_init),
31471         (gst_scheduler_dispose), (gst_scheduler_create_task),
31472         (gst_scheduler_factory_create):
31473         * gst/gstscheduler.h:
31474         * gst/gststructure.c: (gst_structure_get_type),
31475         (gst_structure_copy_conditional):
31476         * gst/gststructure.h:
31477         * gst/gsttaginterface.h:
31478         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31479         (gst_task_init), (gst_task_dispose), (gst_task_create),
31480         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31481         (gst_task_pause):
31482         * gst/gsttask.h:
31483         * gst/gstthread.c:
31484         * gst/gstthread.h:
31485         * gst/gsttypes.h:
31486         * gst/schedulers/Makefile.am:
31487         * gst/schedulers/cothreads_compat.h:
31488         * gst/schedulers/entryscheduler.c:
31489         * gst/schedulers/faircothreads.c:
31490         * gst/schedulers/faircothreads.h:
31491         * gst/schedulers/fairscheduler.c:
31492         * gst/schedulers/gstbasicscheduler.c:
31493         * gst/schedulers/gstoptimalscheduler.c:
31494         * gst/schedulers/gthread-cothreads.h:
31495         * gst/schedulers/threadscheduler.c:
31496         (gst_thread_scheduler_task_get_type),
31497         (gst_thread_scheduler_task_class_init),
31498         (gst_thread_scheduler_task_init),
31499         (gst_thread_scheduler_task_start),
31500         (gst_thread_scheduler_task_stop),
31501         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31502         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31503         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31504         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31505         (plugin_init):
31506         * libs/gst/Makefile.am:
31507         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31508         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31509         (gst_file_pad_parent_set):
31510         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31511         (gst_dp_event_from_packet):
31512         * tests/complexity.c: (main):
31513         * tests/mass_elements.c: (main):
31514         * testsuite/states/locked.c: (message_received), (main):
31515         * testsuite/states/parent.c: (main):
31516         * tools/gst-inspect.c: (print_element_flag_info),
31517         (print_implementation_info), (print_pad_info):
31518         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31519         (main):
31520         * tools/gst-md5sum.c: (event_loop), (main):
31521         * tools/gst-typefind.c: (main):
31522         * tools/gst-xmlinspect.c: (print_element_info):
31523         Next big merge.
31524         Added GstBus for mainloop integration.
31525         Added GstMessage for sending notifications on the bus.
31526         Added GstTask as an abstraction for pipeline entry points.
31527         Removed GstThread.
31528         Removed Schedulers.
31529         Simplified GstQueue for multithreaded core.
31530         Made _link threadsafe, removed old capsnego.
31531         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31532         Added pad blocking functions.
31533         Reworked scheduling functions in GstPad to prepare for
31534         scheduling updates soon.
31535         Moved events out of data stream.
31536         Simplified GstEvent types.
31537         Added return values to push/pull.
31538         Removed clocking from GstElement.
31539         Added prototypes for state change function for next merge.
31540         Removed iterate from bins and state change management.
31541         Fixed some elements, disabled others for now.
31542         Fixed -inspect and -launch.
31543         Added check for GstBus.
31544
31545 2005-03-10  Wim Taymans  <wim@fluendo.com>
31546
31547         * docs/design/part-MT-refcounting.txt:
31548         * docs/design/part-clocks.txt:
31549         * docs/design/part-gstelement.txt:
31550         * docs/design/part-gstobject.txt:
31551         * docs/design/part-standards.txt:
31552         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31553         (gst_bin_remove_func), (gst_bin_remove):
31554         * gst/gstbin.h:
31555         * gst/gstbuffer.c:
31556         * gst/gstcaps.h:
31557         * testsuite/clock/clock1.c: (main):
31558         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31559         (main):
31560         * testsuite/dlopen/loadgst.c: (do_test):
31561         * testsuite/refcounting/bin.c: (add_remove_test1),
31562         (add_remove_test2), (main):
31563         * testsuite/refcounting/element.c: (main):
31564         * testsuite/refcounting/element_pad.c: (main):
31565         * testsuite/refcounting/pad.c: (main):
31566         * tools/gst-launch.c: (sigint_handler_sighandler):
31567         * tools/gst-typefind.c: (main):
31568         Doc updates.
31569         Added doc about clock.
31570         removed gst_bin_iterate_recurse_up(), marked methods
31571         for removal.
31572         Fix more testsuites.
31573
31574 2005-03-09  Wim Taymans  <wim@fluendo.com>
31575
31576         * gst/gstpad.c: (gst_pad_get_direction),
31577         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31578         (gst_pad_collect_valist):
31579         * testsuite/bins/interface.c: (main):
31580         * testsuite/caps/audioscale.c: (test_caps):
31581         * testsuite/caps/caps.c: (test1), (test2), (test3):
31582         * testsuite/caps/deserialize.c: (main):
31583         * testsuite/caps/enumcaps.c: (main):
31584         * testsuite/caps/filtercaps.c: (main):
31585         * testsuite/caps/intersect2.c: (main):
31586         * testsuite/caps/random.c: (main):
31587         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31588         * testsuite/caps/sets.c: (check_caps):
31589         * testsuite/caps/simplify.c: (check_caps), (main):
31590         * testsuite/caps/subtract.c: (check_caps):
31591         Fix _pad_get_direction wrt ghostpads.
31592         Fix caps testsuite.
31593
31594 2005-03-09  Wim Taymans  <wim@fluendo.com>
31595
31596         * check/Makefile.am:
31597         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31598         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31599         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31600         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31601         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31602         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31603         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31604         (bin_element_is_sink), (gst_bin_iterate_sinks),
31605         (gst_bin_iterate_all_by_interface):
31606         * gst/gstbin.h:
31607         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31608         (gst_element_change_state), (gst_element_dispose),
31609         (gst_element_finalize), (gst_element_set_loop_function):
31610         * gst/gstelement.h:
31611         * gst/gstiterator.c: (find_custom_fold_func):
31612         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31613         (gst_pad_collectv), (gst_pad_collect_valist),
31614         (gst_pad_template_new):
31615         * gst/gstpipeline.c: (gst_pipeline_class_init),
31616         (gst_pipeline_dispose), (gst_pipeline_set_property),
31617         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31618         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31619         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31620         * gst/gstutils.h:
31621         * gst/schedulers/entryscheduler.c:
31622         * gst/schedulers/gstbasicscheduler.c:
31623         (gst_basic_scheduler_cothreaded_chain),
31624         (gst_basic_scheduler_chain_add_element):
31625         * testsuite/bins/interface.c: (main):
31626         Added GstBin test.
31627         Added GstSystemClock test.
31628         Implemented clock distribution code in GstBin.
31629         Implemented iterate sinks method for future use.
31630         Rearranged gstelement.h
31631         Fix GstIterator comparison bug.
31632         Moved some code to GstPipeline, mostly clocking related.
31633
31634 2005-03-09  Wim Taymans  <wim@fluendo.com>
31635
31636         * configure.ac:
31637         * gst/gst_private.h:
31638         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31639         (gst_bin_remove_func), (gst_bin_remove),
31640         (gst_bin_get_by_name_recurse_up):
31641         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31642         (gst_clock_id_compare_func), (gst_clock_id_wait),
31643         (gst_clock_id_wait_async), (gst_clock_init),
31644         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31645         * gst/gstelement.h:
31646         * gst/gstinfo.c: (_gst_debug_init):
31647         * gst/gstobject.h:
31648         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31649         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31650         * gst/gstpad.h:
31651         Bump version number, we're now 0.9.0
31652         Add future debugging category.
31653         Fix NULL _unref() in _get_by_name_recurse_up
31654         Rearrange gstpad.h.
31655         Update some docs.
31656
31657 2005-03-08  Wim Taymans  <wim@fluendo.com>
31658
31659         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31660         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31661         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31662         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31663         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31664         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31665         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31666         * gst/elements/gstidentity.c: (gst_identity_class_init):
31667         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31668         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31669         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31670         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31671         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31672         (gst_tee_link):
31673         * gst/gstelement.c: (gst_element_class_init),
31674         (gst_element_base_class_init), (gst_element_init),
31675         (gst_element_get_random_pad), (gst_element_wait_state_change),
31676         (gst_element_change_state), (gst_element_dispose),
31677         (gst_element_finalize), (gst_element_set_loop_function):
31678         * gst/gstelement.h:
31679         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31680         * gst/gstthread.c: (gst_thread_class_init),
31681         (gst_thread_release_children_locks), (gst_thread_change_state):
31682         * gst/schedulers/gstbasicscheduler.c:
31683         (gst_basic_scheduler_loopfunc_wrapper),
31684         (gst_basic_scheduler_chain_wrapper),
31685         (gst_basic_scheduler_src_wrapper),
31686         (gst_basic_scheduler_remove_element):
31687         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31688         Remove threadsafe properties. Fix elements because GObject
31689         complains when installing a property before declaring a
31690         set/get_property handler.
31691         Rearrange gstelement.h file, use STATE macros for state locks.
31692         Free mutexes in the finalize method instead of dispose.
31693
31694 2005-03-08  Wim Taymans  <wim@fluendo.com>
31695
31696         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31697         * gst/gstthread.c: (gst_thread_release_children_locks):
31698         Added parentage check.
31699         Fix build og GstThread again.
31700
31701 2005-03-08  Wim Taymans  <wim@fluendo.com>
31702
31703         * docs/design/part-MT-refcounting.txt:
31704         * docs/design/part-conventions.txt:
31705         * docs/design/part-gstobject.txt:
31706         * docs/design/part-relations.txt:
31707         * docs/design/part-standards.txt:
31708         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31709         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31710         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31711         (gst_bin_iterate_all_by_interface):
31712         * gst/gstbuffer.h:
31713         * gst/gstclock.h:
31714         * gst/gstelement.c: (gst_element_class_init),
31715         (gst_element_change_state), (gst_element_set_loop_function):
31716         * gst/gstelement.h:
31717         * gst/gstiterator.c:
31718         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31719         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31720         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31721         (gst_object_set_parent), (gst_object_unparent),
31722         (gst_object_check_uniqueness):
31723         * gst/gstobject.h:
31724         Docs updates, clean up some headers.
31725
31726 2005-03-07  Wim Taymans  <wim@fluendo.com>
31727
31728         * check/.cvsignore:
31729         * check/Makefile.am:
31730         * check/gst-libs/.cvsignore:
31731         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31732         * check/gst/.cvsignore:
31733         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31734         (START_TEST), (gstbus_suite), (main):
31735         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31736         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31737         (gst_data_suite), (main):
31738         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31739         (add_fold_func), (gstiterator_suite), (main):
31740         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31741         (thread_name_object), (thread_name_object_default),
31742         (gst_object_name_compare), (gst_object_suite), (main):
31743         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31744         (gst_pad_suite), (main):
31745         * check/gstcheck.c: (gst_check_log_message_func),
31746         (gst_check_log_critical_func), (gst_check_init):
31747         * check/gstcheck.h:
31748         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31749         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31750         Added checks.
31751
31752 2005-03-07  Wim Taymans  <wim@fluendo.com>
31753
31754         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31755         (gst_list_iterator_next), (gst_list_iterator_resync),
31756         (gst_list_iterator_free), (gst_iterator_new_list),
31757         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31758         (gst_iterator_free), (gst_iterator_push), (filter_next),
31759         (filter_resync), (filter_uninit), (filter_free),
31760         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31761         (gst_iterator_foreach), (find_custom_fold_func),
31762         (gst_iterator_find_custom):
31763         * gst/gstiterator.h:
31764         Added missing files.
31765
31766 2005-03-07  Wim Taymans  <wim@fluendo.com>
31767
31768         * Makefile.am:
31769         * configure.ac:
31770         * docs/design/part-MT-refcounting.txt:
31771         * docs/design/part-conventions.txt:
31772         * docs/design/part-gstobject.txt:
31773         * docs/design/part-relations.txt:
31774         * examples/mixer/mixer.c: (main):
31775         * examples/thread/thread.c: (eos), (main):
31776         * gst/Makefile.am:
31777         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31778         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31779         (gst_spider_plug_from_srcpad):
31780         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31781         (gst_spider_identity_change_state),
31782         (gst_spider_identity_sink_loop_type_finding):
31783         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31784         * gst/elements/gstidentity.c: (gst_identity_init):
31785         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31786         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31787         * gst/elements/gsttypefindelement.c: (free_entry):
31788         * gst/gst.c:
31789         * gst/gst.h:
31790         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31791         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31792         (gst_bin_set_index), (gst_bin_set_element_sched),
31793         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31794         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31795         (gst_bin_iterate_elements), (iterate_child_recurse),
31796         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31797         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31798         (compare_interface), (gst_bin_get_by_interface),
31799         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31800         * gst/gstbin.h:
31801         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31802         (gst_buffer_default_free), (gst_buffer_default_copy),
31803         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31804         (gst_buffer_create_sub):
31805         * gst/gstbuffer.h:
31806         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31807         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31808         (gst_caps_unref), (gst_static_caps_get),
31809         (gst_caps_remove_and_get_structure), (gst_caps_append),
31810         (gst_caps_append_structure), (gst_caps_remove_structure),
31811         (gst_caps_copy_nth), (gst_caps_set_simple),
31812         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31813         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31814         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31815         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31816         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31817         (gst_caps_structure_figure_out_union),
31818         (gst_caps_switch_structures), (gst_caps_do_simplify),
31819         (gst_caps_replace), (gst_caps_from_string),
31820         (gst_caps_copy_conditional):
31821         * gst/gstcaps.h:
31822         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31823         (_gst_clock_id_free), (gst_clock_id_unref),
31824         (gst_clock_id_compare_func), (gst_clock_id_wait),
31825         (gst_clock_id_wait_async), (gst_clock_class_init),
31826         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31827         (gst_clock_get_time), (gst_clock_set_time_adjust),
31828         (gst_clock_set_property), (gst_clock_get_property):
31829         * gst/gstclock.h:
31830         * gst/gstcompat.h:
31831         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31832         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31833         * gst/gstdata.h:
31834         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31835         (gst_element_requires_clock), (gst_element_provides_clock),
31836         (gst_element_set_clock), (gst_element_clock_wait),
31837         (gst_element_wait), (gst_element_set_time_delay),
31838         (gst_element_is_indexable), (gst_element_add_pad),
31839         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31840         (pad_compare_name), (gst_element_get_static_pad),
31841         (gst_element_request_pad), (gst_element_get_request_pad),
31842         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31843         (gst_element_class_get_pad_template_list),
31844         (gst_element_class_get_pad_template), (gst_element_error_func),
31845         (gst_element_get_random_pad), (gst_element_get_event_masks),
31846         (gst_element_send_event), (gst_element_seek),
31847         (gst_element_get_query_types), (gst_element_query),
31848         (gst_element_get_formats), (gst_element_convert),
31849         (gst_element_is_locked_state), (gst_element_set_locked_state),
31850         (gst_element_sync_state_with_parent), (gst_element_change_state),
31851         (gst_element_finalize), (gst_element_yield),
31852         (gst_element_interrupt), (gst_element_set_scheduler),
31853         (gst_element_get_scheduler), (gst_element_set_loop_function):
31854         * gst/gstelement.h:
31855         * gst/gstevent.h:
31856         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31857         (gst_format_get_by_nick), (gst_format_get_details),
31858         (gst_format_iterate_definitions):
31859         * gst/gstformat.h:
31860         * gst/gstindex.c: (gst_index_gtype_resolver):
31861         * gst/gstinfo.c:
31862         * gst/gstinfo.h:
31863         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31864         (gst_mem_chunk_free):
31865         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31866         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31867         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31868         (gst_object_dispatch_properties_changed),
31869         (gst_object_set_name_default), (gst_object_set_name),
31870         (gst_object_get_name), (gst_object_set_name_prefix),
31871         (gst_object_get_name_prefix), (gst_object_set_parent),
31872         (gst_object_get_parent), (gst_object_unparent),
31873         (gst_object_check_uniqueness), (gst_object_save_thyself),
31874         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31875         (gst_object_set_property), (gst_object_get_property),
31876         (gst_object_get_path_string):
31877         * gst/gstobject.h:
31878         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31879         (gst_real_pad_init), (gst_real_pad_get_property),
31880         (gst_pad_custom_new), (gst_pad_get_direction),
31881         (gst_pad_set_active), (gst_pad_is_active),
31882         (gst_pad_set_event_function), (gst_pad_is_linked),
31883         (gst_pad_link_free), (gst_pad_link_intersect),
31884         (gst_pad_link_fixate), (gst_pad_set_caps),
31885         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31886         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31887         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31888         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31889         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31890         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31891         (gst_pad_realize), (gst_pad_get_allowed_caps),
31892         (gst_real_pad_dispose), (gst_real_pad_finalize),
31893         (gst_pad_collectv), (gst_pad_collect_valist),
31894         (gst_pad_template_dispose), (gst_pad_template_new),
31895         (gst_pad_get_internal_links):
31896         * gst/gstpad.h:
31897         * gst/gstpipeline.c: (gst_pipeline_dispose),
31898         (gst_pipeline_change_state):
31899         * gst/gstpipeline.h:
31900         * gst/gstplugin.c:
31901         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31902         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31903         * gst/gstpluginfeature.h:
31904         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31905         * gst/gstquery.c: (_gst_query_type_initialize),
31906         (gst_query_type_register), (gst_query_type_get_by_nick),
31907         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31908         * gst/gstquery.h:
31909         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31910         * gst/gstscheduler.c: (gst_scheduler_add_element),
31911         (gst_scheduler_factory_create):
31912         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31913         (gst_structure_free), (gst_structure_set_name),
31914         (gst_structure_id_set_value), (gst_structure_set_value),
31915         (gst_structure_set_valist), (gst_structure_remove_field),
31916         (gst_structure_remove_fields),
31917         (gst_structure_remove_fields_valist),
31918         (gst_structure_remove_all_fields), (gst_structure_foreach),
31919         (gst_structure_map_in_place),
31920         (gst_caps_structure_fixate_field_nearest_int),
31921         (gst_caps_structure_fixate_field_nearest_double):
31922         * gst/gststructure.h:
31923         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31924         (gst_system_clock_init), (gst_system_clock_dispose),
31925         (gst_system_clock_async_thread),
31926         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31927         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31928         * gst/gstsystemclock.h:
31929         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31930         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31931         * gst/gsttaginterface.c:
31932         * gst/gstthread.c: (gst_thread_dispose),
31933         (gst_thread_release_children_locks), (gst_thread_change_state),
31934         (gst_thread_main_loop):
31935         * gst/gsttrashstack.h:
31936         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31937         * gst/gsttypes.h:
31938         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31939         (gst_element_request_pad), (gst_element_get_pad_from_template),
31940         (gst_element_request_compatible_pad),
31941         (gst_element_get_compatible_pad_filtered),
31942         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31943         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31944         (gst_element_link_many), (gst_element_link),
31945         (gst_element_link_pads), (gst_element_unlink_pads),
31946         (gst_element_unlink_many), (gst_element_unlink),
31947         (gst_pad_can_link_filtered), (gst_pad_can_link),
31948         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31949         (gst_object_default_error), (gst_bin_add_many),
31950         (gst_bin_remove_many), (gst_element_populate_std_props),
31951         (gst_element_class_install_std_props), (gst_buffer_merge),
31952         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31953         (link_fold_func), (gst_pad_proxy_setcaps):
31954         * gst/gstutils.h:
31955         * gst/gstvalue.c: (gst_value_deserialize_string):
31956         * gst/parse/grammar.y:
31957         * gst/schedulers/gstbasicscheduler.c:
31958         (gst_basic_scheduler_cothreaded_chain),
31959         (gst_basic_scheduler_chain_recursive_add),
31960         (gst_basic_scheduler_pad_link):
31961         * gst/schedulers/gstoptimalscheduler.c:
31962         (get_group_schedule_function),
31963         (gst_opt_scheduler_state_transition),
31964         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31965         * libs/gst/bytestream/bytestream.c:
31966         * libs/gst/dataprotocol/dataprotocol.c:
31967         (gst_dp_header_from_buffer):
31968         * po/nb.po:
31969         * po/ru.po:
31970         * tests/threadstate/threadstate2.c: (eos):
31971         * tools/gst-compprep.c: (main):
31972         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31973         (print_pad_info), (print_children_info):
31974         * tools/gst-launch.c: (idle_func), (main):
31975         * tools/gst-md5sum.c: (idle_func), (main):
31976         * tools/gst-xmlinspect.c: (print_element_info):
31977         First THREADED backport attempt, focusing on adding locks and
31978         making sure the API is threadsafe. Needs more work. More docs
31979         follow this week.
31980
31981 2005-02-24  Andy Wingo  <wingo@pobox.com>
31982
31983         * tests/bench-complexity.scm:
31984         * tests/complexity.gnuplot: New files, good for running complexity
31985         benchmarks.
31986
31987         * tests/Makefile.am:
31988         * tests/complexity.c: New test, sets up N elements, at each level
31989         teeing into M streams per element. Eeeenteresting.
31990
31991         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31992         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31993         running bench-mass_elements.scm.
31994
31995         * tests/bench-mass_elements.scm: New script, runs mass_elements
31996         for various numbers of identities, outputting the results to a
31997         file. Requires guile 1.6. Just for testing.
31998
31999 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32000
32001         * gst/schedulers/fairscheduler.c:
32002           compile with debug disabled
32003
32004 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32005
32006         * configure.ac:
32007           hunting season on 0.9 is now OPEN