configure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2
3         * configure.ac:
4         Apparently AC_CONFIG_MACRO_DIR breaks when using more
5         than one macro directory, reverting last change.
6
7 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
8
9         * configure.ac:
10         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
11         our M4 macros.
12
13 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
14
15         Patch by: Cygwin Ports maintainer
16                   <yselkowitz at users dot sourceforge dot net>
17
18         * autogen.sh:
19         * configure.ac:
20         Require gettext 0.17 because older versions don't mix with libtool
21         2.2. At build time an older gettext version will still work.
22         Fixes bug #556091.
23
24 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
25
26         Patch by: 이문형 <iwings at gmail dot com>
27
28         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
29         Adds support for FD_CONNECT event (win32). See #562258.
30
31 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
32
33         * libs/gst/base/gstbasesink.c:
34           Turn comment into gtk-doc comment.
35
36 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
37
38         * libs/gst/base/gstbasetransform.c:
39         (gst_base_transform_acceptcaps):
40         Revert quick accepcaps attempt, it's not fully equivalent to the old
41         behaviour and thus causes regressions.
42
43 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
44
45         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
46         Fix memory leak.
47
48 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
49
50         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
51
52         * gst/gstregistry.c: (gst_registry_scan_path_level):
53         Reduce the number of stat() calls for every file from three times
54         to one time. Fixes bug #560360.
55
56 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
57
58         * libs/gst/base/gstbasetransform.c:
59         (gst_base_transform_acceptcaps):
60         Rename a variable to make the code clearer.
61
62 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
63
64         * plugins/elements/gstidentity.c:
65         Don't warning on offset==-1. Taken from _check_imperfect_offset().
66
67 2008-11-21  Michael Smith <msmith@songbirdnest.com>
68
69         * plugins/elements/gstfilesrc.c:
70           Check for localhost in URI was backwards, fix it. Fixes unit test.
71
72 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
73
74         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
75         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
76         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
77         Add beginnings of a more optimized acceptcaps function than the default
78         core one.
79
80 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
81
82         * gst/gstpad.c: (gst_pad_accept_caps):
83         Avoid getting the acceptcaps function too early.
84
85 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
86
87         * tools/gst-launch.c: (event_loop):
88         Make gst-launch handle LATENCY messages and make it recalculate the
89         latency.
90
91 2008-11-20  Michael Smith <msmith@songbirdnest.com>
92
93         * plugins/elements/gstfilesrc.c:
94           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
95           out own slightly incorrect version. Fixes use of some paths on
96           win32.
97
98 2008-11-20  Michael Smith <msmith@songbirdnest.com>
99
100         * gst/gstregistrybinary.c:
101           In win32 codepath, if we fail to write the registry, create the
102           directory for it and try again, matching the behaviour in non-win32
103           codepaths.
104
105 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
106
107         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
108         Changing the render delay changes the latency and so we must post a
109         latency message.
110
111 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
112
113         * gst/gstquery.c:
114         * gst/gstquery.h:
115         Add GstQueryType for custom queries instead of having to use the
116         not-so-very-convenient registration infrastructure to register new
117         types.
118
119 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
120
121         Patch by: Andrew Feren <acferen at yahoo dot com>
122
123         * gst/gstobject.c: (gst_object_default_deep_notify):
124         Unref the GEnumClass after usage again. Fixes bug #561501.
125
126 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
127
128         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
129         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
130         (gst_bin_change_state_func):
131         * gst/gstbin.h:
132         Add do-latency signal with the old default fallback implementation. This
133         allows for custom latency calculations for when the default is not
134         sufficient.
135         API: GstBin::do-latency signal.
136
137 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
138
139         * win32/common/libgstreamer.def:
140         Add new symbols to .def file.
141
142 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
143
144         * docs/gst/gstreamer-sections.txt:
145         * gst/gstbin.c: (gst_bin_recalculate_latency),
146         (gst_bin_change_state_func):
147         * gst/gstbin.h:
148         Add method to recalculate and redistribute the latency on a bin.
149         API: gst_bin_recalculate_latency().
150
151 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
152
153         * gst/gstbuffer.h:
154         Document the free_func.
155
156 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
157
158         * libs/gst/controller/gstinterpolation.c:
159         * libs/gst/controller/gstlfocontrolsource.c:
160         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
161         as it is mapped to a cast on non-win32 platforms.
162
163 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
164
165         * libs/gst/controller/gstcontroller.c:
166         * libs/gst/controller/gstcontrollerprivate.h:
167           Keep last-value and only call set_property if value has changed. This
168           supresses all the g_object_notifies we would trigger otherwise. It
169           also allows the user to chage the value while there is no controller
170           change.
171
172 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
173
174         * gst/gstvalue.c:
175           Don't crash if either of the string GValues is empty.
176
177 2008-11-17  Andy Wingo  <wingo@pobox.com>
178
179         * tools/gst-inspect.c (print_all_uri_handlers): New function,
180         prints a summary of what URI schemes are supported by what
181         elements.
182         (main): Plumb in support for --uri-handlers or -u, and fix the
183         argc check for -a and -u.
184
185 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
186
187         * gst/gstutils.h:
188         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
189         conversion functions.
190
191 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
192
193         * gst/gstbuffer.c: (gst_buffer_finalize):
194         Avoid costly typechecking for trivially correct pointers.
195
196         * gst/gstpoll.c: (gst_poll_wait):
197         Add some G_LIKELY here and there.
198
199         * libs/gst/base/gstadapter.c: (gst_adapter_push):
200         Add some debug info.
201
202 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
203
204         * docs/random/wtay/poll-timeout:
205         Small tweaks.
206
207 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
208
209         * tests/old/testsuite/caps/intersection.c: (main):
210         * tests/old/testsuite/plugin/loading.c: (main):
211         Remove references to deprecated API g_mem_chunk*.
212         Fixes #560442.
213
214 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
215
216         * tools/gst-inspect.c: (main):
217         Add --plugin option. Fixes #560301.
218
219 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
220
221         * docs/random/wtay/poll-timeout:
222         Quick braindump for a possible (not totally verified) atomic case.
223
224 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
225
226         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
227         (gst_registry_binary_initialize_magic),
228         (gst_registry_binary_write_cache),
229         (gst_registry_binary_check_magic):
230         * gst/gstregistrybinary.h:
231         Don't write and check a CRC for the binary registry file. It's
232         guaranteed that the registry is completely written (it's first written
233         to a temporary file and then moved) and if the registry was corrupted
234         by some hardware failure we would have bigger problems.
235
236         Bump binary registry version to 0.10.21.1 for this as it's an
237         incompatible change and to ensure that the registry gets rebuild
238         after the update.
239
240         This saves some milliseconds for reading/writing the registry.
241         Fixes bug #560399.
242
243 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
244
245         * docs/random/wtay/poll-timeout:
246         Some pseudo code for how we could implement clock timeouts with GstPoll.
247
248 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
249
250         * plugins/elements/gstfilesink.c:
251           Update Author string to match others.
252
253 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
254
255         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
256         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
257         being fixed and inline the trivial check.
258
259 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
260
261         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
262         (gst_caps_merge_structure), (gst_caps_get_structure),
263         (gst_caps_copy_nth), (gst_caps_set_simple),
264         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
265         (gst_caps_is_equal_fixed), (gst_caps_intersect),
266         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
267         (gst_caps_to_string):
268         Callgrind micro optimisations.
269         Avoid array bounds checks and force inline of trivial function.
270
271         * gst/gstobject.c: (gst_object_set_name_default):
272         -1 is equivalent to letting glib to the strlen but then there is more
273         room for optimisations and it's not our fault.
274
275         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
276         no need to clear the array, we're cool.
277
278         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
279         The most common _is_fixed() check is done on fundamental glib base
280         types so we check this first instead of doing a huge amount of
281         useless GST_TYPE_ARRAY calls.
282
283 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
284
285         * gst/gstevent.h:
286         Add a SKIP seek flag for use with advanced trickmodes.
287         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
288
289 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
290
291         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
292         No need to memset, we can clear the value ourselves.
293
294         * gst/gstvalue.c: (gst_type_is_fixed),
295         (gst_value_get_compare_func):
296         Some optimisations from a few callgrind sessions:
297         When checking if a type is fixed, check for trivial fundamental types
298         first before checking types for which we need to get the type followed
299         by the heavy duty type checks, this reduces the amount of
300         g_type_fundamental() calls a lot.
301         When getting the compare function, first check for our registered types.
302         If that fails, do the heavy duty g_type_is_a() checks, reduces the
303         amount of g_type_is_a() considerably.
304
305 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
306
307         * docs/design/part-TODO.txt:
308         Mumble something about removing GstXML.
309
310 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
311
312         * gst/gstbin.c: (gst_bin_handle_message_func):
313         Get the seqnum before we dispose the message.
314
315 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
316
317         * docs/design/part-TODO.txt:
318         Refer to the framestepping document.
319
320 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
321
322         * gst/gstbin.c: (bin_handle_async_start),
323         (gst_bin_handle_message_func), (gst_bin_query):
324         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
325         (gst_base_sink_event), (gst_base_sink_change_state):
326         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
327         (gst_base_src_loop), (gst_base_src_change_state):
328         Copy seqnums from events to messages so that they can all be related
329         back to eachother.
330
331 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
332
333         * tools/gst-launch.c: (event_loop):
334         Print the message seqnums.
335
336 2008-11-04  Andy Wingo  <wingo@pobox.com>
337
338         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
339
340 2008-11-04  Andy Wingo  <wingo@pobox.com>
341
342         Add sequence numbers to events and messages. See #559250.
343
344         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
345         API: New functions.
346
347         * gst/gstevent.h:
348         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
349         events with a new sequence number, and copy it when copying.
350         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
351         an event's sequence number.
352
353         * gst/gstmessage.h:
354         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
355         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
356         so with messages.
357
358         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
359
360 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
361
362         * docs/manual/advanced-position.xml:
363         * docs/manual/basics-bins.xml:
364         * docs/manual/basics-bus.xml:
365         * docs/manual/basics-pads.xml:
366         * docs/manual/intro-gstreamer.xml:
367         * docs/manual/intro-preface.xml:
368         Some Application Development Manual fixes thanks to
369         Andrew Feren. Fixes #558459.
370
371 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
372
373         * gst/gstregistrybinary.c:
374           Don't bother with the GTimer if we don't output the results.
375
376 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
377
378         Patch by: David Schleef  <ds@schleef.org>
379
380         * libs/gst/net/Makefile.am:
381         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
382
383 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
384
385         * gst/gstregistrybinary.c:
386           Oh my, studip, stupid me. Remove double stat() call.
387
388 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
389
390         * gst/gstpreset.c:
391           Use g_unlink instead of unlink.
392
393         * gst/gststructure.c:
394           Use glib type.
395
396         * gst/gstutils.c:
397           Add a FIXME:.
398
399         * gst/gsttaglist.c:
400         * gst/gsttypefind.c:
401         * gst/gstvalue.c:
402           Formatting & whitespaces.
403
404 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
405
406         * plugins/elements/gstidentity.c:
407           Doc typo. Use return value of parent_class->event.
408   
409         * plugins/elements/gsttypefindelement.c:
410           Chain up at the end for consistency.
411   
412 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
413
414         * docs/Makefile.am:
415         * docs/gst/gstreamer-docs.sgml:
416         * docs/gst/gstreamer-sections.txt:
417         * docs/gst/running.xml:
418         * docs/libs/gstreamer-libs-docs.sgml:
419           Change to xinclude based build - its faster and easier to maintain.
420
421 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
422
423         * gst/gstregistrybinary.c:
424         * gst/gstregistryxml.c:
425           Use g_unlink() as none of these are directories.
426
427 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
428
429         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
430         Some more comments.
431
432 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
433
434         * libs/gst/base/gstbasetransform.c:
435         (gst_base_transform_find_transform), (gst_base_transform_getrange):
436         If we have a fixate function, call it even if we already have fixed caps
437         because the subclass might add some caps. Makes audioconvert add a
438         default channel layout.
439
440 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
441
442         * libs/gst/base/gstbasetransform.c:
443         (gst_base_transform_prepare_output_buffer),
444         (gst_base_transform_getrange):
445         Clear the output buffer variable.
446         Cleanups to the error path in the getrange function.
447         Fixes #557649.
448
449 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
450
451         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
452         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
453         Use gst_buffer_try_new_and_alloc() and handle errors instead of
454         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
455         be allocated.
456
457 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
458
459         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
460         Set the last_stop to a more meaningful position when configuring the
461         segment. ie. the start/stop of the segment or clipped against the
462         updated segment boundaries.
463
464         * tests/check/gst/gstsegment.c: (GST_START_TEST):
465         Add some unit tests for the last_stop.
466
467 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
468
469         * libs/gst/base/gstbytereader.c:
470         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
471         copies of them.
472
473 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
474
475         * docs/gst/gstreamer-sections.txt:
476         * gst/gstutils.h:
477         API: Move float endianness conversion macros from libgstfloatcast
478         to core as it's useful in general, even in core. Fixes bug #555196.
479         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
480         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
481         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
482
483         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
484         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
485         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
486         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
487
488 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
489
490         * docs/libs/gstreamer-libs-sections.txt:
491         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
492         (gst_byte_reader_peek_data):
493         * libs/gst/base/gstbytereader.h:
494         * win32/common/libgstbase.def:
495         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
496         to get a pointer to the data at the current position and have
497         a guaranteed size.
498
499 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
500
501         * configure.ac:
502         Fix a bug in the output of the configure script summary
503         when --gst-disable-registry is supplied
504
505 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
506
507         * libs/gst/base/gstbitreader.c:
508         * libs/gst/base/gstbytereader.c:
509         Fix the names of 2 functions in the docs strings.
510
511 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
512
513         * libs/gst/base/gstbasetransform.c:
514         (gst_base_transform_prepare_output_buffer),
515         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
516         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
517         refcount problems as seen in banshee and maybe also in farsight2.
518         Remove atomic int now that we need to take the lock anyways.
519
520 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
521
522         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
523         (gst_base_sink_default_prepare_seek_segment),
524         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
525         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
526         (gst_base_sink_query):
527         Implement more seeking in pull mode.
528         Use pad convert functions to convert position to the requested format.
529         Fix position/duration reporting in pull mode.
530         Implement position and duration reporting in other formats than time.
531
532         * libs/gst/base/gstbasesink.h:
533         Add member to keep track of when the segment is playing.
534
535 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
536
537         * gst/gstpad.c: (gst_pad_configure_src):
538         When we use gst_pad_alloc_buffer() without wanting to set the caps we
539         also don't need to check if the caps are compatible because the caller
540         presumably is going to perform its own custom checks. Fixes some cases
541         where basetransform elements would error out when it was not needed.
542
543 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
544
545         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
546         Update comment.
547
548         * libs/gst/base/gstbasetransform.c:
549         (gst_base_transform_handle_buffer),
550         (gst_base_transform_reconfigure):
551         Add some debug info.
552
553         * win32/common/libgstbase.def:
554         Add new method.
555
556 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
557
558         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
559           Remove duplicated assignment and log a message in failure case.
560
561 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
562
563         Patch by: Dig Ge <dig.ge.cn at gmail com>
564
565         * tests/examples/helloworld/helloworld.c: (main):
566           Fix copy'n'paste bug in hello world example (#556900).
567
568 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
569
570         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
571         (gst_base_sink_query):
572         Query the total number of bytes when activating the pad in pull mode.
573         Implement duration query in pull mode by using the installed pad convert
574         function to convert from bytes to the requested format.
575
576 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
577
578         * docs/libs/gstreamer-libs-sections.txt:
579         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
580         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
581         (gst_base_sink_event), (gst_base_sink_perform_seek),
582         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
583         (gst_base_sink_send_event), (gst_base_sink_change_state):
584         * libs/gst/base/gstbasesink.h:
585         Add method to commit the state in subclasses.
586         Refactor the flush_start and flush_stop code because we need it for
587         flushing while seeking too.
588         Implement the beginnings of seeking in pull mode.
589         Use the segment last_stop field for the pulling offset.
590         Fix the pause method in pull mode.
591         Configure the segment to BYTES for pull mode.
592         API: GstBaseSink::gst_base_sink_do_preroll()
593
594 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
595
596         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
597         Update some docs.
598
599 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
600
601         * gst/gstquark.c: (_priv_gst_quarks_initialize):
602           Fix printf format warning.
603
604 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
605
606         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
607         Fix flow aggregation of tee. Error out immediately for all flow returns
608         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
609         and return OK if at least one pad is linked.
610
611         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
612         and otherwise returned the flow return of the last pad, which is wrong.
613         
614         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
615         (GST_START_TEST), (tee_suite):
616         Add unit tests for the flow aggregation.
617
618 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
619
620         * docs/design/part-TODO.txt:
621         Remove item from the todo list because it was fixed with the latency
622         state change rewrites.
623
624         * docs/design/part-seeking.txt:
625         * docs/design/part-segments.txt:
626         Update some docs.
627
628         * gst/gstevent.c: (gst_event_new_new_segment_full),
629         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
630         (gst_event_parse_buffer_size), (gst_event_new_qos),
631         (gst_event_parse_qos), (gst_event_new_seek),
632         (gst_event_parse_seek), (gst_event_new_latency),
633         (gst_event_parse_latency):
634         Use quarks to construct and parse events.
635
636         * gst/gstquark.c: (_priv_gst_quarks_initialize):
637         * gst/gstquark.h:
638         Add some more quarks to the table.
639         Emit a warning when the quark tables are not in sync.
640
641         * tests/check/gst/gstbus.c: (GST_START_TEST):
642         Add an assert.
643
644 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
645
646         * plugins/elements/Makefile.am:
647         * plugins/indexers/Makefile.am:
648           Don't install static libs for plugins. Fixes #550851 for core.
649
650 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
651
652         * gst/gstbus.c: (gst_bus_source_finalize),
653         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
654         (gst_bus_enable_sync_message_emission),
655         (gst_bus_disable_sync_message_emission),
656         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
657         Fix deadlock, g_source_get_id() cannot be called in finalize.
658         Keep track of the watch source by keeping a pointer to the source object
659         instead.
660         Use the bus lock to protect access to the pointer to the current
661         watch source.
662
663 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
664
665         Base on Patch by: Olivier Crete <tester at tester dot ca>
666
667         * gst/gstbus.c: (gst_bus_source_finalize),
668         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
669         Only allow one bus watch to be set at a time. This is necessary
670         because the dispatcher pops the message from the bus and the second
671         watcher will then get NULL or the next message (and the first won't
672         get this next message then, etc). If more than one "watcher" is
673         required signal watches should be used. Fixes bug #526044.
674
675 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
676
677         * tools/gst-launch.c:
678         Change the printing of the 'buffering...' output to avoid putting
679         a \r in a translateable string (flagged by the TP).
680
681 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
682
683         * gst/gstxml.c:
684         Clarify that the save_thyself() and restore_thyself() virtual
685         functions of GstObject need to be overriden, not
686         gst_object_(save|restore)_thyself() which is impossible.
687         Fixes bug #555700.
688
689 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
690
691         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
692         Revert a patch from 21 months ago that broke caps negotiation in pull
693         mode. Basically, having a buffer pass over a pad will trigger the
694         setcaps function when caps change, just like in push mode.
695
696 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
697
698         * docs/design/part-negotiation.txt:
699         Update the docs some more.
700
701         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
702         If we pull a buffer with non-trivial caps, suggest those caps with the
703         max probability.
704
705 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
706
707         * docs/design/part-TODO.txt:
708         Add another limitation of pad-blocking with segment seeks not pushing
709         EOS events.
710
711 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
712
713         * win32/common/libgstbase.def:
714         * win32/common/libgstreamer.def:
715         Add new symbols to the win32 defs files
716
717 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
718
719         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
720         (gst_bin_handle_message_func):
721         The message src can be NULL, don't try to print the object names in that
722         case.
723
724         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
725         Add some more debug info.
726
727         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
728         (GST_START_TEST):
729         Add some debug.
730         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
731         scheduling modes.
732
733 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
734
735         * docs/design/part-negotiation.txt:
736         Small doc update.
737
738         * docs/libs/gstreamer-libs-sections.txt:
739         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
740         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
741         (gst_base_sink_init), (gst_base_sink_set_blocksize),
742         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
743         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
744         (gst_base_sink_loop), (gst_base_sink_pad_activate),
745         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
746         (gst_base_sink_change_state):
747         * libs/gst/base/gstbasesink.h:
748         Add blocksize property and methods to control the amount of data
749         to pull.
750         Negotiate first before activating upstream in pull mode so that they can
751         negotiate themselves.
752         When we operate in pull mode, we only accept the caps that we
753         negotiated.
754         Make the sink go ASYNC to PAUSED, like all other sinks.
755         API: GstBaseSink::gst_base_sink_set_blocksize()
756         API: GstBaseSink::gst_base_sink_get_blocksize()
757         API: GstBaseSink::blocksize
758
759         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
760         (gst_base_src_set_live), (gst_base_src_is_live),
761         (gst_base_src_set_format), (gst_base_src_query_latency),
762         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
763         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
764         (gst_base_src_set_property), (gst_base_src_get_property):
765         * libs/gst/base/gstbasesrc.h:
766         Add typechecking in public API functions.
767         Add methods to control the blocksize in subclasses.
768         API: GstBaseSrc::gst_base_src_set_blocksize()
769         API: GstBaseSrc::gst_base_src_get_blocksize()
770
771 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
772
773         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
774         (buffer_probe), (event_probe), (GST_START_TEST):
775         We now see 3 events go through our pad, since basesink now sends
776         upstream latency events.
777
778 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
779
780         * gst/gstpipeline.c: (gst_pipeline_change_state):
781         Release the object lock before trying to flush the bus.
782
783 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
784
785         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
786         Forward LATENCY events upstreams so that elements know about the total
787         pipeline latency. Fixes #555307.
788
789 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
790
791         * plugins/elements/gstqueue.c:
792         Allow through queries when we don't know how
793         to adjust them (not TIME or BYTES), as otherwise it's
794         not possible to query the current position in order
795         to seek in other formats at all.
796
797 2008-10-08  Andy Wingo  <wingo@pobox.com>
798
799         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
800
801 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
802
803         * gst/gstghostpad.c:
804         * gst/gstghostpad.h:
805         Unbreak -good build, private is a reserved c++ keyword.
806
807 2008-10-08  Andy Wingo  <wingo@pobox.com>
808
809         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
810         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
811         removal: re-add GST_GHOST_PAD_CAST to the header.
812
813         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
814         (GstGhostPadClass): Publically expose these structures so as to
815         allow easy subclassing from C. Hide the member data behind a
816         private opaque data pointer.
817
818         * gst/gstghostpad.c: Adapt to store instance data in the type
819         instance's private data region, not in the public struct.
820
821 2008-10-08  Andy Wingo  <wingo@pobox.com>
822
823         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
824         template via g_object_get(), be sure to unref it.
825
826         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
827
828 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
829
830         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
831         If we can't get a cache file don't try to save something to it.
832         Dereferencing NULL pointers usually isn't a good idea.
833
834 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
835
836         * tests/check/Makefile.am:
837         * tests/check/gst/gstabi.c:
838         * tests/check/gst/struct_sparc.h:
839         * tests/check/libs/libsabi.c:
840         * tests/check/libs/struct_sparc.h:
841         Add Sparc ABI checks
842
843         * tests/check/gst/gstvalue.c: (GST_START_TEST):
844         Cast signed integer to unsigned to avoid a compiler warning.
845
846 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
847
848         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
849         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
850         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
851         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
852         (gst_byte_reader_peek_int24_be):
853         Use new GST_READ_UINT24_(LE|BE) macros.
854
855 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
856
857         * docs/gst/gstreamer-sections.txt:
858         * gst/gstutils.h:
859         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
860         as it's too easy to break the ISO C strict aliasing rules with simple
861         casts to the corresponding type and this would introduce hard to debug
862         bugs. Fixes bug #545714.
863
864         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
865
866 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
867
868         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
869         * gst/gstghostpad.c: (gst_ghost_pad_construct):
870           Add 'Since' bits to gtk-doc chunks for new API.
871
872 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
873
874         * docs/gst/gstreamer-sections.txt:
875         Fix documentation
876
877 2008-10-06  Andy Wingo  <wingo@pobox.com>
878
879         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
880         that will be called on the malloc_data to free it. Basically a way
881         to avoid subclassing when all you need is a different free
882         function, i.e. free() instead of g_free().
883
884         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
885         calling the free function.
886         (gst_buffer_init): Initialize the free function to g_free.
887
888 2008-10-06  Andy Wingo  <wingo@pobox.com>
889
890         * gst/gstghostpad.h:
891         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
892         finishes the initialization of ghost pad. Useful for language
893         bindings and subclassers of GstGhostPad. Fixes #539108.
894         (gst_ghost_pad_new_full): Use the new constructor.
895
896 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
897
898         Base on Patch by: Olivier Crete <tester at tester dot ca>
899
900         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
901         (gst_bin_remove_func), (update_degree),
902         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
903         Keep track of pads that are being linked/unlinked and resync the state
904         changes.
905
906         * gst/gstpad.c: (gst_pad_get_direction),
907         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
908         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
909         (gst_pad_link_prepare), (gst_pad_link),
910         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
911         (gst_pad_check_pull_range), (gst_pad_get_range),
912         (gst_pad_pull_range):
913         Some code cleanups, use macros to check pad direction.
914         Don't need to take the lock on the pad direction.
915         Post structure change when pads are linked/unlinked.
916         Change some checks into _return_if_fail().
917
918         * tests/check/gst/gstbin.c:
919         (test_link_structure_change_state_changed_sync_cb),
920         (GST_START_TEST), (gst_bin_suite):
921         Add testcase for pad link/unlinke resync during a state change.
922         Fixes #510354.
923
924 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
925
926         * docs/gst/gstreamer-sections.txt:
927         * gst/gstmessage.c: (gst_message_new_structure_change),
928         (gst_message_parse_structure_change):
929         * gst/gstmessage.h:
930         Implement STRUCTURE_CHANGED messages. These messages will be used to
931         signal the parent bin of link/unlink operations that could require a
932         resync when doing a state change. See ##510354.
933         API: gst_message_new_structure_change()
934         API: gst_message_parse_structure_change()
935
936 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
937
938         * gst/gstquark.c:
939         * gst/gstquark.h:
940         Add some more quarks for new message. See #510354.
941
942 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
943
944         * docs/libs/gstreamer-libs-docs.sgml:
945         * docs/libs/gstreamer-libs-sections.txt:
946         * libs/gst/base/Makefile.am:
947         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
948         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
949         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
950         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
951         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
952         (gst_bit_reader_skip_to_byte):
953         * libs/gst/base/gstbitreader.h:
954         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
955         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
956         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
957         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
958         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
959         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
960         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
961         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
962         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
963         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
964         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
965         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
966         * libs/gst/base/gstbytereader.h:
967         * tests/check/Makefile.am:
968         * tests/check/libs/bitreader.c: (GST_START_TEST),
969         (gst_bit_reader_suite):
970         * tests/check/libs/bytereader.c: (GST_START_TEST),
971         (gst_byte_reader_suite):
972         API: Add bit reader and byte reader classes, including documentation
973         and an extensive unit test suite. Fixes bug #553554.
974
975 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
976
977         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
978         (gst_base_sink_query):
979         Improve position reporting while flushing and other intermediate state
980         changes. Fixes #553874.
981
982 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
983
984         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
985
986         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
987         Original patch by : Simon Descaries
988         Fix small refount leak in caps compatibility check.
989         Fixes #551676.
990
991 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
992
993         * docs/pwg/advanced-request.xml:
994           Fix 0.8 api usage in example. Fixes #554561
995
996         * docs/pwg/appendix-porting.xml:
997           Change 0.9 to 0.10 here.
998
999 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1000
1001         * docs/manual/basics-data.xml:
1002           Change "event-event interaction" to "element-element interaction".
1003           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1004           updates.
1005
1006 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1007
1008         * configure.ac:
1009         Back to development -> 0.10.21.1
1010
1011 === release 0.10.21 ===
1012
1013 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1014
1015         * configure.ac:
1016           releasing 0.10.21, "Take These Things From Me"
1017
1018 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1019
1020         * configure.ac:
1021         0.10.20.4 pre-release
1022
1023 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1024
1025         * libs/gst/base/gstbasetransform.c:
1026         * plugins/elements/gstcapsfilter.c:
1027         * tests/check/Makefile.am:
1028         * tests/check/elements/.cvsignore:
1029         * tests/check/elements/capsfilter.c:
1030         Fix assertion in basetransform when the subclass chooses not to
1031         allocate a buffer in prepare_buffer(), and make capsfilter error out
1032         cleanly if requested to apply caps that don't completely specify the
1033         buffer. Fixes #551509
1034
1035 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1036
1037         * libs/gst/base/gstbasetransform.c:
1038         (gst_base_transform_prepare_output_buffer):
1039         Take new caps ref because our old one might have been gone when the
1040         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1041
1042 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1043
1044         * configure.ac:
1045           Do not probe availability of check unit test library when cross
1046           compiling, as test would not work anyway. Also cleanup verbose output
1047           of the check test. Fixes #551952.
1048
1049 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1050
1051         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1052
1053         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1054         Avoid leaking the parent ref when we fail changing the state of the
1055         element using gst_element_sync_state_with_parent(). Fixes #551978.
1056
1057 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1058
1059         * docs/manual/intro-motivation.xml::
1060           Remove some bits that no longer apply, update others (#551642).
1061
1062 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1063
1064         * configure.ac:
1065         0.10.20.2 pre-release
1066
1067         * po/LINGUAS:
1068         * po/id.po:
1069         * po/pt_BR.po:
1070
1071         New translations.
1072
1073 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1074
1075         * win32/common/config.h.in:
1076           Add GST_DATADIR, hard-code cpu to x86.
1077
1078         * win32/common/libgstreamer.def:
1079           Spaces to tabs.
1080
1081 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1082
1083         * gst/gsttaglist.h:
1084           Fix Since: markers for new geo tags.
1085
1086 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1087
1088         * gst/gsttaglist.h:
1089           Fix actual tag name define after renaming from altitude to elevation.
1090
1091 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1092
1093         * gst/gstpad.c: (add_unref_pad_to_list),
1094         (gst_pad_get_internal_links_default):
1095         Add fallback when calling the deprecated function on an element that
1096         implements the new internal_link handler.
1097
1098 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1099
1100         * docs/gst/gstreamer-sections.txt:
1101         * gst/gsttaglist.c:
1102         * gst/gsttaglist.h:
1103           Add new tags for geo location and clarify purpose of existing location
1104           tag. Fixes #481169
1105
1106 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1107
1108         Patch by: Olivier Crete <tester at tester dot ca>
1109
1110         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1111         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1112         Use thread-safe internal links iterator. Fixes #549504.
1113
1114 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1115
1116         Based on patch by: Olivier Crete <tester at tester dot ca>
1117
1118         * docs/gst/gstreamer-sections.txt:
1119         * win32/common/libgstreamer.def:
1120         * gst/gstpad.c: (gst_pad_init),
1121         (gst_pad_set_iterate_internal_links_function),
1122         (int_link_iter_data_free), (iterate_pad),
1123         (gst_pad_iterate_internal_links_default),
1124         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1125         * gst/gstpad.h:
1126         Add threadsafe replacement functions for getting internal links of an
1127         element. Deprecate the old internal links functions.
1128         API:GstPad::gst_pad_set_iterate_internal_links_function()
1129         API:GstPad::GstPadIterIntLinkFunction
1130         API:GstPad::gst_pad_iterate_internal_links()
1131         API:GstPad::gst_pad_iterate_internal_links_default()
1132
1133         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1134         (gst_proxy_pad_init):
1135         Implement threadsafe internal links.
1136
1137         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1138         Unit test for internal links on tee. See #549504.
1139
1140 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1141
1142         * tests/check/Makefile.am:
1143         libs/transform1 test requires libs/test_transform.c
1144
1145 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1146
1147         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1148         Die evil deadlock, die !
1149
1150 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1151
1152         * gst/gstutils.c: (gst_element_get_compatible_pad):
1153         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1154         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1155         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1156         not steal the refcount of the given caps as stated.
1157
1158         REVERT THIS COMMIT ONCE FIXED !
1159         REVERT THIS COMMIT ONCE FIXED !
1160         REVERT THIS COMMIT ONCE FIXED !
1161         REVERT THIS COMMIT ONCE FIXED !
1162         REVERT THIS COMMIT ONCE FIXED !
1163         REVERT THIS COMMIT ONCE FIXED !
1164
1165 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1166
1167         * gst/gstiterator.c:
1168         * gst/gstiterator.h:
1169         After 3 years it's about time to revise the documentation of the
1170         iterator objects.
1171
1172 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1173
1174         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1175         Make the internal links function less thread-unsafe and add some
1176         comments, dunno why.
1177
1178 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1179
1180         * gst/gst_private.h:
1181           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1182           build with --disable-gst-debug.
1183
1184 2008-08-28  David Schleef  <ds@schleef.org>
1185
1186         * gst/gstpadtemplate.c: Revert last change, since it breaks
1187           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1188           but shouldn't be enabled until we've released fixed versions
1189           of -good and -ffmpeg.
1190
1191 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1192
1193         * gst/gstobject.c:
1194           Put the gst_object_get_name() back in.
1195
1196 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1197
1198         * gst/gstpadtemplate.c:
1199           The old behaviour was that gst_pad_template_new() takes ownership of
1200           the caps. As we now call g_object_new() which calls g_object_set() and
1201           which copies the caps, we have to unref them to not leak them. Fixes
1202           make valgrid for me.
1203
1204 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1205
1206         * gst/gsturi.c:
1207           Don't segfault on input like "tel:+1-123-555-1234".
1208
1209 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1210
1211         * gst/gstobject.c:
1212           Due to popular request also include ObjectType in
1213           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1214
1215 2008-08-26  David Schleef  <ds@schleef.org>
1216
1217         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1218           src_val must be positive, because that's not a requirement.
1219           This causes problems with converting negative granulepos
1220           values for Dirac.
1221         * gst/gstquery.c: Same, gst_query_new_convert().
1222
1223 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1224
1225         * gst/gstclock.c: (gst_clock_add_observation):
1226         Add some more debugging to the clock slaving code.
1227
1228         * win32/common/libgstbase.def:
1229         Add new basetransform method.
1230
1231 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1232
1233         * gst/gstbin.c: (gst_bin_element_set_state):
1234         Take the (recursive) state lock between getting the locked state of an
1235         element and changing the element state. This allows the application to
1236         lock an element's state and then change its state without races.
1237
1238 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1239
1240         * gst/gstbin.c: (gst_bin_element_set_state):
1241         When an element is in the locked state we still want to update the
1242         base_time of the element.
1243
1244 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1245
1246         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1247         Use the result from gst_pad_set_caps() instead of assuming the element
1248         always accepted the caps computed by the default negotiate function.
1249
1250 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1251
1252         * docs/libs/gstreamer-libs-sections.txt:
1253         * libs/gst/base/gstbasetransform.c:
1254         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1255         (gst_base_transform_chain), (gst_base_transform_suggest),
1256         (gst_base_transform_reconfigure):
1257         * libs/gst/base/gstbasetransform.h:
1258         Implement method for reconfiguring basetransform.
1259         API: GstBaseTransform::gst_base_transform_reconfigure()
1260
1261 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1262
1263         patch by: Murray Cumming <murrayc@murrayc.com>
1264
1265         * gst/gstutils.c:
1266           Mention that this is just like gst_buffer_merge() but with extra
1267           unreffing for C coders. Advise language bindings not to wrap it.
1268           Fixes Bug #533856.
1269           
1270           Also fix file comment.
1271
1272 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1273
1274         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1275
1276         * plugins/elements/gstfakesink.c:
1277         * plugins/elements/gstfakesrc.c:
1278           Call super::event() when not handling it. Fixes #544855.
1279
1280 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1281
1282         Patch by: Alessandro Decina <alessandro@nnva.org>
1283         * plugins/elements/gstfilesrc.c:
1284           Use 64 bit variants of stat functions on win32, to enable support
1285           of large files there.
1286           Fixes #547277.
1287
1288 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1289
1290         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1291         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1292         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1293         (gst_base_sink_get_position), (gst_base_sink_change_state):
1294         Improve position reporting in the flushing state.
1295         Also report the position when we are not yet prerolled but we
1296         have a newsegment event. Fixes #543444.
1297         Improve the pull-based negotiation code.
1298
1299         * tests/check/elements/fakesink.c: (GST_START_TEST),
1300         (fakesink_suite):
1301         Add testcase for position reporting while flushing in PAUSED and
1302         PLAYING.
1303
1304         * tests/check/generic/sinks.c: (GST_START_TEST):
1305         Update unit-test, we can now query the position as soon as we receive a
1306         NEWSEGMENT event.
1307
1308 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1309
1310         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1311
1312         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1313         When the subclass event handler releases the PREROLL_LOCK, we could be
1314         in the flushing state and we have to ignore the event. Fixes #548394.
1315
1316 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1317
1318         * tools/gst-launch.1.in:
1319           Document GST_REGISTRY_UPDATE environment variable.
1320
1321 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1322
1323         * libs/gst/base/gstbasetransform.c:
1324         (gst_base_transform_prepare_output_buffer):
1325         If the element is configured in passthrough mode but the
1326         prepare_output_buffer gave us a new output buffer, discard that buffer
1327         and reuse the input buffer.
1328
1329 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1330
1331         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1332
1333         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1334         (gst_tee_request_new_pad), (gst_tee_release_pad),
1335         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1336         * plugins/elements/gsttee.h:
1337         Protect pad_alloc with a new lock so that we can be sure that nothing is
1338         performing a pad_alloc when removing the pad. Fixes #547835.
1339
1340         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1341         (buffer_alloc_harness_teardown), (app_thread_func),
1342         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1343         Added testcase for shutdown race.
1344
1345 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1346
1347         * gst/gstpad.h:
1348         Add doc
1349
1350 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1351
1352         * libs/gst/base/gstbasetransform.c:
1353         (gst_base_transform_prepare_output_buffer),
1354         (gst_base_transform_buffer_alloc):
1355         Go over the buffer_alloc function again and make sure we always end up
1356         allocating a buffer.
1357         Add some more docs.
1358         Avoid doing pad alloc when we have a pending suggestion because we
1359         cannot yet deal with changing caps in that case. Fixes #547728
1360
1361 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1362
1363         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1364
1365         * docs/manual/advanced-clocks.xml:
1366         * docs/manual/clocks.png:
1367         * docs/manual/diagrams-clocks.svg:
1368           Add one more image showing different times together with a describing
1369           paragraph. Fixes #547729.
1370
1371 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1372
1373         * win32/common/libgstbase.def:
1374         Add new method.
1375
1376 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1377
1378         * libs/gst/base/gstbasetransform.c:
1379         (gst_base_transform_transform_caps),
1380         (gst_base_transform_prepare_output_buffer),
1381         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1382         Don't overwrite the outsize when calculating the expected size of a new
1383         buffer because we still need it in case we cannot process the new
1384         buffer.
1385         When converting the size of the new buffer to an upstream size, actually
1386         use the expected size of the buffer, not some other random value.
1387         Use an atomic int to signal that a new upstream caps suggestion is
1388         available.
1389         When we can convert the current buffer to a new format, check if the
1390         buffer size is of the expected size and allocate a new buffer of the
1391         expected size when this is not the case. Fixes #546883.
1392
1393         * tests/check/libs/transform1.c: (GST_START_TEST):
1394         remove ifdeffed code from the unit test.
1395
1396 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1397
1398         * pkgconfig/gstreamer-uninstalled.pc.in:
1399         * pkgconfig/gstreamer.pc.in:
1400           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1401           called gstcontroller-0.10.
1402
1403 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1404
1405         * gst/gstchildproxy.h:
1406         * gst/gstpreset.h:
1407           Remove double interface from doc-string.        
1408
1409 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1410
1411         * libs/gst/base/gstbasesrc.c:
1412         * libs/gst/base/gstbasetransform.c:
1413           Fix headings in docs and gtk-doc warnings.
1414
1415 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1416
1417         * gst/gstregistrybinary.c:
1418           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1419           libc.
1420           Fixes #544776.
1421
1422 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1423
1424         * libs/gst/base/gstbasetransform.c:
1425         (gst_base_transform_buffer_alloc):
1426         Fix a "may be used unitialized" warning.
1427
1428 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1429
1430         * docs/gst/gstreamer-sections.txt:
1431         * gst/gstpreset.h:
1432           Document preset-iface vmethods.
1433
1434 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1435
1436         * docs/manual/advanced-interfaces.xml:
1437           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1438           only used to discover devices.
1439
1440 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1441
1442         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1443
1444         * gst/gst.c: (init_pre):
1445         Make sure gettext returns translations in UTF-8 encoding rather
1446         than in the current locale encoding (#546822).
1447
1448 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1449
1450         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1451         Fix subset test.
1452
1453         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1454         Improve unit test subset tests and add a testcase for the subset failure
1455         cases.
1456
1457         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1458         Improve subtraction unit test.
1459
1460 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1461
1462         * plugins/elements/gsttee.c:
1463           Unlock, instead of locking again.
1464
1465 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1466
1467         * gst/gstpad.h:
1468         Clarify the docs a bit more.
1469
1470 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1471
1472         * tests/examples/metadata/read-metadata.c:
1473           Don't leak old taglist.
1474
1475 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1476
1477         Patch by: Olivier Crete <tester at tester dot ca>
1478
1479         * gst/gststructure.c:
1480         (gst_structure_fixate_field_nearest_fraction):
1481         Avoid overflows in fixation code when dealing with MAXINT values, which
1482         v4l2src seems to do.
1483         Fixes #546328.
1484
1485         * tests/check/gst/gststructure.c: (GST_START_TEST):
1486         Make a unit test to check the fix. 
1487
1488 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1489
1490         * plugins/elements/gstcapsfilter.c: (copy_func),
1491         (gst_capsfilter_set_property):
1492         Use new caps suggestion feature of basetransform to request a caps
1493         negotiation upstream.
1494
1495 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1496
1497         * docs/libs/gstreamer-libs-sections.txt:
1498         Add new function:
1499         API: GstBaseTransform::gst_base_transform_suggest()
1500
1501         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1502         (gst_base_transform_init), (gst_base_transform_transform_caps),
1503         (gst_base_transform_transform_size),
1504         (gst_base_transform_configure_caps),
1505         (gst_base_transform_can_transform),
1506         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1507         (gst_base_transform_prepare_output_buffer),
1508         (gst_base_transform_buffer_alloc),
1509         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1510         (gst_base_transform_chain), (gst_base_transform_activate),
1511         (gst_base_transform_set_passthrough),
1512         (gst_base_transform_is_passthrough),
1513         (gst_base_transform_set_in_place),
1514         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1515         (gst_base_transform_set_qos_enabled),
1516         (gst_base_transform_is_qos_enabled),
1517         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1518         (gst_base_transform_reconfigure):
1519         * libs/gst/base/gstbasetransform.h:
1520         Rewrite of basetransform to perform negotiation outside of the
1521         buffer_alloc functions.  Fixes #545853.
1522
1523         * tests/check/libs/transform1.c: (GST_START_TEST),
1524         (buffer_alloc_ct2):
1525         Update unit test.
1526
1527 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1528
1529         * tests/check/gst/gstpreset.c:
1530           Only run preset tests when $HOME is writable. Preliminary fix for
1531           #545433.
1532
1533 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1534
1535         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1536         (gst_bin_change_state_func), (bin_handle_async_done),
1537         (gst_bin_handle_message_func):
1538         Fix race for bins that simulate ASYNC state changes by inserting
1539         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1540         pending ASYNC messages even when the bin does not have ASYNC children.
1541         We note detect this behaviour because we will receive an ASYNC message
1542         that is originating from the bin itself. 
1543         Fixes races with decodebin2 state changes.
1544
1545         * tests/check/gst/gstbin.c: (GST_START_TEST):
1546         Add some more debug.
1547
1548 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1549
1550         * gst/gsttaglist.c: (_gst_tag_initialize):
1551           Fix typo.
1552
1553 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1554
1555         * gst/gsttaglist.c:
1556           Argh. actually save the text before committing. Now adds
1557           gst_tag_merge_strings_with_comma() to gst_tag_register().
1558
1559 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1560
1561         * gst/gsttaglist.c:
1562         * gst/gsttaglist.h:
1563           Do as tim pointed out and actually register the new tag. Also improve
1564           te docs and use gst_tag_merge_strings_with_comma() method to allow
1565           retriving all keywords merged in one list.
1566
1567 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1568
1569         * configure.ac:
1570         * docs/gst/gstreamer.types:
1571           Revert 'accidential' change of the configure option removal. We still
1572           need to generate the types file in configure --disable-load-save.
1573
1574 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1575
1576         * docs/gst/gstreamer-sections.txt:
1577         * gst/gsttaglist.h:
1578           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1579
1580 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1581
1582         * gst/gstpadtemplate.c:
1583           (gst_pad_template_class_init), (gst_static_pad_template_get),
1584           (gst_pad_template_new), (gst_pad_template_pad_created),
1585           (gst_pad_template_set_property), (gst_pad_template_get_property):
1586           Add "name-template", "direction", "presence" and "caps" properties,
1587           so that gst_pad_template_new() is just a thin wrapper around
1588           g_object_new(), which is better for bindings. (Fixes: #539772)
1589
1590 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1591
1592         * gst/gsturi.c:
1593           Be more liberal in what URIs we accept.
1594           Do not unescape bits of the URI for no apparent reason before passing to
1595           the element. Fixes #545352.
1596
1597 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1598
1599         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1600
1601         * gst/gst.c:
1602         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1603
1604 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1605
1606         * configure.ac:
1607         * docs/gst/gstreamer-sections.txt:
1608         * docs/gst/gstreamer.types:
1609         * docs/gst/gstreamer.types.in:
1610         * gst/Makefile.am:
1611         * gst/gst.c:
1612         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1613         * gst/gstconfig.h.in:
1614         * gst/gstelement.c: (gst_element_get_index):
1615         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1616         (gst_registry_binary_load_feature),
1617         (gst_registry_binary_read_cache):
1618         * gst/gstregistryxml.c: (load_feature),
1619         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1620         * plugins/Makefile.am:
1621         * tools/gst-indent:
1622         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1623         (print_plugin_features), (print_element_features):
1624         * tools/gst-xmlinspect.c: (print_event_masks),
1625         (print_element_info):
1626         * win32/common/gstconfig.h:
1627         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1628
1629         Disabling the indexers and URI handler code will only reduce the
1630         required amount of memory by a very small amount but on the other hand
1631         requires much more maintaince work. Apart from that many places of
1632         code are broken when disabling them.
1633
1634         Disabling the enum types doesn't reduce the required amount of memory
1635         by more than a few bytes and makes it hard to fix bugs like #539772,
1636         i.e. use the enums as GObject properties.
1637
1638 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1639
1640         * docs/design/part-TODO.txt:
1641         Add some thoughts and problems with upstream renegotiation.
1642
1643 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1644
1645         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1646         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1647         Remove silly redundant debug.
1648         Add some more debug info.
1649         Clarify the docs regarding new caps received from pad_alloc.
1650
1651 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1652
1653         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1654         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1655         Make setting the caps more threadsafe.
1656
1657 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1658
1659         * docs/design/part-element-transform.txt:
1660         Update docs.
1661
1662 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1663
1664         * plugins/elements/gstqueue.c: (gst_queue_init),
1665         (gst_queue_acceptcaps):
1666         Add and use a custom acceptcaps function instead of falling back to the
1667         potentially less optimized default implementation.
1668
1669 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1670
1671         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1672           Only sanity-check the buffer size if requested_caps == buffer_caps
1673           (ie. don't take pad caps into account, they're not relevant here)
1674
1675 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1676
1677         * plugins/elements/gsttee.c:
1678         * plugins/elements/gsttee.h:
1679           Reverting as not everything is clear yet. Needs some general design
1680           work.
1681
1682 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1683
1684         * ChangeLog:
1685           ChangeLog surgery for tee commit.
1686
1687 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1688
1689         * docs/gst/gstreamer-sections.txt:
1690           Cleanup section-file.
1691
1692 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1693
1694         * plugins/elements/gsttee.c:
1695         * plugins/elements/gsttee.h:
1696           Relay tag events in tee. Fixes parts of #474016.
1697           Downgrades 3 reoccurring debugs to log.
1698
1699 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1700
1701         * configure.ac:
1702         * libs/gst/Makefile.am:
1703           Build the net library if we have winsock2.
1704
1705 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1706
1707         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1708
1709         * docs/manual/advanced-threads.xml:
1710         * docs/manual/diagrams-pipelines.svg:
1711         * docs/manual/hello-world.png:
1712         * docs/manual/linked-elements.png:
1713         * docs/manual/mime-world.png:
1714         * docs/manual/queue.png:
1715         * docs/manual/thread-buffering.png:
1716         * docs/manual/thread-synchronizing.png:
1717           Replace one diagram with two separate ones and updates others.
1718           Fixes #542401.
1719
1720 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1721
1722         * gst/gstelement.h:
1723         Fix link in documentation.
1724
1725 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1726
1727         * gst/gstmessage.c:
1728         Fix confusing documentation.
1729
1730 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1731
1732         * libs/gst/base/gstbasesrc.h:
1733         revert the changes to the header file for the ABI.
1734
1735 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1736
1737         * libs/gst/base/gstbasesrc.c:
1738         * libs/gst/base/gstbasesrc.h:
1739         Don't cache the seekable status.
1740         Fixes bug #544174
1741
1742 2008-07-24  Rene Stadler  <mail@renestadler.de>
1743
1744         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1745         code to close the pipeline graph.  This prevents the program from
1746         printing internal data flow errors.
1747
1748 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1749
1750         * docs/manual/basics-bus.xml:
1751         Correct typo. Fixes bug #544320.
1752
1753 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1754
1755         * configure.ac:
1756           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1757           Add check (taken from -base) for winsock, adds WIN32_LIBS
1758         * gst/Makefile.am:
1759           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1760           winsock.
1761           Define GST_EXPORTS when building libgstreamer (only used on win32)
1762         * gst/gst_private.h:
1763         * gst/gstinfo.h:
1764           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1765           for symbols that we need to export in both these files.
1766         * gst/gstpoll.c:
1767           Include gst_private.h higher up to avoid some compile problems on win32.
1768
1769 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1770
1771         * gst/gstvalue.c:
1772         Fix typos.
1773
1774 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1775
1776         * gst/gstcaps.c:
1777         Previous commit was wrong NULL caps does not exist
1778         and indicate an error, so also add a FIXME to
1779         gst_caps_is_equal where NULL caps are accepted.
1780
1781 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1782
1783         * gst/gstcaps.c:
1784         Allow passing of NULL to gst_caps_union
1785
1786 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1787
1788         * gst/gstghostpad.c:
1789         Add in doc that gst_ghost_pad_set_target can accept
1790         NULL to clear target
1791
1792 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1793
1794         * gst/gstplugin.c:
1795         * gst/gstregistry.c:
1796           GstRegistryPool doesn't exist; don't refer to it in docs.
1797           Don't refer to functions that don't exist in docs, it's
1798           unhelpful.
1799
1800 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1801
1802         * gst/gst.c:
1803         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1804
1805 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1806
1807         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1808
1809         * docs/pwg/building-testapp.xml:
1810         Don't use an undeclared variable in the example program.
1811         Fixes bug #542573.
1812
1813 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1814
1815         * gst/gstdebugutils.c:
1816           Squeeze ghost-pad links and remove <> from classname labels to save
1817           more horizontal space.
1818
1819 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1820
1821         * gst/gstdebugutils.c:
1822           Give request and sometimes pads a different shpe style. Condense the
1823           graphs a little more.
1824
1825 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1826
1827         * configure.ac:
1828           Don't require flex and bison if the parser is disabled.
1829
1830 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1831
1832         * libs/gst/controller/gstinterpolationcontrolsource.c:
1833         (_list_find_sorted_custom):
1834         Don't use declarations after statements.
1835
1836 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1837
1838         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1839         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1840         of the the child-added / -removed signals as GstChildProxy
1841         only supports GstObjects.
1842
1843 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1844
1845         * gst/gstdebugutils.c:
1846         Fix memleak
1847
1848 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1849
1850         Patch by: Alessandro Decina <alessandro at nnva dot org>
1851
1852         * gst/gstpoll.c:
1853         Fix "ignored return value" compiler warning with newer glibc.
1854
1855 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1856
1857         * gst/gstchildproxy.c:
1858         Fix copy&paste error in gst_child_proxy_removed() documentation.
1859
1860 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1861
1862         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1863           Print error debug message if plugin description fields that should
1864           be set are NULL.
1865
1866         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1867           Don't crash if the string to serialise is NULL (it really should
1868           not be, but apparently this used to work with the xml registry ...).
1869
1870 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1871
1872         * tools/gst-plot-timeline.py:
1873         Fix parsing of log messages
1874
1875 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1876
1877         * win32/common/libgstbase.def::
1878           Sort alphabetically so make check-exports doesn't barf.
1879
1880 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1881
1882         * gst/gstevent.c:
1883           Use gst_format_get_name() to improve debug output.
1884
1885         * gst/gstpreset.c:
1886           Remove #ifdef'ed code. Add TODO comment.
1887
1888         * gst/gstsegment.c:
1889           Add debug output to ease spotting format != segment.format assertions.
1890
1891 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1892
1893         * tests/check/libs/gdp.c: (gst_dp_suite):
1894         Also enable the GDP unit test again on PPC now that the bug
1895         is fixed.
1896
1897 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1898
1899         * libs/gst/dataprotocol/dataprotocol.c:
1900         Don't write to the same region of memory as a uint64 and uint16
1901         as this breaks strict aliasing rules and apparantly breaks on PPC
1902         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1903
1904 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1905
1906         * libs/gst/controller/gstinterpolationcontrolsource.c:
1907           Optimize list handling. Use own find function. Exploit that fact that
1908           the list is sorted. Also pass back the node before, so that we can
1909           insert quickly. Have a fast path for append.
1910
1911 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1912
1913         * docs/design/draft-framestep.txt:
1914         * docs/design/part-negotiation.txt:
1915           Fix two typos.
1916
1917 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1918
1919         * configure.ac:
1920           Show configuration sumary after configure run. Based on patch by
1921           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1922
1923 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1924
1925         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1926
1927         * docs/manual/advanced-autoplugging.xml:
1928         * docs/manual/advanced-threads.xml:
1929         * docs/manual/basics-bins.xml:
1930         * docs/manual/basics-elements.xml:
1931         * docs/manual/basics-helloworld.xml:
1932         * docs/manual/basics-pads.xml:
1933           Add scale factor for pdf output.
1934
1935         * docs/manual/intro-basics.xml:
1936           Switched sections "pads" and "bins" and added a pipeline diagram.
1937
1938         * docs/manual/intro-gstreamer.xml:
1939           Added more info on gstreamer.
1940
1941         * docs/manual/intro-motivation.xml:
1942           Commented out the whole section "current problem", which sounds
1943           historical and somehow osolete; it could be turned in a positive
1944           way and reused to improve the design principles.
1945
1946         * docs/manual/intro-preface.xml:
1947           - Update URLs to library.gnome.org. 
1948           - Do not mention GTK+ in preliminary reading (irrelevant). 
1949           - Mention Plugin Writer's Manual and further reading only in the
1950             previous section.
1951           - Added a list of most relevant GObject/glib topics.
1952
1953         * docs/manual/Makefile.am:
1954         * docs/manual/bin-element-ghost.fig:
1955         * docs/manual/bin-element-ghost.png:
1956         * docs/manual/bin-element-noghost.fig:
1957         * docs/manual/bin-element-noghost.png:
1958         * docs/manual/bin-element.fig:
1959         * docs/manual/bin-element.png:
1960         * docs/manual/filter-element-multi.fig:
1961         * docs/manual/filter-element-multi.png:
1962         * docs/manual/filter-element.fig:
1963         * docs/manual/filter-element.png:
1964         * docs/manual/gstreamer-overview.png:
1965         * docs/manual/hello-world.fig:
1966         * docs/manual/hello-world.png:
1967         * docs/manual/linked-elements.fig:
1968         * docs/manual/linked-elements.png:
1969         * docs/manual/mime-world.fig:
1970         * docs/manual/mime-world.png:
1971         * docs/manual/queue.fig:
1972         * docs/manual/queue.png:
1973         * docs/manual/simple-player.png:
1974         * docs/manual/sink-element.fig:
1975         * docs/manual/sink-element.png:
1976         * docs/manual/src-element.fig:
1977         * docs/manual/src-element.png:
1978         * docs/manual/diagrams-general.svg:
1979         * docs/manual/diagrams-pipelines.svg:
1980           Removed .fig, added .png counterpart.
1981           
1982           Fixes: #539137
1983
1984 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1985
1986         * plugins/elements/gstmultiqueue.c:
1987         * plugins/elements/gstmultiqueue.h:
1988         revert extra-size-buffers stuff, caused some race conditions
1989         and extra-size-buffers is not used anymore. Docs needs some updates
1990
1991 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1992
1993         * win32/common/config.h:
1994         * win32/common/gstenumtypes.c:
1995         * win32/common/gstenumtypes.h:
1996         * win32/common/gstversion.h:
1997           Update win32 files.
1998
1999 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2000
2001         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2002           (GST_DEBUG_BIN_TO_DOT_FILE):
2003           Add missing Since' markers to gtk-doc blurbs.
2004
2005 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2006
2007         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2008         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2009         (set_caps_1), (set_caps_ct1), (transform_ct1),
2010         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2011         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2012         (transform_size_ct2), (buffer_alloc_ct2):
2013         Add some more tests with switching caps in buffer_alloc.
2014
2015 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2016
2017         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2018         (gst_test_trans_class_init), (result_sink_chain),
2019         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2020         (gst_test_trans_push), (gst_test_trans_pop):
2021         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2022         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2023         (set_caps_1), (set_caps_ct1), (transform_ct1),
2024         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2025         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2026         (transform_size_ct2), (buffer_alloc_ct2),
2027         (gst_basetransform_suite):
2028         More tests, prepare for tests with switching caps in buffer_alloc.
2029
2030 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2031
2032         * plugins/elements/gstmultiqueue.c:
2033         * plugins/elements/gstmultiqueue.h:
2034         Fix dead-lock in underrun_cb
2035
2036 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2037
2038         * docs/design/part-states.txt:
2039         Fix device open/close docs.
2040
2041 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2042
2043         * ChangeLog:
2044           Mention bugnumber for last commit.
2045
2046 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2047
2048         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2049
2050         * docs/manual/manual.xml:
2051         - Reorganised the previous "introduction" bundle into Foreword,
2052         Introduction, and About GStreamer. The two first are <preface>
2053         docbook elements. The later is the first part of the book.
2054         - added intro-gstreamer.xml (content partially from
2055         intro-preface.xml)
2056         - moved appendix-win32.xml into appendix-integration.xml
2057
2058         * docs/manual/intro-preface.xml: gstreamer section moved...
2059         * docs/manual/intro-gstreamer.xml: ...here. new file.
2060
2061         * docs/manual/appendix-win32.xml: removed file. Content moved...
2062         * docs/manual/appendix-integration.xml: ...here.
2063         
2064         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2065         * docs/manual/appendix-checklist.xml: ...here.
2066         
2067         Fixes: 538764
2068
2069 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2070
2071         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2072
2073         * docs/manual/basics-helloworld.xml:
2074         * docs/manual/hello-world.fig:
2075           - Explicitely include glib.h.
2076           - Do not use global variables.
2077           - Use g_printerr() instead of g_print().
2078           - Minor formating/renaming to increase readibility.
2079           - Renamed new_pad() to on_pad_added()
2080           - Improved explenatory comments.
2081           - renamed ogg parser to ogg demuxer
2082           - Use "autoaudiosink" instead of "alsasink".
2083           Fixes: #538619
2084
2085 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2086
2087         * ChangeLog:
2088           Remove cvs conflict marker.
2089
2090 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2091
2092         * docs/README:
2093           Document that for plgin-docs we extraxt he short-desc from the element
2094           details.
2095
2096         * docs/design/part-states.txt:
2097           Tell that devices should be closed in PAUSED -> READY.
2098
2099         * docs/manual/README:
2100           Document how tests in the manual are handled.
2101
2102         * docs/manuals.mak:
2103           Typo in comment.
2104
2105 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2106
2107         * gst/gstbin.c: (bin_query_latency_fold):
2108         Only care about latency min and max when the sink is actually a live
2109         sink.
2110
2111 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2112
2113         * docs/design/part-block.txt:
2114         Fix typo.
2115
2116         * docs/design/part-element-transform.txt:
2117         Add notes about why transform needs to know input/output sizes.
2118         Add some issues that need to be solved.
2119         Add some more use cases.
2120
2121         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2122         (gst_test_trans_class_init), (result_sink_chain),
2123         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2124         (gst_test_trans_push), (gst_test_trans_pop):
2125         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2126         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2127         (set_caps_1), (set_caps_ct1), (transform_ct1),
2128         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2129         (gst_basetransform_suite):
2130         Add suport for different pad templates and buffer-alloc.
2131         Add more checks for caps and buffer-alloc.
2132         Add checks for proxy buffer alloc.
2133         Add unit test for copy transform.
2134
2135 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2136
2137         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2138
2139         * docs/manual/appendix-integration.xml:
2140         * docs/manual/appendix-licensing.xml:
2141         * docs/manual/basics-elements.xml:
2142         * docs/manual/basics-helloworld.xml:
2143         * docs/manual/basics-pads.xml:
2144         * docs/manual/highlevel-components.xml:
2145         * docs/manual/highlevel-xml.xml:
2146         * docs/manual/intro-basics.xml:
2147         * docs/manual/intro-preface.xml:
2148           Typo and formatting fixes (#538594).
2149
2150 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2151
2152         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2153         Fix some memory leaks and uses of object instances that we don't
2154         actually own.
2155
2156 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2157
2158         * plugins/elements/gstmultiqueue.c:
2159         Add functionality to extra-size-buffers property.
2160
2161 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2162
2163         * plugins/elements/gstmultiqueue.c:
2164         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2165         activate the pads if they are added in STATE_NULL.
2166
2167 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2168
2169         * docs/libs/gstreamer-libs-sections.txt:
2170         Add new API to doc
2171         * libs/gst/check/gstcheck.c:
2172         * libs/gst/check/gstcheck.h:
2173         API: gst_check_teardown_pad_by_name
2174
2175 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2176
2177         * libs/gst/check/gstcheck.c:
2178         * libs/gst/check/gstcheck.h:
2179         Also setup request pads and allow setup pads by name (#537812)
2180         API: gst_check_setup_src_pad_by_name
2181         API: gst_check_setup_sink_pad_by_name
2182
2183 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2184
2185         * tests/check/gst/gstbuffer.c:
2186         * tests/check/pipelines/parse-launch.c:
2187           Use HAVE_VALGRIND_H some more.
2188
2189 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2190
2191         * scripts/cvs-update.sh:
2192           Pass arguments to make.
2193           Run autoregen.sh if Makefile is not there.
2194
2195 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2196
2197         * configure.ac:
2198         * gst/gstinfo.c:
2199           Don't assume that <valgrind/valgrind.h> exists just because
2200           the binary is there.
2201
2202 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2203
2204         * tests/check/Makefile.am:
2205         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2206         (gst_test_trans_class_init), (gst_test_trans_init),
2207         (gst_test_trans_set_data), (result_sink_chain),
2208         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2209         (gst_test_trans_pop):
2210         * tests/check/libs/transform1.c: (GST_START_TEST),
2211         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2212         Add some test basetransform element and the beginnings of various
2213         unit tests for it.
2214
2215 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2216
2217         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2218         Increase code readability.
2219         Don't try to compare buffer offsets when ther are invalid.
2220
2221 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2222
2223         * docs/design/Makefile.am:
2224           Dist some more design docs.
2225
2226         * docs/random/moving-plugins:
2227           Small addition: good plugins mustn't have functional code
2228           within assertion macros.
2229
2230 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2231
2232         * docs/design/draft-framestep.txt:
2233         Some ideas about a framestep API
2234
2235         * docs/design/part-element-transform.txt:
2236         Start design and use cases for basetransform in order to get it
2237         fixed soon.
2238
2239 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2240
2241         * gst/gsttaglist.h:
2242           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2243           be in UTF-8 encoding.
2244
2245 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2246
2247         * gst/gstbus.c:
2248           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2249
2250 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2251
2252         * plugins/elements/gstcapsfilter.c:
2253         * plugins/elements/gstfakesink.c:
2254         * plugins/elements/gstfakesrc.c:
2255         * plugins/elements/gstfdsink.c:
2256         * plugins/elements/gstfdsrc.c:
2257         * plugins/elements/gstfilesink.c:
2258         * plugins/elements/gstfilesrc.c:
2259         * plugins/elements/gstidentity.c:
2260         * plugins/elements/gstmultiqueue.c:
2261         * plugins/elements/gstqueue.c:
2262         * plugins/elements/gsttee.c:
2263         * plugins/elements/gsttypefindelement.c:
2264           Remove short_description. Add basic docs for gsttypefindelement.
2265           Simplify markup for fakesrc/fdsrc.
2266
2267 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2268
2269         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2270         Added Since doc.
2271
2272 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2273
2274         Patch by: Joel Larsson <tilljoel at gmail dot com>
2275
2276         * docs/plugins/gstreamer-plugins.args:
2277         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2278         (gst_fd_src_init), (gst_fd_src_update_fd),
2279         (gst_fd_src_set_property), (gst_fd_src_get_property),
2280         (gst_fd_src_create):
2281         * plugins/elements/gstfdsrc.h:
2282         Add timeout property like udpsrc. Fixes #538628.
2283         Add some more docs and example pipelines.
2284
2285 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2286
2287         * docs/libs/gstreamer-libs-sections.txt:
2288         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2289         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2290         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2291         (gst_base_sink_do_sync):
2292         * libs/gst/base/gstbasesink.h:
2293         * win32/common/libgstbase.def:
2294         Add method to allow sinks to specify additional delay between the sync
2295         times and the actual rendering of the data.
2296         API: gst_base_sink_set_render_delay()
2297         API: gst_base_sink_get_render_delay()
2298
2299 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2300
2301         * configure.ac:
2302         Bump version number back to dev -> 0.10.20.1
2303
2304 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2305
2306         * docs/gst/gstreamer-sections.txt:
2307         * gst/gsttaglist.c: (_gst_tag_initialize):
2308         * gst/gsttaglist.h:
2309         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2310         Fixes bug #538568.
2311
2312 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2313
2314         * libs/gst/controller/gstcontroller.c:
2315           Revert one change, that make ret value possible uninitialized.
2316
2317 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2318
2319         * libs/gst/controller/gstcontroller.c:
2320           Use freeze/thaw notify to sync notify emission a bit (its also more
2321           efficient). Move debug output to LOG (is called a lot in a loop).
2322           Always unset g_values if the have been initialized.
2323
2324 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2325
2326         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2327         (gst_base_sink_wait_eos), (gst_base_sink_event):
2328         If we have not seen a buffer before EOS, use the segment values to
2329         report the current position instead of invalid positions.
2330
2331 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2332
2333         * docs/plugins/tmpl/.cvsignore:
2334         * tests/check/gst/.cvsignore:
2335           Ignore more.
2336
2337 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2338
2339         * libs/gst/controller/gstinterpolation.c:
2340         * libs/gst/controller/gstinterpolationcontrolsource.c:
2341         * tests/check/libs/controller.c:
2342           Rewrite handling of default values. Fix overflow with unsigned types
2343           in linear interpolation. Remove now obsolete _first_value() function.
2344           Add more tests. Fixes #538201.
2345
2346 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2347
2348         * libs/gst/base/gstbasetransform.c:
2349         (gst_base_transform_class_init), (gst_base_transform_init),
2350         (gst_base_transform_transform_caps),
2351         (gst_base_transform_prepare_output_buffer):
2352         Add debug info.
2353         When a buffer is writable, its metadata is also writable so we don't
2354         need to subbuffer (which then makes the buffer not-writable anymore).
2355
2356 === release 0.10.20 ===
2357
2358 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2359
2360         * configure.ac:
2361           releasing 0.10.20, "You Crazy Diamond"
2362
2363 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2364
2365         * configure.ac:
2366         0.10.19.3 pre-release
2367
2368 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2369
2370         * configure.ac:
2371         * gst/gstpreset.c:
2372         Rename DATADIR to GST_DATADIR to avoid build problems
2373         on win32. Patch By: David Schleef <ds@schleef.org>
2374         Fixes: #536857
2375
2376 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2377
2378         * configure.ac:
2379         Explicitely link with -ldl if dladdr() is found there. Before it was
2380         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2381         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2382
2383 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2384
2385         * gst/gsterror.c: (_gst_stream_errors_init):
2386           Fix typo (spotted by Fabricio Godoy, #536723).
2387
2388 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2389
2390         * configure.ac:
2391         0.10.19.2 pre-release
2392
2393 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2394
2395         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2396         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2397         Add some debug.
2398         Make sure we don't generate invalid QoS messages.
2399
2400 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2401
2402         * gst/gstevent.c: (gst_event_new_qos):
2403         Add some assert and docs for invalid input to the qos function.
2404
2405 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2406
2407         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2408         (gst_base_sink_get_position):
2409         The reported position must always be smaller than the last seen
2410         timestamps (or timestamp + duration for reverse).
2411
2412 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2413
2414         Patch by: Rob Bradford <rob at robster dot org dot uk>
2415
2416         * gst/gstregistry.c: (gst_registry_scan_path_level):
2417         Don't recurse into .debug directories as some distros install
2418         the debugging symbols next to the plugins in .debug directories
2419         and dlopen() crashes on them sometimes. Fixes bug #508070.
2420
2421         Add FIXME for 0.11 to not recurse into directories at all because
2422         it's very inconsistent to the behaviour of other PATH environment
2423         variables.
2424
2425 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2426
2427         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2428         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2429         Fix position query range checks in reverse playback.
2430
2431 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2432
2433         * gst/gstelement.c:
2434         * gst/gstelement.h:
2435         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2436         clear of the reference to the resulting pad must be released later
2437         or not, resulting in possible leaks. Fixes bug #533865.
2438
2439 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2440
2441         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2442
2443         * gst/gstelementfactory.c:
2444         Small doc fix. Fixes #535285.
2445
2446 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2447
2448         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2449
2450         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2451         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2452         (gst_base_src_loop), (gst_base_src_set_flushing),
2453         (gst_base_src_change_state):
2454         Make sending an EOS event to the basesrc non-blocking even if the
2455         implementation does blocking waits in the create function. This is done
2456         by unlocking the create function when EOS is sent.
2457         Fixes #535218.
2458
2459 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2460
2461         * tools/gst-inspect.c: (print_element_properties_info):
2462         If possible print the element type of GValueArray properties.
2463
2464 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2465
2466         * gst/gstiterator.c:
2467         Remove an unused field from the private GstListIterator struct.
2468
2469 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2470
2471         * libs/gst/controller/gstcontroller.c:
2472           Add parameter guards.
2473
2474 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2475
2476         * tests/check/gst/gstpipeline.c:
2477           Revert test change and add comment why it should not work.
2478
2479 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2480
2481         * tests/check/gst/gstpipeline.c:
2482           Extending the test a little to verify that we also get the NULL state-
2483           change message.
2484
2485 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2486
2487         * gst/gstpreset.c: (gst_preset_default_get_meta),
2488           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2489           (gst_preset_load_preset), (gst_preset_save_preset),
2490           (gst_preset_rename_preset), (gst_preset_delete_preset),
2491           (gst_preset_set_meta):
2492           Add Since: markers to docs blurbs.
2493
2494         * win32/common/libgstreamer.def:
2495           Add recently-added API.
2496
2497 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2498
2499         Patch by: Stefan Kost  <ensonic@users.sf.net>
2500
2501         * configure.ac:
2502         Add DATADIR for storing presets.
2503
2504         * docs/gst/gstreamer-docs.sgml:
2505         * docs/gst/gstreamer-sections.txt:
2506         * docs/gst/gstreamer.types.in:
2507         Add GstPreset to docs.
2508
2509         * gst/Makefile.am:
2510         * gst/gst.h:
2511         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2512         (preset_open_and_parse_header), (preset_parse_version),
2513         (preset_merge), (preset_get_keyfile),
2514         (gst_preset_default_get_preset_names),
2515         (gst_preset_default_get_property_names),
2516         (gst_preset_default_load_preset),
2517         (gst_preset_default_save_presets_file),
2518         (gst_preset_default_save_preset),
2519         (gst_preset_default_rename_preset),
2520         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2521         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2522         (gst_preset_default_reset), (gst_preset_get_preset_names),
2523         (gst_preset_get_property_names), (gst_preset_load_preset),
2524         (gst_preset_save_preset), (gst_preset_rename_preset),
2525         (gst_preset_delete_preset), (gst_preset_set_meta),
2526         (gst_preset_get_meta), (gst_preset_class_init),
2527         (gst_preset_base_init), (gst_preset_get_type):
2528         * gst/gstpreset.h:
2529         Add GstPreset to core. Fixes #396779
2530
2531         * tests/check/Makefile.am:
2532         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2533         (gst_preset_test_set_property), (gst_preset_test_class_init),
2534         (gst_preset_test_base_init), (gst_preset_test_get_type),
2535         (gst_preset_test_plugin_init), (GST_START_TEST),
2536         (remove_preset_file), (test_setup), (test_teardown),
2537         (gst_preset_suite):
2538         Add GstPreset unit tests.
2539
2540 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2541
2542         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2543         The default event function on a sinkpad should return TRUE when
2544         there are no internal links but should collect the return values from
2545         the internal links otherwise.
2546
2547 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2548
2549         * plugins/elements/gsttypefindelement.c:
2550         (gst_type_find_element_src_event),
2551         (gst_type_find_element_handle_event):
2552         Use faster and safer _pad_push_event().
2553
2554 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2555
2556         * docs/gst/gstreamer-sections.txt:
2557         * gst/gstutils.c: (element_find_unlinked_pad),
2558           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2559         * gst/gstutils.h:
2560           API: add gst_bin_find_unlinked_pad()
2561           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2562
2563 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2564
2565         * gst/gstclock.c:
2566         * gst/gstclock.h:
2567         * gst/gsttask.c:
2568         * gst/gsttask.h:
2569         Fixed a bunch of typos.
2570
2571 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2572
2573         * gst/gstpad.h:
2574         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2575           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2576           (gst_parse_bin_from_description_full):
2577         * gst/gstutils.h:
2578           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2579
2580 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2581
2582         * docs/pwg/advanced-tagging.xml:
2583           Small docs update, can't be bothered to rewrite the nonsensical
2584           examples right now.
2585
2586 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2587
2588         * gst/gstevent.h:
2589           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2590
2591 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2592
2593         * gst/parse/grammar.y:
2594           Remove unneeded casts.
2595
2596 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2597
2598         * gst/parse/grammar.y:
2599         * tests/check/pipelines/parse-launch.c:
2600           Get all missing elements from a parse launch string if possible
2601           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2602
2603 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2604
2605         * tests/check/Makefile.am:
2606         * tests/check/pipelines/parse-launch.c:
2607           Add some unit tests for the new gst_parse_launch*_full() API.
2608           (Exposes a previously-existing memory leak in the error code
2609           path, so adding to VALGRIND_TO_FIX for now).
2610
2611 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2612
2613         * docs/gst/gstreamer-sections.txt:
2614         * gst/gst.c: (init_post):
2615         * gst/gst_private.h: (_GstParseContext):
2616         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2617           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2618           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2619           (gst_parse_launch_full):
2620         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2621           (GstParseFlags), (GstParseContext):
2622         * gst/gstutils.c: (gst_parse_bin_from_description),
2623           (gst_parse_bin_from_description_full):
2624         * gst/gstutils.h:
2625         * gst/parse/grammar.y:
2626         * gst/parse/types.h:
2627         * win32/common/libgstreamer.def:
2628           Add new gst_parse_*_full API (#528178):
2629           API: gst_parse_launch_full()
2630           API: gst_parse_launchv_full()
2631           API: gst_parse_bin_from_description_full()
2632           API: gst_parse_context_new()
2633           API: gst_parse_context_free()
2634           API: gst_parse_context_get_missing_elements()
2635
2636 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2637
2638         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2639
2640         * docs/faq/gst-uninstalled:
2641           Also support ffmpeg in gst-uninstalled.
2642
2643 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2644
2645         * configure.ac:
2646         After discussion on IRC use the binary registry as default
2647         but allow to disable it with --disable-binary-registry.
2648
2649         * win32/common/libgstreamer.def:
2650         Add the two new symbols for the binary registry.
2651
2652 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2653
2654         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2655         * gst/gstutils.c: (gst_parse_bin_from_description):
2656         * gst/parse/grammar.y: (graph):
2657           More guards against bad input; typo fix; some minor clean-ups.
2658
2659 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2660
2661         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2662
2663         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2664         If nothing else can be used, use the last buffer's start time as
2665         the segment's last stop. Fixes bug #534258.
2666
2667 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2668
2669         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2670           Move size sanity check to the right place: downstream may return
2671           a buffer with a smaller size if the buffer caps are different than
2672           the requested ones, as may happen when doing reverse negotiation.
2673
2674 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2675
2676         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2677         (gst_file_sink_render):
2678         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2679         (gst_file_src_start):
2680         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2681         use it yet.
2682
2683 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2684
2685         * gst/gstpad.c: (gst_pad_load_and_link):
2686         * gst/gstutils.c: (gst_element_link_pads),
2687         (gst_element_unlink_pads):
2688         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2689         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2690         (gst_check_teardown_sink_pad),
2691         (gst_check_element_push_buffer_list):
2692         * tests/check/elements/fakesink.c: (GST_START_TEST):
2693         * tests/check/elements/filesink.c:
2694         * tests/check/elements/filesrc.c: (GST_START_TEST):
2695         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2696         (mq_sinkpad_to_srcpad):
2697         * tests/check/elements/tee.c: (GST_START_TEST):
2698         * tests/check/generic/sinks.c: (GST_START_TEST):
2699         * tests/check/gst/gstbin.c: (GST_START_TEST):
2700         * tests/check/gst/gstevent.c: (GST_START_TEST):
2701         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2702         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2703         * tests/check/gst/gstquery.c: (GST_START_TEST):
2704         * tests/check/gst/gstutils.c: (GST_START_TEST):
2705         * tests/check/libs/basesrc.c: (GST_START_TEST):
2706         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2707         (gst_parse_test_element_change_state):
2708         Don't use gst_element_get_pad().
2709
2710 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2711
2712         * docs/Makefile.am:
2713         Fix installing plugin documentation when gtk-doc is disabled.
2714
2715 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2716
2717         * docs/manual/advanced-autoplugging.xml:
2718         * docs/manual/basics-helloworld.xml:
2719         * docs/manual/basics-pads.xml:
2720         * docs/manual/highlevel-components.xml:
2721         Avoid using a bad function in the example code.
2722
2723 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2724
2725         * gst/gstclock.c: (gst_clock_set_calibration):
2726         Fix debug of the new clock rate.
2727
2728 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2729
2730         * win32/common/libgstbase.def:
2731         Add gst_base_sink_wait_clock() to the exported symbols.
2732
2733 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2734
2735         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2736
2737         * libs/gst/base/gstbasetransform.c:
2738         (gst_base_transform_sink_event):
2739         Unref events that the GstBaseTransform::event vfunc didn't want to
2740         have forwarded by the base class. Closes a leak in identity.
2741         Fixes bug #446763.
2742
2743 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2744
2745         * docs/libs/gstreamer-libs-sections.txt:
2746         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2747         * libs/gst/base/gstbasesink.h:
2748         Expose a method that was previously used internally to synchronize
2749         against the clock because it can be useful for subclasses too.
2750         API: GstBaseSink::gst_base_sink_wait_clock()
2751
2752 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2753
2754         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2755           Add sanity check to make sure we don't get smaller buffers
2756           than requested (and fallback to normal buffer alloc if we do).
2757
2758 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2759
2760         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2761         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2762         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2763         Refactor adjusting the running_time with latency and offset into a
2764         separate method.
2765         When doing clipping, we still want to use the subclass get_times method,
2766         just in case the DURATION or TIMESTAMP are not set.
2767
2768 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2769
2770         * docs/gst/gstreamer-sections.txt:
2771         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2772         * gst/gsttypefind.h:
2773         * win32/common/libgstreamer.def:
2774           API: add gst_type_find_suggest_simple(), #533740.
2775
2776 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2777
2778         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2779           Use right error code when typefinding fails, so we can use
2780           the default (translated) error messages.
2781
2782 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2783
2784         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2785         (gst_base_src_start):
2786         When the subclass did not set caps on outgoing buffers, configure the
2787         caps we negotiated on the source pad.
2788         When the typefind helper does not find caps, error out properly instead
2789         of doing things with NULL caps.
2790
2791 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2792
2793         * gst/gsttypefind.h:
2794           Tabs to spaces, oh yes!
2795
2796 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2797
2798         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2799           Add David's and Benjamin's tests for array intersection to the
2800           unit test suite (#147931).
2801
2802 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2803
2804         * gst/gstevent.c:
2805           Document that gst_event_new_tag() and gst_event_new_navigation()
2806           take ownership of the taglist/structure passed to them. (#533635).
2807
2808 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2809
2810         * docs/Makefile.am:
2811         Don't descend into the plugins dir if plugin docs building
2812         is disabled.
2813
2814         * docs/README:
2815         Add a note about the new type:GTypeName syntax for the plugin
2816         documentation .types file.
2817
2818 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2819
2820         * gst/gstmessage.c: (gst_message_new_error),
2821         (gst_message_new_warning), (gst_message_new_info):
2822         * gst/gstmessage.h:
2823         Mark the debug string parameters as const. Fixes bug #533490.
2824
2825 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2826
2827         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2828         Sort buffer cache list by end offsets. This makes sure that we don't
2829         stop to search for a cached buffer that contains the requested data
2830         too early.
2831         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2832         more efficient. Fixes bug #459862.
2833
2834 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2835
2836         * gst/gstinfo.c:
2837           Explain why we copy the list.
2838
2839         * gst/gstpipeline.c:
2840           Improve docs.
2841
2842         * gst/gstutils.c:
2843           Add one debug-log statement to help tracing probelms with linking pads.
2844
2845 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2846
2847         * tests/check/gst/gstinfo.c:
2848         Add a test for removing the default log handler. Seems to fail under
2849         windows.
2850
2851 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2852
2853         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2854         Release pad lock before calling out to avoid a possible deadlock.
2855
2856 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2857
2858         * gst/parse/grammar.y:
2859         Remove unneeded value unset.
2860
2861         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2862         Add unit test for de/serialization of caps.
2863
2864 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2865
2866         * plugins/elements/gstfakesink.c:
2867         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2868         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2869         (gst_fake_src_class_init):
2870         Use custom marshalers that take GstMiniObject as first parameter.
2871         Using OBJECT as parameter while a GstMiniObject is given will lead
2872         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2873
2874 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2875
2876         * plugins/elements/gsttypefindelement.c:
2877         (gst_type_find_element_handle_event),
2878         (gst_type_find_element_send_cached_events),
2879         (gst_type_find_element_change_state):
2880         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2881         immediately.
2882
2883 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2884
2885         * plugins/elements/gsttypefindelement.c:
2886         (gst_type_find_handle_src_query), (stop_typefinding),
2887         (gst_type_find_element_handle_event),
2888         (gst_type_find_element_send_cached_events),
2889         (gst_type_find_element_change_state):
2890         Forward FLUSH_START events immediately and clean up instead of
2891         caching them.
2892
2893 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2894
2895         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2896
2897         * libs/gst/base/gstbasetransform.c:
2898         (gst_base_transform_buffer_alloc):
2899         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2900         fall back to default negotiation in the chain function if the caps
2901         are different from what was requested. Fixes bug #526768.
2902
2903 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2904
2905         * gst/gstsegment.c:
2906         * tests/check/gst/gstsegment.c:
2907           No, let's not use g_slice_{dup|copy} here, since they only exist
2908           since GLib 2.14 and we still depend only on >= 2.12. Also add
2909           unit test for gst_segment_copy().
2910
2911 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2912
2913         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2914           Try to fix 'dereferencing type-punned pointer will break strict
2915           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2916           changed the default GType typedef from gulong to gsize at some point,
2917           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2918           g_once_* functions all take a gsize * though, so work around the type
2919           mismatch for C++ by doing everything in gsize and casting to GType
2920           later.
2921
2922 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2923
2924         * plugins/elements/gstmultiqueue.c:
2925         Add documentation for the signals to push our core plugin docs
2926         coverage back up to 100%.
2927
2928 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2929
2930         * gst/gstinfo.h (GST_FUNCTION):
2931           Reverted GST_FUNCTION to the old version as we don't want the
2932           full signature in C++ code. Also added support for MSVC.
2933
2934 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2935
2936         * gst/gstutils.h:
2937         Intern the type name string, similar to what G_DEFINE_TYPE does.
2938
2939 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2940
2941         * gst/gstutils.h:
2942         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2943
2944 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2945
2946         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2947
2948         * libs/gst/base/gstbasetransform.c:
2949         (gst_base_transform_buffer_alloc):
2950         Don't passthrough buffer allocation too easily if the caps change.
2951         This breaks when working in passthrough mode and upstream changes
2952         it's caps. Fixes bug #526768.
2953
2954 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2955
2956         * gst/gstinfo.c (gst_debug_log_valist):
2957           Improved the __FILE__ part of debug output for MSVC.
2958
2959 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2960
2961         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2962           Declaration after statement fix for compilers like MSVC.
2963
2964 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2965
2966         * win32/common/config.h.in:
2967           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2968           use the real thing than having "???" unconditionally.
2969
2970 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2971
2972         * gst/gstinfo.h (GST_FUNCTION):
2973           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2974
2975 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2976
2977         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2978         Small code cleanup.
2979
2980         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2981         (gst_base_sink_set_flushing):
2982         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2983         Fix some comments.
2984
2985 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2986
2987         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2988         (gst_fake_src_init), (gst_fake_src_set_property),
2989         (gst_fake_src_get_property), (gst_fake_src_start):
2990         * plugins/elements/gstfakesrc.h:
2991         Added format property to control the format of the newsegment events.
2992         API: GstFakeSrc:format
2993
2994 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2995
2996         * win32/common/libgstreamer.def:
2997         Add gst_pad_has_name() to the exported symbols.
2998
2999 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3000
3001         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3002         * libs/gst/base/gstbasetransform.c:
3003         (gst_base_transform_prepare_output_buffer):
3004         Don't allow negative sizes when allocating new buffers.
3005         Fixes bug #461253.
3006
3007 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3008
3009         Patch by: Sjoerd Simons <sjoerd at luon net>
3010
3011         * gst/gstbus.c: (gst_bus_source_dispatch):
3012           Don't print a warning if the queue is empty when we try to pop
3013           here. That could happen if another thread or callback set the
3014           bus to flushing between the source's check/prepare and the
3015           dispatch being called (#531538).
3016
3017 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3018
3019         * plugins/elements/gstmultiqueue.c:
3020           Small docs fix.
3021         
3022 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3023
3024         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3025         Add unit test for deserializing uint64s and check some really large
3026         numbers in the int64 test.
3027
3028 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3029
3030         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3031         (print_interfaces), (print_element_properties_info),
3032         (print_signal_info):
3033         Use "%s" as format string instead of printing strings directly.
3034
3035 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3036
3037         * gst/gstclock.c: (gst_clock_set_calibration):
3038         Make some checks actually useful.
3039
3040         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3041         Remove some unused code. Unsigned integers tend to be >= 0.
3042
3043 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3044
3045         * gst/gstminiobject.c: (gst_value_get_mini_object):
3046           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3047           function was not in the unscheduled 0.10.19 release.
3048
3049 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3050
3051         * gst/gstregistry.c: (gst_registry_scan_path_level):
3052           Only print one log message per non-plugin file.
3053
3054 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3055
3056         * gst/gstinfo.c: (gst_debug_log_default):
3057           Fix alignment of debug log columns on 64-bit.
3058
3059 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3060
3061         * docs/libs/Makefile.am:
3062         * docs/libs/gstreamer-libs-sections.txt:
3063           Ignore private controller headers for docs.
3064
3065 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3066
3067         * libs/gst/controller/gstcontrollerprivate.h:
3068         * libs/gst/controller/gsthelper.c:
3069         * libs/gst/controller/gstinterpolation.c:
3070         * libs/gst/controller/gstinterpolationcontrolsource.c:
3071         (gst_interpolation_control_source_set_interpolation_mode):
3072         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3073         * libs/gst/controller/lib.c:
3074         Move some private declarations into private headers.
3075
3076 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3077
3078         * gst/gstdebugutils.c: (debug_dump_element_pad):
3079         Remove some code that is unused after Stefan's refactoring and uses
3080         uninitialized variables now, resulting in a compiler warning.
3081
3082 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3083
3084         * gst/gstregistry.c: (gst_registry_scan_path_level):
3085           Run g_str_has_suffix() only on the file name, not the
3086           entire file path.
3087
3088 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3089
3090         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3091           Since we're not called only from the chain function any longer,
3092           we can't assume that there's always data in the queue, so move
3093           the is_full check to the beginning of the loop (otherwise we'd
3094           hit the assert when changing the limit properties while the
3095           queue is empty or not running yet).
3096           Also, only set a discont if items were actually removed from
3097           the queue.
3098
3099         * tests/check/elements/queue.c: (test_leaky_downstream):
3100           Test case for the above.
3101
3102 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3103
3104         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3105
3106         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3107         (gst_queue_chain), (queue_capacity_change),
3108         (gst_queue_set_property):
3109         When changing thr max capacity of a leaky queue, immediatly drop buffers
3110         instead of waiting for a push on the sinkpad. Fixes #530637.
3111
3112 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3113
3114         * gst/gstdebugutils.c:
3115           Refactor code and fix handling of ghostpads and their proxypads.
3116
3117 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3118
3119         * docs/gst/gstreamer-sections.txt:
3120         * gst/gstevent.c: (gst_event_has_name):
3121         * gst/gstevent.h:
3122         * tests/check/gst/gstevent.c: (GST_START_TEST):
3123         Add method to conveniently check the name of a custom event with
3124         gst_event_has_name().
3125         Reformat the event docs so that related methods are put together instead
3126         of the default alphabetical sort.
3127         Update unit test with new method.
3128         API: GstEvent::gst_event_has_name()
3129
3130 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3131
3132         * libs/gst/check/Makefile.am:
3133           Don't add an explicit link to libgstreamer-0.10.la; it's already
3134           included in GST_OBJ_LIBS.
3135
3136 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3137
3138         * gst/gst.c:
3139         Register GstClock type from a type-safe context. Fixes bug #530317.
3140
3141 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3142
3143         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3144         * tools/gst-run.c:
3145           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3146
3147 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3148
3149         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3150         (gst_bin_dispose):
3151         Use the GLib stuff to create a private structure.
3152         Add some locking around some dispose methods to make them a little
3153         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3154
3155 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3156
3157         * libs/gst/base/gstbasesink.h:
3158         * libs/gst/base/gstbasesrc.h:
3159         * libs/gst/base/gstbasetransform.h:
3160         * libs/gst/base/gstcollectpads.h:
3161           Fix doc typos and unify caps a bit.
3162
3163 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3164
3165         * tools/gst-launch.1.in:
3166           Forgot to also add the envvar docs here.
3167
3168 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3169
3170         * gst/gst.c: (init_post), (gst_deinit):
3171         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3172           (test_concurrent_create), (gst_pipeline_suite):
3173           Ref some more classes in gst_init() to work around thread-safety
3174           issues in pre-2.16 GLibs, and add basic unit test.
3175
3176 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3177
3178         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3179         (gst_base_sink_send_event):
3180         Rearrange the latency query code. We always want to do the upstream
3181         query, even if we are not live so that the upstream elements can get the
3182         latency results too. If we fail doing the query and we are live, we
3183         return TRUE afterwards.
3184
3185 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3186
3187         patch by: Jason Zhao <e3423c@motorola.com>
3188
3189         * docs/gst/running.xml:
3190         * gst/gst.c:
3191           Enable/disable scan_and_update_registry() based on commandline switch
3192           or environment variable. Fixes #520468.
3193           
3194         * ChangeLog:
3195           Fix typo in my previous commit.
3196
3197 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3198
3199         * gst/gstregistrybinary.c:
3200           Add a warning if we hit unhandled factories when saving.
3201           More debug logging detail, but move to LOG category.
3202
3203 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3204
3205         * gst/gstregistry.c:
3206           Tell the *truth* when improving the documentation.
3207
3208 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3209
3210         * gst/gstelementfactory.c: (gst_element_factory_make):
3211         Unref the factory after it was used the last time, not before.
3212
3213         * gst/gstindexfactory.c: (gst_index_factory_make):
3214         Improve debugging a bit and don't leak a ref to the index factory with
3215         each call.
3216
3217 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3218
3219         * gst/gstregistry.c:
3220           Improve the documentation.
3221
3222 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3223
3224         * gst/gstsegment.c:
3225           The glib macro seems to be borked. Use g_slice_copy directly and cast
3226           in the hope that this fixes the warning on 64bit.
3227
3228 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3229
3230         * gst/gstsegment.c:
3231           Document the new function. Use g_slice_dup() (no need for
3232           gst_segment_init()).    
3233
3234 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3235
3236         * docs/gst/gstreamer-sections.txt:
3237           Move GParamSepc macros to standart section.
3238   
3239         * gst/gstbin.c:
3240           Dn't document _get_type - its in private section in docs anyway and
3241           this doc-blob was incomplete.
3242
3243         * gst/gstclock.h:
3244           Fix wrong symbol names in docs.
3245
3246         * gst/gstmacros.h:
3247           Add once doc sentence.
3248
3249         * tests/check/gst/.cvsignore:
3250           Ignore more.
3251
3252 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3253
3254         * docs/gst/Makefile.am:
3255           And remove those libs here.
3256
3257 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3258
3259         * docs/libs/Makefile.am:
3260           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3261
3262 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3263
3264         Patch by: Olivier Crete <tester at tester dot ca>
3265
3266         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3267         Add the min-threshold to the min latency if possible. Fixes #529148.
3268
3269 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3270
3271         * docs/gst/gstreamer.types.in:
3272           Stupid editor, I removed that line as it should go in yet.
3273
3274 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3275
3276         * docs/gst/gstreamer.types.in:
3277         * docs/libs/gstreamer-libs.types:
3278           Remove library types fro core docs and have them in libs docs.
3279           Reformat and cleanup. Add comment for miniobject types.
3280
3281 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3282
3283         * gst/gsturi.c: (gst_uri_get_protocol):
3284           Fix leak: g_strdown operates on the string in place, while
3285           g_ascii_strdown() returns a newly-allocated string.
3286
3287 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3288
3289         * tools/gst-inspect.c: (print_uri_handler_info),
3290         (print_element_info):
3291         Print the URI protocols and the URI type supported by the element.
3292
3293 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3294
3295         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3296         Use g_value_take_string() instead of the deprecated
3297         g_value_set_string_take_ownership().
3298
3299 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3300
3301         * gst/gstregistrybinary.c: (_gst_crc32):
3302         Return the old CRC instead of 0 if we give a NULL buffer
3303         or a buffer with a length of 0.
3304
3305 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3306
3307         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3308         (gst_uri_get_protocol), (gst_uri_has_protocol),
3309         (gst_uri_construct), (gst_uri_handler_set_uri):
3310         A valid URI scheme can also include '+', '-' and '.' additional
3311         to alphanumeric characters as per RFC 3986 Section 3.1.
3312
3313         Handle URI schemes case insensitive in all places and convert
3314         to lower-case when constructing an URI or setting an URI with
3315         the GstURIHandler interface. Fixes bug #528868.
3316         All elements can still assume (as before) that they will
3317         get passed URIs with a lower-case URI scheme by the GstURIHandler
3318         interface.
3319
3320 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3321
3322         * gst/gstcaps.c: (gst_static_caps_get):
3323         * gst/gstclock.c: (gst_clock_entry_new):
3324           Don't use g_atomic_set_int where it's not needed.
3325
3326 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3327
3328         * gst/gstvalue.c: (gst_value_deserialize_caps):
3329         * gst/parse/grammar.y:
3330         Fix 2 caps leaks.
3331
3332 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3333
3334         * gst/gstutils.c: (gst_atomic_int_set):
3335         Use g_atomic_int_set() here too instead of assignment +
3336         g_atomic_int_get().
3337
3338 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3339         
3340         * gst/gstutils.c:
3341         * gst/gstutils.h:
3342         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3343         now that we depend on new enough GLib.
3344
3345         * gst/gstcaps.c: (gst_static_caps_get):
3346         * gst/gstclock.c: (gst_clock_entry_new):
3347         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3348         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3349         (gst_debug_category_set_threshold):
3350         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3351         (gst_base_sink_set_qos_enabled):
3352         * libs/gst/net/gstnettimeprovider.c:
3353         (gst_net_time_provider_set_property):
3354         Use g_atomic_int_set() instead of gst_atomic_int_set().
3355
3356 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3357
3358         * gst/gstquery.c:
3359           Also use G_GINT64_CONSTANT for the queries.
3360
3361 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3362
3363         * gst/gstmessage.c:
3364           Use G_GINT64_CONSTANT in varargs function.
3365
3366 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3367
3368         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3369         Initialize the registry magic with zeroes.
3370
3371 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3372
3373         * gst/gstregistrybinary.c: (_gst_crc32),
3374         (gst_registry_binary_write),
3375         (gst_registry_binary_initialize_magic),
3376         (gst_registry_binary_write_cache),
3377         (gst_registry_binary_check_magic),
3378         (gst_registry_binary_read_cache):
3379         * gst/gstregistrybinary.h:
3380         Add crc32 checksum to the binary registry file and check this before
3381         accepting a registry file.
3382
3383         Also free the data list when writing to the registry file fails.
3384
3385 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3386
3387         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3388         (gst_registry_binary_load_feature),
3389         (gst_registry_binary_load_plugin):
3390         If an element supports the Uri interface, returns a valid pointer
3391         to the supported URI protocols but this pointer contains nothing
3392         don't try to save that as it will corrupt the registry.
3393
3394         Don't unref the plugin if we added it to the registry already but
3395         fail to load a feature as gst_registry_add_plugin() takes ownership
3396         of the plugin.
3397
3398         Improve debugging a bit.
3399
3400 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3401
3402         * gst/gsttaglist.h:
3403           Clarify some tag item docs after discussion on irc.
3404
3405 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * docs/gst/gstreamer-docs.sgml:
3408           Remove commented out plugins (they have their own docs). Update
3409           comments.
3410
3411 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3412
3413         * docs/gst/gstreamer-docs.sgml:
3414         * docs/gst/gstreamer-sections.txt:
3415         * gst/gstparamspecs.c:
3416         * gst/gstparamspecs.h:
3417           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3418           docs to own section.
3419
3420         * gst/gstvalue.c:
3421           This now only documents GValue.
3422           
3423         * docs/libs/gstreamer-libs-sections.txt:
3424         * libs/gst/controller/gstcontroller.h:
3425           Remove GST_PARAM_CONTROLLABLE.
3426
3427 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3428
3429         * docs/README:
3430           Correct file path. Tell about how to use -overrides.txt.
3431         * docs/design/draft-tagreading.txt:
3432           Small design update.
3433
3434 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3435
3436         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3437         (gst_registry_binary_load_plugin):
3438         Fix a typo in a debug message and revert change from yesterday as
3439         gst_registry_add_plugin() will only fail if something is really wrong
3440         already and we can't survive it anyway.
3441
3442 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3443
3444         * gst/gst.c: (init_post), (gst_deinit):
3445           Pre-register GstGError GType from a thread-safe context
3446           (fixes #527967); unref enum type classes in deinit.
3447
3448 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3449
3450         Patch by: Rene Stadler <mail at renestadler de>
3451
3452         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3453           Merging an empty list with another list in KEEP_ALL mode should
3454           yield an empty list as result and not the second list (#512578).
3455
3456         * tests/check/gst/gsttagsetter.c:
3457           Add unit test for tag merge modes and the aforementioned bug.
3458
3459 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3460
3461         Patch by: Rene Stadler <mail at renestadler de>
3462
3463         * gst/gsttaglist.h:
3464           Fix description to match the order in the table (#512577).
3465   
3466 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3467
3468         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3469
3470         * libs/gst/net/gstnettimepacket.h:
3471         * docs/libs/gstreamer-libs-sections.txt:
3472           Define socklen_t as int if it's not defined yet. Fixes compilation
3473           with MSVC6 and other versions where socklen_t is not defined in
3474           the windows headers (#518022).
3475
3476 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3477
3478         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3479         If gst_registry_add_plugin() fails our reference to the plugin is
3480         invalid so don't try to use it anymore and instead error out.
3481
3482 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3483
3484         * tools/gst-xmlinspect.c: (print_element_info), (main):
3485           De-cruft a bit. If no argument is specified, print all elements in
3486           XML syntax rather than a freestyle list of elements like gst-inspect.
3487           Also, don't print XML header chunk unless we actually have something
3488           to print (ie. don't print it before an error message); print error
3489           message to stderr not stdout. Remove support for printing plugin
3490           info (it would just output something freestyle along the lines of
3491           gst-inspect so far), which fixes #514507. Also add license header.
3492
3493 2008-04-11  Julien Moutte  <julien@fluendo.com>
3494
3495         Mac OS X love...
3496         * configure.ac: Merge platform specific defines, introduce a new
3497         define on OS X to remember that forking when updating registry is
3498         unsafe.
3499         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3500         module.
3501         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3502         is defined.
3503         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3504         condition that leads to absolutely no plugins being registered on
3505         OS X.
3506
3507 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3508
3509         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3510
3511         * gst/gstutils.c: (gst_pad_add_data_probe),
3512           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3513           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3514           (gst_pad_add_buffer_probe_full):
3515         * gst/gstutils.h:
3516         * docs/gst/gstreamer-sections.txt:
3517         * win32/common/libgstreamer.def:
3518           Add gst_pad_add_*_probe_full() functions with a notify callback that
3519           lets the caller free the data it passes to the probe functions. This
3520           is useful for bindings such as gst-python or gstreamermm (#526814).
3521           API: gst_pad_add_data_probe_full
3522           API: gst_pad_add_buffer_probe_full
3523           API: gst_pad_add_event_probe_full
3524
3525         * tests/check/gst/gstutils.c:
3526           Add minimal unit test to make sure freeing the data actually works
3527           as expected.
3528
3529         * tests/benchmarks/.cvsignore:
3530           Random cvsignore addendum.
3531
3532 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3533
3534         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3535           (GST_DEBUG_BIN_TO_DOT_FILE):
3536           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3537           to it in the docs (since these are macros the types of the arguments
3538           won't be shown in the docs otherwise).
3539
3540 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3541
3542         * gst/gstpad.c:
3543           Do not abort on out of memory for pad_alloc_buffer.
3544
3545 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3546
3547         * libs/gst/check/gstcheck.c:
3548           Remove blank line between symbol name ad parameters to fix gtkdoc
3549           warning.
3550
3551 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3552
3553         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3554
3555         * docs/gst/gstreamer-sections.txt:
3556         * gst/gstsegment.c:
3557         * gst/gstsegment.h:
3558         * win32/common/libgstreamer.def:
3559           Expose gst_segment_copy() to make things easier for the c++ bindings.
3560           Fixes #518932.
3561           API: gst_segment_copy()
3562
3563 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3564
3565         * gst/gst.c: (gst_init_get_option_group), (init_post):
3566           Fix const position; ref GType classes for enum types to work
3567           around thread-safety issues in GLib versions < 2.16.
3568
3569 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3570
3571         * docs/design/part-buffering.txt:
3572         Fix some typos and set the estimated total for push mode to -1.
3573
3574         * gst/gstquery.c: (gst_query_new_buffering):
3575         Set buffering-left to 0 as we're not buffering by default.
3576
3577         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3578         Implement BUFFERING query.
3579
3580 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3581
3582         Based on patch by: Milosz Derezynski <internalerror gmail com>
3583
3584         * gst/gsterror.c: (_gst_stream_errors_init):
3585         * gst/gsterror.h:
3586           Add two new error codes for encrypted content. Fixes #524659.
3587           API: GST_STREAM_ERROR_DECRYPT
3588           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3589
3590 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3591
3592         * gst/gstquery.h:
3593           Fix typo.
3594
3595         * win32/common/libgstreamer.def:
3596           Add new functions.
3597
3598 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3599
3600         * plugins/elements/gstidentity.c: (gst_identity_event),
3601         (gst_identity_start):
3602         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3603         event after processing some data. Fixes bug #526042.
3604
3605 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3606
3607         * docs/gst/gstreamer-sections.txt:
3608         * gst/gstquery.c: (gst_query_parse_latency),
3609         (gst_query_set_buffering_percent),
3610         (gst_query_parse_buffering_percent),
3611         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3612         * gst/gstquery.h:
3613         Rename _avail -> _range
3614         API: gst_query_set_buffering_range
3615         API: gst_query_parse_buffering_range
3616
3617 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3618
3619         * docs/design/part-buffering.txt:
3620         * gst/gstquark.c:
3621         * gst/gstquark.h:
3622         * gst/gstquery.c: (gst_query_parse_latency),
3623         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3624         (gst_query_parse_buffering_percent):
3625         * gst/gstquery.h:
3626         Add busy field and quark for the buffering query so that the app can
3627         only use the query to see if buffering is in progress.
3628
3629 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3630
3631         * docs/gst/gstreamer-sections.txt:
3632         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3633         (gst_message_parse_buffering_stats):
3634         * gst/gstmessage.h:
3635         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3636         (gst_query_parse_latency), (gst_query_new_buffering),
3637         (gst_query_set_buffering_percent),
3638         (gst_query_parse_buffering_percent),
3639         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3640         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3641         * gst/gstquery.h:
3642         Reorder the message docs and headers for clarity.
3643         Add aditional buffering stats API for messages.
3644         Add buffering query.
3645         Convert some leftover queries to use GstQuark.
3646         API: gst_message_set_buffering_stats
3647         API: gst_message_parse_buffering_stats
3648         API: GST_QUERY_BUFFERING
3649         API: GstBufferingMode
3650         API: gst_query_new_buffering
3651         API: gst_query_set_buffering_percent
3652         API: gst_query_parse_buffering_percent
3653         API: gst_query_set_buffering_stats
3654         API: gst_query_parse_buffering_stats
3655
3656 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3657
3658         * gst/gstmessage.c: (gst_message_new_error),
3659         (gst_message_new_warning), (gst_message_new_info),
3660         (gst_message_new_buffering), (gst_message_new_state_changed),
3661         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3662         (gst_message_new_new_clock), (gst_message_new_segment_start),
3663         (gst_message_new_segment_done), (gst_message_new_duration),
3664         (gst_message_new_async_start), (gst_message_parse_buffering),
3665         (gst_message_parse_state_changed),
3666         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3667         (gst_message_parse_new_clock), (gst_message_parse_error),
3668         (gst_message_parse_warning), (gst_message_parse_info),
3669         (gst_message_parse_segment_start),
3670         (gst_message_parse_segment_done), (gst_message_parse_duration),
3671         (gst_message_parse_async_start):
3672         Use GstQuark for messages.
3673
3674 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3675
3676         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3677         * gst/gstquark.h:
3678         Add some more quarks needed for messages and queries.
3679
3680 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3681
3682         * docs/design/part-buffering.txt:
3683         Remove the "none" buffering mode, STREAM is a good default.
3684         Move estimated-time to the avail query, that's when it will be needed.
3685         Other small typo fixes and updates.
3686
3687 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3688
3689         * gst/gstindex.c: (gst_index_resolver_get_type):
3690           Don't put descriptions into the nick field of a GEnumValue: it's not
3691           meant for that and some language bindings rely on the nick field to
3692           construct constants and the like. Fixes #526705.
3693
3694 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3695
3696         * NEWS:
3697         * RELEASE:
3698         * gstreamer.doap:
3699           Merge other changes from 0.10.19 release branch.
3700
3701 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3702
3703         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3704
3705         * configure.ac:
3706         Actually build dlls when cross-compiling with mingw32.
3707         Fixes bug #526247.
3708
3709 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3710
3711         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3712
3713         * gst/gstpoll.c:
3714         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3715
3716 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3717
3718         * docs/design/draft-latency.txt:
3719         Fix typo.
3720
3721         * docs/design/part-buffering.txt:
3722         Update design docs with more buffering ideas.
3723
3724 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3725
3726         * configure.ac:
3727           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3728
3729 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3730
3731         * configure.ac:
3732           Revert part that belongs to the preset patch.
3733
3734 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3735
3736         * configure.ac:
3737           Add qoutes to the define. Fixes # 525961.
3738
3739 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3740
3741         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3742         (gst_file_index_load), (gst_file_index_add_id),
3743         (gst_file_index_get_assoc_entry):
3744         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3745         (gst_mem_index_free_id), (gst_mem_index_add_id),
3746         (gst_mem_index_index_format):
3747         Use GSlice when possible.
3748
3749 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3750
3751         * libs/gst/controller/gstinterpolationcontrolsource.c:
3752         (gst_control_point_free),
3753         (gst_interpolation_control_source_set_internal):
3754         Use GSlice for allocating the control points.
3755
3756 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3757
3758         * plugins/elements/gsttypefindelement.c:
3759         (gst_type_find_element_class_init),
3760         (gst_type_find_element_set_property),
3761         (gst_type_find_element_get_property),
3762         (gst_type_find_element_activate):
3763         * plugins/elements/gsttypefindelement.h:
3764         Cleanup properties.
3765         Fix pad leak when peer query fails.
3766         We can still typefind when the peer returns -1.
3767         Add property to force caps and bypass typefinding. This will be used in
3768         uridecodebin.
3769         API::force-caps
3770
3771 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3772
3773         * configure.ac:
3774         Require GLib 2.12.
3775
3776         * gst/glib-compat-private.h:
3777         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3778         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3779         Unconditionally use GSlice for allocation.
3780
3781         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3782         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3783         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3784         (gst_structure_free):
3785         Use GSlice for allocation.
3786
3787 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3788
3789         * gst/parse/Makefile.am:
3790         * gst/parse/grammar.tab.pre.c:
3791         * gst/parse/grammar.tab.pre.h:
3792         * gst/parse/lex._gst_parse_yy.pre.c:
3793         Require a new enough flex and bison and remove the parser hacks to use
3794         a pre-regenerated version.
3795
3796 2008-04-01  Julien Moutte  <julien@fluendo.com>
3797
3798         patch by: Jason Zhao <E3423C@motorola.com>
3799
3800         * configure.ac: Add a configure switch to disable option parsing
3801         in gst_init.
3802         Fixes #522882.
3803
3804 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3805
3806         * configure.ac:
3807         * gst/gstregistry.c:
3808           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3809           and handle this case.
3810
3811         * gst/gst.c:
3812           Add a comment here describing, why we stat each plugin and not try to
3813           be smart.
3814
3815 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3816
3817         * libs/gst/base/gstbasetransform.c:
3818         (gst_base_transform_prepare_output_buffer):
3819         Also unset the GAP flag on buffers if we're working inplace but
3820         the element is not GAP-aware.
3821
3822         Mark a comment as FIXME 0.11.
3823
3824 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3825
3826         * gst/gst.c:
3827           Fix type in log message and add one to ease seeing how long registry
3828           cache verification takes.
3829
3830         * gst/gstregistry.c:
3831           Only test plugin filenames against G_MODULE_SUFFIX.
3832
3833 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3834
3835         * gst/gstdebugutils.c:
3836           Improve handling ghost/proxy pads.
3837
3838 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3839
3840         * docs/gst/gstreamer-sections.txt:
3841         * gst/gstpad.c:
3842         * gst/gstpad.h:
3843           Expose macro to docs and fix link to it.
3844
3845 2008-03-27  Michael Smith <msmith@fluendo.com>
3846
3847         * libs/gst/dataprotocol/dataprotocol.c:
3848         (gst_dp_packet_from_event_1_0):
3849           When calculating GDP body CRC, use the correct pointer. 
3850           Fixes part of #522401.
3851
3852 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3853
3854         Patch by: Mark Nauwelaerts <manauw at skynet be>
3855
3856         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3857         (gst_identity_init), (gst_identity_prepare_output_buffer):
3858         Identity is not always a passthrough element, it can modify the buffer
3859         timestamps when it has a datarate and operates in single-segment mode.
3860         We therefore make it an in_place filter with a custom buffer prepare
3861         function that conditionally makes the input buffer metadata writable
3862         when needed.  Fixes #523985.
3863
3864 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3865
3866         Patch by: Mark Nauwelaerts <manauw at skynet be>
3867
3868         * gst/gstclock.h:
3869         * libs/gst/base/gstbasesrc.h:
3870         * libs/gst/base/gstbasetransform.c:
3871         * libs/gst/check/gstcheck.c:
3872         Small documentation fixes. Fixes #523978.
3873
3874 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3875
3876         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3877         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3878         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3879
3880 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3881
3882         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3883         (single_queue_underrun_cb):
3884         When trying to make room in the queue, bump the max allowed buffers
3885         bigger than the current amount of buffers in the queue. this fixes some
3886         nasty deadlocks in multiqueue when dynamically changing the limits of
3887         the queue.
3888
3889 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3890
3891         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3892
3893         * gst/gstcaps.c: (gst_caps_set_simple),
3894         (gst_caps_set_simple_valist), (gst_caps_intersect):
3895         * gst/gstcaps.h:
3896         Constify the field gchar * params in set_simple and friends.
3897         Fixes #522326.
3898
3899 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3900
3901         * gst/gstvalue.c: (gst_value_transform_object_string):
3902         Transform a GstObject to a more meaningfull string that includes the
3903         object type in addition to its name.
3904
3905 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3906
3907         * ChangeLog:
3908           ChangeLog surgery to add bugnumber to commit.
3909
3910 2008-03-23  Rene Stadler  <mail@renestadler.de>
3911
3912         * libs/gst/base/gstbasetransform.c:
3913         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3914
3915 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3916
3917         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3918         Rename constant everywhere and don't forget one occurence.
3919
3920 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3921
3922         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3923         Align memory to the pointer size even if the architecture allows
3924         unaligned memory access. Unaligned memory access usually comes with
3925         performance penality.
3926
3927 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3928
3929         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3930         (gst_registry_binary_check_magic),
3931         (gst_registry_binary_load_pad_template),
3932         (gst_registry_binary_load_feature),
3933         (gst_registry_binary_load_plugin):
3934         Align memory to the pointer size instead of always 32 bit. Fixes
3935         unaligned memory accesses on ia64 and friends.
3936
3937         * gst/gstregistrybinary.h:
3938         Bump binary registry format version for this as it changes the
3939         format on those architectures that don't have unaligned access
3940         and 64 bit pointers.
3941
3942 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3943
3944         * docs/pwg/advanced-dparams.xml:
3945         * docs/pwg/building-props.xml:
3946         * docs/pwg/other-source.xml:
3947         * gst/glib-compat.h:
3948         * gst/gstbin.c: (gst_bin_class_init):
3949         * gst/gstclock.c: (gst_clock_class_init):
3950         * gst/gstindex.c: (gst_index_class_init):
3951         * gst/gstobject.c: (gst_object_class_init):
3952         * gst/gstpad.c: (gst_pad_class_init):
3953         * gst/gstpipeline.c: (gst_pipeline_class_init):
3954         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3955         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3956         * libs/gst/base/gstbasetransform.c:
3957         (gst_base_transform_class_init):
3958         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3959         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3960         (_gst_check_fault_handler_sighandler),
3961         (_gst_check_fault_handler_setup), (gst_check_init):
3962         * libs/gst/controller/gstcontroller.c:
3963         (_gst_controller_class_init):
3964         * libs/gst/controller/gstlfocontrolsource.c:
3965         (gst_lfo_control_source_class_init):
3966         * libs/gst/net/gstnetclientclock.c:
3967         (gst_net_client_clock_class_init):
3968         * libs/gst/net/gstnettimeprovider.c:
3969         (gst_net_time_provider_class_init):
3970         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3971         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3972         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3973         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3974         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3975         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3976         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3977         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3978         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3979         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3980         * plugins/elements/gsttee.c: (gst_tee_class_init):
3981         * plugins/elements/gsttypefindelement.c:
3982         (gst_type_find_element_class_init):
3983         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3984         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3985         use it everywhere for GParamSpecs that use static strings (i.e. all).
3986         This gives us less memory usage, fewer allocations and thus less
3987         memory defragmentation. Fixes bug #523806.
3988
3989 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3990
3991         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3992         (gst_param_spec_mini_object):
3993         * gst/gstminiobject.h:
3994         * win32/common/libgstreamer.def:
3995         * docs/gst/gstreamer-sections.txt:
3996         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3997         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3998         GstParamSpecMiniObject into a public header for this.
3999
4000         This make GstMiniObject a bit more consistent with GObject and makes
4001         it possible to extend the param specs.
4002
4003         gst_value_dup_mini_object is mainly useful for set_property methods.
4004
4005         Fixes bug #523798.
4006
4007         * tools/gst-inspect.c: (print_element_properties_info):
4008         Print something useful for GstMiniObject properties and not just
4009         "unknown type".
4010
4011 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4012
4013         * docs/gst/gstreamer-sections.txt:
4014         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4015         (gst_registry_binary_check_magic):
4016         * gst/gstregistrybinary.h:
4017         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4018         and add it to the (private part) of the docs to fix the build.
4019
4020 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4021
4022         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4023         (gst_registry_binary_check_magic),
4024         (gst_registry_binary_read_cache):
4025         * gst/gstregistrybinary.h:
4026         Don't use GST_MAJORMINOR for the binary registry version. Instead
4027         hardcode a value that must be changed whenever the format changes
4028         in an incompatible way.
4029         Also don't GST_ERROR when there is a version mismatch, just
4030         regenerate the registry silently.
4031
4032 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4033
4034         * configure.ac:
4035         Back to development - 0.10.18.1
4036
4037 === release 0.10.18 ===
4038
4039 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4040
4041         * configure.ac:
4042           releasing 0.10.18, "So far away"
4043
4044 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4045
4046         * configure.ac:
4047         * win32/common/config.h:
4048         0.10.17.4 pre-release
4049
4050 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4051
4052         Patch by: Ole André Vadla Ravnås
4053             <ole dot andre dot ravnas at tandberg dot com>
4054
4055         * docs/gst/gstreamer-sections.txt:
4056         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4057         (gst_poll_update_winsock_event_mask),
4058         (gst_poll_prepare_winsock_active_sets),
4059         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4060         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4061         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4062         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4063         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4064         * gst/gstpoll.h:
4065         * win32/common/libgstreamer.def:
4066         Add new function gst_poll_fd_ignored() for improved Windows
4067         compatibility.
4068         Various minor fixes and cleanups. See #520808.
4069
4070 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4071
4072         * gst/gstindex.c: (gst_index_entry_free):
4073         * gst/gstindex.h:
4074           Don't free key strings which we don't own. Fixes crash in
4075           gst_index_entry_free() (#522741).
4076
4077         * tests/check/Makefile.am:
4078         * tests/check/gst/.cvsignore:
4079         * tests/check/gst/gstindex.c: (test_index_entries),
4080           (gst_index_suite), (gst_index):
4081           Add unit test for the above.
4082
4083 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4084
4085         * win32/common/libgstreamer.def:
4086         Remove symbols that were removed recently. Fixes bug #521740.
4087
4088 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4089
4090         * configure.ac:
4091         * win32/common/config.h:
4092         0.10.17.3 pre-release
4093
4094 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4095
4096         Patch by: Ole André Vadla Ravnås
4097             <ole dot andre dot ravnas at tandberg dot com>
4098
4099         * docs/gst/gstreamer-sections.txt:
4100         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4101         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4102         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4103         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4104         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4105         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4106         (gst_poll_fd_can_write), (gst_poll_wait),
4107         (gst_poll_set_controllable), (gst_poll_restart),
4108         (gst_poll_set_flushing):
4109         * gst/gstpoll.h:
4110         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4111         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4112         (gst_net_time_provider_new):
4113         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4114         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4115         * tests/benchmarks/gstpollstress.c: (main):
4116         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4117         Remove GstPollMode from the API, it does not make sense to let the
4118         application control this.
4119         Add support for Win32.
4120         Fix the testsuite. Fixes #520671.
4121
4122 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4123
4124         Patch by: Ole André Vadla Ravnås
4125             <ole dot andre dot ravnas at tandberg dot com>
4126
4127         * gst/gstregistrybinary.c:
4128         Include io.h for write() and close() when building with MSVC. Fixes
4129         bug #520877.
4130
4131 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4132
4133         * configure.ac:
4134         * gst/gst_private.h:
4135         * gst/gstconfig.h.in:
4136         * gst/gstregistry.h:
4137         * gst/gstregistrybinary.c:
4138         * win32/common/gstconfig.h:
4139           Move registry backend API to private headers where we can. Add
4140           fixme-0.11 comments for the others. Add stubs for the xml backend when
4141           using the binary to ensure they functions exists (they should not be
4142           used though). Fixes #520756.
4143
4144 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4145
4146         * configure.ac:
4147         * win32/common/config.h:
4148         0.10.17.2 prelease
4149
4150 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4151
4152         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4153         (gst_registry_binary_read_cache):
4154         * gst/gstregistryxml.c: (gst_registry_save):
4155         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4156         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4157         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4158         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4159         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4160         Fixes #520152
4161
4162 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4163
4164         * gst/gstminiobject.c:
4165         Import gst_private.h before any other header that might include other
4166         glib headers. This fixes the build on windows using native compilers.
4167
4168 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4169
4170         * win32/common/gstconfig.h:
4171           Add here too, just for completeness.
4172
4173 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4174
4175         * configure.ac:
4176         * gst/gstconfig.h.in:
4177         * gst/gstregistry.h:
4178           Fix broken use of config.h-defined preprocessor directive in a public
4179           header file. Add a corresponding define to gstconfig.h, since we can't
4180           really remove those function declarations from the header file now
4181           (or can we? and why are they there in the first place?).
4182
4183 2008-03-03  Andy Wingo  <wingo@pobox.com>
4184
4185         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4186         the new warning.
4187
4188         * gst/gststructure.c (gst_structure_from_string): Warn if
4189         structure_from_string didn't consume the whole string, but the
4190         caller did not provide an end pointer.
4191
4192 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4193
4194         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4195
4196         * gst/gstregistryxml.c: (read_string), (load_feature):
4197           Strings allocated by libxml2 should be freed with xmlFree(), not
4198           with g_free(). Fixes issues on windows in certain contexts (#519698).
4199
4200 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4201
4202         * gst/gstinterface.c: (gst_element_implements_interface):
4203           Don't crash if the element supports the interface queried, but does
4204           not implement GstImplementsInterface. Fixes #519584.
4205
4206         * tests/check/Makefile.am:
4207         * tests/check/gst/.cvsignore:
4208         * tests/check/gst/gstinterface.c:
4209           Add unit test for the above.
4210
4211 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4212
4213         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4214         Small doc update.
4215
4216 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4217
4218         * gst/gstsegment.c: (gst_segment_set_seek),
4219         (gst_segment_to_stream_time):
4220         Improve some comment.
4221         Update variables where it makes more sense.
4222
4223 2008-02-29  Rene Stadler  <mail@renestadler.de>
4224
4225         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4226         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4227         URIHandlers implemented using language bindings.
4228
4229 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4230
4231         * gst/gstelementfactory.h:
4232         * tests/check/elements/fakesink.c:
4233         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4234         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4235         * tests/check/elements/filesink.c: (setup_filesink):
4236         * tests/check/elements/filesrc.c: (setup_filesrc):
4237         * tests/check/elements/identity.c: (setup_identity):
4238         * tests/check/elements/tee.c:
4239         * tests/check/generic/sinks.c:
4240         * tests/check/generic/states.c: (setup), (teardown):
4241         * tests/check/gst/gst.c:
4242         * tests/check/gst/gstabi.c:
4243         * tests/check/gst/gstbin.c:
4244         * tests/check/gst/gstbus.c: (pull_messages):
4245         * tests/check/gst/gstcaps.c:
4246         * tests/check/gst/gstelement.c:
4247         * tests/check/gst/gstevent.c:
4248         * tests/check/gst/gstghostpad.c:
4249         * tests/check/gst/gstiterator.c:
4250         * tests/check/gst/gstmessage.c:
4251         * tests/check/gst/gstminiobject.c: (my_foo_init):
4252         * tests/check/gst/gstobject.c: (thread_name_object),
4253         (gst_object_suite):
4254         * tests/check/gst/gstpad.c:
4255         * tests/check/gst/gstplugin.c:
4256         * tests/check/gst/gstpoll.c:
4257         * tests/check/gst/gstquery.c:
4258         * tests/check/gst/gstsegment.c:
4259         * tests/check/gst/gststructure.c:
4260         * tests/check/gst/gstsystemclock.c:
4261         * tests/check/gst/gsttask.c:
4262         * tests/check/gst/gstutils.c:
4263         * tests/check/gst/gstvalue.c:
4264         * tests/check/gst/struct_hppa.h:
4265         * tests/check/gst/struct_i386.h:
4266         * tests/check/gst/struct_ppc32.h:
4267         * tests/check/gst/struct_ppc64.h:
4268         * tests/check/gst/struct_x86_64.h:
4269         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4270         * tests/check/libs/basesrc.c:
4271         * tests/check/libs/controller.c: (GST_START_TEST):
4272         * tests/check/libs/gdp.c:
4273         * tests/check/libs/gstnetclientclock.c:
4274         * tests/check/libs/gstnettimeprovider.c:
4275         * tests/check/libs/libsabi.c:
4276         * tests/check/libs/struct_hppa.h:
4277         * tests/check/libs/struct_i386.h:
4278         * tests/check/libs/struct_ppc32.h:
4279         * tests/check/libs/struct_ppc64.h:
4280         * tests/check/libs/struct_x86_64.h:
4281         * tests/check/pipelines/cleanup.c:
4282         * tests/check/pipelines/simple-launch-lines.c:
4283         * tests/check/pipelines/stress.c:
4284         And correct even more valid sparse warnings.
4285
4286         * win32/common/libgstreamer.def:
4287         Add gst_poll_fd_init to the list of symbols.
4288
4289 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4290
4291         * gst/gstconfig.h.in:
4292         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4293         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4294         (gst_check_log_critical_func), (gst_check_drop_buffers),
4295         (gst_check_element_push_buffer_list):
4296         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4297         (gst_controller_get_type):
4298         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4299         (gst_object_get_controller), (gst_object_get_control_source):
4300         * libs/gst/controller/gstinterpolationcontrolsource.c:
4301         (gst_interpolation_control_source_new):
4302         * libs/gst/controller/gstlfocontrolsource.c:
4303         (gst_lfo_control_source_new):
4304         * libs/gst/dataprotocol/dataprotocol.c:
4305         (gst_dp_event_from_packet_0_2):
4306         * plugins/elements/gstfdsrc.c:
4307         * plugins/elements/gstmultiqueue.c:
4308         * plugins/elements/gsttee.c:
4309         * plugins/elements/gsttypefindelement.c:
4310         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4311         (gst_file_index_add_association):
4312         * plugins/indexers/gstmemindex.c:
4313         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4314         * tests/check/elements/queue.c: (setup_queue):
4315         * tests/check/gst/gstpipeline.c:
4316         * tests/check/libs/collectpads.c: (setup), (teardown),
4317         (gst_collect_pads_suite):
4318         * tests/examples/adapter/adapter_test.c:
4319         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4320         * tests/examples/xml/createxml.c:
4321         * tests/examples/xml/runxml.c:
4322         * tools/gst-inspect.c:
4323         * tools/gst-run.c:
4324         Correct all relevant warnings found by the sparse semantic code
4325         analyzer. This include marking several symbols static, using
4326         NULL instead of 0 for pointers, not using variable sized arrays
4327         on the stack, moving variable declarations to the beginning of
4328         a block and using "foo (void)" instead of "foo ()" for declarations.
4329
4330 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4331
4332         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4333         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4334         Don't reset GstPollFDs, this is not necessary at all.
4335
4336         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4337         (delayed_restart), (delayed_control):
4338         Use GST_POLL_FD_INIT.
4339
4340 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4341
4342         * gst/gstpoll.c: (gst_poll_fd_init):
4343         * gst/gstpoll.h:
4344         Added Since tags.
4345
4346         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4347         Use some more init macros.
4348
4349 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4350
4351         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4352         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4353         Use init macros and functions.
4354
4355 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4356
4357         * docs/gst/gstreamer-sections.txt:
4358         * gst/gstpoll.c: (gst_poll_fd_init):
4359         * gst/gstpoll.h:
4360         Add INIT macro and _init method for initializing the GstPollFD.
4361
4362 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4363
4364         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4365         (gst_fd_sink_update_fd):
4366         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4367         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4368         (delayed_restart), (delayed_control):
4369         Initialize some uninitialized variables as spotted by valgrind.
4370
4371 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4372
4373         * tests/benchmarks/Makefile.am:
4374         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4375         (main):
4376         Add poll stress test.
4377
4378 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4379
4380         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4381
4382         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4383         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4384         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4385         * plugins/elements/gstfdsink.h:
4386         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4387         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4388         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4389         (gst_fd_src_uri_set_uri):
4390         * plugins/elements/gstfdsrc.h:
4391         Port to GstPoll. See #505417.
4392
4393 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4394
4395         * win32/common/libgstreamer.def:
4396         Add new gst_poll_ symbols to win32 defs.
4397
4398 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4399
4400         * docs/libs/gstreamer-libs-sections.txt:
4401         * libs/gst/net/gstnetclientclock.c:
4402         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4403         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4404         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4405         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4406         * libs/gst/net/gstnetclientclock.h:
4407         * libs/gst/net/gstnettimeprovider.c:
4408         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4409         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4410         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4411         (gst_net_time_provider_new):
4412         * libs/gst/net/gstnettimeprovider.h:
4413         Use a private stuct to not break ABI.
4414
4415 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4416
4417         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4418
4419         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4420         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4421         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4422         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4423         * libs/gst/net/gstnetclientclock.h:
4424         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4425         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4426         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4427         (gst_net_time_provider_new):
4428         * libs/gst/net/gstnettimeprovider.h:
4429         Massive code removal and cleanups because of GstPoll.
4430         Fixes #505417.
4431
4432 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4433
4434         * configure.ac:
4435         Add checks for poll, ppoll and pselect.
4436
4437         * docs/gst/gstreamer-docs.sgml:
4438         * docs/gst/gstreamer-sections.txt:
4439         Add docs for GstPoll.
4440
4441         * gst/Makefile.am:
4442         * gst/gst.h:
4443         * gst/gstpoll.c: (find_index), (selectable_fds),
4444         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4445         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4446         (gst_poll_set_mode), (gst_poll_get_mode),
4447         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4448         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4449         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4450         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4451         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4452         (gst_poll_fd_can_write), (gst_poll_wait),
4453         (gst_poll_set_controllable), (gst_poll_restart),
4454         (gst_poll_set_flushing):
4455         * gst/gstpoll.h:
4456         Add generic poll abstraction. We ideally don't want to have this in core
4457         here but in glib intead...
4458         This code will be used in various network elements and ultimately for
4459         the nanosecond precision monotonic clock (that's why it's here in core).
4460         It'll allow us to implement cancelable socket operations for windows too.
4461
4462         * tests/check/Makefile.am:
4463         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4464         (delayed_stop), (delayed_restart), (delayed_flush),
4465         (delayed_control), (gst_poll_suite):
4466         Add GstPoll unit test.
4467
4468 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4469
4470         * gst/gstfilter.c:
4471           Improve documentation of gst_filter_run(). Fixes #518627.
4472
4473 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4474
4475         * docs/README:
4476           Add a few lines about the new 'check-inspected-versions' target.
4477
4478 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4479
4480         * tests/check/gst/gstevent.c:
4481           Add qos to the event test. Rename tcase/tsuite; is not only about
4482           custom events.
4483
4484 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4485
4486         * plugins/elements/gstqueue.c:
4487           Ensure that buffer metadata is writeable, before modifying. Spotted by
4488           Mike.
4489
4490 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4491
4492         * plugins/elements/gstqueue.c:
4493         * plugins/elements/gstqueue.h:
4494           When dropping buffers in leaky modes, mark next buffers we sent as
4495           DISCONT.
4496
4497 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4498
4499         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4500           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4501
4502 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4503
4504         * plugins/elements/Makefile.am:
4505         * plugins/elements/gstbufferstore.c:
4506         * plugins/elements/gstbufferstore.h:
4507         * plugins/elements/gsttypefindelement.h:
4508           Remove GstBufferStore, no idea why we were still building it.
4509           It's not used anywhere and superseded by GstAdapter.
4510
4511         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4512           (gst_file_src_create_mmap):
4513         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4514           Printf format fixes for 64-bit integers.
4515
4516 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4517
4518         * configure.ac:
4519         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4520         We're not in 0.8 times anymore.
4521
4522 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4523
4524         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4525         (gst_check_element_push_buffer_list):
4526         * libs/gst/check/gstcheck.h:
4527         Make the declaration in the header for
4528         gst_check_element_push_buffer_list match the implementation.
4529
4530         Fix up spelling, grammar and wording of the documentation in a few
4531         places, and add the Since keyword to new API functions.
4532         Use g_list_delete_link instead of g_list_remove in
4533         gst_check_drop_buffers, since it's immeasurably more efficient.
4534
4535         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4536         Use new gst_check_drop_buffers function where appropriate.
4537
4538         * win32/common/libgstbase.def:
4539         * win32/common/libgstreamer.def:
4540         Add new symbols gst_collect_pads_take_buffer, 
4541         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4542         exports
4543
4544         Changelog surgery to add API keyword to new gst_check API.
4545
4546 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4547
4548         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4549         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4550         Update pre-generated flex files with flex 2.3.34.
4551
4552 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4553
4554         * gst/gstminiobject.c:
4555           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4556           friendly to subclasses and not require them to know all internals
4557           of their parent class.
4558
4559 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4560
4561         * docs/libs/gstreamer-libs-sections.txt:
4562         * libs/gst/base/gstcollectpads.c:
4563         * libs/gst/base/gstcollectpads.h:
4564           Add sub-buffer functions to collectpads. Fixes #516187.
4565           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4566
4567 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4568
4569         * gst/gstbuffer.c:
4570           Copy selected buffer-flags when creating subbuffers.
4571           Fixes #516395.
4572
4573 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4574
4575         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4576         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4577         * gst/gstmessage.c: (gst_message_class_init),
4578         (gst_message_finalize):
4579         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4580         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4581         (gst_mmap_buffer_finalize):
4582         Properly chain up finalize functions to the parent class.
4583
4584 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4585
4586         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4587
4588         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4589         (gst_index_set_resolver_full):
4590         * gst/gstindex.h:
4591         Add new function with option to dispose of user_data in resolver.
4592         Actually call the dispose function when finalizing the object and not
4593         just when changing the resolver/filter.
4594         API: GstIndex::gst_index_set_resolver_full()
4595
4596         * docs/gst/gstreamer-sections.txt:
4597         Add new function to docs. Fixes #515469.
4598
4599 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4600
4601         * gst/gstindex.c: (gst_index_finalize):
4602         Chain up finalize to the parent class. Fixes leaking the GstObject
4603         name and other things.
4604
4605 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4606
4607         * configure.ac:
4608         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4609         pre-releases or releases.
4610
4611         * docs/faq/gst-uninstalled:
4612         Add gst-plugins-gl
4613
4614         * docs/random/release:
4615         Change one of the steps - we only upload core & base to Gnome FTP
4616
4617 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4618
4619         * gst/gstconfig.h.in:
4620           Add 'id' for example.
4621
4622         * gst/gstpad.c:
4623         * gst/gstutils.c:
4624         * plugins/elements/gstfdsink.c:
4625           Link to signals. Doc and comment fixes.
4626
4627 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4628
4629         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4630         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4631           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4632           unused and unimplemented; finally, it is plugin features, not
4633           plugins, that have ranks.
4634           
4635 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4636
4637         * gst/gstpluginfeature.h:
4638           Clarify GstRank range docs.
4639
4640 2008-02-05  David Schleef  <ds@schleef.org>
4641
4642         * gst/gst.c: Add a separate gst_deinitialized that prevents
4643           gst_init() from being called after gst_deinit().  Fixes #509559
4644
4645 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4646
4647         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4648         (gst_bin_class_init):
4649         * gst/gstelement.c: (gst_element_base_class_init),
4650         (gst_element_class_add_pad_template):
4651         * gst/gstpadtemplate.c: (gst_pad_template_init):
4652         * gst/gstpipeline.c: (gst_pipeline_get_type),
4653         (gst_pipeline_base_init), (gst_pipeline_class_init):
4654         * libs/gst/base/gstbasesink.c:
4655         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4656         (gst_base_src_base_init), (gst_base_src_class_init):
4657         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4658         (gst_capsfilter_class_init):
4659         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4660         (gst_fake_sink_class_init):
4661         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4662         (gst_fake_src_class_init):
4663         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4664         (gst_fd_sink_class_init):
4665         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4666         (gst_fd_src_class_init):
4667         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4668         (gst_file_sink_class_init):
4669         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4670         (gst_file_src_class_init):
4671         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4672         (gst_identity_class_init):
4673         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4674         (gst_multi_queue_class_init):
4675         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4676         (gst_queue_class_init):
4677         * plugins/elements/gsttee.c: (gst_tee_base_init),
4678         (gst_tee_class_init):
4679         * plugins/elements/gsttypefindelement.c:
4680         (gst_type_find_element_base_init),
4681         (gst_type_find_element_class_init):
4682         * tests/check/gst/gstelement.c: (gst_element_suite):
4683         Revert previous changes to the behaviour of GstPadTemplates, etc
4684         and the possiblity to call them in class_init as it breaks too
4685         many elements. Reopens bug #491501.
4686
4687         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4688         several places.
4689
4690 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4691
4692         * tools/gst-launch.c:
4693         Dump one graph per pipeline state-change and state change name
4694         (if GST_DEBUG_DUMP_DOT_DIR is set).
4695
4696 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4697
4698         * gst/gstpad.c:
4699         * tests/check/gst/gstpad.c:
4700         Be sure that we have a new copy of the caps and not
4701         reffed caps from a template
4702
4703 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4704
4705         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4706         * gst/gstpipeline.c: (gst_pipeline_get_type),
4707         (gst_pipeline_class_init):
4708         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4709         (gst_base_sink_class_init):
4710         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4711         (gst_base_src_class_init):
4712         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4713         (gst_base_transform_class_init):
4714         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4715         (gst_collect_pads_class_init):
4716         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4717         * libs/gst/net/gstnettimeprovider.c:
4718         (gst_net_time_provider_base_init),
4719         (gst_net_time_provider_class_init):
4720         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4721         (gst_capsfilter_class_init):
4722         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4723         (gst_fake_sink_class_init):
4724         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4725         (gst_fake_src_class_init):
4726         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4727         (gst_fd_sink_class_init):
4728         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4729         (gst_fd_src_class_init):
4730         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4731         (gst_file_sink_class_init):
4732         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4733         (gst_file_src_class_init):
4734         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4735         (gst_identity_class_init):
4736         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4737         (gst_multi_queue_class_init):
4738         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4739         (gst_queue_class_init):
4740         * plugins/elements/gsttee.c: (gst_tee_base_init),
4741         (gst_tee_class_init):
4742         * plugins/elements/gsttypefindelement.c:
4743         (gst_type_find_element_base_init),
4744         (gst_type_find_element_class_init):
4745         Don't use base_init where not absolutely necessary. For example it's
4746         not necessary anymore for adding pad templates or setting element
4747         details.
4748
4749         Leave empty base_init functions in several places as GST_BOILERPLATE
4750         still defines and uses them.
4751
4752 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4753
4754         * gst/gstelement.c: (gst_element_base_class_init),
4755         (gst_element_class_add_pad_template):
4756         * gst/gstpadtemplate.c:
4757         Make it possible (and recommended) to set element details and add
4758         pad templates in the class_init functions by copying the details/pad
4759         templates in GstElement's base_init.
4760
4761         Also make it possible to replace existing pad templates by adding
4762         a new one with the same name. This was done in a hackish fashion
4763         in same elements before already.
4764
4765         Don't reference pad templates that are added a second time. A
4766         new pad template has a refcount of one and is not floating anymore
4767         and to be owned by the element's class. Make this more explicit by
4768         mentioning it in the docs of gst_element_class_add_pad_template().
4769
4770         These changes are backwards compatible. Fixes bug #491501.
4771
4772         * tests/check/gst/gstelement.c:
4773         Add unit test for setting element details, adding pad templates and
4774         replacing them in a subclass.
4775
4776 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4777
4778         * tools/gst-inspect.c: (print_interfaces),
4779         (print_element_properties_info), (print_pad_info),
4780         (print_signal_info), (print_element_info):
4781         Fix a few memory leaks.
4782
4783 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4784
4785         * docs/libs/gstreamer-libs-sections.txt:
4786         * libs/gst/check/gstcheck.c:
4787         * libs/gst/check/gstcheck.h:
4788         Add more functions for unit testing: gst_check_drop_buffers,
4789         gst_check_caps_equal, gst_check_element_push_buffer_list,
4790         gst_check_element_push_buffer
4791         API: gst_check_drop_buffers
4792         API: gst_check_caps_equal
4793         API: gst_check_element_push_buffer_list
4794         API: gst_check_element_push_buffer
4795
4796 2008-02-01  Julien Moutte  <julien@fluendo.com>
4797
4798         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4799         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4800         (gst_index_finalize), (gst_index_entry_free),
4801         (gst_index_add_association): Fix memory leaks.
4802         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4803         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4804         (gst_mem_index_free_format), (gst_mem_index_free_id),
4805         (gst_mem_index_finalize): Fix memory leaks.
4806         * win32/common/config.h: Updated to CVS HEAD.
4807
4808 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4809
4810         * docs/README:
4811           Some more details about how the plugin docs works.
4812
4813         * docs/plugins/gstreamer-plugins-sections.txt:
4814           Whitespace cleanup.
4815
4816 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4817
4818         * gst/parse/grammar.tab.pre.c:
4819         * gst/parse/grammar.tab.pre.h:
4820         * gst/parse/grammar.y:
4821         * gst/parse/lex._gst_parse_yy.pre.c:
4822           Add delayed set-property. This allows to set properties on dynamicaly
4823           created objects (pads in videomxer). Fixes #509391.
4824
4825 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4826
4827         * gst/gstutils.c:
4828         Check if caps are not NULL (fix bug #510194)
4829
4830 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4831
4832         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4833         (gst_base_sink_get_position_paused):
4834         Add fixme regarding EOS in pull mode.
4835         Fix position reporting in PAUSED for negative rates.
4836
4837 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4838
4839         * gst/gstminiobject.c: (gst_mini_object_replace):
4840         When replacing a miniobject, do a quick equality check first so that we
4841         can avoid a ref/unref pair.
4842
4843 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4844
4845         * docs/design/part-synchronisation.txt:
4846         Update some docs.
4847
4848         * docs/plugins/Makefile.am:
4849         * docs/plugins/gstreamer-plugins-docs.sgml:
4850         * docs/plugins/gstreamer-plugins-sections.txt:
4851         * plugins/elements/gstmultiqueue.c:
4852         Add multiqueue to the docs.
4853
4854 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4855
4856         * configure.ac:
4857           Back to CVS
4858
4859 === release 0.10.17 ===
4860
4861 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4862
4863         * configure.ac:
4864           releasing 0.10.17, "Due Negligence"
4865
4866 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4867
4868         * gst/gstutils.c:
4869         Revert caps != NULL check temporarily for 0.10.17 release.
4870
4871 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4872
4873         * gst/gstutils.c:
4874         Check if caps are not NULL (fix bug #510194)
4875
4876 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4877
4878         * gst/gstutils.c:
4879         Fix compilation on systems that have posix timers but no
4880         monotonic clock.
4881         Fixes: #512715
4882         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4883         dot net>
4884
4885 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4886
4887         * tools/gst-inspect.c:
4888         Revert previous commit in preparation for an impromptu 0.10.17 release
4889
4890 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4891
4892         * tools/gst-inspect.c: (print_interfaces),
4893         (print_element_properties_info), (print_pad_info),
4894         (print_signal_info), (print_element_info):
4895         Fix a few memory leaks.
4896
4897 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4898
4899         * configure.ac:
4900         Back to CVS
4901
4902 === release 0.10.16 ===
4903
4904 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4905
4906         * configure.ac:
4907           releasing 0.10.16, "Special Dispensation"
4908
4909 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4910
4911         * configure.ac:
4912           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4913           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4914           not fail when trying to crosscompile on OpenEmbedded (#511750).
4915
4916 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4917
4918         * docs/manuals.mak:
4919         Use $(MAKE) instead of make to fix the build if GNU make is
4920         called different. Fixes bug #510747.
4921
4922 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4923
4924         * gst/gstplugin.c: (_gst_plugin_initialize):
4925           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4926           again, which I broke two commits ago when changing the API
4927           of gst_plugin_register_static(): the g_list_foreach() in
4928           _gst_plugin_register_static still assumed the old function
4929           signature and would therefore fail (re-fixes #510187).
4930
4931         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4932           (_gst_plugin_register_static), (gst_plugin_register_static):
4933           Revert the (technically correct) change to call g_thread_init() from
4934           the pre-main() constructor. This will break programs which call
4935           g_thread_init() without an if (!g_thread_supported()) guard in their
4936           main function. We could just blame it on GLib or the application, but
4937           it's probably best to just avoid this altogether and simply not use
4938           any GLib functions here and use plain old malloc() with a simple
4939           array to store the plugins to register later when gst_init() is
4940           finally called (re-fixes #510187).
4941
4942         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4943           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4944           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4945           (GST_START_TEST), (gst_plugin_suite):
4946           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4947           works.
4948
4949 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4950
4951         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4952           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4953           This makes gtk-doc complain, but results in slightly better
4954           compiler errors. The old _gst_plugin_register_static() is
4955           still guarded, so there'll be a compiler warning about that
4956           instead. Fixes #510187 too.
4957
4958 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4959
4960         * gst/gst.c: (init_post):
4961         * gst/gstplugin.c: (_gst_plugin_register_static),
4962           (gst_plugin_register_static), (_gst_plugin_initialize):
4963         * gst/gstplugin.h: (GstPluginFilter):
4964           Change API of gst_plugin_register_static() to not take
4965           a GstPluginDesc, but rather just take all the arguments
4966           in a GstPluginDesc directly. This is more intuitive and
4967           avoids certain mistakes when porting code from
4968           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4969           Fixes #510187.
4970
4971         * tests/check/gst/gstplugin.c:
4972           Fix up for changed API.
4973
4974 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4975
4976         * docs/faq/legal.xml:
4977           Update FAQ, Totem actually has an exception these days.
4978
4979 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4980
4981         * win32/common/libgstreamer.def:
4982         Add new API declarations
4983
4984 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4985
4986         * gst/gstminiobject.c:
4987           Spelling fixes for the API docs.
4988
4989 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4990
4991         * libs/gst/base/gstbasetransform.c:
4992           Fix long property description for QoS.
4993
4994 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4995
4996         * gst/gst.c:
4997         _gst_trace_on is already provided by gsttrace.h, no need to declare
4998         it ourselves.
4999
5000         * docs/libs/gstreamer-libs-sections.txt:
5001         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5002         and remove strange tcase_add_test which is outputting a warning.
5003
5004         * libs/gst/check/gstcheck.c:
5005         * libs/gst/check/gstcheck.h:
5006         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5007         and define them in gstcheck.c instead of having every .c file whcih
5008         includes gstcheck.h be defining its own copy and relying on symbol
5009         interposing to marry them all, which doesn't work on Solaris.
5010
5011         * tests/check/elements/identity.c: (GST_START_TEST):
5012         Don't define 'buffers' locally, it comes from libgstcheck.
5013
5014         * tests/check/generic/sinks.c: (send_buffer):
5015         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5016
5017         * tests/check/gst/gststructure.c: (GST_START_TEST):
5018         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5019         * tests/check/gst/gstutils.c: (GST_START_TEST):
5020         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5021         Add a bunch of casts to make various constants fit the types
5022         they're being assigned to.
5023
5024 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5025
5026         * gst/gstchildproxy.c:
5027           Improve docs and add some ideas for making this more general-purpose.
5028
5029 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5030
5031         * gst/gst_private.h: (GST_CAT_TYPES):
5032           Add GST_CAT_TYPES, for consistency, and so that the other
5033           debug categories don't make fun of it. Spotted by Saur on IRC.
5034
5035 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5036
5037         * gst/parse/Makefile.am:
5038           Move types.h from EXTRA_DIST to noinst_HEADERS.
5039
5040 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5041
5042         * autogen.sh:
5043           Add -Wno-portability to the automake parameters to stop warnings
5044           about GNU make extensions being used. We require GNU make in almost
5045           every Makefile anyway.
5046
5047         * configure.ac:
5048           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5049           at the same time is required for per target flags.
5050
5051 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5052
5053         * gst/gstmacros.h:
5054           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5055           __GNUC__ is defined before using it.
5056
5057 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5058
5059         * docs/gst/gstreamer-sections.txt:
5060         * gst/gst.c: (init_post):
5061         * gst/gstplugin.c: (_gst_plugin_register_static),
5062           (gst_plugin_register_static), (_gst_plugin_initialize),
5063           (gst_plugin_register_func):
5064         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5065           API: add gst_plugin_register_static() and deprecate
5066           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5067           (#498924).
5068           Also, in _gst_plugin_register_static(), make sure to call
5069           g_thread_init() before calling GLib functions such as
5070           g_list_append() if we're not initialised yet, since that
5071           may lead to random crashes with older GSlice/GLib versions.
5072
5073         * tests/check/gst/gstplugin.c:
5074           Adapt unit test to above changes.
5075
5076 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5077
5078         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5079         * gst/gstcaps.c: (gst_caps_to_string):
5080         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5081           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5082           Yet another gratuitous GString micro-optimisation: add a (private)
5083           function that serialises a structure appending to an existing
5084           GString, so that when we serialise caps we don't need to alloc+free
5085           a throwaway GString for each structure (each of which also entailing
5086           multiple reallocs on the way); also use g_string_sized_new() in
5087           various places with an approximate string length to avoid reallocs
5088           within GString. See #500143.
5089
5090 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5091
5092         * gst/gststructure.c: (gst_structure_id_set_value):
5093           Always check UTF-8 conformance of structure strings and not only
5094           if the debugging system is enabled; reasoning: the behaviour of
5095           the actual code shouldn't really change depending on whether the
5096           debugging system is enabled or not (#508291).
5097
5098 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5099
5100         * Makefile.am:
5101           Remove old coverage target in favour of "make lcov".
5102
5103 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5104
5105         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5106         (gst_base_src_loop):
5107         The start segment for reverse playback goes from start to last_stop.
5108
5109 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5110
5111         Patch by: Peter Kjellerstedt <pkj axis com>
5112
5113         * gst/gstclock.h:
5114         Cast the results from the timeval/spec_to_time macros to what the
5115         docs say it casts to, a GstClockTime. fixes #508175.
5116
5117 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5118
5119         * gst/gstbuffer.c:
5120         Update some comments.
5121
5122         * tools/gst-inspect.c: (print_element_properties_info):
5123         Improve printing of flags.
5124
5125 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5126
5127         * libs/gst/base/gstbasetransform.c:
5128           (gst_base_transform_transform_size):
5129           Print element name with g_warning() if there's a problem
5130           with the unit size.
5131
5132 2008-01-07  David Schleef  <ds@schleef.org>
5133
5134         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5135
5136         * libs/gst/controller/gstcontroller.h:
5137         * libs/gst/controller/gstcontrolsource.h:
5138         * libs/gst/controller/gstinterpolationcontrolsource.h:
5139         * libs/gst/controller/gstlfocontrolsource.h:
5140         * libs/gst/dataprotocol/dataprotocol.h:
5141           Fix empty prototypes.  Fixes bug #507957.
5142
5143 2008-01-07  David Schleef  <ds@schleef.org>
5144
5145         * docs/faq/dependencies.xml: Fix typo.
5146
5147 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5148
5149         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5150         (gst_base_src_loop):
5151         Don't update the last_stop position in do_seek, that's the position we
5152         did a seek to.
5153         Read backwards when we have a negative rate.
5154
5155         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5156         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5157         (filesrc_suite):
5158         Add check for reverse reading.
5159
5160 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5161
5162         Patch by: Alexis Ballier <aballier at gentoo org>
5163
5164         * tests/check/gst/gstabi.c:
5165         * tests/check/gst/struct_ppc64.h:
5166         * tests/check/libs/libsabi.c:
5167         * tests/check/libs/struct_ppc64.h:
5168           Decide which header to include based on the userland ABI target
5169           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5170           for 64-bit userland (#503590).  Might need something similar for
5171           x86 too.
5172
5173 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5174
5175         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5176           Log the reason why fopen fails in addition to the fact that it failed.
5177           
5178 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5179
5180         * gst/parse/parse.l:
5181         Use "%option never-interactive" to prevent useless calls to isatty()
5182         on every input when parsing. Also use "%option noinput" to not define
5183         the static input/yyinput functions which we don't use anyway. This
5184         removes a compiler warning with gcc 4.3 and saves some bytes in the
5185         library.
5186         
5187         * gst/parse/lex._gst_parse_yy.pre.c:
5188         Regenerated for the above change.
5189
5190 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5191
5192         * gst/gstpad.c: (fixate_value):
5193         Don't crash when trying to fixate and empty list.
5194         Fixes #506643.
5195
5196 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5197
5198         * docs/faq/gst-uninstalled:
5199         Clarify the comments to make the usage of this script and what it
5200         does easier to understand.
5201
5202 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5203
5204         * tools/gst-plot-timeline.py:
5205         Add more options to gst-plot-timeline
5206
5207 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5208
5209         * docs/design/part-synchronisation.txt:
5210         Some more info on how the stream_time in GstBaseSink is done.
5211
5212 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5213
5214         * tests/check/generic/sinks.c: (gst_sinks_suite):
5215           Put back the tcase_set_timeout(), apparently it's needed after
5216           all; fix it up in a way that makes things work with valgrind too.
5217
5218 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5219
5220         * gst/gstdebugutils.c:
5221           Add warning when failed to open file for writing.
5222
5223 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5224
5225         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5226
5227         * gst/gstvalue.c: (gst_value_is_fixed):
5228           Optimisation: bail out of the loop as early as possible (#500143).
5229
5230 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5231
5232         * gst/gstcaps.c: (gst_caps_to_string):
5233         * gst/gstinfo.c: (gst_debug_construct_term_color):
5234         * gst/gstparse.c: (gst_parse_launchv):
5235         * gst/gstutils.c: (gst_util_dump_mem):
5236         * gst/gstvalue.c: (gst_value_serialize_any_list),
5237           (gst_value_transform_any_list_string):
5238           Bunch of gratuitous nano-optimisations.
5239
5240 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5241
5242         * tests/check/generic/sinks.c: (async_done_func),
5243           (async_done_eos_func):
5244           Fix leak in unit test (bus sync handler must unref the message
5245           if it returns GST_BUS_DROP). Don't fiddle with the default test
5246           timeout, this is smaller than the current preconfigured value
5247           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5248           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5249
5250 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5251
5252         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5253
5254         * configure.ac:
5255         Check for stdio_ext.h for the filesink changes.
5256
5257         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5258         (gst_file_sink_class_init), (gst_file_sink_init),
5259         (gst_file_sink_dispose), (gst_file_sink_set_property),
5260         (gst_file_sink_get_property), (gst_file_sink_open_file),
5261         (gst_file_sink_close_file):
5262         * plugins/elements/gstfilesink.h:
5263         Add two properties to control the buffering mode and size.
5264         API: GstFileSink::buffer-mode
5265         API: GstFileSink::buffer-size
5266         Fixes #500150.
5267
5268 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5269
5270         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5271         Add some more docs to explain why a FIXME was wrongly added. 
5272
5273 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5274
5275         * gst/gstobject.c:
5276           Fix typo in the gst_object_{ref,unref} documentation.
5277
5278 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5279
5280         * tests/check/libs/controller.c:
5281         * tests/check/libs/typefindhelper.c:
5282         * tests/check/pipelines/parse-launch.c:
5283           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5284           going to be deprecated (see #498924).
5285
5286 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5287
5288         * gst/gsttypefind.c: (gst_type_find_register):
5289           Make gst_type_find_register work for static typefind functions,
5290           ie. allow passing plugin == NULL (prerequisite for #498924).
5291
5292         * gst/gstelementfactory.c: (gst_element_register):
5293           Small docs addition.
5294
5295 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5296
5297         * gst/gstpad.c: (gst_pad_dispose):
5298         Really unlink the peer pad instead of setting the peer pointer to NULL
5299         when we dispose the pad.
5300         This correctly calls the unlink functions and makes sure that the peer
5301         does not have a handle to invalid memory. See #504671.
5302
5303         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5304         Add testsuite for above case.
5305
5306 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5307
5308         Patch by: Peter Kjellerstedt <pkj axis com>
5309
5310         * libs/gst/check/gstcheck.h:
5311           Fix detection of the check version we're compiling against (would
5312           otherwise break if check goes v0.10.0); correctly report the
5313           name of the failed test again in case of failure, instead of
5314           just 'tf' (fixes #504499).
5315
5316 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5317
5318         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5319         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5320         (gst_base_src_loop), (gst_base_src_set_flushing),
5321         (gst_base_src_change_state):
5322         Allow sending EOS to the source to make it send out an EOS event from
5323         the streaming thread.
5324         Update docs and deprecate the old NULL/READY shutdown method.
5325
5326         * tests/check/libs/basesrc.c: (GST_START_TEST),
5327         (gst_basesrc_suite):
5328         Add unit test for controlled shutdown.
5329
5330 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5331
5332         * docs/design/part-synchronisation.txt:
5333         Small updates.
5334
5335         * gst/gstsegment.c: (gst_segment_set_seek),
5336         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5337         (gst_segment_to_running_time):
5338         The seek format can be different from the segment format when the start
5339         and stop values are not to be updated, when we only do a rate change for
5340         example.
5341
5342         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5343         (gst_segment_suite):
5344         Add a testcase for the rate-only seeks, checking that the format is
5345         correctly ignored when start and stop are not updated.
5346
5347 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5348
5349         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5350
5351         * win32/vs8/grammar.vcproj:
5352         * win32/vs8/libgstcontroller.vcproj:
5353         * win32/vs8/libgstreamer.vcproj:
5354         Fix compilation with VS8 and include some missing files.
5355
5356 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5357
5358         * gst/gsttaglist.c:
5359           Small docs addition: mention that the strings returned by
5360           gst_tag_list_get_string*() are in UTF-8 encoding.
5361
5362 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5363
5364         * Makefile.am:
5365           The check-exports stuff moved to common/win32.mak, so include that.
5366
5367 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5368
5369         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5370         (gst_base_src_perform_seek), (gst_base_src_get_range),
5371         (gst_base_src_set_playing), (gst_base_src_change_state):
5372         Make _wait_playing() not check any variables so that we can call this
5373         function from subclasses. Move the checks elsewhere similar to
5374         _wait_preroll() in basesink.
5375         Add some debugging.
5376         Only signal the LIVE cond when we are going back to PLAYING.
5377
5378 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5379
5380         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5381           Use g_remove() and g_rename(). Check result of g_rename(), and
5382           don't leak the open file descriptor if we error out when writing.
5383
5384         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5385           Must check the return value of close() after writing out the new
5386           registry file.  Sometimes write problems such as out-of-diskspace
5387           are only reported when the file is closed and not already during
5388           the write.  This may have caused partial/broken registry files in
5389           some rare circumstances. Should fix #503675.
5390
5391 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5392
5393         * docs/gst/.cvsignore:
5394         * docs/libs/.cvsignore:
5395         * docs/plugins/.cvsignore:
5396         Ignore files generated by new common/* modifications
5397
5398 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5399
5400         * win32/common/libgstbase.def:
5401           Yes, you can also have a <TAB> if you want.
5402
5403 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5404
5405         * win32/common/libgstbase.def:
5406           Add new basetransform API to win export file.
5407
5408 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5409
5410         * tests/check/gst/gstbin.c:
5411           Adjust the test to the refcount change two days ago.
5412
5413 2007-12-14  David Schleef  <ds@schleef.org>
5414
5415         * docs/faq/getting.xml: Fix typo.
5416
5417 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5418
5419         * docs/libs/gstreamer-libs-sections.txt:
5420         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5421           (gst_base_transform_prepare_output_buffer),
5422           (gst_base_transform_set_gap_aware):
5423         * libs/gst/base/gstbasetransform.h:
5424           API: Add gst_base_transform_set_gap_aware() to control whether
5425           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5426           get buffers with this flag at all. Fixes #503231.
5427
5428 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5429
5430         * libs/gst/base/gstbasesink.c:
5431         * libs/gst/base/gstbasesrc.c:
5432         * libs/gst/base/gstbasetransform.c:
5433           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5434           thread. Correct log message in gstbasesrc.c.
5435
5436 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5437
5438         * gst/gstutils.c: (element_find_unconnected_pad):
5439           Fix possible compiler warning (#503417).
5440
5441 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5442
5443         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5444           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5445
5446 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5447
5448         * tools/gst-inspect.c: (print_element_properties_info):
5449           Add support for GstFraction properties.
5450
5451 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5452
5453         * Makefile.am:
5454           Add check-exports target and run it as part of 'make check'
5455           (see #499140 and #493983).
5456
5457         * gst/gst_private.h:
5458         * gst/gstelementfactory.h:
5459         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5460         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5461           (_priv_gst_in_valgrind):
5462         * gst/gstinfo.h: (GstLogFunction):
5463         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5464           (gst_type_find_register):
5465         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5466           (gst_type_find_factory_get_type):
5467         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5468           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5469           (gst_controller_new_valist), (gst_controller_new_list),
5470           (_gst_controller_dispose), (_gst_controller_class_init):
5471         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5472         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5473           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5474           (gst_object_get_controller), (gst_object_set_controller),
5475           (gst_object_suggest_next_sync), (gst_object_sync_values),
5476           (gst_object_set_control_source), (gst_object_get_control_source),
5477           (gst_object_get_value_arrays), (gst_object_get_value_array),
5478           (gst_object_get_control_rate), (gst_object_set_control_rate):
5479         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5480         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5481           Make some functions that should be static static; rename some
5482           private symbols so that they don't get exported; add some FIXME
5483           comments so we can move accidentally exported functions into
5484           our private section in 0.11.
5485
5486         * win32/common/libgstreamer.def:
5487           Add gst_utils_get_timestamp().
5488
5489 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5490
5491         * gst/gstvalue.c:
5492         * gst/gstvalue.h:
5493           Add more missing "Since:" tags to docs.
5494
5495 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5496
5497         * gst/gstutils.c:
5498           Add mising "Since:" to docs.
5499
5500 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5501
5502         * gst/gstplugin.c:
5503           Include "glib-compat-private.h" to fix the build on system with
5504           glib < 2.10. Fixes #503131.
5505
5506 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5507
5508         * gst/gstutils.c:
5509         * gst/gstutils.h:
5510           Actually its not PURE as it gets the time from elsewhere.
5511
5512 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5513
5514         * docs/gst/gstreamer-sections.txt:
5515         * gst/gstclock.h:
5516         * gst/gstdebugutils.c:
5517         * gst/gstinfo.c:
5518         * gst/gstutils.c:
5519         * gst/gstutils.h:
5520         * libs/gst/base/gstbasesink.c:
5521         * tools/gst-launch.c:
5522           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5523           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5524           Thanks Tim for spotting.
5525           API: gst_util_get_timestamp
5526
5527 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5528
5529         * configure.ac:
5530           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5531
5532 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5533
5534         * gst/gststructure.c: (gst_structure_validate_name),
5535           (gst_structure_new_valist), (gst_structure_parse_value),
5536           (gst_structure_from_string):
5537           Don't crash in _from_string() if the structure name is not valid
5538           (fixes #501560).  Allow structure names to start with a number
5539           again (this apparently broke the ubuntu codec installer).
5540
5541         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5542           (GST_START_TEST):
5543           Add unit test for the crash; update unit tests for new behaviour.
5544
5545 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5546
5547         * gst/gstutils.c:
5548         Clarify gst_element_get_compatible_pad() documentation.
5549         Fixes #500919.
5550
5551 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5552
5553         * tests/check/Makefile.am:
5554           Don't forget to dist {gst,libs}/struct_hppa.h.
5555
5556 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5557
5558         * libs/gst/base/gstbasesink.c:
5559           Use new API to get elapsed time.
5560
5561 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5562
5563         * gst/gstdebugutils.c:
5564         * gst/gstinfo.c:
5565           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5566
5567         * tools/gst-launch.c:
5568           Use new API to get elapsed time.
5569
5570 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5571
5572         * docs/gst/gstreamer-sections.txt:
5573         * gst/gstclock.h:
5574         * gst/gstdebugutils.c:
5575         * gst/gstinfo.c:
5576           Rename new API + ChangeLog surgery to remove old name from last entry..
5577
5578 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5579
5580         * docs/gst/gstreamer-sections.txt:
5581         * gst/gstclock.h:
5582         * gst/gstdebugutils.c:
5583         * gst/gstinfo.c:
5584           Now hide the different clock stuff behind a macro.
5585
5586 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5587
5588         * configure.ac:
5589         * gst/gstdebugutils.c:
5590         * gst/gstinfo.c:
5591           Apply the posix-timer check from #361155. Conditionally use the posix
5592           timer for logging. This gives better timestamp precission, less
5593           overhead and no ntp jitter.
5594
5595 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5596
5597         * gst/gstminiobject.c: (gst_mini_object_get_type),
5598         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5599         (gst_mini_object_finalize), (gst_mini_object_copy),
5600         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5601         (gst_mini_object_replace), (param_mini_object_validate),
5602         (gst_param_spec_mini_object_get_type):
5603         Some cleanup and checking against invalid function parameters.
5604
5605 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5606
5607         * docs/gst/gstreamer-sections.txt:
5608         * gst/gstclock.h:
5609         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5610         (gst_systemclock_suite):
5611         Start merging in the easy bits of #361155, the monotonic clock patch.
5612         This one adds a few handy macros with docs and a testsuite.
5613
5614 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5615
5616         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5617         Be a bit smarter when seeking, like, don't try to do a seek when it's
5618         not needed. This avoids errors when the file is not seekable.
5619         Fixes #499771.
5620
5621 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5622
5623         * docs/gst/gstreamer-docs.sgml:
5624         * docs/gst/gstreamer-sections.txt:
5625         * docs/gst/gstreamer.types.in:
5626         * gst/Makefile.am:
5627         * gst/gst.h:
5628         * gst/gstpreset.c:
5629         * gst/gstpreset.h:
5630         * plugins/elements/gstqueue.c:
5631           Due to popular request remove preset interface again. :-(.
5632
5633 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5634
5635         * tools/gst-inspect.c:
5636           Print 'default value' for enums and flags too.
5637
5638 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5639
5640         * docs/random/ensonic/profiling.txt:
5641           More ideas.
5642
5643         * gst/gstbin.c:
5644           Fix typo and give better log output.
5645
5646         * gst/gstdebugutils.c:
5647         * gst/gstdebugutils.h:
5648           More ideas, make graphs a bit smaller and fix param name in macro.
5649
5650 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5651
5652         * gst/gstpreset.c:
5653           Try harder to use the return value from fgets().
5654
5655 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5656
5657         * gst/gstpreset.c:
5658           For theses two fgets we handle the error below.
5659
5660 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5661
5662         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5663         Only send upstream events upstream. Fixes #498746.
5664
5665 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5666
5667         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5668
5669         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5670         (gst_identity_init), (gst_identity_transform_ip),
5671         (gst_identity_set_property), (gst_identity_get_property):
5672         * plugins/elements/gstidentity.h:
5673         Add property to disable handoff signal emission. Fixes #498694.
5674         API: GstIdentity::signal-handoffs
5675
5676 2007-11-21  Julien Moutte  <julien@fluendo.com>
5677
5678         * docs/faq/gst-uninstalled: Yet another missing library for the
5679         uninstalled script (fft)
5680
5681 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5682
5683         * docs/faq/developing.xml:
5684         Add a question about how to submit new translations.
5685
5686         * docs/random/release:
5687         Update the contact email address for the Translation Project
5688
5689         * plugins/elements/gstfdsrc.c:
5690         The parent_class for fdsrc is pushsrc, not GstElement.
5691
5692 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5693
5694         * gst/gstpreset.c:
5695           Plug a leak and fix saving.
5696
5697 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5698
5699         * docs/gst/gstreamer-sections.txt:
5700         Add new gst_preset__get_property_names() function to the docs
5701         to fix the build.
5702
5703 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5704
5705         * gst/gstpreset.c:
5706         * gst/gstpreset.h:
5707           Change _get_preset_names API to return a strv with copies. Add
5708           _get_property_names to allow implementations to filter and provide
5709           good default implementation.
5710
5711 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5712
5713         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5714         script (sdp).
5715
5716 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5717
5718         * gst/gstpreset.c:
5719           More cleanups, docs, and TODOs from comments that now slowly come in.
5720
5721 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5722
5723         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5724         search path.
5725
5726 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5727
5728         * gst/gstpreset.c:
5729           Fix bogus warning and make the property type specific code more
5730           similar.
5731
5732 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5733
5734         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5735         it build on OS X.
5736
5737 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5738
5739         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5740         (gst_bin_add_func), (gst_bin_remove_func),
5741         (gst_bin_change_state_func), (gst_bin_continue_func):
5742         Change email, cleanups add some more debug and comments.
5743         Also set bus and clock on new elements when the pipeline was in error.
5744
5745 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5746
5747         * gst/gstbin.c:
5748         * gst/gstdebugutils.c:
5749           Fix build with --disable-gst-debug. Fixes #497859.
5750           Spotted by Sameer Naik.
5751
5752 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5753
5754         * gst/gstevent.c:
5755           Little documentation improvment.
5756
5757         * gst/gstpreset.c:
5758           More TODO cleanups. Remove c++ comments.
5759
5760         * libs/gst/controller/gstcontroller.c:
5761           Add TODO and use quark from static string.
5762
5763         * tests/check/gst/gstmessage.c:
5764         * tests/check/gst/gststructure.c:
5765           Use quark from static string.
5766
5767 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5768
5769         * gst/gstpreset.c:
5770           Add some comments and TODOs.
5771
5772         * gst/gstpreset.h:
5773           Add padding for future changes.
5774
5775         * plugins/elements/gstqueue.c:
5776           Implement the iface.    
5777
5778 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5779
5780         * docs/gst/gstreamer-docs.sgml:
5781         * docs/gst/gstreamer-sections.txt:
5782         * docs/gst/gstreamer.types.in:
5783         * gst/Makefile.am:
5784         * gst/gst.h:
5785         * gst/gstpreset.c:
5786         * gst/gstpreset.h:
5787           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5788
5789 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5790
5791         * configure.ac:
5792
5793         Back to CVS
5794
5795 === release 0.10.15 ===
5796
5797 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5798
5799         * configure.ac:
5800           releasing 0.10.15, "October"
5801
5802 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5803
5804         * win32/vs6/libgstreamer.dsp:
5805         Convert line endings back to DOS.
5806
5807 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5808
5809         * docs/design/draft-tagreading.txt:
5810         * docs/random/ensonic/profiling.txt:
5811         Update fast tagreading draft and performance profiling ideas.
5812
5813 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5814
5815         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5816         Don't hold the object lock when unreffing a buffer because it could
5817         cause a deadlock when the finalize function wants to grab the object
5818         lock too. Fixes #495133.
5819
5820 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5821
5822         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5823         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5824         Also accumulate time correctly when doing reverse playback. Fixes
5825         #488201,
5826         When converting to running and stream time, use default values for
5827         start/stop/time/accum when comparing different formats. Fixes #494245.
5828
5829         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5830         Do running/stream time in TIME format.
5831
5832         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5833         (gst_segment_suite):
5834         2 new unit tests for segment accumulation.
5835
5836 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5837
5838         * gst/gst.c: (init_pre):
5839         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5840           (_gst_debug_bin_to_dot_file):
5841           Move getenv() back into gst_init, so everyone can live happily
5842           ever after. Make sure the symbol isn't exported though.
5843
5844 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5845
5846         Patch by: Sebastien Moutte  <sebastien moutte net>
5847
5848         * win32/common/gstenumtypes.c:
5849         * win32/common/gstenumtypes.h:
5850           Update enum types.
5851
5852         * win32/vs6/libgstreamer.dsp:
5853           Update vs6 project files (#494343).
5854
5855 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5856
5857         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5858         (gst_base_src_perform_seek), (gst_base_src_default_event),
5859         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5860         (gst_base_src_activate_pull):
5861         Unify flushing code, remove some old unlock code that is no longer used.
5862         Take the streaming lock when seeking to avoid races. Fixes #492729.
5863         Added some more comments.
5864
5865 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5866
5867         * gst/gst.c: (_gst_disable_segtrap):
5868           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5869           we can use gst_segtrap_is_enabled() there now that we have that API.
5870           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5871           to do the getenv here (and export the variable).
5872
5873         * gst/gstdebugutils.c: (debug_dump_element),
5874           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5875           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5876
5877         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5878           (gst_debug_log_default):
5879           Rename _gst_info_start_time to priv_gst_info_start_time so it
5880           doesn't get exported (was never in any header).
5881
5882         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5883           (gst_plugin_loading_mutex):
5884           Make static mutex gst_plugin_loading_mutex really static (was never
5885           in any header), and use gst_segtrap_is_enabled() instead of
5886           _gst_disable_segtrap.
5887
5888         * gst/gsttrace.c: (_gst_trace_default):
5889           Make local _gst_trace_default static (was never in any header).
5890
5891 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5892
5893         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5894
5895         * win32/common/libgstbase.def:
5896         * win32/common/libgstcontroller.def:
5897         * win32/common/libgstdataprotocol.def:
5898         * win32/common/libgstnet.def:
5899         * win32/common/libgstreamer.def:
5900           Add more missing symbols, remove some duplicates, and sort
5901           as the 'sort' command sorts it (partially fixes #493983).
5902
5903 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5904
5905         * gst/gstelement.c: (gst_element_set_state_func):
5906         Only change the state cookie if a different state was set on the
5907         element. See #492729.
5908
5909 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5910
5911         * gst/gstvalue.c:
5912           Remove unused and uninitialised type variables that were still
5913           exported for some reason (they were never in any header files
5914           though).
5915
5916 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5917
5918         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5919         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5920         (gst_base_sink_event), (gst_base_sink_get_position_last),
5921         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5922         (gst_base_sink_change_state):
5923         Don't try to report a 0 position when we don't know, return -1 and FALSE
5924         instead. This mostly happens when we are prerolling.
5925         Make sure we can report the right position before we post the ASYNC_DONE
5926         message so that a message handler can query position without races.
5927
5928         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5929         (async_done_handoff), (async_done_func), (send_buffer),
5930         (async_done_eos_func), (gst_sinks_suite):
5931         Add two tests for the above.
5932
5933 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5934
5935         * MAINTAINERS:
5936         Update with new email address.
5937
5938         * docs/design/part-TODO.txt:
5939         Add some more info about future pad-block and negotiation changes.
5940
5941         * docs/design/part-buffering.txt:
5942         Add some ideas about buffering reporting.
5943
5944 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5945
5946         * tests/check/gst/gstobject.c:
5947         Disable silly racy test that always fails on this combination of CPU
5948         and kernel.
5949
5950 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5951
5952         Patch by: Murray Cumming  <murrayc@murrayc.com>
5953
5954         * gst/gstobject.c:
5955           Corrected the registration of the parent-set and parent-unset
5956           signals: The parameter is a GstObject, not a GObject (#493134).
5957
5958 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5959
5960         * gst/gst_private.h:
5961         * gst/gstbuffer.h:
5962         * gst/gstevent.h:
5963         * gst/gstformat.h:
5964         * gst/gstmessage.h:
5965         * gst/gstplugin.h:
5966         * gst/gstquery.h:
5967         * gst/gsttaglist.h:
5968         * gst/gstvalue.h:
5969           Move declaration of private _gst_foo_initialize() functions into
5970           our private header file where they should have been all along.
5971
5972 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5973
5974         * docs/plugins/gstreamer-plugins-sections.txt:
5975         * gst/gstdebugutils.h:
5976         * gst/gstxml.h:
5977         * plugins/elements/gstqueue.c:
5978           gtk-doc fixes; trailing-comma-in-enum fix.
5979
5980 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5981
5982         * gst/gst.c: (gst_deinit):
5983           Clean up on deinit (not the external ones though, doesn't seem to be
5984           needed for some reason).
5985
5986 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5987
5988         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5989           Remove __declspec(dllimport) for MSVC that was copied over into core
5990           from a plugin, obviously without ever having been tested (note the
5991           single underscore in _declspec in the initial commit), and that doesn't
5992           really make sense.  See #492077.
5993
5994 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5995
5996         * gst/gst.c: (init_post):
5997         * gst/gstevent.c: (_gst_event_initialize):
5998         * gst/gstquery.c: (_gst_query_initialize):
5999         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6000           g_type_class_ref() other types as well, see #349410 and #64764.
6001
6002         * gst/gstbuffer.c: (_gst_buffer_initialize):
6003         * gst/gstmessage.c: (_gst_message_initialize):
6004           Simplify existing g_type_class_ref().
6005
6006 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6007
6008         * gst/gstformat.c: (_gst_format_initialize):
6009           g_type_class_ref() our GstFormat type to make sure we avoid the
6010           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6011           bug #64764. Should fix intermittent tee unit test failures (#474823).
6012
6013 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6014
6015         * tests/check/elements/tee.c: (test_num_buffers):
6016           Simplify, simplify, simplify - or not.  Rewrite unit test
6017           not to use gst_parse_launch(); allow N sub-streams. Increasing
6018           the number of sub-streams seems to reproduce #474823 more easily.
6019
6020 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6021
6022         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6023
6024         * gst/gsttrace.c:
6025         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6026         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6027         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6028           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6029           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6030           so use _pipe() directly (#492077).
6031
6032         * win32/common/dirent.c: (_treaddir):
6033           Add a couple of casts to make it build without warnings with MSVC.
6034
6035         * win32/common/libgstreamer.def:
6036           Add some more symbols that need to be exported.
6037
6038 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6039
6040         * tests/examples/metadata/read-metadata.c: (message_loop):
6041           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6042           arriving in a second or third tag message are added to
6043           the tag list as well.
6044
6045 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6046
6047         * libs/gst/base/gstbasesrc.c:
6048           Its "Since:" and not "@Since:". And remove an superflous cast.
6049
6050 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6051
6052         * docs/libs/gstreamer-libs-sections.txt:
6053         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6054         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6055         (gst_base_sink_get_property), (gst_base_sink_render_object),
6056         (gst_base_sink_preroll_object),
6057         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6058         (gst_base_sink_change_state):
6059         * libs/gst/base/gstbasesink.h:
6060         Add a new last-buffer property that contains the last buffer used in
6061         basesink for preroll or rendering. useful for making snapshots.
6062         API: gst_base_sink_get_last_buffer()
6063         API: GstBaseSink::last-buffer
6064
6065 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6066
6067         * docs/gst/running.xml:
6068         * gst/gst.c:
6069         * gst/gstdebugutils.c:
6070         * gst/gstdebugutils.h:
6071         * tools/gst-launch.c:
6072           Improve bin graph dumping, by using the envvar to specify a path.
6073           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6074
6075 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6076
6077         * plugins/elements/gsttypefindelement.c:
6078           (gst_type_find_element_handle_event),
6079           (gst_type_find_element_activate):
6080           Post special error message if we can't determine the type of a stream
6081           because it's empty.
6082
6083 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6084
6085         * docs/gst/running.xml:
6086         * gst/gstdebugutils.c:
6087           Document new env-var. Add one log-line after dumpng a graph.
6088
6089 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6090
6091         * configure.ac:
6092           Ugly hack to put the (recently removed and non-portable, apparently)
6093           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6094           GNU ld, because without that 'make check' fails miserably on my debian
6095           stable box.  Someone with more knowledge of linker intricacies and
6096           portability issues than me fix this properly please.
6097
6098 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6099
6100         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6101         Reset last seen position after flushing so that we don't report the old
6102         position anymore.
6103
6104 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6105
6106         * gst/gstelementfactory.c: (gst_element_register):
6107         * gst/gsturi.h:
6108         Patch from Alessandro Decina adding get_type_full and
6109         get_protocols_full private vfuncs to the URIHandler interface
6110         to allow bindings to support creating URI handlers. 
6111         Partially fixes: #339279
6112         API: GstURIHandlerInterface::get_type_full
6113         API: GstURIHandlerInterface::get_protocols_full
6114
6115 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6116
6117         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6118         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6119         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6120         Make it so that pads are considered linked until a buffer is pushed
6121         and discovered otherwise. This avoids problems with decodebin2 hanging
6122         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6123         case.
6124
6125         Make sure we lock the multiqueue when updating the max-size properties.
6126         
6127         Fix a crash on Solaris in a debug statement in get_request_pad that
6128         passes a NULL string to GST_DEBUG. 
6129
6130         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6131         (run_output_order_test):
6132         Fix the test to allow the first buffer on not-linked pads to come out
6133         of sequence while multiqueue discovers that they are not-linked.
6134
6135 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6136
6137         * configure.ac:
6138         * libs/gst/check/Makefile.am:
6139         Use a custom export symbol regex for libgstcheck, as it needs
6140         to export symbols that don't match the standard GStreamer gst_*
6141         pattern, and  --export-dynamic is not portable (only works on 
6142         GNU ld)
6143
6144         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6145         (gst_check_setup_sink_pad):
6146         Make sure to pass a message parameter to the fail_* macros.
6147
6148         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6149         Fix some compiler warnings.
6150
6151 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6152
6153         * tests/check/gst/gststructure.c: (test_to_string):
6154           Disable test that checks that white spaces are not allowed
6155           in structure names or field names, since we need to
6156           support that for now for backwards compatibility reasons.
6157
6158 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6159
6160         * docs/gst/gstreamer-sections.txt:
6161         * gst/gsttaglist.c:
6162         * gst/gsttaglist.h:
6163           API: add GST_TAG_ARTIST_SORTNAME
6164           API: add GST_TAG_ALBUM_SORTNAME
6165           API: add GST_TAG_TITLE_SORTNAME
6166           Add tag variants for sorting (#414539).
6167
6168 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * gst/gststructure.c:
6171           Also allow white space for names so we don't break
6172           backwards compatibility.
6173
6174 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6175
6176         * docs/design/part-TODO.txt:
6177         * docs/design/part-segments.txt:
6178         * docs/design/part-streams.txt:
6179         Small updates.
6180
6181 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6182
6183         * docs/gst/gstreamer-sections.txt:
6184          Fixed documentation from my previous commit (added new API add
6185          gst_value_set_structure(), add gst_value_get_structure() and
6186          GST_VALUE_HOLDS_STRUCTURE).
6187
6188 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6189
6190         * gst/gstdebugutils.c:
6191           Reflow code to fix uninitialized variable warning.
6192
6193 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6194
6195         * gst/gstcaps.c: (gst_caps_to_string),
6196         (gst_caps_from_string_inplace):
6197         * gst/gststructure.c: (gst_structure_get_abbrs),
6198         (gst_structure_to_string), (gst_structure_from_string):
6199         * gst/gstvalue.c: (gst_value_set_structure),
6200         (gst_value_get_structure), (gst_value_serialize_structure),
6201         (gst_value_deserialize_structure), (_gst_value_initialize):
6202         * gst/gstvalue.h:
6203         * tests/check/gst/gststructure.c: (GST_START_TEST),
6204         (gst_structure_suite):
6205         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6206          Added GstStructure to gst_value_table and its related functions.
6207          Changed gst_structure_to_string to print ';' in the end.
6208          Changed gst_caps_to_string to not print ';' beteween its
6209          fields (structures) anymore and remove the lastes ';' from latest
6210          structure. Now it is possible to have nested structures.
6211          In addition, backward compatibilty is assured by accepting '\0' as
6212          end delimiter. Fixes: #487969.
6213          API: add gst_value_set_structure()
6214          API: add gst_value_get_structure()
6215          API: add GST_VALUE_HOLDS_STRUCTURE
6216
6217 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6218
6219         * gst/gstbus.c:
6220           When no GSource callback has been set up, tell developer
6221           to use a function that actually exists.
6222
6223 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6224
6225         * docs/gst/gstreamer-sections.txt:
6226         * gst/Makefile.am:
6227         * gst/gst.c:
6228         * gst/gst.h:
6229         * gst/gstdebugutils.c:
6230         * gst/gstdebugutils.h:
6231         * gst/gstinfo.c:
6232         * gst/gstinfo.h:
6233         * tools/gst-launch.c:
6234           Allow dumping pipelines as dot graphs. Fixes #456573.
6235
6236 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6237
6238         * gst/gststructure.c:
6239           Allow '+' as well, it can be part of media or mime types
6240           such as image/svg+xml.
6241
6242 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6243
6244         * docs/gst/gstreamer-sections.txt:
6245         * gst/gstbus.c:
6246         * gst/gstbus.h:
6247           API: add gst_bus_pop_filtered
6248           API: add gst_bus_timed_pop_filtered
6249           Two new functions for waiting for specific message types on the
6250           bus for a specified amount of time without iterating any main
6251           loops or main contexts.
6252
6253         * tests/check/gst/gstbus.c:
6254           Some tests for the new functions.
6255
6256 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6257
6258         * docs/libs/gstreamer-libs-sections.txt:
6259           Make gtk-doc ignore stuff it should ignore.
6260
6261 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6262
6263         * libs/gst/check/gstcheck.c:
6264         * libs/gst/check/gstcheck.h:
6265           Allow runtime selection of unit tests to run via the GST_CHECKS
6266           environment variable (test case function names, comma-separated).
6267
6268 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6269
6270         * gst/gststructure.c:
6271         * tests/check/gst/gststructure.c:
6272           Revert serialisation change and constrain structure-names after
6273           consensus on irc. Update api documentation to reflect the change.
6274
6275 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6276
6277         * gst/gststructure.c:
6278           Improve serialization and fix tests.
6279
6280         * tests/check/gst/gststructure.c:
6281           Add another test that covers why I actually did the previous structure
6282           change.
6283
6284 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6285
6286         * tools/gst-inspect.c: (print_element_info):
6287         Don't crash when inspecting an element.
6288
6289 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6290
6291         * tests/check/gst/gststructure.c:
6292           Add unit test for escaping of structure name when serialising
6293           and deserialising to/from strings.
6294
6295 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6296
6297         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6298         (gst_single_queue_new):
6299         * plugins/elements/gstqueue.c: (gst_queue_init),
6300         (gst_queue_push_one):
6301         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6302         upstream is tricked into thinking it can suggest a format downstream
6303         while downstream does not support that format. The real problem is that
6304         core calls acceptcaps when pushing a buffer with new caps, for which we
6305         do a little workaround by setting the caps on the srcpad ourselves
6306         before pushing the buffer (until this is figured out). Fixes #486758.
6307
6308 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6309
6310         * gst/gststructure.c:
6311         * gst/gstvalue.c:
6312           Add some more comments and debug output. Quote structure name to fix
6313           deserialisation of some strings.
6314
6315 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6316
6317         * gst/gstbuffer.h:
6318           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6319           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6320
6321 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6322
6323         * tools/gst-inspect.c:
6324           Save approx. 400 1 byte allocs when printing. Use API to acces element
6325           details.
6326
6327         * tools/gst-run.c:
6328           Avoid a strdup.
6329
6330         * tools/gst-xmlinspect.c:
6331           Use API to acces element details.
6332
6333 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6334
6335         * gst/gstinfo.c:
6336           Fix some spelling errors.
6337
6338 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6339
6340         * gst/gstbin.c: (bin_handle_async_done):
6341         Correctly set the next state if all of our async children commited their
6342         state. This makes sure we can actually cancel the state change in
6343         progress. Fixes a regression in Rhythmbox when seeking.
6344
6345 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6346
6347         * gst/gstbin.c:
6348           Don't shadow local variable.
6349
6350         * gst/gstinfo.c:
6351           Don't shadow global function name.
6352
6353 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6354
6355         * gst/gstelementfactory.c:
6356         * gst/gstpluginfeature.c:
6357         * gst/gstpluginfeature.h:
6358         * gst/gstregistrybinary.c:
6359         * gst/gstregistryxml.c:
6360         * gst/gsttypefind.c:
6361           Use already-interned string for the private GstPluginFeature
6362           plugin_name field.
6363
6364 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6365
6366         * docs/libs/gstreamer-libs-sections.txt:
6367           Add new API to docs; fixes the build.
6368
6369 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6370         
6371         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6372
6373         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6374         (gst_base_sink_event):
6375         * libs/gst/base/gstbasesink.h:
6376         Add function to wait for EOS, subclasses can use this to correctly wait
6377         for devices to drain before performing the EOS logic. Fixes #485343.
6378         API: gst_base_sink_wait_eos()
6379
6380 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6381
6382         * gst/gstplugin.h:
6383           Cast description string constants in GST_PLUGIN_DEFINE macros
6384           to a (gchar*) to make C++ code using these macros compile
6385           without warning with g++-4.2 (see #462737).  Even if slightly
6386           ugly, this seems preferable to putting the description strings
6387           into the GLib quark table or making the structure member a
6388           const gchar * and doing casts in core code that allocs and
6389           frees these strings, or requiring a cast in the C++ code.
6390
6391 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6392
6393         * gst/gstinfo.h:
6394           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6395           to print the entire class/function signature into the log
6396           file for C++ code.  This only affects C++ code, for C code
6397           everything remains the same.
6398
6399 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6400
6401         * gst/gstbin.c: (remove_from_queue):
6402         Work around a problem with pipelines containing (semi)loops until a
6403         proper, more complicated solution is ready. See #475455.
6404
6405 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6406
6407         * gst/gstplugin.c:
6408         * gst/gstplugin.h:
6409         * gst/gstregistrybinary.c:
6410         * gst/gstregistryxml.c:
6411           Put more strings into the GLib quark table. No need to keep
6412           a hundred-something copies of identical version strings,
6413           license strings, package name strings and package origin
6414           strings around. 
6415
6416 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6417
6418         * docs/manual/advanced-dataaccess.xml:
6419           Don't imply that it's okay to unconditionally change
6420           buffer data or buffer metadata in a pad probe callback,
6421           and a bunch of other comments. Fixes #430031.
6422
6423 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6424
6425         * win32/common/gstenumtypes.c:
6426         * win32/common/gstenumtypes.h:
6427         * win32/common/gstversion.h:
6428           Update generated files.
6429
6430 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6431
6432         * docs/manual/advanced-autoplugging.xml:
6433           Prefix section with broken code with a warning (see #342432).
6434
6435 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6436
6437         * docs/manual/appendix-integration.xml:
6438         * docs/manual/basics-init.xml:
6439           Call g_thread_init() before g_option_context_new() to
6440           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6441
6442 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6443
6444         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6445         (gst_base_sink_queue_object_unlocked),
6446         (gst_base_sink_queue_object), (gst_base_sink_event),
6447         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6448         When we received EOS and are waiting for when to post the EOS message,
6449         our state is prerolled and we should not return ASYNC.
6450         Reorganize some code paths to implement this behavior.
6451
6452         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6453         (gst_sinks_suite):
6454         Add unit test to verify above EOS fix.
6455
6456 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6457
6458         * plugins/elements/gsttypefindelement.c:
6459         (gst_type_find_element_have_type), (gst_type_find_element_init),
6460         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6461         Move detecting the input caps of the sinkpad to the setcaps function.
6462         This allows us to update the output caps when we receive new input caps
6463         instead of always using the first detected caps.
6464
6465 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6466
6467         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6468         (gst_base_sink_get_position):
6469         Don't try to preroll non-async elements after a flush.
6470         Subtract latency form clock times when reporting position.
6471
6472 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6473
6474         * gst/gstpad.c: (gst_pad_pause_task):
6475         * gst/gstutils.c:
6476         Small comment and documentation update.
6477
6478 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6479
6480         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6481         (gst_base_src_set_live), (gst_base_src_is_live),
6482         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6483         (gst_base_src_default_event), (gst_base_src_wait),
6484         (gst_base_src_do_sync), (gst_base_src_get_range),
6485         (gst_base_src_pad_get_range), (gst_base_src_loop),
6486         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6487         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6488         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6489         (gst_base_src_change_state):
6490         Rework the locking of basesrc in a similar fashion to basesink. We
6491         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6492         us to handle live sources and semi live ones much better.
6493         Simplify flushing.
6494         Fix unlocking when seeking, shutting down and pausing in live sources.
6495
6496 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6497
6498         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6499         Fix compilation again.
6500
6501 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6502
6503         * gst/gstelement.c:
6504           Use meaningful categories for the logs to clean the default one.
6505
6506 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6507
6508         * tests/check/pipelines/cleanup.c:
6509           Print message name and not just number.
6510
6511 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6512
6513         * docs/design/draft-tagreading.txt:
6514           Add some more thoughts.
6515
6516 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6517
6518         * tests/check/pipelines/simple-launch-lines.c:
6519           Print message name and not just number.
6520
6521 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6522
6523         * libs/gst/base/gsttypefindhelper.c:
6524           Speedup typefinding. This is work in progress (see #459862).
6525
6526 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6527
6528         * gst/gstplugin.c:
6529           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6530           Spotted by Josep Torra Valles <josep@fluendo.com>.
6531
6532 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6533
6534         * gst/gstclock.h:
6535           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6536           field has moved to GstObject.
6537
6538 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6539
6540         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6541         (gst_base_src_get_range), (gst_base_src_change_state):
6542         Call unlock for live sources so that they can't get stuck in _create and
6543         produce a buffer before they are set back to PLAYING.
6544
6545 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6546
6547         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6548         (gst_queue_locked_dequeue):
6549         Comment the segment-related code... in the PROPER function.
6550         See #482147 and my commit from yesterday.
6551
6552 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6553
6554         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6555         Also initialize the counter that calculates the first timestamp on a
6556         buffer correctly for non-live sources.
6557
6558 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6559
6560         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6561         Disable code that's breaking the current-time-level reporting.
6562         See #482147
6563
6564 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6565
6566         * docs/gst/gstreamer-sections.txt:
6567         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6568         as they shouldn't show up. Fixes the docs build.
6569
6570 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6571         
6572         * gst/gstinfo.h:
6573         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6574         Define M_PI which is used in files which are including gstinfo.h. 
6575         VS6 includes doesn't define it.
6576         * win32/common/libgstbase.def:
6577         * win32/common/libgstcontroller.def:
6578         * win32/common/libgstreamer.def:
6579         Add new exported functions and variables.
6580         * win32/vs6/libgstcontroller.dsp:
6581         * win32/vs6/libgstreamer.dsp:
6582         Update the list of files to build.
6583         
6584 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6585
6586         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6587
6588         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6589         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6590         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6591         Improve debugging. Fixes #480858.
6592
6593 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6594
6595         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6596
6597         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6598         First patch of code cleanups, use the macros and right arguments in the
6599         macros to signal and lock the queue. See #480858.
6600
6601 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6602
6603         * gst/gstbus.c: (poll_func):
6604         Improve debugging when dealing with _poll().
6605
6606 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6607
6608         * gst/gstregistryxml.c:
6609           Fix memory leak I introduced a few days ago.
6610
6611 2007-09-26  Michael Smith <msmith@fluendo.com>
6612
6613         * gst/gstbuffer.c: (gst_buffer_finalize):
6614           Make it once again possible to free GstBuffers in the default
6615           build.
6616           The poisoning scribbles on parts of the miniobject we need in
6617           order to free it.
6618           Fixes #480341
6619
6620 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6621
6622         * docs/gst/gstreamer-sections.txt:
6623         * gst/gsttaglist.c:
6624         * gst/gsttaglist.h:
6625         API: add GST_TAG_COMPOSER, fixes #459809.
6626
6627 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6628
6629         * gst/gstplugin.c:
6630         * gst/gstplugin.h:
6631         Add the 3-clause BSD license and the MIT/X11 license to the license
6632         list. Fixes #479784.
6633
6634 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6635
6636         * docs/faq/getting.xml:
6637           Add Q+A about different GStreamer versions (#364056).
6638
6639 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6640
6641         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6642         (gst_base_sink_event), (gst_base_sink_change_state):
6643         Return correct gboolean from query function.
6644
6645 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6646
6647         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6648         (gst_base_sink_event), (gst_base_sink_query),
6649         (gst_base_sink_change_state):
6650         Simplify latency query.
6651         When not synchronizing, we can report latency without querying the peer
6652         element.
6653
6654 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6655
6656         * gst/gstobject.h:
6657         * gst/gstvalue.c:
6658         Fix small typos in the docs.
6659
6660 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6661
6662         * docs/design/draft-latency.txt:
6663         * docs/design/draft-push-pull.txt:
6664         * docs/design/draft-tagreading.txt:
6665         * docs/design/part-MT-refcounting.txt:
6666         * docs/design/part-activation.txt:
6667         * docs/design/part-block.txt:
6668         * docs/design/part-element-source.txt:
6669         * docs/design/part-events.txt:
6670         * docs/design/part-gstbin.txt:
6671         * docs/design/part-gstelement.txt:
6672         * docs/design/part-gstobject.txt:
6673         * docs/design/part-gstpipeline.txt:
6674         * docs/design/part-messages.txt:
6675         * docs/design/part-preroll.txt:
6676         * docs/design/part-push-pull.txt:
6677         * docs/design/part-qos.txt:
6678         * docs/design/part-query.txt:
6679         * docs/design/part-scheduling.txt:
6680         * docs/design/part-seeking.txt:
6681         * docs/design/part-segments.txt:
6682         * docs/design/part-states.txt:
6683         Documentation updates and typo fixes.
6684
6685 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6686
6687         * plugins/elements/gstfakesink.c:
6688           Add some debug text to error message to indicate that
6689           we errored out on request.
6690
6691         * tools/gst-launch.c:
6692           When the state change to PLAYING fails, check for an
6693           error message on the bus and print it.
6694
6695 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6696
6697         translated by: Jorge González González <aloriel@gmail.com>
6698
6699         * po/LINGUAS:
6700         * po/es.po:
6701           Added Spanish translation.
6702
6703 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6704
6705         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6706         Fix printf arguments.
6707
6708 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6709
6710         * tests/check/generic/states.c:
6711           Improved state change unit test.
6712
6713 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6714
6715         * gst/gstbin.h:
6716           Move priv to the right place.
6717
6718         * gst/gstsystemclock.c:
6719           Add FIXME: and improve log.
6720
6721         * tests/check/Makefile.am:
6722         * tests/examples/manual/Makefile.am:
6723           Work with all types of registries.
6724
6725 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6726
6727         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6728         Don't unref the event after pushing it. Fixes #478401.
6729
6730 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6731
6732         * .cvsignore:
6733         * tests/examples/manual/.cvsignore:
6734           Ignore registries in any format.
6735
6736 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6737
6738         * gst/glib-compat-private.h:
6739           Add compatibility macro for g_intern_string() for
6740           GLib-2.8 (any reason we can't just bump the
6741           requirement to at least 2.10?)
6742
6743         * gst/gstpadtemplate.h:
6744         * gst/gstelementfactory.c:
6745         * gst/gstregistryxml.c:
6746         * gst/gstregistrybinary.c:
6747           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6748           up the internal code accordingly.  This shouldn't be a problem, since
6749           there is no reason external code could ever assume the string in such
6750           a structure is dynamically allocated unless it did that itself;  the
6751           use of g_strdup() is private to element factories.  The new code also
6752           saves some memory by putting pad template name strings into the GLib
6753           quark table instead of allocating them dynamically.
6754           Declaring this field constant fixes warnings with g++-4.2 when using
6755           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6756
6757 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6758
6759         * gst/gstelementfactory.c:
6760           Release static caps. Fixes #475723.
6761
6762 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6763
6764         * gst/gstinfo.c:
6765         * gst/gstinfo.h:
6766           Make some internal API take const gchar * instead of just
6767           gchar * to avoid compiler warnings with g++-4.2.2 when
6768           passing string constants (partially fixes #478092).
6769
6770 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6771
6772         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6773         A latency query fails when one of the sinks fail.
6774
6775         * gst/gstelement.c: (gst_element_set_base_time):
6776         Improve debugging.
6777
6778 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6779
6780         * gst/gstbin.c: (gst_bin_continue_func):
6781         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6782         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6783         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6784
6785         Fix minor compilation warnings shown with Forte.
6786
6787 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6788
6789         * plugins/elements/gstqueue.c: (apply_buffer),
6790         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6791         Measure queue level based on the diff between head and tail timestamps
6792         even when pushing the first buffer.
6793
6794 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6795
6796         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6797         (gst_base_sink_event), (gst_base_sink_change_state):
6798         Sinks that don't preroll can always be queried for the latency.
6799         Don't post ASYNC start when we are not async.
6800
6801 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6802
6803         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6804         (gst_queue_handle_sink_event), (gst_queue_chain),
6805         (gst_queue_push_one), (gst_queue_handle_src_query),
6806         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6807         * plugins/elements/gstqueue.h:
6808         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6809         push more buffers but allow pushing of EOS and NEWSEGMENT.
6810         Add some more debug info here and there. Fixes #476514.
6811
6812 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6813
6814         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6815         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6816         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6817         (gst_base_sink_set_flushing), (gst_base_sink_query),
6818         (gst_base_sink_change_state):
6819         Latency query is allowed after we are prerolled. Introduce a new flag
6820         for this and stop abusing other variables.
6821
6822 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6823
6824         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6825         Push OOB events downstream when we get them in send_event. This allows
6826         the application to insert events in the pipeline.
6827         Add some more comments.
6828
6829 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6830
6831         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6832         (do_bin_latency), (gst_bin_change_state_func):
6833         * gst/gstpipeline.c: (gst_pipeline_change_state):
6834         Move latency query from GstPipeline to GstBin so that we can also
6835         use it when async-handling is enabled on bins.
6836
6837 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6838
6839         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6840         (gst_base_src_do_sync), (gst_base_src_change_state):
6841         Update docs.
6842         Clean up the timestamping and syncing code for pseudo live sources.
6843
6844 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6845
6846         Patch by: Steve Fink  <sphink gmail com>
6847
6848         * docs/manual/appendix-checklist.xml:
6849           Mention less -R switch in the section about debug output (#474055).
6850
6851 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6852
6853         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6854         Queue can latency to the pipeline up to the configured max size in time.
6855         Report this fact in the latency query.
6856
6857 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6858
6859         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6860
6861         * libs/gst/controller/gstinterpolation.c:
6862         * libs/gst/controller/gstlfocontrolsource.c:
6863         Use gst_guint64_to_gdouble() when converting from a uint64 or
6864         GstClockTime to double to fix the build on win32. Fixes #474371.
6865
6866 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6867
6868         * gst/gstbuffer.c: (gst_buffer_finalize):
6869         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6870         When finalizing a buffer the complete struct is filled with 0xff,
6871         thus making a use of the buffer after the final unref impossible.
6872
6873 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6874
6875         * tests/check/libs/controller.c: (GST_START_TEST):
6876         Use fail_unless_equals_int(a, b) instead of
6877         fail_unless_equals (a == b) to get better output on failures.
6878
6879 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6880
6881         * tests/check/gst/gsturi.c:
6882           Also check for the other file URI variant on win32.
6883
6884 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6885
6886         * gst/gsturi.c: (gst_uri_get_location):
6887           If there's no hostname, we want to return 'c:/foo/bar.txt'
6888           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6889
6890         * tests/check/gst/gsturi.c:
6891           Unit test for the above and a few more things.
6892
6893 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6894
6895         * docs/design/part-live-source.txt:
6896         Add docs on how live sources should timestamp.
6897
6898         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6899         Add some more debug info.
6900         For subclasses that are live and like to sync, add aditional startup
6901         latency to sync time and timestamps so that we timstamp according to the
6902         design doc.
6903
6904 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6905
6906         * gst/gstbuffer.c:
6907           Also do a g_type_class_ref() for the subbuffer type in
6908           the init function.
6909
6910 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6911
6912         * docs/gst/gstreamer-sections.txt:
6913         * gst/gstpad.c: (gst_pad_peer_query):
6914         * gst/gstpad.h:
6915         Add function to perform a query on the peer of a pad.
6916         API: gst_pad_peer_query()
6917
6918 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6919
6920         * tests/check/gst/gstsystemclock.c:
6921           Cleanup the test a little (use gst-logging and not g_message). Improve
6922           test to check if a wait reached the target.
6923
6924 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6925
6926         * docs/libs/gstreamer-libs-sections.txt:
6927           Add new API to docs and fix the build.
6928
6929 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6930
6931         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6932         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6933         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6934         (gst_base_src_get_property), (gst_base_src_do_sync):
6935         * libs/gst/base/gstbasesrc.h:
6936         Add property to make the basesrc timestamp buffers based on the current
6937         running time.
6938         API: GstBaseSrc::do-timestamp
6939         API: gst_base_src_set_do_timestamp()
6940         API: gst_base_src_get_do_timestamp()
6941
6942 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6943
6944         * docs/random/release:
6945           Really make sure translations are up-to-date before
6946           a release (#465010).
6947
6948 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6949
6950         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6951         Always destroy the timer, also in error cases.
6952
6953 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6954
6955         * docs/manual/highlevel-xml.xml:
6956         Fix XML example code. Fixes #472714.
6957
6958 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6959
6960         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6961         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6962         (gst_base_sink_query):
6963         Protect eos and have_preroll with the OBJECT lock so we don't need to
6964         take the PREROLL lock when querying the latency. Fixes #473846.
6965
6966 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6967
6968         * gst/gstelement.c:
6969           Give some log-messages a category.
6970
6971 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6972
6973         * gst/gststructure.c:
6974         (gst_structure_fixate_field_nearest_fraction):
6975         Fix fraction list fixation code. Take the fraction with the smallest
6976         difference with the target instead of the first one in the list.
6977
6978         * tests/check/gst/gststructure.c: (GST_START_TEST),
6979         (gst_structure_suite):
6980         Added test to verify correct fraction list fixation behaviour.
6981
6982 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6983
6984         * win32/common/libgstreamer.def:
6985           Export gst_bus_add_signal_watch too.
6986
6987 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6988
6989         * docs/libs/gstreamer-libs-sections.txt:
6990         Add new methods to docs.
6991
6992         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6993         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6994         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6995         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6996         * libs/gst/base/gstbasesink.h:
6997         Add ts-offset property to fine-tune the synchronisation.
6998         API: GstBaseSink::ts-offset property
6999         API: gst_base_sink_set_ts_offset()
7000         API: gst_base_sink_get_ts_offset()
7001
7002 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7003
7004         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7005         (gst_base_sink_init), (gst_base_sink_set_sync),
7006         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7007         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7008         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7009         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7010         (gst_base_sink_get_property), (gst_base_sink_change_state):
7011         * libs/gst/base/gstbasesink.h:
7012         Add async property to instruct the sink never to inform the parent about
7013         ASYNC state changes, update docs.
7014         Check argument with g_return_* for the public functions.
7015         API: GstBaseSink::async property
7016         API: gst_base_sink_set_async_enabled()
7017         API: gst_base_sink_is_async_enabled()
7018
7019 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7020
7021         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7022         Improve debugging.
7023
7024         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7025         (gst_base_src_default_query), (gst_base_src_wait),
7026         (gst_base_src_do_sync), (gst_base_src_change_state):
7027         Rearrange some code so that we can add support for measuring the 
7028         startup latency.
7029
7030 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7031
7032         * docs/random/ensonic/dynlink.txt:
7033           More thoughs on this.
7034
7035         * plugins/elements/gstcapsfilter.c:
7036           Add bugzilla ticket number to FIXME comment.
7037
7038 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7039
7040         * docs/design/part-TODO.txt:
7041         * docs/design/part-block.txt:
7042         Update some docs.
7043
7044 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7045
7046         * gst/Makefile.am:
7047           Revert patch which uses $(gst_headers) instead of $^ because it
7048           breaks make dist.
7049
7050 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7051
7052         * tests/check/gst/gstbin.c: (GST_START_TEST):
7053           Fix leaks in the new unit test.
7054
7055 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7056
7057         * gst/gst.c:
7058           Don't use GST_INFO before the debug system is actually initialised
7059           (shouldn't do any harm, but won't print anything either, so we can
7060           just as well remove it).
7061
7062         * gst/gstinfo.h:
7063           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7064           compilers that don't support variadic macros (such as MSVC), should
7065           check for debug_level <= __gst_debug_min as well, since that's the
7066           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7067           inline helper functions. Should improve performance a bit, but also
7068           makes sure uses of GST_INFO et.al are ignored if the debugging
7069           system isn't initialised yet (instead of printing an assertion
7070           failure).
7071
7072 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7073
7074         patch by: David Nečas <yeti@physics.muni.cz>
7075
7076         * gst/Makefile.am:
7077           Replace some non portable makefile constructs.
7078
7079 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7080
7081         * common/gtk-doc-plugins.mak:
7082           Grrrrr. Don't remove the types file on make clean.
7083
7084 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7085
7086         * tools/gst-launch.1.in:
7087         Add colorspace to example pipeline. Fixes #458274.
7088
7089 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7090
7091         * docs/random/release:
7092           The release manager should run 'make download-po' before making a
7093           release to make sure translations are up-to-date.
7094
7095         * po/LINGUAS:
7096         * po/be.po:
7097         * po/pl.po:
7098         * po/rw.po:
7099           Add some new translations.
7100
7101 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7102
7103         * tools/gst-launch.c: (event_loop), (main):
7104         Don´t try to do any state management when a live pipeline posts
7105         buffering messages.
7106         Also make the buffering string translatable.
7107
7108 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7109
7110         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7111         (bin_handle_async_start), (gst_bin_handle_message_func):
7112         Improve debugging.
7113         When adding elements, insert messages into the bus of the newly added
7114         element and make sure the element is the source of the message. This
7115         allows the parent bin to intercept the message and do the
7116         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7117         messages to the app (which is not allowed).
7118         Update some docs.
7119
7120         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7121         Fix testsuite so that is does not work around messages that should not
7122         have been posted in the first place.
7123
7124 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7125
7126         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7127         (update_degree), (gst_bin_sort_iterator_next):
7128         Fix annoying bug in the sorted iterator where a sink that is not really
7129         a sink (when it has downstream links) screwed up the iterator.
7130
7131         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7132         Unit test to verify the fix.
7133
7134 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7135
7136         * gst/gstmessage.h:
7137         Add some more docs for the messages.
7138
7139         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7140         (gst_base_sink_query):
7141         Add some more debugging.
7142
7143         * tools/gst-launch.c: (event_loop):
7144         When interrupting, don't try to set pipeline to PAUSED twice.
7145
7146 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7147
7148         
7149         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7150         (bin_handle_async_start), (gst_bin_handle_message_func):
7151         Move ASYNC_START message posting to where it belongs, similar to
7152         async_done. 
7153         Don't post ASYNC_START when we are in error. 
7154         Post ASYNC_START when we added an async element to a bin.
7155
7156 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7157
7158         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7159         generation from vargs. Fixes #466595.
7160
7161 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7162
7163         * gst/gstbin.c: (gst_bin_element_set_state):
7164         Always change the state of a NO_PREROLL element even if it has ASYNC
7165         elements inside (in case of a bin).
7166
7167         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7168         Unit test for this case.
7169
7170 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7171
7172         * libs/gst/check/gstbufferstraw.c:
7173         * libs/gst/check/gstcheck.h:
7174         * libs/gst/controller/gstcontroller.c:
7175         * libs/gst/controller/gstcontrolsource.h:
7176         * libs/gst/controller/gstlfocontrolsource.h:
7177         * plugins/elements/gstcapsfilter.h:
7178         * plugins/elements/gstfdsink.h:
7179         * plugins/elements/gstfdsrc.h:
7180           Add more missing docs.
7181
7182 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7183
7184         * gst/gststructure.c:
7185         Add Since tag to docs.
7186
7187 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7188
7189         * docs/gst/gstreamer-sections.txt:
7190         * gst/gststructure.c: (gst_structure_get_uint):
7191         * gst/gststructure.h:
7192         Add function to get uint from a structure.
7193         API: gst_structure_get_uint()
7194
7195 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7196
7197         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7198         (gst_caps_intersect):
7199         Fix proper check for simple caps.
7200
7201 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7202
7203         * docs/gst/Makefile.am:
7204         * docs/libs/Makefile.am:
7205           Remove cruft and do some cleanups.
7206
7207         * docs/gst/gstreamer-docs.sgml:
7208         * docs/libs/gstreamer-libs-docs.sgml:
7209           Prepare for comming gtkdoc features (rebase against online docs).
7210
7211 2007-08-10  Michael Smith <msmith@fluendo.com>
7212
7213         * docs/gst/gstreamer-sections.txt:
7214           Add gst_registry_add_path to docs.
7215
7216 2007-08-10  Michael Smith <msmith@fluendo.com>
7217
7218         * gst/gstregistry.h:
7219           Add gst_registry_add_path, which was missing from this header.
7220
7221 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7222
7223         * libs/gst/controller/gstlfocontrolsource.c:
7224           Printf format fix.
7225
7226 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7227
7228         * libs/gst/base/gstbasesink.c:
7229           Don't send an async_start message during downwards state change if 
7230           target state is less than READY
7231
7232 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7233
7234         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7235
7236         * po/LINGUAS:
7237         * po/hu.po:
7238           Added Hungarian translation.
7239
7240 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7241
7242         * po/fi.po:
7243         * po/it.po:
7244         * po/nl.po:
7245         * po/sv.po:
7246         * po/uk.po:
7247           Updated translations.
7248
7249 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7250
7251         * libs/gst/controller/Makefile.am:
7252         Dist gstlfocontrolsourceprivate.h
7253
7254 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7255
7256         * docs/libs/gstreamer-libs.types:
7257         Don't register the enum type gst_lfo_waveform_get_type() in the
7258         .types file - only GObject derived types belong.
7259
7260 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7261
7262         Patch by: <arenevier at fdn dot fr>
7263
7264         * gst/gstbuffer.h:
7265         Remove comma from last element in enum to avoid compile errors when
7266         using -pendantic. Fixes #464366.
7267
7268 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7269
7270         * docs/design/part-TODO.txt:
7271         Add some more TODO items
7272
7273         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7274         Improve debugging.
7275
7276         * gst/gstcaps.c: (gst_caps_intersect):
7277         Optimize trivial intersection case between identical caps pointers.
7278
7279         * gst/gstelement.c: (gst_element_continue_state),
7280         (gst_element_set_state_func):
7281         * gst/gstpad.c:
7282         Fix spelling and grammar mistakes.
7283
7284 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7285
7286         * po/POTFILES.in:
7287         * po/POTFILES.skip:
7288           Update POTFILES. Fixes #461599.
7289
7290 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7291
7292         * gst/gst.c:
7293         Fix confusing typo in debug output.
7294
7295 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7296
7297         reviewed by: Stefan Kost <ensonic@users.sf.net>
7298
7299         * libs/gst/controller/Makefile.am:
7300         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7301         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7302         (gst_lfo_control_source_new),
7303         (gst_lfo_control_source_set_waveform),
7304         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7305         (gst_lfo_control_source_finalize),
7306         (gst_lfo_control_source_dispose),
7307         (gst_lfo_control_source_set_property),
7308         (gst_lfo_control_source_get_property),
7309         (gst_lfo_control_source_class_init):
7310         * libs/gst/controller/gstlfocontrolsource.h:
7311         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7312         API: Add GstLFOControlSource, a control source that gives values
7313         for specific timestamps based on several periodic waveforms.
7314         Fixes #459717.
7315
7316         * tests/check/libs/controller.c: (GST_START_TEST),
7317         (gst_controller_suite):
7318         * docs/libs/gstreamer-libs-docs.sgml:
7319         * docs/libs/gstreamer-libs-sections.txt:
7320         * docs/libs/gstreamer-libs.types:
7321         Add documentation and unit tests for GstLFOControlSource.
7322
7323 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7324
7325         * configure.ac:
7326         Back to CVS
7327
7328 === release 0.10.14 ===
7329
7330 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7331
7332         * configure.ac:
7333           releasing 0.10.14, "Breathing Vacuum"
7334
7335 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7336
7337         * gst/gstelement.c: (gst_element_class_set_details_simple):
7338         * gst/gstelement.h:
7339           Make strings passed to gst_element_class_set_details_simple()
7340           constant, as they should be (#462752).
7341
7342 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7343
7344         * gst/gstbin.c: (gst_bin_change_state_func),
7345         (bin_handle_async_done), (gst_bin_handle_message_func):
7346         Don't forget about the fact that some element went ASYNC even after a
7347         resync. This makes us post the ASYNC_DONE message correctly.
7348         Fixes #462558.
7349
7350 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7351
7352         * gst/gstregistry.c: (gst_registry_add_feature):
7353         When replacing an existing feature in the registry, make sure to
7354         continue holding a reference until we've replaced the name string
7355         within our feature hash table. Make sure to use g_hash_table_replace
7356         instead of g_hash_table_insert to ensure the new name string is used
7357         as a key instead of the old one that we're about to free.
7358         Fixes: #462085
7359
7360 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7361
7362         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7363         (gst_plugin_feature_set_name):
7364         Revert patch from #459466 until after the release and we can work
7365         out exactly what the problem is (if any).
7366
7367 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7368
7369         * docs/gst/gstreamer-sections.txt:
7370         * gst/gsttaglist.c:
7371         * gst/gsttaglist.h:
7372           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7373
7374 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7375
7376         * docs/libs/Makefile.am:
7377         Include our build-prefix libs and includes before the generic ones to
7378         avoid linking against the installed libs when we want the build-tree
7379         ones.
7380
7381 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7382
7383         Patch by: Steve Fink  <sphink gmail com>
7384
7385         * docs/pwg/building-testapp.xml:
7386           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7387           if people try to build or install the example from the plugin
7388           template against a GStreamer from package using the configure
7389           defaults.
7390
7391 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7392
7393         Patch by: Steve Fink  <sphink gmail com>
7394
7395         * tools/gst-inspect.1.in:
7396           Document --print-all and --print-plugin-auto-install-info command
7397           line options in man page.
7398
7399 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7400
7401         * docs/gst/gstreamer-sections.txt:
7402         Add docs for new api function.
7403
7404 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7405
7406         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7407         * gst/gstelementfactory.h:
7408         API: gst_element_factory_has_interface()
7409         Added method to check if an element factory implements a named
7410         interface.
7411
7412 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7413
7414         * configure.ac:
7415         * docs/gst/gstreamer.types.in:
7416           Another conditional doc check.
7417
7418         * gst/gstmessage.c:
7419         * gst/gstparamspecs.h:
7420         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7421         * gst/gstvalue.c:
7422         * gst/gstxml.h:
7423           API-doc fixes.
7424
7425 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7426
7427         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7428         (gst_registry_binary_load_feature),
7429         (gst_registry_binary_load_plugin),
7430         (gst_registry_binary_read_cache):
7431           Print error just once and with additional info.
7432
7433 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7434
7435         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7436         (helper_find_suggest), (helper_find_get_length),
7437         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7438         (gst_type_find_helper_for_buffer):
7439           Cleanup the typefindhelper code and add private doc comments.
7440
7441 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7442
7443         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7444         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7445         Fix capsfilter for cases where the caps set on capsfilter will provide
7446         additional information.
7447         Fixes #449197
7448
7449 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7450
7451         * gst/gsttypefindfactory.c:
7452           Fix docs that recommened wrong function to use.
7453
7454 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7455
7456         * tools/gst-inspect.c: (print_plugin_features):
7457           Also give media-type for typefinders in element output.
7458
7459 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7460
7461         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7462         (gst_registry_remove_features_for_plugin_unlocked),
7463         (gst_registry_add_feature), (gst_registry_remove_feature),
7464         (gst_registry_lookup_feature_locked):
7465         * gst/gstregistry.h:
7466           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7467           Fixes #459501.
7468
7469 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7470
7471         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7472         (gst_plugin_feature_set_name):
7473           Avoid double memory usage for pluginfeature names. Fixes #459466.
7474
7475 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7476
7477         * gst/gstpad.h:
7478           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7479           driving the pipeline may need to explicitly check for NOT_LINKED as
7480           well, since IS_FATAL doesn't cover that.
7481
7482 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7483
7484         * docs/pwg/advanced-types.xml:
7485           Fix typo and duplicate entry in video formats list.
7486
7487 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7488
7489         * libs/gst/controller/gstinterpolation.c:
7490         Also round to the nearest int when using cubic interpolation.
7491
7492 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7493
7494         * libs/gst/controller/gstinterpolation.c:
7495         When linearly interpolating integer types, round to the nearest int
7496         by adding 0.5. Don't do it for float/double types.
7497         Fixes the failing controller test on my machine, which is somehow
7498         rounding differently than on the buildbots.
7499
7500 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7501
7502         * tools/gst-plot-timeline.py:
7503           Better log parsing (categories can have -). Adjust text vs. lines, so
7504           that they span the same y-range.        
7505
7506 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7507
7508         * docs/random/ensonic/audiobaseclasses.txt:
7509         * docs/random/ensonic/dynlink.txt:
7510         * docs/random/ensonic/profiling.txt:
7511           Save my thoughts.
7512
7513         * docs/random/moving-plugins:
7514           Add note to use g_assert type macros.
7515
7516 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7517
7518         * configure.ac:
7519         * libs/gst/check/Makefile.am:
7520           Add libm check as we use in for plugins.
7521
7522 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7523
7524         * gst/gstbin.c: (gst_bin_continue_func):
7525         Check that the state_cookie hasn't changed since the continue_func
7526         was scheduled. Avoids problems where the state changes back to
7527         something it shouldn't be because it was changed in the meantime.
7528
7529 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7530
7531         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7532         (gst_registry_binary_save_string),
7533         (gst_registry_binary_save_pad_template),
7534         (gst_registry_binary_save_feature),
7535         (gst_registry_binary_save_plugin),
7536         (gst_registry_binary_load_feature),
7537         (gst_registry_binary_load_plugin),
7538         (gst_registry_binary_read_cache):
7539           Fix memory leak. Be less verbose in the log.
7540
7541 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7542
7543         * tests/check/elements/.cvsignore:
7544         Add file to cvsignore as commanded.
7545
7546 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7547
7548         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7549         (mq_dummypad_event), (run_output_order_test):
7550         Use a GStaticMutex to protect all cases where libcheck
7551         fail_if/fail_unless macros might be called from multiple threads
7552         simultaneously to avoid errors like:
7553           "check_pack.c:107: :-1081725400:Bad message type arg"
7554
7555 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7556
7557         * tests/check/pipelines/stress.c: (GST_START_TEST):
7558         Make sure we set the pipeline back to the NULL state before
7559         dropping our final reference.
7560
7561 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7562
7563         * tests/check/elements/tee.c: (GST_START_TEST):
7564         Make the tee stress-test a little less stressful so it doesn't just
7565         time out on slow-machines, and remove a small race when it's starting 
7566         up by adding a get_state() call.
7567
7568 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7569
7570         * gst/gst.c:
7571           Avoid reading registry twice on startup. Fixes #457322.
7572
7573 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7574
7575         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7576         * pkgconfig/gstreamer-check.pc.in:
7577         Substitute the CFLAGS for libcheck into our .pc file too so that
7578         dependent modules will pick it up properly if libcheck is installed
7579         into some other prefix.
7580
7581 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7582
7583         * configure.ac:
7584         Revert the pkg-config check for libcheck, since it pulls in the
7585         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7586         a proper solution, either from the check project, or something else.
7587
7588 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7589
7590         * configure.ac:
7591           Use pkg-config to locate check.
7592
7593 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7594
7595         * gst/gsttaglist.c:
7596           Fix doc syntax.
7597
7598         * gst/gstutils.c:
7599         * gst/gstutils.h:
7600           Add deprecation guards.
7601
7602         * libs/gst/base/gstcollectpads.h:
7603           Don't document object (this is implicitly private).
7604
7605 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7606
7607         * gst/gststructure.c: (gst_structure_parse_value):
7608           When deserialising foo=bar without a type cast, check if it's a
7609           boolean before falling back to a string type, otherwise things like
7610           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7611           because the filtercaps end up having a signed=(string)true field,
7612           which causes problems later when intersection caps.
7613
7614         * tests/check/gst/gststructure.c: (GST_START_TEST):
7615           Add a unit test for this.
7616
7617 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7618
7619         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7620
7621         * libs/gst/controller/Makefile.am:
7622         * libs/gst/controller/gstcontroller.c:
7623         (gst_controlled_property_add_interpolation_control_source),
7624         (gst_controlled_property_new), (gst_controlled_property_free),
7625         (gst_controller_find_controlled_property),
7626         (gst_controller_new_valist), (gst_controller_new_list),
7627         (gst_controller_new), (gst_controller_remove_properties_valist),
7628         (gst_controller_remove_properties_list),
7629         (gst_controller_remove_properties),
7630         (gst_controller_set_property_disabled),
7631         (gst_controller_set_disabled), (gst_controller_set_control_source),
7632         (gst_controller_get_control_source), (gst_controller_get),
7633         (gst_controller_sync_values), (gst_controller_get_value_array),
7634         (_gst_controller_dispose), (gst_controller_get_type),
7635         (gst_controlled_property_set_interpolation_mode),
7636         (gst_controller_set), (gst_controller_set_from_list),
7637         (gst_controller_unset), (gst_controller_unset_all),
7638         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7639         * libs/gst/controller/gstcontroller.h:
7640         * libs/gst/controller/gstcontrollerprivate.h:
7641         * libs/gst/controller/gstcontrolsource.c:
7642         (gst_control_source_class_init), (gst_control_source_init),
7643         (gst_control_source_get_value),
7644         (gst_control_source_get_value_array), (gst_control_source_bind):
7645         * libs/gst/controller/gstcontrolsource.h:
7646         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7647         (gst_object_get_control_source):
7648         * libs/gst/controller/gstinterpolation.c:
7649         (gst_interpolation_control_source_find_control_point_node),
7650         (gst_interpolation_control_source_get_first_value),
7651         (_interpolate_none_get), (interpolate_none_get),
7652         (interpolate_none_get_boolean_value_array),
7653         (interpolate_none_get_enum_value_array),
7654         (interpolate_none_get_string_value_array),
7655         (_interpolate_trigger_get), (interpolate_trigger_get),
7656         (interpolate_trigger_get_boolean_value_array),
7657         (interpolate_trigger_get_enum_value_array),
7658         (interpolate_trigger_get_string_value_array):
7659         * libs/gst/controller/gstinterpolationcontrolsource.c:
7660         (gst_control_point_free), (gst_interpolation_control_source_reset),
7661         (gst_interpolation_control_source_new),
7662         (gst_interpolation_control_source_set_interpolation_mode),
7663         (gst_interpolation_control_source_bind),
7664         (gst_control_point_compare), (gst_control_point_find),
7665         (gst_interpolation_control_source_set_internal),
7666         (gst_interpolation_control_source_set),
7667         (gst_interpolation_control_source_set_from_list),
7668         (gst_interpolation_control_source_unset),
7669         (gst_interpolation_control_source_unset_all),
7670         (gst_interpolation_control_source_get_all),
7671         (gst_interpolation_control_source_get_count),
7672         (gst_interpolation_control_source_init),
7673         (gst_interpolation_control_source_finalize),
7674         (gst_interpolation_control_source_dispose),
7675         (gst_interpolation_control_source_class_init):
7676         * libs/gst/controller/gstinterpolationcontrolsource.h:
7677         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7678         API: Refactor GstController into the core controller which can take
7679         a GstControlSource for providing actual values for timestamps.
7680         Implement a interpolation control source and use this for backward
7681         compatibility, deprecate a bunch of functions that are now handled
7682         by GstControlSource or GstInterpolationControlSource.
7683         Make it possible to disable the controller completely or only for
7684         specific properties. Fixes #450711.
7685         * docs/libs/gstreamer-libs-docs.sgml:
7686         * docs/libs/gstreamer-libs-sections.txt:
7687         * docs/libs/gstreamer-libs.types:
7688         Add new functions and classes to the docs.
7689         * tests/check/libs/controller.c: (GST_START_TEST),
7690         (gst_controller_suite):
7691         * tests/examples/controller/audio-example.c: (main):
7692         Port unit test and example to the new API and add some new
7693         unit tests.
7694
7695 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7696
7697         Patch by: Mark Nauwelaerts <manauw at skynet be>
7698
7699         * plugins/elements/gstmultiqueue.c:
7700         (gst_multi_queue_get_internal_links), (apply_buffer),
7701         (single_queue_overrun_cb), (gst_single_queue_new):
7702         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7703         the pipeline layout can be tracked correctly. Fixes #453732.
7704
7705 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7706
7707         * docs/gst/Makefile.am:
7708         * docs/libs/Makefile.am:
7709         * docs/plugins/Makefile.am:
7710           Simplify --extra-dir as gtkdoc scans recursively.
7711
7712 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7713
7714         * tools/gst-launch.c: (main):
7715         When we got an error, there is no point in waiting for preroll when
7716         shutting down.
7717
7718 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7719
7720         * plugins/elements/gsttee.c: (gst_tee_base_init),
7721         (gst_tee_request_new_pad), (gst_tee_release_pad),
7722         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7723         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7724         (gst_tee_chain):
7725         Be a lot smarter when deciding what srcpad to use for proxying
7726         the buffer_alloc. Also handle pad added/removed when doing so.
7727         Fixes #357959.
7728         Keep track of what pads we already pushed on in case we have pads
7729         added/removed while pushing. Fixes #374639 
7730
7731         * tests/check/Makefile.am:
7732         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7733         (tee_suite):
7734         Added unit test for pad resync.
7735
7736 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7737
7738         * po/nl.po:
7739         * po/sv.po:
7740           Updated translations.
7741
7742 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7743
7744         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7745
7746         * po/LINGUAS:
7747         * po/fi.po:
7748           Added new Finnish translation.
7749
7750 2007-06-28  Wim Taymans  <wim@fluendo.com>
7751
7752         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7753         (single_queue_overrun_cb):
7754         When figuring out when a queue is filled, use our internal time estimate
7755         based on segments, just like check_full does.
7756
7757 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7758
7759         * gst/gstminiobject.c: (gst_mini_object_get_type):
7760           Remove 3 do-nothing methods.
7761
7762 2007-06-27  Wim Taymans  <wim@fluendo.com>
7763
7764         Patch by: Tim Angus <tim at ngus dot net>
7765
7766         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7767         (gst_capsfilter_set_property):
7768         Take a reference instead of a copy when setting "caps".
7769         Fix documentation to clarify this behaviour. Fixes #449414.
7770
7771 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7772
7773         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7774         * gst/gstplugin.c: (gst_plugin_init):
7775         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7776         * gst/gstquery.c: (gst_query_get_type):
7777         * gst/gstregistry.c: (gst_registry_init):
7778         * gst/gsturi.c: (gst_uri_handler_base_init):
7779           Remove empty instance_init() functions to save relocs and lessen the
7780           noise. Remove some of the function prototypes that are doubled by
7781           G_DEFINE_TYPE.
7782           
7783 2007-06-27  Wim Taymans  <wim@fluendo.com>
7784
7785         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7786
7787         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7788         Add peer and direction in the XML serialisation of ghostpads.
7789         Fixes #449226.
7790
7791 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7792
7793         * configure.ac:
7794           Preserve useful information, thanks Tim.
7795
7796 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7797
7798         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7799         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7800         (gst_single_queue_push_one), (gst_multi_queue_loop),
7801         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7802         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7803         (compute_high_id), (gst_single_queue_new):
7804         * plugins/elements/gstmultiqueue.h:
7805         Take the multiqueue lock when updating the fill level so we don't get
7806         confused. 
7807
7808         After applying a buffer or event on the src pad segment, make sure to
7809         call gst_data_queue_limits_changed() to get the data queue to unblock
7810         and check the filled state again.
7811         
7812         Rework the not-linked pad handling so the logic is that not-linked 
7813         pads can push as fast as they like, but only so they never get 
7814         ahead of any linked pads.
7815
7816         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7817         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7818         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7819
7820         Add a test to check that not-linked pads always stay behind
7821         linked pads.
7822
7823         Fixes: #430682
7824
7825 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7826
7827         * docs/random/release:
7828           Some updates to the release procedure.
7829
7830 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7831
7832         * gst/gstelementfactory.c: (__gst_element_details_clear):
7833           Microoptimization that saves stunning 80 bytes.
7834
7835 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7836
7837         * docs/plugins/gstreamer-plugins.args:
7838         * docs/plugins/inspect/plugin-coreelements.xml:
7839         * docs/plugins/inspect/plugin-coreindexers.xml:
7840           Update docs with caps info.
7841
7842 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7843
7844         * po/it.po:
7845           Updated Italian translation.
7846
7847 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7848
7849         * ChangeLog:
7850         * po/vi.po:
7851           Update Vietnamese translations.
7852
7853 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7854
7855         * libs/gst/base/gstbasesink.c:
7856           Remove unused signal enum.
7857
7858 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7859
7860         * docs/gst/gstreamer-sections.txt:
7861         * gst/gstelement.c:
7862         * gst/gstutils.c: (gst_type_register_static_full):
7863         Beef up and include the docs for gst_type_register_static_full and
7864         gst_element_class_set_details_simple and add the API keyword
7865         in the ChangeLog.
7866
7867 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7868
7869         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7870         (update_time_level), (gst_single_queue_push_one),
7871         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7872         (single_queue_overrun_cb), (single_queue_underrun_cb),
7873         (single_queue_check_full):
7874         Fix setting max-* properties after adding queues.
7875         Use IS_FILLED for checking visible items.
7876         Signal overrun if multiple queues overrun.
7877         Add extra debug output.
7878         Patch by: Wim Taymans <wim@fluendo.com>
7879
7880 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7881
7882         * gst/gstelement.c: (gst_element_class_set_details_simple):
7883         * gst/gstelement.h:
7884         * gst/gstutils.c: (gst_type_register_static_full):
7885         * gst/gstutils.h:
7886         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7887         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7888         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7889         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7890         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7891         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7892         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7893         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7894         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7895         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7896         (apply_buffer), (gst_queue_chain):
7897         * plugins/elements/gsttee.c: (gst_tee_base_init):
7898         * plugins/elements/gsttypefindelement.c:
7899         (gst_type_find_element_base_init),
7900         (gst_type_find_element_class_init):
7901           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7902           API: add gst_type_register_static_full
7903           API: add gst_element_class_set_details_simple
7904
7905 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7906
7907         * docs/pwg/advanced-types.xml:
7908           Fix typo in iana.org URI.
7909
7910 2007-06-19  Andy Wingo  <wingo@pobox.com>
7911
7912         * tests/check/pipelines/simple-launch-lines.c
7913         (test_state_change_returns): Enable pull-mode tests now that
7914         basesink has been fixed.
7915
7916         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7917         Changed from gst_base_sink_is_prerolled, reversing the sense of
7918         the return value. Returns FALSE also if the sink is in pull mode,
7919         in which case it needs no preroll.
7920         (gst_base_sink_query, gst_base_sink_change_state): Update for
7921         needs_preroll change.
7922         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7923         chaining up, in which we return SUCCESS directly if we activated
7924         in pull mode instead of ASYNC. Involves countering an async_start
7925         message sent before chaining up; not sure if this is correct, in
7926         an ideal world we only send async-start when activating in push
7927         mode.
7928
7929         * tests/check/pipelines/simple-launch-lines.c
7930         (test_state_change_returns): New test, partially disabled until
7931         basesink is fixed.
7932
7933 2007-06-19  Wim Taymans  <wim@fluendo.com>
7934
7935         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7936         (gst_multi_queue_sink_event):
7937         Fix event leak.
7938
7939 2007-06-19  Wim Taymans  <wim@fluendo.com>
7940
7941         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7942         (gst_bin_change_state_func), (bin_push_state_continue),
7943         (bin_handle_async_start), (bin_handle_async_done),
7944         (gst_bin_handle_message_func):
7945         Move the common code for posting state-change messages into
7946         one function.
7947         Broadcast the state signal after we posted the messages.
7948         Mark the bin as busy when it's doing a state-change.
7949         Make sure async-start/done messages don't interfere with the bin's
7950         state when it's busy.
7951         After the state change, let the bin check which elements completed the
7952         state change while it was busy so that it can update its state.
7953
7954 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7955
7956         * docs/random/release:
7957         Add a note about updating the doap file to the release checklist
7958
7959 2007-06-18  Wim Taymans  <wim@fluendo.com>
7960
7961         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7962         (gst_single_queue_push_one), (gst_multi_queue_chain),
7963         (gst_multi_queue_sink_event):
7964         Make sure we don't reference the buffer/event after we have given away
7965         ownership in the queue.
7966
7967 2007-06-18  Wim Taymans  <wim@fluendo.com>
7968
7969         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7970         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7971         Update queue state _after_ adding the item in the queue because else we
7972         could end up being full without the element added yet.
7973
7974 2007-06-18  Wim Taymans  <wim@fluendo.com>
7975
7976         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7977         (gst_bin_remove_func), (gst_bin_get_state_func),
7978         (gst_bin_element_set_state), (gst_bin_continue_func),
7979         (bin_push_state_continue), (bin_handle_async_start),
7980         (bin_handle_async_done), (gst_bin_handle_message_func):
7981         * gst/gstbin.h:
7982         Immediatly commit the toplevel bin state when receiving an async-done
7983         message. This enables us to avoid spawning a thread to commit the state
7984         in some common cases and it also avoids some races.
7985         Avoid spawning a state thread when adding/removing async elements to a
7986         toplevel bin. Instead we immediatly update the bin state.
7987         Get rid of iterating all the children when getting the state in the bin
7988         because it is now always up-to-date.
7989         Fix bug where locked elements would always return _SUCCESS even it they
7990         returned NO_PREROLL before being locked.
7991         Fix the order of the state_change, async-start/done messages that was
7992         sometimes incorrect.
7993         Mark the state_dirty field as deprecated, we don't need it anymore as we
7994         are always up-to-date.
7995
7996         * gst/gstelement.c: (gst_element_get_state_func),
7997         (gst_element_continue_state):
7998         Small debug inprovements.
7999         Return the previous element state return when nothing is pending instead
8000         of blindly returning SUCCESS.
8001
8002         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8003         (gst_sinks_suite):
8004         Add a whole bunch of new testcases.
8005
8006 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8007
8008         * po/uk.po:
8009         * po/vi.po:
8010           Update translations.
8011
8012 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8013
8014         * gst/gstpad.c:
8015         Fix typo in the docs.
8016
8017 2007-06-15  Wim Taymans  <wim@fluendo.com>
8018
8019         * docs/libs/gstreamer-libs-sections.txt:
8020         Add docs for new methods.
8021
8022 2007-06-15  Wim Taymans  <wim@fluendo.com>
8023
8024         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8025         (gst_multi_queue_item_new):
8026         Don't use GSlice because we don't depend on >= 2.10 yet.
8027
8028 2007-06-15  Wim Taymans  <wim@fluendo.com>
8029
8030         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8031         (update_time_level), (apply_segment), (apply_buffer),
8032         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8033         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8034         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8035         (single_queue_underrun_cb), (single_queue_check_full):
8036         Remove debug printf.
8037
8038 2007-06-15  Wim Taymans  <wim@fluendo.com>
8039
8040         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8041         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8042         (gst_data_queue_set_flushing), (gst_data_queue_push),
8043         (gst_data_queue_pop), (gst_data_queue_drop_head),
8044         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8045         * libs/gst/base/gstdataqueue.h:
8046         Various cleanups.
8047         Added methods to get the current levels and to inform the queue that the
8048         'full' limits changed.
8049
8050         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8051         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8052         (gst_single_queue_flush), (update_time_level), (apply_segment),
8053         (apply_buffer), (gst_single_queue_push_one),
8054         (gst_multi_queue_item_steal_object),
8055         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8056         (gst_multi_queue_loop), (gst_multi_queue_chain),
8057         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8058         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8059         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8060         (single_queue_underrun_cb), (single_queue_check_full),
8061         (gst_single_queue_new):
8062         Keep track of time in the queue by measuring the difference between
8063         running_time on input and output. This gives more accurate results and
8064         can compensate for segments correctly.
8065         Make a queue by default only 5 buffers deep. We will now increase the
8066         buffer size depending on the filledness of the other queues.
8067         Factor out commong flush code.
8068         Make sure we don't add additional refcounts to buffers when we can avoid
8069         it.
8070         Propagate GstFlowReturn differently.
8071         Use GSlice for intermediate GstMultiQueueItems.
8072         Keep track of EOS.
8073         Resize queues on over and underruns based on filled level of other
8074         queues.
8075         When checking if the queue is filled, prefer to measure in time if we
8076         can and fall back to bytes when no time is known.
8077
8078         * plugins/elements/gstqueue.c:
8079         Fix return value.
8080
8081 2007-06-15  Wim Taymans  <wim@fluendo.com>
8082
8083         * libs/gst/base/gstbasetransform.c:
8084         (gst_base_transform_sink_event):
8085         Work around the brokenness of the event vmethod in basetransform. Prefer
8086         to return TRUE when the subclass returned FALSE (meaning don't forward
8087         the event). 
8088
8089         * libs/gst/base/gstbasetransform.h:
8090         Clarify the docs.
8091
8092 2007-06-15  Wim Taymans  <wim@fluendo.com>
8093
8094         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8095         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8096         (gst_base_src_default_query), (gst_base_src_get_range),
8097         (gst_base_src_start):
8098         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8099         Improve debugging.
8100
8101 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8102
8103         * docs/pwg/advanced-types.xml:
8104           Added more formats to caps table.
8105
8106 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8107
8108         * tools/gst-launch.c: (main):
8109           Remove crufy code. GOption does not need this workaround.
8110
8111 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8112
8113         * libs/gst/controller/gstcontroller.c:
8114         (gst_controlled_property_set_interpolation_mode):
8115           Fix wrong getter for enums in controller.
8116
8117 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8118
8119         * libs/gst/check/gstcheck.c: (gst_check_init):
8120           Intercept criticals and warnings in the Gst-Phonon log domain, so
8121           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8122           well.
8123         
8124 2007-06-14  Edward Hervey  <edward@fluendo.com>
8125
8126         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8127         Since this file doesn't include "gst.h" it will not go through the
8128         macros that disable GST_LOG if debugging was disabled.
8129
8130 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8131
8132         * libs/gst/check/Makefile.am:
8133         * libs/gst/check/gstcheck.h:
8134         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8135         * pkgconfig/gstreamer-check.pc.in:
8136           Ugly 'fix' for the controller unit test on the p5 bot: in
8137           fail_unless_equals_float() check whether the values are 'almost
8138           equal' by allowing a small absolute error, which should be good
8139           enough for our use cases (normal numbers and values close to 0).
8140           Proper fixage left to floating point arithmetic aficionados.
8141
8142 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8143
8144         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8145         (gst_base_sink_render_object), (gst_base_sink_get_position):
8146           Add two breaks thats where missing.
8147
8148 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8149
8150         * docs/libs/gstreamer-libs-sections.txt:
8151         * libs/gst/check/gstcheck.h:
8152           API: add fail_unless_equals_float() and assert_equals_float().
8153           Add documentation for some of the macros.
8154
8155         * tests/check/libs/controller.c: (GST_START_TEST):
8156           Use newly-added asserts.
8157
8158 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8159
8160         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8161           Show the caps change in the log to help spotting the case of not
8162           exactly matching caps.
8163
8164 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8165
8166         * docs/pwg/building-boiler.xml:
8167           Fix typos, spotted by Thijs Vermeir (#447190).
8168
8169 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8170
8171         * docs/plugins/tmpl/.cvsignore:
8172         Ignore file to keep the buildbots happy
8173
8174 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8175
8176         * docs/plugins/Makefile.am:
8177         * docs/plugins/gstreamer-plugins-docs.sgml:
8178         * docs/plugins/gstreamer-plugins-sections.txt:
8179         Pull fdsink into the docs too.
8180
8181 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8182
8183         * libs/gst/controller/gstinterpolation.c:
8184         Actually use the new functions with min/max checks for the trigger and
8185         none interpolation modes for get() and get_value_array() instead of
8186         just the latter.
8187
8188 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8189
8190         * libs/gst/controller/gstcontroller.c:
8191         (gst_controlled_property_free):
8192         Unset the minimum and maximum GValues when freeing the corresponding
8193         GstControllerProperty struct.
8194
8195 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8196
8197         * libs/gst/controller/gstcontroller.c:
8198         (gst_controlled_property_new):
8199         * libs/gst/controller/gstcontrollerprivate.h:
8200         * libs/gst/controller/gstinterpolation.c:
8201         (gst_controlled_property_find_control_point_node),
8202         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8203         (interpolate_none_get_string_value_array),
8204         (interpolate_trigger_get),
8205         (interpolate_trigger_get_enum_value_array),
8206         (interpolate_trigger_get_string_value_array):
8207         Protect against values larger or smaller than the minimum or maximum
8208         allowed value for the property when using values that can be compared.
8209
8210         Optimize trigger interpolator a bit by taking the last requested value
8211         into account instead of always looping through the complete list.
8212
8213         Fix coding style a bit, everywhere else we use "return foo" instead
8214         of "return (foo)".
8215         
8216         * tests/check/libs/controller.c: (GST_START_TEST),
8217         (gst_controller_suite):
8218         Add unit test for the protection against too large or too small
8219         values.
8220
8221 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8222
8223         * docs/random/slomo/controller.txt:
8224         Add some thoughts about the future of the controller.
8225
8226 2007-06-08  Wim Taymans  <wim@fluendo.com>
8227
8228         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8229         Don't overflow in retimestamping code.
8230
8231 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8232
8233         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8234         Use gst_util_guint64_to_gdouble for conversions.
8235         * win32/common/libgstreamer.def:
8236         Add new exported functions.
8237
8238 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8239
8240         * gst/gstutils.c:
8241           Small docs addition.
8242
8243 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8244
8245         * README:
8246           Remove that test line again.
8247
8248 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8249
8250         * README:
8251           Test commit mail sending.
8252
8253 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8254
8255         * configure.ac:
8256           Fix typo and test commit mail sending.
8257
8258 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8259
8260         * tests/examples/controller/audio-example.c:
8261           Improve comment and test commit mail sending.
8262
8263 2007-06-07  Wim Taymans  <wim@fluendo.com>
8264
8265         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8266         (gst_bin_remove_func), (gst_bin_element_set_state),
8267         (bin_handle_async_start), (bin_handle_async_done),
8268         (gst_bin_handle_message_func):
8269         Add helper function to find messages.
8270         Generate the async-done messages together with the state change
8271         messages.
8272         Small cleanups in handling toplevel bins.
8273
8274 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8275
8276         * libs/gst/base/gstdataqueue.c:
8277         * libs/gst/base/gstdataqueue.h:
8278         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8279         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8280         (gst_multi_queue_sink_event):
8281         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8282           Fix multiqueue leaking buffers and events when downstream or the
8283           queue are flushing. Make refcounting assumptions explicit and
8284           document them (shouldn't break existing code that uses it other than
8285           maybe leak miniobjects, but that already happens anyway). Add unit
8286           test for the most common flushing case. Fixes #423700.
8287           
8288 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8289
8290         * libs/gst/controller/gstcontroller.c:
8291         Clarify docs: The get_all, get_value_array(s) functions
8292         don't modify the GObject properties.
8293
8294 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8295
8296         * libs/gst/controller/gstcontroller.c:
8297         (gst_controlled_property_set_interpolation_mode),
8298         (gst_controlled_property_prepend_default),
8299         (gst_controlled_property_new), (gst_controller_set_unlocked),
8300         (gst_controller_set), (gst_controller_set_from_list),
8301         (gst_controller_unset), (gst_controller_unset_all):
8302         * libs/gst/controller/gstcontrollerprivate.h:
8303         * libs/gst/controller/gstinterpolation.c:
8304         Factor out the 'set' logic into gst_controller_set_unlocked for the
8305         gst_controller_set and gst_controller_set_from_list functions.
8306
8307         To make life of the interpolators easier always add a control point
8308         at timestamp zero with the default value.
8309
8310         In the linear interpolator make things more obvious by better variable
8311         naming (slope).
8312
8313         Implement cubic interpolation mode (by using a natural cubic spline)
8314         and map the quadratic interpolation mode to this too (as quadratic
8315         doesn't make much sense, see discussion on the list).
8316
8317         * tests/check/libs/controller.c: (GST_START_TEST),
8318         (gst_controller_suite):
8319         Add unit test for the cubic interpolation mode and check everywhere
8320         if the interpolation mode could be set as expected.
8321
8322 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8323
8324         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8325           Don't use GLib-2.10 functions, we still depend on
8326           GLib-how-old-is-it-again-2.8.
8327
8328 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8329
8330         * docs/gst/gstreamer-sections.txt:
8331         * gst/Makefile.am:
8332         * gst/gst.c:
8333         * gst/gst.h:
8334         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8335         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8336         (_gst_param_fraction_values_cmp),
8337         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8338         * gst/gstparamspecs.h:
8339         * gst/gstvalue.c:
8340         * tests/check/Makefile.am:
8341         * tests/check/gst/.cvsignore:
8342         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8343         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8344         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8345         (GST_START_TEST), (gst_param_spec_suite):
8346           API: add GstParamSpecFraction, so elements can have fraction
8347           properties without lots of painful string parsing (#444648).
8348
8349 2007-06-05  Wim Taymans  <wim@fluendo.com>
8350
8351         * gst/gstobject.c: (gst_object_class_init):
8352         Fix signal signature.
8353
8354         * gst/gstsegment.c:
8355         Add small clarification in the api docs.
8356
8357         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8358         States are protected with object lock.
8359
8360 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8361
8362         * AUTHORS:
8363         I should probably be listed as an author by now.
8364
8365         * docs/random/release:
8366         Update the release doc
8367
8368 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8369
8370         * gst/gstvalue.c:
8371           Make docs for gst_value_compare() mention return enums that
8372           actually exist.
8373
8374 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8375
8376         * configure.ac:
8377           Back to CVS
8378
8379 === release 0.10.13 ===
8380
8381 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8382
8383         * configure.ac:
8384           releasing 0.10.13, "With or without you"
8385
8386 2007-05-25  Wim Taymans  <wim@fluendo.com>
8387
8388         * gst/gstbin.c: (bin_handle_async_done):
8389         Make sure that the child bin stops after completing the async state
8390         change so that the parent can continue the state change to PLAYING.
8391         Fixes #441159.
8392
8393 2007-05-25  Wim Taymans  <wim@fluendo.com>
8394
8395         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8396         (unref_data), (gst_collect_pads_remove_pad),
8397         (gst_collect_pads_check_pads):
8398         Use additional refcounting to avoid crashes when dynamically adding and
8399         removing pads. Fixes #420206.
8400
8401 2007-05-24  Wim Taymans  <wim@fluendo.com>
8402
8403         * tools/gst-launch.c: (event_loop):
8404         When buffering goes from a two digit to a single digit number, make sure
8405         to remove the old second digit by writing a blank over it.
8406
8407 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8408
8409         * libs/gst/base/gstdataqueue.c:
8410           Eliminate tabs and trailing comma in enum list; fix some typos.
8411
8412 2007-05-24  Wim Taymans  <wim@fluendo.com>
8413
8414         * tests/check/gst/gstbin.c: (GST_START_TEST):
8415         Allow refcount of 3 and 4 because some state thread might still be busy
8416         with it.
8417
8418 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8419
8420         * plugins/elements/Makefile.am:
8421         * plugins/elements/gstmultiqueue.h:
8422         * plugins/elements/gstqueue.h:
8423           These are not installed headers, no need for padding.
8424
8425 2007-05-24  Wim Taymans  <wim@fluendo.com>
8426
8427         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8428         (gst_bin_continue_func):
8429         Enable latency for next release.
8430         Restore STATE_LOCK around recalc_state that was left out during the
8431         rewrite and could result in racy behaviour when _get_state and
8432         recalc_state are run concurrently. See #440463.
8433
8434 2007-05-23  Wim Taymans  <wim@fluendo.com>
8435
8436         * tests/check/gst/gstsystemclock.c: (store_callback),
8437         (GST_START_TEST):
8438         Improve test_async_order to also work when both timers are already
8439         expired when we get scheduled to check it.
8440
8441 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8442
8443         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8444         (gst_bin_set_property), (gst_bin_get_property),
8445         (gst_bin_remove_func), (gst_bin_handle_message_func):
8446         * gst/gstbin.h:
8447           'private' is a c++ keyword, let's not use that in header files,
8448           otherwise c++ compilers will throw a tantrum.
8449
8450 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8451
8452         * plugins/elements/gstelements.c:
8453         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8454         (gst_file_sink_get_current_offset):
8455         * plugins/indexers/gstindexers.c: (plugin_init):
8456           Use #ifdef for HAVE_XYZ for consistency.
8457
8458         * tests/check/Makefile.am:
8459         * tests/check/elements/.cvsignore:
8460         * tests/check/elements/filesink.c: (setup_filesink),
8461         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8462           Add some unit tests for filesink.
8463
8464 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8465
8466         Patch by: Mark Nauwelaerts <manauw at skynet be>
8467
8468         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8469         (gst_file_sink_query), (gst_file_sink_do_seek),
8470         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8471         * plugins/elements/gstfilesink.h:
8472           Fix position reporting; rename data_written member to current_pos to
8473           reflect its real meaning (fixes #412648).
8474
8475 2007-05-22  Edward Hervey  <edward@fluendo.com>
8476
8477         * docs/gst/gstreamer-sections.txt:
8478         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8479         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8480         (gst_bin_remove_func), (gst_bin_handle_message_func):
8481         * gst/gstbin.h:
8482         Add a property for bins that handle the state change of their childs.
8483         Fixes #435880
8484
8485 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8486
8487         * libs/gst/controller/gstinterpolation.c:
8488         Use an array of the correct type when using _get_value_array with
8489         linear interpolation.
8490
8491 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8492
8493         * gst/gstelement.c (gst_element_requires_clock,
8494           gst_element_provides_clock, gst_element_request_pad,
8495           gst_element_class_set_details, gst_element_class_set_details_simple,
8496           gst_element_default_send_event, gst_element_abort_state,
8497           gst_element_continue_state, gst_element_set_state,
8498           gst_element_set_state_func, iterator_activate_fold_with_resync):
8499         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8500           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8501           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8502           gst_pad_get_range, gst_pad_pull_range):
8503         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8504           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8505           GstPadActivateModeFunction, GstPadChainFunction,
8506           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8507           GstPadFixateCapsFunction, GstPadTemplate):
8508         * gst/gstpipeline.c (gst_pipeline_change_state,
8509           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8510           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8511           gst_pipeline_get_delay):
8512           Whitespace and docs fixes.
8513
8514 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8515
8516         * libs/gst/controller/gstinterpolation.c:
8517         (interpolate_trigger_get_enum_value_array),
8518         (interpolate_trigger_get_string_value_array):
8519         Add support for retrieving value arrays when using the trigger
8520         interpolation mode. 
8521
8522 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8523
8524         * libs/gst/controller/gstcontroller.c:
8525         (gst_controller_get_value_array):
8526         * libs/gst/controller/gstcontroller.h:
8527         Clarify the docs of gst_controller_get_value_array(): The array where
8528         the values should be written to must be allocated as there seems to be
8529         no way to get the size of a random GType. This doesn't change any
8530         behaviour. Also fix some typos all over the place and remove an unused,
8531         commented function that is not necessary as g_object_set() could be
8532         used instead.
8533         * tests/check/libs/controller.c: (GST_START_TEST),
8534         (gst_controller_suite):
8535         Add unit test for gst_controller_get_value_array().
8536
8537 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8538
8539         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8540
8541         Disable part of the gst_buffer_try_new_and_alloc test, because
8542         it can happily succeed on 64-bit systems where there's more address
8543         space available.
8544
8545 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8546
8547         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8548         Add unit test for the improved caps checking from bug #421543.
8549
8550 2007-05-21  Wim Taymans  <wim@fluendo.com>
8551
8552         * docs/design/part-synchronisation.txt:
8553         Small addition.
8554
8555         * gst/gstbin.c: (gst_bin_query):
8556         * plugins/elements/gstqueue.c: (apply_segment):
8557         Improve debugging.
8558
8559         * gst/gstmessage.h:
8560         Improve docs.
8561
8562 2007-05-21  Wim Taymans  <wim@fluendo.com>
8563
8564         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8565         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8566         (gst_pad_configure_src):
8567         Added simple version of improved caps checking. It was previously
8568         assumed that a setcaps function would check the validity of the caps but
8569         people prefer us to check caps against the template automatically. 
8570         Fixes #421543.
8571
8572 2007-05-21  Wim Taymans  <wim@fluendo.com>
8573
8574         * libs/gst/base/gstbasetransform.h:
8575         Fix macro for locking/unlocking the transform lock.
8576
8577 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8578
8579         * docs/plugins/tmpl/.cvsignore:
8580           Ignore more.
8581
8582 2007-05-18  Edward Hervey  <edward@fluendo.com>
8583
8584         * plugins/elements/gstqueue.c: (gst_queue_loop):
8585         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8586         for the subtle art of warning a potentially blocking thread that it
8587         should check the source pad return value, and relay the information
8588         upstream.
8589
8590 2007-05-18  Edward Hervey  <edward@fluendo.com>
8591
8592         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8593         Release the queue lock !
8594
8595 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8596
8597         * docs/libs/gstreamer-libs-sections.txt:
8598         Add the two new controller functions to the appropiate places.
8599
8600 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8601
8602         reviewed by: Stefan Kost <ensonic@users.sf.net>
8603
8604         * libs/gst/controller/gstcontroller.c:
8605         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8606         (_gst_controller_get_property), (_gst_controller_set_property),
8607         (_gst_controller_init), (_gst_controller_class_init):
8608         * libs/gst/controller/gstcontroller.h:
8609         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8610         (gst_object_get_control_rate), (gst_object_set_control_rate):
8611         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8612         Add API that provides sync suggestion timestamps for elements that
8613         call gst_object_sync_values() from which those elements can subdivide
8614         their processing loop to get the best results for the controlled
8615         properties. For now it just suggests last_sync + control_rate as
8616         new timestamp but this will be improved in the future.
8617
8618         While doing that change the control-rate property to a GstClockTime
8619         from guint and change it's meaning from samples to nanoseconds as
8620         the GstController doesn't know anything about sampling rate. Strictly
8621         speaking this breaks ABI but as the control-rate property didn't do
8622         anything in the past and as such couldn't be used this should be no
8623         problem.        
8624
8625 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8626
8627         reviewed by: Stefan Kost <ensonic@users.sf.net>
8628
8629         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8630         (gst_controller_unset_all):
8631         * libs/gst/controller/gstcontrollerprivate.h:
8632         * libs/gst/controller/gstinterpolation.c:
8633         (gst_controlled_property_find_control_point_node):
8634         Save last synced value from the list to continue searching from there
8635         in future syncs. This speeds everything up a bit.
8636         
8637 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8638
8639         reviewed by: Stefan Kost <ensonic@users.sf.net>
8640
8641         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8642         (gst_control_point_find), (gst_controlled_property_new),
8643         (gst_control_point_free), (gst_controlled_property_free),
8644         (gst_controller_set), (gst_controller_set_from_list),
8645         (gst_controller_unset), (gst_controller_unset_all),
8646         (gst_controller_sync_values):
8647         * libs/gst/controller/gstcontroller.h:
8648         * libs/gst/controller/gstcontrollerprivate.h:
8649         * libs/gst/controller/gstinterpolation.c:
8650         (gst_controlled_property_find_control_point_node),
8651         (interpolate_none_get), (interpolate_trigger_get):
8652         Add a new private GstControlPoint struct which "inherits" from
8653         GstTimedValue to allow different interpolators to store internal
8654         values next to each control point. From the outside everything is
8655         still a GstControlPoint so we don't loose binary compatibility.
8656         Also fixup all the GValue handling to not leak GValues or list nodes.
8657         * tests/check/libs/controller.c: (GST_START_TEST):
8658         Free the list nodes and GValues in the controller_misc test.
8659
8660 2007-05-17  Edward Hervey  <edward@fluendo.com>
8661
8662         * gst/gstsegment.c:
8663         Small doc fix.
8664
8665 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * gst/gstplugin.c: (gst_plugin_load_file):
8668           If we fail to load a plugin because of unresolved symbols or missing
8669           libraries and spew a warning to stderr, we may just as well mention
8670           which plugin it was that failed to load.
8671
8672 2007-05-13  David Schleef  <ds@schleef.org>
8673
8674         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8675           handles the case when ENABLE_GTK_DOC is false, and installs
8676           the prebuilt documentation.  So gtk-doc subdirs are 
8677           unconditionally enabled.  Fixes: #349099.
8678
8679 2007-05-13  David Schleef  <ds@schleef.org>
8680
8681         * gst/gstutils.h: Reword some documentation.
8682
8683 2007-05-12  David Schleef  <ds@schleef.org>
8684
8685         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8686           do anything with the passed "module" parameter, so remove it.
8687           Allows removal of additional vestigal code.
8688
8689 2007-05-12  David Schleef  <ds@schleef.org>
8690
8691         * gst/gstplugin.c:
8692           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8693           Switch to using g_stat() because it's more portable.
8694
8695 2007-05-12  David Schleef  <ds@schleef.org>
8696
8697         * gst/gst.c:
8698           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8699           parsing for embedded systems.
8700         * gst/gstelementfactory.c:
8701           Allow gst_element_register() to be called with plugin==NULL.
8702           Did nobody notice that static elements were broken?
8703
8704 2007-05-12  Wim Taymans  <wim@fluendo.com>
8705
8706         * tools/gst-launch.c: (event_loop):
8707         Give more interesting info when buffering starts and stops.
8708         Fix case where buffering starts but we fail to update the buffering flag
8709         because the target state is not PLAYING.
8710
8711 2007-05-12  Wim Taymans  <wim@fluendo.com>
8712
8713         * plugins/elements/gstqueue.c: (gst_queue_init),
8714         (gst_queue_finalize), (update_time_level), (apply_segment),
8715         (apply_buffer), (gst_queue_locked_flush),
8716         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8717         (gst_queue_handle_sink_event), (gst_queue_chain),
8718         (gst_queue_push_one), (gst_queue_loop):
8719         * plugins/elements/gstqueue.h:
8720         Refactor an cleanup queue a bit.
8721         Do better time level calculations that also work when the srcpad is not
8722         yet running.
8723         Remove some unneeded debug lines.
8724
8725         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8726         Added testcase for time level measurement.
8727         Try to make some stuff more racefree.
8728
8729 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8730
8731         * gst/gsturi.c: (gst_element_make_from_uri):
8732           Don't leak plugin feature.
8733
8734         * tests/check/Makefile.am:
8735         * tests/check/gst/.cvsignore:
8736         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8737           Add brain-dead unit test.
8738
8739 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8740
8741         Patch by: Jeroen Wouters <woutersj at gmail com>
8742
8743         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8744           Treat protocol strings in a case-insensitive way (#437563).
8745
8746 2007-05-11  Michael Smith <msmith@fluendo.com>
8747
8748         * gst/gstplugin.c: (gst_plugin_load_file):
8749         * gst/gstregistry.c: (gst_registry_scan_path_level):
8750           Don't print a g_warning for any failure to load a shared object.
8751           Instead, push this down into gstplugin.c, and warn _only_ if we
8752           failed to open the module (i.e. failure to link).
8753           Avoids warnings on normal, working, non-plugin .so files.
8754
8755 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8756
8757         * gst/gstplugin.c (gst_plugin_load_file):
8758         * gst/gstregistry.c (GST_CAT_DEFAULT,
8759           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8760           Print a g_warning if there was an error when loading a plugins during
8761           registry scan. The shuld help beginners starting with gst-plugin
8762           template.
8763
8764 2007-05-10  Wim Taymans  <wim@fluendo.com>
8765
8766         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8767         (update_time_level), (gst_queue_locked_flush),
8768         (gst_queue_handle_sink_event), (gst_queue_chain),
8769         (gst_queue_push_one), (gst_queue_loop):
8770         * plugins/elements/gstqueue.h:
8771         Be smarter when calculating the current amount of data in the queue by
8772         measuring the difference between start and end timestamps (in running
8773         time) inside the queue. Fixes #432876.
8774         API: GstQueue::pushing to notify elements that we are pushing data again
8775         since the running signal is rather broken for this purpose.
8776
8777 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8778
8779         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8780           gst_queue_base_init, gst_queue_init):
8781           use GST_BOILERPLATE
8782
8783 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8784
8785         * win32/common/libgstreamer.def:
8786         Add new exported functions.
8787         * win32/vs6/grammar.dsp:
8788         Use grammar pre-generated files.
8789
8790 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8791
8792         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8793
8794         * gst/Makefile.am:
8795         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8796         * gst/gstparse.h:
8797         * gst/gstutils.c: (gst_parse_bin_from_description):
8798         * gst/gstutils.h:
8799           Maintain API and ABI when --disable-parse is used. Now that
8800           we have an appropriate error code, we can just return NULL and the
8801           appropriate error when gst_parse_launch() is used despite it having
8802           been disabled (#342564).
8803
8804         * tests/check/Makefile.am:
8805         * tests/check/pipelines/.cvsignore:
8806         * tests/check/pipelines/parse-disabled.c:
8807           Make sure these functions exist and return NULL plus a GError when
8808           --disable-parse is used.
8809
8810 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8811
8812         * tests/benchmarks/complexity.c: (main):
8813         * tests/benchmarks/mass-elements.c: (main):
8814           Set a good example and don't leak messages.
8815
8816 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8817
8818         * docs/gst/Makefile.am:
8819         * docs/libs/Makefile.am:
8820           Correct fixxrefs options.
8821
8822         * docs/plugins/Makefile.am:
8823         * docs/plugins/gstreamer-plugins-docs.sgml:
8824         * docs/plugins/gstreamer-plugins-sections.txt:
8825         * plugins/elements/Makefile.am:
8826         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8827         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8828           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8829           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8830           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8831           _GstCapsFilterClass, trans_class):
8832         * plugins/elements/gstelements.c (name, rank, type, _elements):
8833         * plugins/elements/gstidentity.c
8834           (gst_identity_check_imperfect_timestamp,
8835           gst_identity_check_imperfect_offset):
8836           Document capsfilter and add doc-blurb to identity.
8837
8838 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8839
8840         * libs/gst/controller/gstcontroller.c:
8841         (gst_controlled_property_set_interpolation_mode):
8842         * libs/gst/controller/gstinterpolation.c:
8843           Don't crash if someone tries to set an interpolation mode that
8844           is invalid or that isn't supported yet. Fixes #422295.
8845
8846         * tests/check/libs/controller.c: (GST_START_TEST),
8847         (gst_controller_suite):
8848           Add a test case for the above.
8849
8850 2007-05-03  Edward Hervey  <edward@fluendo.com>
8851
8852         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8853         Properly set the last_stop position on GstSegment. This will only happen
8854         if there is a buffer to push out.
8855
8856 2007-05-03  Wim Taymans  <wim@fluendo.com>
8857
8858         * libs/gst/base/gstbasetransform.c:
8859         (gst_base_transform_buffer_alloc):
8860         always_in_place does not mean that the sink and source caps are the
8861         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8862
8863 2007-05-03  Wim Taymans  <wim@fluendo.com>
8864
8865         * docs/libs/gstreamer-libs-sections.txt:
8866         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8867         (gst_base_src_default_query), (gst_base_src_get_range):
8868         * libs/gst/base/gstbasesrc.h:
8869         API: gst_base_src_query_latency(). Added method so that subclasses can
8870         easily get the latency values of the base source class.
8871
8872 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8873
8874         * tools/gst-inspect.c (print_implementation_info):
8875         Remove 0.8 cruft.
8876
8877 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8878
8879         * tools/Makefile.am:
8880         * tools/gst-launch.1.in:
8881           Don't create a customised man page based on the host architecture,
8882           describe the default registry path generically. That way the man
8883           page is the same for all architectures and packagers have one
8884           multilib issue less to deal with. Fixes #434926.
8885
8886 2007-05-02  Wim Taymans  <wim@fluendo.com>
8887
8888         * gst/gstpad.c:
8889         Fix documentation as spotted by rg on IRC. 
8890
8891 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8892
8893         * gst/gstutils.c:
8894           Improve docs for gst_element_{link,unlink}.
8895
8896 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8897
8898         * docs/design/part-events.txt:
8899         * docs/design/part-overview.txt:
8900         * gst/gstevent.c:
8901         * gst/gsturi.c:
8902         * gst/gsturi.h:
8903         * libs/gst/base/gstbasesink.c:
8904           Typo fixes; minor docs addition.
8905
8906 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8907
8908         * docs/gst/gstreamer-sections.txt:
8909         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8910         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8911         * gst/gsturi.h:
8912         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8913         or src that supports a given URI protocol exists.
8914
8915 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8916
8917         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8918         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8919         Set the location to NULL if "file://" is set as URI. Otherwise
8920         some random previous URI would still be set if "file://" is
8921         set on an already used filesink/filesrc.
8922
8923 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8924
8925         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8926         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8927         Special case the "file://" URI as as this is used by some
8928         applications to test with gst_element_make_from_uri if there's
8929         an element that supports the URI protocol.
8930         Also move the g_path_is_absolute() check for the location part
8931         of the URI to also check this for "file://localhost/bla" URIs.
8932
8933 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8934
8935         * docs/gst/gstreamer-sections.txt:
8936         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8937         * gst/gstbuffer.h:
8938         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8939         (gst_buffer_suite):
8940           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8941
8942 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8943
8944         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8945         (gst_registry_binary_load_pad_template),
8946         (gst_registry_binary_load_plugin),
8947         (gst_registry_binary_read_cache):
8948         * gst/gstregistrybinary.h:
8949           Implement no-mmap alternative for registry reading. Do code cleanups.
8950           Add more comments about avoiding strdups for all text data. Comments
8951           welcome.
8952
8953 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8954
8955         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8956           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8957           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8958           Comment structs and reformat to fix the build (that stuff should go
8959           into a priv. header).
8960
8961 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8962
8963         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8964         (gst_registry_binary_load_feature):
8965         * gst/gstregistrybinary.h:
8966           Refactor so that we can implement multiple features. Add support for
8967           TypeFindFactory features.
8968
8969 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8970
8971         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8972
8973         * configure.ac:
8974           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8975
8976 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8977
8978         * gst/gstbin.c: (gst_bin_element_set_state),
8979         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8980         (bin_handle_async_done), (gst_bin_handle_message_func):
8981           Fix build with --gst-disable-gst-debug
8982
8983 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8984
8985         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8986           Make sure streaming has finished before calling the ::stop() vfunc,
8987           since that vfunc might clear state which is being used in the
8988           streaming thread. This fixes a race that caused crashes in
8989           audioresample when shutting down a pipeline (#420106).
8990
8991 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8992
8993         * docs/gst/gstreamer-sections.txt:
8994           That was one byte missing.
8995
8996 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8997
8998         * configure.ac:
8999         * docs/gst/gstreamer-sections.txt:
9000         * gst/Makefile.am:
9001         * gst/gstconfig.h.in:
9002         * gst/gstobject.c: (gst_object_class_init),
9003         (gst_signal_object_class_init):
9004         * gst/gstobject.h:
9005           2nd attempt to have a xml-less build as a joined effort of #413123
9006           and #421480.
9007
9008 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9009
9010         * docs/design/draft-tagreading.txt:
9011           Added open issues/thoughts to draft.
9012
9013 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9014
9015         * gst/parse/grammar.tab.pre.c:
9016         * gst/parse/grammar.tab.pre.h:
9017         * gst/parse/lex._gst_parse_yy.pre.c:
9018         Update the prebuild parser sources.
9019
9020 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9021
9022         * gst/parse/Makefile.am:
9023         And now fix the building of the flex sources. Now everything should
9024         work as expected.
9025
9026 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9027
9028         * gst/parse/Makefile.am:
9029         Now hopefully fix the build failures by setting proper rule
9030         dependencies and moving instead of copying.
9031
9032 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9033
9034         * tests/benchmarks/complexity.gnuplot:
9035         * tests/benchmarks/complexity.scm:
9036         * tests/benchmarks/mass-elements.gnuplot:
9037         * tests/benchmarks/mass-elements.scm:
9038           Total licensification.
9039
9040 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9041
9042         * gst/parse/Makefile.am:
9043           Fix the build by correcting the rule that gave wrong files to flex.
9044
9045 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9046
9047         * tests/benchmarks/complexity.c:
9048         * tests/benchmarks/mass-elements.c:
9049           Change licence to LGPL as granted by Benjamin and Andy.
9050
9051 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9052
9053         * gst/parse/Makefile.am:
9054         Add correct grammar.tab.h dependency if compiling without new enough
9055         flex. Fixes #431150.
9056
9057 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9058
9059         * gst/parse/Makefile.am:
9060         Fix typo and use outdated sources if the flex/bison sources are newer
9061         than the pregenerated ones but flex is too old. Print a warning in
9062         that case. This should fix the build on the build bot.
9063
9064 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9065
9066         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9067         * gst/parse/Makefile.am:
9068         * gst/parse/grammar.y:
9069         * gst/parse/parse.l:
9070         Make the parser reentrant and recursively callable. This requires flex
9071         >= 2.5.31, for older versions pregenerated sources are used as we
9072         can't bump the build dependency. Finally fixes #349180.
9073
9074         * gst/gstparse.c: (gst_parse_launch):
9075         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9076         now anyway.
9077
9078         * docs/gst/Makefile.am:
9079         * docs/gst/Makefile.am:
9080         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9081         (__gst_parse_strfree), (__gst_parse_link_new),
9082         (__gst_parse_link_free), (__gst_parse_chain_new),
9083         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9084         (gst_parse_element_set), (gst_parse_free_link),
9085         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9086         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9087         (_gst_parse_launch):
9088         * gst/parse/grammar.tab.pre.h:
9089         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9090         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9091         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9092         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9093         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9094         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9095         (_gst_parse_yypop_buffer_state),
9096         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9097         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9098         (yy_fatal_error), (_gst_parse_yyget_extra),
9099         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9100         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9101         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9102         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9103         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9104         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9105         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9106         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9107         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9108         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9109         (_gst_parse_yyfree):
9110         If the installed flex version is too old use pre-generated parser
9111         sources. These pre-generated parser sources are always updated when
9112         the actual flex/bison sources change but require everybody who wants
9113         to change something in the parser to have flex >= 2.5.31 installed.
9114
9115 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9116
9117         * common/m4/gst-gettext.m4:
9118         * gst/gst-i18n-lib.h:
9119           Make --disable-nls to work
9120
9121 2007-04-17  Wim Taymans  <wim@fluendo.com>
9122
9123         * gst/gstconfig.h.in:
9124         Revert previous change that broke the build.
9125
9126 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9127
9128         * configure.ac:
9129         * gst/Makefile.am:
9130         * gst/gstconfig.h.in:
9131           Drop libxml2 dependency when building with 
9132           --enable-binary-registry --disable-loadsave
9133
9134 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9135
9136         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9137         (gst_registry_binary_read_cache):
9138         * gst/gstregistrybinary.h:
9139           Remove unnecessary <sys/mman.h> include which broke the win32 build
9140           with MingW; move includes from header file to .c file, even if the
9141           header file isn't installed; use g_strerror() where UTF-8 strings
9142           are expected, such as in GST_DEBUG messages.
9143
9144 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9145
9146         * docs/libs/gstreamer-libs-sections.txt:
9147         Remove bogus addition for API I didn't end up keeping.
9148
9149         * libs/gst/base/gstbasesrc.h:
9150         Mention Since: 0.10.13 in the documentation.
9151
9152         Add the API keyword to the previous ChangeLog entry.
9153
9154 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9155
9156         * docs/libs/gstreamer-libs-sections.txt:
9157         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9158         (gst_base_src_default_prepare_seek_segment),
9159         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9160         * libs/gst/base/gstbasesrc.h:
9161         Allow basesrc derived classes to execute seeks in other formats
9162         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9163         to prepare the GstSegment in any format that their perform_seek method
9164         will be able to understand. The default implementation provides the
9165         old behaviour of attempting to convert the seek offsets to the 
9166         configured native format.
9167
9168         API: basesrc::prepare_seek_segment vmethod.
9169
9170 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9171
9172         * gst/gstelement.c: (gst_element_get_state_func):
9173         Don't output the same debug statement twice.
9174
9175         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9176         (gst_adapter_peek), (gst_adapter_take_buffer):
9177         Optimise the case where we have buffers at the head of the queue that
9178         can be joined quickly (because they're contiguous sub-buffers) by
9179         merging them together rather than copying data out into new memory.
9180
9181         * gst/parse/grammar.y:
9182         * tests/check/pipelines/parse-launch.c:
9183         Fix a leak in an error path for parse_launch, and add a check 
9184         for it to the testsuite.
9185
9186 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9187
9188         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9189           Don't deadlock when releasing a pad - gst_pad_set_active may try
9190           and take the multiqueue lock too.
9191
9192 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9193
9194         * gst/gsterror.c: (_gst_core_errors_init):
9195         * gst/gsterror.h:
9196           API: add GST_CORE_ERROR_DISABLED (#392804).
9197
9198 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9199
9200         * docs/faq/gst-uninstalled:
9201           don't get empty paths on the PATH variables
9202         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9203           Don't format for the uncommon terminal width of 84 characters.
9204
9205 2007-04-06  Wim Taymans  <wim@fluendo.com>
9206
9207         * gst/gstpipeline.c: (reset_stream_time),
9208         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9209         Only try to select a different pipeline clock when we went back to
9210         PAUSED and not when we merely got flushed.
9211
9212 2007-04-05  Michael Smith  <msmith@fluendo.com>
9213
9214         * tools/gst-launch.1.in:
9215           fractions are better supported in gstreamer than ractions, so
9216           suggest using those.
9217
9218 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9219
9220         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9221
9222         * po/LINGUAS:
9223         * po/da.po:
9224           Added Danish translation.
9225
9226 2007-04-05  Wim Taymans  <wim@fluendo.com>
9227
9228         * libs/gst/base/gstbasesink.c:
9229         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9230         Fix leak caused when refusing newsegment after EOS.
9231
9232         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9233         (gst_fake_sink_init), (gst_fake_sink_set_property),
9234         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9235         (gst_fake_sink_render), (gst_fake_sink_change_state):
9236         * plugins/elements/gstfakesink.h:
9237         Add num-buffers property to make the element generate EOS after a
9238         configurable amount of buffers.
9239         API: fakesink::num-buffers property.
9240
9241         * tests/check/elements/fakesink.c: (GST_START_TEST),
9242         (fakesink_suite):
9243         Fix GstBus leak in test.
9244         Test for fakesink num-buffers.
9245
9246 2007-04-05  Wim Taymans  <wim@fluendo.com>
9247
9248         * libs/gst/base/gstbasesink.c:
9249         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9250         (gst_base_sink_change_state):
9251         Don't accept anything after an EOS, return UNEXPECTED instead.
9252
9253         * tests/check/elements/fakesink.c: (GST_START_TEST),
9254         (fakesink_suite):
9255         Unit test for new EOS behaviour.
9256
9257 2007-04-05  Wim Taymans  <wim@fluendo.com>
9258
9259         * gst/gstelement.c: (gst_element_get_request_pad):
9260         Make padtemplates also work when they don't contain %s or %d.
9261
9262 2007-04-05  Wim Taymans  <wim@fluendo.com>
9263
9264         * docs/gst/gstreamer-sections.txt:
9265         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9266         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9267         * gst/gstclock.h:
9268         Improve _adjust_unlocked() so that it overflows less.
9269         Add gst_clock_unadjust_unlocked to convert from external time to
9270         internal time based on calibration.
9271         Add some more debug.
9272         API: GstClock::gst_clock_unadjust_unlocked()
9273
9274 2007-04-03  Wim Taymans  <wim@fluendo.com>
9275
9276         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9277
9278         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9279         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9280         when releasing sink pad. Fixes #425400.
9281
9282 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9283
9284         * docs/random/ensonic/dynlink.txt:
9285           More work on proposal for new core api.
9286
9287         * docs/libs/gstreamer-libs-sections.txt:
9288         * libs/gst/base/gstbasetransform.h:
9289           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9290           
9291         * libs/gst/controller/gstcontroller.c:
9292         (on_object_controlled_property_changed),
9293         (gst_controller_sync_values),
9294         (gst_controller_set_interpolation_mode):
9295         * libs/gst/controller/gstcontroller.h:
9296           Less verbose logging add docs for unimplemented parts and correctly
9297           return when using unavailable parts.
9298
9299 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9300
9301         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9302         Move all the debug to the CLOCK category, and associate it with
9303         the clock object.
9304
9305 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9306
9307         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9308         Make take_buffer a bit quicker by removing redundant checks
9309         caused by calling gst_adapter_take.
9310
9311 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9312
9313         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9314           Don't leak GCond.
9315
9316         * tests/check/Makefile.am:
9317         * tests/check/elements/.cvsignore:
9318         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9319         (GST_START_TEST), (multiqueue_suite):
9320           Add some dead simple unit tests for the 'multiqueue' element
9321           (some bits don't work yet and are disabled for now).
9322
9323 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9324
9325         * gst/gstelement.c: (gst_element_get_request_pad),
9326         (gst_element_class_get_request_pad_template):
9327           Make gst_element_get_request_pad() create request pads only for
9328           request pad templates and not for, say, sometimes pad templates.
9329
9330 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9331
9332         * docs/design/draft-klass.txt:
9333           Add example that needs more thinking.
9334         
9335         * docs/design/draft-missing-plugins.txt:
9336           More thoughts about wrapper plugins.
9337         
9338         * docs/random/ensonic/embedded.txt:
9339         * docs/random/ensonic/profiling.txt:
9340           More design work.
9341
9342 2007-03-25  Wim Taymans  <wim@fluendo.com>
9343
9344         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9345         (gst_base_src_loop):
9346         Only push the segment events in the PLAYING state for live sources.
9347
9348 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9349
9350         * gst/gstpipeline.c: (gst_pipeline_change_state):
9351         Modify the clock distribution path in PAUSED->PLAYING so that we 
9352         never attempt to choose a new clock unless we're actually leaving
9353         the PAUSED state for the first time. This prevents choosing a
9354         different clock when the state_change gets called for a 2nd time due
9355         to some element doing an async state change.
9356
9357 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9358
9359         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9360         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9361         (gst_pad_chain_unchecked), (gst_pad_push):
9362         Revert last commit. This needs some more thoughts.
9363
9364 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9365
9366         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9367         (gst_pad_chain_unchecked), (gst_pad_push):
9368         Check in set_caps if the caps are compatible with the pad and remove
9369         two functions that are redundant now. Fixes #421543.
9370
9371 2007-03-22  Wim Taymans  <wim@fluendo.com>
9372
9373         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9374         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9375         Unref some more to make valgrind happy.
9376
9377 2007-03-22  Wim Taymans  <wim@fluendo.com>
9378
9379         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9380         (gst_system_clock_id_wait_jitter),
9381         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9382         Fix anoying regression that survived a few releases. When adding an
9383         async entry while blocking on a sync entry, the sync entry will unblock
9384         but still be busy, so it should continue to wait instead of returning
9385         _BUSY to the app.
9386         Add some comments here and there.
9387
9388         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9389         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9390         Add testcase for this.
9391
9392 2007-03-22  Wim Taymans  <wim@fluendo.com>
9393
9394         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9395         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9396         WRONG_STATE and can silently pause the task. All other cases should
9397         error out.
9398
9399 2007-03-22  Wim Taymans  <wim@fluendo.com>
9400
9401         Patch by: Ville Syrjala <syrjala at sci dot fi>
9402
9403         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9404         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9405         Improve debugging.
9406
9407 2007-03-21  Michael Smith  <msmith@fluendo.com>
9408
9409         * docs/pwg/advanced-types.xml:
9410           Fix some errors in the typefinding docs pointed out on irc.
9411
9412 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9413
9414         * libs/gst/base/gstbasesrc.c:
9415         Clarify FIXME comment in the face of having added unlock_stop()
9416
9417 2007-03-21  Wim Taymans  <wim@fluendo.com>
9418
9419         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9420         Prepare for release where we warn against possible app breakage in the
9421         case of live pipelines along with an env var to enable/disable live
9422         preroll mode (GST_COMPAT=[no-]live-preroll).
9423
9424 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9425
9426         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9427         So we should use correct constants for checking for None offset.
9428
9429 2007-03-20  Wim Taymans  <wim@fluendo.com>
9430
9431         * docs/design/part-block.txt:
9432         Mention the fact that the newly switched element should be set to at
9433         least PAUSED.
9434
9435 2007-03-20  Wim Taymans  <wim@fluendo.com>
9436
9437         * gst/gst.c:
9438         Fix compilation with registry disabled as spotted by Saur.
9439
9440 2007-03-20  Wim Taymans  <wim@fluendo.com>
9441
9442         Patch by: Olivier Crete <tester at tester dot ca>
9443
9444         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9445         Look at the pending state too when syncing the element state to the
9446         parent. Fixes #420133.
9447
9448 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9449
9450         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9451         (gst_base_sink_change_state):
9452         * libs/gst/base/gstbasesink.h:
9453         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9454         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9455         (gst_base_src_deactivate):
9456         * libs/gst/base/gstbasesrc.h:
9457         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9458         for sub-classes to correctly clear any state they set trying to
9459         unlock, such as clearing out unlock commands from a command fd.
9460         API: basesrc::unlock_stop
9461         API: basesink::unlock_stop
9462
9463         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9464         (gst_fd_sink_render), (gst_fd_sink_unlock),
9465         (gst_fd_sink_unlock_stop):
9466         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9467         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9468         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9469
9470         Implement unlock_stop in fdsrc and fdsink.
9471         Implement seeking in fdsrc when a seekable fd is passed, as in
9472         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9473
9474 2007-03-19  Wim Taymans  <wim@fluendo.com>
9475
9476         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9477
9478         * gst/gstelement.c: (gst_element_class_init):
9479         Fix pad-added and pad-removed signal signatures so that the pad type is
9480         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9481
9482 2007-03-19  Wim Taymans  <wim@fluendo.com>
9483
9484         * docs/gst/gstreamer-sections.txt:
9485         Add new element field and method.
9486
9487         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9488         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9489         (gst_bin_recalc_state), (gst_bin_get_state_func),
9490         (gst_bin_element_set_state), (gst_bin_change_state_func),
9491         (gst_bin_continue_func), (bin_bus_handler),
9492         (bin_push_state_continue), (bin_handle_async_start),
9493         (bin_handle_async_done), (gst_bin_handle_message_func):
9494         Make async state changes a bit smarter by using new ASYNC_START and
9495         ASYNC_DONE messages. This reduces the number of times we run the state
9496         recalculation thread.
9497         Don't change state of element with a pending ASYNC_START message.
9498         Deprecate STATE_DIRTY messages.
9499         
9500         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9501         (gst_element_get_state_func), (gst_element_continue_state),
9502         (gst_element_lost_state), (gst_element_set_state_func),
9503         (gst_element_change_state):
9504         * gst/gstelement.h:
9505         Keep the state that was last set by the app in a new element field.
9506         Don't allow state changes when handling an element event.
9507         Post ASYNC_START and ASYNC_DONE messages.
9508         Change lost_state so that we go to PAUSED and wait for the parent to set
9509         us to PLAYING again (so latency calculation can be performed)
9510         Export gst_element_change_state() method so that subclasses can use it.
9511         API: gst_element_change_state()
9512         API: GST_STATE_TARGET
9513
9514         * gst/gstpipeline.c: (gst_pipeline_class_init),
9515         (reset_stream_time), (gst_pipeline_change_state),
9516         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9517         Using the new ASYNC_START message we can reset the base_time when
9518         needed. This can then be used to implement base_time redistribution in
9519         flushing seeks so that we can remove the explicit seek handling.
9520         Perform latency query and configuration when going to PLAYING.
9521
9522         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9523         (gst_base_sink_query), (gst_base_sink_change_state):
9524         Post new ASYNC_START/ASYNC_DONE messages.
9525
9526         * tests/check/generic/sinks.c: (GST_START_TEST):
9527         Fix test because the bin will not set the async element to PLAYING right
9528         away.
9529
9530         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9531         Make the message check a little stronger.
9532         Handle ASYNC messages.
9533
9534         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9535         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9536         Expect ASYNC_DONE messages.
9537
9538 2007-03-19  Wim Taymans  <wim@fluendo.com>
9539
9540         * docs/gst/gstreamer-sections.txt:
9541         * gst/gstmessage.c: (gst_message_new_async_start),
9542         (gst_message_new_async_done), (gst_message_parse_info),
9543         (gst_message_parse_async_start):
9544         * gst/gstmessage.h:
9545         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9546         support.
9547
9548 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9549
9550         * tools/gst-inspect.c:
9551         (print_plugin_automatic_install_info_codecs):
9552           Now that we don't check for the 'Codec' keyword any longer in the
9553           klass, we shouldn't spew a warning if the klass isn't a decoder or
9554           encoder (since it might be a Source/Network, for example).
9555
9556 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9557
9558         * tools/gst-inspect.c:
9559         (print_plugin_automatic_install_info_codecs):
9560           Don't require decoder/demuxer/depayloader elements or
9561           encoder/muxer/paylader elements to have 'Codec' as part of their
9562           factory class string when introspecting a plugin's capabilities.
9563           draft-klass.txt mentions that it might be removed in future, and
9564           flump3dec doesn't have it as part of its class string, so chances
9565           are others might also not have it.
9566
9567 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9568
9569         * po/af.po:
9570         * po/az.po:
9571         * po/bg.po:
9572         * po/ca.po:
9573         * po/cs.po:
9574         * po/de.po:
9575         * po/en_GB.po:
9576         * po/fr.po:
9577         * po/it.po:
9578         * po/nb.po:
9579         * po/nl.po:
9580         * po/ru.po:
9581         * po/sq.po:
9582         * po/sr.po:
9583         * po/sv.po:
9584         * po/tr.po:
9585         * po/uk.po:
9586         * po/vi.po:
9587         * po/zh_CN.po:
9588         * po/zh_TW.po:
9589           Update translations from translation project
9590
9591 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9592
9593         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9594         (gst_child_proxy_set_property):
9595           Invert precondition check to be alike the ones in the mimiced gobject
9596           api.
9597
9598 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9599
9600         * docs/design/draft-tagreading.txt:
9601         * docs/random/ensonic/audiobaseclasses.txt:
9602           Do some Architect work.
9603
9604         * gst/gstobject.c: (gst_object_set_name):
9605           Add a WARNING.
9606
9607         * gst/gstpad.c:
9608           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9609
9610 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9611
9612         * gst/gstsystemclock.c: (gst_system_clock_init),
9613         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9614         Defer starting the async system clock thread until the first async
9615         wait is scheduled. Fixes #414986.
9616
9617 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9618
9619         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9620         (gst_single_queue_free):
9621           Fix small leak (free GstSingleQueue structure too, not only contents).
9622
9623 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9624
9625         * gst/gstbin.c:(gst_bin_add):
9626         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9627         * win32/common/libgstbase.def:
9628         * win32/common/libgstreamer.def:
9629         Add new exported functions.
9630
9631 2007-03-09  Wim Taymans  <wim@fluendo.com>
9632
9633         * docs/plugins/gstreamer-plugins-sections.txt:
9634         Fix GstTee docs.
9635
9636 2007-03-09  Wim Taymans  <wim@fluendo.com>
9637
9638         * docs/gst/gstreamer-sections.txt:
9639         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9640         * gst/gstbuffer.h:
9641         Add metadata copy functions. Fixes #393099.
9642         API: gst_buffer_copy_metadata()
9643
9644         * gst/gstutils.c: (gst_buffer_stamp):
9645         * libs/gst/base/gstbasetransform.c:
9646         (gst_base_transform_prepare_output_buffer):
9647         Use new metadata copy functions.
9648
9649 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9650
9651         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9652         (gst_identity_init), (gst_identity_check_perfect),
9653         (gst_identity_check_imperfect_timestamp),
9654         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9655         (gst_identity_set_property), (gst_identity_get_property):
9656         * plugins/elements/gstidentity.h:
9657         Separate out check-imperfect-timestamp and check-imperfect-offset.
9658         Put back check-perfect as it was to keep compatibility.
9659
9660 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9661
9662         * gst/gstelement.c: (gst_element_dispose):
9663         There's no need to warn if VOID_PENDING is not NONE here, as
9664         long as the state is NULL it's ok, and that's checked immediately
9665         above.
9666
9667 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9668
9669         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9670         Fix check for perfect stream to ignore buffers with -1 
9671         offsets/offset ends when checking data contiguity.
9672
9673 2007-03-08  Wim Taymans  <wim@fluendo.com>
9674
9675         * tools/gst-launch.c: (event_loop):
9676         Print INFO messages.
9677
9678 2007-03-08  Wim Taymans  <wim@fluendo.com>
9679
9680         * libs/gst/base/gstbasetransform.c:
9681         (gst_base_transform_sink_eventfunc),
9682         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9683         (gst_base_transform_activate):
9684         * libs/gst/base/gstbasetransform.h:
9685         Add support for dropping buffers with custom GstFlowReturn.
9686         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9687         buffers or dropped buffers.
9688
9689         * docs/libs/gstreamer-libs-sections.txt:
9690         docs for new custom return code.
9691
9692         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9693         Use drop support in base class to implement drop-probability.
9694
9695 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9696
9697         * gst/gst.c: (load_plugin_func):
9698         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9699         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9700         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9701           Remove newlines at end of debug log strings.
9702
9703 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9704
9705         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9706         Only post bus message at max, once per buffer received.
9707
9708 2007-03-07  Wim Taymans  <wim@fluendo.com>
9709
9710         * docs/design/Makefile.am:
9711         * docs/design/part-synchronisation.txt:
9712         Add doc about synchronisation
9713
9714         * docs/design/draft-latency.txt:
9715         * docs/design/part-TODO.txt:
9716         * docs/design/part-clocks.txt:
9717         * docs/design/part-events.txt:
9718         * docs/design/part-gstbus.txt:
9719         * docs/design/part-gstpipeline.txt:
9720         * docs/design/part-live-source.txt:
9721         * docs/design/part-messages.txt:
9722         * docs/design/part-overview.txt:
9723         * docs/design/part-streams.txt:
9724         * docs/design/part-trickmodes.txt:
9725         Documentation updates.
9726
9727 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9728
9729         * gstreamer.doap:
9730         Update the doap file.
9731
9732 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9733
9734         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9735         Rename non-perfect to imperfect for Mike and for the sanctity of the
9736         language.
9737         Also make sure bus message gets emitted for data-incontiguities.
9738
9739 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9740
9741         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9742         (gst_identity_start):
9743         * plugins/elements/gstidentity.h:
9744         Emit bus message if check-perfect is true and we encounter a
9745         non-perfect stream between 2 consecutive buffers.
9746         Fixes #415394.
9747
9748 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9749
9750         * configure.ac:
9751         Back to CVS
9752
9753 === release 0.10.12 ===
9754
9755 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9756
9757         * configure.ac:
9758           releasing 0.10.12, "Inevitable Demise"
9759
9760 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9761
9762         * configure.ac:
9763          Version 0.10.11.2 (0.10.12 pre-release)
9764          Bump libtool versioning.
9765
9766 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9767
9768         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9769           Log flow-names and not numbers.
9770
9771 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9772
9773         * configure.ac:
9774           Convert to new AG_GST style.
9775
9776 2007-02-28  Wim Taymans  <wim@fluendo.com>
9777
9778         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9779         Don't unref query twice.
9780
9781 2007-02-28  Wim Taymans  <wim@fluendo.com>
9782
9783         * gst/gstvalue.c: (gst_value_transform_object_string),
9784         (_gst_value_initialize):
9785         Implement GstObject -> string transform so we print object names
9786         when serializing GValues containing GstObjects.
9787
9788 2007-02-28  Wim Taymans  <wim@fluendo.com>
9789
9790         * docs/gst/gstreamer-sections.txt:
9791         Add new stuff to docs.
9792
9793 2007-02-28  Wim Taymans  <wim@fluendo.com>
9794
9795         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9796         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9797         (gst_base_sink_change_state):
9798         Improve latency query code.
9799         Don't leak latency events.
9800
9801         * tests/check/gst/gstbin.c: (GST_START_TEST):
9802         Improve debugging.
9803
9804 2007-02-28  Wim Taymans  <wim@fluendo.com>
9805
9806         * gst/gstelement.c: (gst_element_message_full),
9807         (gst_element_get_state_func):
9808         * gst/gstelement.h:
9809         Improve docs a little. Added Since: for new macro.
9810
9811         * gst/gstobject.c: (gst_object_sink):
9812         * gst/gstpipeline.c: (gst_pipeline_change_state),
9813         (gst_pipeline_set_new_stream_time):
9814         * gst/gstpipeline.h:
9815         Improve debugging and docs.
9816
9817         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9818         Improve debugging.
9819
9820 2007-02-28  Wim Taymans  <wim@fluendo.com>
9821
9822         * gst/gstelement.c: (gst_element_message_full),
9823         (gst_element_set_locked_state), (gst_element_get_state_func),
9824         (gst_element_change_state):
9825         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9826         Documentation updates.
9827         Small code cleanups.
9828
9829         * gst/gstmessage.c: (gst_message_new_info),
9830         (gst_message_parse_info):
9831         * gst/gstmessage.h:
9832         API: gst_message_new_info()
9833         API: gst_message_parse_info()
9834         Add INFO message create and parse code.
9835
9836 2007-02-28  Wim Taymans  <wim@fluendo.com>
9837
9838         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9839         (bin_query_latency_done):
9840         Also report the live parameter of a latency query.
9841
9842 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9843
9844         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9845           Copy the current generic/states example from -base and adapt so
9846           we can use the exact same code everywhere.
9847           Check a STATES_IGNORE_ELEMENTS env var which can be used
9848           to ignore certain element factories for this test, which is
9849           what is being done in -base
9850         * tests/check/Makefile.am:
9851           Mention this environment variable.
9852
9853 2007-02-27  Wim Taymans  <wim@fluendo.com>
9854
9855         * docs/gst/gstreamer-sections.txt:
9856         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9857         (gst_bus_timed_pop), (gst_bus_pop):
9858         * gst/gstbus.h:
9859         API: gst_bus_timed_pop()
9860         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9861         message to arrive on the bus.
9862
9863         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9864         (gst_bus_suite):
9865         Two unit tests for new _timed_pop() function.
9866
9867 2007-02-23  Wim Taymans  <wim@fluendo.com>
9868
9869         * gst/gstpipeline.c: (gst_pipeline_change_state),
9870         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9871         Don't ref a NULL clock in _provide_clock_func().
9872         Don't allow an INVALID delay.
9873         Don't try to calculate base_time with an invalid start_time.
9874         Also distribute and notify a NULL clock when it was selected.
9875
9876         * tools/gst-launch.c: (event_loop):
9877         Don't crash when a NULL clock was selected in the pipeline.
9878
9879 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9880
9881         * docs/design/Makefile.am:
9882         * docs/design/draft-missing-plugins.txt:
9883         * docs/random/draft-missing-plugins.txt:
9884           Some small updates: update plugin system identifier prefix
9885           ('gstreamer.net' to 'gstreamer'), mention our new install
9886           API in libgstbaseutils rather than libgimme-codec, add
9887           reference to the online docs.
9888
9889 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9890
9891         * win32/common/config.h:
9892           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9893           use moap cl ci to only check in what is mentioned in the ChangeLog.
9894
9895 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9896
9897         * docs/gst/gstreamer-sections.txt:
9898         * gst/gstelement.h:
9899           Fix up documentation to link to the correct GstGError section.
9900           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9901
9902 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9903
9904         * tools/gst-launch.c: (event_loop):
9905           Make sure that we actually show the important message part of a
9906           warning message.
9907           No need to check if the gerror is not NULL to free; first of all
9908           g_free accepts NULL; and second the default error handler would
9909           segfault if gerror was NULL.
9910
9911 2007-02-21  Wim Taymans  <wim@fluendo.com>
9912
9913         * docs/gst/gstreamer-sections.txt:
9914         Removed docs as well.
9915
9916 2007-02-21  Wim Taymans  <wim@fluendo.com>
9917
9918         * gst/gstmessage.c: (gst_message_parse_duration):
9919         * gst/gstmessage.h:
9920         Remove new messages for release.
9921
9922 2007-02-20  Wim Taymans  <wim@fluendo.com>
9923
9924         * docs/design/part-gstghostpad.txt:
9925         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9926         (gst_ghost_pad_new_full):
9927         Make the ghostpad a parent of the internal pad again for better backward
9928         compatibility. Don't write code that relies on this however.
9929
9930         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9931         (gst_pad_link_check_hierarchy):
9932         Require that parents should be GstElements in the hierarchy check.
9933
9934 2007-02-20  Wim Taymans  <wim@fluendo.com>
9935
9936         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9937         (gst_bin_change_state_func), (bin_query_min_max_init),
9938         (bin_query_latency_fold), (bin_query_latency_done),
9939         (gst_bin_query):
9940         Improve debug info.
9941         Implement latency query.
9942
9943 2007-02-20  Wim Taymans  <wim@fluendo.com>
9944
9945         * docs/design/part-gstghostpad.txt:
9946         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9947         (gst_ghost_pad_internal_do_activate_push),
9948         (gst_ghost_pad_internal_do_activate_pull),
9949         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9950         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9951         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9952         Do not set the internal pad as a parent anymore so we can avoid
9953         hierarchy linking errors when the ghostpad has no parent yet. This also
9954         fixes failed activation because of unlinked internal pads, which in
9955         turn fixes the impossible case where you have to activate a pad before
9956         you can add it to a running element.
9957         Also fix the docs.
9958
9959         * gst/gstpad.c: (pre_activate), (post_activate),
9960         (gst_pad_set_active), (gst_pad_activate_pull),
9961         (gst_pad_activate_push), (gst_pad_check_pull_range):
9962         Add some more debug info.
9963         Mark activation mode in pre_activate so that we don't try to activate in
9964         endless loops. Fixes #385084.
9965
9966 2007-02-19  Wim Taymans  <wim@fluendo.com>
9967
9968         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9969         (gst_base_transform_check_get_range):
9970         Implement a checkgetrange function instead of relying on the default
9971         core behaviour that assumes we can operate in pull mode if we have a
9972         getrange function. First step at fixing #385084.
9973
9974 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9975
9976         * gst/gstchildproxy.h:
9977         * libs/gst/base/gstbasesink.h:
9978         * libs/gst/base/gstbasesrc.h:
9979         * libs/gst/base/gstbasetransform.h:
9980         More docs coverage and some ChangeLog surgery (add missing names)
9981
9982 2007-02-15  Wim Taymans  <wim@fluendo.com>
9983
9984         * docs/design/part-TODO.txt:
9985         * docs/design/part-activation.txt:
9986         * docs/design/part-block.txt:
9987         * docs/design/part-buffering.txt:
9988         * docs/design/part-clocks.txt:
9989         * docs/design/part-element-source.txt:
9990         * docs/design/part-events.txt:
9991         * docs/design/part-gstbin.txt:
9992         * docs/design/part-gstbus.txt:
9993         * docs/design/part-gstpipeline.txt:
9994         * docs/design/part-live-source.txt:
9995         * docs/design/part-messages.txt:
9996         * docs/design/part-overview.txt:
9997         * docs/design/part-qos.txt:
9998         * docs/design/part-query.txt:
9999         * docs/design/part-states.txt:
10000         * docs/design/part-trickmodes.txt:
10001         Some doc updates. Start renaming from stream_time to running_time where
10002         it was used wrongly.
10003
10004 2007-02-15  Wim Taymans  <wim@fluendo.com>
10005
10006         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10007         Answer LATENCY query.
10008
10009 2007-02-15  Wim Taymans  <wim@fluendo.com>
10010
10011         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10012         (GST_START_TEST):
10013         Improve debugging.
10014
10015 2007-02-15  Wim Taymans  <wim@fluendo.com>
10016
10017         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10018         (gst_pad_dispatcher):
10019         Improve debugging of default pad dispatcher and query functions.
10020
10021 2007-02-15  Wim Taymans  <wim@fluendo.com>
10022
10023         * docs/gst/gstreamer-sections.txt:
10024         Remove old unused method.
10025
10026 2007-02-13  Wim Taymans  <wim@fluendo.com>
10027
10028         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10029         Fix check
10030
10031 2007-02-13  Wim Taymans  <wim@fluendo.com>
10032
10033         * docs/design/part-seeking.txt:
10034         Some small update.
10035
10036         * gst/gstsegment.c: (gst_segment_set_seek):
10037         Revert old bogus change that should make seeking work again.
10038
10039 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10040
10041         * docs/random/ensonic/dynlink.txt:
10042         * docs/random/ensonic/interfaces.txt:
10043         * docs/random/ensonic/receipies.txt:
10044           Possible dynamic reconnection api, plus some type fixes the other two
10045           docs.
10046
10047 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10048
10049         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10050         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10051         Also check for an absolute path following file:// in the filesrc
10052         element. Remove redundant check and call g_path_is_absolute() on the
10053         unescaped location.
10054
10055 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10056
10057         * docs/design/draft-klass.txt:
10058           Add existing category analysis.
10059           
10060         * gst/gstcaps.c:
10061           Fix doc example, framerate is a fraction.
10062
10063 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10064
10065         * configure.ac:
10066         * docs/gst/Makefile.am:
10067         * docs/gst/gstreamer-sections.txt:
10068         * docs/libs/Makefile.am:
10069           Erm, forgot a bunch of --extra-dir.
10070
10071 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10072
10073         * configure.ac:
10074         * docs/gst/Makefile.am:
10075         * docs/libs/Makefile.am:
10076         * docs/plugins/Makefile.am:
10077           Add crossreferences to glib/gobject docs.
10078
10079 2007-02-12  Wim Taymans  <wim@fluendo.com>
10080
10081         * docs/design/draft-latency.txt:
10082         Small update.
10083
10084         * docs/libs/gstreamer-libs-sections.txt:
10085         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10086         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10087         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10088         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10089         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10090         (gst_base_sink_get_position), (gst_base_sink_query),
10091         (gst_base_sink_change_state):
10092         * libs/gst/base/gstbasesink.h:
10093         API: gst_base_sink_query_latency() to let subclasses query the upstream
10094         latency.
10095         API: gst_base_sink_get_latency() to let subclasses query the configured
10096         latency in the sink.
10097         Implement query and set latency.
10098         Update some docs.
10099         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10100         don't continue preroll when we are flushing. Fixes #405284.
10101
10102         * tests/check/pipelines/stress.c: (change_state_timeout),
10103         (quit_timeout), (GST_START_TEST), (stress_suite):
10104         Test for #405284.
10105
10106 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10107
10108         Patch by: René Stadler <mail at renestadler de>
10109
10110         * docs/gst/gstreamer-sections.txt:
10111         * gst/gsttaglist.c: (_gst_tag_initialize):
10112         * gst/gsttaglist.h:
10113           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10114
10115 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10116
10117         * docs/libs/Makefile.am:
10118           Fix path to core docs.
10119
10120         * gst/gstbin.c: (gst_bin_get_by_interface),
10121         (gst_bin_iterate_all_by_interface):
10122           Refix docs by also renaming 'interface' to 'iface' in implementation.
10123
10124         * docs/gst/gstreamer-sections.txt:
10125         * gst/gstcaps.c:
10126         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10127         * gst/gstchildproxy.h:
10128         * gst/gstelementfactory.c:
10129         * gst/gstpadtemplate.h:
10130         * libs/gst/controller/gstcontroller.c:
10131         (gst_controlled_property_new):
10132           Document more.
10133
10134 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10135
10136         * gst/gstbin.h:(gst_bin_get_by_interface),
10137         (gst_bin_iterate_all_by_interface):
10138         Replace interface parameter name by iface as interface is 
10139         a reserved keyword in Visual Studio for C++ projects so it removes
10140         a build error for application developpers using VS.
10141         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10142         Fix a bug on Windows in uri format check. Now the prefix checked
10143         is file:// and next we check if the path after file:// is absolute.
10144         * win32/common/libgstbase.def:
10145         * win32/common/libgstdataprotocol.def:
10146         * win32/common/libgstgstreamer.def:
10147         Add new exported functions.
10148
10149 2007-02-09  Andy Wingo  <wingo@pobox.com>
10150
10151         * tests/check/pipelines/simple-launch-lines.c
10152         (simple_launch_lines_suite, test_tee): Disable tee test until I
10153         have time to fix it :-(
10154
10155         * tests/check/Makefile.am (noinst_HEADERS): 
10156         * tests/check/libs/libsabi.c: 
10157         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10158         * tests/check/gst/gstabi.c: 
10159         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10160
10161         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10162         tests for push and pull tee behavior.
10163
10164         * plugins/elements/gsttee.h: 
10165         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10166         mark as deprecated as well as unimplemented. It was a crack idea.
10167         Add support for tee operating in pull mode, off by default.
10168
10169         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10170         normal-case logs down to LOG, raise errors to WARNING.
10171         (gst_registry_xml_read_cache): Don't log before calling a function
10172         that logs.
10173
10174         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10175         exit (registry finalize).
10176         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10177         DEBUG log when we emit signals that people don't even have the
10178         chance to connect to.
10179         (gst_registry_scan_path_level): Less logging in the normal case.
10180
10181 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10182
10183         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10184
10185         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10186         Correctly generate EOS for non-seekable files. We don't have a total
10187         length for them and would get an unexpected end of file if we only
10188         special-cased for regular files. (Fixes: #404569)
10189
10190 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10191
10192         * tests/check/elements/filesrc.c: (GST_START_TEST),
10193         (filesrc_suite):
10194         Add unit test for the GstURIHandler interface in filesrc. This also
10195         tests the newly added file://localhost/foo/bar support.
10196
10197 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10198
10199         * gst/gstelementfactory.h:
10200           The klass string is not a hierarchy. Add reference to the design doc
10201           for more information and common types.
10202
10203 2007-02-02  Wim Taymans  <wim@fluendo.com>
10204
10205         * gst/gstquery.c: (gst_query_new_latency):
10206         Remove old structure field.
10207
10208 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10209
10210         * tools/gst-launch.1.in:
10211           Give example for network streaming (#351998)
10212
10213 2007-02-02  Wim Taymans  <wim@fluendo.com>
10214
10215         * docs/gst/gstreamer-sections.txt:
10216         Add docs for new methods.
10217
10218         * gst/gstevent.c: (gst_event_new_latency),
10219         (gst_event_parse_latency):
10220         * gst/gstevent.h:
10221         Add new LATENCY event to configure latency in a pipeline.
10222         API: gst_event_new_latency
10223         API: gst_event_parse_latency
10224
10225         * gst/gstmessage.c: (gst_message_new_buffering),
10226         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10227         (gst_message_new_latency), (gst_message_parse_buffering),
10228         (gst_message_parse_lost_preroll):
10229         * gst/gstmessage.h:
10230         Added messages used in draft-latency.
10231         API: gst_message_new_lost_preroll
10232         API: gst_message_parse_lost_preroll
10233         API: gst_message_new_prerolled
10234         API: gst_message_new_latency
10235
10236         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10237         (gst_query_parse_latency):
10238         * gst/gstquery.h:
10239         Implemented new latency query as in design doc.
10240         API: gst_query_new_latency
10241         API: gst_query_set_latency
10242         API: gst_query_parse_latency
10243
10244 2007-02-02  Wim Taymans  <wim@fluendo.com>
10245
10246         * docs/design/draft-latency.txt:
10247         Slight redesign to allow for dynamic latency adjustments.
10248
10249         * docs/design/part-negotiation.txt:
10250         Fix some typos.
10251
10252 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10253
10254         reviewed by: Wim Taymans <wim@fluendo.com>
10255
10256         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10257         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10258         Allow file://localhost/foo/bar URLs and correctly fail for every other
10259         hostname that one sets. This was gnomevfssrc is linked for those if
10260         installed as it can handle it (#403172)
10261
10262 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10263
10264         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10265
10266         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10267         (unref_data), (gst_collect_pads_add_pad_full):
10268         * libs/gst/base/gstcollectpads.h:
10269         Don't put the previously added destroy notify in the GstCollectData
10270         struct as all it's padding is already used and we don't want to break
10271         ABI. Instead put in the pad's GObject data for now. This should be
10272         cleaned up for 0.11 (#402393).
10273
10274 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10275
10276         reviewed by: Wim Taymans <wim@fluendo.com>
10277
10278         * docs/libs/gstreamer-libs-sections.txt:
10279         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10280         (unref_data), (gst_collect_pads_add_pad),
10281         (gst_collect_pads_add_pad_full):
10282         * libs/gst/base/gstcollectpads.h:
10283         API: Add function to specify a destroy notification for custom
10284         GstCollectData when adding new pads in GstCollectPads (#402393).
10285
10286 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10287
10288         * po/sv.po:
10289           Update Swedish translation (#378255).
10290
10291 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10292
10293         * docs/design/draft-klass.txt:
10294           Fix the previous change, this is a list of categories and not a hierarchy.
10295
10296 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10297
10298         * docs/design/draft-klass.txt:
10299           Add info about how to get a list of used classes.
10300
10301 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10302
10303         * plugins/elements/gsttypefindelement.c:
10304         (gst_type_find_element_chain_do_typefinding),
10305         (gst_type_find_element_change_state):
10306           Don't leak found caps in chain function (no idea why that never
10307           showed up as a leak anywhere).
10308
10309 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10310
10311         * gst/gstplugin.h:
10312           Fix and expand GstPluginDesc API docs.
10313
10314 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10315
10316         * gst/gstcaps.c:
10317         * gst/gstelementfactory.c:
10318         * gst/gstpadtemplate.h:
10319           api doc fixes
10320
10321         * libs/gst/controller/gstcontroller.c:
10322         (gst_controlled_property_new):
10323         * tests/examples/controller/audio-example.c:
10324           comment fixes
10325
10326 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10327
10328         * configure.ac:
10329           comment about refining the xml deps
10330
10331         * docs/manuals.mak:
10332           comments about moving away from jade for docs
10333         
10334         * gst/gst.c:
10335           recommit the ifdefs to use the binary registry
10336         
10337         * gst/gstbin.c: (gst_bin_change_state_func):
10338           this break is obsolete
10339
10340         * gst/gstelementfactory.h:
10341           better GST_ELEMENT_DETAILS docs, add comment about translation
10342
10343         * gst/gstinfo.h:
10344           remove eol slash
10345
10346         * gst/gstobject.c: (gst_signal_object_get_type):
10347           add G_UNLIKELY as usual
10348
10349         * gst/gstpad.c: (gst_pad_event_default):
10350           add fall trhu comment
10351
10352         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10353         (gst_registry_binary_initialize_magic),
10354         (gst_registry_binary_save_string),
10355         (gst_registry_binary_save_pad_template),
10356         (gst_registry_binary_save_feature),
10357         (gst_registry_binary_save_plugin),
10358         (gst_registry_binary_write_cache),
10359         (gst_registry_binary_check_magic),
10360         (gst_registry_binary_load_pad_template),
10361         (gst_registry_binary_load_feature),
10362         (gst_registry_binary_load_plugin),
10363         (gst_registry_binary_read_cache):
10364           comment typo and formatting
10365
10366         * gst/gstutils.c: (gst_element_state_get_name),
10367         (gst_element_state_change_return_get_name):
10368           remove obsolete breaks
10369
10370         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10371           add FIXME 0.11 and remove cpp comment
10372
10373 2007-01-29  Edward Hervey  <edward@fluendo.com>
10374
10375         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10376         Fix print statement in an even more portable way.
10377
10378 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10379
10380         * docs/gst/gstreamer-sections.txt:
10381         * gst/gstutils.h:
10382           API: add GST_ROUND_DOWN_* macros (#401781).
10383
10384 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10385
10386         * docs/gst/gstreamer.types.in:
10387         * gst/gstregistry.c: (gst_registry_class_init):
10388           Document registry signals and make gtk-doc pick them up (#401381).
10389
10390 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10391
10392         * docs/pwg/building-testapp.xml:
10393           Add some audioconverts and audioresample to the pipeline, and some
10394           more comments and error handling.
10395
10396 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10397
10398         * docs/manual/manual.xml:
10399         * docs/pwg/pwg.xml:
10400           Fix typo (#400987).
10401
10402 2007-01-26  Wim Taymans  <wim@fluendo.com>
10403
10404         * gst/gstcaps.c: (gst_static_caps_get):
10405         Init caps flags too.
10406
10407 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10408
10409         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10410
10411         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10412         If not using mmap'ed files try to seek to the end instead of the
10413         start to determine whether we can seek at all. This fixes the case
10414         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10415         seeks for everything afterwards fail. Fixes #400656
10416
10417 2007-01-25  Wim Taymans  <wim@fluendo.com>
10418
10419         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10420         Add some refcount debugging.
10421         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10422         in multiple streaming threads.
10423
10424 2007-01-25  Wim Taymans  <wim@fluendo.com>
10425
10426         Patch by: David Schleef <ds at schleef dot org>
10427
10428         * docs/libs/gstreamer-libs-sections.txt:
10429         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10430         * libs/gst/base/gstadapter.h:
10431         API: gst_adapter_copy() that can reduce the amount of memcpy when
10432         getting data from the adapter. Fixes #388201.
10433
10434 2007-01-25  Edward Hervey  <edward@fluendo.com>
10435
10436         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10437         In print statements, "%x" is for guint. Fixes build on macosx.
10438
10439 2007-01-24  Edward Hervey  <edward@fluendo.com>
10440
10441         * plugins/elements/gstmultiqueue.c:
10442         (gst_multi_queue_loop):
10443         Small fix.
10444         (single_queue_overrun_cb), (single_queue_underrun_cb),
10445         (single_queue_check_full), (gst_single_queue_new):
10446         Implement single queue growth system.
10447         This uses the extra-size properties, and will grow single queues by
10448         that much if one goes full whereas there are others empty. This is
10449         called extra-mode in the code.
10450         When a single queue's levels go back below the initial max-size
10451         limits, it is no longer in extra-mode. This is to ensure we don't
10452         consume too much memory.
10453         Fixes #399875
10454
10455 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10456
10457         * gst/gst.c: (gst_init_get_option_group):
10458           Make warning about late g_thread_init() calls a bit more explicit,
10459           so that it's more obvious to application developers what they need
10460           to do if a user files a bug against their application.
10461
10462 2007-01-22  Edward Hervey  <edward@fluendo.com>
10463
10464         * plugins/elements/gstmultiqueue.c:
10465         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10466         Remove previous hack of unsetting the flushing flag for the source pad
10467         instead of activating it. Instead, fix the source pad activate function
10468         so that it no longer depends on having a parent set or not.
10469
10470 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10471
10472         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10473
10474         * docs/manual/basics-bus.xml:
10475           Fix example code, gst_element_unref() doesn't exist any longer.
10476
10477 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10478
10479         Patch by: Mark Nauwelaerts <manauw at skynet be>
10480
10481         * gst/gstpad.c:
10482           Fix two docs typoes (#399094).
10483
10484 2007-01-19  Edward Hervey  <edward@fluendo.com>
10485
10486         * docs/faq/gst-uninstalled:
10487         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10488         depending on libgstbaseutils can work in uninstalled environment.
10489
10490 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10491
10492         * gst/gsttaglist.h:
10493         * gst/gsttagsetter.c:
10494         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10495         statement for new tag.
10496
10497 2007-01-17  Edward Hervey  <edward@fluendo.com>
10498
10499         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10500         When dynamically creating single queues, activate sinkpad before adding
10501         it.
10502         We should be doing the same thing for the source pad, but we can't
10503         since it would call a method which needs the parent to be set in order
10504         to work propertly. Instead of activating the source pad, we just unset
10505         the flushing flag, which is the minimal requirement for adding a pad
10506         to an element in a state greater than READY.
10507
10508 2007-01-17  Edward Hervey  <edward@fluendo.com>
10509
10510         * docs/faq/gst-uninstalled:
10511         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10512         Mac OS X.
10513
10514 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10515
10516         * tests/check/gst/gstabi.c:
10517         * tests/check/gst/struct_hppa.h:
10518         * tests/check/libs/libsabi.c:
10519         * tests/check/libs/struct_hppa.h:
10520           Add ABI structs for HPPA (see #393796).
10521
10522 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10523
10524         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10525           Actually write ABI structs to the file specified in the GST_ABI
10526           environment variable, as the message we print claims we would.
10527
10528 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10529
10530         * tests/check/gst/gsttask.c:
10531           Fix header comment.
10532
10533 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10534
10535         * gst/gsttaglist.c: (_gst_tag_initialize):
10536           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10537           previous two entries.
10538
10539 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10540
10541         * docs/gst/gstreamer-sections.txt:
10542         * gst/gsttaglist.c: (_gst_tag_initialize):
10543         * gst/gsttaglist.h:
10544           Add tag support for beat-per-minute.
10545
10546 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10547
10548         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10549         (gst_registry_binary_initialize_magic),
10550         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10551         (gst_registry_binary_save_pad_template),
10552         (gst_registry_binary_save_feature),
10553         (gst_registry_binary_save_plugin),
10554         (gst_registry_binary_write_cache),
10555         (gst_registry_binary_check_magic),
10556         (gst_registry_binary_load_pad_template),
10557         (gst_registry_binary_load_feature),
10558         (gst_registry_binary_load_plugin),
10559         (gst_registry_binary_read_cache):
10560         * gst/gstregistrybinary.h:
10561           Use glib types, cleanup comments, impement interfaces and uri-types.
10562
10563 2007-01-13  Andy Wingo  <wingo@pobox.com>
10564
10565         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10566         getrange() to return buffers with other caps, while we fix
10567         demuxers and typefind, or otherwise change part-negotiation.txt.
10568
10569 2007-01-12  Andy Wingo  <wingo@pobox.com>
10570
10571         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10572         Factor start/stop into this private function instead of partially
10573         in activate functions and partially in the change_state function.
10574         Fixes setup before the element has changed from READY->PAUSED, as
10575         is the case in pull-mode pipelines.
10576         (gst_base_transform_sink_activate_push)
10577         (gst_base_transform_src_activate_pull): Refactor to use
10578         gst_base_transform_activate().
10579         (gst_base_transform_change_state): Removed, not needed any more.
10580
10581         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10582         Truncate before fixating.
10583         
10584         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10585         Don't set_caps() if the result of fixating is ANY, as it's not
10586         supported, and not necessary in the case of a link with no
10587         template caps on either side. Fixes tests/check/libs/basesrc in
10588         some pull-mode tests.
10589
10590         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10591         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10592         (gst_base_transform_src_activate_pull): 
10593         Track the activation mode.
10594         (gst_base_transform_setcaps): In pull mode, when activating the
10595         src pad, after activating the sink pad, activate the sink pad's
10596         peer, as discussed in part-negotiation.txt.
10597
10598         * libs/gst/base/gstbasesrc.h: 
10599         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10600         vmethod, as in basesink.
10601
10602         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10603
10604         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10605         mode, first proxy the setcaps to the peer pad.
10606         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10607         new fixate vmethod.
10608         (gst_base_sink_default_activate_pull): Rename from
10609         gst_base_sink_activate_pull.
10610         (gst_base_sink_negotiate_pull): New function, performs negotiation
10611         in pull mode before calling ::activate_pull().
10612         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10613         vmethod instead of the default implementation. I have no idea how
10614         this worked before. Negotiate before calling activate_pull.
10615
10616         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10617         sink pads in pull mode. In addition to being correct, fixes
10618         filesrc ! decodebin ! identity ! fakesink.
10619         (gst_pad_get_range, gst_pad_pull_range): Don't call
10620         gst_pad_set_caps() if the caps changes; instead error out with
10621         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10622
10623 2007-01-12  Andy Wingo  <wingo@pobox.com>
10624
10625         * docs/design/part-negotiation.txt: Update with more policy.
10626
10627 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10628
10629         * libs/gst/check/gstbufferstraw.h:
10630         * libs/gst/check/gstcheck.h:
10631           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10632           belongs.
10633
10634 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10635
10636         * tests/check/Makefile.am:
10637         * tests/check/gst/.cvsignore:
10638         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10639         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10640         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10641         (GST_START_TEST), (gst_tag_setter_suite):
10642           Add minimal unit test for beforementioned GstTagSetter bug.
10643
10644 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10645
10646         Patch by: René Stadler <mail at renestadler dot de>
10647
10648         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10649           gst_tag_list_merge() returns a new list, so it's not the best idea
10650           to ingore its return value. Effectively meant that tags could only
10651           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10652           Also add function guard to require a non-NULL taglist as input (has
10653           always been so due to gst_tag_list_copy(), just making it explicit).
10654
10655 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10656
10657         * docs/random/draft-missing-plugins.txt:
10658           Some additions: mention new API that is supposed to be used at the
10659           various stages; short blob about new gst-inspect introspection
10660           option; mention potential future problem with plugins that have
10661           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10662
10663 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10664
10665         * tools/gst-inspect.c:
10666         (print_plugin_automatic_install_info_codecs),
10667         (print_plugin_automatic_install_info_protocols),
10668         (print_plugin_automatic_install_info), (main):
10669         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10670         introspect plugin files and get machine-parsable output that corresponds
10671         to the last bit of the missing-plugin installer string (small gotcha:
10672         doesn't take into account ranks).
10673
10674 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10675
10676         * configure.ac:
10677         * docs/gst/gstreamer-sections.txt:
10678         * gst/Makefile.am:
10679         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10680         (gst_registry_lookup_locked):
10681         * gst/gstregistry.h:
10682         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10683         (gst_registry_binary_initialize_magic),
10684         (gst_registry_binary_save_string),
10685         (gst_registry_binary_save_pad_template),
10686         (gst_registry_binary_save_feature),
10687         (gst_registry_binary_save_plugin),
10688         (gst_registry_binary_write_cache),
10689         (gst_registry_binary_check_magic),
10690         (gst_registry_binary_load_pad_template),
10691         (gst_registry_binary_load_feature),
10692         (gst_registry_binary_load_plugin),
10693         (gst_registry_binary_read_cache):
10694         * gst/gstregistrybinary.h:
10695         * gst/gstregistryxml.c: (load_feature),
10696         (gst_registry_xml_read_cache):
10697           commit binary registry (disabled by default, see #359653)
10698
10699 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10700
10701         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10702           Fix 'make check' too.
10703
10704 2007-01-10  Andy Wingo  <wingo@pobox.com>
10705
10706         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10707         notes.
10708         
10709         * docs/design/part-negotiation.txt: Update with, um, one way that
10710         pull-mode negotiation might work?
10711
10712         * gst/gstpad.h: 
10713         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10714         that the pad must be a src pad; makes sense to call it the other
10715         way in pull mode, and the logic is symmetric anyway.
10716
10717 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10718
10719         * plugins/elements/gstfilesink.c:
10720           Include <stdio.h> for fseeko().
10721
10722 2007-01-10  Wim Taymans  <wim@fluendo.com>
10723
10724         * gst/gstevent.c:
10725         * gst/gstevent.h:
10726         Reserve LATENCY event.
10727
10728 2007-01-09  Wim Taymans  <wim@fluendo.com>
10729
10730         * docs/design/draft-latency.txt:
10731         Updates.
10732
10733 2007-01-09  Wim Taymans  <wim@fluendo.com>
10734
10735         * docs/design/draft-latency.txt:
10736         Updates.
10737
10738         * gst/gstelement.h:
10739         * gst/gststructure.c:
10740         * gst/gsttrace.c:
10741         Small typo fixes.
10742
10743 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10744
10745         * tests/check/.cvsignore:
10746           Ignore test-registry.xml as well.
10747
10748 2007-01-09  Wim Taymans  <wim@fluendo.com>
10749
10750         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10751         unref data at the end when we are done with the pad.
10752
10753 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10754
10755         * docs/gst/gstreamer-sections.txt:
10756         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10757         (init_post), (gst_deinit), (gst_update_registry):
10758         * gst/gst.h:
10759           API: add gst_update_registry() (#391296).
10760
10761         * tests/check/Makefile.am:
10762         * tests/check/gst/gstregistry.c:
10763         * tests/check/gst/.cvsignore:
10764           Simple unit test for the above.
10765
10766 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10767
10768         * gst/gstregistry.c: (gst_registry_scan_path_level):
10769           Plugin extension on HP-UX is .sl, add that to the list of approved
10770           plugin extensions (see #393796).
10771
10772         * tests/check/gst/gstpad.c: (GST_START_TEST):
10773           ulong => gulong. Fixes compilation with HP-UX compiler.
10774
10775         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10776           Fix compilation if valgrind headers are not available.
10777
10778 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10779
10780         * win32/common/libgstreamer.def: 
10781           Add new exported function.
10782         * win32/vs6/libgstbase.dsp: 
10783           Add gstdataqueue.c to the build.
10784         * win32/vs6/libgstcoreelements.dsp:
10785           Add gstmultiqueue.c to the build.
10786         
10787 2007-01-06  Andy Wingo  <wingo@pobox.com>
10788
10789         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10790         activate_pull(), providing for a way to specialize the process of
10791         spawning a thread to pull on the sink pad. There is a default
10792         implementation.
10793
10794         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10795         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10796         (gst_base_sink_init): Renamed pad activation functions (inserting
10797         "_pad" in their names). Refactor to use the new activate_pull
10798         vmethod, as appropriate.
10799         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10800         default activate_pull function to start a task pulling from the
10801         sink pad, as before.
10802
10803         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10804         on the pads if necessary, as in push()/chain(). Update docs.
10805         Shouldn't affect existing pull() usage as it is currently only
10806         being used on buffers without caps.
10807
10808 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10809
10810         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10811         (init_pre):
10812           Call g_thread_init() first thing in gst_init() / gst_check_init().
10813           When initialisation is done via gst_init_get_option_group() and
10814           GOption parsing, issue a warning if the GLib thread system has not
10815           been initialised yet by the time gst_init_get_option_group() is
10816           called, as it's quite likely other GLib functions such as
10817           g_option_context_new() have been called already then, and
10818           g_thread_init() must be called before any other GLib function. The
10819           application in question must be fixed in that case, since memory
10820           corruption might happen otherwise.
10821           We issue the warning because even if the GLib folks decide to work
10822           around the problem on their end in future, this is still an issue
10823           with all GLib versions >= 2.10.0, so we should warn until we depend
10824           on a GLib version we know to be safe.
10825           Update documentation as well.
10826           Closes bug #391278.
10827
10828 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10829
10830         * tools/gst-inspect.c: (main):
10831         * tools/gst-launch.c: (main):
10832         * tools/gst-typefind.c: (main):
10833         * tools/gst-xmlinspect.c: (main):
10834           Call g_thread_init() really really early, before any other GLib
10835           function (see #342564 and recent discussion on gtk-devel-list).
10836
10837 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10838
10839         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10840
10841         * gst/gst_private.h:
10842         * gst/gstconfig.h.in:
10843         * gst/gstinfo.h:
10844           On win32, all the __declspec stuff for symbol exporting is
10845           apparently only needed with MSVC, but doesn't work with MingW.
10846           Fixes compilation with MingW and #391909.
10847
10848 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10849
10850         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10851           Change some GST_ERROR_OBJECT that aren't really errors to
10852           GST_WARNING_OBJECT in order to reduce terminal spam.
10853
10854 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10855
10856         * tests/check/Makefile.am:
10857           disable test again, as there seem to be still race problems
10858
10859 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10860
10861         * tests/check/Makefile.am:
10862         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10863         (GST_START_TEST), (queue_suite):
10864           enable queue test again, add tests for the leaky behaviour
10865
10866 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10867
10868         * configure.ac:
10869         * tests/examples/Makefile.am:
10870           Compile adapter test/example only if the required headers are
10871           available (fixes #391915).
10872
10873 2007-01-01  David Schleef  <ds@schleef.org>
10874
10875         * gst/gstplugin.c:
10876           Restore the previous signal handler for SIGSEGV instead of
10877           setting to default, since we may have stolen it away from
10878           someone.  (i.e., Mono)
10879
10880 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10881
10882         * docs/random/draft-missing-plugins.txt:
10883           Some small additions and clarifications.
10884
10885 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10886
10887         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10888           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10889           since that can lead to random memory corruptions and crashes
10890           (may or may not be related to #383244, #386711, and #386711).
10891
10892 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10893
10894         * tests/check/.cvsignore:
10895         * tests/check/Makefile.am:
10896           sync .cvsignome and CLEANFILES
10897
10898 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10899
10900         * tests/check/Makefile.am:
10901           fix distcheck
10902
10903 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10904
10905         * docs/design/part-states.txt:
10906           two tiny additional comments
10907         
10908         * gst/gststructure.c:
10909           doc fixing
10910
10911         * tests/check/Makefile.am:
10912         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10913         (GST_START_TEST):
10914           disable test for now, unless it gets fixed
10915
10916 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10917
10918         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10919         (GST_START_TEST):
10920           fix race in underrun test
10921
10922 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10923
10924         * tests/check/elements/.cvsignore:
10925           ignore more
10926
10927         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10928         (GST_START_TEST):
10929           try to narrow test failure
10930
10931 2006-12-21  David Schleef  <ds@schleef.org>
10932
10933         * plugins/elements/gstfakesrc.c:
10934           Use g_random_int_range(), since it produces better random
10935           numbers in a range than almost-correct floating point code.
10936
10937 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10938
10939         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10940         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10941         (gst_check_teardown_sink_pad):
10942           do not automatically (de)activate pads
10943
10944         * tests/check/Makefile.am:
10945         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10946         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10947           add new, yet simple tests for queue
10948
10949         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10950         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10951         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10952         (GST_START_TEST):
10953         * tests/check/elements/identity.c: (cleanup_identity):
10954           consistent pad (de)activation
10955
10956 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10957
10958         Patch by: Sebastian Dröge  <slomo ubuntu com>
10959
10960         * libs/gst/base/gstcollectpads.c:
10961           Fix two doc typos (#387866).
10962
10963 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10964
10965         * docs/manual/advanced-dparams.xml:
10966           Fix typo (g_object_control_properties() doesn't exist).
10967
10968 2006-12-19  Edward Hervey  <edward@fluendo.com>
10969
10970         * gst/gstsegment.c: (gst_segment_set_seek):
10971         Fine tune the cases where the segment start/stop values are really
10972         updated.
10973         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10974         Add tests for the return values of gst_segment_set_seek().
10975
10976 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10977
10978         * gst/gst.c:
10979           Docs typo fix.
10980
10981         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10982         (gst_queue_init):
10983           Fix incorrect documentation and flesh it out a bit more.
10984           Set default values for the max properties on the GParamSpec as well,
10985           so it shows up correctly in gst-inspect.
10986
10987 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10988
10989         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10990           Correct docs of queue, add more detail and crosslink it more.
10991
10992 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10995           Print additional debug info when the stream isn't perfectly
10996           timestamped; don't try to use invalid durations.
10997
10998 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10999
11000         * docs/design/Makefile.am:
11001           Dist new design docs.
11002
11003 2006-12-16  Wim Taymans  <wim@fluendo.com>
11004
11005         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11006
11007         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11008         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11009         (gst_collect_pads_stop), (gst_collect_pads_event),
11010         (gst_collect_pads_chain):
11011         * libs/gst/base/gstcollectpads.h:
11012         Add refcounting to the collectpads data so we can track when it's safe
11013         to free the data. Fixes #383382.
11014
11015 2006-12-15  Wim Taymans  <wim@fluendo.com>
11016
11017         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11018         (gst_collect_pads_remove_pad):
11019         Automatically activate/deactivate pads when they are added to a
11020         started/stoped collectpads.
11021
11022 2006-12-15  Wim Taymans  <wim@fluendo.com>
11023
11024         * gst/gstelement.c: (gst_element_add_pad):
11025         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11026         * gst/gstpad.c: (gst_pad_init):
11027         Set pads to FLUSHING when they are created. Check, warn and fix when a
11028         demuxer adds an inactive pad to itself when running. Fixes #339326.
11029
11030 2006-12-15  Wim Taymans  <wim@fluendo.com>
11031
11032         * gst/gstelement.c: (gst_element_class_init),
11033         (gst_element_default_send_event), (gst_element_send_event),
11034         (gst_element_default_query), (gst_element_query):
11035         Expose default element send_event and query handling as vmethods that
11036         subclasses can chain up to.
11037
11038 2006-12-15  Wim Taymans  <wim@fluendo.com>
11039
11040         * gst/gstelement.c: (gst_element_set_state_func):
11041         Small documentation fixes.
11042
11043 2006-12-15  Wim Taymans  <wim@fluendo.com>
11044
11045         * docs/design/draft-latency.txt:
11046         Checked in draft for handling latency in pipelines.
11047
11048 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11049
11050         * Makefile.am:
11051         * gstreamer.doap:
11052         * gstreamer.spec.in:
11053           adding .doap file
11054
11055 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11056
11057         * gst/gst.c: (init_pre), (init_post):
11058           init_pre() and init_post() might be called via our GOptionGroup or
11059           from gst_init(), and we should skip both of them if we've already
11060           been initialised, otherwise we will init some things twice or add
11061           two default log functions.
11062
11063 2006-12-13  Edward Hervey  <edward@fluendo.com>
11064
11065         * docs/manual/basics-bus.xml:
11066         No, gst_main_loop does not exist. Its g_main_loop.
11067         Discovered by somebody who abused the copy-paste technique of coding :)
11068
11069 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11070
11071         * gst/gstghostpad.c:
11072           Log ghostpad debug stuff to the GST_PADS category as well rather
11073           than just to the default category.
11074
11075 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11076
11077         * configure.ac:
11078         * gst/gst.c: (init_pre):
11079           Add some basic system details such as OS and architecture
11080           to the debug output if possible, courtesy of uname().
11081
11082 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11083
11084         * docs/gst/running.xml:
11085           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11086           environment variables.
11087
11088 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11089
11090         * tests/check/gst/gstbin.c: (GST_START_TEST):
11091         It is acceptable to have a refcount of 2 or 3 at this point in the
11092         test, because the pipeline might be just posting its state_change
11093         message. The next line then waits for that message to appear using
11094         bus_poll, so that should be fine too.
11095
11096 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11097
11098         * gst/gst.c: (ensure_current_registry_forking):
11099         Ignore EINTR when reading from the child registry pipe.
11100         Explicitly ignore the return value from close, since it makes no
11101         difference.
11102
11103         * gst/gstminiobject.c: (gst_mini_object_ref),
11104         (gst_mini_object_unref):
11105         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11106
11107         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11108         When removing cached plugins, remove their features too, so they're
11109         not visible after they've disappeared.
11110
11111         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11112         In the unlikely case that we are linking pads with no parents, don't
11113         crash trying to get the non-existent parent bin.
11114
11115         * gst/parse/grammar.y:
11116         Output debug in the PIPELINE category
11117
11118 2005-03-08  Wim Taymans  <wim@fluendo.com>
11119
11120         Patch by: René Stadler <mail at renestadler dot de>
11121
11122         * gst/gstclock.c: (gst_clock_new_periodic_id):
11123         Reject invalid clock times for interval of periodic ids.
11124         Fixes ##383506.
11125
11126 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11127
11128         * gst/gstelementfactory.c: (gst_element_factory_create):
11129         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11130         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11131         * tools/gst-inspect.c: (print_element_info):
11132         Fix refcounting of gst_plugin_feature_load to match the docs. 
11133         Fixes: #380129
11134
11135 2006-12-07  Wim Taymans  <wim@fluendo.com>
11136
11137         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11138         (gst_base_sink_get_position):
11139         Improve debugging of events.
11140
11141 2006-12-07  Wim Taymans  <wim@fluendo.com>
11142
11143         Patch by: René Stadler <mail at renestadler dot de>
11144
11145         * gst/gstclock.c: (gst_clock_id_wait):
11146         Make period ids add the interval to the origial requested time instead
11147         of the possibly updated time which can be wrong when there are multiple
11148         waiters for the same id. Fixes #382592.
11149
11150         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11151         (gst_system_clock_id_wait_jitter_unlocked),
11152         (gst_system_clock_id_wait_jitter):
11153         Fix restart in the async notify thread when an async entry is added to
11154         the front of the list. Fixes #381492. 
11155
11156         * tests/check/gst/gstsystemclock.c: (store_callback),
11157         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11158         Added test for multiple async waits.
11159         Added test for async wait order.
11160
11161 2006-12-07  Wim Taymans  <wim@fluendo.com>
11162
11163         * gst/gstbin.c: (gst_bin_query):
11164         Add some more docs about the POSITION query.
11165
11166 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11167
11168         * configure.ac:
11169         Bump version nano - back to CVS.
11170
11171 === release 0.10.11 ===
11172
11173 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11174
11175         * configure.ac:
11176           releasing 0.10.11, "Love never runs on time"
11177
11178 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11179
11180         * win32/common/libgstbase.def:
11181         * win32/common/libgstreamer.def:
11182         * win32/vs8/libgstbase.vcproj:
11183         * win32/vs8/libgstcoreelements.vcproj:
11184         * win32/vs8/libgstreamer.vcproj:
11185         Fix compilation on win32 under VS8
11186         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11187         Partially fixes #381175
11188
11189 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11190
11191         * gst/gstvalue.c: (gst_value_compare_fraction):
11192         If someone is foolish enough to compare 2 fractions with denominator =
11193         0, return UNORDERED rather than aborting.
11194
11195 2006-11-28  Edward Hervey  <edward@fluendo.com>
11196
11197         * libs/gst/base/Makefile.am:
11198         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11199         (gst_data_queue_base_init), (gst_data_queue_class_init),
11200         (gst_data_queue_init), (gst_data_queue_new),
11201         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11202         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11203         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11204         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11205         (gst_data_queue_set_flushing), (gst_data_queue_push),
11206         (gst_data_queue_pop), (gst_data_queue_drop_head),
11207         (gst_data_queue_set_property), (gst_data_queue_get_property):
11208         * libs/gst/base/gstdataqueue.h:
11209         New GstDataQueue object for threadsafe queueing. Most useful for
11210         elements that need some queueing functionnality.
11211         * docs/libs/gstreamer-libs-docs.sgml:
11212         * docs/libs/gstreamer-libs-sections.txt:
11213         Insert documentation for GstDataQueue
11214         * plugins/elements/Makefile.am:
11215         * plugins/elements/gstelements.c:
11216         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11217         (gst_multi_queue_class_init), (gst_multi_queue_init),
11218         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11219         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11220         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11221         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11222         (gst_multi_queue_loop), (gst_multi_queue_chain),
11223         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11224         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11225         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11226         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11227         (wake_up_next_non_linked), (compute_next_non_linked),
11228         (single_queue_overrun_cb), (single_queue_underrun_cb),
11229         (single_queue_check_full), (gst_single_queue_new):
11230         * plugins/elements/gstmultiqueue.h:
11231         New multiqueue element, using GstDataQueue. Used for queuing multiple
11232         streams.
11233         Closes #344639 and #347785
11234
11235 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11236
11237         * docs/pwg/advanced-types.xml:
11238           add more missing type details
11239
11240         * tools/gst-run.c: (main):
11241           remove unused variable
11242
11243 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11244
11245         * docs/libs/Makefile.am:
11246         * docs/libs/gstreamer-libs.types:
11247           add types of base classes to enable gobject specific stuff in the docs
11248
11249         * docs/random/ensonic/embedded.txt:
11250           more ideas about isolating platform specific things
11251
11252 2006-11-20  Wim Taymans  <wim@fluendo.com>
11253
11254         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11255
11256         * libs/gst/check/gstcheck.h:
11257         Fix compilation and running against 0.9.4. Fixes #377332.
11258
11259 2006-11-20  Wim Taymans  <wim@fluendo.com>
11260
11261         * gst/gstsegment.c: (gst_segment_set_seek),
11262         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11263         (gst_segment_to_running_time):
11264         Fix boundary checking in to_running_time() and to_stream_time().
11265         Fixes #377183.
11266
11267         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11268         stream and running time can now be calculated for the complete
11269         clipped segment.
11270
11271 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11272
11273         * gst/gstpad.c: (gst_pad_push_event):
11274           Can't access event structure after giving away ownership of
11275           the event.
11276
11277 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11278
11279         * docs/random/ensonic/embedded.txt:
11280         * docs/random/ensonic/profiling.txt:
11281         * docs/random/ensonic/receipies.txt:
11282           more thinking
11283
11284 2006-11-13  Wim Taymans  <wim@fluendo.com>
11285
11286         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11287
11288         * gst/gstpad.c:
11289         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11290
11291 2006-11-13  Wim Taymans  <wim@fluendo.com>
11292
11293         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11294
11295         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11296         Store new length in segment duration so we don't keep on calling the
11297         potentially expensize get_size() call. Fixes #370865.
11298
11299 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11300
11301         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11302
11303         * win32/common/libgstreamer.def:
11304           Add two missing symbols (#366492).
11305
11306 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11307
11308         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11309         (gst_adapter_take_buffer):
11310         Fix format string to use all its arguments.
11311         Remove useless >= check on a guint
11312
11313 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11314
11315         * tests/examples/adapter/.cvsignore:
11316         Ignore build file as commanded by the build-bot
11317
11318 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11319
11320         * tests/examples/adapter/Makefile.am:
11321         * tests/examples/adapter/adapter_test.c: (run_test_take),
11322         (run_test_take_buffer), (run_tests), (main):
11323
11324         Add new files from the previous commit
11325
11326 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11327
11328         * Makefile.am:
11329         * configure.ac:
11330         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11331         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11332         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11333         * libs/gst/base/gstadapter.h:
11334         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11335         (GST_START_TEST), (gst_adapter_suite):
11336         * tests/examples/Makefile.am:
11337         Do some optimisation work in GstAdapter to avoid copies in more cases.
11338         It could still do slightly better by merging buffers when
11339         gst_buffer_is_span_fast is true, but is already faster. 
11340
11341         Also, avoid traversing a single-linked list to append each incoming 
11342         buffer inside the adapter.
11343
11344         Add simple test app that times the adapter behaviour in different
11345         situations, and extend the unit test to check that bytes enter and
11346         exit the adapter in their original order.
11347
11348 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11349
11350         * docs/random/draft-missing-plugins.txt:
11351           Update: use element message instead of adding a new message
11352           type to the core; don't provide GStreamer API to initiate the
11353           plugin download, just provide API to compose the strings needed
11354           and let an external libgimmestuff handle the rest.
11355
11356 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11357
11358         * tools/gst-inspect.c: (print_element_properties_info):
11359         Print a string instead of 'unknown type' for GValueArray properties
11360
11361 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11362
11363         * docs/random/draft-missing-plugins.txt:
11364         More small fixes.
11365
11366 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11367
11368         * tests/examples/typefind/typefind.c: (type_found), (main):
11369           Make typefind element example work again (#371894); add a
11370           license header.
11371
11372 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11373
11374         * docs/random/draft-missing-plugins.txt:
11375           Commit initial draft about how to deal with missing plugins,
11376           needs work (API too).
11377
11378 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11379
11380         * docs/pwg/advanced-types.xml:
11381           documents the new caps elements (see #363118)
11382
11383 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11384
11385         * gst/gstplugin.c: (gst_plugin_load_file):
11386         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11387         (gst_file_src_map_region), (gst_file_src_start):
11388         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11389         (gst_file_index_commit):
11390           Use g_strerror() instead of strerror() - we want UTF-8.
11391
11392 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11393
11394         Patch by: Peter Kjellerstedt <pkj at axis com>
11395
11396         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11397           Another printf fix (#371493).
11398
11399 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11400
11401         * tests/check/gst/gsttag.c:
11402           relicence (okay with author=company)
11403
11404 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11405
11406         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11407         (gst_pad_push_event):
11408           Enhance debug and improve docs
11409         
11410         * gst/gsturi.c:
11411           Fix docs
11412
11413 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11414
11415         * docs/random/ensonic/distributed.txt:
11416         * docs/random/ensonic/profiling.txt:
11417           more ideas
11418
11419 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11420
11421         * docs/gst/gstreamer-sections.txt:
11422           add new API and fix the build
11423           
11424         * gst/gstbin.c: (gst_bin_recalc_state):
11425         * gst/gstelement.c: (gst_element_message_full),
11426         (gst_element_get_state_func), (gst_element_set_state_func):
11427           use new API and improve logging
11428         
11429         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11430         * gst/gstutils.h:
11431           API: add function to get StateChangereturn names to improve logs 
11432
11433 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11434
11435         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11436           I'm considering shooting the next person to put strerror stuff
11437           in the translateable part of the message.
11438
11439 2006-11-03  Wim Taymans  <wim@fluendo.com>
11440
11441         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11442         Get the type and printf conversion specifiers right.
11443
11444 2006-11-03  Wim Taymans  <wim@fluendo.com>
11445
11446         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11447
11448         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11449         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11450         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11451         Some small cleanups. Improve debugging.
11452         * gst/gstpad.h:
11453         Signal all waiting threads with a broadcast instead of just one.
11454         Fixes #369942.
11455
11456 2006-11-03  Wim Taymans  <wim@fluendo.com>
11457
11458         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11459         (gst_fd_src_create):
11460         Add some debugging. 
11461         Only update fd when it's different from the old.
11462
11463 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11464
11465         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11466           Printf fixes for PPC/OSX, take two (#369366).
11467
11468 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11469
11470         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11471
11472         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11473         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11474         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11475           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11476           don't cast to long long for portability reasons, but use
11477           GLib's types instead.
11478
11479 2006-10-30  Michael Smith  <msmith@fluendo.com>
11480
11481         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11482           Get the arguments to lseek() the right way around.
11483           Fixes 367677.
11484
11485 2006-10-30  Wim Taymans  <wim@fluendo.com>
11486
11487         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11488
11489         * gst/gstinfo.h:
11490         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11491
11492 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11493
11494         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11495
11496         * docs/design/part-MT-refcounting.txt:
11497         * docs/random/wtay/capsnego2-docs:
11498         * gst/gstclock.c:
11499         * gst/gstxml.c:
11500           Typo fixes (#366212).
11501
11502 2006-10-28  Wim Taymans  <wim@fluendo.com>
11503
11504         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11505
11506         * gst/gst.c:
11507         * win32/common/libgstbase.def:
11508         * win32/common/libgstreamer.def:
11509         * win32/vs8/libgstbase.vcproj:
11510         * win32/vs8/libgstcontroller.vcproj:
11511         Add needed entries in .def files.
11512         Use HAVE_UNISTD_H.
11513         Rearrange def files in vs8 solutions. Fixes #366286.
11514
11515 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11516
11517         * win32/common/gstconfig.h:
11518           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11519           hand-made win32 gstconfig.h. Fixes #366321.
11520
11521 2006-10-27  Wim Taymans  <wim@fluendo.com>
11522
11523         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11524         (gst_ghost_pad_new_full):
11525         Make acceptcaps return TRUE when we don't have a target, just like
11526         setcaps does.
11527
11528 2006-10-27  Wim Taymans  <wim@fluendo.com>
11529
11530         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11531         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11532
11533 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11534
11535         * gst/gststructure.c: (gst_structure_id_set_value):
11536           If someone tries to set a non-UTF8 string field on a structure,
11537           don't just print a warning, but also ignore the request and do
11538           not change/add that field to the structure.
11539
11540         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11541           Test for the above.
11542
11543 2006-10-25  David Schleef  <ds@schleef.org>
11544
11545         * gst/gstinfo.c:
11546           g_hash_table_insert() needs a cast to a non-const pointer duh.
11547
11548 2006-10-25  David Schleef  <ds@schleef.org>
11549
11550         * gst/gstinfo.c:
11551         * gst/gstinfo.h:
11552           Change name parameter of _gst_debug_register_funcptr to const
11553           to reflect the constness of its use in the function as well
11554           as to quiet a gcc warning.
11555
11556 2006-10-25  Edward Hervey  <edward@fluendo.com>
11557
11558         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11559         Don't push the buffer if it's empty.
11560         Closes #363095
11561
11562 2006-10-24  Wim Taymans  <wim@fluendo.com>
11563
11564         * gst/gstevent.h:
11565         Add small comment.
11566
11567         * libs/gst/base/gstbasetransform.c:
11568         (gst_base_transform_sink_eventfunc):
11569         Debug segment values *after* updating them as this is more
11570         interesting.
11571
11572 2006-10-23  Wim Taymans  <wim@fluendo.com>
11573
11574         * docs/design/part-events.txt:
11575         Update some docs.
11576
11577         * docs/design/part-block.txt:
11578         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11579         (gst_pad_push_event):
11580         Revert BLOCKING patch, it tries to be smart without really having a
11581         clear idea what or how. So, now we discard all FLUSHING events again on
11582         a blocking pad. Should fix gnonlin again.
11583
11584 2006-10-23  Wim Taymans  <wim@fluendo.com>
11585
11586         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11587
11588         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11589         (gst_base_src_start), (gst_base_src_activate_push):
11590         Make sure size is always initialized. Fixes #364388.
11591
11592 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11593
11594         * docs/random/ensonic/distributed.txt:
11595           add some ideas about doing distributed processing
11596
11597         * docs/random/ensonic/profiling.txt:
11598           get_rusage look promising
11599
11600 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11601
11602         * docs/manual/basics-helloworld.xml:
11603           Add a cast in example to fix compile warning
11604
11605 2006-10-18  Wim Taymans  <wim@fluendo.com>
11606
11607         * gst/gstsegment.c: (gst_segment_set_last_stop),
11608         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11609         Relax arg checking again, -1 is allowed.
11610
11611 2006-10-18  Wim Taymans  <wim@fluendo.com>
11612
11613         * gst/gstsegment.c: (gst_segment_set_last_stop),
11614         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11615         _set_last_stop() must be with a value != -1
11616         A _TYPE_SET to -1 means seek to 0.
11617         Calc last_stop correctly for negative rates.
11618         Make sure we work with positive durations when updating a segment.
11619
11620 2006-10-18  Wim Taymans  <wim@fluendo.com>
11621
11622         * docs/design/part-live-source.txt:
11623         * gst/gstclock.h:
11624         Small docs fixes.
11625
11626 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11627
11628         * gst/gstbuffer.h:
11629           Add an explicit cast to GstBuffer** to keep old code that added an
11630           explicit cast to GstMiniObject** for gst_mini_object_replace()
11631           compiling without warning.
11632
11633 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11634
11635         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11636           check for validity of dates
11637
11638 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11639
11640         * docs/gst/gstreamer-sections.txt:
11641           Forgot this one, makes gtk-doc shut up.
11642
11643 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11644
11645         Patch by: Peter Kjellerstedt <pkj at axis com>
11646
11647         * gst/gstobject.h:
11648           Don't define xmlNodePtr to gpointer if the core was built with
11649           --disable-loadsave and --disable-registry, this will break
11650           applications that want to use libxml2 but are buildling against a
11651           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11652           instead so we don't have to mess with the libxml2 namespace
11653           (#361675).
11654
11655 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11656
11657         * gst/gstbuffer.h:
11658           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11659           type-punned pointer warnings.
11660
11661 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11662
11663         * gst/gstelement.h:
11664           Add casts to the correct return type to state <=> state transition
11665           macros.
11666
11667 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11668
11669         * docs/design/part-live-source.txt:
11670           describe howto handle latency
11671         
11672         * docs/random/ensonic/profiling.txt:
11673           more ideas
11674
11675         * tools/gst-plot-timeline.py:
11676           fix log parsing for solaris, remove unused function
11677
11678 2006-10-16  Wim Taymans  <wim@fluendo.com>
11679
11680         * docs/design/part-trickmodes.txt:
11681         * gst/gstevent.c:
11682         Update some docs regarding reverse playback.
11683
11684 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11685
11686         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11687
11688         * win32/vs8/grammar.vcproj:
11689           Error out with a warning if glib-genmarshal.exe is not in path,
11690           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11691
11692 2006-10-13  Wim Taymans  <wim@fluendo.com>
11693
11694         * gst/gstsegment.c: (gst_segment_set_seek):
11695         When seeking to stop -1, set last_stop (current position) to the
11696         duration of the segment.
11697
11698 2006-10-13  Wim Taymans  <wim@fluendo.com>
11699
11700         * gst/gstelement.h:
11701         Clarify _NO_PREROLL a bit more.
11702
11703         * gst/gstevent.c:
11704         Fix docs.
11705
11706         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11707         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11708         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11709         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11710         due to wrong locking order. Fixes #361769.
11711         Remove some redundant/misplaced checks in pad_block.
11712
11713         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11714         For negative rates, count backwards from the duration.
11715
11716 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11717
11718         * gst/gsterror.c: (_gst_library_errors_init):
11719           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11720           up with something better).
11721
11722 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11723
11724         * win32/vs6/libgstreamer.dsp:
11725         * win32/vs7/libgstreamer.vcproj:
11726         * win32/vs8/libgstreamer.vcproj:
11727           Don't reference glib-compat.c which is currently not used and not
11728           disted; add gstquark.c which was recently added. Fixes #361730.
11729
11730 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11731
11732         * win32/common/libgstbase.def:
11733         * win32/common/libgstcontroller.def:
11734         * win32/common/libgstreamer.def:
11735           Add gst_caps_merge() and a bunch of other recently-added functions.
11736           Fixes #361732.
11737
11738 2006-10-11  Wim Taymans  <wim@fluendo.com>
11739
11740         * docs/plugins/gstreamer-plugins.args:
11741         * docs/plugins/inspect/plugin-coreelements.xml:
11742         * docs/plugins/inspect/plugin-coreindexers.xml:
11743         Update element args.
11744
11745         * gst/gstsystemclock.c:
11746         Small comment update.
11747
11748         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11749         (gst_tee_request_new_pad), (gst_tee_release_pad),
11750         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11751         (gst_tee_sink_activate_pull):
11752         * plugins/elements/gsttee.h:
11753         Some tee loving:
11754         Add default property defines.
11755         Implement release pad function.
11756         Give properties better blubs etc.
11757         Activate pads before adding them to a running tee.
11758         Do simple buffer_alloc on the first requested pad.
11759         Post error when activation fails.
11760
11761 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11762
11763         * gst/gst.c: (ensure_current_registry_forking):
11764           Check return value of write() to make compiler happy.
11765
11766 2006-10-11  Wim Taymans  <wim@fluendo.com>
11767
11768         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11769
11770         * plugins/elements/gstqueue.c: (gst_queue_chain):
11771         Recheck queue filledness after signalling the overrun when we're about
11772         to leak downstream because we released the lock when emitting the signal
11773         and the queue could be empty again. Fixes #352345.
11774
11775 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11776
11777         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11778           Fix refcounting here too, just like we did for _new_valist() a few
11779           days ago (#357180) (thanks to René Stadler). Also remove all those
11780           'Since: 0.9' from the gtk-doc blobs.
11781
11782         * tests/check/libs/controller.c: (controller_refcount_new_list),
11783         (gst_controller_suite):
11784           Unit test for the above.
11785
11786 2006-10-10  Wim Taymans  <wim@fluendo.com>
11787
11788         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11789
11790         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11791         (gst_pad_save_thyself):
11792         Update some docs.
11793         Write pad direction in XML output. Fixes #345496.
11794
11795 2006-10-10  Wim Taymans  <wim@fluendo.com>
11796
11797         Patch by: René Stadler <mail at renestadler dot de>
11798
11799         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11800         (gst_controller_new_list), (_gst_controller_dispose),
11801         (_gst_controller_finalize), (_gst_controller_class_init):
11802         Take ref to controlled object so that it cannot disappear. 
11803         Fixes #357432.
11804
11805 2006-10-10  Wim Taymans  <wim@fluendo.com>
11806
11807         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11808         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11809         (gst_check_teardown_sink_pad):
11810         Activate/deactivate pads in setup/teardown respectively.
11811
11812 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11813
11814         Patch by: Josep Torra Valles <josep@fluendo.com>
11815
11816         * gst/Makefile.am:
11817         Cast values when making gstenumtypes.h.  This pacifies Forte
11818         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11819         in the enumeration.
11820
11821 2006-10-09  Wim Taymans  <wim@fluendo.com>
11822
11823         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11824         Rename some more @cur to @start to fix docs. 
11825
11826         * gst/gstsegment.c: (gst_segment_set_seek):
11827         Fix typo.
11828         time and start must always stay in sync as defined in design doc.
11829
11830         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11831         Rename param to fix docs.
11832
11833         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11834         Check that start and time are in sync.
11835
11836         * tests/check/pipelines/parse-launch.c:
11837         (gst_parse_test_element_change_state):
11838         Activate pad before adding to the element.
11839
11840 2006-10-09  Wim Taymans  <wim@fluendo.com>
11841
11842         * docs/design/part-qos.txt:
11843         Fix typo.
11844
11845         * gst/gstevent.c:
11846         * gst/gstevent.h:
11847         Update seek event docs regarding negative rates.
11848         Rename @cur to @start. 
11849
11850         * gst/gstsegment.c: (gst_segment_set_seek):
11851         * gst/gstsegment.h:
11852         Update set_seek docs regarding negative rates.
11853         Correctly update last_stop to @stop when dealing with negative
11854         rates.
11855         Rename @cur to @start. 
11856
11857         * tests/check/gst/gstpad.c: (GST_START_TEST):
11858         Activate pads before trying to use them.
11859
11860         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11861         (gst_segment_suite):
11862         Add simple check for segments and negative rates.
11863
11864 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11865
11866         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11867         * gst/gsttaglist.h:
11868         * docs/gst/gstreamer-sections.txt:
11869           API: add gst_tag_list_is_empty() (#360467).
11870
11871         * tests/check/gst/gsttag.c: (GST_START_TEST):
11872           And a test case.
11873
11874 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11875
11876         * gst/gstmessage.h:
11877         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11878         a value that doesn't fit on enumeration.
11879
11880 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11881
11882         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11883         Remove local debugging system and use Gstreamer's instead.
11884
11885 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11886
11887         Patch by: Josep Torra Valles <josep@fluendo.com>
11888
11889         * common/m4/gst-error.m4:
11890         Disable warning of statement not reached on Forte.
11891         * gst/gstmessage.h:
11892         Fix warning on Forte (value doesn't fit on enumeration).
11893         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11894         Fix warning on Forte (value doesn't fit on enumeration).
11895         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11896         DEBUG macro says it takes minimum of 2 args and so Forte
11897         complains about the use with just 1 arg.
11898         * plugins/elements/gstfdsink.c:
11899         * plugins/elements/gstfdsrc.c:
11900         * plugins/elements/gstfilesink.c:
11901         * plugins/elements/gstfilesrc.c:
11902         Use correct return type for the uri handler implementations.
11903
11904         All these fix warnings in Forte.  Fixes bug #360860.
11905
11906 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11907
11908         * gst/gstelement.h:
11909           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11910           format string, so don't use G_GNUC_PRINTF for those versions.
11911
11912 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11913
11914         * gst/gsttaglist.c: (gst_is_tag_list):
11915         * gst/gsttaglist.h:
11916           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11917
11918         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11919           Small test for the above.
11920
11921 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11922
11923         * gst/gsttaglist.h:
11924           Less tabs, more spaces.
11925
11926 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11927
11928         * gst/gstinfo.h:
11929           Those two function declarations do actually belong there, revert
11930           commit from yesterday that turned them intro macros.
11931
11932 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11933
11934         Patch by: Josep Torra Valles <josep@fluendo.com>
11935
11936         * gst/gst.c: (gst_init_get_option_group):
11937         Fix empty declaration and type mismatch.
11938         * gst/gstbin.c: (gst_bin_change_state_func):
11939         Fix type mismatch.
11940         * gst/gstelement.c: (gst_element_continue_state),
11941         (gst_element_set_state_func), (gst_element_change_state),
11942         (gst_element_change_state_func):
11943         Fix type mismatches.
11944         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11945         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11946         Cast as appropriate.
11947         * gst/gstobject.c: (gst_class_signal_connect):
11948         Cast as appropriate.  The function pointer parameter really
11949         has the wrong type but would break API if we change it.
11950         * gst/gstquery.c:
11951         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11952         order of including string.h.
11953         * gst/gstutils.c: (gst_element_state_get_name):
11954         Remove unreachable line.
11955         * gst/gstxml.c: (gst_xml_parse_doc):
11956         Fix type mismatch.
11957         All these caught by Forte.
11958
11959 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11960
11961         Patch by: Josep Torra Valles <josep@fluendo.com>
11962
11963         * common/m4/gst-error.m4:
11964         Fixed bug #360151.
11965         We need to disable warnings on Forte for empty declarations
11966         due to gst-indent adding ;s to lines that just use macros
11967         where the macro actually doesn't need a ; at end to end
11968         statement.
11969
11970 2006-10-06  Wim Taymans  <wim@fluendo.com>
11971
11972         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11973         (gst_file_sink_close_file), (gst_file_sink_event),
11974         (gst_file_sink_render):
11975         Add some FIXME for the NEWSEGMENT handling.
11976
11977 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11978
11979         * gst/parse/grammar.y:
11980         Remove static function gst_parse_element_lock as all it does
11981         is return.  Looks like cruft from 0.8.
11982
11983 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11984
11985         Patch by: Josep Torra Valles <josep@fluendo.com>
11986
11987         * common/m4/gst-error.m4:
11988         * configure.ac:
11989         * libs/gst/net/Makefile.am:
11990         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11991         libresolv.
11992
11993 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11994
11995         * gst/gstpad.c: (pre_activate):
11996         * gst/gstregistry.c: (gst_registry_scan_path_level):
11997         * gst/gstregistryxml.c: (load_plugin):
11998         * libs/gst/controller/gstcontroller.c:
11999         (gst_controlled_property_set_interpolation_mode):
12000         * libs/gst/dataprotocol/dataprotocol.c:
12001         (gst_dp_packet_from_event_1_0):
12002         * libs/gst/net/gstnetclientclock.c:
12003         (gst_net_client_clock_observe_times):
12004         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12005           Printf fixes.
12006
12007 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12008
12009         * configure.ac:
12010         * docs/gst/gstreamer-sections.txt:
12011         * gst/gstconfig.h.in:
12012         * gst/gstelement.h:
12013         * gst/gstinfo.h:
12014           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12015           whether we can use G_GNUC_PRINTF in other header files and at
12016           least check the printf format/arguments of debug messages and
12017           GST_ELEMENT_ERROR messages when the printf extension is not
12018           being used.
12019           Replace more tabs with spaces in gstinfo.h and remove two spurious
12020           function declarations in GST_DISABLE_DEBUG part with macros.
12021
12022 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12023
12024         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12025           More docs for the sync-message signal (mention that it is not
12026           emitted by default); log message structures of messages posted on
12027           the bus as well.
12028
12029 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12030
12031         * gst/gst.c: (ensure_current_registry_forking):
12032         Use a pipe pair to receive status results from the forked child, and
12033         ignore the result from waitpid. Fixes #355499
12034
12035 2006-10-02  Wim Taymans  <wim@fluendo.com>
12036
12037         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12038         (gst_ghost_pad_suite):
12039         Fix leak in check.
12040
12041 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12042
12043         * gst/gstpad.c:
12044           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12045
12046 2006-10-02  Edward Hervey  <edward@fluendo.com>
12047
12048         * docs/design/part-block.txt:
12049         Further explain the use of flushing on blocked pads.
12050         * docs/gst/gstreamer-sections.txt:
12051         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12052         (gst_pad_push_event):
12053         * gst/gstpad.h:
12054         Added new GstPadFlag : GST_PAD_BLOCKING.
12055         Adds the notion of pads really blocking, which enables to properly
12056         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12057         Fixes #358999
12058         API: gst_pad_is_blocking()
12059         API: GST_PAD_IS_BLOCKING() macro
12060         API: GST_PAD_BLOCKING GstPadFlag
12061         
12062 2006-10-02  Wim Taymans  <wim@fluendo.com>
12063
12064         Patch by: mrcgran <mrc.gran at gmail dot com>
12065
12066         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12067         Filter the proxied caps against the padtemplate if we have one.
12068
12069         * gst/gstquery.c: (gst_query_new_segment):
12070         Add include for gstinfo.h so that compilation with
12071         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12072
12073 2006-10-02  Wim Taymans  <wim@fluendo.com>
12074
12075         Patch by: Alessandro Decina  <alessandro at nnva org>
12076
12077         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12078         (gst_file_sink_set_location), (gst_file_sink_open_file),
12079         (gst_file_sink_close_file), (gst_file_sink_event),
12080         (gst_file_sink_render):
12081         Set file to NULL when closing filesink so that we can set a new filename
12082         in READY. Fixes #358613.
12083
12084 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12085
12086         Patch by: Alessandro Decina  <alessandro at nnva org>
12087
12088         * gst/gstevent.c: (_gst_event_copy):
12089           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12090           with event structures by setting the parent refcount address of the
12091           copied structure to the address of the refcount member of the newly
12092           copied event rather than the address of the refcount member of the
12093           original event. Fixes #358737.
12094
12095         * tests/check/gst/gstevent.c: (GST_START_TEST):
12096           Unit test for the above.
12097
12098 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12099
12100         * docs/design/Makefile.am:
12101           Dist some more files.
12102
12103 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12104
12105         * tests/check/libs/controller.c: (GST_START_TEST),
12106         (gst_controller_suite):
12107           Add test for the previous fix; add some more tests
12108           for correct refcounting behaviour; fix a few leaks
12109           in test cases; call gst_controller_init() at start
12110           of all tests.
12111
12112 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12113
12114         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12115         (gst_controller_set_from_list):
12116           Don't g_return_val_if_fail() on timed values with invalid timestamps
12117           inside a critical section without unlocking the mutex. Spotted by
12118           René Stadler. (#357617)
12119           Also, fix up refcounting properly: when returning an existing
12120           controller, we should increase the reference only once and not
12121           once per property and when trying to control a property again
12122           we should also increase the refcount.
12123
12124 2006-09-29  Wim Taymans  <wim@fluendo.com>
12125
12126         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12127         * libs/gst/net/gstnettimeprovider.c:
12128         (gst_net_time_provider_thread):
12129         Stop reading commands when EOF as well.
12130
12131         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12132         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12133         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12134         Unify description of the dump property.
12135
12136 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12137
12138         * tests/examples/manual/.cvsignore:
12139         OK, so it's actually cvsignore that needs changing. Stop laughing.
12140
12141 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12142
12143         * tests/examples/manual/Makefile.am:
12144         Gah, declare vars *before* using them
12145
12146 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12147
12148         * gst/gst.c: (init_pre), (scan_and_update_registry),
12149         (ensure_current_registry_nonforking),
12150         (ensure_current_registry_forking), (ensure_current_registry),
12151         (init_post), (gst_debug_help), (gst_deinit):
12152         * gst/gst_private.h:
12153         * gst/gstregistry.c: (gst_registry_finalize),
12154         (gst_registry_remove_features_for_plugin_unlocked),
12155         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12156         (gst_registry_scan_path),
12157         (_priv_gst_registry_remove_cache_plugins),
12158         (_priv_gst_registry_cleanup):
12159         * gst/gstregistry.h:
12160         Re-commit the registry changes, along with an extra fix:
12161           When a cached plugin is encountered at a different file path,
12162           update the stored path in the registry cache so that the parent
12163           process knows where it actually is now when it re-reads the registry
12164           cache. Fixes the thing that broke distcheck with the previous commit.
12165
12166         * tests/check/Makefile.am:
12167         Clean up files named 'core' too when running make clean.
12168
12169         * tests/examples/manual/Makefile.am:
12170         Set up a registry path for running these tests, and clean it properly
12171         for distcheck.
12172
12173 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12174
12175         * configure.ac:
12176         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12177         want gmodule-no-export-2.0.pc instead so that we don't drag in
12178         --export-dynamic on every project that links to GStreamer.
12179
12180         Also, make our export regex only match the start of symbols, rather 
12181         than any symbol that contains '_gst' somewhere.
12182
12183         * libs/gst/check/Makefile.am:
12184         The libgstcheck we build does however need export-dynamic, as it
12185         produces some symbols that don't match our _gst... style regex.
12186         Fixes: #318031
12187
12188 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12189
12190         * gst/gst.c: (init_pre), (scan_and_update_registry),
12191         (ensure_current_registry_nonforking),
12192         (ensure_current_registry_forking), (ensure_current_registry),
12193         (init_post), (gst_debug_help), (gst_deinit):
12194         * gst/gst_private.h:
12195         * gst/gstregistry.c: (gst_registry_finalize),
12196         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12197         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12198         (_gst_registry_cleanup):
12199         * gst/gstregistry.h:
12200           Revert previous change until I figure out why it breaks distcheck.
12201
12202 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12203
12204         * gst/gst.c: (init_pre), (scan_and_update_registry),
12205         (ensure_current_registry_nonforking),
12206         (ensure_current_registry_forking), (ensure_current_registry),
12207         (init_post), (gst_debug_help), (gst_deinit):
12208
12209           Make init_pre and init_post take the full complement of GOptionFunc
12210           args so they can return useful GErrors. Make the registry updating
12211           functions do so.
12212
12213           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12214           ensure that the registry we're about to write out doesn't contain
12215           stale information about old-deleted plugin files.
12216
12217           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12218           that deletion of plugin files is considered a registry change.
12219
12220         * gst/gst_private.h:
12221         * gst/gstregistry.c: (gst_registry_finalize),
12222         (gst_registry_remove_features_for_plugin_unlocked),
12223         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12224         (gst_registry_scan_path),
12225         (_priv_gst_registry_remove_cache_plugins),
12226         (_priv_gst_registry_cleanup):
12227         * gst/gstregistry.h:
12228         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12229         by adding _priv prefix, so that they won't appear in the global
12230         symbol table. They still do atm though because of #318031. Move the
12231         prototypes to gst_private.h
12232
12233         When removing a plugin, remove all features for that plugin too. 
12234         Fixes #340878.
12235
12236 2006-09-27  Wim Taymans  <wim@fluendo.com>
12237
12238         * docs/random/moving-plugins:
12239         Make it clear that the "compiled-in descriptions" really mean
12240         the element details.
12241
12242         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12243         (gst_base_sink_wait_preroll):
12244         Update docs.
12245
12246         * docs/libs/gstreamer-libs-sections.txt:
12247         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12248         (gst_base_src_get_range), (gst_base_src_activate_push):
12249         * libs/gst/base/gstbasesrc.h:
12250         Added function to block while waiting for PLAYING, this function
12251         is used by live sources that block on the clock.
12252         API: gst_base_src_wait_playing()
12253
12254 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12255
12256         Patch by: Peter Kjellerstedt <pkj at axis com>
12257
12258         * Makefile.am:
12259           gst-element-check.m4 is generated and should therefore be
12260           copied from the build dir rather than the source dir (#357593).
12261           'make distcheck' hasn't noticed this because we were disting
12262           the file as well, so stop doing that.
12263
12264 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12265
12266         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12267           Add some tests for gst_caps_intersect().
12268
12269         * tools/gst-launch.c: (event_loop):
12270           Print all buffering percentages we get, even the 100% one.
12271
12272 2006-09-26  Wim Taymans  <wim@fluendo.com>
12273
12274         * tools/gst-inspect.c: (print_element_properties_info),
12275         (print_signal_info):
12276         Fix printing of flags to match the look of enums.
12277
12278 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12279
12280         * gst/gstelementfactory.c:
12281           Fix typo in docs blurb.
12282
12283 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12284
12285         * gst/gsturi.c: (search_by_entry):
12286           Don't assert/crash here if a uri handler doesn't return any
12287           supported protocols. The list of protocols could be generated
12288           dynamically at runtime or at plugin registration, and an error
12289           in the underlying library shouldn't be fatal (#353301).
12290
12291 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12292
12293         * gst/gstinfo.c:
12294           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12295           (spotted by Peter Kjellerstedt).
12296
12297 2006-09-23  Wim Taymans  <wim@fluendo.com>
12298
12299         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12300
12301         * libs/gst/base/gstbasesrc.c:
12302         (gst_base_src_default_check_get_range), (gst_base_src_start),
12303         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12304         (gst_base_src_change_state):
12305         Match _start/_stop calls in the activate functions. Remove redundant
12306         _stop call from the state change function. Fixes #356910.
12307         Turn failure DEBUG into ERROR. 
12308
12309 2006-09-22  Wim Taymans  <wim@fluendo.com>
12310
12311         * docs/design/part-buffering.txt:
12312         * gst/gstmessage.c: (gst_message_new_buffering),
12313         (gst_message_parse_buffering):
12314         Update docs about buffering.
12315
12316         * docs/design/part-trickmodes.txt:
12317         Fix typo.
12318
12319 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12320
12321         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12322         (gst_controller_new_list):
12323           Ref instances when returning them again (fixes #357180)
12324
12325 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12326
12327         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12328           Don't forget to release proxy lock when there's an error.
12329
12330 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12331
12332         * gst/gstcaps.h:
12333           Add extra initialisers for Caps things, to fix some plugin warnings
12334           when using -Wextra
12335
12336 2006-09-18  Wim Taymans  <wim@fluendo.com>
12337
12338         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12339           Also set template on the internal pad so that a getcaps from the 
12340           target pad returns the template caps.
12341
12342 2006-09-18  Wim Taymans  <wim@fluendo.com>
12343
12344         * gst/gstelement.c: (gst_element_post_message),
12345         (gst_element_dispose):
12346         Use _DEBUG_OBJECT some more.
12347
12348         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12349         Avoid typechecks.
12350
12351         * tools/gst-launch.c: (main):
12352         If the toplevel element is not a GstPipeline, it must be put in a
12353         pipeline so that a bus and clock is selected.
12354
12355 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12356
12357         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12358           JITTER, RATE, and LATENCY query should be handled by the
12359           default case and not by the CONVERT query code.
12360
12361 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12362
12363         * gst/gstformat.c: (gst_format_register):
12364           Fix locking order (must take lock before using n_values).
12365
12366         * gst/gstvalue.c: (gst_value_serialize_enum),
12367         (gst_value_deserialize_enum_iter_cmp),
12368         (gst_value_deserialize_enum):
12369           Fix serialisation/deserialisation of custom registered GstFormats.
12370
12371         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12372           Unit test for custom format serialisation/deserialisation.
12373
12374 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12375
12376         * docs/pwg/building-boiler.xml:
12377         * plugins/elements/gstcapsfilter.c:
12378         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12379         section.
12380
12381 2006-09-16  Edward Hervey  <edward@fluendo.com>
12382
12383         * libs/gst/base/gstbasetransform.c:
12384         (gst_base_transform_buffer_alloc):
12385         Check if requested caps are the same as the sinks caps IF
12386         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12387         is FALSE.
12388         This fixes the renegotiation issues stated in #352827.
12389
12390 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12391
12392         * configure.ac:
12393         * docs/manual/advanced-autoplugging.xml:
12394         * tests/examples/Makefile.am:
12395         * tests/examples/manual/.cvsignore:
12396         * tests/examples/manual/Makefile.am:
12397         * tests/examples/manual/extract.pl:
12398           Extract the manual examples again like we used to do.
12399           Fix one of them.
12400
12401 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12402
12403         * win32/common/config.h:
12404           update for version
12405
12406 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12407
12408         * gst/gsterror.c:
12409           Documents how to receive errors.
12410
12411 2006-09-15  Wim Taymans  <wim@fluendo.com>
12412
12413         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12414         (event_loop), (main):
12415         Added some comments here and there.
12416         Post an application message when an interrupt is caught instead of doing
12417         an uncontrolled state change.
12418         Clean up the event loop.
12419         Handle buffering messages, pause/resume the pipeline.
12420         Make shutdown because of an interrupt more reliable.
12421
12422 2006-09-15  Wim Taymans  <wim@fluendo.com>
12423
12424         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12425         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12426         (gst_base_sink_preroll_object):
12427         Make sure that our internal state is correct when we commit our state
12428         asynchronously. This solves a race where a state change to PLAYING
12429         could cause the sink to remain blocked in preroll in some situations.
12430
12431 2006-09-15  Wim Taymans  <wim@fluendo.com>
12432
12433         * tools/gst-inspect.c: (print_element_properties_info),
12434         (print_signal_info):
12435         List flags as hex so it's easier to deal with.
12436
12437 2006-09-15  Wim Taymans  <wim@fluendo.com>
12438
12439         * docs/libs/gstreamer-libs-sections.txt:
12440         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12441         (gst_base_sink_do_sync):
12442         * libs/gst/base/gstbasesink.h:
12443         Expose logic to wait for preroll so that subclasses such as audiosink
12444         can also use this method.
12445         API: gst_base_sink_wait_preroll()
12446
12447 2006-09-15  Wim Taymans  <wim@fluendo.com>
12448
12449         * gst/gstobject.c: (gst_object_set_parent):
12450         * gst/gstpipeline.c: (do_pipeline_seek):
12451         Small cleanups in docs and code.
12452
12453         * gst/gstsegment.c: (gst_segment_clip):
12454         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12455         if stop == start and start is in the segment, no clipping should be
12456         done. Also add a test for this.
12457
12458 2006-09-15  Wim Taymans  <wim@fluendo.com>
12459
12460         * docs/design/part-buffering.txt:
12461         * docs/gst/gstreamer-sections.txt:
12462         * gst/gstmessage.c: (gst_message_new_buffering),
12463         (gst_message_parse_buffering):
12464         * gst/gstmessage.h:
12465         Added methods to create and parse BUFFERING messages.
12466         Added preliminary docs about buffering.
12467         API: gst_message_new_buffering
12468         API: gst_message_parse_buffering
12469
12470 2006-09-06  Wim Taymans  <wim@fluendo.com>
12471
12472         * gst/gstbin.c:
12473         Update documentation.
12474
12475         * gst/gstelement.c: (gst_element_class_init),
12476         (gst_element_release_request_pad), (gst_element_set_clock),
12477         (gst_element_get_index), (gst_element_add_pad),
12478         (gst_element_remove_pad), (gst_element_get_random_pad),
12479         (gst_element_send_event), (gst_element_get_query_types),
12480         (gst_element_query), (gst_element_post_message),
12481         (gst_element_message_full), (gst_element_continue_state),
12482         (gst_element_lost_state), (gst_element_save_thyself),
12483         (gst_element_restore_thyself):
12484         Documentation updates.
12485         Rename last bit of the new-pad -> pad-added signal rename.
12486         Fix the case where an element query would only work if the source
12487         pad was linked.
12488         Avoid some useless type checking in message handling.
12489
12490         * gst/gstevent.c:
12491         * gst/gstevent.h:
12492         * gst/gstutils.c:
12493         Documentation updates.
12494
12495 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12496
12497         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12498           add an INFO line for when we actually update the fd
12499
12500 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12501
12502         * configure.ac:
12503           back to TRUNK
12504
12505 === release 0.10.10 ===
12506
12507 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12508
12509         * configure.ac:
12510           releasing 0.10.10, "Pais"
12511
12512 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12513
12514         * docs/manual/advanced-position.xml:
12515           Fix typo in sample code.
12516
12517 2006-09-05  Wim Taymans  <wim@fluendo.com>
12518
12519         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12520         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12521         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12522         * libs/gst/net/gstnetclientclock.h:
12523         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12524         * libs/gst/net/gstnettimepacket.h:
12525         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12526         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12527         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12528         * libs/gst/net/gstnettimeprovider.h:
12529         Make stuff compile on windows. Fixes #345295.
12530
12531 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12532
12533         * gst/gst.c: (ensure_current_registry_forking):
12534           Print better details when child was terminated by signal.
12535
12536 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12537
12538         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12539           Print a warning rather than g_assert() if a plugin feature
12540           is a URI handler but returns no protocols (#353976).
12541
12542 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12543
12544         * docs/random/moving-plugins:
12545         Fix two typos.         
12546
12547 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12548
12549         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12550           Fix locking order, handle NULL function values properly.
12551
12552         * gst/gstinfo.h:
12553           Fix docs.
12554
12555         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12556           Initialise variable before using it and fix debug statement to
12557           print the address of the function rather than the address of the
12558           variable on the stack holding the address of the function.
12559
12560 2006-09-01  Wim Taymans  <wim@fluendo.com>
12561
12562         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12563         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12564         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12565         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12566         (gst_ghost_pad_parent_unset),
12567         (gst_ghost_pad_internal_do_activate_push),
12568         (gst_ghost_pad_internal_do_activate_pull),
12569         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12570         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12571         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12572         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12573         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12574         (gst_ghost_pad_new_no_target_from_template),
12575         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12576         More cleanups.
12577         Avoid needless typechecking in macros.
12578         Since the internal pad is always present and never changes, there is
12579         no need to locking or ref when retrieving it.
12580         Improve debugging a bit.
12581         Handle link errors when setting the target. Fixes #341029.
12582
12583 2006-09-01  Wim Taymans  <wim@fluendo.com>
12584
12585         * docs/libs/gstreamer-libs-sections.txt:
12586         * docs/plugins/gstreamer-plugins-sections.txt:
12587         Fix docs some more.
12588
12589         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12590         (gst_collect_pads_event):
12591         * libs/gst/base/gstcollectpads.h:
12592         Documentation updates.
12593         Free queued buffer when removing a pad.
12594
12595 2006-08-31  Michael Smith  <msmith@fluendo.com>
12596
12597         * gst/gstutils.c: (gst_element_link_pads),
12598         (gst_element_link_pads_filtered):
12599           Ensure that we set a capsfilter to NULL if we failed to link it
12600           when doing filtered linking, to avoid criticals.
12601
12602           No need to check for unreffing srcpad, which is explicly NULLed
12603           above (a trivial code cleanup).
12604
12605 2006-08-31  Wim Taymans  <wim@fluendo.com>
12606
12607         * docs/design/part-gstghostpad.txt:
12608         Update ascii art in documentation.
12609
12610         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12611         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12612         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12613         (gst_ghost_pad_internal_do_activate_push),
12614         (gst_ghost_pad_internal_do_activate_pull),
12615         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12616         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12617         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12618         (gst_ghost_pad_set_target):
12619         Small cleanups and leak fixes.
12620         Remove some checks now that the internal pad is never NULL.
12621         Fix the case where linking pads without a target would create nasty
12622         criticals. Fixes #341029.
12623         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12624         value of _set_target().
12625
12626         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12627         (gst_ghost_pad_suite):
12628         Some more tests for creating and linking untargeted ghostpads.
12629
12630 2006-08-31  Edward Hervey  <edward@fluendo.com>
12631
12632         * docs/gst/gstreamer-sections.txt:
12633         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12634         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12635         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12636         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12637         (gst_ghost_pad_new_from_template),
12638         (gst_ghost_pad_new_no_target_from_template):
12639         * gst/gstghostpad.h:
12640         Refactored *_new() functions.
12641         Templates are now used as a g_object_new() parameter.
12642         Use template in _do_getcaps() if we don't have a target.
12643         Small documentation cleanups.
12644         Added two new constructors:
12645         gst_ghost_pad_new_from_template()
12646         gst_ghost_pad_new_no_target_from_template()
12647         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12648         (gst_ghost_pad_suite):
12649         Added tests for new ghostpad instanciation functions.
12650
12651         API additions: gst_ghost_pad_new_from_template,
12652         gst_ghost_pad_new_no_target_from_template
12653
12654 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12655
12656         * docs/random/ensonic/profiling.txt:
12657           Ideas about qos profiling.
12658
12659 2006-08-29  Wim Taymans  <wim@fluendo.com>
12660
12661         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12662         Code cleanups.
12663         Fix memleak.
12664
12665 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12666
12667         * gst/gstxml.c:
12668           Improve and detypofy docs.
12669
12670         * tests/check/Makefile.am:
12671         * tests/check/gst/.cvsignore:
12672         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12673           Add a basic test suite for GstXML.
12674
12675 2006-08-29  Wim Taymans  <wim@fluendo.com>
12676
12677         * gst/gstelement.c: (activate_pads), (clear_caps),
12678         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12679         Clear the pad caps when the element shut down all of the pads and
12680         is not streaming data that could modify the caps. 
12681         Fixes #352958.
12682
12683 2006-08-28  Michael Smith  <msmith@fluendo.com>
12684
12685         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12686           Revert previous change; I misunderstood single-segment mode.
12687
12688 2006-08-28  Michael Smith  <msmith@fluendo.com>
12689
12690         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12691           Unset DISCONT on buffers when using single-segment mode.
12692
12693 2006-08-28  Wim Taymans  <wim@fluendo.com>
12694
12695         * gst/gstcaps.c: (gst_caps_merge_structure):
12696         * gst/gstcaps.h:
12697         Fix docs and indentation again.
12698
12699         * tests/check/gst/gstquery.c: (GST_START_TEST):
12700         Fix leak in tests and add some more tests.
12701
12702 2006-08-28  Edward Hervey  <edward@fluendo.com>
12703
12704         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12705         Inform GstSegment of the last stop position in order for the current
12706         segment to have a proper duration if it doesn't have a specific stop
12707         position from which a duration could be calculated.
12708         This bug was noticeable when a non-flushing, non-update new segment was
12709         followed by another segment (all buffers from the new segment were being
12710         dropped).
12711
12712 2006-08-28  Wim Taymans  <wim@fluendo.com>
12713
12714         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12715         Small comment update.
12716
12717         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12718         (gst_identity_transform_ip):
12719         Drop-probability is broken, mention this in the code with a 
12720         FIXME and also in the property description.
12721         Make silent also be silent about the drop messages.
12722
12723 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12724
12725         * docs/manual/appendix-win32.xml:
12726           Remove mention of popt, we don't depend on that any
12727           longer (#353136). Add some comments pointing out that
12728           this section is slightly outdated.
12729
12730 2006-08-28  Wim Taymans  <wim@fluendo.com>
12731
12732         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12733
12734         * gst/gstquery.c: (gst_query_new_segment):
12735         * tests/check/gst/gstquery.c: (GST_START_TEST):
12736         Initialize variables when creating a new segment query.
12737         Fixes #353121.
12738
12739 2006-08-28  Wim Taymans  <wim@fluendo.com>
12740
12741         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12742
12743         * gst/gstelement.c: (gst_element_get_bus):
12744         * tests/check/gst/gstelement.c: (GST_START_TEST):
12745         Check for NULL before _reffing the bus. Fixes #353122.
12746
12747 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12748
12749         * docs/manual/basics-bus.xml:
12750           Docs update: fix wrong callback return value explanation; add
12751           some lines about the implicit relationship between main loop
12752           and main context; remove duplicate main loop variable declaration.
12753
12754 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12755
12756         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12757           Don't leak caps in unit test; add a few more simple
12758           checks. 
12759
12760 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12761
12762         * docs/gst/gstreamer-sections.txt:
12763         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12764         (gst_caps_structure_is_subset), (gst_caps_merge),
12765         (gst_caps_merge_structure):
12766         * gst/gstcaps.h:
12767         * libs/gst/base/gstbasetransform.c:
12768         (gst_base_transform_transform_caps):
12769         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12770           implement caps merging (fixes #352580)
12771
12772 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12773
12774         * tools/Makefile.am:
12775         * tools/gst-plot-timeline.py:
12776           add debug-log plotting developer tool (#340674)
12777
12778 2006-08-23  Wim Taymans  <wim@fluendo.com>
12779
12780         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12781         (gst_pad_stop_task):
12782         Improve debugging for task functions.
12783
12784         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12785         (gst_task_start), (gst_task_pause), (gst_task_join):
12786         Make sure that the task function started and finished after a 
12787         join(). 
12788         Don't try to push the task function on the threadpool multiple
12789         times.
12790         Improve the g_warning message with some useful suggestions
12791         about how to fix the problem. 
12792
12793 2006-08-23  Wim Taymans  <wim@fluendo.com>
12794
12795         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12796         Handle RESYNC correctly in _proxy_getcaps.
12797
12798 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12799
12800         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12801         (gst_xml_parse_memory), (gst_xml_get_element):
12802           Chain up to parent class in dispose function and also
12803           unref the elements in the toplevel_elements GList.
12804           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12805           Always return a reference in gst_xml_get_element() rather
12806           than only sometimes.
12807
12808         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12809           Don't leak GstXml object.
12810
12811 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12812
12813         * docs/gst/gstreamer-sections.txt:
12814         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12815         (gst_caps_merge):
12816         * gst/gstcaps.h:
12817         * libs/gst/base/gstbasetransform.c:
12818         (gst_base_transform_transform_caps):
12819           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12820           in a better way
12821
12822 2006-08-21  Edward Hervey  <edward@fluendo.com>
12823
12824         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12825         Implement GObject::dispose virtual method in GstXML so we can free the
12826         top_elements GList.
12827
12828 2006-08-21  Wim Taymans  <wim@fluendo.com>
12829
12830         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12831         (gst_buffer_create_sub):
12832         Copy duration/offset_end/caps when creating a subbuffer of the
12833         complete parent.
12834         Make the subbuffer read-only when we make the metadata writable for
12835         now. Fixes #351768.
12836
12837         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12838         Added check for metadata copy when creating subbuffers.
12839
12840 2006-08-21  Edward Hervey  <edward@fluendo.com>
12841
12842         * libs/gst/base/gstbasetransform.c:
12843         (gst_base_transform_buffer_alloc):
12844         Only call downstream buffer_alloc if transform element is passthrough
12845         or always_in_place. Closes #350449.
12846
12847 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12848
12849         * ChangeLog:
12850           ChangeLog surgery to add comments to previous changes
12851
12852 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12853
12854         * gst/gst.c:
12855           Add comments
12856
12857         * gst/gstpad.c: (gst_pad_set_active):
12858           Be more verbose in the log
12859
12860         * libs/gst/base/gstbasetransform.c:
12861         (gst_base_transform_transform_caps):
12862           Simplify caps to get rid of duplicates, fixes #345444
12863
12864 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12865
12866         * gst/gstvalue.c:
12867         * gst/gstvalue.h:
12868           Use these optimizations only internally.
12869
12870 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12871
12872         * gst/gstvalue.c: (gst_value_compare_list),
12873         (gst_value_compare_fraction_range),
12874         (gst_value_intersect_fraction_fraction_range),
12875         (gst_value_intersect_fraction_range_fraction_range),
12876         (gst_value_subtract_fraction_fraction_range),
12877         (gst_value_subtract_fraction_range_fraction_range),
12878         (gst_value_get_compare_func), (gst_value_compare),
12879         (gst_value_compare_with_func):
12880         * gst/gstvalue.h:
12881           Saves the expensive lookup of the compare function in many cases
12882          (#345444)
12883
12884 2006-08-18  Edward Hervey  <edward@fluendo.com>
12885
12886         * tests/check/gst/gstinfo.c: (gst_info_suite):
12887         Disable test that require gstdebug if it wasn't built in core.
12888
12889 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12890
12891         * docs/random/ensonic/logging.txt:
12892           update ideas
12893           
12894         * gst/gstinfo.c: (gst_debug_log_default):
12895           reorder fields, save some columns, add optional color codes for log
12896           levels
12897
12898 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12899
12900         * docs/random/ensonic/logging.txt:
12901           add ideas about making the logs a bit more useful
12902
12903 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12904
12905         * docs/pwg/advanced-events.xml:
12906         * docs/pwg/titlepage.xml:
12907           Update for 0.10 API (#340627). Add myself
12908           to authors list.
12909
12910 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12911
12912         * docs/libs/gstreamer-libs-docs.sgml:
12913         * docs/libs/gstreamer-libs-sections.txt:
12914         * libs/gst/check/gstbufferstraw.c:
12915           Make gstcheck stuff show up in docs (still needs to
12916           be documented properly though).
12917
12918 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12919
12920         * docs/gst/gstreamer-sections.txt:
12921         * gst/Makefile.am:
12922         * gst/gst.c: (init_post):
12923         * gst/gst_private.h:
12924         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12925         * gst/gstquark.h:
12926         * gst/gstquery.c: (gst_query_new_position),
12927         (gst_query_set_position), (gst_query_parse_position),
12928         (gst_query_new_duration), (gst_query_set_duration),
12929         (gst_query_parse_duration), (gst_query_new_convert),
12930         (gst_query_set_convert), (gst_query_parse_convert),
12931         (gst_query_new_segment), (gst_query_set_segment),
12932         (gst_query_parse_segment), (gst_query_new_seeking),
12933         (gst_query_set_seeking), (gst_query_parse_seeking):
12934         Add internal helpers for pre-registering quarks from static strings
12935         and using the quark values directly instead of looking them up when
12936         creating and parsing queries. Can be used for event construction too.
12937         Closes #350432.
12938
12939 2006-08-16  Wim Taymans  <wim@fluendo.com>
12940
12941         * gst/gstbin.c:
12942         Fix bogus docs.
12943
12944 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12945
12946         * gst/gstutils.c: (gst_util_set_value_from_string):
12947           Fix memleak (#351502).
12948
12949         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12950           Add unit test for most of gst_util_set_value_from_string()
12951           (not that one would want to encourage use of this function).
12952
12953 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12954
12955         * libs/gst/check/gstcheck.h:
12956           Use const gchar * variables in fail_unless_equals_string
12957           macro to avoid compiler warnings (and don't use tabs for
12958           indenting).
12959
12960 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12961
12962         * tools/gst-launch.c: (print_tag):
12963           More space on the left for the tag names, to cater
12964           for the 'extended comment' tag (not touching the
12965           string for the first line since it's translated).
12966
12967 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12968
12969         * libs/gst/check/gstcheck.h:
12970           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12971           print something when they fail.
12972
12973 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12974
12975         * docs/gst/gstreamer-sections.txt:
12976         * gst/gsttaglist.c: (_gst_tag_initialize):
12977         * gst/gsttaglist.h:
12978           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12979           Also change merge function for GST_TAG_COMMENT to
12980           use_first.
12981
12982 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12983
12984         * gst/gstinfo.c: (gst_debug_print_object):
12985           Make GST_PTR_FORMAT print messages as well.
12986
12987         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12988         (GST_START_TEST), (gst_info_suite):
12989           More tests.
12990
12991 2006-08-14  Edward Hervey  <edward@fluendo.com>
12992
12993         * gst/gstelementfactory.c: (gst_element_register):
12994         If the GstElementClass doesn't have a GstElementDetails with all fields
12995         filled up correctly (longname, description AND author), then error out
12996         nicely instead of crashing.
12997
12998 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12999
13000         * gst/gststructure.c:
13001           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13002
13003         * gst/gstvalue.h:
13004           Expand on the difference between arrays and lists as we use them.
13005           
13006 2006-08-14  Wim Taymans  <wim@fluendo.com>
13007
13008         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13009         If the parent state change function failed, don't assume we can safely
13010         stop the source, this will be done when the pads are deactivated.
13011
13012 2006-08-14  Wim Taymans  <wim@fluendo.com>
13013
13014         * gst/gstbuffer.c:
13015         * gst/gsttask.c: (gst_task_join):
13016         Small doc updates.
13017
13018         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13019         (gst_pad_stop_task):
13020         When pad (de)activation failed for some reason, restore the old
13021         activation mode and set the pad to flushing instead of assuming the
13022         pad is deactivated.
13023         If the _task_join() failed, reinstall the task on the pad so that it can
13024         be stopped later and return an error.
13025
13026 2006-08-11  Andy Wingo  <wingo@pobox.com>
13027
13028         * configure.ac:
13029         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13030         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13031         is only for users of API that don't want to see deprecated
13032         functions in the headers; people that want to compile out
13033         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13034         CFLAGS. Fixes the build of multifdsink, or will soon..
13035
13036 2006-08-11  Wim Taymans  <wim@fluendo.com>
13037
13038         * docs/gst/gstreamer-sections.txt:
13039         Add GstClockClass vmethod docs.
13040
13041         * gst/gstcaps.h:
13042         Mark #endif with comment for associated #if
13043
13044         * gst/gstclock.c: (gst_clock_id_wait):
13045         * gst/gstclock.h:
13046         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13047         most clock implementations.
13048         Document vmethods.
13049         Flesh out docs about resolution methods.
13050         API: GstClockClass::wait_jitter
13051
13052         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13053         (gst_system_clock_async_thread),
13054         (gst_system_clock_id_wait_jitter_unlocked),
13055         (gst_system_clock_id_wait_jitter):
13056         Use base class wait_jitter variant for improved performance
13057         due to less clock polling.
13058
13059 2006-08-11  Edward Hervey  <edward@fluendo.com>
13060
13061         * gst/gst.c: (gst_init_check), (init_post):
13062         Set gst as being initialized before scanning/updating the registry,
13063         since there might be my python plugin loader that calls gst_init() and
13064         we don't want to loop back in.
13065         Closes #350879
13066
13067 2006-08-11  Wim Taymans  <wim@fluendo.com>
13068
13069         * docs/design/part-qos.txt:
13070         Bring docs in line with the code. Mostly the sign of the jitter was
13071         wrong in the docs. Fixes #349943.
13072
13073         * gst/gstclock.c:
13074         Fix the docs for the jitter.
13075
13076         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13077         (gst_event_parse_tag), (gst_event_new_buffer_size),
13078         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13079         (gst_event_new_seek), (gst_event_parse_seek),
13080         (gst_event_new_navigation):
13081         Make sure the GstStructure has no parent when creating custom
13082         events.
13083         Add some more argument checking so that we avoid 0.0 rates.
13084         Flesh out the docs for the QoS event some more.
13085
13086 2006-08-11  Wim Taymans  <wim@fluendo.com>
13087
13088         * docs/gst/gstreamer-sections.txt:
13089         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13090         (ensure_current_registry_forking), (ensure_current_registry),
13091         (parse_one_option), (parse_goption_arg), (gst_deinit),
13092         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13093         * gst/gst.h:
13094         Doc updates.
13095         Added API and command line option to disable registry forking in
13096         addition to the environment variable.
13097         Constify some static arrays.
13098         Added some more debug.
13099         Don't deinit twice.
13100         API: gst_registry_fork_is_enabled()
13101         API: gst_registry_fork_set_enabled()
13102         API: --gst-disable-registry-fork command line option
13103         Fixes #348918.
13104
13105 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13106
13107         * gst/gst.c: (gst_init):
13108           Fix typo in error message.
13109
13110 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13111
13112         * libs/gst/controller/gstcontroller.h:
13113           fix ABI size-correction
13114
13115         * tests/check/libs/gdp.c: (gst_dp_suite):
13116           make tests that use deprecated API conditional
13117
13118 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13119
13120         * docs/libs/gstreamer-libs-sections.txt:
13121         * libs/gst/controller/gstcontroller.c:
13122         (_gst_controller_get_property), (_gst_controller_set_property),
13123         (_gst_controller_init), (_gst_controller_class_init):
13124         * libs/gst/controller/gstcontroller.h:
13125         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13126         (gst_object_set_control_rate):
13127           API: add gst_object_{s,g}et_control_rate(), add private data section,
13128           fix docs
13129
13130         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13131         * libs/gst/dataprotocol/dataprotocol.h:
13132           add deprecation guards to make gtk-doc happy and allow disabling cruft
13133
13134 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13135
13136         * tests/check/Makefile.am:
13137         * tests/check/gst/.cvsignore:
13138           Let's enable the new unit test as well.
13139
13140 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13141
13142         * configure.ac:
13143         * docs/gst/gstreamer-sections.txt:
13144         * gst/gstconfig.h.in:
13145         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13146         (_gst_info_printf_extension_ptr),
13147         (_gst_info_printf_extension_segment):
13148           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13149           register that lets us easily dump GstSegments into debug
13150           logs (#350419).
13151
13152         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13153         (info_segment_format_printf_extension), (gst_info_suite):
13154           Add simple unit test that logs a bunch of different segments (not
13155           valgrinded at the moment because of leaks in
13156           gst_debug_add_log_function).
13157
13158 2006-08-09  Edward Hervey  <edward@fluendo.com>
13159
13160         * libs/gst/base/gstbasetransform.c:
13161         (gst_base_transform_buffer_alloc):
13162         Even if we can't figure out the proper format to request downstream,
13163         call buffer_alloc() downstream with the input parameters without setting
13164         the caps on the srcpad. This will force negotiation in the chain
13165         function.
13166         Closes #350449
13167
13168 2006-08-08  Edward Hervey  <edward@fluendo.com>
13169
13170         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13171         Unlinking from a pad without a target is now a perfectly valid case
13172         which should NOT raise an assertion.
13173         This case would happen if a linked ghostpad its target set to NULL after
13174         it was previously linked.
13175
13176 2006-08-08  Edward Hervey  <edward@fluendo.com>
13177
13178         * tests/check/libs/gdp.c:
13179         Also comment out the test (see below).
13180
13181 2006-08-08  Edward Hervey  <edward@fluendo.com>
13182
13183         * tests/check/libs/gdp.c: (gst_dp_suite):
13184         Use the architecture information from config.h and not gcc macros
13185         in order to properly disable a test that fails on PPC64.
13186
13187 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13188
13189         * gst/gstelement.c: (gst_element_remove_pad):
13190           Don't crash printing the warning if the pad has no parent.
13191
13192 2006-08-02  Wim Taymans  <wim@fluendo.com>
13193
13194         * libs/gst/dataprotocol/dataprotocol.c:
13195         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13196         (gst_dp_crc), (gst_dp_header_payload_length),
13197         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13198         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13199         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13200         (gst_dp_event_from_packet), (gst_dp_validate_header),
13201         (gst_dp_validate_payload):
13202         Make debug category static
13203         Constify the crc table.
13204         Do some more arg checking in public functions.
13205         Fix some docs and do some small cleanups.
13206
13207         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13208         Add some more checks to see if GDP deals with bogus input.
13209
13210 2006-07-31  Wim Taymans  <wim@fluendo.com>
13211
13212         * gst/gstvalue.c: (gst_value_compare_list):
13213         Fix GstValueList comparison code. Fixes #347293.
13214
13215         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13216         Check to test GstValueList comparison.
13217
13218 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13219
13220         * gst/gstelementfactory.c: (gst_element_factory_create):
13221         Remove unnecessary ref/unref pair
13222
13223         * gst/parse/grammar.y:
13224         Make sure to free the parse buffer on all code paths.
13225         Move a g_free up to the error handler where it's easier to see.
13226
13227         * tests/check/gst/gstevent.c: (test_event):
13228         Extending timeout for downstream travelling events to 10 seconds to
13229         hopefully avoid intermittent failure on the buildbots.
13230
13231         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13232         Don't manually set the state of the src element - it will happen as a
13233         natural consequence of the pipeline changing state, and that way it
13234         will do it in the right order too.
13235
13236 2006-07-31  Wim Taymans  <wim@fluendo.com>
13237
13238         * libs/gst/base/gstbasetransform.c:
13239         (gst_base_transform_buffer_alloc):
13240         Use OBJECT_LOCK and refcounting to get the pad caps in the
13241         buffer_alloc function because the caps could change while we are
13242         busy with them. Fixes #349105
13243
13244 2006-07-31  Wim Taymans  <wim@fluendo.com>
13245
13246         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13247         Protect _PAD_CAPS with OBJECT_LOCK.
13248
13249 2006-07-31  Wim Taymans  <wim@fluendo.com>
13250
13251         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13252         (gst_pad_get_property), (gst_pad_activate_pull),
13253         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13254         (gst_pad_set_activate_function),
13255         (gst_pad_set_activatepull_function),
13256         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13257         (gst_pad_set_getrange_function),
13258         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13259         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13260         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13261         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13262         (gst_pad_set_acceptcaps_function),
13263         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13264         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13265         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13266         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13267         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13268         (gst_pad_configure_sink), (gst_pad_configure_src),
13269         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13270         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13271         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13272         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13273         (gst_pad_send_event):
13274         Use _DEBUG_OBJECT when it makes sense.
13275         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13276         Small cleanups and code reflows.
13277         Avoid caps refcounting in _accept_caps.
13278         Refactor alloc_buffer so that the code performed on the peer is in a
13279         separate function. Also if the pad does not implement a buffer alloc
13280         function, we should still check if the pad is flushing before falling
13281         back to the default allocator.
13282
13283 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13284
13285         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13286         Make all uses of identity and fakesink have silent=true to avoid
13287         serialising every passing data structure, which is breaking tests
13288         on FC4 for some unknown reason.
13289
13290 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13291
13292         * gst/parse/Makefile.am:
13293         * gst/parse/grammar.y:
13294         * gst/parse/parse.l:
13295           Reverted previous patch as it required to bump the flex dependency to
13296           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13297
13298 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13299
13300         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13301
13302         * gst/parse/Makefile.am:
13303         * gst/parse/grammar.y:
13304         * gst/parse/parse.l:
13305           push & pop the state of the lexer for reentrant use case
13306           Fixes #349180
13307
13308 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13309
13310         * libs/gst/base/gstbasesrc.h:
13311           Note in the docs that the ::newsegment vfunc is not actually used by
13312           GstBaseSrc.
13313
13314 2006-07-28  Wim Taymans  <wim@fluendo.com>
13315
13316         * libs/gst/base/gstcollectpads.c:
13317         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13318         (gst_collect_pads_clear), (gst_collect_pads_flush),
13319         (gst_collect_pads_event), (gst_collect_pads_chain):
13320         When flushing a pad, also clear the queued buffer so that we don't
13321         accidentally use it when we shouldn't.
13322         Fix leaks by inreffing incomming buffer.
13323         Flush out queued buffers in case of errors.
13324         Fixes #347452.
13325
13326 2006-07-28  Wim Taymans  <wim@fluendo.com>
13327
13328         * docs/random/phonon-gst:
13329         Random notes about a Phonon backend.
13330
13331 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13332
13333         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13334         Extra debug output
13335         * tests/check/libs/gdp.c: (gst_dp_suite):
13336         Take a whack at fixing the ppc compile using a different define to
13337         disable the broken test.
13338
13339         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13340         Remove excess g_print()
13341
13342 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13343
13344         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13345         Oops, meant to uncomment this line too to dampen the noise a bit.
13346
13347 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13348
13349         * gst/parse/grammar.y:
13350         * gst/parse/parse.l:
13351         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13352         (GST_START_TEST), (parse_suite):
13353         Fix some of the leaks exposed by extending the parse-launch testsuite,
13354         and move the 3 I can't figure out into a separate test that won't run
13355         the pipelines unless the appropriate line is uncommented.
13356
13357 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13358
13359         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13360           Requesting 0 bytes before the end of the file should result in
13361           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13362           unit test.
13363
13364 2006-07-27  Wim Taymans  <wim@fluendo.com>
13365
13366         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13367         Fix useless assert, a uint is always positive.
13368
13369         * gst/gststructure.c: (gst_structure_nth_field_name),
13370         (gst_structure_foreach), (gst_structure_map_in_place):
13371         Check input arguments for public functions to avoid obvious crashes.
13372
13373         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13374         * plugins/elements/gstfakesink.h:
13375         Do less useless typechecking.
13376
13377 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13378
13379         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13380           Do not use mmap() by default since there are a number of error
13381           conditions that we would like to handle in a non-fatal way that
13382           will result in a SIGBUS if we use mmap(). Examples: external
13383           devices (USB harddrive, portable music player) being unplugged
13384           while in use; file on mounted CD/DVD that can't be read because
13385           the medium is partly damaged. Fixes #348455 and #348475.
13386
13387 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13388
13389         * gst/gstquery.h:
13390         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13391         rates are a gdouble
13392
13393 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13394
13395         * gst/gstregistry.c:
13396           Move big documentation comment into class section header, so that it
13397           appears in the API docs.
13398
13399 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13400
13401         * docs/gst/gstreamer-sections.txt:
13402         Oops. Commit the docs additions too for new API.
13403         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13404
13405 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13406
13407         * gst/gststructure.c: (gst_structure_id_set),
13408         (gst_structure_id_set_valist):
13409         * gst/gststructure.h:
13410         Add API for setting values into structures without performing
13411         a quark lookup, if the appropriate quark is already known.
13412
13413         API: gst_structure_id_set
13414         API: gst_structure_id_set_valist
13415
13416         * gst/parse/grammar.y:
13417         * gst/parse/parse.l:
13418         Remove some dead code shown by the coverage information.
13419         Don't throw a critical g_warning when encountering a syntax error,
13420         just warn and let the normal error path handle it.
13421
13422         * plugins/elements/gstelements.c:
13423         Bump the rank of filesink up to PRIMARY so that it is preferred over
13424         gnomevfssink for file:// sink uri's
13425
13426         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13427         (GST_START_TEST), (run_delayed_test),
13428         (gst_parse_test_element_base_init),
13429         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13430         (gst_parse_test_element_change_state),
13431         (gst_register_parse_element), (parse_suite):
13432         Beef up the tests for parse syntax to check that more error cases
13433         fail as they are supposed to. Increases the test coverage a bit.
13434
13435 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13436
13437         * docs/manual/basics-elements.xml:
13438           Fix gst_element_link() example.
13439
13440         * gst/gstutils.c:
13441           Mention in API docs that one should usually gst_bin_add()
13442           elements to a bin or pipeline before doing the linking.
13443           
13444 2006-07-26  Wim Taymans  <wim@fluendo.com>
13445
13446         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13447         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13448         Avoid function call for known types by keeping the buffer and
13449         subbuffer GType global.
13450
13451         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13452         Random silly optimisations in read() path.
13453
13454 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13455
13456         * tools/gst-launch.c: (main):
13457           If the top-level of the parse is a normal bin, it doesn't do the
13458           right logic to run as a top-level element, so place it inside a
13459           pipeline.
13460
13461 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13462
13463         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13464           Remove superfluous g_object_notify() calls, GObject does
13465           that for us automatically.
13466
13467 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13468
13469         * gst/gstinfo.h:
13470           on Win32, use dllspec to export the debug category symbols
13471
13472 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13473
13474         * gst/gsttaglist.c: (_gst_tag_initialize):
13475           Allow more than one GST_TAG_IMAGE per taglist.
13476
13477 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13478
13479         * gst/gstminiobject.c:
13480           update docs
13481         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13482         (gst_fd_src_create):
13483           log recurring events at LOG level
13484           add more debug for when the fd gets set
13485
13486 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13487
13488         * gst/gstparse.c: (gst_parse_launch):
13489           Also remove reentrance checks if flex is MT safe (#348179)
13490          Fix my empty ChangeLog entry below
13491
13492 2006-07-21  Andy Wingo  <wingo@pobox.com>
13493
13494         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13495
13496         * libs/gst/check/Makefile.am
13497         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13498         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13499         * libs/gst/check/gstbufferstraw.h:
13500         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13501         functions, thus proving I am still a GStreamer haxor. OK I wrote
13502         them a long time ago, but anyways.
13503
13504 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13505
13506         * configure.ac:
13507         * gst/gstparse.c: (gst_parse_launch):
13508           Check for flex version and omit mutex if we have a MT save flex
13509           (fixes #348179)
13510
13511 2006-07-21  Wim Taymans  <wim@fluendo.com>
13512
13513         * gst/gstparse.c: (gst_parse_launch):
13514         Protect recursive calls to _parse with a recursive mutex
13515         and busy flag.
13516
13517 2006-07-21  Wim Taymans  <wim@fluendo.com>
13518
13519         * tests/check/gst/gstpad.c: (GST_START_TEST):
13520         Fix leak in test.
13521
13522 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13523
13524         * gst/gstparse.c: (gst_parse_launch):
13525           Do not hang on recursive usage of gst_parse_launch()
13526
13527 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13528
13529         * gst/gsttaglist.c:
13530           Add some more docs, comments and FIXME 0.11s here and there
13531           and also fix some typos.
13532
13533 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13534
13535         * gst/gstsegment.h:
13536           Convert tabs to spaces for better readability. 
13537
13538 2006-07-20  Edward Hervey  <edward@fluendo.com>
13539
13540         * tests/check/libs/gdp.c: (gst_dp_suite):
13541         the test_buffer test fails at line 140 on ppc64 at the following
13542         check:
13543         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13544                 GST_BUFFER_FLAG_IN_CAPS),
13545                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13546         See bug #348114 for more details.
13547
13548 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13549
13550         * docs/pwg/advanced-scheduling.xml:
13551         * gst/gstpad.c:
13552           Fix typos (#348000).
13553
13554 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13555
13556         * docs/pwg/intro-basics.xml:
13557           Fix wrong links (#347927).
13558
13559 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13560
13561         * gst/gstregistry.h:
13562         * gst/gstregistryxml.c: (load_feature),
13563         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13564         * win32/common/config.h:
13565           make --disable-index work (#342564)
13566
13567 2006-07-18  Wim Taymans  <wim@fluendo.com>
13568
13569         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13570
13571         * gst/Makefile.am:
13572         * gst/gsttrace.h:
13573         The attached patch adds two missing defines to gsttrace.h when tracing
13574         is disabled.  It also corrects one existing define.
13575         Fixes #347756.
13576
13577 2006-07-17  Wim Taymans  <wim@fluendo.com>
13578
13579         * docs/gst/gstreamer-sections.txt:
13580         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13581         * gst/gst.h:
13582         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13583         Add two functions to check and change the SIGSEGV behaviour
13584         when loading plugins.
13585         Don't mess with the SIGSEGV handler when we were told not to.
13586         Fixes #347794.
13587         API: gst_segtrap_is_enabled
13588         API: gst_segtrap_set_enabled
13589
13590 2006-07-14  Wim Taymans  <wim@fluendo.com>
13591
13592         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13593         * tests/check/elements/filesrc.c: (GST_START_TEST):
13594         Revert fix for regression in #347408 after release.
13595
13596 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13597
13598         Patch by: Antoine Tremblay <hexa00 at gmail com>
13599
13600         * gst/gstutils.c: (gst_element_unlink):
13601           Free iterator when done (#347311).
13602
13603         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13604           And add a test case for this.
13605
13606 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13607
13608         * configure.ac:
13609         Bump nano back to CVS
13610
13611 === release 0.10.9 ===
13612
13613 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13614
13615         * configure.ac:
13616           releasing 0.10.9, "On the road again"
13617
13618 2006-07-13  Wim Taymans  <wim@fluendo.com>
13619
13620         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13621         * tests/check/elements/filesrc.c: (GST_START_TEST):
13622         Revert pull-0 fix for release. Disable check. Fixes #347408.
13623
13624 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13625
13626         * libs/gst/dataprotocol/dataprotocol.c:
13627         (gst_dp_event_from_packet_1_0):
13628           Fixes #347337: failure to deserialize event packets with
13629           empty payload (only event type)
13630
13631 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13632
13633         * gst/Makefile.am:
13634           do not install a .c file in the header directory
13635
13636 2006-07-13  Edward Hervey  <edward@fluendo.com>
13637
13638         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13639         GhostPad no longer implicitely use the padtemplates of the targets.
13640         Fixes #347384
13641
13642 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13643
13644         * gst/gstvalue.c: (gst_value_compare_list),
13645         (gst_value_compare_array), (_gst_value_initialize):
13646         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13647         Make GstValueArray comparison be order dependent as designed.
13648         Add checks for value lists and value array comparisons.
13649         Fixes #347221
13650
13651 2006-07-11  Edward Hervey  <edward@fluendo.com>
13652
13653         * gst/gstbin.c: (activate_pads),
13654         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13655         (gst_bin_change_state_func):
13656         (de)activate src pads before calling state_change on the childs.
13657         This is to avoid the case where a src ghostpad is blocked (holding the
13658         stream lock), which would block the deactivation of the ghostpad's
13659         target pad.
13660         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13661         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13662         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13663         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13664         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13665         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13666         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13667         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13668         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13669         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13670         (gst_ghost_pad_class_init),
13671         (gst_ghost_pad_internal_do_activate_push),
13672         (gst_ghost_pad_internal_do_activate_pull),
13673         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13674         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13675         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13676         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13677         GhostPads now create their internal GstProxyPad at creation (and not
13678         when they're linked, as it was being done previously).
13679         The internal and target pads are linked straight away.
13680         The data will also travel through the other pad in order to make
13681         pad blocking and probes non-hackish (the probe/block now really happens
13682         on the GhostPad and not on the target).
13683         * gst/gstpad.c: (gst_pad_set_blocked_async),
13684         (gst_pad_link_prepare), (gst_pad_push_event):
13685         Remove previous ghostpad cruft.
13686         * gst/gstutils.c: (gst_pad_add_data_probe),
13687         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13688         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13689         (gst_pad_remove_buffer_probe):
13690         Remove previous ghost pad cruft.
13691         Added more detailed debug statements.
13692         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13693         Fix the testsuite for refcounting changes.
13694         The comments about who has references were correct, but the refcount
13695         being checked wasn't the same (!?!).
13696
13697         Fixes #341029
13698
13699 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13700
13701         * docs/gst/gstreamer-sections.txt:
13702         * gst/gstconfig.h.in:
13703         More docs for configuration options, add docs to gtk-doc.
13704
13705 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13706
13707         * gst/Makefile.am:
13708         * gst/gstconfig.h.in:
13709         * win32/common/config.h:
13710         Fix build when disabling tracing (fixes #344016). Also start to document
13711         the defines that disable the sub-systems.
13712
13713 2006-07-10  Edward Hervey  <edward@fluendo.com>
13714
13715         * gst/gst.c: (ensure_current_registry_forking):
13716         let's make valgrind happy...
13717
13718 2006-07-09  Wim Taymans  <wim@fluendo.com>
13719
13720         * gst/gstelement.c: (activate_pads),
13721         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13722         Better pad activation code: Reset the collect value too on resync.
13723         Add some comments.
13724
13725 2006-07-09  Wim Taymans  <wim@fluendo.com>
13726
13727         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13728         (gst_pad_activate_push):
13729         Use some more macros where it makes sense.
13730         Allow pad mode switching instead of asserting. When a pad
13731         is activated in one mode and we activate it in another, 
13732         deactivate it first before activating it in a different mode.
13733         Fixes #329198.
13734
13735 2006-07-08  Andy Wingo  <wingo@pobox.com>
13736
13737         * tools/gst-launch.c (main): Handle err == NULL.
13738
13739         * gst/gst.c (init_post, ensure_current_registry)
13740         (ensure_current_registry_forking)
13741         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13742         factoring out the registry scanning into separate functions. Don't
13743         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13744         Better environment var name/interface suggestions accepted.
13745
13746 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13747
13748         * gst/gstobject.c: (gst_object_set_name_default),
13749         (gst_object_set_name):
13750           Random micro-optimisation: don't use a hash table
13751           with strings as keys and the usual strdup/strcmp
13752           involved, but rather just use the GQuark of the
13753           type name as key, since it needs to be looked up
13754           anyway to get the type name string.
13755
13756         * tests/check/gst/gstobject.c: (GST_START_TEST):
13757           Fix various leaks.
13758
13759 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13760
13761         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13762         (gst_bin_iterate_all_by_interface):
13763           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13764           GTypes are gulongs and thus the top 4 bytes might be cut
13765           off on some platforms when doing GPOINTER_TO_INT, leading
13766           to invalid GTypes and bad things happening (see RH bug #179654).
13767           Also add a check to make sure the type passed in is really
13768           an interface type.
13769
13770 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13771
13772         * .cvsignore:
13773           Ignore more.
13774
13775 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13776
13777         * Makefile.am:
13778         * configure.ac:
13779         * gst-element-check.m4:
13780         * gst-element-check.m4.in:
13781           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13782           instead of the unversioned gst-inspect (#324176, #168659).
13783
13784 2006-07-06  Wim Taymans  <wim@fluendo.com>
13785
13786         * gst/gstmessage.h:
13787         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13788         warnings.
13789
13790 2006-07-06  Wim Taymans  <wim@fluendo.com>
13791
13792         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13793         (gst_base_src_wait), (gst_base_src_update_length),
13794         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13795         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13796         (gst_base_src_loop), (gst_base_src_start),
13797         (gst_base_src_activate_pull):
13798         Update docs.
13799         blocksize == 0 now means the default blocksize when working in push
13800         based mode.
13801         Remove some pointless asserts in _wait function.
13802         Fix offset/length calculations and EOS handling. We can now pull 0
13803         bytes as well, which is allowed.
13804         use _check_get_range() to decide if we can operate in _pull based
13805         mode.
13806         Fix refcounting leak when check_get_range function was not 
13807         implemented.
13808         API GstBaseSrc::blocksize range can be 0 too now (default)
13809
13810         * tests/check/elements/filesrc.c: (GST_START_TEST),
13811         (filesrc_suite):
13812         Added check to test _get_range() behaviour.
13813
13814 2006-07-06  Wim Taymans  <wim@fluendo.com>
13815
13816         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13817         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13818         (gst_pad_pull_range):
13819         * gst/gstpad.h:
13820         Lots of comments and docs added to the pad functions.
13821         Flesh out the expected behaviour of the get_range() functions.
13822
13823 2006-07-06  Wim Taymans  <wim@fluendo.com>
13824
13825         * gst/gstbus.h:
13826         * gst/gstclock.h:
13827         * gst/gstevent.h:
13828         * gst/gstiterator.h:
13829         * gst/gstpad.h:
13830         * gst/gstplugin.h:
13831         * gst/gsttask.h:
13832         Remove comma at end of enumerator list. 
13833
13834 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13835
13836         * win32/common/libgstbase.def:
13837         * win32/common/libgstdataprotocol.def:
13838         * win32/common/libsgtreamer.def:
13839         Add new exported functions.
13840
13841 2006-07-05  Wim Taymans  <wim@fluendo.com>
13842
13843         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13844         Add some more docs here and there.
13845
13846 2006-07-05  Wim Taymans  <wim@fluendo.com>
13847
13848         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13849         (gst_base_sink_loop), (gst_base_sink_get_position):
13850         When operating in pull mode update the offset so that we
13851         read sequentially.
13852
13853 2006-07-05  Wim Taymans  <wim@fluendo.com>
13854
13855         * gst/gstregistryxml.c: (read_string):
13856         Avoid strdup. (will happen in libxml, but hey!)
13857
13858         * gst/gsturi.c:
13859         Add some more docs.
13860
13861 2006-07-05  Wim Taymans  <wim@fluendo.com>
13862
13863         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13864         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13865         (gst_buffer_suite):
13866         No point in checking if the size of the subbuffer > 0, the
13867         code handles it correclty as demonstrated by unit test.
13868         Also add a unit test for the zero sized _new_and_alloc and
13869         _copy. Fixes #346663.
13870
13871 2006-07-05  Wim Taymans  <wim@fluendo.com>
13872
13873         * libs/gst/base/gstbasetransform.c:
13874         (gst_base_transform_prepare_output_buffer),
13875         (gst_base_transform_buffer_alloc),
13876         (gst_base_transform_handle_buffer):
13877         Make sure the buffer we pass to transform_ip has a refcount of
13878         1 and thus is writable. Fixes #343196
13879
13880 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13881
13882         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13883         (gst_file_src_init), (gst_file_src_set_property),
13884         (gst_file_src_get_property), (gst_file_src_map_region):
13885         * plugins/elements/gstfilesrc.h:
13886         Add "sequential" property, off by default, to use madvise and hint
13887         to the kernel that sequential access is desired.
13888         Touch all retrieved pages by default to ensure they are pulled
13889         into memory. (Closes #345720)
13890
13891 2006-07-03  Wim Taymans  <wim@fluendo.com>
13892
13893         * docs/design/part-block.txt:
13894         * docs/design/part-dynamic.txt:
13895         Small docs updates.
13896
13897 2006-07-03  Wim Taymans  <wim@fluendo.com>
13898
13899         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13900         (gst_caps_unref), (gst_static_caps_get),
13901         (gst_caps_append_structure):
13902         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13903         Use GSlice when the glib we build against is >= 2.10
13904
13905 2006-07-03  Wim Taymans  <wim@fluendo.com>
13906
13907         * gst/gstelement.c: (gst_element_pads_activate):
13908         Small cleanup in pad activation code.
13909
13910 2006-07-03  Wim Taymans  <wim@fluendo.com>
13911
13912         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13913
13914         * gst/gst-i18n-app.h:
13915         * gst/gst-i18n-lib.h:
13916         * tools/gst-inspect.c: (print_signal_info):
13917         The attached patch will make the inclusion of gettext.h unconditional in
13918         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13919         libintl.h in tools/gst-inspect.c.
13920         This allows use of --disable-nls again and fixes #344642.
13921
13922 2006-07-03  Edward Hervey  <edward@fluendo.com>
13923
13924         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13925         Implement pad blocking on events according to part-block.txt.
13926         More comments on behaviour.
13927         * tests/check/gst/gstevent.c: (test_event):
13928         Send event to peer pad of blocked pad (else it will block).
13929
13930 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13931
13932         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13933         (gst_check_run_suite):
13934           if we get the wrong message, give us the types as string
13935         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13936           Fix a translatable
13937         * tests/check/elements/filesrc.c: (GST_START_TEST):
13938           add a test for trying to open a non-existing file
13939
13940 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13941
13942         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13943           add a test for adding self
13944
13945 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13946
13947         * libs/gst/check/gstcheck.h:
13948           add some assert_ as alias for fail_unless_*
13949         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13950           increase test coverage
13951
13952 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13953
13954         * Makefile.am:
13955           include lcov.mak for lcov coverage generation
13956         * tools/Makefile.am:
13957           add to CLEANFILES
13958
13959 2006-07-02  Edward Hervey  <edward@fluendo.com>
13960
13961         * tests/check/elements/.cvsignore:
13962         moaping
13963
13964 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13965
13966         * configure.ac:
13967           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13968         * tests/check/Makefile.am:
13969           clean up gcov files
13970
13971 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13972
13973         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13974           remove gst_caps_simplify; it was not declared and not used
13975           and deprecated in 0.8
13976
13977 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13978
13979         * docs/faq/gst-uninstalled:
13980           don't put empty paths on PYTHONPATH
13981         * docs/gst/gstreamer-sections.txt:
13982           remove some symbols that are not there
13983
13984 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13985
13986         * gst/gstcaps.c: (gst_caps_compare_structures):
13987           whitespace fixes
13988         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13989         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13990           add more tests
13991
13992 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13993
13994         * libs/gst/dataprotocol/Makefile.am:
13995           build dataprotocol test by linking to the lib, instead of
13996           compiling the source, so we get coverage
13997         * tests/check/Makefile.am:
13998         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13999         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14000           add a test for filesrc
14001
14002 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14003
14004         * tests/check/gst/gststructure.c: (GST_START_TEST),
14005         (gst_structure_suite):
14006           Push coverage from 59.04% to 70.00%
14007
14008 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14009
14010         * tests/check/Makefile.am:
14011           gst-inspect every element; this makes sure that we also get
14012           coverage on element's get/set functions
14013
14014 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14015
14016         * configure.ac:
14017           set CFLAGS and friends to -O0 if gcov is being used
14018           add GCOV LIBS
14019         * gst/Makefile.am:
14020         * libs/gst/base/Makefile.am:
14021         * libs/gst/check/Makefile.am:
14022         * libs/gst/controller/Makefile.am:
14023         * libs/gst/dataprotocol/Makefile.am:
14024         * libs/gst/net/Makefile.am:
14025         * plugins/elements/Makefile.am:
14026         * plugins/indexers/Makefile.am:
14027           add makefile rules to generate gcov data and clean up
14028         * tests/check/Makefile.am:
14029           add a coverage target that generates an html overview
14030           of coverage data
14031
14032 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14033
14034         * tests/check/elements/fakesink.c:
14035         * tests/check/elements/fakesrc.c:
14036         * tests/check/elements/fdsrc.c:
14037         * tests/check/elements/identity.c:
14038         * tests/check/generic/sinks.c: (gst_sinks_suite):
14039         * tests/check/generic/states.c:
14040         * tests/check/gst/gst.c:
14041         * tests/check/gst/gstabi.c:
14042         * tests/check/gst/gstbin.c:
14043         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14044         * tests/check/gst/gstbus.c: (gst_bus_suite):
14045         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14046         * tests/check/gst/gstelement.c:
14047         * tests/check/gst/gstevent.c: (gst_event_suite):
14048         * tests/check/gst/gstghostpad.c:
14049         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14050         * tests/check/gst/gstmessage.c: (gst_message_suite):
14051         * tests/check/gst/gstminiobject.c:
14052         * tests/check/gst/gstobject.c:
14053         * tests/check/gst/gstpad.c:
14054         * tests/check/gst/gstpipeline.c:
14055         * tests/check/gst/gstplugin.c:
14056         * tests/check/gst/gstquery.c: (gst_query_suite):
14057         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14058         * tests/check/gst/gststructure.c:
14059         * tests/check/gst/gstsystemclock.c:
14060         * tests/check/gst/gsttag.c:
14061         * tests/check/gst/gsttask.c: (gst_task_suite):
14062         * tests/check/gst/gstutils.c:
14063         * tests/check/gst/gstvalue.c:
14064         * tests/check/libs/adapter.c:
14065         * tests/check/libs/basesrc.c:
14066         * tests/check/libs/collectpads.c:
14067         * tests/check/libs/controller.c:
14068         * tests/check/libs/gdp.c: (gst_dp_suite):
14069         * tests/check/libs/gstnetclientclock.c:
14070         * tests/check/libs/gstnettimeprovider.c:
14071         * tests/check/libs/libsabi.c: (libsabi_suite):
14072         * tests/check/libs/typefindhelper.c:
14073         * tests/check/pipelines/cleanup.c:
14074         * tests/check/pipelines/parse-launch.c:
14075         * tests/check/pipelines/simple-launch-lines.c:
14076         * tests/check/pipelines/stress.c: (stress_suite):
14077           use the new macro
14078
14079 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14080
14081         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14082         * libs/gst/check/gstcheck.h:
14083           create a macro and function so that the simple unit test
14084           case can be just one macro to create main()
14085
14086 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14087
14088         * gst/gstbin.c: (gst_bin_restore_thyself):
14089         * gst/gstxml.c: (gst_xml_make_element):
14090           Fix deserialisation from XML. Set parent manually
14091           instead of using gst_bin_add(), since gst_bin_add()
14092           will unlink all pads of the element being added.
14093           Fixes #341667.
14094
14095 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14096
14097         Patch by: Peter Kjellerstedt <pkj at axis com>
14098
14099         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14100           Fix missing g_strdup() and double free when using the
14101           --gst-plugin-load command line option (#346097).
14102
14103 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14104
14105         * gst/gstinfo.c:
14106           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14107
14108         * libs/gst/net/gstnetclientclock.c:
14109         * libs/gst/net/gstnettimeprovider.c:
14110           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14111
14112 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14113
14114         * docs/manual/advanced-dataaccess.xml:
14115           Fix buffer probe example compilation in
14116           ADM (#345708).
14117         
14118 2006-06-22  Edward Hervey  <edward@fluendo.com>
14119
14120         * gst/gstelement.c: (gst_element_pads_activate):
14121         We need to deactivate src pads first and then sink pads.
14122         The reason is the src pads might be blocking while holding the streaming
14123         lock, so we need to deactivate them first so that deactivating the sink
14124         pads doesn't block (since it will require the streaming lock).
14125
14126 2006-06-22  Wim Taymans  <wim@fluendo.com>
14127
14128         * libs/gst/base/gstbasetransform.c:
14129         (gst_base_transform_buffer_alloc):
14130         Forgot to remove two unneeded unrefs.
14131         Simplify a check _is_equal allready checks the obvious case.
14132
14133 2006-06-22  Wim Taymans  <wim@fluendo.com>
14134
14135         * docs/design/part-block.txt:
14136         Some docs about what pad_block should do.
14137
14138 2006-06-22  Wim Taymans  <wim@fluendo.com>
14139
14140         * gst/gstcaps.c: (gst_caps_replace):
14141         Fix crasher when passed NULL. Doc clarification.
14142         Optimize for the trivial case.
14143
14144         * gst/gstpipeline.c: (gst_pipeline_change_state):
14145         Small cleanups.
14146
14147         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14148         Small documentation cleanup.
14149
14150         * libs/gst/base/gstbasetransform.c:
14151         (gst_base_transform_buffer_alloc):
14152         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14153         is what we need and it avoids a whole lot of redundant 
14154         refcount operations.
14155
14156 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14157
14158         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14159
14160         * docs/manual/advanced-dataaccess.xml:
14161           Fix 'Embedding static elements' section to use
14162           GST_PLUGIN_DEFINE_STATIC (#345607).
14163
14164 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14165
14166         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14167           Attempt to 'fix' spuriously failing test case: it seems like the
14168           timeout of half a second is simply too small when the system is under
14169           load otherwise, and the timeout doesn't really seem to serve any
14170           particular purpose here. Give the pipeline a few seconds to preroll
14171           first, and then give it another half a second to go from PAUSED to
14172           PLAYING and marshal the message into the main thread.
14173
14174 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14175
14176         * tools/gst-feedback-m.m:
14177           Don't only use unversioned tools, try versioned tools as well
14178           (#345086).
14179
14180 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14181
14182         * gst/gstbus.c: (gst_bus_class_init):
14183           Fix some typos, make docs more explicit.
14184
14185 2006-06-20  Wim Taymans  <wim@fluendo.com>
14186
14187         * tests/check/gst/gstghostpad.c: (block_callback),
14188         (GST_START_TEST), (gst_ghost_pad_suite):
14189         Added some more ghostpad tests, mainly blocking
14190         and probes.
14191
14192 2006-06-16  Wim Taymans  <wim@fluendo.com>
14193
14194         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14195         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14196         (gst_file_sink_event), (gst_file_sink_render):
14197         * plugins/elements/gstfilesink.h:
14198         Check if we can seek in the file instead of assuming
14199         we always can. Post an error when we are asked to seek in a
14200         non-seekable file (like a fifo). Fixes #343312.
14201         Some cleanups.
14202
14203 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14204
14205         * tools/gst-launch.1.in:
14206           Un-garble (fourcc) bit in filtered caps section.
14207
14208 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14209
14210         * docs/manual/advanced-autoplugging.xml:
14211         * docs/manual/basics-helloworld.xml:
14212         * docs/manual/highlevel-components.xml:
14213           Don't leak bus reference in sample code.
14214
14215 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14216
14217         * autogen.sh:
14218           Add default for new --enable-plugin-docs switch.
14219
14220         * configure.ac:
14221           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14222           Fixes #344039.
14223
14224         * docs/Makefile.am:
14225           Use new ENABLE_PLUGIN_DOCS conditional.
14226
14227 2006-06-14  Wim Taymans  <wim@fluendo.com>
14228
14229         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14230         Make it clear with a FIXME and a real define what the #if 0
14231         previously disabled.
14232
14233 2006-06-14  Wim Taymans  <wim@fluendo.com>
14234
14235         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14236         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14237         * libs/gst/base/gstbasetransform.c:
14238         (gst_base_transform_sink_eventfunc):
14239         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14240         Don't randomly and silently reset a segment when the format 
14241         changes as this is a bug somewhere upstream. Fixes #330379.
14242
14243 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14244
14245         Patch by: Wouter Paesen  <wouter at kangaroot net>
14246
14247         * libs/gst/controller/gstcontroller.c:
14248         (gst_controlled_property_new):
14249           Fix controlling of float properties (#344849).
14250
14251         * tests/check/libs/controller.c:
14252         (gst_test_mono_source_get_property),
14253         (gst_test_mono_source_set_property),
14254         (gst_test_mono_source_class_init), (GST_START_TEST):
14255           While we're at it, add some float stuff to unit test.
14256
14257 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14258
14259         * docs/README:
14260         * docs/images/gdp-header.svg:
14261           add a gdp image
14262         * docs/libs/Makefile.am:
14263         * docs/libs/gdp-header.png:
14264         * libs/gst/dataprotocol/dataprotocol.c:
14265           add it to the API docs
14266         * docs/manual/intro-motivation.xml:
14267           fix typo
14268
14269 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14270
14271         * gst/gst.c: (scan_and_update_registry), (init_post):
14272           If the fork()'ed child process can't write the updated registry cache
14273           file to disk for some reason, make it exit with a failure exit code,
14274           so that the parent can then re-scan the plugins itself and update the
14275           registry structures in memory and work with that (rather than failing
14276           when creating elements because seemingly no plugins are available).
14277           Refactor registry scanning code into separate function for this and
14278           also separate fork() and non-fork() code paths. Fixes #344748.
14279
14280 2006-06-13  Wim Taymans  <wim@fluendo.com>
14281
14282         * docs/manual/advanced-dataaccess.xml:
14283         Fix wrong PluginDesc. Fixes #344755.
14284
14285 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14286
14287         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14288           Fix silly bug that prevented us from creating
14289           ~/.gstreamer-0.10 and writing the registry in one
14290           go (the first call to g_mkstemp() would overwrite the
14291           placeholder in the template string, so the second call
14292           to g_mkstemp() after creating the missing directory
14293           would then error out with 'invalid argument').
14294
14295 2006-06-13  Edward Hervey  <edward@fluendo.com>
14296
14297         * gst/gst.c: (init_post):
14298         Free string.
14299
14300 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14301
14302         * gst/glib-compat-private.h:
14303         * gst/glib-compat.c:
14304         * gst/glib-compat.h:
14305         * gst/gstvalue.c: (gst_value_serialize_flags):
14306           remove GLib 2.6 compatibility code
14307
14308 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14309
14310         * gst/parse/Makefile.am:
14311           Fix build with 'make -j N' even more (#340016).
14312
14313 2006-06-12  Wim Taymans  <wim@fluendo.com>
14314
14315         * docs/gst/gstreamer-sections.txt:
14316         Fix docs.
14317
14318 2006-06-12  Wim Taymans  <wim@fluendo.com>
14319
14320         * gst/gstsegment.c: (gst_segment_set_duration),
14321         (gst_segment_set_last_stop), (gst_segment_set_seek),
14322         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14323         (gst_segment_to_running_time), (gst_segment_clip):
14324         Use G_UNLIKELY to help the compiler a bit.
14325
14326 2006-06-12  Wim Taymans  <wim@fluendo.com>
14327
14328         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14329
14330         * gst/gstevent.c: (gst_event_get_type):
14331         * gst/gstmessage.c:
14332         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14333         (gst_pad_push):
14334         constify quark registration strings. Fixes #344115
14335         Avoid unneeded type checking is _pad_push() by internally
14336         calling gst_pad_chain_unchecked().
14337
14338 2006-06-12  Wim Taymans  <wim@fluendo.com>
14339
14340         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14341         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14342         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14343         (gst_buffer_is_span_fast), (gst_buffer_span):
14344         Init _type for consistency.
14345         Use _FLAGS macro to avoid type check.
14346         Avoid unneeded type checks in subbufer code.
14347
14348 2006-06-12  Wim Taymans  <wim@fluendo.com>
14349
14350         * gst/gst.c: (gst_debug_help):
14351         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14352         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14353         (gst_plugin_feature_list_free):
14354         * gst/gstregistry.c: (gst_registry_add_plugin),
14355         (gst_registry_add_feature), (gst_registry_plugin_filter),
14356         (gst_registry_feature_filter), (gst_registry_find_plugin),
14357         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14358         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14359         * gst/gstregistryxml.c: (load_feature),
14360         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14361         * gst/gstminiobject.c: (gst_mini_object_unref),
14362         (gst_mini_object_replace), (gst_value_mini_object_free),
14363         (gst_value_mini_object_copy):
14364         Use _CAST macros to avoid unneeded type checking.
14365         Added some more G_UNLIKELY.
14366
14367 2006-06-12  Wim Taymans  <wim@fluendo.com>
14368
14369         * gst/gstbuffer.h:
14370         Avoid unneeded type checking.
14371         API: GST_BUFFER_IS_DISCONT
14372
14373         * gst/gstminiobject.h:
14374         Avoid type check in flag accessor.
14375
14376         * gst/gstelementfactory.h:
14377         * gst/gstplugin.h:
14378         * gst/gstpluginfeature.h:
14379         Add _CAST macros.
14380         API: GST_ELEMENT_FACTORY_CAST
14381         API: GST_PLUGIN_CAST
14382         API: GST_PLUGIN_FEATURE_CAST
14383
14384 2006-06-12  Wim Taymans  <wim@fluendo.com>
14385
14386         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14387         (gst_object_unref):
14388         Add G_UNLIKELY in type registration.
14389         Avoid type check in _ref/_unref since that is also
14390         done in glib.
14391
14392 2006-06-12  Wim Taymans  <wim@fluendo.com>
14393
14394         * gst/gsterror.c: (gst_g_error_get_type):
14395         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14396         (gst_static_pad_template_get_type):
14397         * gst/gsttaglist.c: (gst_tag_list_get_type):
14398         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14399         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14400         * gst/gsturi.c: (gst_uri_handler_get_type):
14401         * gst/gstvalue.c: (gst_date_get_type):
14402         * gst/gstxml.c: (gst_xml_get_type):
14403         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14404         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14405         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14406         Add G_UNLIKELY in type registration.
14407
14408 2006-06-12  Wim Taymans  <wim@fluendo.com>
14409
14410         * tools/gst-inspect.c: (print_signal_info):
14411         Properly print enum values.
14412
14413 2006-06-12  Wim Taymans  <wim@fluendo.com>
14414
14415         * gst/gstinfo.c: (gst_debug_set_active),
14416         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14417         * gst/gstinfo.h:
14418         Add some G_[UN]LIKELY.
14419         Maintain __gst_debug_min to avoid formatting the arguments of
14420         debug messages that will be dropped anyway to avoid a lot of 
14421         overhead from the debugging system.
14422
14423 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14424
14425         * po/POTFILES.in:
14426         * po/POTFILES.skip:
14427           add missing files containing translatable strings, tell intltool about
14428           one exception
14429
14430 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14431
14432         * tests/check/libs/.cvsignore:
14433         add test-binary to ignore list
14434
14435 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14436
14437         * docs/libs/gstreamer-libs-docs.sgml:
14438         reorder (put dp into a chapter) and indent
14439
14440 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14441
14442         * configure.ac:
14443           back to HEAD
14444
14445 === release 0.10.8 ===
14446
14447 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14448
14449         * configure.ac:
14450           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14451
14452 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14453
14454         * gst/gst.c: (init_post):
14455           move pid declaration to declaration block
14456
14457 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14458
14459         * gst/gst.c: (init_post):
14460           use _exit() instead of exit() in our forked child; this ensures
14461           that none of the registered exit handlers from whatever is using
14462           GStreamer get executed.  This fixes gnome-mixer-applet failing
14463           to load, because ORBit would shut down.
14464           Spotted by: Edward Hervey  <edward@fluendo.com>
14465           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14466           Fixes #344474
14467
14468 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14469
14470         * configure.ac:
14471           back to TRUNK
14472
14473 === release 0.10.7 ===
14474
14475 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14476
14477         * configure.ac:
14478           releasing 0.10.7, "Soepeke, ik zie ou"
14479
14480 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14481
14482         * configure.ac:
14483         * po/af.po:
14484         * po/az.po:
14485         * po/bg.po:
14486         * po/ca.po:
14487         * po/cs.po:
14488         * po/de.po:
14489         * po/en_GB.po:
14490         * po/fr.po:
14491         * po/it.po:
14492         * po/nb.po:
14493         * po/nl.po:
14494         * po/ru.po:
14495         * po/sq.po:
14496         * po/sr.po:
14497         * po/sv.po:
14498         * po/tr.po:
14499         * po/uk.po:
14500         * po/vi.po:
14501         * po/zh_CN.po:
14502         * po/zh_TW.po:
14503         * win32/common/config.h:
14504           0.10.6.2 prerelease
14505
14506 2006-06-07  Wim Taymans  <wim@fluendo.com>
14507
14508         * gst/gstindex.c: (gst_index_gtype_resolver):
14509         * tools/gst-xmlinspect.c: (print_plugin_info):
14510         Fix leak spotted by coverity checker. Fixes #343827
14511         Fix another other leak found by paolo borelli.
14512
14513 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14514
14515         * libs/gst/dataprotocol/dataprotocol.c:
14516         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14517         (gst_dp_version_get_type), (gst_dp_init),
14518         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14519         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14520         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14521         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14522         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14523         (gst_dp_packetizer_free):
14524         * libs/gst/dataprotocol/dataprotocol.h:
14525           API: add a GstDPPacketizer object, and create/free functions
14526           API: add GstDPVersion enum
14527           Add 1.0 event function that uses the string serialization
14528           Serialize more useful buffer flags
14529           Fixes #343988
14530
14531 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14532
14533         * tests/check/Makefile.am:
14534         * tests/check/gst/gstabi.c:
14535         * tests/check/gst/struct_ppc64.h:
14536         * tests/check/libs/libsabi.c:
14537         * tests/check/libs/struct_ppc64.h:
14538           add ppc64 structure sizes
14539
14540 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14541
14542         * tests/check/Makefile.am:
14543         * tests/check/gst/gstabi.c:
14544         * tests/check/gst/struct_x86_64.h:
14545         * tests/check/libs/libsabi.c:
14546         * tests/check/libs/struct_x86_64.h:
14547           generate and add structure size lists for x86_64
14548
14549 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14550
14551         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14552         * libs/gst/check/gstcheck.h:
14553           factor out the method from tests that checks size of structures,
14554           and add code to generate the header containing these sizes
14555         * tests/check/gst/gstabi.c: (GST_START_TEST):
14556         * tests/check/gst/struct_i386.h:
14557         * tests/check/libs/libsabi.c: (GST_START_TEST):
14558         * tests/check/libs/struct_i386.h:
14559           use it
14560
14561 2006-06-06  Michael Smith  <msmith@fluendo.com>
14562
14563         * gst/gstsegment.h:
14564           Don't use c++-style comments, fixes #343929
14565
14566 2006-06-05  Edward Hervey  <edward@fluendo.com>
14567
14568         * gst/gst.c:
14569         plugin_paths is not used if we build without registry support.
14570
14571         * gst/gstsegment.c: (gst_segment_copy): 
14572         _copy() was always returning NULL...
14573
14574 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14575
14576         * libs/gst/dataprotocol/dataprotocol.c:
14577         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14578         (gst_dp_packet_from_event):
14579           factor out CRC code
14580
14581 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14582
14583         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14584           make sure we unset caps
14585
14586 2006-06-02  Michael Smith  <msmith@fluendo.com>
14587
14588         * libs/gst/check/gstcheck.c: (gst_check_init),
14589         (gst_check_chain_func):
14590         * libs/gst/check/gstcheck.h:
14591           Add a cond/mutex to the check support lib, signal this whenever we
14592           add to the buffers list. This will allow tests to not busy-wait on
14593           the buffer-list.
14594
14595 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14596
14597         * libs/gst/dataprotocol/dataprotocol.c:
14598         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14599         (gst_dp_packet_from_event):
14600           factor out some common header init code
14601
14602 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14603
14604         * docs/libs/gstreamer-libs-sections.txt:
14605         * docs/libs/tmpl/gstdataprotocol.sgml:
14606         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14607         * libs/gst/dataprotocol/dataprotocol.h:
14608           API: make gst_dp_crc() public
14609
14610 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14611
14612         * plugins/indexers/gstindexers.c: (plugin_init):
14613         conditionally register fileindexer (fixes #343598)
14614
14615 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14616
14617         * gst/gsttagsetter.h:
14618         Can't cast ifaces to a class
14619
14620         * libs/gst/net/gstnetclientclock.h:
14621         * libs/gst/net/gstnettimeprovider.h:
14622         * plugins/elements/gstfakesink.h:
14623         * plugins/elements/gstfakesrc.h:
14624         * plugins/elements/gstfdsink.h:
14625         * plugins/elements/gstfdsrc.h:
14626         * plugins/elements/gstfilesink.h:
14627         * plugins/elements/gstfilesrc.h:
14628         * plugins/elements/gstidentity.h:
14629         * plugins/elements/gstqueue.h:
14630         * plugins/elements/gsttee.h:
14631         * plugins/indexers/gstfileindex.c:
14632         * plugins/indexers/gstmemindex.c:
14633         * tests/old/examples/plugins/example.h:
14634         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14635
14636 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14637
14638         * libs/gst/dataprotocol/dataprotocol.c:
14639         (gst_dp_header_from_buffer):
14640           make sure we zero the whole ABI-compatible area
14641
14642 2006-06-01  Wim Taymans  <wim@fluendo.com>
14643
14644         Patch by: Alessandro Decina <alessandro at nnva dot org>
14645
14646         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14647         Make sure the EOS flag is cleared from pads after a flush
14648         or stop. Fixes #343538.
14649
14650         * tests/check/libs/collectpads.c: (GST_START_TEST),
14651         (gst_collect_pads_suite):
14652         Added test for collectpads reusage after EOS.
14653
14654 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14655
14656         * gst/gst.c:
14657          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14658         * win32/common/libgstbase.def:
14659          export gst_collect_pads_set_flushing
14660         * win32/common/libgstreamer.def:
14661          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14662          gst_value_fraction_multiply
14663         * win32/vs6/gst_inspect.dsp:
14664          add a link to intl.lib
14665
14666 2006-05-30  Wim Taymans  <wim@fluendo.com>
14667
14668         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14669         (gst_collect_pads_chain):
14670         Handle the case where a pad is removed from the collection
14671         that could cause the other pads to become collectable.
14672
14673 2006-05-30  Wim Taymans  <wim@fluendo.com>
14674
14675         * gst/gstelement.c:
14676         Clarify the use of _release_request_pad() and
14677         _get_request_pad() a bit better.
14678
14679         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14680         (gst_adapter_take_buffer):
14681         Fix some doc and comment typos.
14682
14683 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14684
14685         * docs/gst/gstreamer-sections.txt:
14686         * docs/libs/gstreamer-libs-sections.txt:
14687           add declared symbols
14688
14689 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14690
14691         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14692         Add debug that can be enabled using a #define at the top of the file,
14693         for dumping stats about how late/early we were when waking up from
14694         waiting on the clock.
14695
14696 2006-05-30  Wim Taymans  <wim@fluendo.com>
14697
14698         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14699         When rebuilding the pad list, don't leak the previous list.
14700
14701 2006-05-30  Wim Taymans  <wim@fluendo.com>
14702
14703         Patch by: Lutz Mueller <lutz at topfrose dot de>
14704
14705         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14706         (gst_base_src_get_query_types), (gst_base_src_update_length):
14707         Publish supported query types.
14708         Update last_stop field in get_range mode so the position
14709         query works. Fixes #342321.
14710
14711 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14712
14713         * docs/gst/gstreamer-sections.txt:
14714         * gst/gsttaglist.c: (_gst_tag_initialize):
14715         * gst/gsttaglist.h:
14716           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14717
14718 2006-05-30  Wim Taymans  <wim@fluendo.com>
14719
14720         Patch by: Alessandro Decina <alessandro at nnva dot org>
14721
14722         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14723         Unlock mutex when removing an unknown pad.
14724         Fixes #343334.
14725
14726         * tests/check/Makefile.am:
14727         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14728         (push_event), (setup), (teardown), (GST_START_TEST),
14729         (gst_collect_pads_suite), (main):
14730         Added collecpads check, disabled for now as check crashes for
14731         some reason.
14732
14733 2006-05-29  Wim Taymans  <wim@fluendo.com>
14734
14735         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14736         Don't leak pads lists.
14737
14738 2006-05-29  Wim Taymans  <wim@fluendo.com>
14739
14740         * docs/libs/gstreamer-libs-sections.txt:
14741         * libs/gst/base/gstcollectpads.c:
14742         (gst_collect_pads_set_flushing_unlocked),
14743         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14744         (gst_collect_pads_stop):
14745         * libs/gst/base/gstcollectpads.h:
14746         API: gst_collect_pads_set_flushing()
14747         Added api to set the pads to flushing, useful for seeking
14748         code in elements using collectpads.
14749         Clear segment when receiving a flush.
14750
14751 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14752
14753         * gst/gst.c: (add_path_func), (init_post):
14754           Don't scan registry paths passed via --gst-plugin-path immediately
14755           (will crash, because absolutely nothing is set up and no types are
14756           registered etc.); do this later in init_post(). Fixes #343057.
14757
14758 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14759
14760         * gst/gst.c: (init_post):
14761           if we have fork, fork while reading/rebuilding the registry
14762           so the parent doesn't take the hit of having all plugins loaded
14763           in memory.  Fixes #342777.
14764         * configure.ac:
14765           Check if we have fork()
14766         * win32/common/config.h.in:
14767           no fork() on win32
14768
14769 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14770
14771         * plugins/elements/gstelements.c:
14772         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14773         (gst_file_src_init), (gst_file_src_set_property),
14774         (gst_file_src_get_property), (gst_file_src_start):
14775         * plugins/elements/gstfilesrc.h:
14776           API: GstFileSrc::use-mmap
14777
14778         Add a use-mmap property to enable easier testing of all code paths.
14779         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14780         in the absence of gnomevfssrc. (Closes #340501)
14781
14782 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14783
14784         * tools/gst-inspect.c:
14785         Add missing include, removes warning of ngettext not being defined on
14786         some arches.
14787
14788 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14789
14790         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14791         Handle NULL input and output pointers silently as a failed conversion,
14792         rather than g_warnings.
14793
14794 2006-05-25  Wim Taymans  <wim@fluendo.com>
14795
14796         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14797         Initialize variable before using. Fixes #342820.
14798
14799 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14800
14801         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14802           Fix off-by-one bug that would only allow peeks of N-1 bytes
14803           from the start even if the buffer to typefind on contains
14804           in fact N bytes of data (makes vorbis typefinding from a
14805           vorbis identification header buffer work).
14806
14807         * tests/check/Makefile.am:
14808         * tests/check/libs/.cvsignore:
14809         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14810         (gst_typefindhelper_suite), (main), (foobar_typefind),
14811         (plugin_init):
14812           Add very basic unit test for gst_type_find_helper_for_buffer()
14813           that checks for the problem fixed above.
14814
14815 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14816
14817         * tools/gst-inspect.c: (print_interfaces),
14818         (print_element_properties_info), (print_element_list), (main):
14819           add more translatable strings
14820
14821 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14822
14823         Patch by: Julien Moutte  <julien at moutte net>
14824
14825         * docs/gst/gstreamer-sections.txt:
14826           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14827           
14828         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14829         (gst_fake_sink_preroll):
14830         * plugins/elements/gstfakesink.h:
14831           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14832
14833 2006-05-23  Wim Taymans  <wim@fluendo.com>
14834
14835         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14836         * gst/gstpad.h:
14837         Added _CUSTOM error and success GstFlowReturn that can be
14838         used be elements internally. 
14839         Added macro to check for SUCCESS flowreturns.
14840         API: GST_FLOW_CUSTOM_SUCCESS
14841         API: GST_FLOW_CUSTOM_ERROR
14842         API: GST_FLOW_IS_SUCCESS
14843
14844         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14845         Added check for GstFlowReturn sanity.
14846
14847 2006-05-23  Wim Taymans  <wim@fluendo.com>
14848
14849         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14850
14851         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14852         (gst_collect_pads_event):
14853         clear/reset segment info in FLUSH_STOP.
14854         Fixes #336929.
14855
14856 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14857
14858         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14859         (gst_collect_pads_check_collected):
14860         Flush queued buffer on _stop(), fixes playing again (#342454)
14861
14862 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14863
14864         * tests/check/gst/gststructure.c: (GST_START_TEST),
14865         (gst_structure_suite):
14866           add a test for a complete structure
14867
14868 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14869
14870         * docs/faq/developing.xml:
14871         * docs/faq/faq.xml:
14872         * docs/faq/troubleshooting.xml:
14873         * docs/faq/using.xml:
14874           Some minor FAQ updates that won't change the fact that
14875           our FAQ is badly structured, full of information hardly
14876           anyone new to GStreamer needs to know and lacking lots
14877           of information people constantly ask for.
14878           
14879 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14880
14881         * gst/gstpad.c: (gst_pad_set_caps):
14882           Short-circuit gst_pad_set_caps if setting the existing
14883           caps pointer again, and avoid printing debug and 
14884           reffing/unreffing the caps.
14885
14886         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14887           There's actually no need to set the caps before pushing -
14888           the acceptcaps method will handle it anyway.
14889
14890 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14891
14892         * docs/gst/gstreamer-sections.txt:
14893         * win32/common/libgstreamer.def:
14894         * gst/gstutils.c: (gst_element_seek_simple):
14895         * gst/gstutils.h:
14896           API: add gst_element_seek_simple() (#342238).
14897
14898 2006-05-18  Edward Hervey  <edward@fluendo.com>
14899
14900         * gst/gsttypefind.c: (gst_type_find_get_type):
14901         * gst/gsttypefind.h:
14902         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14903         registered for GstTypeFind pointers. This allows wrapping the structure
14904         in bindings (i.e. gst-python).
14905
14906 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14907
14908         * gst/gsttagsetter.c:
14909           Docs additions and fixes (see #339918).
14910
14911 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14912
14913         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14914         The caps intersection algorithm can produce multiple copies of the
14915         caps. Until that is fixed, we need to simplify the result to be
14916         sure whether the allowed caps are fixed or not.
14917
14918         * plugins/elements/gstqueue.c: (gst_queue_init),
14919         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14920         (gst_queue_push_one):
14921         Proxied buffer alloc should not set the caps on the source pad.
14922         When pushing buffers, we always accept the caps change that triggers.
14923         This prevents negotiation errors caused by caps changing mid-stream 
14924         and then being refused on our source pad (because upstream is now
14925         refusing those caps).
14926
14927 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14928
14929         * tests/examples/helloworld/helloworld.c: (main):
14930           Must plug audioconvert and audioresample between decoder
14931           and audio sink.
14932
14933 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14934
14935         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14936         (load_feature), (load_plugin):
14937         Allow empty strings for some of the plugin fields so we don't 
14938         drop valid plugin entries that were written out correctly
14939         (Fixes #341479)
14940
14941 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14942         
14943         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14944           Use g_remove and g_rename instead of remove and rename that don't 
14945           handle utf8 characters. rename was failing for users who had specific
14946           characters in their name then the registry was built at each 
14947           gstreamer init.
14948         * win32/vs6/gst_inspect.dsp:
14949         * win32/vs6/gst_launch.dsp:
14950         * win32/vs6/libgstbase.dsp:
14951         * win32/vs6/libgstcoreelements.dsp:
14952         * win32/vs6/libgstreamer.dsp:
14953           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14954           build of libgstreamer and clean unused libraries in projects link 
14955           settings.
14956
14957 2006-05-17  Edward Hervey  <edward@fluendo.com>
14958
14959         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14960         The queue is not responsible for pushing an EOS when receiving a fatal
14961         flow error. It's up to the real element driving the pipeline to do that.
14962
14963 2006-05-16  Edward Hervey  <edward@fluendo.com>
14964
14965         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14966         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14967         buffer returned a fatal error. It should just send an EOS and stop
14968         its task.
14969         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14970         when pushing buffers on the queue and will be able to handle the event.
14971
14972 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14973
14974         * docs/manual/basics-bins.xml:
14975         * docs/manual/basics-init.xml:
14976           Fix typos and minor errors in sample code (#341856).
14977
14978 2006-05-16  Wim Taymans  <wim@fluendo.com>
14979
14980         * docs/design/part-qos.txt:
14981         Fix indexes in formulas to make more sense.
14982
14983 2006-05-15  Wim Taymans  <wim@fluendo.com>
14984
14985         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14986         Don't report POSITION based on clock time if sync is
14987         disabled in a sink.
14988
14989 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14990
14991         * gst/gstobject.h:
14992           Add cast to make compiler happy - refcount variable was a gint
14993           in GstObject but is a guint in GObject and g_atomic_int_get()
14994           wants a gint *.
14995
14996 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14997
14998         * gst/parse/Makefile.am:
14999           chain commands using &&, which also makes parallel make work
15000
15001 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15002
15003         * docs/gst/gstreamer-sections.txt:
15004         * gst/gstevent.c:
15005         * gst/gstevent.h:
15006         * gst/gstmessage.h:
15007           Minor docs fixes.
15008
15009 === release 0.10.6 ===
15010
15011 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15012
15013         * configure.ac:
15014           releasing 0.10.6, "Take the cannoli"
15015
15016 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15017
15018         * tools/gst-launch.c: (print_tag):
15019           Fix use of uninitialized variable in the hypothetical
15020           case that some broken plugin creates a GST_TAG_IMAGE
15021           tag containing a NULL buffer (#341667).
15022
15023 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15024
15025         * tools/gst-launch.c: (print_tag):
15026           Print something more intelligible for image tags when
15027           using the -t switch (#341556).
15028
15029 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15030
15031         * Makefile.am:
15032           updates for win32
15033         * configure.ac:
15034           define GST_MAJORMINOR so we have it available in win32/common/config.h
15035           Possibly remove it from our Makefile.am files later
15036         * win32/common/config.h:
15037         * win32/common/config.h.in:
15038           added GST_MAJORMINOR
15039         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15040         * win32/common/gstversion.h:
15041           updated
15042
15043 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15044
15045         * win32/MANIFEST:
15046           Update win32 files listing.
15047         * win32/common/gstversion.h:
15048           Add GST_MAJORMINOR definition.
15049         * win32/common/libgstreamer.def:
15050           Add new exported functions.
15051           
15052 2006-05-12  Michael Smith  <msmith@fluendo.com>
15053
15054         * gst/gstplugin.c: (gst_plugin_load_file):
15055           If an so file has no plugin entry point, unload the module.
15056
15057 2006-05-11  Wim Taymans  <wim@fluendo.com>
15058
15059         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15060         (gst_queue_set_property):
15061         Don't forget to signal the _chain or _loop function 
15062         when the queue size or thresholds change since that might
15063         cause them to make progres again.
15064
15065 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15066
15067         * gst/gstclock.c: (gst_clock_class_init):
15068         * gst/gstindex.c: (gst_index_class_init):
15069         * gst/gstobject.c: (gst_object_class_init):
15070         * gst/gstpad.c: (gst_pad_class_init):
15071         * gst/gstpipeline.c: (gst_pipeline_class_init):
15072         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15073         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15074         * libs/gst/base/gstbasetransform.c:
15075         (gst_base_transform_class_init):
15076         * libs/gst/net/gstnetclientclock.c:
15077         (gst_net_client_clock_class_init):
15078         * libs/gst/net/gstnettimeprovider.c:
15079         (gst_net_time_provider_class_init):
15080         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15081         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15082         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15083         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15084         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15085         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15086         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15087         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15088         * plugins/elements/gsttee.c: (gst_tee_class_init):
15089         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15090         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15091           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15092
15093 2006-05-11  Wim Taymans  <wim@fluendo.com>
15094
15095         * gst/gstbuffer.c: (_gst_buffer_initialize):
15096         Register subbufer along with the buffer type so that
15097         it does not accidentally gets registered from N
15098         different streaming threads in a non threadsafe way.
15099
15100 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15101
15102         * gst/gstbuffer.h:
15103         * gst/gstevent.h:
15104         * gst/gstmessage.h:
15105           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15106           gst_event_ref() and gst_message_ref() functions again
15107           (ugly hack, please do fix if there's a better way besides
15108           overrides.txt, which doesn't seem to work).
15109
15110 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15111
15112         * libs/gst/check/gstcheck.h:
15113           add an assert for setting state to avoid lots of repetitive code
15114           in the future
15115
15116 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15117
15118         * gst/gstvalue.c: (gst_value_serialize_flags):
15119           fix a leak if no flags are set
15120         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15121           fix leak in tests
15122
15123 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15124
15125         * docs/manual/basics-pads.xml:
15126           Expand a bit on caps and filtered links and update
15127           examples that were still using the no longer existing
15128           gst_pad_link_filtered() (#338206).
15129
15130 2006-05-10  Wim Taymans  <wim@fluendo.com>
15131
15132         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15133         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15134         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15135         (gst_collect_pads_stop):
15136         * libs/gst/base/gstcollectpads.h:
15137         No need to call _stop in _finalize.
15138         Iterate the main pad list in _finalize.
15139         Added some more debug.
15140         Free lists and data in the right order.
15141         Also free data whem doing _remove_pad when stopped for
15142         backward compatibility protect ::started with PAD_LOCK as
15143         well.
15144
15145 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15146
15147         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15148         (gst_structure_parse_value):
15149           add some comments
15150           rename a method so that it actually says what it does better
15151
15152 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15153
15154         * gst/gstevent.c: (_gst_event_initialize):
15155         * gst/gstformat.c: (_gst_format_initialize):
15156           make sure some essential types used by events are registered
15157           as part of gst_init()
15158         * gst/gstvalue.c: (gst_value_serialize_flags):
15159           if no flags are set, serialize them to a value that represents NONE
15160           so that deserializing them works
15161         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15162           add tests for serialization and deserialization of flags
15163
15164 2006-05-10  Wim Taymans  <wim@fluendo.com>
15165
15166         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15167         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15168         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15169         (gst_collect_pads_event), (gst_collect_pads_chain):
15170         Update docs.
15171         Better debug info.
15172         Catch and return errors from the collect function
15173         Refuse data on eos pads.
15174
15175 2006-05-10  Edward Hervey  <edward@fluendo.com>
15176
15177         * gst/gstinterface.h:
15178         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15179         GInterface type checking.
15180         They were previously using non-defined macros.
15181
15182 2006-05-09  Wim Taymans  <wim@fluendo.com>
15183
15184         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15185         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15186         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15187         (gst_collect_pads_start), (gst_collect_pads_stop),
15188         (gst_collect_pads_peek), (gst_collect_pads_pop),
15189         (gst_collect_pads_available), (gst_collect_pads_read),
15190         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15191         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15192         (gst_collect_pads_chain):
15193         * libs/gst/base/gstcollectpads.h:
15194         Clean up the mess that is collectpads, add comments and
15195         FIXMEs where needed.
15196         Maintain a separate pad list so we can add pads while
15197         collecting the other ones. For this we need a new separate 
15198         lock (see comics).
15199         Fix memory leak in finalize.
15200         Refactor some weird code to set/unset pad flushing flags, mark
15201         with comments.
15202         Don't crash in _available, _read, _flush when we're EOS.
15203
15204         * tests/check/libs/.cvsignore:
15205         Ignore adapter check binary.
15206
15207 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15208
15209         * gst/gstindex.c: (gst_index_resolver_get_type):
15210         * plugins/elements/gstfakesink.c:
15211         (gst_fake_sink_state_error_get_type):
15212         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15213         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15214         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15215           Const-ify GEnumValue arrays.
15216
15217 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15218
15219         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15220           Add test case for flags + gst_buffer_make_metadata_writable().
15221
15222 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15223
15224         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15225           gst_buffer_make_metadata_writable() should maintain the
15226           buffer flags (those that make sense at least) (see #340859).
15227
15228 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15229
15230         * tools/gst-inspect.c:
15231         * tools/gst-launch.c:
15232         * tools/gst-typefind.c:
15233         * tools/gst-xmlinspect.c:
15234         * tools/tools.h:
15235           Fix up includes: need to include stdlib.h in tools.h for exit().
15236
15237 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15238
15239         * gst/gsttaglist.c: (_gst_tag_initialize):
15240         * gst/gsttaglist.h:
15241           API: add GST_TAG_IMAGE tag (#340721).
15242
15243 2006-05-08  Wim Taymans  <wim@fluendo.com>
15244
15245         * gst/gstquery.c:
15246         Added some docs for the segment query.
15247
15248 2006-05-08  Wim Taymans  <wim@fluendo.com>
15249
15250         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15251         (gst_base_src_loop), (gst_base_src_change_state):
15252         Always push non-flushing serialized events in the streaming 
15253         thread.
15254
15255 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15256
15257         * gst/gsterror.c: (_gst_stream_errors_init):
15258           Add a missing error string.
15259
15260 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15261
15262         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15263         Add applied_rate to the debug
15264
15265         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15266         Copy applied_rate into the outgoing NEWSEGMENT event
15267
15268 2006-05-08  Wim Taymans  <wim@fluendo.com>
15269
15270         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15271
15272         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15273         (gst_base_sink_change_state):
15274         call ::unlock before taking the PREROLL_LOCK so we can safely
15275         handle elements that lock in ::render.
15276         Fixes #340174.
15277
15278 2006-05-08  Edward Hervey  <edward@fluendo.com>
15279
15280         * autogen.sh: (CONFIGURE_DEF_OPT): 
15281         Darwin's libtoolize is in fact called glibtoolize.
15282         Adding glibtoolize to the list of accepted names for libtoolize.
15283
15284 2006-05-08  Wim Taymans  <wim@fluendo.com>
15285
15286         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15287         Unify error handling, don't post an error message
15288         when a push() returns EOS but perform our normal EOS
15289         handling code. Fixes #340772.
15290
15291 2006-05-08  Wim Taymans  <wim@fluendo.com>
15292
15293         * docs/design/part-overview.txt:
15294         Make upsteam/downstream concepts more clear.
15295         Give an example of serialized/non-serialized events.
15296
15297         * docs/design/part-events.txt:
15298         * docs/design/part-streams.txt:
15299         Mention applied_rate.
15300
15301         * docs/design/part-trickmodes.txt:
15302         Mention applied rate, flesh out some more use cases.
15303
15304         * gst/gstevent.c: (gst_event_new_new_segment),
15305         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15306         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15307         (gst_event_parse_tag), (gst_event_new_buffer_size),
15308         (gst_event_parse_buffer_size), (gst_event_new_qos),
15309         (gst_event_parse_qos), (gst_event_parse_seek),
15310         (gst_event_new_navigation):
15311         * gst/gstevent.h:
15312         Add applied_rate field to NEWSEGMENT event.
15313         API: gst_event_new_new_segment_full()
15314         API: gst_event_parse_new_segment_full()
15315
15316         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15317         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15318         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15319         * gst/gstsegment.h:
15320         Add applied_rate to GstSegment structure.
15321         Make calculation of stream_time and running_time more correct
15322         wrt rate/applied_rate.
15323         Add some more docs.
15324         API: GstSegment::applied_rate field
15325         API: gst_segment_set_newsegment_full();
15326
15327         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15328         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15329         * libs/gst/base/gstbasetransform.c:
15330         (gst_base_transform_sink_eventfunc),
15331         (gst_base_transform_handle_buffer):
15332         Parse and use applied_rate in the GstSegment field.
15333
15334         * tests/check/gst/gstevent.c: (GST_START_TEST):
15335         Add check for applied_rate field.
15336
15337         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15338         (gstsegments_suite):
15339         Add more checks for various GstSegment operations.
15340
15341 2006-05-08  Wim Taymans  <wim@fluendo.com>
15342
15343         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15344         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15345         (gst_base_sink_get_position), (gst_base_sink_change_state):
15346         Store the sync time of the buffer end position separatly in a
15347         new variable eos_rtime so we can properly sync the EOS event.
15348         Fixes #340697.
15349         Fix the docs for gst_base_sink_set_qos_enabled().
15350         Don't set segment start to invalid value when we receive a 
15351         non TIME newsegment.
15352         get closer to handling position reporting for negative rates 
15353         correctly.
15354
15355 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15356
15357         * gst/gstcaps.c:
15358         Docs about how to print caps for debug purposes.
15359
15360         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15361         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15362
15363 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15364
15365         * gst/gstelement.c:
15366           use full enum names and preprend a '%' in docs strings to make recent 
15367           gtk-doc turn that into a link
15368
15369 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15370
15371         * docs/manual/basics-bins.xml:
15372         * docs/manual/basics-bus.xml:
15373         * docs/manual/basics-pads.xml:
15374           Some typo fixes, some additions, some clarifications. 
15375
15376 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15377
15378         * tools/gst-inspect.c: (main):
15379         * tools/gst-launch.c: (main):
15380         * tools/gst-run.c: (main):
15381         * tools/gst-typefind.c: (main):
15382         * tools/gst-xmlinspect.c: (main):
15383           Use the string passed to g_option_context_new() for
15384           what it's intended for - the program name is already
15385           printed elsewhere.
15386
15387 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15388
15389         * tools/Makefile.am:
15390         * tools/gst-inspect.c: (main):
15391         * tools/gst-launch.c: (main):
15392         * tools/gst-xmlinspect.c: (main):
15393         * tools/tools.h:
15394           Add back --version command line option (#340460).
15395
15396         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15397           Add --version option and use GOption for argument parsing; refactor a
15398           bit; accept directories as arguments and recurse into them; lastly,
15399           print a decent error message when things go wrong.
15400
15401 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15402
15403         * docs/manual/basics-bins.xml:
15404         Don't mention GstThread (#340611)
15405         * docs/manual/basics-elements.xml:
15406         Update link to GObject tutorial (#340607)
15407         
15408 2006-05-05  Wim Taymans  <wim@fluendo.com>
15409
15410         * gst/gstbuffer.h:
15411         * gst/gstminiobject.c:
15412         Add note about refcounting and miniobject/buffer writeability
15413         to docs. Fixes #340604
15414
15415         * gst/gstelementfactory.h:
15416         Added some explanation about @klass.
15417
15418 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15419
15420         * docs/manual/intro-motivation.xml:
15421         * docs/manual/manual.xml:
15422         Avoid CORBA & Bonobo references (#340598)
15423
15424 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15425
15426         * docs/manual/basics-bus.xml:
15427         * docs/manual/basics-pads.xml:
15428         Fix up some inaccuracies and omissions (#340609)
15429         
15430 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15431
15432         * gst/gstghostpad.c:
15433           Small typo in docs (#340625)
15434
15435 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15436
15437         * gst/parse/Makefile.am:
15438           Make 'make -j' proof (see #340698).
15439
15440 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15441
15442         * configure.ac:
15443           Require GLib-2.8 here as well.
15444
15445 2006-05-05  Wim Taymans  <wim@fluendo.com>
15446
15447         * gst/glib-compat.c:
15448         * gst/gst.c: (init_pre):
15449         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15450         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15451         (gst_object_dispatch_properties_changed):
15452         * gst/gstobject.h:
15453         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15454         * gst/gststructure.c: (gst_structure_set_valist):
15455         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15456         Remove pre glib2.8 compatibility, fixes #340508
15457
15458 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15459
15460         * gst/gsttaglist.h:
15461           Mention type of tags in doc blurbs.
15462
15463 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15464
15465         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15466         (gst_pad_configure_src), (gst_pad_push):
15467         Restore acceptcaps checking behaviour now that good plugins have
15468         been released.
15469
15470 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15471
15472         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15473
15474         * gst/gst.c:
15475         * gst/gstbus.c:
15476         * gst/gstclock.c:
15477         * gst/gstevent.c:
15478         * gst/gstformat.c:
15479         * gst/gstmessage.c:
15480         * gst/gstparse.c:
15481         * gst/gstquery.c:
15482         * gst/gstutils.c:
15483         * gst/parse/Makefile.am:
15484         * libs/gst/base/gstadapter.c:
15485         * libs/gst/base/gstbasesrc.c:
15486         * libs/gst/base/gstpushsrc.c:
15487         * libs/gst/base/gsttypefindhelper.c:
15488         * plugins/elements/gstfakesrc.c:
15489         * plugins/elements/gstidentity.c:
15490           Make sure gstprivate.h and/or config.h are
15491           always included first, otherwise some of our
15492           defines (like _FILE_OFFSET_BITS) might be
15493           redefined in the system headers. Fixes build
15494           on opensolaris (#340016).
15495
15496 2006-05-04  Wim Taymans  <wim@fluendo.com>
15497
15498         * docs/libs/gstreamer-libs-sections.txt:
15499         API: addition: gst_adapter_take_buffer()
15500         
15501         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15502         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15503         (gst_adapter_available_fast):
15504         * libs/gst/base/gstadapter.h:
15505         Prepare for optimizing the hell out of this hugely inefficient
15506         piece of code. 
15507         Added gst_adapter_take_buffer() so we can at least start thinking
15508         about subbuffering and merging.
15509         Added some comments.
15510
15511         * tests/check/Makefile.am:
15512         * tests/check/libs/adapter.c: (GST_START_TEST),
15513         (gst_adapter_suite), (main):
15514         Added GstAdapter check.
15515
15516 2006-05-04  Wim Taymans  <wim@fluendo.com>
15517
15518         * docs/design/part-overview.txt:
15519         Fix some typos, add blurb about buffer flags.
15520
15521 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15522
15523         * docs/libs/gstreamer-libs-sections.txt:
15524           make sure GstBaseTransformClass shows up in the docs
15525         * libs/gst/base/gstbasetransform.c:
15526         * libs/gst/base/gstbasetransform.h:
15527           move docs so gtk-doc picks it up now
15528
15529 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15530
15531         * docs/libs/gstreamer-libs-sections.txt:
15532           add missing symbols to docs
15533
15534 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15535
15536         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15537           back out the newsegment handling change, see #340060 for ongoing
15538           discussion
15539
15540 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15541
15542         * tools/gst-run.c: (get_candidates), (main):
15543           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15544           work); fix typo in error message. Fixes #340079.
15545
15546 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15547
15548         * common/Makefile.am:
15549         * docs/Makefile.am:
15550         * docs/faq/Makefile.am:
15551         * docs/gst/Makefile.am:
15552         * docs/libs/Makefile.am:
15553         * docs/manual/Makefile.am:
15554         * docs/plugins/Makefile.am:
15555         * docs/pwg/Makefile.am:
15556         * docs/slides/Makefile.am:
15557         * docs/upload.mak:
15558         * common/upload.mak:
15559           move upload.mak to common
15560
15561 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15562
15563         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15564           add more asserts on refcounts
15565           do more cleanup at end of tests
15566           fix test leaks showing in FC5
15567
15568 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15569
15570         * plugins/elements/gsttypefindelement.c:
15571         (gst_type_find_element_handle_event):
15572         reverted wrong change and reflowed code to avoid others falling into
15573         this trap
15574
15575 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15576
15577         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15578           fix changelog entry about last collectpads change,
15579           add notes about proper fix
15580
15581 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15582
15583         * gst/gst.c:
15584         * gst/gstregistry.c: (gst_registry_scan_path_level),
15585         (gst_registry_scan_path):
15586         * gst/gstregistry.h:
15587           only write out registry if it has changed, fixes #338339
15588
15589 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15590
15591         * gst/gstbin.c:
15592         * gst/gstpipeline.c:
15593         * plugins/elements/gstcapsfilter.c:
15594         * plugins/elements/gstfakesink.c:
15595         * plugins/elements/gstfakesrc.c:
15596         * plugins/elements/gstfdsink.c:
15597         * plugins/elements/gstfdsrc.c:
15598         * plugins/elements/gstfilesink.c:
15599         * plugins/elements/gstfilesrc.c:
15600         * plugins/elements/gstidentity.c:
15601         * plugins/elements/gstqueue.c:
15602         * plugins/elements/gsttee.c:
15603         * plugins/elements/gsttypefindelement.c:
15604         (gst_type_find_element_handle_event):
15605           make GstElementDetails const
15606
15607 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15608
15609         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15610         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15611         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15612           more detailed debug and formatting cleanup,
15613           forward newsegments to src-pad (so that e.g. adder not eats them)
15614
15615 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15616
15617         * gst/gstutils.c: (gst_element_link_pads):
15618           cleanup double code
15619
15620 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15621
15622         * libs/gst/controller/gstcontroller.c:
15623         (gst_controller_sync_values):
15624           some little tuning
15625         * tests/check/libs/controller.c: (GST_START_TEST),
15626         (gst_controller_suite):
15627           a new test for live value handling
15628
15629 2006-04-28  Wim Taymans  <wim@fluendo.com>
15630
15631         * gst/gstutils.c: (push_and_ref):
15632         Added some more docs.
15633         Fix refcount issue whith gst_element_found_tags() helper 
15634         function. Fixes #338335
15635
15636         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15637         Added testsuite for gst_element_found_tags().
15638
15639 2006-04-28  Michael Smith  <msmith@fluendo.com>
15640
15641         * gst/gstvalue.c: (gst_value_serialize_flags):
15642           Avoid NULL dereference when trying to serialize flags containing
15643           invalid values.
15644
15645 2006-04-28  Michael Smith  <msmith@fluendo.com>
15646
15647         * plugins/elements/gsttypefindelement.c:
15648         (gst_type_find_element_handle_event):
15649           If we get EOS before any data is accumulated, don't use
15650           uninitialised local variables.
15651
15652 2006-04-28  Michael Smith  <msmith@fluendo.com>
15653
15654         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15655         (gst_dp_event_from_packet):
15656           Fixes in reading/writing events over GDP (not currently used?) - 
15657           dereferencing NULL events for unknown/invalid event types, memory
15658           leak, and change g_warning to GST_WARNING.
15659
15660 2006-04-28  Wim Taymans  <wim@fluendo.com>
15661
15662         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15663         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15664         (gst_base_sink_get_position), (gst_base_sink_change_state):
15665         When frame dropping is enabled, we should not ignore frames
15666         without a duration.
15667         Update some documentation.
15668
15669 2006-04-28  Wim Taymans  <wim@fluendo.com>
15670
15671         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15672         (gst_base_src_send_event), (gst_base_src_change_state):
15673         Documentation updates.
15674
15675 2006-04-28  Wim Taymans  <wim@fluendo.com>
15676
15677         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15678         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15679         handle EAGAIN, EINTR and short writes correctly. Also clean
15680         up some error cases, avoid a deadlock on bad file descriptors and
15681         use GST_DEBUG_OBJECT.
15682         Fixes #339843
15683
15684 2006-04-28  Wim Taymans  <wim@fluendo.com>
15685
15686         * gst/gstvalue.c: (gst_value_serialize_buffer),
15687         (gst_value_deserialize_buffer):
15688         Don't try to serialize a GValue with a NULL buffer. 
15689         Fixes #339821.
15690
15691         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15692         Added check for serialisation of NULL buffers.
15693
15694 2006-04-28  Wim Taymans  <wim@fluendo.com>
15695
15696         * gst/gstminiobject.c: (gst_value_take_mini_object):
15697         Taking a NULL miniobject is valid, fix the case where
15698         we try to unref the NULL miniobject.
15699
15700 2006-04-28  Wim Taymans  <wim@fluendo.com>
15701
15702         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15703
15704         * gst/gstbin.c: (gst_bin_handle_message_func):
15705         Update docs.
15706         Don't leak bin refcount when a state recalc is
15707         in progress and we delay another one #339808.
15708
15709 2006-04-28  Wim Taymans  <wim@fluendo.com>
15710
15711         * docs/design/part-TODO.txt:
15712         Mention QoS as an ongoing work item.
15713
15714         * docs/design/part-buffering.txt:
15715         New doc about buffering that needs to be fleshed out
15716         at some point.
15717
15718         * docs/design/part-qos.txt:
15719         More QoS policy for decoders/demuxers/transforms
15720
15721         * docs/design/part-trickmodes.txt:
15722         Small update.
15723
15724 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15725
15726         * configure.ac:
15727           back to HEAD
15728
15729 === release 0.10.5 ===
15730
15731 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15732
15733         * configure.ac:
15734           releasing 0.10.5, "Fogo"
15735
15736 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15737
15738         patch by: Wim Taymans
15739
15740         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15741         (gst_pad_configure_src), (gst_pad_push):
15742         * gst/gstpipeline.c: (gst_pipeline_init):
15743           Fix internal data flow errors.  Fixes #338711.
15744
15745 2006-04-12  Wim Taymans  <wim@fluendo.com>
15746
15747         * tests/check/gst/gstelement.c: (GST_START_TEST):
15748         Don't leak the factory.
15749
15750 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15751
15752         * configure.ac:
15753         * win32/common/config.h:
15754           prerelease
15755
15756 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15757
15758         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15759         (gst_controller_unset_all):
15760           Free allocated GstTimedValues when freeing list nodes.
15761           Should fix leaks 'make check-valgrind' complains about.
15762
15763         * win32/common/libgstcontroller.def:
15764           Add gst_controller_unset_all.
15765
15766 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15767
15768         * docs/libs/gstreamer-libs-sections.txt:
15769         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15770         (gst_controller_unset_all):
15771         * libs/gst/controller/gstcontroller.h:
15772         API: Added new method gst_controller_unset_all()
15773         fixed gst_controller_unset()
15774         * tests/check/libs/controller.c: (GST_START_TEST),
15775         (gst_controller_suite):
15776         Added two testcases for new and fixed method
15777
15778 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15779
15780         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15781           MSG_DONTWAIT is not defined on Cygwin, so work
15782           around that (fixes #317048).
15783           
15784 2006-04-11  Wim Taymans  <wim@fluendo.com>
15785
15786         * gst/gstelementfactory.c: (gst_element_register),
15787         (gst_element_factory_create), (gst_element_factory_make):
15788         Some cleanups.
15789         Fixed a FIXME.
15790         Updated docs (Fixes #131079)
15791
15792         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15793         Small cleanups.
15794
15795         * tests/check/gst/gstelement.c: (GST_START_TEST),
15796         (gst_element_suite):
15797         Added testcase for elementfactory class field.
15798
15799 2006-04-10  Wim Taymans  <wim@fluendo.com>
15800
15801         * gst/gstsegment.c:
15802         Added some more docs.
15803
15804         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15805         (gst_base_sink_reset_qos):
15806         Calculate more accurate rate values.
15807
15808 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15809
15810         * gst/gst_private.h:
15811           add a new #ifdef to use __declspec(dllimport) only for
15812           other modules and not for gstreamer core
15813         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15814           use gst_guint64_to_gdouble for conversion
15815         * win32/common/libgstreamer.def:
15816           add new exported functions
15817         * win32/vs6/gst_inspect.dsp:
15818         * win32/vs6/gst_launch.dsp:
15819         * win32/vs6/libgstbase.dsp:
15820         * win32/vs6/libgstcontroller.dsp:
15821         * win32/vs6/libgstcoreelements.dsp:
15822         * win32/vs6/libgstdataprotocol.dsp:
15823         * win32/vs6/libgstnet.dsp:
15824           update project files
15825
15826 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15827
15828         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15829         * gst/gstclock.c: (gst_clock_class_init):
15830         * gst/gstelement.c: (gst_element_class_init):
15831         * gst/gstindex.c: (gst_index_class_init):
15832         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15833         * gst/gstobject.c: (gst_object_class_init),
15834         (gst_signal_object_class_init):
15835         * gst/gstpad.c: (gst_pad_class_init):
15836         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15837         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15838         * gst/gstregistry.c: (gst_registry_class_init):
15839         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15840         * gst/gsttask.c: (gst_task_class_init):
15841         * gst/gstxml.c: (gst_xml_class_init):
15842         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15843         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15844         (gst_base_src_loop):
15845         * libs/gst/controller/gstcontroller.c:/
15846         (_gst_controller_class_init):
15847         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15848         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15849         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15850         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15851         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15852         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15853
15854 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15855
15856         * gst/gstpad.c: (gst_pad_link):
15857           Must set peer pads before calling the link function, otherwise
15858           a task started from a link function might get a flow-not-linked
15859           result when trying to push because the other thread where the
15860           linking happens hasn't had a chance to set the peers yet. This
15861           might happen for example when a queue gets linked to a downstream
15862           element, as queue starts a streaming task when its source pad
15863           gets linked. Happens in real life when playing back flac/musepack
15864           files in playbin (#332390).
15865           
15866 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15867
15868         * gst/gstindex.h:
15869         * gst/gstxml.h:
15870         * libs/gst/base/gstadapter.h:
15871         * libs/gst/base/gstbasesink.h:
15872         * libs/gst/base/gstbasesrc.h:
15873         * libs/gst/base/gstbasetransform.h:
15874         * libs/gst/base/gstcollectpads.h:
15875         * libs/gst/base/gstpushsrc.h:
15876         Fix broken GObject macros
15877
15878 2006-04-07  Wim Taymans  <wim@fluendo.com>
15879
15880         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15881         Initialize start and stop times, thanks valgrind.
15882
15883 2006-04-07  Wim Taymans  <wim@fluendo.com>
15884
15885         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15886         Be a bit nicer to badly behaving upstream elements that expect
15887         us to deal with non TIME segments and timestamps (such as fakesrc
15888         in the testsuite).
15889
15890 2006-04-07  Wim Taymans  <wim@fluendo.com>
15891
15892         * gst/gstbus.c:
15893         Small documentation clarification about the signal watch.
15894
15895         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15896         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15897         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15898         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15899         (gst_base_sink_get_position_last),
15900         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15901         Convert and store timestamps in stream time and running time, the
15902         raw timestamps are not useful, also document this better.
15903         Use different window sizes for good and bad QoS observations so
15904         we react to badness a little quicker.
15905         Keep track of the amount of rendered and dropped buffers.
15906         Send QoS timestamps in running time.
15907
15908         * libs/gst/base/gstbasetransform.c:
15909         (gst_base_transform_sink_eventfunc),
15910         (gst_base_transform_handle_buffer):
15911         Compare QoS timestamps against running time.
15912
15913 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15914
15915         * gst/gstpad.c:
15916           Typo fixes in docs.
15917
15918 2006-04-06  Michael Smith  <msmith@fluendo.com>
15919
15920         * gst/gstpad.c: (gst_pad_set_property):
15921           Use g_value_get_object() instead of g_value_dup_gst_object(),
15922           to avoid double-reffing the pad template (which we then sink,
15923           so this worked previously if (and only if) the pad template
15924           was floating.
15925
15926         * gst/gstpadtemplate.c: (gst_pad_template_init),
15927         (gst_pad_template_pad_created):
15928           Never return floating references to pad templates, create
15929           them as initially-sunken.
15930
15931           Document an extra function (and make this stop sinking our
15932           pad template, since that is now guaranteed to do nothing,
15933           since we created it sunken).
15934
15935         * gst/gstghostpad.c:
15936           Fix docs typo.
15937
15938 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15939
15940         * gst/gstinfo.c: (__gst_in_valgrind):
15941           Add some newlines.
15942
15943         * plugins/elements/gsttypefindelement.c:
15944         (gst_type_find_element_chain):
15945           Don't leak buffer caps.
15946
15947 2006-04-06  Michael Smith  <msmith@fluendo.com>
15948
15949         * gst/parse/grammar.y:
15950           Fix a leak in parse-launch for any source-or-sink named element 
15951           references used.
15952
15953         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15954           Unref the pipeline if it exists after we've failed parsing.
15955
15956 2006-04-05  Michael Smith  <msmith@fluendo.com>
15957
15958         * gst/gstpipeline.c: (gst_pipeline_init):
15959           When we create a pipeline bus, initially create it in flushing mode.
15960           Fixes leaks in at least one test, and makes a new pipeline work the
15961           same as one that has gone to READY and then back to NULL.
15962
15963         * gst/gstelement.c:
15964           Typo fix in docs.
15965
15966 2006-04-05  Michael Smith  <msmith@fluendo.com>
15967
15968         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15969           Unref a pad we reffed.
15970         * tests/check/gst/gstutils.c: (GST_START_TEST):
15971           Unref bins
15972
15973 2006-04-05  Michael Smith  <msmith@fluendo.com>
15974
15975         * gst/gstquery.c: (gst_query_set_formats),
15976         (gst_query_set_formatsv):
15977           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15978
15979 2006-04-05  Michael Smith  <msmith@fluendo.com>
15980
15981         * tests/check/generic/sinks.c: (GST_START_TEST):
15982           Fix a variety of memleaks in sinks check, which are only sometimes 
15983           shown by running the tests under valgrind (weird?).
15984
15985 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15986
15987         * docs/version.entities.in:
15988           Fix the substituted entity name after thomas' changes on the
15989           weekend.
15990
15991 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15992
15993         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15994         VALGRIND_PRINTF
15995         
15996 2006-04-05  Andy Wingo  <wingo@pobox.com>
15997
15998         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15999
16000         * libs/gst/base/gstbasetransform.c
16001         (gst_base_transform_sink_eventfunc): When resetting our segment on
16002         FLUSH_STOP, also update the flag saying we haven't seen a
16003         newsegment.
16004
16005 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16006
16007         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16008
16009         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16010         (gst_plugin_check_license):
16011           minor clean-ups: G_DEFINE_TYPE already takes care of the
16012           parent_class stuff, no need to do it twice. Mark array of
16013           license strings as constant. (#337103)
16014           
16015 2006-04-04  Michael Smith  <msmith@fluendo.com>
16016
16017         * tools/gst-inspect.c: (print_element_list):
16018           Free the right plugin list; fixes a memory leak.
16019
16020 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16021
16022         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16023
16024         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16025           Don't error out on empty buffers (#336945).
16026           
16027 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16028
16029         * docs/libs/gstreamer-libs-sections.txt:
16030         * gst/gsttaglist.c:
16031         * libs/gst/base/gstbasesink.c:
16032         * libs/gst/base/gstbasesink.h:
16033         * libs/gst/base/gstbasesrc.c:
16034         * libs/gst/base/gstbasesrc.h:
16035           Documentation updates. Make BaseSink and BaseSrc docs contain the
16036           class structure so that people can actually see the prototypes for
16037           virtual functions they're supposed to be overriding.
16038
16039 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16040
16041         * plugins/elements/gsttypefindelement.c:
16042         (gst_type_find_element_chain):
16043           More debug info; when skipping typefinding, send cached
16044           events in all cases.
16045
16046 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16047
16048         * configure.ac:
16049           use new AS_VERSION and AS_NANO macros
16050         * gst/gst-i18n-lib.h:
16051         * gst/gst.c:
16052         * gst/gsterror.c:
16053         * gst/gstversion.h.in:
16054         * win32/common/config.h:
16055         * win32/common/config.h.in:
16056           update accordingly
16057
16058 2006-03-31  Michael Smith  <msmith@fluendo.com>
16059
16060         * plugins/elements/gsttypefindelement.c:
16061         (gst_type_find_element_chain):
16062           Do not typefind content if the buffers already have caps.
16063           Neccesary for icydemux (#333657), and the right thing to do anyway.
16064
16065 2006-03-30  Wim Taymans  <wim@fluendo.com>
16066
16067         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16068         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16069         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16070         (gst_base_sink_record_qos_observation),
16071         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16072         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16073         (gst_base_sink_change_state):
16074         More QoS measurements as described in the design doc.
16075         Get rid of ringbuffer with observations, running average is
16076         more simple and equally good.
16077         Calculates valid proportion now.
16078         Added beginning of flood measurement.
16079
16080 2006-03-29  Wim Taymans  <wim@fluendo.com>
16081
16082         * docs/design/part-qos.txt:
16083         * gst/gstclock.c:
16084         Small documentation updates and additions.
16085
16086 2006-03-29  Wim Taymans  <wim@fluendo.com>
16087
16088         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16089         (gst_base_src_send_event), (gst_base_src_loop),
16090         (gst_base_src_change_state):
16091         Perform the EOS logic when we reach the segment stop position.
16092         Fix compilation on gcc4.1
16093
16094 2006-03-29  Wim Taymans  <wim@fluendo.com>
16095
16096         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16097
16098         * plugins/elements/gstqueue.c: (gst_queue_init),
16099         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16100         (gst_queue_set_property):
16101         * plugins/elements/gstqueue.h:
16102         In queue, when EOS is received, if minimum threshold > max_size -
16103         current_level, there is chance that queue blocks forever in conditional
16104         item del wait. This is because the queue is not emptied completely due
16105         to minimum threshold.  Here is another approach. Instead of setting
16106         cur_levels to max in EOS, just zero all minimum threshold levels. This
16107         should make sure that queue gives out all data. When going to READY
16108         (stop) state, just reset the original minimum threshold levels.
16109         Fixes #336336.
16110
16111 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16112
16113         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16114         (gst_type_find_element_handle_event),
16115         (gst_type_find_element_send_cached_events),
16116         (gst_type_find_element_change_state):
16117         * plugins/elements/gsttypefindelement.h:
16118           When typefinding is done in push mode, we should cache
16119           events we receive during typefinding instead of just
16120           dropping them (e.g. newsegment, custom events from
16121           dvdreadsrc etc.) and then send them out once we've
16122           determined the type of the stream (and decodebin
16123           has had a chance to plug in a decoder/demuxer).
16124           
16125 2006-03-27  Wim Taymans  <wim@fluendo.com>
16126
16127         * docs/design/part-qos.txt:
16128         First QoS ideas.
16129
16130 2006-03-27  Wim Taymans  <wim@fluendo.com>
16131
16132         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16133
16134         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16135         (gst_base_src_send_event), (gst_base_src_change_state):
16136         Handle element seek correctly when we are streaming.
16137         Fixes #326998.
16138
16139 2006-03-24  Michael Smith  <msmith@fluendo.com>
16140
16141         * docs/faq/gst-uninstalled:
16142           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16143           allow you to correctly run intalled applications built against old 
16144           core, using plugins that require updated core (e.g. running
16145           installed totem against a full uninstalled gstreamer stack)
16146
16147 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16148
16149         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16150         more debug details
16151
16152 2006-03-24  Wim Taymans  <wim@fluendo.com>
16153
16154         * docs/gst/gstreamer-sections.txt:
16155         Rearrange the order of the methods so that related methods
16156         are grouped together in sections.
16157
16158 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16159
16160         * gst/gstelement.c:
16161           Little clarification in the docs
16162
16163 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16164
16165         * docs/README:
16166         formatting fix
16167         * plugins/elements/gstidentity.c:
16168         * plugins/elements/gstqueue.c:
16169         * plugins/elements/gsttee.c:
16170         * plugins/elements/gsttypefindelement.c:
16171         GST_ELEMENT_DETAILS formatting
16172
16173 2006-03-24  Wim Taymans  <wim@fluendo.com>
16174
16175         * libs/gst/base/gstbasesink.h:
16176         Only add fields, not insert or we break ABI.
16177
16178 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16179
16180         * win32/common/libgstbase.def:
16181         * win32/common/libgstreamer.def:
16182           Update, add recently added functions.
16183
16184 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16185
16186         * docs/gst/gstreamer-sections.txt:
16187         * gst/gstutils.c: (gst_pad_query_peer_position),
16188         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16189         * gst/gstutils.h:
16190           API: add some new utility functions:
16191            - gst_pad_query_peer_position()
16192            - gst_pad_query_peer_duration()
16193            - gst_pad_query_peer_convert()
16194           
16195 2006-03-23  Wim Taymans  <wim@fluendo.com>
16196
16197         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16198         (gst_base_sink_init), (gst_base_sink_finalize),
16199         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16200         (gst_base_sink_set_property), (gst_base_sink_get_property),
16201         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16202         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16203         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16204         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16205         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16206         (gst_base_sink_preroll_object), (gst_base_sink_event),
16207         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16208         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16209         (gst_base_sink_query), (gst_base_sink_change_state):
16210         Decouple max-lateness and the fact that QoS messages are generated
16211         with a new property (qos).
16212         added API: GstBaseSink::async_play()
16213         Add vmethod so subclasses can be notified of ASYNC playing
16214         state changes.
16215         Collect timestamp start and stop to report better current
16216         position in EOS/PLAYING/PAUSED/READY/NULL.
16217         Refactor QoS/frame dropping and other measurements.
16218         API: GstBaseSrc::qos
16219         Fixes #326311
16220
16221         * libs/gst/base/gstbasesink.h:
16222         Added Private struct.
16223         API: gst_base_sink_set_qos_enabled()
16224         API: gst_base_sink_is_qos_enabled()
16225
16226 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16227
16228         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16229           If compiling against GLib-2.8 or newer, try to read the
16230           registry file using GMappedFile first before falling back
16231           to fopen() + fread() (#332151).
16232
16233 2006-03-22  Wim Taymans  <wim@fluendo.com>
16234
16235         * gst/gstinfo.c: (gst_debug_set_active),
16236         (gst_debug_category_set_threshold):
16237         Disable debugging unless explicitly activated.
16238         Fixes #335480.
16239
16240 2006-03-22  Wim Taymans  <wim@fluendo.com>
16241
16242         * gst/gstelement.c: (gst_element_set_locked_state),
16243         (gst_element_dispose):
16244         Cleanup the error case.
16245
16246         * gst/gstobject.c: (gst_object_dispose):
16247         print a critical when some object was disposed with
16248         a parent, also revive the object since it might
16249         crash the parent.
16250
16251 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16252
16253         * tools/gst-launch.1.in:
16254           Fix another typo.
16255
16256 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16257
16258         * configure.ac:
16259         * tests/check/Makefile.am:
16260           disable some tests when we don't have a registry
16261         * tests/check/gst/gstutils.c: (gst_utils_suite):
16262           don't build the part that needs parsing
16263
16264 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16265
16266         * gst/Makefile.am
16267         * tests/examples/Makefile.am:
16268           fix --disable-parse build
16269
16270 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16271
16272         * tools/gst-feedback.1.in:
16273           Fix typo: s/feeback/feedback/ (#133494).
16274
16275 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16276
16277         * tools/Makefile.am:
16278         * tools/gst-launch.1.in:
16279           Add FILES section and correct entry about GST_REGISTRY_PATH
16280           environment variable (#133495; #133494).
16281
16282 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16283
16284         * tools/Makefile.am:
16285         * tools/gst-md5sum.1.in:
16286         * tools/gst-md5sum.c:
16287           Remove gst-md5sum and man page (the md5sink element
16288           required was removed ages ago)
16289
16290 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16291
16292         * gst/gststructure.c: (gst_structure_id_set_value):
16293           Make sure that string fields in structures/taglists
16294           contain valid UTF-8 - we don't want to pass rubbish to
16295           applications because of a buggy plugin (cp. #334167).
16296
16297 2006-03-21  Edward Hervey  <edward@fluendo.com>
16298
16299         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16300         (gst_bin_handle_message_func):
16301         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16302         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16303         (gst_element_set_bus_func):
16304         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16305         * gst/gstminiobject.c: (gst_value_set_mini_object),
16306         (gst_value_take_mini_object):
16307         * gst/gstpad.c: (gst_pad_set_pad_template):
16308         * gst/gstpipeline.c: (gst_pipeline_dispose),
16309         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16310         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16311         (gst_collect_pads_chain):
16312         * libs/gst/net/gstnettimeprovider.c:
16313         (gst_net_time_provider_set_property):
16314         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16315         It's in fact all issues with gst_*object_replace().
16316
16317 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16318
16319         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16320         
16321         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16322         * pkgconfig/gstreamer-check.pc.in:
16323           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16324
16325 2006-03-21  Edward Hervey  <edward@fluendo.com>
16326
16327         * gst/gstbuffer.h:
16328         * gst/gstevent.h:
16329         * gst/gstmessage.h:
16330         gst_[buffer|event|message]_ref() macros are replaced by a static
16331         inline functions because gcc-4.1 will about if the return value
16332         isn't used.
16333         * tests/check/gst/gstevent.c: (event_probe):
16334         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16335
16336 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16337
16338         * gst/gstutils.h:
16339         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16340         the type' case. (Closes: #335195 for now). In the future, when we
16341         depend on GLib 2.10, we could also intern the type name using
16342         g_intern_static_string()
16343
16344 2006-03-20  Wim Taymans  <wim@fluendo.com>
16345
16346         * gst/gstbin.c: (gst_bin_handle_message_func),
16347         (bin_query_max_init), (bin_query_position_fold),
16348         (bin_query_position_done), (gst_bin_query):
16349         Position query should also take max of all streams.
16350
16351 2006-03-20  Wim Taymans  <wim@fluendo.com>
16352
16353         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16354         (gst_fake_src_finalize):
16355         Fix leaks in fakesrc.
16356
16357         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16358         Fix leaks in the testcase.
16359
16360 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16361
16362         * gst/gst_private.h:
16363           add win32 specific import decoration(__declspec(dllimport)) 
16364           for all extern GstDebugCategory * variables
16365         * win32/common/libgstbase.def:
16366         * win32/common/libgstcontroller.def:
16367         * win32/common/libgstreamer.def:
16368           Add some exports, remove empty lines
16369         * win32/common/libgstdataprotocol.def:
16370         * win32/common/libgstdataprotocol.dsp:
16371         * win32/common/libgstnet.def:
16372         * win32/common/libgstnet.dsp:
16373           new project files and exportation files added
16374         
16375 2006-03-19  Wim Taymans  <wim@fluendo.com>
16376
16377         * tests/check/libs/basesrc.c: (eos_event_counter):
16378         Use proper return value for probe.
16379
16380 2006-03-17  Wim Taymans  <wim@fluendo.com>
16381
16382         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16383         (gst_pad_push):
16384         Don't leak buffers, caps and pads on negotiation errors.
16385
16386 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16387
16388         * docs/faq/cvs.xml:
16389         * docs/faq/dependencies.xml:
16390         * docs/faq/developing.xml:
16391         * docs/faq/faq.xml:
16392         * docs/faq/general.xml:
16393         * docs/faq/getting.xml:
16394         * docs/faq/legal.xml:
16395         * docs/faq/troubleshooting.xml:
16396         * docs/faq/using.xml:
16397         Faq review and update.
16398
16399 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16400
16401         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16402         (gst_pad_push):
16403         Don't pound the cpu to pieces by checking get_caps when accept_caps
16404         is called with the same caps as the pad already has.
16405         Use GST_DEBUG_OBJECT when outputting caps change information.
16406
16407 2006-03-15  Wim Taymans  <wim@fluendo.com>
16408
16409         * gst/gstclock.c: (gst_clock_class_init):
16410         Fix docs.
16411
16412 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16413
16414         * gst/gstbuffer.h:
16415         Documentation fix.
16416
16417         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16418         (gst_pad_accept_caps), (gst_pad_configure_sink),
16419         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16420         Make the default acceptcaps behaviour be to check the requested 
16421         caps against the gst_pad_get_caps output. 
16422
16423         Ensure that gst_pad_accept_caps is used to check caps when a pad
16424         doesn't have a setcaps function, so that pads automatically refuse 
16425         caps that they don't allow in their pad template. (Fixes #332986)
16426
16427         When a buffer with attached caps is pushed, ensure that the source 
16428         pad receives those caps even if the element didn't call
16429         gst_pad_set_caps first.
16430
16431 2006-03-15  Wim Taymans  <wim@fluendo.com>
16432
16433         * libs/gst/base/gstadapter.c:
16434         Add some docs.
16435
16436 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16437
16438         * win32/common/libgstbase.def:
16439         * win32/common/libgstcontroller.def:
16440         * win32/common/libgstreamer.def:
16441           Add a whole bunch of missing functions (#334434).
16442
16443 2006-03-14  Wim Taymans  <wim@fluendo.com>
16444
16445         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16446         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16447         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16448         Better debug info when we receive a segment event.
16449         Reorganize a bit so we can pass the get_times() results around.
16450         Use the segment format when calculating the running time.
16451         Don't do QoS is sync is disabled or we have no clock or the
16452         element does not want us to sync to the clock.
16453         Don't drop buffers if QoS is disabled for now.
16454
16455 2006-03-14  Wim Taymans  <wim@fluendo.com>
16456
16457         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16458         Marked the stats property as unimplemented so people don't get
16459         wild ideas.
16460         Add debug message when regression goes wrong.
16461         Added some more docs.
16462
16463 2006-03-14  Wim Taymans  <wim@fluendo.com>
16464
16465         * gst/gstsegment.c: (gst_segment_to_stream_time):
16466         Return correct return type in case of errors.
16467
16468 2006-03-14  Wim Taymans  <wim@fluendo.com>
16469
16470         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16471           Don't segfault on invalid formats.
16472
16473 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16474
16475         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16476           Can't use gst_segment_to_running_time() when the segment
16477           is not in GST_TIME_FORMAT (like with filesink, for example).
16478           Stops flac encoding pipelines from spewing critical warnings
16479           at EOS (#331248).
16480           
16481 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16482
16483         * gst/gstpipeline.c: (gst_pipeline_class_init):
16484           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16485
16486         * plugins/elements/gsttypefindelement.c:
16487         (gst_type_find_element_handle_event):
16488           Don't try to typefind empty streams.
16489
16490 2006-03-14  Wim Taymans  <wim@fluendo.com>
16491
16492         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16493         (gst_base_sink_do_qos):
16494         Separate QoS calculation.
16495         Only drop buffers when lateness is bigger than the 
16496         duration of the buffer.
16497
16498 2006-03-13  Wim Taymans  <wim@fluendo.com>
16499
16500         * gst/gstpipeline.c: (gst_pipeline_set_property),
16501         (gst_pipeline_get_property), (do_pipeline_seek),
16502         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16503         (gst_pipeline_get_delay):
16504         Don't deadlock when reading properties.
16505
16506 2006-03-13  Wim Taymans  <wim@fluendo.com>
16507
16508         * libs/gst/base/gstbasetransform.c:
16509         (gst_base_transform_class_init), (gst_base_transform_init),
16510         (gst_base_transform_sink_event),
16511         (gst_base_transform_sink_eventfunc),
16512         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16513         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16514         (gst_base_transform_set_property),
16515         (gst_base_transform_get_property),
16516         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16517         (gst_base_transform_set_qos_enabled),
16518         (gst_base_transform_is_qos_enabled):
16519         * libs/gst/base/gstbasetransform.h:
16520         Make basetransform virtual method for src events too.
16521         Handle QOS in basetransform.
16522         API: gst_base_transform_update_qos()
16523         API: gst_base_transform_set_qos_enabled()
16524         API: gst_base_transform_is_qos_enabled()
16525
16526 2006-03-13  Wim Taymans  <wim@fluendo.com>
16527
16528         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16529         (gst_base_sink_do_sync):
16530         Small cleanups.
16531         Use QOS debug category.
16532
16533 2006-03-13  Wim Taymans  <wim@fluendo.com>
16534
16535         * plugins/elements/gstqueue.c:
16536         Very small doc update.
16537
16538 2006-03-13  Wim Taymans  <wim@fluendo.com>
16539
16540         * gst/gst_private.h:
16541         * gst/gstinfo.c: (_gst_debug_init):
16542         Added QOS debug category
16543
16544 2006-03-13  Wim Taymans  <wim@fluendo.com>
16545
16546         * docs/gst/gstreamer-sections.txt:
16547         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16548         * gst/gstbin.h:
16549         * gst/gstbus.c: (gst_bus_class_init):
16550         * gst/gstbus.h:
16551         * gst/gstclock.c:
16552         * gst/gstelement.c: (gst_element_set_locked_state):
16553         * gst/gstsegment.c:
16554         Documentation updates.
16555
16556         * gst/gstpipeline.c: (gst_pipeline_get_type),
16557         (gst_pipeline_class_init), (gst_pipeline_init),
16558         (gst_pipeline_dispose), (gst_pipeline_set_property),
16559         (gst_pipeline_get_property), (do_pipeline_seek),
16560         (gst_pipeline_send_event), (gst_pipeline_change_state),
16561         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16562         (gst_pipeline_get_delay):
16563         * gst/gstpipeline.h:
16564         Added methods for setting the delay.
16565         API: gst_pipeline_set_delay()
16566         API: gst_pipeline_get_delay()
16567         Add pipeline debug category
16568         Various cleanups.
16569         Updated docs.
16570         Don't reset stream time when seek failed.
16571
16572 2006-03-13  Wim Taymans  <wim@fluendo.com>
16573
16574         * docs/design/draft-klass.txt:
16575         * docs/design/part-clocks.txt:
16576         * docs/design/part-events.txt:
16577         * docs/design/part-gstbin.txt:
16578         * docs/design/part-gstpipeline.txt:
16579         * docs/design/part-messages.txt:
16580         * docs/design/part-negotiation.txt:
16581         * docs/design/part-overview.txt:
16582         * docs/design/part-preroll.txt:
16583         * docs/design/part-seeking.txt:
16584         * docs/design/part-states.txt:
16585         * docs/design/part-streams.txt:
16586         Documentation updates.
16587
16588 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16589
16590         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16591         us to leak strings...
16592
16593 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16594
16595         * libs/gst/net/gstnettimeprovider.c:
16596           fix docs
16597         * win32/common/config.h:
16598           update
16599
16600 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16601
16602         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16603
16604         * configure.ac:
16605           Don't check for libgnomeui (leftover from old examples
16606           that aren't built or disted any longer) (#334303).
16607           
16608 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16609
16610         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16611         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16612           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16613           there's no space left on the device.
16614
16615 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16616
16617         * gst/gstclock.h:
16618           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16619           to cast the input to GstClockTime before comparing with
16620           another GstClockTime value.
16621
16622 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16623
16624         * configure.ac:
16625           back to trunk
16626
16627 === release 0.10.4 ===
16628
16629 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16630
16631         * configure.ac:
16632           releasing 0.10.4, "Light"
16633
16634 2006-03-10  Michael Smith  <msmith@fluendo.com>
16635
16636         * libs/gst/dataprotocol/dataprotocol.c:
16637           Fix docs for dataprocotol to not get the return types completely
16638           wrong for a few functions.
16639
16640 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16641
16642         * docs/gst/gstreamer-sections.txt:
16643         * gst/gstpipeline.c: (gst_pipeline_class_init),
16644         (gst_pipeline_init), (gst_pipeline_set_property),
16645         (gst_pipeline_get_property), (gst_pipeline_change_state),
16646         (gst_pipeline_set_auto_flush_bus),
16647         (gst_pipeline_get_auto_flush_bus):
16648         * gst/gstpipeline.h:
16649           Add new API: gst_pipeline_set_auto_flush_bus() and
16650           gst_pipeline_get_auto_flush_bus() to disable automatic
16651           flushing of the pipeline's GstBus when going from READY
16652           to NULL state (#332045).
16653
16654 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16655
16656         * docs/gst/gstreamer-sections.txt:
16657         * gst/gsturi.c: (gst_uri_has_protocol):
16658         * gst/gsturi.h:
16659            Add new API: gst_uri_has_protocol() (#333779).
16660
16661 2006-03-09  Wim Taymans  <wim@fluendo.com>
16662
16663         * gst/gstclock.c: (gst_clock_entry_new),
16664         (gst_clock_id_compare_func), (gst_clock_id_wait),
16665         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16666         (gst_clock_init), (gst_clock_get_internal_time),
16667         (gst_clock_set_master), (do_linear_regression),
16668         (gst_clock_add_observation), (gst_clock_set_property):
16669         * gst/gstclock.h:
16670         Review docs.
16671         Small cleanups.
16672         Fix a possible segfault when the window-size is made smaller.
16673         Calculate jitter before performing the clock wait. Ideally
16674         the clock implementation should calculate jitter but we need
16675         API breakage for that.
16676
16677         * gst/gstsystemclock.c: (gst_system_clock_init):
16678         Docs review.
16679         
16680         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16681         Remove leftover else
16682
16683         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16684         (gst_systemclock_suite):
16685         Added check to test GST_CLOCK_DIFF.
16686
16687 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16688
16689         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16690         (gst_type_find_helper_get_range):
16691           If we are provided with the size, we should implement
16692           GstTypeFind::get_length, so that typefind functions who
16693           want to can actually peek at the middle of a file.
16694
16695 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16696
16697         * docs/manual/advanced-dataaccess.xml:
16698           Add some very very basic error checking.
16699
16700         * docs/pwg/appendix-checklist.xml:
16701           Some updates to the list of things to check when writing an element.
16702
16703 2006-03-08  Wim Taymans  <wim@fluendo.com>
16704
16705         * docs/design/part-element-transform.txt:
16706         Added some docs about the design of tranform elements.
16707
16708         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16709         (gst_base_src_loop), (gst_base_src_change_state):
16710         Mark buffers with the DISCONT flag.
16711
16712 2006-03-08  Michael Smith  <msmith@fluendo.com>
16713
16714         * gst/gstregistry.h:
16715         * gst/gstregistryxml.c: (gst_registry_save),
16716         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16717         (gst_registry_xml_save_pad_template),
16718         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16719         (gst_registry_xml_write_cache):
16720           Rewrite registry-saving to avoid race conditions and check for
16721           failed writes.
16722
16723 2006-03-08  Wim Taymans  <wim@fluendo.com>
16724
16725         * libs/gst/base/gstbasetransform.c:
16726         (gst_base_transform_transform_caps),
16727         (gst_base_transform_transform_size),
16728         (gst_base_transform_prepare_output_buffer),
16729         (gst_base_transform_get_unit_size),
16730         (gst_base_transform_buffer_alloc),
16731         (gst_base_transform_handle_buffer),
16732         (gst_base_transform_change_state):
16733         Cleanups, separate normal flow from errors, add sensible
16734         DEBUG lines.
16735         Don't try to renegotiate when allocating an output buffer.
16736         Also copy DISCONT buffer flag when copying a buffer.
16737         Reset the transform after we finish streaming, not during.
16738
16739 2006-03-08  Wim Taymans  <wim@fluendo.com>
16740
16741         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16742         Use last buffer timestamp in qos message.
16743
16744 2006-03-07  Wim Taymans  <wim@fluendo.com>
16745
16746         Patch by: Christophe Fergeau
16747
16748         * docs/pwg/advanced-tagging.xml:
16749         * docs/pwg/building-pads.xml:
16750           fixes #333416
16751
16752 2006-03-07  Wim Taymans  <wim@fluendo.com>
16753
16754         * docs/libs/gstreamer-libs-sections.txt:
16755         Added basesink new methods.
16756
16757         * gst/gstevent.c:
16758         * gst/gstevent.h:
16759         Docs updates. Flesh out the QoS docs.
16760
16761         * libs/gst/base/gstadapter.c:
16762         Small doc clarification about ownership and flushing.
16763
16764         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16765         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16766         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16767         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16768         * libs/gst/base/gstbasesink.h:
16769         API additions: 
16770         Added new methods to allow subclass to control max-lateness 
16771         and sync.
16772         Generate very basic QoS events based on last sync observation.
16773         Updated docs, fix typo, added some QoS blurb.
16774
16775         * libs/gst/base/gstbasesrc.c:
16776         Remove obsolete _get_state() calls from docs.
16777
16778 2006-03-07  Wim Taymans  <wim@fluendo.com>
16779
16780         * docs/libs/gstreamer-libs-sections.txt:
16781         * libs/gst/base/gstbasetransform.h:
16782         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16783         Fix docs for GstBaseSrc.
16784
16785 2006-03-07  Wim Taymans  <wim@fluendo.com>
16786
16787         * docs/gst/gstreamer-sections.txt:
16788         * gst/gstbuffer.h:
16789         * gst/gstvalue.c:
16790         * libs/gst/base/gstbasetransform.h:
16791         Small documentation fixes.
16792
16793 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16794
16795         * gst/gstvalue.c:
16796           Document thread-unsafety of gst_value_register_foo_func()
16797           when used at the same time as gst_value_foo() (#322628).
16798
16799 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16800
16801         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16802         (gst_push_src_check_get_range):
16803           Push sources don't support pull mode by default.
16804
16805 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16806
16807         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16808         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16809         (gst_base_src_default_check_get_range):
16810         * libs/gst/base/gstbasesrc.h:
16811           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16812           provide default implementation, and rename
16813           gst_base_src_check_get_range() to
16814           gst_base_src_pad_check_get_range() for clarity.
16815
16816 2006-03-06  Wim Taymans  <wim@fluendo.com>
16817
16818         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16819         Make property overridable.
16820
16821 2006-03-06  Wim Taymans  <wim@fluendo.com>
16822
16823         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16824         (gst_base_sink_init), (gst_base_sink_set_property),
16825         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16826         * libs/gst/base/gstbasesink.h:
16827         API addition: Make max-lateness a property.
16828
16829 2006-03-06  Wim Taymans  <wim@fluendo.com>
16830
16831         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16832         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16833         Don't ever draw a frame that is >10ms late.
16834
16835 2006-03-06  Michael Smith  <msmith@fluendo.com>
16836
16837         * gst/gstmessage.c: (_gst_message_copy):
16838           When copying a message, set the parent_refcount of the enclosed
16839           structure to point at the copy, not the original message.
16840
16841 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16842
16843         Patch by: Christophe Fergeau
16844
16845         * gst/gstutils.h:
16846           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16847           usable in c++ code (#333417)
16848
16849 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16850
16851         * gst/gstclock.h:
16852           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16853
16854 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16855
16856         * libs/gst/base/gstbasetransform.c:
16857         (gst_base_transform_transform_caps):
16858           Make sure caps are writable before passing them to
16859           gst_caps_append().
16860
16861 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16862
16863         * gst/gsterror.h:
16864           Fix some minor docs errors.
16865
16866 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16867
16868           Patch by: Ross Burton <ross at burtonini dot com>
16869
16870         * gst/gsterror.c: (_gst_resource_errors_init):
16871         * gst/gsterror.h:
16872           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16873
16874 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16875
16876         * gst/gst.c:
16877         Add a check and output a g_warning when GStreamer is built
16878         against GLib 2.6 but running against 2.8 or higher, and vice 
16879         versa. (Closes: #323542)
16880
16881 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16882
16883         * gst/parse/parse.l:
16884           Commit patch for parse_launch syntax from #331255. Removes 
16885           support for quoted strings and mimetypes when writing filtered 
16886           caps. See the bug report for more details - I'm pretty sure this
16887           obscure feature is not in use by _anyone_ anywhere.
16888
16889           With this simple change, the size of the gstreamer.so here 
16890           drops from 2193KB to 1565KB.
16891
16892 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16893
16894         * plugins/elements/gsttypefindelement.h:
16895         * plugins/elements/gsttypefindelement.c:
16896         (gst_type_find_element_src_event), (start_typefinding),
16897         (stop_typefinding), (gst_type_find_element_handle_event),
16898         (gst_type_find_element_chain),
16899         (gst_type_find_element_chain_do_typefinding):
16900           Use gst_type_find_helper_for_buffer() for chain-based
16901           typefinding.
16902
16903 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16904
16905         * plugins/elements/gsttypefindelement.c:
16906         (gst_type_find_element_class_init),
16907         (gst_type_find_element_set_property),
16908         (gst_type_find_element_get_property):
16909           Deprecate "maximum" property (not only was it only taken into
16910           account for typefinding in push-mode anyway, it also was never
16911           actually possible to set it in the first place because the
16912           property was registered with the numeric property ID for the
16913           "minimum" property). Register "maximum" property correctly,
16914           for the sake of future copy'n'pasters. Remove some cruft
16915           from property get/set functions.
16916
16917 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16918
16919         * plugins/elements/gsttypefindelement.c:
16920         (gst_type_find_element_activate):
16921           Use gst_type_find_helper_get_range() here, so we
16922           can honour the "minimum" property and also emit
16923           the signal with the correct probability of the found caps.
16924
16925 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16926
16927         * docs/libs/gstreamer-libs-sections.txt:
16928         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16929         (helper_find_suggest), (gst_type_find_helper_get_range),
16930         (gst_type_find_helper):
16931         * libs/gst/base/gsttypefindhelper.h:
16932           New API: gst_type_find_helper_get_range() (#333042).
16933
16934 2006-03-02  Michael Smith  <msmith@fluendo.com>
16935
16936         * gst/gstregistryxml.c: (load_feature):
16937           Asserting on a failure to read part of the registry is Not Cool.
16938           Just log a warning and return NULL (which is already handled)
16939
16940 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16941
16942         * win32/common/libgstbase.def:
16943           added export of gst_type_find_helper_for_buffer
16944         * win32/common/libgstbase.def:
16945           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16946           gst_ghost_pad_get_target
16947
16948 2006-02-28  Wim Taymans  <wim@fluendo.com>
16949
16950         * docs/design/draft-klass.txt:
16951         We use Filter now.
16952         Added Connector to mark elements that are only used to
16953         allow pipeline connections.
16954         Moved Debug to extra feature since most of them are 
16955         functionally something else.
16956
16957 2006-02-28  Wim Taymans  <wim@fluendo.com>
16958
16959         * docs/design/draft-klass.txt:
16960         Some updates and clarifications.
16961
16962 2006-02-28  Wim Taymans  <wim@fluendo.com>
16963
16964         * docs/design/draft-klass.txt:
16965         Proposal for klass field values.
16966
16967         * docs/design/part-streams.txt:
16968         Start of a doc describing stream anatomy.
16969
16970 2006-02-28  Wim Taymans  <wim@fluendo.com>
16971
16972         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16973         Help the compiler a bit with type registration.
16974         Use existing forward cod path instead of duplicating it when 
16975         handling a message.
16976         
16977         * gst/gstbus.c: (gst_bus_get_type):
16978         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16979         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16980         * gst/gstclock.c: (gst_clock_get_type):
16981         * gst/gstelement.c: (gst_element_get_type),
16982         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16983         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16984         * gst/gstminiobject.c: (gst_mini_object_get_type):
16985         * gst/gstpad.c: (gst_pad_get_type):
16986         * gst/gstsegment.c: (gst_segment_get_type):
16987         * gst/gststructure.c: (gst_structure_get_type):
16988         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16989         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16990         * gst/gstvalue.c:
16991         Help compiler with type registration.
16992
16993         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16994         Small doc update.
16995
16996 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16997
16998         * plugins/elements/gsttypefindelement.c:
16999         (gst_type_find_element_handle_event):
17000           When we get an EOS event and have not found a type yet
17001           (most likely because we had not yet accumulated
17002           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17003           type given the data we have so far. Fixes typefinding
17004           for very short streams again, most notably quicktime
17005           redirections as used on Apple's trailer site (#331701).
17006
17007 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17008
17009         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17010         (gst_type_find_helper):
17011           Try typefinding factories with the highest rank first.
17012
17013 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17014
17015         * docs/libs/gstreamer-libs-docs.sgml:
17016         * docs/libs/gstreamer-libs-sections.txt:
17017         * libs/gst/base/gsttypefindhelper.c:
17018           Add section for typefind helper and add documentation
17019           for the old and the new function.
17020
17021 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17022
17023         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17024         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17025         (gst_type_find_helper_for_buffer):
17026         * libs/gst/base/gsttypefindhelper.h:
17027           New API: gst_type_find_helper_for_buffer() (#332723).
17028           
17029 2006-02-27  Michael Smith  <msmith@fluendo.com>
17030
17031         Patch by: Loïc Minier
17032
17033         * configure.ac:
17034         * docs/Makefile.am:
17035         * docs/slides/Makefile.am:
17036           prevent CVS directories getting disted.
17037
17038 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17039
17040         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17041           Use the REFCOUNTING category for caps refcounting.
17042           
17043 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17044
17045         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17046           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17047
17048 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17049
17050         * plugins/elements/gsttypefindelement.c:
17051         (gst_type_find_element_activate):
17052           Use gst_pad_check_pull_range() before _activate_pull()
17053           to avoid unnecessary open/close (see #331690).
17054
17055 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17056
17057         * gst/gstutils.c:
17058           Docs enhancement: make it crystal clear what the
17059           gst_pad_add_*_probe() callbacks should look like.
17060
17061 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17062
17063         * libs/gst/base/gstbasesrc.c:
17064           Document how applications can stop recording from
17065           live sources (see #330996).
17066
17067 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17068
17069         * tests/check/Makefile.am:
17070         * tests/check/libs/basesrc.c: (eos_event_counter),
17071         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17072         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17073         (gst_basesrc_suite), (main):
17074           ... and add some tests for the base source EOS stuff.
17075
17076 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17077
17078         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17079           Test case originally showed the problem fixed below,
17080           but was then amended. Add checks back at the place
17081           where they used to be.
17082
17083 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17084
17085         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17086         (gst_base_src_init), (gst_base_src_loop),
17087         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17088         (gst_base_src_change_state):
17089         * libs/gst/base/gstbasesrc.h:
17090           Don't unconditionally send EOS when going from PAUSED to
17091           READY state, esp. make sure we don't send two EOS events
17092           in some cases (e.g. one when reaching EOS and one when
17093           going from PAUSED to READY). Also, we don't want to send
17094           EOS events when operating in pull mode. However, we do
17095           want to send an EOS event when shutting down a live
17096           source explicitly, for example (fixes #330996).
17097           
17098 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17099
17100         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17101           Update src->read_position after a seek when not using mmap.
17102           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17103
17104 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17105
17106         * gst/Makefile.am:
17107         * gst/gstparse.h:
17108         * gst/gstutils.c:
17109         * gst/gstutils.h:
17110         Make things work with --disable-parse as they do with 
17111         --disable-load-save - the symbols involved disappear, but the
17112         header is still installed and GST_DISABLE_PARSE is included via
17113         gstconfig.h
17114
17115 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17116
17117         * libs/gst/base/gstbasetransform.c:
17118         (gst_base_transform_change_state): Fix a stupid bug. I was 
17119         sure I compiled that.
17120
17121 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17122
17123         * gst/gstpad.c: (gst_pad_set_blocked_async):
17124         * gst/gstutils.c: (gst_pad_add_data_probe),
17125         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17126         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17127         (gst_pad_remove_buffer_probe): Make those function act on the
17128         ghostpad target when it's a ghostpad. (Closes #331727)
17129
17130 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17131
17132         * libs/gst/base/gstbasetransform.c:
17133         (gst_base_transform_change_state): Make basetransform reusable.
17134         (Closes #331898)
17135
17136 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17137
17138         * docs/random/release:
17139         Move the current documentation of how to do a release to the top
17140         of the file.
17141
17142         * gst/gstbin.c: (gst_bin_class_init),
17143         (gst_bin_handle_message_func):
17144         Allow multiple state-recalculation threads. (Closes #328873)
17145
17146 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17147
17148         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17149         * gst/gstpad.c: (gst_pad_set_event_function),
17150         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17151         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17152         2 strings. You can't use the STR_NULL macro on that.
17153
17154 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17155
17156         * gst/gstpad.c: (gst_pad_set_event_function),
17157         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17158         (gst_pad_set_getcaps_function)
17159         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17160           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17161           So now, we can use --gst-debug-level=5 on Windows
17162         * win32/common/libgstcontroller.def:
17163           Added export of gst_controller_init
17164         * win32/vs6/libgstcontroller.dsp:
17165           Fixed Release post build configuration
17166
17167 2006-02-17  Wim Taymans  <wim@fluendo.com>
17168
17169         * tests/check/gst/gstquery.c: (GST_START_TEST):
17170         Added another check.
17171
17172 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17173
17174         * plugins/elements/gsttypefindelement.c: (find_peek):
17175           We can do peeks at non-zero offsets, as long as they
17176           fall within the buffer we have.
17177
17178 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17179
17180         * tests/check/Makefile.am:
17181         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17182         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17183         (parse_suite), (main):
17184           Add testsuite for parse launch syntax
17185
17186 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17187
17188         * plugins/elements/gsttypefindelement.c:
17189         (gst_type_find_element_chain):
17190           When typefinding is unsuccessful in the chain function, don't
17191           error out immediately. Only error out with NO_CAPS_FOUND if
17192           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17193           otherwise simply wait for more data so we can try typefinding
17194           again with more data later. Also, don't attempt to typefind
17195           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17196           this should improve typefinding from network sources where the
17197           size of the first buffer can be somewhat random.
17198
17199 2006-02-14  Wim Taymans  <wim@fluendo.com>
17200
17201         * docs/gst/gstreamer-sections.txt:
17202         * gst/gstpadtemplate.c:
17203         * gst/gstpadtemplate.h:
17204         Fix padtemplate docs, fixes #328805.
17205
17206 2006-02-14  Wim Taymans  <wim@fluendo.com>
17207
17208         * tools/gst-launch.c: (main):
17209         NO_PREROLL is not an ERROR so don't send confusing messages
17210         to the user.
17211
17212 2006-02-14  Wim Taymans  <wim@fluendo.com>
17213
17214         Patch by: Torsten Schoenfeld
17215
17216         * gst/gstregistry.c: (gst_registry_get_default),
17217         (_gst_registry_cleanup):
17218         Protect default registry with lock and ref/sink it.
17219         Fixes #324818
17220
17221 2006-02-14  Wim Taymans  <wim@fluendo.com>
17222
17223         * gst/gstbuffer.c:
17224         * gst/gstquery.c: (gst_query_list_add_format),
17225         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17226         (gst_query_parse_formats_nth):
17227         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17228         Docs fixes.
17229
17230 2006-02-14  Wim Taymans  <wim@fluendo.com>
17231
17232         * docs/gst/gstreamer-sections.txt:
17233         Reworked query docs.
17234
17235         * gst/gstquery.c: (gst_query_new_formats),
17236         (gst_query_list_add_format), (gst_query_set_formats),
17237         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17238         (gst_query_parse_formats_nth):
17239         * gst/gstquery.h:
17240         Flesh out formats query, added some new methods.
17241         Fix part of #324398.
17242
17243         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17244         Added query creation tests.
17245
17246 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17247
17248         * gst/gstpad.c: (fixate_value):
17249         Add a default fixation for fraction lists.
17250
17251 2006-02-13  Wim Taymans  <wim@fluendo.com>
17252
17253         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17254         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17255         (gst_task_join):
17256         * gst/gsttask.h:
17257         Detect and warn for obvious deadlocks. fixes #320340
17258         Fix error case where lock was not released.
17259
17260         * tests/check/Makefile.am:
17261         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17262         (task_func), (gst_element_suite), (main):
17263         Add task check.
17264
17265 2006-02-13  Wim Taymans  <wim@fluendo.com>
17266
17267         * docs/gst/gstreamer-sections.txt:
17268         * gst/gstbus.c:
17269         Add new functions to docs.
17270
17271 2006-02-13  Wim Taymans  <wim@fluendo.com>
17272
17273         * docs/design/part-TODO.txt:
17274         Updated TODO list, basesrc supports seeking to non-bytes
17275         formats.
17276
17277         * docs/design/part-element-sink.txt:
17278         Update docs.
17279
17280         * gst/gstbin.c: (bin_replace_message),
17281         (gst_bin_handle_message_func):
17282         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17283         * gst/gstevent.c: (gst_event_finalize):
17284         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17285         (gst_pad_send_event):
17286         Use shiny new _TYPE_NAME macros.
17287
17288         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17289         Move debug statement up.
17290
17291         * gst/gstelement.c: (gst_element_set_locked_state):
17292         Add some debugging.
17293
17294 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17295
17296         * docs/gst/gstreamer-sections.txt:
17297         * gst/gstmessage.h:
17298         * gst/gstquery.h:
17299           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17300           macros (#330906). Also, document the already existing
17301           GST_QUERY_TYPE macro.
17302
17303 2006-02-13  Wim Taymans  <wim@fluendo.com>
17304
17305         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17306         (event_probe), (GST_START_TEST):
17307         Only events up to the pipeline EOS are counted, there are
17308         some more when going to NULL currently which we don't care
17309         about for now.
17310
17311 2006-02-13  Wim Taymans  <wim@fluendo.com>
17312
17313         * gst/gstpad.c: (gst_pad_send_event):
17314         Correctly check flushing and emit probes. fixes #330125
17315
17316 2006-02-10  Andy Wingo  <wingo@pobox.com>
17317
17318         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17319         structure.
17320         (gst_bus_init): Cache the location of the private data in the
17321         instance structure.
17322         (gst_bus_enable_sync_message_emission) 
17323         (gst_bus_disable_sync_message_emission): Implement new public
17324         functions.
17325         (gst_bus_post): Emit the sync-message signal if the user asked for
17326         it. Fixes #330684.
17327
17328         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17329         location of the bus-private structure.
17330         (gst_bus_enable_sync_message_emission)
17331         (gst_bus_disable_sync_message_emission): API addition
17332
17333 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17334
17335         Patch by: Vincent Torri
17336
17337         * docs/pwg/building-boiler.xml:
17338         PWG patch from #326800
17339
17340 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17341
17342         * configure.ac:
17343         * docs/Makefile.am:
17344         * docs/design/Makefile.am:
17345           Dist design docs.
17346
17347 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17348
17349         * configure.ac:
17350           back to CVS
17351
17352 === release 0.10.3 ===
17353
17354 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17355
17356         * configure.ac:
17357           releasing 0.10.3, "Like a virgin"
17358
17359 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17360
17361         * configure.ac:
17362           2nd prerelease of 0.10.3
17363           Bump libtool versioning.
17364
17365 2006-02-07  Andy Wingo  <wingo@pobox.com>
17366
17367         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17368         update last_stop if we're in TIME format and the timestamp is
17369         valid.
17370
17371         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17372         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17373         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17374         If we get a new newsegment with a different format, adapt
17375         accordingly.
17376
17377         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17378         of 0. Not a problem, really.
17379
17380         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17381         warn if sync=true.
17382
17383 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17384
17385         * configure.ac:
17386           Prelease of 0.10.3
17387
17388 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17389
17390         * win32/vs7:
17391           project files updated to the default vs7 configuration
17392         * win32/common/libgstbase.def:
17393         * win32/common/libgstreamer.def:
17394           added new symbols,
17395           removed empty lines,
17396           sorted all exported symbols alphabetically
17397         * win32/common/dirent.c:
17398         * win32/common/dirent.h:
17399         * win32/common/gchar.h:
17400           use windows line end.
17401           
17402 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17403
17404         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17405           Send EOS event when stopping.
17406
17407 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17408
17409         * docs/README:
17410           Tell folks what to do if the plugin-foobar.xml file
17411           hasn't been generated for a newly-added plugin.
17412
17413 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17414
17415         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17416         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17417         (gst_collect_pads_start), (gst_collect_pads_stop),
17418         (gst_collect_pads_event): Collectpads now holds a reference
17419         to the GstPad that was added. Indeed we don't want to look
17420         at pads that might just go away with no warning...
17421
17422 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17423
17424         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17425         (gst_collect_pads_start), (gst_collect_pads_stop),
17426         (gst_collect_pads_event), (gst_collect_pads_chain):
17427         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17428         Mark Nauwelaerts's patch on bug #328491.
17429
17430 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17431
17432         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17433         (gst_utils_suite):
17434           Add some simple tests for gst_parse_bin_from_description() and
17435           gst_bin_find_unconnected_pad() (#329069).
17436
17437 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17438
17439         * tools/gst-launch.c: (event_loop), (main):
17440           Catch errors during preroll (#320084).
17441
17442 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17443
17444         * plugins/elements/gsttypefindelement.c:
17445         (gst_type_find_element_activate):
17446           Post TYPE_NOT_FOUND error message when typefinding
17447           is unsuccessful in the activate function as well.
17448
17449 2006-02-02  Wim Taymans  <wim@fluendo.com>
17450
17451         * docs/design/part-element-sink.txt:
17452         Updated doc.
17453
17454 2006-02-02  Wim Taymans  <wim@fluendo.com>
17455
17456         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17457         (gst_base_sink_render_object),
17458         (gst_base_sink_queue_object_unlocked):
17459         Only keep track of prerollable items when we are 
17460         prerolling.
17461         Before rendering after preroll, always check if we
17462         have queued items.
17463         Added some more debugging.
17464
17465 2006-02-02  Wim Taymans  <wim@fluendo.com>
17466
17467         * gst/gstelement.c: (gst_element_continue_state),
17468         (gst_element_set_state_func), (gst_element_change_state):
17469         Fixed #326576, been running this for quite some time with
17470         no regressions at all.
17471
17472 2006-02-02  Wim Taymans  <wim@fluendo.com>
17473
17474         * common/gst.supp:
17475         Added more suppressions
17476
17477 2006-02-02  Wim Taymans  <wim@fluendo.com>
17478
17479         * docs/design/part-element-sink.txt:
17480         Updated document.
17481
17482         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17483         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17484         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17485         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17486         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17487         (gst_base_sink_preroll_object),
17488         (gst_base_sink_queue_object_unlocked),
17489         (gst_base_sink_queue_object), (gst_base_sink_event),
17490         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17491         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17492         (gst_base_sink_get_position), (gst_base_sink_change_state):
17493         * libs/gst/base/gstbasesink.h:
17494         Totally refactored matching the design doc.
17495         Use two segments, one to clip incomming buffers and another to
17496         perform sync.
17497         Handle queueing correctly, bypass the queue when playing.
17498         Make EOS cancelable.
17499         Handle errors correctly when operating in pull based mode.
17500
17501         * tests/check/elements/fakesink.c: (GST_START_TEST),
17502         (fakesink_suite):
17503         Added new check for sinks.
17504
17505 2006-02-02  Wim Taymans  <wim@fluendo.com>
17506
17507         * gst/gstsegment.c: (gst_segment_clip):
17508         No reason to refuse to clip when start == -1
17509
17510 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17511
17512         * docs/README:
17513         * docs/manual/intro-basics.xml:
17514         * docs/manual/intro-preface.xml:
17515         * docs/manual/manual.xml:
17516         * docs/pwg/advanced-dparams.xml:
17517         * docs/pwg/intro-basics.xml:
17518         * docs/pwg/intro-preface.xml:
17519         * docs/pwg/pwg.xml:
17520           describe dparams (controller) for plugins
17521           unify docs a little more
17522
17523 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17524
17525         * docs/gst/gstreamer-sections.txt:
17526         * gst/gstutils.c: (element_find_unconnected_pad),
17527         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17528         * gst/gstutils.h:
17529           Add new API: gst_parse_bin_from_description() and
17530           gst_bin_find_unconnected_pad() (#329069).
17531
17532 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17533
17534         * docs/manual/README:
17535           uncover a nasty detail of the docs build
17536
17537 2006-01-31  Wim Taymans  <wim@fluendo.com>
17538
17539         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17540         Don't cache duration messages if we're not going to use or
17541         free them.
17542
17543 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17544
17545         * docs/manual/advanced-dparams.xml:
17546         * docs/pwg/advanced-dparams.xml:
17547           more dparam docs
17548         * gst/gstindex.c:
17549           fix docs
17550         * libs/gst/controller/lib.c: (gst_controller_init):
17551           init just once
17552
17553 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17554
17555         * gst/gstelement.c: (gst_element_message_full):
17556           also show file/line/func if no additional debug was given
17557
17558 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17559         
17560         * win32/vs7/grammar.vcproj:
17561           activate copy of autogenerated files for Release mode
17562
17563 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17564         
17565         * win32/common/libgstreamer.def:
17566           export gst_value_compare
17567
17568 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17569
17570         * plugins/elements/Makefile.am:
17571         * plugins/elements/gstelements.c:
17572         * plugins/elements/gstfdsink.c: (_do_init),
17573         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17574         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17575         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17576         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17577         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17578         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17579         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17580         * plugins/elements/gstfdsink.h:
17581         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17582
17583 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17584
17585         * docs/manual/advanced-dparams.xml:
17586           describe controller
17587         * docs/manual/advanced-position.xml:
17588         * docs/manual/basics-init.xml:
17589         * docs/manual/manual.xml:
17590         * docs/manual/titlepage.xml:
17591         * docs/pwg/pwg.xml:
17592         * docs/pwg/titlepage.xml:
17593           cleanup xml (more to come)
17594         * libs/gst/controller/gstcontroller.c:
17595           fix typo
17596
17597 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17598         
17599         * win32/vs6/grammar.dsp:
17600           add autogen of gstmarshal.c,h for Release mode
17601                 
17602 2006-01-30  Wim Taymans  <wim@fluendo.com>
17603
17604         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17605         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17606         (gst_base_sink_handle_object), (gst_base_sink_event),
17607         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17608         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17609         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17610         (gst_base_sink_deactivate), (gst_base_sink_activate),
17611         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17612         (gst_base_sink_query), (gst_base_sink_change_state):
17613         Basesink cleanups, remove some old code.
17614         Handle the case where a subclass can preroll in the render
17615         method (mostly audiosinks).
17616         Handle more events.
17617         Remove some locks around variables that are now protected
17618         with the PREROLL_LOCK (clock_id, flushing, ..).
17619         Optimize position query some more, do correct locking.
17620         Remove old code to push queue in state change, this is not
17621         needed anymore since preroll blocks on all prerollable items 
17622         now.
17623         Almost implemented as described in design doc.
17624
17625 2006-01-30  Wim Taymans  <wim@fluendo.com>
17626
17627         * tests/check/gst/gstbin.c: (GST_START_TEST):
17628         Wait for refcount to settle down before checking.
17629
17630 2006-01-30  Wim Taymans  <wim@fluendo.com>
17631
17632         * docs/design/part-element-sink.txt:
17633         Pseudo code overview of desired sink behaviour regarding
17634         preroll.
17635
17636 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17637         * win32/vs6/grammar.dsp:
17638           fix some bugs in Release mode for autogenerated files
17639                 
17640 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17641         * win32/common/libgstbase.def:
17642         * win32/common/libgstreamer.def:
17643           export some new symbols: gst_base_src_set_format,
17644           gst_iterator_next, gst_structure_set_valist
17645
17646 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17647
17648         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17649         Set pad functions unconditionally. Fixes #329105.
17650
17651 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17652         * win32/vs8:
17653           add vs8 project files created by Sergey Scobich
17654
17655 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17656
17657         * gst/gstutils.c: (gst_element_unlink_pads):
17658         Don't leak pad references.
17659
17660         * tests/check/elements/fakesink.c: (GST_START_TEST):
17661         * tests/check/generic/sinks.c: (GST_START_TEST):
17662         * tests/check/generic/states.c: (GST_START_TEST):
17663         * tests/check/gst/gstbin.c: (GST_START_TEST):
17664         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17665         * tests/check/gst/gstelement.c: (GST_START_TEST):
17666         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17667         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17668         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17669         Fix a bunch of leaks. Make generic/sinks.c
17670         use a bit less cpu by slowing the buffer rate
17671         between fakesrc and fakesink.
17672         
17673 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17674         * gst/gstcaps.c:
17675         * gst/gstelement.c: (gst_element_send_event):
17676         * gst/gstevent.c:
17677         * gst/gstinfo.c:
17678         * gst/gstiterator.c:
17679         * gst/gstiterator.h:
17680         * gst/gstpad.c: (gst_pad_send_event):
17681         * gst/gststructure.c:
17682         * gst/gsturi.c:
17683         * gst/gstutils.c:
17684         * gst/gstvalue.c:
17685         * libs/gst/base/gstadapter.c:
17686           doc fixes, to link to function, just write gst_cool_function(), don't
17687           prefix with '#'
17688
17689 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17690
17691         * plugins/elements/gsttee.c: (gst_tee_do_push),
17692         (gst_tee_handle_buffer):
17693         Always prefer an actual return value from a src
17694         pad in place of NOT_LINKED. This means we return
17695         WRONG_STATE when all src pads are WRONG_STATE
17696         instead of NOT_LINKED.
17697
17698         Lock when replacing the last message to prevent
17699         racing with the get_property method.
17700
17701         Add debug output
17702
17703 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17704
17705         * tests/check/Makefile.am:
17706         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17707         (main):
17708         Add a very simple check that should have caught the memleak I fixed
17709         last night (if not for the slice allocator hiding it)
17710
17711 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17712
17713         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17714         (gst_bin_remove_func), (gst_bin_handle_message_func),
17715         (bin_query_duration_fold), (bin_query_generic_fold):
17716         Clean up references to the clock provider when disposed or when
17717         handling a clock-lost message from it.
17718
17719         Unref sinks when performing a query via gst_iterator_fold, as the
17720         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17721
17722         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17723         (gst_clock_set_master):
17724         Drop our reference to the master clock, if any, when we are disposed.
17725
17726         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17727         Chain up in dispose. 
17728
17729 2006-01-26  Wim Taymans  <wim@fluendo.com>
17730
17731         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17732         Add some debugging.
17733
17734 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17735
17736         * plugins/elements/gsttee.c: (gst_tee_do_push),
17737         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17738         handles pad being NOT_LINKED or in WRONG_STATE.
17739
17740 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17741
17742         * win32/MANIFEST:
17743           more updating
17744
17745 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17746
17747         * win32/MANIFEST:
17748           remove obsolete entry
17749
17750 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17751
17752         * docs/gst/gstreamer-sections.txt:
17753         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17754         (gst_bin_iterate_sources), (gst_bin_send_event):
17755         * gst/gstbin.h:
17756         * gst/gstelement.c: (gst_element_send_event):
17757         * gst/gstevent.c:
17758         * gst/gstpad.c: (gst_pad_send_event):
17759           added code for downstream events, reviewed docs in gstevent.c
17760
17761 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17762
17763         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17764         We only query position using the clock in the playing state.
17765         Query peer in the other cases.
17766         * win32/common/config.h: Updates.
17767
17768 2006-01-24  Wim Taymans  <wim@fluendo.com>
17769
17770         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17771         A clock entry that is scheduled for the exact time of the
17772         clock is still in time.
17773
17774         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17775         (gst_base_sink_do_sync):
17776         Add some more debug info.
17777
17778 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17779
17780         * win32/vs7:
17781           Add new vs7 project files and solution.
17782
17783 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17784
17785         * win32/vs7:
17786           all files removed as they were out-dated.
17787
17788 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17789
17790         * docs/random/release:
17791           update notes
17792         * gst/gstbin.c: (gst_bin_init):
17793         * gst/gstbus.c: (gst_bus_new):
17794         * gst/gstbus.h:
17795         * gst/gstpipeline.c: (gst_pipeline_init):
17796           use gst_bus_new(), improve logging, fix docs
17797         * win32/common/config.h:
17798           update for cvs build
17799
17800 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17801
17802         * autogen.sh:
17803           up required version of automake to 1.7
17804
17805 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17806
17807         * win32/common/libgstreamer.def:
17808           export gst_buffer_is_metadata_writable
17809
17810 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17811
17812         * docs/gst/gstreamer-sections.txt:
17813         * gst/gstevent.h:
17814           Add gst_event_replace() (#327001)
17815
17816 2006-01-20  Wim Taymans  <wim@fluendo.com>
17817
17818         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17819         Make it actually compile too..
17820
17821 2006-01-20  Wim Taymans  <wim@fluendo.com>
17822
17823         * gst/gstcaps.c:
17824         Clarify behaviour of _is_equal() when passing NULL parameters.
17825
17826         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17827         (gst_pad_set_caps):
17828         Cleanups. Don't unref NULL caps.
17829         When setting the same caps, protect caps of the pad with
17830         proper lock.
17831         Use full functionality of _is_equal() when comparing caps.
17832
17833 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17834
17835         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17836         Don't loop infinitely if there are no buffers to present. Partially
17837         fixes #327197, but collectpads is just broken for reusing elements
17838         to do multiple encodes atm.
17839
17840 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17841
17842         * tools/gst-inspect.c: (print_element_features):
17843         * tools/gst-xmlinspect.c: (main):
17844         URL_HANDLER is not a plugin feature we can search for in
17845         the registry.
17846
17847 2006-01-19  Edward Hervey  <edward@fluendo.com>
17848
17849         * gst/gstelement.c: (gst_element_pads_activate): 
17850         When activating, do src pads first, then sink pads.
17851         When de-activating, do sink pads first, then src pads.
17852
17853 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17854
17855         * docs/gst/gstreamer-sections.txt:
17856         Add gst_index_add_associationv to the docs
17857
17858 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17859
17860         * gst/gstevent.c:
17861           Fix docs typo
17862
17863         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17864         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17865           Do some refactoring. Doesn't actually change functionality,
17866           but makes landing the DRAIN event easier later.
17867
17868 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17869
17870         * docs/pwg/advanced-scheduling.xml:
17871           Update from 0.9.x to 0.10 API and make example a bit
17872           clearer.
17873
17874 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17875
17876         * docs/gst/gstreamer-sections.txt:
17877         Add gst_buffer_(is|make)_metadata_writable methods.
17878
17879 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17880
17881         * docs/design/part-sparsestreams.txt:
17882         Update sparse streams doc, hopefully for greater clarity
17883
17884 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17885
17886         * docs/design/part-events.txt:
17887         Remove mention of FILLER events.
17888         Add DRAIN event.
17889
17890         * docs/design/part-sparsestreams.txt:
17891         Write some things about using NEWSEGMENT to keep sparse streams
17892         flowing.
17893
17894 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17895
17896         * gst/gstbin.c: (gst_bin_dispose):
17897           Guard gst_object_unref call against a NULL object (dispose
17898           can theoretically be called multiple times).
17899           
17900 2006-01-18  Wim Taymans  <wim@fluendo.com>
17901
17902         * gst/gstbin.c: (gst_bin_element_set_state):
17903         * gst/gstclock.c: (gst_clock_id_wait):
17904         Added some more debug info.
17905
17906         * libs/gst/base/gstadapter.c:
17907         Added more docs.
17908
17909         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17910         (gst_base_sink_do_sync), (gst_base_sink_chain):
17911         Added some comments.
17912
17913 2006-01-18  Wim Taymans  <wim@fluendo.com>
17914
17915         * tests/check/Makefile.am:
17916         * tests/check/elements/fakesink.c: (chain_async_buffer),
17917         (chain_async), (chain_async_return), (GST_START_TEST),
17918         (fakesink_suite), (main):
17919         Added fakesink test that checks prerolling and clipping
17920         behaviour.
17921
17922         * tests/check/gst/gstutils.c: (GST_START_TEST):
17923         Make check run faster so that buildbots don't timeout.
17924
17925 2006-01-18  Wim Taymans  <wim@fluendo.com>
17926
17927         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17928         (gst_base_sink_do_sync):
17929         Some cleanups.
17930         When the sink finishes blocking on the preroll buffer, it can
17931         immediatly render it instead of rendering when the next buffer
17932         arrives.
17933
17934 2006-01-18  Wim Taymans  <wim@fluendo.com>
17935
17936         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17937         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17938         (gst_base_sink_chain):
17939         Small cleanups.
17940         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17941         Don't store _last_stop if the buffer is dropped.
17942
17943 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17944
17945         * plugins/elements/gsttypefindelement.c:
17946         (gst_type_find_element_class_init):
17947           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17948           object method handler that sets the caps on the pad and we want
17949           that to happen before we emit the signal (fixes e.g. feeding a
17950           plain text file to decodebin).
17951
17952 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17953
17954         * gst/gstplugin.c: Add MPL and Proprietary as license options
17955
17956 2006-01-18  Andy Wingo  <wingo@pobox.com>
17957
17958         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17959         symbol was exported before, it appears this was just an oversight.
17960         Fixes #168703.
17961         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17962
17963         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17964         prototype to gint. OK since this prototype was not in the header.
17965
17966 2006-01-17  Andy Wingo  <wingo@pobox.com>
17967
17968         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17969         registry while we remove plugins.
17970
17971         * tools/gst-inspect.c (print_element_info): Don't unref the
17972         factory arg, that should be the responsibility of whatever code
17973         received the ref. Fixes a double-free when called from
17974         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17975         (main): Unref the factory if we have one.
17976         (print_element_list): No change -- relies on the
17977         plugin_feature_list_free to free the list of features.
17978
17979 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17980
17981         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17982         (gst_buffer_make_metadata_writable):
17983         * gst/gstbuffer.h:
17984         * libs/gst/base/gstbasetransform.c:
17985         (gst_base_transform_prepare_output_buf):
17986         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17987         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17988           Replace gst_buffer_(make|is)_metadata_writable patch now
17989           that the release is out.
17990
17991 2006-01-17  Andy Wingo  <wingo@pobox.com>
17992
17993         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17994         in the present tense without reference to versions.
17995
17996         * gst/gstregistry.c (gst_registry_add_plugin)
17997         (gst_registry_remove_plugin, gst_registry_remove_feature)
17998         (gst_registry_find_feature, gst_registry_get_feature_list)
17999         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18000         (gst_registry_lookup, gst_registry_scan_path)
18001         (_gst_registry_remove_cache_plugins)
18002         (gst_registry_get_feature_list_by_plugin): Add argument
18003         validation.
18004
18005 === release 0.10.2 ===
18006
18007 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18008
18009         * configure.ac:
18010           releasing 0.10.2, "If man is five"
18011
18012 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18013
18014         * gst/gstbuffer.c:
18015         * gst/gstbuffer.h:
18016         * libs/gst/base/gstbasetransform.c:
18017         (gst_base_transform_prepare_output_buf):
18018         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18019         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18020           Back out patch until after the release.
18021
18022 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18023
18024         * gst/gstminiobject.c:
18025           Spelling fix in docs.
18026         * ChangeLog - remove conflict indicator
18027
18028 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18029
18030         Reviewed By: Andy Wingo
18031
18032         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18033         (gst_buffer_make_metadata_writable):
18034         * gst/gstbuffer.h:
18035           Add gst_buffer_(is|make)_metadata_writable as analogues of
18036           gst_buffer_(is|make)_writable.
18037
18038         * libs/gst/base/gstbasetransform.c:
18039         (gst_base_transform_prepare_output_buf):
18040         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18041           Use name gst_buffer_(is|make)_metadata_writable functions.
18042
18043         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18044           Test gst_buffer_(is|make)_metadata_writable
18045         
18046           (Closes: #324162)
18047
18048 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18049
18050         * docs/manual/Makefile.am:
18051           don't do parallel make
18052         * configure.ac:
18053           AC_SUBST HOST_CPU
18054         * win32/common/config.h.in:
18055           add generations for HOST_CPU and GST_MAJORMINOR
18056         * win32/common/config.h:
18057           commit generated result
18058
18059 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18060
18061         * docs/manual/appendix-integration.xml:
18062           Update GNOME integration section to use gst_init_get_option_group()
18063           instead of the old popt stuff (#322911). Also, GNOME applications
18064           should  now use gconf*sink and gconf*src instead of the old gconf
18065           helper lib we had.
18066
18067 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18068
18069
18070         * docs/gst/gstreamer-docs.sgml:
18071         * docs/gst/gstreamer-sections.txt:
18072         * docs/libs/gstreamer-libs-sections.txt:
18073           add new API entries to the docs
18074         * libs/gst/controller/Makefile.am:
18075         * libs/gst/controller/gstcontroller.c:
18076         * libs/gst/controller/gstcontroller.h:
18077         * libs/gst/controller/gstcontrollerprivate.h:
18078         * libs/gst/controller/gsthelper.c:
18079         * libs/gst/controller/gstinterpolation.c:
18080           move private structs to private header
18081         * po/README:
18082           gstreamer-0.7 -> gstreamer-0.10
18083         * tests/check/libs/struct_i386.h:
18084           remove private structs
18085
18086 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18087
18088         * plugins/indexers/Makefile.am:
18089           Fixes as part of #317048
18090
18091 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18092
18093         * plugins/indexers/Makefile.am:
18094           fix #316086 - compilation when mmap is missing
18095
18096 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18097
18098         * libs/gst/base/gstbasesink.c:
18099           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18100           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18101         * win32/common/config.h:
18102           added some defines GST_MAJORMINOR and HOST_CPU
18103         * win32/common/libgstbase.def:
18104         * win32/common/libgstreamer.def:
18105           added some exported functions.
18106
18107 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18108
18109         * libs/gst/controller/gstcontroller.c:
18110         (gst_controlled_property_set_interpolation_mode),
18111         (gst_controlled_property_new):
18112         * libs/gst/controller/gstcontroller.h:
18113         * libs/gst/controller/gstinterpolation.c:
18114         (interpolate_none_get_string_value_array):
18115           make G_TYPE_STRING controlable
18116
18117 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18118
18119         * tools/README:
18120         * tools/gst-feedback.1.in:
18121         * tools/gst-inspect.1.in:
18122         * tools/gst-launch.1.in:
18123         * tools/gst-md5sum.1.in:
18124         * tools/gst-typefind.1.in:
18125         * tools/gst-xmlinspect.1.in:
18126         * tools/gst-xmllaunch.1.in:
18127           cleanup man-pages, remove reference to gst-register, document env-vars
18128
18129 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18130
18131         * gst/gstbuffer.c: (gst_buffer_span):
18132           gst_buffer_span should copy the timestamp of the first buffer
18133           if they were both originally overlapping subbuffers of the 
18134           same parent, using the same logic as the 'slow copy' case.
18135
18136 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18137
18138         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18139           Need to awaken ALL the pads when we pop a buffer, otherwise
18140           collectpads only works when there is 2 input streams.
18141
18142 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18143
18144         * docs/random/ensonic/media-device-daemon.txt:
18145           more ideas (dbus)
18146         * gst/gstbuffer.c:
18147           fix doc example, add clarification
18148         * tools/gst-launch.1.in:
18149           add initial info about GST_PLUGIN_PATH, needs more work
18150
18151 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18152
18153         * docs/manual/basics-bins.xml:
18154         * docs/manual/basics-elements.xml:
18155         * docs/manual/intro-basics.xml:
18156           Some more minor docs additions and updates.
18157
18158 2006-01-11  Wim Taymans  <wim@fluendo.com>
18159
18160         * docs/manual/basics-bins.xml:
18161         * docs/manual/basics-elements.xml:
18162         Some small fixes as pointed out by Ser-ver on IRC.
18163
18164 2006-01-10  Edward Hervey  <edward@fluendo.com>
18165
18166         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18167         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18168         the single-segment mode.
18169
18170 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18171
18172         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18173
18174         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18175         (gst_base_src_perform_seek), (gst_base_src_send_event),
18176         (gst_base_src_set_property), (gst_base_src_get_property),
18177         (gst_base_src_loop), (gst_base_src_start),
18178         (gst_base_src_activate_push):
18179         * libs/gst/base/gstbasesrc.h:
18180           Name (private) union; makes Sun's Forte compiler happy (#324900).
18181
18182 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18183
18184         * README:
18185           gst-register is gone.
18186
18187 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18188
18189         * gst/gstvalue.c: (_gst_value_initialize):
18190           make the G_TYPE_DATE instantiation work if debug is disabled
18191
18192 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18193
18194         * gst/gstmessage.c: (gst_message_parse_tag),
18195         (gst_message_parse_error), (gst_message_parse_warning):
18196           Don't crash when return location for error/warning debug
18197           string is NULL; add fact that return locations can be
18198           NULL to docs where appropriate.
18199
18200 2006-01-05  Wim Taymans  <wim@fluendo.com>
18201
18202         * gst/gstplugin.c: (gst_plugin_load_file):
18203         Replace strdup by g_strdup.
18204
18205 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18206
18207         * docs/pwg/advanced-types.xml:
18208           fix doc borkage
18209
18210 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18211
18212         submitted by: Abel Cheung
18213
18214         * po/LINGUAS:
18215         * po/zh_TW.po:
18216           Added Chinese (traditional) translation
18217
18218 2006-01-04  Wim Taymans  <wim@fluendo.com>
18219
18220         * docs/manual/basics-pads.xml:
18221         * docs/plugins/Makefile.am:
18222         * docs/plugins/gstreamer-plugins-docs.sgml:
18223         * docs/plugins/gstreamer-plugins-sections.txt:
18224         * docs/pwg/advanced-clock.xml:
18225         * docs/pwg/advanced-scheduling.xml:
18226         * docs/pwg/advanced-types.xml:
18227         * plugins/elements/gstfdsink.c:
18228         * plugins/elements/gstfdsrc.c:
18229         * plugins/elements/gstfdsrc.h:
18230         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18231         * plugins/elements/gstidentity.h:
18232         * plugins/elements/gstqueue.h:
18233         * plugins/elements/gsttee.c:
18234         * plugins/elements/gsttee.h:
18235         * plugins/elements/gsttypefindelement.c:
18236         (gst_type_find_element_class_init):
18237         * plugins/elements/gsttypefindelement.h:
18238         Small updates to various docs.
18239         Added core plugins to docs.
18240
18241 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18242
18243         * common/gst.supp:
18244           add a suppression for liboil's uninitialized variable
18245
18246 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18247
18248         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18249
18250         * gst/gstutils.h:
18251           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18252           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18253           compiler switch is being used (#325429).
18254
18255 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18256
18257         * gst/gstbin.c: (gst_bin_query):
18258           Disable duration query caching in bins until it gets
18259           fixed (see #324807).
18260
18261 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18262
18263         * tools/gst-inspect.c: (print_element_properties_info):
18264           Handle properties of POINTER and BOXED type.
18265
18266 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18267
18268         * gst/gst.c: (init_post):
18269           Init tags stuff and some other things before loading
18270           any static plugins (there may be other static plugins
18271           than just the GStreamer ones, and they may want to
18272           register their own tags or formats or whatever, and
18273           preferably without segfaulting).
18274
18275         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18276           Print at least a warning in the debug logs if we drop a
18277           query just because we don't know how to adjust the value
18278           in the particular format.
18279
18280 2005-12-24  David Schleef  <ds@schleef.org>
18281
18282         * tools/gstreamer-completion:
18283           Replacement for gst-complete written in sh and sed.  Only
18284           completes names of features, but that's 90% of what I want
18285           it for.  Properties are not available in registry.xml.  (Maybe
18286           they should be...)
18287
18288 === release 0.10.1 ===
18289
18290 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18291
18292         * configure.ac:
18293           releasing 0.10.1, "Nollaig chridheil"
18294
18295 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18296
18297         * docs/faq/cvs.xml:
18298           Add missing quote, should be make ERROR_CFLAGS="".
18299
18300 2005-12-20  Wim Taymans  <wim@fluendo.com>
18301
18302         * docs/design/part-trickmodes.txt:
18303         More documentation on trickmodes.
18304
18305 2005-12-20  Edward Hervey  <edward@fluendo.com>
18306
18307         * gst/gstcaps.c: (gst_static_caps_get_type):
18308         * gst/gstcaps.h:
18309           API addition: GST_TYPE_STATIC_CAPS
18310         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18311         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18312         * gst/gstpadtemplate.h:
18313           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18314         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18315         bindings.
18316
18317 2005-12-18  Wim Taymans  <wim@fluendo.com>
18318
18319         * libs/gst/base/gstadapter.c:
18320         * libs/gst/base/gstadapter.h:
18321         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18322         (gst_base_sink_get_position):
18323         * libs/gst/base/gstbasesink.h:
18324         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18325         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18326         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18327         (gst_base_src_send_event), (gst_base_src_update_length),
18328         (gst_base_src_get_range), (gst_base_src_loop),
18329         (gst_base_src_start):
18330         * libs/gst/base/gstbasesrc.h:
18331         * libs/gst/base/gstbasetransform.h:
18332         * libs/gst/base/gstcollectpads.h:
18333         * libs/gst/base/gstpushsrc.c:
18334         * libs/gst/base/gstpushsrc.h:
18335         * libs/gst/dataprotocol/dataprotocol.c:
18336         * libs/gst/dataprotocol/dataprotocol.h:
18337         * libs/gst/net/gstnetclientclock.h:
18338         * libs/gst/net/gstnettimeprovider.h:
18339         Documentation updates.
18340
18341 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18342
18343         * docs/manual/basics-helloworld.xml:
18344           Remove superfluous closing bracket in helloworld example.
18345
18346 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18347
18348         * tools/gst-launch.1.in:
18349           Update gst-launch man page; add a section with useful
18350           environment variables. Fixes #323882.
18351
18352 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18353
18354         * gst/gst.c:
18355         * gst/gst_private.h:
18356           change some char* into char[]
18357
18358 2005-12-16  Wim Taymans  <wim@fluendo.com>
18359
18360         * gst/gstregistryxml.c: (load_feature):
18361         Cleanups.
18362         Don't use g_object_unref on GstObjects so that we avoid
18363         leaks on unsafe glibs.
18364
18365 2005-12-16  Wim Taymans  <wim@fluendo.com>
18366
18367         * gst/gstbin.c: (gst_bin_recalc_state):
18368         Small doc updates.
18369
18370 2005-12-16  Wim Taymans  <wim@fluendo.com>
18371
18372         * common/check.mak:
18373         Added make forever target for check.
18374
18375 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18376
18377         * gst/gst.c: (init_post):
18378           make the registry cache file HOST_CPU-dependent
18379
18380 2005-12-16  Andy Wingo  <wingo@pobox.com>
18381
18382         * plugins/elements/gstbufferstore.c
18383         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18384         return value.
18385
18386         * tests/check/gst/gstobject.c
18387         (test_fake_object_name_threaded_unique): Pay attention to
18388         g_list_sort return value.
18389
18390 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18391
18392         * tools/gst-feedback-m.m:
18393           Update for 0.9/0.10 (fixes #323870).
18394
18395 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18396
18397         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18398           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18399           
18400         * tests/check/gst/gstminiobject.c: (my_foo_init),
18401         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18402         (test_value_collection), (gst_mini_object_suite):
18403           Add test to ensure refcounts end up as expected when passing
18404           GstMiniObjects through g_object_get() and g_object_set().
18405
18406 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18407
18408         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18409         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18410         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18411         of collectpads. This version removes a lot of races without
18412         touching API/ABI. Yay !
18413
18414 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18415
18416         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18417           Don't allow activation of a srcpad in pull_range if it has no
18418           getrange function.
18419           Change some debug statements to be a little clearer
18420
18421         * plugins/elements/gsttypefindelement.c:
18422         (gst_type_find_handle_src_query):
18423           Check that we have a peer before executing queries thereupon.
18424
18425         * tests/examples/metadata/read-metadata.c: (message_loop):
18426           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18427           immediately return us any available message with 0 timeout.
18428
18429 2005-12-12  Michael Smith  <msmith@fluendo.com>
18430
18431         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18432           Don't unref factories after calling them.
18433         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18434         * plugins/elements/gsttypefindelement.c:
18435         (gst_type_find_element_chain):
18436           Free lists of factories after using them. Fixing typefinding memory
18437           leaks.
18438
18439 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18440
18441         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18442         (gst_plugin_feature_load):
18443           more meaningful debug output
18444         * configure.ac:
18445         * tests/Makefile.am:
18446         * tests/old/examples/Makefile.am:
18447           make make distcheck happy again
18448
18449 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18450
18451         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18452           Catch the special case where we are operating chain-based,
18453           but the downstream peer pad has no chain function. Emit a
18454           custom error message in this case instead of letting the
18455           core generate one implying that this is some sort of core
18456           bug. It's not, it just means that whatever got plugged
18457           into the pipeline downstream when we announced the type
18458           can only operate pull-based, while our source can only
18459           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18460           Error string has not been marked for translation yet, as
18461           it probably needs some more work first.
18462
18463         (gst_type_find_element_get_best_possibility):
18464           Add helper function to find the best of all available
18465           found possibilities that qualify given the min. threshold.
18466
18467         (gst_type_find_element_handle_event):
18468           Fix the case where we get an EOS while still in TYPEFIND
18469           mode (we want to chose the best of all possible types,
18470           not just the first type that happens to be in our unsorted
18471           list of possible types).
18472
18473         (gst_type_find_element_chain):
18474           Make sure we return GST_FLOW_ERROR when we errored out
18475           in stop_typefinding(); also, don't just find the best of
18476           all found type entries and then use the last examined
18477           type entry, but actually use the best entry.
18478
18479 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18480
18481         * tests/examples/typefind/typefind.c: (type_found):
18482         * tests/examples/xml/runxml.c: (xml_loaded):
18483           More gcc4 fixes and a mem leak fix.
18484
18485 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18486
18487         * tests/examples/xml/createxml.c: (object_saved):
18488           gcc 4 fixes
18489
18490 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18491
18492         * tests/Makefile.am:
18493           enable the examples even more
18494
18495 2005-12-12  Andy Wingo  <wingo@pobox.com>
18496
18497         * libs/gst/net/gstnettimeprovider.c
18498         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18499         (gst_net_time_provider_set_property)
18500         (gst_net_time_provider_get_property):
18501         API addition: Export "active" as a GObject property.
18502         (gst_net_time_provider_thread): Only respond to time queries if
18503         the time provider is active.
18504
18505         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18506         NetTimeProvider, preserving binary compat.
18507
18508 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18509
18510         * tests/examples/controller/audio-example.c: (main):
18511         * tests/examples/launch/Makefile.am:
18512           convert comments again
18513
18514 2005-12-12  Wim Taymans  <wim@fluendo.com>
18515
18516         * libs/gst/base/gstpushsrc.c:
18517         Fix typo.
18518
18519 2005-12-12  Wim Taymans  <wim@fluendo.com>
18520
18521         * docs/libs/gstreamer-libs-sections.txt:
18522         Added new symbol to docs.
18523
18524         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18525         (gst_base_src_init), (gst_base_src_set_format),
18526         (gst_base_src_default_query), (gst_base_src_query),
18527         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18528         (gst_base_src_perform_seek), (gst_base_src_send_event),
18529         (gst_base_src_default_event), (gst_base_src_event_handler),
18530         (gst_base_src_set_property), (gst_base_src_get_property),
18531         (gst_base_src_wait), (gst_base_src_do_sync),
18532         (gst_base_src_update_length), (gst_base_src_get_range),
18533         (gst_base_src_check_get_range), (gst_base_src_loop),
18534         (gst_base_src_default_negotiate), (gst_base_src_start),
18535         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18536         (gst_base_src_change_state):
18537         * libs/gst/base/gstbasesrc.h:
18538         Implement seeking to other formats than _BYTES.
18539         Implement more seeking methods correctly.
18540         Doc updates.
18541         Added query vmethod.
18542         Added do_seek vmethod to make life easier for subclasses
18543         when seeking.
18544         API addition: gst_base_src_set_format()
18545
18546 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18547
18548         * tests/examples/Makefile.am:
18549           added that too
18550
18551 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18552
18553         * configure.ac:
18554         * docs/random/ensonic/media-device-daemon.txt:
18555         * tests/examples/controller/.cvsignore:
18556         * tests/examples/controller/Makefile.am:
18557         * tests/examples/controller/audio-example.c: (main):
18558         * tests/examples/helloworld/.cvsignore:
18559         * tests/examples/helloworld/Makefile.am:
18560         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18561         * tests/examples/launch/.cvsignore:
18562         * tests/examples/launch/Makefile.am:
18563         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18564         * tests/examples/metadata/.cvsignore:
18565         * tests/examples/metadata/Makefile.am:
18566         * tests/examples/metadata/read-metadata.c: (message_loop),
18567         (make_pipeline), (print_tag), (main):
18568         * tests/examples/queue/.cvsignore:
18569         * tests/examples/queue/Makefile.am:
18570         * tests/examples/queue/queue.c: (event_loop), (main):
18571         * tests/examples/typefind/.cvsignore:
18572         * tests/examples/typefind/Makefile.am:
18573         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18574         (main):
18575         * tests/examples/xml/.cvsignore:
18576         * tests/examples/xml/Makefile.am:
18577         * tests/examples/xml/createxml.c: (object_saved), (main):
18578         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18579         * tests/old/examples/Makefile.am:
18580         * tests/old/examples/TODO:
18581         * tests/old/examples/controller/.cvsignore:
18582         * tests/old/examples/controller/Makefile.am:
18583         * tests/old/examples/controller/audio-example.c:
18584         * tests/old/examples/helloworld/.cvsignore:
18585         * tests/old/examples/helloworld/Makefile.am:
18586         * tests/old/examples/helloworld/helloworld.c:
18587         * tests/old/examples/launch/.cvsignore:
18588         * tests/old/examples/launch/Makefile.am:
18589         * tests/old/examples/launch/mp3parselaunch.c:
18590         * tests/old/examples/launch/mp3play:
18591         * tests/old/examples/manual/Makefile.am:
18592         * tests/old/examples/metadata/Makefile.am:
18593         * tests/old/examples/metadata/read-metadata.c:
18594         * tests/old/examples/queue/.cvsignore:
18595         * tests/old/examples/queue/Makefile.am:
18596         * tests/old/examples/queue/queue.c:
18597         * tests/old/examples/typefind/.cvsignore:
18598         * tests/old/examples/typefind/Makefile.am:
18599         * tests/old/examples/typefind/typefind.c:
18600         * tests/old/examples/xml/.cvsignore:
18601         * tests/old/examples/xml/Makefile.am:
18602         * tests/old/examples/xml/createxml.c:
18603         * tests/old/examples/xml/runxml.c:
18604           applied some simple fixing to some examples
18605           re-enabled the working examples
18606
18607 2005-12-12  Wim Taymans  <wim@fluendo.com>
18608
18609         * gst/gstsegment.c: (gst_segment_init),
18610         (gst_segment_set_last_stop), (gst_segment_set_seek),
18611         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18612         (gst_segment_to_running_time):
18613         Added more documentation.
18614         Make sure the last_pos value is updated properly.
18615         Make sure to_stream_time and to_running_time don't
18616         operate on wrong values.
18617
18618         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18619         Update check.
18620
18621 2005-12-12  Michael Smith  <msmith@fluendo.com>
18622
18623         * plugins/elements/gsttypefindelement.c: (free_entry),
18624         (gst_type_find_element_chain):
18625           Now that we're not leaking factories, make sure we keep references
18626           to them while we need them.
18627
18628 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18629
18630         * tests/check/gst/struct_i386.h:
18631           ifdef out the XML structs
18632
18633 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18634
18635         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18636           floor is not needed, F is always positive; this obviates the
18637           need for adding -lm when building without libxml
18638
18639 2005-12-12  Wim Taymans  <wim@fluendo.com>
18640
18641         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18642         Take current playback rate into account when reporting
18643         the position.
18644
18645 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18646
18647         * docs/manual/mime-world.fig:
18648           Let's try this again, this time with a file that is
18649           actually in XFig format.
18650
18651 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18652
18653         * docs/manual/mime-world.fig:
18654           Add audioconvert element to diagram so that it
18655           matches the text and the code (fixes #319526).
18656
18657 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18658
18659         * docs/pwg/building-chainfn.xml:
18660         * docs/pwg/building-pads.xml:
18661         * docs/pwg/building-state.xml:
18662         * docs/pwg/other-source.xml:
18663           Update state change stuff for 0.10 (fixes #322969).
18664
18665 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18666
18667         * docs/manual/advanced-dataaccess.xml:
18668         * docs/manual/appendix-checklist.xml:
18669         * docs/manual/appendix-programs.xml:
18670         * docs/manual/basics-pads.xml:
18671         * docs/manual/highlevel-components.xml:
18672         * docs/manual/manual.xml:
18673           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18674           add converters in front of pipelines; remove curly
18675           brackets for threads stuff, they no longer exist; use
18676           GST_TYPE_FRACTION for framerates; update some pieces of
18677           code to 0.10, but there's plenty more to do.
18678
18679         * docs/manual/appendix-porting.xml:
18680           Expand on asynchroneous state changes; s/0.9/0.10/;
18681           mention disappearance of gst_init_get_popt_table()
18682           (fixes #322916).
18683
18684 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18685
18686         * docs/faq/using.xml:
18687           Spider no longer exists, and neither does gst-launch-ext.
18688           Update examples to use decodebin and playbin and put
18689           converters in front of sinks (fixes #323726).
18690
18691 2005-12-09  Michael Smith  <msmith@fluendo.com>
18692
18693         * plugins/elements/gsttypefindelement.c: (find_peek),
18694         (gst_type_find_element_chain):
18695           Fix leaking element factories in typefinding.
18696           Fix problem where we forgot about a probable type on non-seekable
18697           files, and thus later mis-typefound it.
18698
18699 2005-12-09  Michael Smith  <msmith@fluendo.com>
18700
18701         * common/m4/gst-makecontext.m4:
18702         * common/m4/gst-mcsc.m4:
18703         * configure.ac:
18704         * win32/common/config.h:
18705         * win32/common/config.h.in:
18706           Remove makecontext stuff; not used in 0.10 and causes problems on
18707           HPUX according to bug #322441
18708
18709 2005-12-07  Wim Taymans  <wim@fluendo.com>
18710
18711         * tests/check/Makefile.am:
18712         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18713         (main):
18714         * tests/check/libs/struct_i386.h:
18715         Added ABI check for libs
18716
18717 2005-12-07  Wim Taymans  <wim@fluendo.com>
18718
18719         * tests/check/Makefile.am:
18720         And add the struct_i386.h to dist.
18721
18722 2005-12-07  Wim Taymans  <wim@fluendo.com>
18723
18724         * tests/check/Makefile.am:
18725         * tests/check/gst/.cvsignore:
18726         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18727         (main):
18728         * tests/check/gst/struct_i386.h:
18729         Added check for ABI compatibility.
18730
18731 2005-12-07  Wim Taymans  <wim@fluendo.com>
18732
18733         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18734         (gst_fake_src_get_times), (gst_fake_src_create):
18735         Fix broken sync option, fixes #323259
18736
18737 2005-12-07  Wim Taymans  <wim@fluendo.com>
18738
18739         * gst/gstbuffer.c:
18740         Small docs update.
18741
18742         * gst/gstcaps.c: (gst_caps_is_equal):
18743         Don't assert on NULL <--> X. Fixes #323260
18744
18745         * gst/gstminiobject.c: (gst_mini_object_replace):
18746         If we're doing atomic operations, we might just as well use
18747         the proper way to get an atomic pointer.
18748
18749         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18750         Clean up debugging.
18751
18752 2005-12-07  Michael Smith  <msmith@fluendo.com>
18753
18754         * gst/parse/grammar.y:
18755           Remove handling of { } for threads.
18756
18757 2005-12-06  David Schleef  <ds@schleef.org>
18758
18759         * libs/gst/base/gstbasetransform.c: speling fix.
18760
18761 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18762
18763         * docs/libs/tmpl/gstdataprotocol.sgml:
18764         * docs/random/omega/testing/gstobject.c:
18765         * gst/gst.c:
18766         * gst/gstclock.c:
18767         * gst/gstelement.c:
18768         * gst/gstelementfactory.c:
18769         * gst/gsterror.c:
18770         * gst/gstevent.c:
18771         * gst/gstghostpad.c:
18772         * gst/gstinfo.c:
18773         * gst/gstpadtemplate.c:
18774         * gst/gstregistryxml.c:
18775         * gst/gsttaglist.c:
18776         * gst/gsttagsetter.c:
18777         * gst/gsttypefind.c:
18778         * gst/gstvalue.c:
18779         * libs/gst/base/gstbasesrc.c:
18780         * libs/gst/net/gstnetclientclock.c:
18781         * libs/gst/net/gstnettimeprovider.c:
18782         * plugins/elements/gstfakesrc.c:
18783         * plugins/elements/gstfdsrc.c:
18784         * plugins/elements/gstfilesrc.c:
18785         * plugins/elements/gstidentity.c:
18786         * plugins/elements/gstqueue.c:
18787         * plugins/elements/gsttypefindelement.c:
18788         * plugins/indexers/gstfileindex.c:
18789         * plugins/indexers/gstmemindex.c:
18790         * tests/check/gst/gsttag.c:
18791         * tests/old/examples/cutter/cutter.c:
18792         * tests/old/examples/mixer/mixer.c:
18793         * tests/old/examples/xml/runxml.c: (main):
18794         * tests/old/testsuite/caps/normalisation.c:
18795         * tests/old/testsuite/debug/global.c:
18796         * tests/old/testsuite/parse/parse1.c:
18797         * tools/gst-xmlinspect.c:
18798         * win32/common/dirent.c:
18799           expand tabs
18800
18801 === release 0.10.0 ===
18802
18803 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18804
18805         * configure.ac:
18806           releasing 0.10.0, "Maroilles"
18807
18808 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18809
18810         submitted by: Funda Wang <fundawang@linux.net.cn>
18811
18812         * po/LINGUAS:
18813         * po/zh_CN.po:
18814           added Chinese (Traditional) translation
18815
18816 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18817
18818         * docs/gst/gstreamer-sections.txt:
18819         * docs/libs/tmpl/gstdataprotocol.sgml:
18820         * docs/random/thomasvs/TODO:
18821         * gst/gstutils.c:
18822         * gst/gstutils.h:
18823           fix docs
18824
18825 2005-12-05  Andy Wingo  <wingo@pobox.com>
18826
18827         patch by: Wim Taymans <wim@fluendo.com>
18828
18829         * libs/gst/base/gstbasetransform.c
18830         (gst_base_transform_prepare_output_buf)
18831         (gst_base_transform_buffer_alloc):
18832         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18833         alloc_buffer_and_set_caps.
18834
18835         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18836         set_caps on the source pad.
18837         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18838         alloc_buffer used to do. Fixes #322874.
18839
18840         * docs/gst/gstreamer-sections.txt: 
18841         * docs/design/part-negotiation.txt: 
18842         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18843         changes.
18844
18845 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18846
18847         patch by: Sebastien Moutte
18848
18849         * win32/MANIFEST:
18850         * win32/common/config.h.in:
18851         * win32/vs6/libgstcontroller.dsp:
18852           win32 build fixes
18853
18854 2005-12-05  Wim Taymans  <wim@fluendo.com>
18855
18856         * gst/gstcaps.c: (gst_caps_is_equal):
18857         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18858         (gst_fake_src_create):
18859         Back out previous code changes, leave doc updates, file bugs 
18860         instead. 
18861
18862 2005-12-05  Wim Taymans  <wim@fluendo.com>
18863
18864         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18865         (gst_fake_src_get_times), (gst_fake_src_create):
18866         * plugins/elements/gstfakesrc.h:
18867         Fix broken sync code.
18868
18869 2005-12-05  Wim Taymans  <wim@fluendo.com>
18870
18871         * gst/gstcaps.c: (gst_caps_is_equal):
18872         Comparing NULL against !NULL yields different caps, not a
18873         failure.
18874
18875 2005-12-05  Wim Taymans  <wim@fluendo.com>
18876
18877         * gst/gstpipeline.c:
18878         Fix small typo in docs.
18879
18880 2005-12-05  Andy Wingo  <wingo@pobox.com>
18881
18882         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18883
18884         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18885         registries/plugins with a MAJORMINOR one.
18886         (plugin_desc): Rename library from gstcoreleements to
18887         staticelements. Fixes #323222.
18888
18889 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18890
18891         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18892           Change debug category to 'collectpads' from 'collect_pads'
18893           (fixes #323250).
18894
18895 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18896
18897         patch by: Sebastien Moutte
18898
18899         * libs/gst/controller/gstinterpolation.c:
18900           use convert function for uint64/double
18901         * win32/vs6/libgstcontroller.dsp:
18902           link to GLib
18903
18904 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18905
18906         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18907         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18908         * gst/gstutils.h:
18909         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18910           add tests that seem to show that the guint64/gdouble conversions
18911           are correct.
18912
18913 2005-12-02  Wim Taymans  <wim@fluendo.com>
18914
18915         * gst/gstregistry.c: (gst_registry_add_path):
18916         * gst/gstregistry.h:
18917         * gst/gstregistryxml.c:
18918         Fix docs again.
18919
18920 2005-12-02  Wim Taymans  <wim@fluendo.com>
18921
18922         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18923         (gst_util_uint64_scale_int):
18924         Small cleanup.
18925
18926         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18927         Add debug log line.
18928
18929         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18930         Add FIXME.
18931
18932 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18933
18934         * win32/MANIFEST:
18935         * win32/common/config.h:
18936         * win32/vs6/gstreamer.dsw:
18937         * win32/vs6/libgstcoreelements.dsp:
18938         * win32/vs6/libgstelements.dsp:
18939           renamed core elements plugin
18940
18941 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18942
18943         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18944         (get_candidates):
18945           do piece-wise major/minor comparison so 0.9 < 0.10
18946           also allow .exe extensions for tools
18947
18948 2005-12-02  Michael Smith  <msmith@fluendo.com>
18949
18950         * gst/gst.c:
18951           Escape a % to make gtkdoc happier; bug 322958.
18952
18953 === release 0.9.7 ===
18954
18955 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18956
18957         * configure.ac:
18958           releasing 0.9.7, "My Dog Has No Nose"
18959
18960 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18961
18962         * common/gst-xmlinspect.py:
18963         * configure.ac:
18964         * docs/libs/tmpl/gstdataprotocol.sgml:
18965         * docs/random/release:
18966         * po/af.po:
18967         * po/az.po:
18968         * po/bg.po:
18969         * po/ca.po:
18970         * po/cs.po:
18971         * po/de.po:
18972         * po/en_GB.po:
18973         * po/fr.po:
18974         * po/it.po:
18975         * po/nb.po:
18976         * po/nl.po:
18977         * po/ru.po:
18978         * po/sq.po:
18979         * po/sr.po:
18980         * po/sv.po:
18981         * po/tr.po:
18982         * po/uk.po:
18983         * po/vi.po:
18984         * win32/common/config.h:
18985         * win32/common/config.h.in:
18986         * win32/vs6/gst_inspect.dsp:
18987         * win32/vs6/gst_launch.dsp:
18988         * win32/vs6/libgstbase.dsp:
18989         * win32/vs6/libgstelements.dsp:
18990         * win32/vs6/libgstreamer.dsp:
18991         * win32/vs7/GStreamer.vcproj:
18992         * win32/vs7/gst-inspect.vcproj:
18993         * win32/vs7/gst-launch.vcproj:
18994         * win32/vs7/libgstbase.vcproj:
18995           bump GST_MAJORMINOR to 0.10
18996           reset libtool version
18997
18998 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18999
19000         * po/LINGUAS:
19001         * po/bg.po:
19002           Added Bulgarian translation by (Alexander Shopov)
19003
19004 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19005
19006         * tests/check/gst/gstplugin.c:
19007           fix test
19008
19009 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19010
19011         * common/gst-xmlinspect.py:
19012         * common/gtk-doc-plugins.mak:
19013         * configure.ac:
19014         * docs/Makefile.am:
19015         * docs/gst/Makefile.am:
19016         * docs/gst/gstreamer-docs.sgml:
19017         * docs/gst/gstreamer-sections.txt:
19018         * docs/gst/gstreamer.types:
19019         * docs/gst/gstreamer.types.in:
19020         * docs/plugins/Makefile.am:
19021         * docs/plugins/gstreamer-plugins-docs.sgml:
19022         * docs/plugins/gstreamer-plugins-sections.txt:
19023         * docs/plugins/gstreamer-plugins.types:
19024         * docs/plugins/inspect.stamp:
19025         * docs/plugins/inspect/plugin-coreelements.xml:
19026         * docs/plugins/inspect/plugin-coreindexers.xml:
19027         * docs/plugins/scanobj-build.stamp:
19028         * gstreamer.spec.in:
19029         * plugins/elements/Makefile.am:
19030         * plugins/elements/gstelements.c:
19031         * plugins/elements/gstfakesink.c:
19032         * plugins/elements/gstfakesrc.c:
19033         * plugins/elements/gstfilesink.c:
19034         * plugins/elements/gstfilesrc.c:
19035         * plugins/elements/gstqueue.c:
19036         * plugins/indexers/Makefile.am:
19037         * plugins/indexers/gstindexers.c:
19038           document core plugins in a separate document just like all the
19039           others
19040           rename these plugins to something starting with core
19041
19042 2005-12-01  Andy Wingo  <wingo@pobox.com>
19043
19044         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19045         padding here before, but it missed the commit.
19046
19047 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19048
19049         * libs/gst/controller/gstinterpolation.c:
19050           whitespace prices have crashed, we should feel free to use some now
19051           use gst_guint64_to_gdouble
19052
19053 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19054
19055         * libs/gst/controller/gstcontroller.c:
19056         * libs/gst/controller/gsthelper.c:
19057         * libs/gst/controller/gstinterpolation.c:
19058         * libs/gst/controller/lib.c:
19059           wrap config.h include
19060
19061 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19062
19063         * docs/gst/gstreamer-sections.txt:
19064           update docs
19065
19066 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19067
19068         * plugins/elements/gstelements.c:
19069         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19070         (gst_fd_sink__class_init), (gst_fd_sink__init),
19071         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19072         (gst_fd_sink__get_property):
19073         * plugins/elements/gstfdsink.h:
19074         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19075         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19076         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19077         (gst_fd_src_unlock), (gst_fd_src_set_property),
19078         (gst_fd_src_get_property), (gst_fd_src_create),
19079         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19080         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19081         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19082         (gst_fd_src_uri_handler_init):
19083         * plugins/elements/gstfdsrc.h:
19084         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19085           more anal cleanup
19086
19087 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19088
19089         * docs/gst/Makefile.am:
19090         * docs/gst/gstreamer.types.in:
19091         * gst/Makefile.am:
19092           fix the docs build
19093
19094 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19095
19096         * configure.ac:
19097         * gst/Makefile.am:
19098         * gst/gst.c:
19099         * gst/gstplugin.h:
19100         * gst/gstregistry.h:
19101         * tests/benchmarks/complexity.c:
19102         * tests/benchmarks/mass-elements.c:
19103         * tests/check/Makefile.am:
19104         * tools/Makefile.am:
19105         * tools/gst-inspect.c:
19106         * tools/gst-xmlinspect.c:
19107           various fixes to make
19108           --disable-nls --disable-registry --disable-loadsave
19109           --disable-parse --disable-gst-debug
19110           work and get the core .so down to 360444 bytes after stripping
19111
19112 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19113
19114         * Makefile.am:
19115         * configure.ac:
19116           descend into tests
19117         * docs/random/thomasvs/TODO:
19118         * tests/Makefile.am:
19119         * tests/README:
19120           add a README
19121
19122 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19123
19124         * win32/GStreamer.vcproj:
19125         * win32/MANIFEST:
19126         * win32/Makefile:
19127         * win32/Makefile.inspect:
19128         * win32/Makefile.launch:
19129         * win32/Makefile.register:
19130         * win32/README.txt:
19131         * win32/gst-inspect.vcproj:
19132         * win32/gst-launch.vcproj:
19133         * win32/gst-register.vcproj:
19134         * win32/gstelements.vcproj:
19135         * win32/gstgetbits.def:
19136         * win32/gstgetbits.vcproj:
19137         * win32/gstreamer-dbg.def:
19138         * win32/gstreamer.def:
19139         * win32/libgstbase.def:
19140         * win32/libgstbase.vcproj:
19141         * win32/link_oldruntime.c:
19142         * win32/mman.c:
19143         * win32/mman.h:
19144         * win32/mman.inl:
19145         * win32/msvc71.sln:
19146           move even more stuff, win32/ is nice and clean now
19147
19148 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19149
19150         * libs/gst/control/.cvsignore:
19151         * win32/MANIFEST:
19152         * win32/config.h:
19153         * win32/dirent.c:
19154         * win32/dirent.h:
19155         * win32/gstbytestream.def:
19156         * win32/gstbytestream.vcproj:
19157         * win32/gstconfig.h:
19158         * win32/gstenumtypes.c:
19159         * win32/gstenumtypes.h:
19160         * win32/gstoptimalscheduler.vcproj:
19161         * win32/gstversion.h:
19162         * win32/gtchar.h:
19163         * win32/testsuite/bins.vcproj:
19164         * win32/testsuite/bytestream.vcproj:
19165         * win32/testsuite/caps.vcproj:
19166         * win32/testsuite/cleanup.vcproj:
19167         * win32/testsuite/clock.vcproj:
19168         * win32/testsuite/debug.vcproj:
19169         * win32/testsuite/dlopen.vcproj:
19170         * win32/testsuite/dynparams.vcproj:
19171         * win32/testsuite/elements.vcproj:
19172         * win32/testsuite/ghostpads.vcproj:
19173         * win32/testsuite/indexers.vcproj:
19174         * win32/testsuite/negotiation.vcproj:
19175         * win32/testsuite/parse.vcproj:
19176         * win32/testsuite/plugin.vcproj:
19177         * win32/testsuite/refcounting.vcproj:
19178         * win32/testsuite/schedulers.vcproj:
19179         * win32/testsuite/states.vcproj:
19180         * win32/testsuite/tags.vcproj:
19181         * win32/testsuite/threads.vcproj:
19182           remove old win32 stuff that isn't maintained and should be
19183           reorganized
19184
19185 2005-11-30  Andy Wingo  <wingo@pobox.com>
19186
19187         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19188         loading the gst.interfaces python module bork.
19189
19190         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19191         available since GLib 2.2. Fixes #318031.
19192
19193 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19194
19195         * Makefile.am:
19196         * check/.cvsignore:
19197         * check/Makefile.am:
19198         * check/elements/.cvsignore:
19199         * check/elements/fakesrc.c:
19200         * check/elements/fdsrc.c:
19201         * check/elements/identity.c:
19202         * check/generic/.cvsignore:
19203         * check/generic/states.c:
19204         * check/gst-libs/.cvsignore:
19205         * check/gst-libs/controller.c:
19206         * check/gst-libs/gdp.c:
19207         * check/gst/.cvsignore:
19208         * check/gst/capslist.h:
19209         * check/gst/gst.c:
19210         * check/gst/gstbin.c:
19211         * check/gst/gstbuffer.c:
19212         * check/gst/gstbus.c:
19213         * check/gst/gstcaps.c:
19214         * check/gst/gstelement.c:
19215         * check/gst/gstevent.c:
19216         * check/gst/gstghostpad.c:
19217         * check/gst/gstiterator.c:
19218         * check/gst/gstmessage.c:
19219         * check/gst/gstminiobject.c:
19220         * check/gst/gstobject.c:
19221         * check/gst/gstpad.c:
19222         * check/gst/gstpipeline.c:
19223         * check/gst/gstplugin.c:
19224         * check/gst/gstsegment.c:
19225         * check/gst/gststructure.c:
19226         * check/gst/gstsystemclock.c:
19227         * check/gst/gsttag.c:
19228         * check/gst/gstutils.c:
19229         * check/gst/gstvalue.c:
19230         * check/net/.cvsignore:
19231         * check/net/gstnetclientclock.c:
19232         * check/net/gstnettimeprovider.c:
19233         * check/pipelines/.cvsignore:
19234         * check/pipelines/cleanup.c:
19235         * check/pipelines/simple_launch_lines.c:
19236         * check/pipelines/stress.c:
19237         * check/states/.cvsignore:
19238         * check/states/sinks.c:
19239         * configure.ac:
19240         * examples/Makefile.am:
19241         * examples/appreader/.cvsignore:
19242         * examples/appreader/Makefile.am:
19243         * examples/appreader/appreader.c:
19244         * examples/controller/.cvsignore:
19245         * examples/controller/Makefile.am:
19246         * examples/controller/audio-example.c:
19247         * examples/cutter/.cvsignore:
19248         * examples/cutter/Makefile.am:
19249         * examples/cutter/cutter.c:
19250         * examples/cutter/cutter.h:
19251         * examples/events/Makefile.am:
19252         * examples/events/seek.c:
19253         * examples/helloworld/.cvsignore:
19254         * examples/helloworld/Makefile.am:
19255         * examples/helloworld/helloworld.c:
19256         * examples/helloworld2/.cvsignore:
19257         * examples/helloworld2/Makefile.am:
19258         * examples/helloworld2/helloworld2.c:
19259         * examples/launch/.cvsignore:
19260         * examples/launch/Makefile.am:
19261         * examples/launch/mp3parselaunch.c:
19262         * examples/launch/mp3play:
19263         * examples/manual/.cvsignore:
19264         * examples/manual/Makefile.am:
19265         * examples/manual/extract.pl:
19266         * examples/metadata/Makefile.am:
19267         * examples/metadata/read-metadata.c:
19268         * examples/mixer/.cvsignore:
19269         * examples/mixer/Makefile.am:
19270         * examples/mixer/mixer.c:
19271         * examples/mixer/mixer.h:
19272         * examples/pingpong/.cvsignore:
19273         * examples/pingpong/Makefile.am:
19274         * examples/pingpong/pingpong.c:
19275         * examples/plugins/.cvsignore:
19276         * examples/plugins/Makefile.am:
19277         * examples/plugins/example.c:
19278         * examples/plugins/example.h:
19279         * examples/pwg/.cvsignore:
19280         * examples/pwg/Makefile.am:
19281         * examples/pwg/extract.pl:
19282         * examples/queue/.cvsignore:
19283         * examples/queue/Makefile.am:
19284         * examples/queue/queue.c:
19285         * examples/queue2/.cvsignore:
19286         * examples/queue2/Makefile.am:
19287         * examples/queue2/queue2.c:
19288         * examples/queue3/.cvsignore:
19289         * examples/queue3/Makefile.am:
19290         * examples/queue3/queue3.c:
19291         * examples/queue4/.cvsignore:
19292         * examples/queue4/Makefile.am:
19293         * examples/queue4/queue4.c:
19294         * examples/retag/.cvsignore:
19295         * examples/retag/Makefile.am:
19296         * examples/retag/retag.c:
19297         * examples/retag/transcode.c:
19298         * examples/thread/.cvsignore:
19299         * examples/thread/Makefile.am:
19300         * examples/thread/thread.c:
19301         * examples/typefind/.cvsignore:
19302         * examples/typefind/Makefile.am:
19303         * examples/typefind/typefind.c:
19304         * examples/xml/.cvsignore:
19305         * examples/xml/Makefile.am:
19306         * examples/xml/createxml.c:
19307         * examples/xml/runxml.c:
19308         * tests/Makefile.am:
19309         * tests/check/Makefile.am:
19310         * testsuite/.cvsignore:
19311         * testsuite/Makefile.am:
19312         * testsuite/Rules:
19313         * testsuite/caps/.cvsignore:
19314         * testsuite/caps/Makefile.am:
19315         * testsuite/caps/app_fixate.c:
19316         * testsuite/caps/audioscale.c:
19317         * testsuite/caps/caps.c:
19318         * testsuite/caps/caps.h:
19319         * testsuite/caps/caps_strings:
19320         * testsuite/caps/compatibility.c:
19321         * testsuite/caps/deserialize.c:
19322         * testsuite/caps/enumcaps.c:
19323         * testsuite/caps/eratosthenes.c:
19324         * testsuite/caps/filtercaps.c:
19325         * testsuite/caps/fixed.c:
19326         * testsuite/caps/fraction-convert.c:
19327         * testsuite/caps/fraction-multiply-and-zero.c:
19328         * testsuite/caps/intersect2.c:
19329         * testsuite/caps/intersection.c:
19330         * testsuite/caps/normalisation.c:
19331         * testsuite/caps/random.c:
19332         * testsuite/caps/renegotiate.c:
19333         * testsuite/caps/sets.c:
19334         * testsuite/caps/simplify.c:
19335         * testsuite/caps/string-conversions.c:
19336         * testsuite/caps/structure.c:
19337         * testsuite/caps/subtract.c:
19338         * testsuite/caps/union.c:
19339         * testsuite/debug/.cvsignore:
19340         * testsuite/debug/Makefile.am:
19341         * testsuite/debug/category.c:
19342         * testsuite/debug/commandline.c:
19343         * testsuite/debug/global.c:
19344         * testsuite/debug/output.c:
19345         * testsuite/debug/printf_extension.c:
19346         * testsuite/dlopen/.cvsignore:
19347         * testsuite/dlopen/Makefile.am:
19348         * testsuite/dlopen/dlopen_gst.c:
19349         * testsuite/dlopen/loadgst.c:
19350         * testsuite/elements/.cvsignore:
19351         * testsuite/elements/Makefile.am:
19352         * testsuite/elements/gst-inspect-check.in:
19353         * testsuite/elements/struct_i386.h:
19354         * testsuite/elements/struct_size.c:
19355         * testsuite/indexers/.cvsignore:
19356         * testsuite/indexers/Makefile.am:
19357         * testsuite/indexers/cache1.c:
19358         * testsuite/indexers/indexdump.c:
19359         * testsuite/parse/.cvsignore:
19360         * testsuite/parse/Makefile.am:
19361         * testsuite/parse/parse1.c:
19362         * testsuite/parse/parse2.c:
19363         * testsuite/plugin/.cvsignore:
19364         * testsuite/plugin/Makefile.am:
19365         * testsuite/plugin/README:
19366         * testsuite/plugin/dynamic.c:
19367         * testsuite/plugin/linked.c:
19368         * testsuite/plugin/loading.c:
19369         * testsuite/plugin/registry.c:
19370         * testsuite/plugin/static.c:
19371         * testsuite/plugin/static2.c:
19372         * testsuite/plugin/testplugin.c:
19373         * testsuite/plugin/testplugin2.c:
19374         * testsuite/plugin/testplugin2_s.c:
19375         * testsuite/plugin/testplugin_s.c:
19376         * testsuite/refcounting/.cvsignore:
19377         * testsuite/refcounting/Makefile.am:
19378         * testsuite/refcounting/bin.c:
19379         * testsuite/refcounting/element.c:
19380         * testsuite/refcounting/element_pad.c:
19381         * testsuite/refcounting/mainloop.c:
19382         * testsuite/refcounting/mem.c:
19383         * testsuite/refcounting/mem.h:
19384         * testsuite/refcounting/object.c:
19385         * testsuite/refcounting/pad.c:
19386         * testsuite/refcounting/sched.c:
19387         * testsuite/refcounting/thread.c:
19388         * testsuite/states/.cvsignore:
19389         * testsuite/states/Makefile.am:
19390         * testsuite/states/bin.c:
19391         * testsuite/states/locked.c:
19392         * testsuite/states/parent.c:
19393         * testsuite/threads/.cvsignore:
19394         * testsuite/threads/159566.c:
19395         * testsuite/threads/159852.c:
19396         * testsuite/threads/Makefile.am:
19397         * testsuite/threads/queue.c:
19398         * testsuite/threads/signals.c:
19399         * testsuite/threads/staticrec.c:
19400         * testsuite/threads/thread.c:
19401         * testsuite/threads/threadb.c:
19402         * testsuite/threads/threadc.c:
19403         * testsuite/threads/threadd.c:
19404         * testsuite/threads/threade.c:
19405         * testsuite/threads/threadf.c:
19406         * testsuite/threads/threadg.c:
19407         * testsuite/threads/threadh.c:
19408         * testsuite/threads/threadi.c:
19409           move all of these under tests
19410
19411 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19412
19413         * configure.ac:
19414         * tests/Makefile.am:
19415           fix distcheck
19416
19417 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19418
19419         * docs/gst/gstreamer-sections.txt:
19420         * tests/sched/.cvsignore:
19421         * tests/sched/Makefile.am:
19422         * tests/sched/cases/(fs-fs).xml:
19423         * tests/sched/cases/(fs-i-fs).xml:
19424         * tests/sched/cases/(fs-i-i-fs).xml:
19425         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19426         * tests/sched/dynamic-pipeline.c:
19427         * tests/sched/interrupt1.c:
19428         * tests/sched/interrupt2.c:
19429         * tests/sched/interrupt3.c:
19430         * tests/sched/runtestcases:
19431         * tests/sched/runxml.c:
19432         * tests/sched/sched-stress.c:
19433         * tests/sched/sort.c:
19434         * tests/sched/testcases:
19435         * tests/sched/testcases1.tc:
19436         * tests/seeking/.cvsignore:
19437         * tests/seeking/Makefile.am:
19438         * tests/seeking/seeking1.c:
19439         * tests/threadstate/.cvsignore:
19440         * tests/threadstate/Makefile.am:
19441         * tests/threadstate/test1.c:
19442         * tests/threadstate/test2.c:
19443         * tests/threadstate/threadstate1.c:
19444         * tests/threadstate/threadstate2.c:
19445         * tests/threadstate/threadstate3.c:
19446         * tests/threadstate/threadstate4.c:
19447         * tests/threadstate/threadstate5.c:
19448           remove obsolete tests
19449         * configure.ac:
19450         * tests/bench-complexity.scm:
19451         * tests/bench-mass_elements.scm:
19452         * tests/complexity.c:
19453         * tests/complexity.gnuplot:
19454         * tests/instantiate/.cvsignore:
19455         * tests/instantiate/Makefile.am:
19456         * tests/instantiate/caps.c:
19457         * tests/mass_elements.c:
19458         * tests/network-clock-utils.scm:
19459         * tests/network-clock.scm:
19460         * tests/plot-data:
19461         First pass at cleaning up tests/ dir before moving the rest
19462         Combined with CVS surgery
19463
19464 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19465
19466         * po/POTFILES.in:
19467           queue has moved, update
19468
19469 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19470
19471         * docs/gst/gstreamer-sections.txt:
19472           remove double entries from the docs
19473         * gst/gst_private.h:
19474         * gst/gstinfo.c: (_gst_debug_init):
19475           remove the THREAD debug category
19476         * gst/Makefile.am:
19477         * gst/gstqueue.c:
19478         * gst/gstqueue.h:
19479         * docs/gst/gstreamer.types:
19480         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19481         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19482           completely move queue and fix up debugging categories
19483
19484 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19485
19486         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19487           make initialization portable, using LL is not
19488
19489 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19490
19491         * win32/common/gstconfig.h:
19492           add large padding
19493
19494 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19495
19496         * win32/common/libgstreamer.def:
19497           rename symbols; sort base section
19498
19499 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19500
19501         * gst/gstclock.c: (do_linear_regression):
19502           remove crack non-portable handrolled DEBUG macro
19503
19504 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19505
19506         * docs/random/release:
19507           update notes
19508         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19509         (gst_object_flags_get_type), (register_gst_bin_flags),
19510         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19511         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19512         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19513         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19514         (gst_caps_flags_get_type), (register_gst_clock_return),
19515         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19516         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19517         (gst_clock_flags_get_type), (register_gst_state),
19518         (gst_state_get_type), (register_gst_state_change_return),
19519         (gst_state_change_return_get_type), (register_gst_state_change),
19520         (gst_state_change_get_type), (register_gst_element_flags),
19521         (gst_element_flags_get_type), (register_gst_core_error),
19522         (gst_core_error_get_type), (register_gst_library_error),
19523         (gst_library_error_get_type), (register_gst_resource_error),
19524         (gst_resource_error_get_type), (register_gst_stream_error),
19525         (gst_stream_error_get_type), (register_gst_event_type_flags),
19526         (gst_event_type_flags_get_type), (register_gst_event_type),
19527         (gst_event_type_get_type), (register_gst_seek_type),
19528         (gst_seek_type_get_type), (register_gst_seek_flags),
19529         (gst_seek_flags_get_type), (register_gst_format),
19530         (gst_format_get_type), (register_gst_index_certainty),
19531         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19532         (gst_index_entry_type_get_type),
19533         (register_gst_index_lookup_method),
19534         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19535         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19536         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19537         (gst_index_flags_get_type), (register_gst_debug_level),
19538         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19539         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19540         (gst_iterator_result_get_type), (register_gst_iterator_item),
19541         (gst_iterator_item_get_type), (register_gst_message_type),
19542         (gst_message_type_get_type), (register_gst_mini_object_flags),
19543         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19544         (gst_pad_link_return_get_type), (register_gst_flow_return),
19545         (gst_flow_return_get_type), (register_gst_activate_mode),
19546         (gst_activate_mode_get_type), (register_gst_pad_direction),
19547         (gst_pad_direction_get_type), (register_gst_pad_flags),
19548         (gst_pad_flags_get_type), (register_gst_pad_presence),
19549         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19550         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19551         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19552         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19553         (gst_plugin_flags_get_type), (register_gst_rank),
19554         (gst_rank_get_type), (register_gst_query_type),
19555         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19556         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19557         (gst_tag_flag_get_type), (register_gst_task_state),
19558         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19559         (gst_alloc_trace_flags_get_type),
19560         (register_gst_type_find_probability),
19561         (gst_type_find_probability_get_type), (register_gst_uri_type),
19562         (gst_uri_type_get_type), (register_gst_parse_error),
19563         (gst_parse_error_get_type):
19564         * win32/common/gstenumtypes.h:
19565         * win32/common/gstversion.h:
19566           update visual studio generated files
19567
19568 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19569
19570         * win32/vs6/libgstbase.dsp:
19571         * win32/vs6/libgstelements.dsp:
19572           update project files for new locations
19573
19574 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19575
19576         * Makefile.am:
19577           remove some files
19578         * README:
19579           reinstate and update
19580         * DEVEL:
19581         * REQUIREMENTS:
19582           removed
19583         * LICENSE:
19584         * docs/random/LICENSE:
19585           moved to random
19586
19587 2005-11-30  Edward Hervey  <edward@fluendo.com>
19588
19589         * gst/gsttypefind.c: (gst_type_find_register):
19590         * gst/gsttypefind.h:
19591         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19592         (gst_type_find_factory_dispose):
19593         * gst/gsttypefindfactory.h:
19594         Fix memory leak in GstTypeFindFactory.
19595
19596 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19597
19598         * gst/gst.c:
19599         * plugins/elements/Makefile.am:
19600         * plugins/elements/gstelements.c:
19601         * plugins/elements/gstqueue.c:
19602           move queue from core to the elements plugin
19603
19604 2005-11-29  Andy Wingo  <wingo@pobox.com>
19605
19606         * libs/gst/base/gstbasetransform.h: 
19607         * libs/gst/base/gstbasesrc.h: 
19608         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19609
19610         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19611         of pointers by which to pad very extensible base classes (like the
19612         ones in libs/gst/base).
19613
19614 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19615
19616         * docs/gst/gstreamer-docs.sgml:
19617         * docs/gst/gstreamer-sections.txt:
19618         * docs/libs/gstreamer-libs-docs.sgml:
19619         * docs/libs/gstreamer-libs-sections.txt:
19620           moving documentation from core to lib
19621
19622 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19623
19624         * check/Makefile.am:
19625         * configure.ac:
19626         * docs/gst/Makefile.am:
19627         * gst/Makefile.am:
19628         * gst/base/.cvsignore:
19629         * gst/base/Makefile.am:
19630         * gst/base/README:
19631         * gst/base/gstadapter.c:
19632         * gst/base/gstadapter.h:
19633         * gst/base/gstbasesink.c:
19634         * gst/base/gstbasesink.h:
19635         * gst/base/gstbasesrc.c:
19636         * gst/base/gstbasesrc.h:
19637         * gst/base/gstbasetransform.c:
19638         * gst/base/gstbasetransform.h:
19639         * gst/base/gstcollectpads.c:
19640         * gst/base/gstcollectpads.h:
19641         * gst/base/gstpushsrc.c:
19642         * gst/base/gstpushsrc.h:
19643         * gst/base/gsttypefindhelper.c:
19644         * gst/base/gsttypefindhelper.h:
19645         * gst/check/Makefile.am:
19646         * gst/check/gstcheck.c:
19647         * gst/check/gstcheck.h:
19648         * gst/net/Makefile.am:
19649         * gst/net/gstnet.h:
19650         * gst/net/gstnetclientclock.c:
19651         * gst/net/gstnetclientclock.h:
19652         * gst/net/gstnettimepacket.c:
19653         * gst/net/gstnettimepacket.h:
19654         * gst/net/gstnettimeprovider.c:
19655         * gst/net/gstnettimeprovider.h:
19656         * libs/gst/Makefile.am:
19657         * libs/gst/base/Makefile.am:
19658         * libs/gst/base/gstbasetransform.c:
19659         * libs/gst/check/Makefile.am:
19660         * plugins/elements/Makefile.am:
19661         * po/POTFILES.in:
19662           CVS surgery + support to move base, check, and net out of gst
19663           and into libs/gst
19664
19665 2005-11-29  Andy Wingo  <wingo@pobox.com>
19666
19667         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19668
19669         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19670         padding.
19671
19672         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19673
19674         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19675
19676         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19677
19678         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19679         padding; reduces object size by about 30%. We don't expect
19680         anything else to go into gstobject.
19681
19682         * gst/gstminiobject.h (struct _GstMiniObject)
19683         (struct _GstMiniObjectClass): Only one pointer of padding; the
19684         payload is only a pointer and two ints anyway. For the class there
19685         are only two methods as well.
19686         
19687         * gst/gstelement.h (struct _GstElementClass): Removed
19688         the state_changed signal callback, it is not used.
19689
19690 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19691
19692         * docs/gst/gstreamer.types:
19693           fix includes, though they are a little dinky
19694
19695 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19696
19697         * check/Makefile.am:
19698           look in the right place for elements, a lot more chance of
19699           success
19700         * gst/Makefile.am:
19701           remove indexers and elements subdirs
19702         * plugins/Makefile.am:
19703           make indexers conditional
19704
19705 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19706
19707         * Makefile.am:
19708         * configure.ac:
19709         * plugins/elements/Makefile.am:
19710         * plugins/elements/gstcapsfilter.c:
19711         * plugins/elements/gstfilesink.c:
19712         * plugins/elements/gstfilesrc.c:
19713         * plugins/elements/gstidentity.c:
19714         * plugins/indexers/Makefile.am:
19715           do CVS surgery and related build fixery to move elements
19716           and indexers in a new gstreamer/plugins directory, out of the
19717           gst/ directory
19718
19719 2005-11-29  Andy Wingo  <wingo@pobox.com>
19720
19721         * check/Makefile.am:
19722         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19723         * pkgconfig/gstreamer-net.pc.in:
19724         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19725         #322257.
19726
19727 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19728
19729         * tools/Makefile.am:
19730         * tools/gst-complete.1.in:
19731         * tools/gst-complete.c:
19732         * tools/gst-compprep.1.in:
19733         * tools/gst-compprep.c:
19734           removing -compprep and -complete
19735
19736 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19737
19738         * gst/gstevent.c: (gst_event_new_new_segment),
19739         (gst_event_parse_new_segment):
19740         * gst/gstevent.h:
19741           fix #320529 - clean up new_segment API and structure.
19742           Let's hope everyone was using the methods, and not the structure.
19743
19744 2005-11-29  Edward Hervey  <edward@fluendo.com>
19745
19746         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19747         (gst_base_sink_event), (gst_base_sink_do_sync),
19748         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19749         Properly handle non GST_FORMAT_TIME segment
19750         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19751         Properly handle non GST_FORMAT_TIME segment
19752         * gst/gstsegment.c:
19753         This function is valid if the accumulator is 0 and the format
19754         is different from the requested format.
19755         
19756 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19757
19758         * docs/gst/gstreamer-sections.txt:
19759         Add gst_query_new_seeking and gst_query_parse_seeking to the
19760         docs.
19761
19762 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19763
19764         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19765           Treat a pad alloc with new caps the same as if we were not
19766           negotiated, in order to allow a changing upstream output
19767           to produce a new format of data.
19768
19769 2005-11-29  Edward Hervey  <edward@fluendo.com>
19770
19771         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19772         (gst_base_transform_event), (gst_base_transform_eventfunc):
19773         The event virtual method is now properly implemented, with a default
19774         handler
19775         Sub classes should call the parent_class event method. They should
19776         return FALSE if they had a problem handling the given event, or don't
19777         want GstBaseTransform to send that even downstream
19778         * gst/elements/gstidentity.c: (gst_identity_class_init),
19779         (gst_identity_init), (gst_identity_event),
19780         (gst_identity_transform_ip), (gst_identity_set_property),
19781         (gst_identity_get_property):
19782         * gst/elements/gstidentity.h:
19783         Added the single-segment boolean property.
19784         If set to TRUE, it will output a single segment of data, starting from
19785         0, will eat up all incoming newsegment, and modify the timestamp of the
19786         buffers accordingly
19787
19788 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19789
19790         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19791           Don't ref NULL target pad (#322751). Improve docs.
19792
19793 2005-11-29  Michael Smith  <msmith@fluendo.com>
19794
19795         * gst/gstregistryxml.c: (load_plugin):
19796           Don't crash if we failed to load a feature from a plugin. 
19797
19798 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19799
19800         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19801         (GST_START_TEST):
19802           use more check API and less GLib API
19803
19804 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19805
19806         * Makefile.am:
19807           don't run checks if we don't have check
19808         * common/check.mak:
19809           remove the registry when running make torture
19810         * docs/gst/gstreamer-sections.txt:
19811           remove second multiply
19812         * gst/gstqueue.c: (gst_queue_loop):
19813           fix a compile warning when disabling debug
19814
19815 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19816
19817         * gst/gstinfo.h:
19818         Hey! Let's print the pad name if the pointer != NULL instead
19819         of when it == NULL :-)
19820
19821 2005-11-28  Wim Taymans  <wim@fluendo.com>
19822
19823         * check/gst/gstutils.c: (GST_START_TEST):
19824         Updated check, add some scaling accuracy checking code.
19825
19826         * gst/gstutils.c: (gst_util_div128_64),
19827         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19828         (gst_util_uint64_scale_int):
19829         Fix 6 times faster division code. Optimize for common 
19830         1/1 and less common X/1 cases.
19831
19832 2005-11-28  Wim Taymans  <wim@fluendo.com>
19833
19834         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19835         More checks.
19836
19837         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19838         (do_linear_regression), (gst_clock_add_observation):
19839         Cleanups.
19840         Release lock when the clock cannot be slaved.
19841         Catch the case where the regression returned an invalid denominator.
19842
19843         * gst/gstutils.c: (gst_util_div128_64_iterate),
19844         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19845         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19846         Add protentially more performant non-iterative 128/64 divide function
19847         that unfortunatly does not work yet.
19848         Shortcut the trivial 0/X = 0 case.
19849         Remove the warnings on overflow.
19850
19851 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19852
19853         * gst/gstplugin.c: (gst_plugin_register_func):
19854           everything causing a plugin not to load should be at least a WARNING
19855
19856 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19857
19858         * docs/random/ensonic/dparams.txt:
19859           some TODOs for the next dev cycle
19860         * libs/gst/controller/gstcontroller.c:
19861         (gst_controlled_property_set_interpolation_mode),
19862         (gst_controlled_property_new):
19863         * libs/gst/controller/gstcontroller.h:
19864           use base type to assign acccessor functions
19865
19866 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19867
19868         * check/Makefile.am:
19869         Oops, that should have been top_srcdir
19870
19871 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19872
19873         * check/Makefile.am:
19874         * check/elements/fdsrc.c: (GST_START_TEST):
19875         Use a cmdline define to specify the location of a file to use for
19876         testing, to avoid breaking distcheck.
19877
19878 2005-11-28  Andy Wingo  <wingo@pobox.com>
19879
19880         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19881
19882 2005-11-28  Edward Hervey  <edward@fluendo.com>
19883
19884         * tools/gst-launch.c: (main):
19885         Clarify the output strings, makes it easier to translate.
19886         Fixes #322626
19887
19888 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19889
19890         * gst/Makefile.am:
19891           don't try and build net if we don't even have <sys/socket.h>
19892
19893 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19894
19895         * check/Makefile.am:
19896         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19897         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19898           Add tests for fdsrc seekability
19899
19900         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19901         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19902         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19903         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19904         * gst/elements/gstfdsrc.h:
19905           fdsrc should not be a 'live' source.
19906           Implement seeking on seekable fd's.
19907
19908         * gst/gstquery.c: (gst_query_new_seeking),
19909         (gst_query_parse_seeking):
19910         * gst/gstquery.h:
19911           Implement SEEKING query functions: 
19912             *_new_seeking and *_parse_seeking
19913
19914 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19915
19916         * gst/gstelement.c: (gst_element_dispose):
19917           don't loop forever
19918
19919         * gst/gstiterator.c:
19920         * gst/gststructure.c:
19921           doc fixes
19922
19923         * libs/gst/controller/gstcontroller.c:
19924         (gst_controlled_property_set_interpolation_mode):
19925         * libs/gst/controller/gstcontroller.h:
19926         * libs/gst/controller/gstinterpolation.c:
19927         (interpolate_none_get_enum_value_array):
19928           support controlling enums
19929
19930 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19931
19932         * gst/gstvalue.c:
19933           Improve documentation for gst_value_union().
19934
19935         * gst/gstvalue.h:
19936           Change return value for union, intersect and subtract functions
19937           from gint to gboolean.
19938
19939 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19940
19941         * gst/gstvalue.c: (gst_value_serialize_any_list),
19942         (gst_value_transform_any_list_string),
19943         (gst_value_deserialize_list), (gst_value_deserialize_array),
19944         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19945         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19946         (gst_value_set_fraction_range_full),
19947         (gst_value_deserialize_fraction_range),
19948         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19949         (gst_value_deserialize_boolean),
19950         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19951         (gst_value_serialize_float), (gst_value_deserialize_float),
19952         (gst_string_wrap), (gst_value_deserialize_string),
19953         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19954         (gst_value_union_int_range_int_range),
19955         (gst_value_intersect_int_range_int_range),
19956         (gst_value_intersect_double_range_double_range),
19957         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19958         (gst_value_subtract_int_range_int_range),
19959         (gst_value_subtract_double_double_range),
19960         (gst_value_subtract_double_range_double_range),
19961         (gst_value_deserialize_fraction):
19962         * gst/gstvalue.h:
19963           Use gint, gdouble and gchar in our API instead of int, double and
19964           char (and make usage in gstvalue.c more consistent).
19965
19966 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19967
19968         * check/Makefile.am:
19969         * libs/gst/controller/Makefile.am:
19970         * libs/gst/dataprotocol/Makefile.am:
19971           fix up Makefile.am and remove GST_ENABLE_NEW
19972
19973 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19974
19975         * configure.ac:
19976         * gst/Makefile.am:
19977         * gst/base/Makefile.am:
19978         * gst/check/Makefile.am:
19979         * gst/elements/Makefile.am:
19980         * gst/net/Makefile.am:
19981           update LDFLAGS use some more
19982
19983 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19984
19985         * common/m4/gst-doc.m4:
19986           Fixes #312589
19987
19988 2005-11-26  Edward Hervey  <edward@fluendo.com>
19989
19990         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19991         This shouldn't issue a g_warning since it returns NULL if it
19992         couldn't find the plugin, and all functions using this behave
19993         properly on a NULL return. Switching to a GST_WARNING.
19994
19995 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19996
19997         * gst/gstbin.c: (gst_bin_handle_message_func):
19998         Don't leak clock messages.
19999
20000 2005-11-25  Wim Taymans  <wim@fluendo.com>
20001
20002         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20003         (gst_util_uint64_scale_int):
20004         Optimisations, remove unneeded vars.
20005
20006 2005-11-25  Wim Taymans  <wim@fluendo.com>
20007
20008         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20009         Added more checks for the high precision uint64 cases.
20010
20011         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20012         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20013         Implement high precision (guint64 * guint64) / guint64.
20014
20015 2005-11-24  Wim Taymans  <wim@fluendo.com>
20016
20017         * gst/base/gstbasesrc.c: (gst_base_src_query):
20018         Fix wrong percentage query.
20019
20020         * gst/gstutils.c: (gst_util_uint64_scale),
20021         (gst_util_uint64_scale_int):
20022         Add some more common cases that can be handled 
20023         efficiently to _scale.
20024
20025 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20026
20027         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20028         (gst_mini_object_suite):
20029           don't use check calls from threads; check probably isn't
20030           threadsafe and using a lock to make it threadsafe would
20031           defeat the purpose of this check
20032         * gst/check/gstcheck.c:
20033         * gst/check/gstcheck.h:
20034           use GST_DEBUG some more
20035
20036 2005-11-24  Wim Taymans  <wim@fluendo.com>
20037
20038         * gst/gstutils.c: (gst_util_uint64_scale),
20039         (gst_util_uint64_scale_int):
20040         Chain trivial case to _scale_int.
20041
20042 2005-11-24  Wim Taymans  <wim@fluendo.com>
20043
20044         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20045         Added test for scaling.
20046
20047         * gst/gstclock.h:
20048         Small doc fix.
20049
20050         * gst/gstutils.c: (gst_util_uint64_scale_int):
20051         Implemented high precision scaling code.
20052
20053 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20054
20055         * gst/gstinfo.h:
20056           do not crash on pad==NULL
20057
20058 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20059
20060         Patch by: Stefan Kost
20061
20062         * common/gtk-doc.mak:
20063         * docs/gst/Makefile.am:
20064         * docs/libs/Makefile.am:
20065           Fix distcheck issues for the libraries docs build
20066           Closes #319599.
20067
20068 2005-11-24  Michael Smith <msmith@fluendo.com>
20069
20070         * docs/manual/basics-helloworld.xml:
20071           Fix bug #315027: memory leak in example code in docs.
20072
20073 2005-11-24  Michael Smith <msmith@fluendo.com>
20074
20075         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20076           Unlock the PREROLL_LOCK in a failure case.
20077
20078 2005-11-24  Wim Taymans  <wim@fluendo.com>
20079
20080         * docs/gst/gstreamer-sections.txt:
20081         * gst/base/gstadapter.h:
20082         * gst/base/gstbasesink.h:
20083         * gst/base/gstbasesrc.h:
20084         * gst/base/gstbasetransform.h:
20085         * gst/base/gstpushsrc.h:
20086         * gst/elements/gstfakesink.h:
20087         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20088         * gst/elements/gstfakesrc.h:
20089         * gst/elements/gstfilesink.h:
20090         * gst/elements/gstfilesrc.h:
20091         * gst/gst.c:
20092         * gst/gstbin.c:
20093         * gst/gstbuffer.c: (_gst_buffer_copy):
20094         * gst/gstbus.h:
20095         * gst/gstcaps.c:
20096         * gst/gstchildproxy.c:
20097         * gst/gstclock.c:
20098         * gst/gstelement.c:
20099         * gst/gstelementfactory.c:
20100         * gst/gstelementfactory.h:
20101         * gst/gstevent.c:
20102         * gst/gstghostpad.h:
20103         * gst/gstindex.h:
20104         * gst/gstinterface.h:
20105         * gst/gstminiobject.c:
20106         * gst/gstminiobject.h:
20107         * gst/gstpad.c:
20108         * gst/gstpad.h:
20109         * gst/gstpadtemplate.h:
20110         * gst/gstpipeline.h:
20111         * gst/gstpluginfeature.h:
20112         * gst/gstquery.h:
20113         * gst/gstqueue.h:
20114         * gst/gsttaglist.c:
20115         * gst/gsttaglist.h:
20116         * gst/gsttagsetter.c:
20117         * gst/gsttagsetter.h:
20118         * gst/gsttrace.c:
20119         * gst/gsttrace.h:
20120         * gst/gsttypefind.h:
20121         * gst/gsturi.h:
20122         * gst/gstvalue.c:
20123         * gst/net/gstnetclientclock.c:
20124         * gst/net/gstnetclientclock.h:
20125         * gst/net/gstnettimepacket.c:
20126         * gst/net/gstnettimeprovider.c:
20127         * gst/net/gstnettimeprovider.h:
20128         Doc fixes.
20129
20130 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20131
20132         * configure.ac: back to HEAD
20133
20134 === release 0.9.6 ===
20135
20136 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20137
20138         * configure.ac:
20139           releasing 0.9.6, "Always On Time"
20140
20141 2005-11-23  Wim Taymans  <wim@fluendo.com>
20142
20143         * docs/gst/gstreamer-sections.txt:
20144         * gst/glib-compat.c:
20145         * gst/gsttagsetter.c:
20146         * gst/gstvalue.c:
20147         * gst/net/gstnetclientclock.c:
20148         * gst/net/gstnettimepacket.h:
20149         Doc updates.
20150
20151 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20152
20153         * docs/faq/using.xml:
20154         * docs/libs/tmpl/gstcontrol.sgml:
20155         * docs/manual/advanced-dparams.xml:
20156         * docs/manual/appendix-checklist.xml:
20157         * docs/manual/basics-elements.xml:
20158         * docs/pwg/other-source.xml:
20159         * docs/random/moving-plugins:
20160         * gst/gstpad.c:
20161         * tools/gst-launch.1.in:
20162           remove mentions of sinesrc
20163
20164 2005-11-23  Michael Smith <msmith@fluendo.com>
20165
20166         * docs/gst/gstreamer-sections.txt:
20167           Update for new API and API changes.
20168         * gst/gstobject.h:
20169           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20170         * gst/gstvalue.c:
20171           Documentation typo fix.
20172         * gst/net/gstnettimepacket.c:
20173           Documentation fixes for arguments.
20174
20175 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20176
20177         * gst/gststructure.c: (gst_structure_get_fraction),
20178         (gst_structure_parse_value),
20179         (gst_structure_fixate_field_nearest_fraction):
20180         * gst/gststructure.h:
20181         * gst/gstutils.c: (gst_util_uint64_scale_int):
20182         * gst/gstutils.h:
20183         * scripts/update-funcnames:
20184         API Changes. 
20185         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20186         Make gst_structure_fixate_field_nearest_fraction take a numerator
20187         and denominator argument instead of a GValue
20188         add gst_structure_get_fraction helper function.
20189
20190 2005-11-23  Wim Taymans  <wim@fluendo.com>
20191
20192         * docs/design/part-TODO.txt:
20193         Update TODO.
20194
20195         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20196         * gst/net/gstnetclientclock.h:
20197         Use parent fields for timeout and window_size.
20198
20199 2005-11-23  Andy Wingo  <wingo@pobox.com>
20200
20201         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20202         rate_num/rate_denom change.
20203
20204         * gst/net/gstnetclientclock.c
20205         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20206         OBJECT_LOCK. Don't call add_observation with the lock.
20207
20208         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20209         fraction.
20210         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20211         rate fraction.
20212         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20213         deal with rate as a fraction whose numerator and denominator are
20214         GstClockTime values.
20215         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20216         master; the other fields are protected by the SLAVE_LOCK.
20217         (do_linear_regression): Note that this must be called with the
20218         SLAVE_LOCK.
20219         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20220         OBJECT_LOCK. Call set_calibration instead of touching the
20221         variables directly.
20222         (gst_clock_set_property, gst_clock_get_property): Protect
20223         master/slave parameters with the SLAVE_LOCK.
20224
20225         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20226         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20227         note that all of the instance variables that add_observation and
20228         the set_master functions use are protected by that lock and not
20229         the OBJECT_LOCK.
20230         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20231
20232         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20233         the caller to take the object lock.
20234
20235 2005-11-23  Wim Taymans  <wim@fluendo.com>
20236
20237         * gst/gsterror.c: (_gst_core_errors_init):
20238         * gst/gsterror.h:
20239         Add error for clock stuff.
20240
20241         * gst/gstpipeline.c: (gst_pipeline_change_state),
20242         (gst_pipeline_set_clock):
20243         Post clock error when clock cannot be used in a pipeline.
20244
20245 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20246
20247         * docs/gst/gstreamer-sections.txt:
20248           make two symbols from gstinfo private for the docs
20249         * gst/base/gstcollectpads.h:
20250         * gst/gstutils.c:
20251           fix doc typos, update docs
20252
20253 2005-11-22  Wim Taymans  <wim@fluendo.com>
20254
20255         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20256         (gst_base_sink_wait), (gst_base_sink_do_sync),
20257         (gst_base_sink_handle_event):
20258         * gst/base/gstbasesink.h:
20259         No need to store the clock, the parent element class already
20260         has it.
20261
20262         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20263         Updates for clock_set returning a gboolean
20264
20265         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20266         (gst_clock_id_wait_async), (gst_clock_class_init),
20267         (gst_clock_init), (gst_clock_finalize),
20268         (gst_clock_get_internal_time), (gst_clock_get_time),
20269         (gst_clock_slave_callback), (gst_clock_set_master),
20270         (gst_clock_get_master), (do_linear_regression),
20271         (gst_clock_add_observation), (gst_clock_set_property),
20272         (gst_clock_get_property):
20273         * gst/gstclock.h:
20274         Implement master/slave. When setting a clock as a slave, a
20275         periodic timeout is scheduled to sample master and slave times.
20276         Then the slave clock is recalibrated to match offset and rate
20277         of the master clock.
20278         Update logging a bit.
20279         Add flag so that a clock can state that is cannot be slaved to
20280         another clock.
20281
20282         * gst/gstelement.c: (gst_element_set_clock):
20283         * gst/gstelement.h:
20284         The set clock returns a gboolean for when an element cannot
20285         deal with the selected clock in the pipeline. 
20286
20287         * gst/gstpipeline.c: (gst_pipeline_change_state),
20288         (gst_pipeline_set_clock):
20289         * gst/gstpipeline.h:
20290         Handle the case where the selected clock cannot be set on
20291         the pipeline.
20292
20293         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20294         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20295         (gst_net_client_clock_set_property),
20296         (gst_net_client_clock_get_property),
20297         (gst_net_client_clock_observe_times):
20298         * gst/net/gstnetclientclock.h:
20299         Use regression code in GstClock parent, remove duplicated
20300         functionality.
20301
20302 2005-11-22  Michael Smith <msmith@fluendo.com>
20303
20304         * gst/gstutils.c: (gst_util_clock_time_scale):
20305         * gst/gstutils.h:
20306         * docs/gst/gstreamer-sections.txt:
20307           Rename method to have extra underscore.
20308
20309 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20310
20311         * gst/elements/Makefile.am:
20312         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20313         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20314         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20315         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20316         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20317         * gst/elements/gstfakesrc.h:
20318         * gst/gstqueue.c: (queue_leaky_get_type):
20319           correctly fix GEnumValues so that nick is the short lowercase
20320           dashed tag
20321         * tools/gst-inspect.c: (print_element_properties_info):
20322           also show the nick, since it's useful to use from parse_launch
20323           syntax
20324           Fixes #322139
20325
20326 2005-11-22  Michael Smith <msmith@fluendo.com>
20327
20328         * gst/gstutils.c: (gst_util_clocktime_scale):
20329         * gst/gstutils.h:
20330         * docs/gst/gstreamer-sections.txt:
20331           Add util method for scaling a clocktime by a fraction. Useful 
20332           implementation is left as an exercise for the reader.
20333
20334 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20335
20336         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20337         If needed, allocate storage in the destination value during
20338         collection.
20339
20340 2005-11-22  Edward Hervey  <edward@fluendo.com>
20341
20342         * docs/gst/gstreamer-sections.txt:
20343         * gst/Makefile.am:
20344         * gst/gst.h:
20345         * gst/gsturitype.c:
20346         * gst/gsturitype.h:
20347         * gst/gstutils.c: (gst_util_set_object_arg):
20348         * tools/gst-compprep.c: (main):
20349         * tools/gst-inspect.c: (print_element_properties_info):
20350         Removed GstURI, closes bug #321061
20351
20352 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20353
20354         * check/gst/gststructure.c: (GST_START_TEST):
20355         * gst/gststructure.c: (gst_structure_parse_value):
20356           Oops, broke automatic string type parsing.
20357           Add a test to catch it in future.
20358
20359 2005-11-22  Andy Wingo  <wingo@pobox.com>
20360
20361         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20362         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20363         Actually rename the function implementations. Grr.
20364
20365 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20366
20367         * check/gst/capslist.h:
20368           Comment test cases
20369         * check/gst/gststructure.c: (GST_START_TEST),
20370         (gst_structure_suite):
20371           Test automatic value type detection in gst_structure_from_string.
20372         * gst/gststructure.c: (gst_structure_parse_value):
20373           Add fraction as a type we try and guess automatically in
20374           caps/structure strings.
20375
20376 2005-11-22  Andy Wingo  <wingo@pobox.com>
20377
20378         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20379
20380         * gst/gsttagsetter.h:
20381         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20382         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20383         (gst_tag_setter_add_tag_valist)
20384         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20385         _add_values, _add_valist, and _add_valist_values. Since this is an
20386         interface the function suffixes should be more explicit so
20387         language binding don't end up with element.add_valist ->
20388         gst_tag_setter_add_valist, for example. Fixes #322069.
20389
20390 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20391
20392         * check/gst/gstcaps.c: (GST_START_TEST):
20393           Extend caps string tests to check that a caps to string
20394           conversion is reversible and produces the same caps.
20395
20396         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20397           Output "fraction" as the generic type fraction range, so caps
20398           serialisation and deserialisation works.
20399         * check/gst/capslist.h:
20400         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20401           Support 'MIN' and 'MAX' for deserialising fractions.
20402
20403 2005-11-22  Andy Wingo  <wingo@pobox.com>
20404
20405         * gst/gstevent.h (gst_event_new_new_segment)
20406         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20407         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20408         Renamed from *_newsegment, *_buffersize, *_notarget.
20409
20410         * scripts/update-funcnames: New script, performs the changes
20411         listed above.
20412
20413 2005-11-22  Wim Taymans  <wim@fluendo.com>
20414
20415         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20416         Make sure the GstFlowReturn is returned.
20417
20418         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20419         (gst_bus_add_signal_watch):
20420         * gst/gstbus.h:
20421         add gst_bus_add_signal_watch_full.
20422
20423         * gst/gstplugin.c: (gst_plugin_load_file):
20424         Small style cleanup.
20425
20426 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20427
20428         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20429           Block the fakesrc srcpad when we send an event, to avoid
20430           contention on the stream_lock causing random test failures.
20431
20432 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20433
20434         * check/gst/gstvalue.c: (GST_START_TEST):
20435         * gst/gstvalue.c: (gst_value_fraction_subtract):
20436           Fix subtraction.
20437
20438 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20439
20440         * gst/gst.h:
20441           include "gstchildproxy.h"
20442         * gst/gstchildproxy.h:
20443         * libs/gst/controller/gstcontroller.h:
20444           use G_GNUC_NULL_TERMINATED
20445
20446 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20447
20448         * check/gst/capslist.h:
20449         * check/gst/gstcaps.c: (GST_START_TEST):
20450         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20451         * gst/gststructure.c: (gst_structure_parse_range),
20452         (gst_structure_fixate_field_nearest_fraction):
20453         * gst/gststructure.h:
20454         * gst/gstvalue.c: (gst_value_init_fraction_range),
20455         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20456         (gst_value_collect_fraction_range),
20457         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20458         (gst_value_set_fraction_range_full),
20459         (gst_value_get_fraction_range_min),
20460         (gst_value_get_fraction_range_max),
20461         (gst_value_serialize_fraction_range),
20462         (gst_value_transform_fraction_range_string),
20463         (gst_value_compare_fraction_range),
20464         (gst_value_deserialize_fraction_range),
20465         (gst_value_intersect_fraction_fraction_range),
20466         (gst_value_intersect_fraction_range_fraction_range),
20467         (gst_value_subtract_fraction_fraction_range),
20468         (gst_value_subtract_fraction_range_fraction),
20469         (gst_value_subtract_fraction_range_fraction_range),
20470         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20471         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20472         (gst_value_transform_string_fraction), (_gst_value_initialize):
20473         * gst/gstvalue.h:
20474           Implement fraction ranges and extend GstFraction to support
20475           arithmetic subtraction, as well as deserialization from integer
20476           strings such as "100"
20477           Add a testsuite as for int and double range set operations
20478
20479 2005-11-21  Andy Wingo  <wingo@pobox.com>
20480
20481         * gst/gsttaglist.h: 
20482         * gst/gstcaps.h: 
20483         * gst/gststructure.h: Add glib-compat.h.
20484
20485 2005-11-21  Wim Taymans  <wim@fluendo.com>
20486
20487         * gst/gstbin.c: (gst_bin_change_state_func):
20488         Fix for #321595
20489
20490 2005-11-21  Wim Taymans  <wim@fluendo.com>
20491
20492         * gst/gstsegment.h:
20493         And add a nice define too.
20494
20495 2005-11-21  Wim Taymans  <wim@fluendo.com>
20496
20497         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20498         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20499         (gst_segment_set_duration), (gst_segment_set_last_stop),
20500         (gst_segment_set_seek), (gst_segment_set_newsegment),
20501         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20502         (gst_segment_clip):
20503         * gst/gstsegment.h:
20504         Make binding friendly.
20505
20506 2005-11-21  Andy Wingo  <wingo@pobox.com>
20507
20508         * gst/gsttagsetter.h: 
20509         * gst/gsttaglist.h: 
20510         * gst/gststructure.h: 
20511         * gst/gstcaps.h: 
20512         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20513         #319940.
20514
20515         * gst/gsterror.c (_gst_core_errors_init):
20516         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20517         category.
20518
20519         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20520         (noinst_HEADERS): noinst the -private.
20521
20522 2005-11-21  Michael Smith <msmith@fluendo.com>
20523
20524         * gst/gstplugin.h:
20525         * gst/gstregistry.h:
20526           Remove unimplemented declarations for which we can see no sensible
20527           use.
20528
20529 2005-11-21  Andy Wingo  <wingo@pobox.com>
20530
20531         * gst/gst.h: Include glib-compat.h.
20532
20533         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20534
20535         * gst/glib-compat.c: Include the public and the private header.
20536
20537         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20538
20539         * gst/gstvalue.c: 
20540         * gst/gstpad.c: 
20541         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20542
20543         * check/gst/gstevent.c (create_custom_events): Check that
20544         FLUSH_STOP is serialized.
20545
20546         * check/elements/identity.c (event_func): 
20547         * check/elements/fakesrc.c (event_func): No stream lock, the core
20548         takes it.
20549
20550         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20551         stream lock taking, yay.
20552
20553         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20554         ensure that core takes the stream lock.
20555
20556         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20557         lock name change.
20558
20559         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20560         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20561         it already. For the flush start we do take it though so we get the
20562         right preroll state change messages.
20563
20564         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20565         the stream lock here, the core does it for us.
20566
20567         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20568         GST_STREAM_GET_LOCK.
20569         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20570         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20571         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20572         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20573         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20574         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20575
20576         * gst/gstpad.c: Update for stream lock name change.
20577
20578         * gst/base/gstbasesink.c: Update for preroll lock name change.
20579
20580 2005-11-21  Wim Taymans  <wim@fluendo.com>
20581
20582         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20583         (gst_clock_get_master):
20584         * gst/gstclock.h:
20585         * gst/gstsystemclock.c: (gst_system_clock_init):
20586         Convert Clock flags to object flags.
20587         Added methods to manage master/slave clocks.
20588
20589 2005-11-21  Wim Taymans  <wim@fluendo.com>
20590
20591         * check/gst/gstsegment.c: (GST_START_TEST):
20592         * docs/design/part-TODO.txt:
20593         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20594         (gst_base_sink_event), (gst_base_sink_do_sync),
20595         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20596         (gst_base_sink_query), (gst_base_sink_change_state):
20597         * gst/base/gstbasesink.h:
20598         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20599         (gst_base_src_default_newsegment),
20600         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20601         (gst_base_src_get_range), (gst_base_src_loop),
20602         (gst_base_src_change_state):
20603         * gst/base/gstbasesrc.h:
20604         * gst/base/gstbasetransform.c:
20605         (gst_base_transform_prepare_output_buf),
20606         (gst_base_transform_event), (gst_base_transform_change_state):
20607         * gst/base/gstbasetransform.h:
20608         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20609         (gst_collect_pads_event):
20610         * gst/base/gstcollectpads.h:
20611         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20612         (gst_fake_src_create):
20613         * gst/elements/gstfakesrc.h:
20614         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20615         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20616         (gst_segment_set_last_stop), (gst_segment_set_seek),
20617         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20618         (gst_segment_to_running_time), (gst_segment_clip):
20619         * gst/gstsegment.h:
20620         More segment updates, replace code in plugins with segment
20621         helper functions.
20622
20623 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20624
20625         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20626         Don't ignore sscanf results
20627
20628 2005-11-21  Andy Wingo  <wingo@pobox.com>
20629
20630         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20631
20632         * *.h:
20633         * *.c: Ran scripts/update-macros. Oh yes.
20634
20635         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20636         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20637         GST_GET_LOCK, etc.
20638
20639         * scripts/update-macros: New script. Run it on your files to
20640         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20641         well.
20642
20643 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20644
20645         * docs/gst/Makefile.am:
20646         * docs/gst/gstreamer-docs.sgml:
20647         * docs/gst/gstreamer-sections.txt:
20648         * docs/gst/gstreamer.types:
20649         * gst/gstinfo.h:
20650           more docs fixes, add new api to the docs
20651
20652 2005-11-21  Andy Wingo  <wingo@pobox.com>
20653
20654         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20655         state_broadcast call.
20656
20657         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20658
20659 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20660
20661         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20662         function calls for arrays.
20663
20664 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20665
20666         * docs/random/ensonic/media-device-daemon.txt:
20667           wild idea, can this be done?
20668         * docs/gst/gstreamer-sections.txt:
20669         * gst/gsterror.h:
20670         * gst/gstfilter.c:
20671         * gst/gstfilter.h:
20672         * gst/gstplugin.h:
20673         * gst/gstpluginfeature.c:
20674         * gst/gsttrace.c:
20675         * gst/gstvalue.c:
20676         * gst/gstvalue.h:
20677           doc fixes and additions
20678
20679 2005-11-21  Andy Wingo  <wingo@pobox.com>
20680
20681         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20682         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20683         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20684         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20685         private to the basesrc implementation.
20686
20687         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20688         behalf of event function if necessary. It should no longer be
20689         necessary to take the stream lock in pad's event functions. Fixes
20690         #320299.
20691
20692 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20693         * docs/gst/gstreamer-sections.txt:
20694         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20695         (gst_structure_fixate_field_nearest_double),
20696         (gst_structure_fixate_field_boolean):
20697         * gst/gststructure.h:
20698         * win32/common/libgstreamer.def:
20699         * win32/gstreamer.def:
20700
20701         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20702         (#322027)
20703
20704 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20705
20706         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20707         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20708         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20709         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20710         (gst_fdsrc_uri_handler_init):
20711         * gst/elements/gstfdsrc.h:
20712           Port fd:// URI handler from 0.8 to fdsrc
20713
20714 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20715
20716         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20717         (gst_value_serialize_fourcc):
20718         * gst/gstvalue.h:
20719           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20720           consistent with our other format defines (#320324).
20721
20722 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20723
20724         * gst/gstvalue.c: (gst_value_is_fixed):
20725           Revert previous commit. Value lists are by definition
20726           not fixed, as they are a list of possible values.
20727
20728 2005-11-21  Andy Wingo  <wingo@pobox.com>
20729
20730         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20731         during the stable series if we need it. Fixes #319178.
20732
20733         * gst/gstevent.c (gst_event_new_filler): Removed.
20734
20735         * check/gst/gstevent.c: Update comment about filler events.
20736
20737 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20738
20739         * gst/gstvalue.c: (gst_value_is_fixed):
20740           Should handle both value arrays and value lists.
20741
20742 2005-11-21  Andy Wingo  <wingo@pobox.com>
20743
20744         patch by: Alessandro Dessina <alessandro nnva org>
20745
20746         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20747         functions to access arrays. Fixes #321962.
20748
20749 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20750
20751         * docs/gst/gstreamer.types:
20752           gst_collectpads_get_type => gst_collect_pads_get_type.
20753           
20754         * gst/base/gstbasetransform.c:
20755           Remove unused SIGNAL_HANDOFF enum.
20756
20757 2005-11-21  Andy Wingo  <wingo@pobox.com>
20758
20759         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20760         the event type (upstream, downstream, serialized). Renamed
20761         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20762         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20763         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20764
20765         * gst/gstevent.c: Update for new CUSTOM event names.
20766
20767         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20768
20769         * gst/gstevent.h:
20770         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20771         bug #319392.
20772
20773 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20774
20775         * docs/gst/gstreamer-sections.txt:
20776         * win32/common/libgstbase.def:
20777         * win32/libgstbase.def:
20778         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20779         (gst_collect_pads_class_init), (gst_collect_pads_init),
20780         (gst_collect_pads_finalize), (gst_collect_pads_new),
20781         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20782         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20783         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20784         (gst_collect_pads_start), (gst_collect_pads_stop),
20785         (gst_collect_pads_peek), (gst_collect_pads_pop),
20786         (gst_collect_pads_available), (gst_collect_pads_read),
20787         (gst_collect_pads_flush), (gst_collect_pads_event),
20788         (gst_collect_pads_chain):
20789         * gst/base/gstcollectpads.h:
20790           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20791           unimplemented functions as unimplemented. Add padding to
20792           GstCollectData. (#320766, #320423)
20793
20794 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20795
20796         * gst/gstmessage.c:
20797           Improve docs for DURATION message (usage of duration parameter)
20798           (#320113)
20799
20800 2005-11-20  Wim Taymans  <wim@fluendo.com>
20801
20802         * check/Makefile.am:
20803         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20804         (main):
20805         * gst/Makefile.am:
20806         * gst/gst.h:
20807         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20808         (gst_segment_set_seek), (gst_segment_set_newsegment),
20809         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20810         (gst_segment_clip):
20811         * gst/gstsegment.h:
20812         Added segment helper structure and methods. Not fully implemented
20813         yet.
20814         Added segment check.
20815
20816 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20817
20818         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20819           Add a deserialisation test for fractions
20820         * examples/metadata/read-metadata.c: (message_loop),
20821         (make_pipeline), (main):
20822           Fix up metadata reading sample.
20823         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20824           Debug format fix
20825         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20826           Don't try and fixate empty caps
20827         * gst/gst_private.h:
20828           Wrap in G_BEGIN_DECLS/G_END_DECLS
20829         * gst/gstvalue.c: (gst_value_collect_fraction),
20830         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20831         (gst_value_transform_string_fraction),
20832         (gst_value_compare_fraction):
20833           Add some extra guards to ensure that we don't end up 
20834           with an invalid denominator of 0 in a gstfraction and
20835           that fractions always get reduced.
20836
20837 2005-11-20  Wim Taymans  <wim@fluendo.com>
20838
20839         * docs/gst/gstreamer-sections.txt:
20840         * gst/gstbuffer.h:
20841         * gst/gstelement.c:
20842         * gst/gstformat.c:
20843         * gst/gstformat.h:
20844         * gst/gstindex.h:
20845         * gst/gstquery.c:
20846         * gst/gstquery.h:
20847         * gst/gstvalue.c:
20848         Doc fixes.
20849
20850 2005-11-20  Wim Taymans  <wim@fluendo.com>
20851
20852         * docs/design/part-TODO.txt:
20853         * gst/gstcaps.h:
20854         Make a proper enum of the flag.
20855
20856 2005-11-19  Wim Taymans  <wim@fluendo.com>
20857
20858         * docs/design/part-TODO.txt:
20859         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20860         (gst_format_to_quark), (gst_format_register):
20861         * gst/gstformat.h:
20862         * gst/gstquery.c: (_gst_query_initialize),
20863         (gst_query_type_get_name), (gst_query_type_to_quark),
20864         (gst_query_type_register):
20865         * gst/gstquery.h:
20866         Add type to quark and type to string conversions.
20867
20868 2005-11-19  Andy Wingo  <wingo@pobox.com>
20869
20870         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20871         #320097.
20872
20873 2005-11-19  Wim Taymans  <wim@fluendo.com>
20874
20875         * docs/design/part-TODO.txt:
20876         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20877         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20878         (gst_bin_handle_message_func):
20879         * gst/gstbin.h:
20880         Make message handling overridable.
20881
20882 2005-11-19  Andy Wingo  <wingo@pobox.com>
20883
20884         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20885
20886         * gst/gstclock.h:
20887         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20888         be a GstClockTime.
20889         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20890         is a GstClockTime. Fixes #321710.
20891
20892         * gst/gstclock.h (GstClock): Remove offset property. Add
20893         internal_calibration and external_calibration. Fix padding. Pad
20894         also by GstClockTime so we don't run into problems.
20895
20896         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20897         (gst_clock_get_rate_offset): Remove.
20898         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20899
20900         * gst/gstutils.h:
20901         * gst/gstutils.c (g_static_rec_cond_wait)
20902         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20903
20904         * gst/gstbin.c: Remove terrible continue_state prototype.
20905
20906         * gst/gstelement.h (gst_element_continue_state): Make public.
20907
20908         * gst/gstelement.h:
20909         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20910         by continue_state. Fixes #319389.
20911
20912         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20913         Really fixes #168438. However I don't see anywhere where the
20914         filter function is called... stupid GStreamer...
20915         
20916         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20917         don't have a dispose function, so it won't get called when the
20918         object is unreffed, but oh well!
20919
20920         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20921         allows a destroy function to be set so user_data can be freed.
20922         Fixes #168438.
20923         (gst_index_set_filter): Call gst_index_set_filter_full.
20924
20925         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20926
20927         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20928         string should produce an error, given the lack of a way to
20929         represent NULL strings. Fixes #165650.
20930         
20931         * gst/gstvalue.h: 
20932         * gst/gstvalue.c (gst_value_array_append_value) 
20933         (gst_value_array_prepend_value, gst_value_array_get_size) 
20934         (gst_value_array_get_value): New API, copied from
20935         gst_value_list_*, only operates on arrays.
20936         (gst_value_list_append_value, gst_value_list_prepend_value) 
20937         (gst_value_list_concat, gst_value_list_get_size) 
20938         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20939
20940         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20941         init_list, because it works on both.
20942         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20943         (gst_value_copy_list_or_array): Renamed from copy_list.
20944         (gst_value_free_list_or_array): Renamed from free_list.
20945         (gst_value_collect_list_or_array): Renamed from collect_list.
20946         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20947         (gst_value_list_or_array_peek_pointer): Renamed from
20948         list_peek_pointer.
20949         (_gst_value_array_value_table, _gst_value_list_value_table):
20950         Update value table functions.
20951         (gst_value_compare_list_or_array): Renamed from compare_list.
20952
20953         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20954         some constness.
20955
20956         * gst/gsttaglist.c:
20957         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20958         GstTagList*. Fixes #143472.
20959
20960         * gst/gststructure.h: Clarify what the foreach/map functions can
20961         or can't do to their arguments.
20962
20963 2005-11-18  Wim Taymans  <wim@fluendo.com>
20964
20965         * gst/gstclock.c: (gst_clock_set_calibration),
20966         (gst_clock_get_calibration):
20967         Doc and API fixes.
20968         Calibration can be set with internal time equal to current
20969         internal time too.
20970
20971 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20972
20973         * gst/gsterror.c:
20974         * gst/gsterror.h:
20975           document
20976
20977 2005-11-18  Andy Wingo  <wingo@pobox.com>
20978
20979         * configure.ac: 
20980         * pkgconfig/gstreamer-net.pc.in:
20981         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20982         * pkgconfig/Makefile.am: Add net pkgconfig files.
20983
20984 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20985
20986         * gst/gstcaps.c:
20987         * gst/gstghostpad.c:
20988         * gst/gsttrace.c:
20989         * gst/gstvalue.c:
20990         * gst/gstvalue.h:
20991           docs fixes
20992
20993 2005-11-18  Andy Wingo  <wingo@pobox.com>
20994
20995         * gst/net/gstnetclientclock.c: Turn off debugging.
20996
20997         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20998         times connverge somewhat. Can't make a real test.
20999
21000         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21001         integer arithmetic. Return the minimum of the domain, which can be
21002         set as "internal" for gst_clock_set_calibration.
21003         (gst_net_client_clock_observe_times): Call _set_calibration.
21004         (gst_net_client_clock_new): Call _set_calibration instead of
21005         rate_offset.
21006
21007         * check/net/gstnetclientclock.c (test_functioning): Use the right
21008         adjustment api.
21009
21010         * gst/gstclock.h:
21011         * gst/gstclock.c (gst_clock_get_calibration) 
21012         (gst_clock_set_calibration): New functions, obsolete the ones I
21013         added yesterday. Doh. Precision issues mean we have to extrapolate
21014         from a point in the more recent past than 1970.
21015         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21016         obsolete.
21017         (gst_clock_adjust_unlocked): Use the right calibration data.
21018
21019 2005-11-18  Edward Hervey  <edward@fluendo.com>
21020
21021         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21022         Also reset the ->current_* values in READY->PAUSED
21023
21024 2005-11-18  Andy Wingo  <wingo@pobox.com>
21025
21026         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21027         Whoops, check the right fd. Also add some debugging.
21028         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21029         (do_linear_regression): Add a crapload of debugging. Subtract off
21030         the minimum values from the input series to discard unneeded bits.
21031         Use only int arithmetic. There is still double arithmetic when
21032         calculating the intercept that needs fixing. Return boolean to
21033         indicate success; FALSE would mean the domain or range is too
21034         great. Still needs fixes.
21035
21036 2005-11-18  Wim Taymans  <wim@fluendo.com>
21037
21038         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21039         For the current position in stream time, we need to subtract
21040         accumulated time.
21041         
21042         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21043         Release lock before calling the callback function of async
21044         entries.
21045
21046 2005-11-18  Andy Wingo  <wingo@pobox.com>
21047
21048         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21049         Port goes all the way to MAXUINT16.
21050
21051         * gst/net/gstnettimeprovider.c: Make the port range the same as
21052         for the kernel: 0 assigns, otherwise ports are less than
21053         MAXUINT16.
21054
21055         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21056         port change.
21057
21058         * check/net/gstnetclientclock.c (test_functioning): Add the start
21059         of another test. 
21060
21061 2005-11-18  Wim Taymans  <wim@fluendo.com>
21062
21063         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21064         (gst_bin_remove_func), (bin_bus_handler):
21065         * gst/gstbin.h:
21066         Removing a clock provider from a bin, triggers a clock lost message
21067         so that a new clock will be selected.
21068         Adding a clock to a bin triggers a clock provider message.
21069         Make sure we reselect a clock when we received a clock lost message.
21070         Keep a reference to the element that provided the clock.
21071
21072 2005-11-18  Andy Wingo  <wingo@pobox.com>
21073
21074         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21075         the clock initially so it produces values around the base time.
21076         (gst_net_client_clock_class_init): Typo fix.
21077         (gst_net_client_clock_thread): Add note on when the socket gets
21078         closed.
21079
21080 2005-11-17  Wim Taymans  <wim@fluendo.com>
21081
21082         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21083         Free remote and local time arrays.
21084
21085 2005-11-17  Wim Taymans  <wim@fluendo.com>
21086
21087         * gst/net/gstnetclientclock.c: (do_linear_regression),
21088         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21089         Fix compilation, uninitialized vars and a forgotten continue.
21090
21091 2005-11-17  Andy Wingo  <wingo@pobox.com>
21092
21093         * check/Makefile.am (check_PROGRAMS): 
21094         * check/net/gstnetclientclock.c: Add a most minimal test for the
21095         net client clock. More to come later.
21096
21097         * gst/net/gstnet.h: 
21098         * gst/net/Makefile.am: Add netclientclock.
21099
21100         * gst/net/gstnetclientclock.h:
21101         * gst/net/gstnetclientclock.c: New files, implement an untested
21102         GstClock that takes its time from a network time provider.
21103         Implements the algorithm in network-clock.scm.
21104
21105         * tests/network-clock.scm (*window-size*): Rename from
21106         *queue-length*.
21107         * tests/network-clock.scm (network-time): 
21108         * tests/network-clock-utils.scm (q-push): Update callers.
21109
21110 2005-11-17  Wim Taymans  <wim@fluendo.com>
21111
21112         * gst/gstbin.c: (gst_bin_provide_clock_func),
21113         (gst_bin_sort_iterator_new):
21114         And unref the child too..
21115
21116 2005-11-17  Wim Taymans  <wim@fluendo.com>
21117
21118         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21119         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21120         Refactor the sort iterator so it can be used while holding the
21121         LOCK too.
21122         Make clock selection select a clock closest to the source.
21123
21124 2005-11-17  Michael Smith <msmith@fluendo.com>
21125
21126         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21127         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21128         * gst/gstclock.h:
21129           Anonymous structs are a gcc (and some other compilers) extension, so
21130           don't use them. Since this is only for ABI-compatibility, and our
21131           API/ABI freeze is over in a few days, this whole thing will only
21132           last a few days, so don't bother trying to think up a meaningful
21133           name for the struct.
21134
21135 2005-11-17  Andy Wingo  <wingo@pobox.com>
21136
21137         * gst/gstclock.h (GstClock): Add rate and offset properties,
21138         preserving ABI stability. Add rate/offset accessors. Will file bug
21139         for the freeze break.
21140
21141         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21142         and offset, trying to keep precision and avoiding
21143         underflow/overflow.
21144         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21145         functions. Make gst_clock_set_time_adjust obsolete.
21146         (gst_clock_set_time_adjust): Note that this function is obsolete.
21147         Will file bug soon.
21148
21149         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21150         greppable by using GST_PADDING-1+1.
21151
21152 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21153
21154         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21155
21156         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21157           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21158
21159         * gst/gstpadtemplate.h:
21160         * gst/gstpluginfeature.h:
21161           Don't use c++ style comments in headers (#321638).
21162
21163 2005-11-16  Andy Wingo  <wingo@pobox.com>
21164
21165         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21166         buffer.
21167
21168         * check/net/gstnettimeprovider.c: Check to see that the time
21169         provider actually provides times. Works, yo!
21170
21171 2005-11-16  Wim Taymans  <wim@fluendo.com>
21172
21173         * check/Makefile.am:
21174         Enable more tests.
21175
21176         * check/elements/fakesrc.c: (GST_START_TEST):
21177         Set element to NULL before disposing it.
21178
21179 2005-11-16  Andy Wingo  <wingo@pobox.com>
21180
21181         * gst/net/Makefile.am:
21182         * gst/net/gstnet.h:
21183         * gst/net/gstnettimeprovider.c: 
21184         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21185         provider, include it from gstnet.h, and add it to the build.
21186
21187         * gst/net/gstnettimepacket.h: 
21188         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21189         sending and receiving.
21190
21191 2005-11-16  Wim Taymans  <wim@fluendo.com>
21192
21193         * check/Makefile.am:
21194         Enable valgrind check.
21195
21196         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21197         (gst_fake_src_alloc_buffer):
21198         Fix memleak.
21199
21200 2005-11-16  Wim Taymans  <wim@fluendo.com>
21201
21202         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21203         Call parent finalize too.
21204
21205 2005-11-16  Wim Taymans  <wim@fluendo.com>
21206
21207         * check/Makefile.am:
21208         Enable valgrind check that should work fine now.
21209
21210         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21211         * gst/gstqueue.c: (gst_queue_init):
21212         Fix memleaks in pad allocation.
21213
21214 2005-11-16  Andy Wingo  <wingo@pobox.com>
21215
21216         * gst/net/Makefile.am:
21217         * gst/net/gstnet.h: New part of core to hold network elements and
21218         objects. Put in core because it exposes API that applications want
21219         to use. The library is named libgstnet-tempname right now because
21220         of the existing libgstnet in gst-plugins-base. Solution is
21221         probably to rename the one in plugins-base; will file a bug for
21222         the freeze break.
21223
21224         * gst/net/gstnettimeprovider.c: 
21225         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21226         get_time call over the network.
21227
21228         * configure.ac: 
21229         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21230
21231         * check/Makefile.am:
21232         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21233         get additions shortly.
21234
21235 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21236
21237         * gst/gstpad.c: (gst_pad_new_from_static_template):
21238         * gst/gstpad.h:
21239           add gst_pad_new_from_static_template functions
21240         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21241         (gst_check_setup_sink_pad):
21242         * gst/elements/gsttee.c: (gst_tee_init):
21243           and use them
21244
21245 2005-11-16  Wim Taymans  <wim@fluendo.com>
21246
21247         * gst/gstpad.c: (gst_pad_pause_task):
21248         Removed warning, it's not really an error either.
21249
21250 2005-11-16  Wim Taymans  <wim@fluendo.com>
21251
21252         * gst/base/gstbasetransform.c:
21253         (gst_base_transform_prepare_output_buf),
21254         (gst_base_transform_event):
21255         Check if the caps are NULL, this can happen if the element
21256         is shutting down and the pad caps are set to NULL.
21257
21258 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21259
21260         * gst/elements/gsttee.c: (gst_tee_init):
21261           fix pad template leak in tee
21262
21263 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21264
21265         * gst/glib-compat.c: (g_value_dup_gst_object):
21266         * gst/glib-compat.h:
21267         * gst/gstpad.c: (gst_pad_set_property):
21268           use gst_object_ref when setting the pad template; this will
21269           trigger the pad template leaks on GLib 2.6 and the slaves
21270
21271 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21272
21273         * gst/glib-compat.c: (gst_flags_get_first_value):
21274         * gst/glib-compat.h:
21275         * gst/gstregistryxml.c:
21276           remove functions copied from GLib 2.6
21277
21278 2005-11-16  Michael Smith <msmith@fluendo.com>
21279
21280         * gst/Makefile.am:
21281           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21282           do, but only breaks with newer valgrind versions. We're not a
21283           valgrind tool, we have no link-time dependencies on libcoregrind.
21284
21285 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21286
21287         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21288           some debug changes
21289         * gst/gstmessage.h:
21290           typo fixes
21291
21292 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21293
21294         * gst/base/gstbasesrc.c: (gst_base_src_init):
21295         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21296         * gst/gstqueue.c: (gst_queue_init):
21297         * gst/gstregistryxml.c: (load_feature):
21298           Revert all these unrefs, they don't even pass make check !
21299
21300 2005-11-15  Johan Dahlin  <johan@gnome.org>
21301
21302         * gst/base/gstbasesrc.c: (gst_base_src_init):
21303         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21304         * gst/gstqueue.c: (gst_queue_init): 
21305         Free pad templates, fixes a couple of leaks.
21306
21307 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21308
21309         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21310
21311         * gst/gstpad.c: (gst_pad_get_property):
21312           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21313           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21314           (#321452)
21315
21316 2005-11-15  Wim Taymans  <wim@fluendo.com>
21317
21318         * gst/gstevent.c:
21319         Small doc update.
21320
21321 2005-11-15  Andy Wingo  <wingo@pobox.com>
21322
21323         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21324
21325         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21326         using GST_CLOCK_TIME_NONE to disable base time management.
21327         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21328         time if it was NONE before.
21329         (gst_pipeline_change_state): Only munge the base time if
21330         stream_time != GST_CLOCK_TIME_NONE.
21331
21332         * check/gst/gstpipeline.c (test_base_time): Punt around the
21333         problem of the probe not being called, because that's not the
21334         issue I'm looking at. Add a check that setting stream_time to NONE
21335         disables base time management.
21336         
21337 2005-11-15  Wim Taymans  <wim@fluendo.com>
21338
21339         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21340         segment_stop == -1 at startup.
21341
21342         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21343         (gst_base_transform_change_state):
21344         Init segment values at start.
21345
21346 2005-11-15  Wim Taymans  <wim@fluendo.com>
21347
21348         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21349         0 segment values are 0 in any format.
21350
21351         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21352         * gst/base/gstbasetransform.h:
21353         Parse newsegment correctly in basetransform
21354
21355         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21356         Sync to clock using updated segment values.
21357
21358 2005-11-15  Andy Wingo  <wingo@pobox.com>
21359
21360         * check/gst/gstpipeline.c (test_base_time): Add check that the
21361         base time and stream time are reset correctly.
21362
21363 2005-11-15  Wim Taymans  <wim@fluendo.com>
21364
21365         * docs/design/part-TODO.txt:
21366         Some more TODO items.
21367
21368 2005-11-15  Andy Wingo  <wingo@pobox.com>
21369
21370         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21371         error if the user selected "no clock" as the clocking method.
21372
21373         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21374         timestamps with live capture.
21375
21376         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21377         is 0 but we are a live source, timestamp the buffers using the
21378         element's clock.
21379
21380 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21381
21382         * docs/gst/gstreamer-sections.txt:
21383         * gst/gsterror.c:
21384         * gst/gstghostpad.c:
21385         * gst/gstobject.h:
21386         * gst/gstxml.c:
21387           more section docs
21388
21389 2005-11-14  Wim Taymans  <wim@fluendo.com>
21390
21391         * common/gst.supp:
21392           add suppressions from Wim's Debian machine
21393
21394 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21395
21396         * common/gst.supp:
21397           add suppressions from Andy's AMD64 Ubuntu machine
21398
21399 2005-11-14  Andy Wingo  <wingo@pobox.com>
21400
21401         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21402         STATE_LOCK not necessary. Fixes #311489.
21403
21404         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21405         #305291.
21406
21407         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21408         this function is not implemented.
21409
21410 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21411
21412         * gst/base/gstbasetransform.c:
21413         (gst_base_transform_prepare_output_buf):
21414         Ref the source pad caps while we need them.
21415         Fixes (#321386)
21416
21417 2005-11-11  Wim Taymans  <wim@fluendo.com>
21418
21419         * docs/gst/gstreamer-sections.txt:
21420         Added some docs for GstCollectData.
21421
21422         * gst/base/gstadapter.c:
21423         Some small code example fix.
21424
21425         * gst/base/gstcollectpads.c:
21426         * gst/base/gstcollectpads.h:
21427         Document some more.
21428
21429 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21430
21431         * configure.ac: back to HEAD
21432
21433 === release 0.9.5 ===
21434
21435 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21436
21437         * configure.ac:
21438           releasing 0.9.5, "Bike Lunch Day"
21439
21440 2005-11-11  Wim Taymans  <wim@fluendo.com>
21441
21442         * gst/gstbuffer.c: (_gst_buffer_copy):
21443         Copy more flags.
21444
21445         * gst/gstcaps.c: (gst_caps_is_equal):
21446         Fix some docs.
21447         Make _is_equal fast in the trivial cases.
21448
21449         * gst/gstminiobject.c:
21450         * gst/gstminiobject.h:
21451         More docs. Spifify .h file.
21452
21453         * gst/gstutils.c:
21454         Small doc update.
21455
21456 2005-11-11  Wim Taymans  <wim@fluendo.com>
21457
21458         * gst/base/gstbasetransform.c:
21459         (gst_base_transform_prepare_output_buf),
21460         (gst_base_transform_handle_buffer):
21461         Small cleanups.
21462         If we're processing a buffer and need to allocate an output
21463         buffer, we cannot accept a format change. If we did get a 
21464         format change, we have to alloc a buffer ourselves of the 
21465         right size.
21466
21467 2005-11-11  Wim Taymans  <wim@fluendo.com>
21468
21469         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21470         While checking the flag for reentrancy in the gstcaps function
21471         is nice to detect recursive invocations, it also makes it 
21472         impossible to call getcaps from multiple threads, which must be
21473         possible. So, checking for recursive calls has to go.
21474
21475 2005-11-11  Michael Smith <msmith@fluendo.com>
21476
21477         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21478           Don't sync on buffers that fall partially outside our current
21479           segment. Prevents an assertion failure/abort playing some files.
21480
21481 2005-11-10  Andy Wingo  <wingo@pobox.com>
21482
21483         * check/gst/gstbin.c (test_message_state_changed_children): Style
21484         fix..
21485
21486         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21487         gst_bus_poll with the signal watch. Ensures that poll and a signal
21488         watch see the same messages.
21489
21490         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21491         a poll and a watch at the same time get the same messages.
21492
21493 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21494
21495         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21496         * gst/gstcaps.c: (gst_caps_intersect):
21497           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21498           and it's not needed.
21499
21500 2005-11-10  Wim Taymans  <wim@fluendo.com>
21501
21502         * docs/design/part-TODO.txt:
21503         Updated todo.
21504
21505 2005-11-10  Wim Taymans  <wim@fluendo.com>
21506
21507         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21508         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21509         (gst_base_src_do_sync), (gst_base_src_get_range):
21510         Implement clock sync in base class.
21511
21512 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21513
21514         patch by: Tim-Philipp Müller <tim at centricular dot net>
21515
21516         * gst/gststructure.c: (gst_structure_parse_field),
21517         (gst_structure_from_string):
21518           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21519           so that gst_parse_launch() can deal with spaces in filtered link
21520           caps (fixes #164479)
21521         * check/gst/capslist.h:
21522         * check/gst/gststructure.c: (GST_START_TEST):
21523           add unit tests for this change
21524
21525 2005-11-10  Wim Taymans  <wim@fluendo.com>
21526
21527         * docs/gst/gstreamer-sections.txt:
21528         * gst/gstelement.c:
21529         * gst/gstelement.h:
21530         Fix docs, move some STATE macros to private.
21531
21532 2005-11-10  Wim Taymans  <wim@fluendo.com>
21533
21534         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21535         Added check for bug #317341
21536
21537         * gst/gstbuffer.c:
21538         * gst/gstbuffer.h:
21539         Some more spiffifying.
21540
21541         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21542         Call peer linkfunction if we are a source pad. Totally fixes
21543         #317341
21544
21545         * gst/gstpad.c:
21546         Update docs, source pads should call the peer linkfunction
21547         so they can atomically perform the pad link.
21548
21549 2005-11-09  Wim Taymans  <wim@fluendo.com>
21550
21551         * gst/gstbuffer.c:
21552         * gst/gstbuffer.h:
21553         Uber-spiffy-spiffify some more.
21554
21555 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21556
21557         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21558         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21559         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21560         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21561         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21562         * gst/gstpad.c: (gst_pad_init):
21563           Use GST_DEBUG_FUNCPTR() more extensively.
21564
21565 2005-11-09  Wim Taymans  <wim@fluendo.com>
21566
21567         * gst/gstobject.c: (gst_object_class_init):
21568         * gst/gstobject.h:
21569         Documentation fixes.
21570
21571 2005-11-09  Edward Hervey  <edward@fluendo.com>
21572
21573         * gst/gsttypefindfactory.c:
21574         Fix docs.
21575         
21576 2005-11-09  Edward Hervey  <edward@fluendo.com>
21577
21578         * gst/base/gsttypefindhelper.c:
21579         * gst/gsttypefind.c:
21580         * gst/gsttypefind.h:
21581         Fix docs.
21582
21583 2005-11-09  Wim Taymans  <wim@fluendo.com>
21584
21585         * gst/gstiterator.c:
21586         Fix revision data.
21587
21588         * gst/gsttask.c:
21589         * gst/gsttask.h:
21590         Fix docs.
21591
21592 2005-11-09  Wim Taymans  <wim@fluendo.com>
21593
21594         * gst/gstevent.h:
21595         * gst/gsturi.h:
21596         Fix docs.
21597
21598 2005-11-09  Wim Taymans  <wim@fluendo.com>
21599
21600         * docs/gst/gstreamer-sections.txt:
21601         Moved the message async delivery private lock and cond
21602         to the private section.
21603
21604         * gst/gstmessage.c:
21605         * gst/gstmessage.h:
21606         Fixed docs.
21607
21608 2005-11-09  Edward Hervey  <edward@fluendo.com>
21609
21610         * docs/gst/gstreamer-sections.txt:
21611         * gst/gsturi.c:
21612         * gst/gsturi.h:
21613         Document GstURIHandler
21614
21615 2005-11-09  Wim Taymans  <wim@fluendo.com>
21616
21617         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21618         (gst_iterator_find_custom):
21619         * gst/gstiterator.h:
21620         Fix iterator docs.
21621
21622 2005-11-09  Wim Taymans  <wim@fluendo.com>
21623
21624         * gst/gstbin.h:
21625         Document another field.
21626
21627         * gst/gststructure.c:
21628         * gst/gststructure.h:
21629         Document.
21630
21631 2005-11-09  Wim Taymans  <wim@fluendo.com>
21632
21633         * gst/gstbin.h:
21634         Documented structs.
21635
21636 2005-11-09  Wim Taymans  <wim@fluendo.com>
21637
21638         * docs/gst/gstreamer-sections.txt:
21639         Added some new macros.
21640
21641         * gst/gstclock.c:
21642         * gst/gstclock.h:
21643         * gst/gstobject.h:
21644         Docs updates.
21645
21646 2005-11-09  Wim Taymans  <wim@fluendo.com>
21647
21648         * docs/design/part-TODO.txt:
21649         Some more items for the TODO
21650
21651         * gst/gstcaps.c:
21652         * gst/gstcaps.h:
21653         Document GstCaps.
21654
21655 2005-11-09  Andy Wingo  <wingo@pobox.com>
21656
21657         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21658         to work on something else now tho...
21659
21660         * gst/base/gstadapter.c: More adapter docs.
21661
21662         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21663         (gst_file_sink_stop): New functions, replace the state change
21664         handler.
21665         (gst_file_sink_class_init): Hook up the start and stop functions.
21666         (gst_file_sink_base_init): Don't set the state change handler any
21667         more. It was a bit ugly too, being set from here...
21668         (gst_file_sink_get_property, gst_file_sink_set_property):
21669         Cleanups...
21670         (gst_file_sink_set_location): More robust check that doesn't call
21671         GST_STATE. Ugggggg.
21672
21673 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21674
21675         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21676           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21677
21678 2005-11-08  Wim Taymans  <wim@fluendo.com>
21679
21680         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21681         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21682         (gst_base_sink_chain), (gst_base_sink_change_state):
21683         * gst/base/gstbasesink.h:
21684         * gst/base/gstbasesrc.h:
21685         * gst/gstelement.h:
21686         * gst/gstevent.h:
21687         Avoid excessive typechecking in macros.
21688
21689         * gst/gstminiobject.c: (gst_mini_object_get_type),
21690         (gst_mini_object_init), (gst_mini_object_new),
21691         (gst_mini_object_free):
21692         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21693         (gst_object_finalize):
21694         Remove cruft code, optimize alloc_trace.
21695
21696 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21697
21698         * docs/faq/gst-uninstalled:
21699           fix up PS1 for systems that try to reset it
21700
21701 2005-11-07  Wim Taymans  <wim@fluendo.com>
21702
21703         * gst/base/gstbasesrc.c: (gst_base_src_init),
21704         (gst_base_src_get_range):
21705         Set the segment_end to -1 initially. Fixed typefind.
21706
21707 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21708
21709         * gst/base/gstadapter.c:
21710           Debug category should be 'adapter', not 'GstAdapter'.
21711           
21712         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21713         (gst_collectpads_class_init), (gst_collectpads_init),
21714         (gst_collectpads_peek), (gst_collectpads_pop),
21715         (gst_collectpads_event), (gst_collectpads_chain):
21716           Add debug category and some debugging output. Use boilerplate
21717           macros. Remove some extraneous words from docs.
21718
21719 2005-11-05  Andy Wingo  <wingo@pobox.com>
21720
21721         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21722         macro.
21723
21724 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21725
21726         * docs/gst/gstreamer-sections.txt:
21727         * gst/gstcaps.h:
21728         * gst/gstinfo.c:
21729         * gst/gstminiobject.h:
21730         * gst/gstobject.h:
21731         * gst/gstutils.h:
21732           more docs added
21733
21734 2005-11-04  Wim Taymans  <wim@fluendo.com>
21735
21736         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21737         Small update to stop at the configured segment_end
21738         position.
21739
21740 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21741
21742         * gst/gstregistry.c:
21743         * gst/gstregistry.h:
21744           added missing docs
21745
21746 2005-11-04  Edward Hervey  <edward@fluendo.com>
21747
21748         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21749         Check if we are doing a segment seek and have arrived at the
21750         end of that segment.
21751
21752 2005-11-04  Wim Taymans  <wim@fluendo.com>
21753
21754         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21755         Don't leak a mutex unlock in case of an error.
21756
21757         * gst/gstbus.h:
21758         Doc fixes.
21759
21760 2005-11-04  Wim Taymans  <wim@fluendo.com>
21761
21762         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21763         (gst_bus_post):
21764         Get the context to wake up only once.
21765
21766 2005-11-03  Wim Taymans  <wim@fluendo.com>
21767
21768         * check/states/sinks.c: (GST_START_TEST):
21769         Uncomment fixed check.
21770
21771         * docs/design/part-TODO.txt:
21772         Updated TODO.
21773
21774         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21775         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21776         (gst_base_sink_get_position):
21777         If we are going to PLAYING, post the right pending state
21778         when we post the intermediate paused message.
21779
21780         * gst/gstelement.c: (gst_element_continue_state),
21781         (gst_element_set_state_func), (gst_element_change_state):
21782         Don't post state changes that were between the same state
21783         and were not ASYNC.
21784
21785 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21786
21787         * docs/gst/gstreamer-sections.txt:
21788         * gst/gstcaps.h:
21789         * gst/gstinfo.c:
21790         * gst/gstminiobject.h:
21791         * gst/gstobject.h:
21792         * gst/gstutils.h:
21793           more docs and doc style fixes
21794
21795 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21796
21797         * docs/gst/gstreamer-sections.txt:
21798         * gst/gstelement.c:
21799         * gst/gstminiobject.c:
21800         doc fixes
21801
21802 2005-11-03  Andy Wingo  <wingo@pobox.com>
21803
21804         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21805         state-changed messages actually have the right order and the right
21806         values.
21807
21808 2005-11-03  Wim Taymans  <wim@fluendo.com>
21809
21810         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21811         Added some more checks. Specifically the case where NO_PREROLL
21812         elements are in the pipeline.
21813
21814         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21815         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21816         (gst_base_sink_get_position):
21817         Post READY->PAUSED state change messages too.
21818         Fix bug where VOID was posted as pending state...
21819
21820         * gst/gstbin.c: (gst_bin_recalc_state):
21821         use _element_continue_state() to continue the state change.
21822
21823         * gst/gstelement.c: (gst_element_continue_state),
21824         (gst_element_commit_state), (gst_element_set_state_func),
21825         (gst_element_change_state), (gst_element_change_state_func):
21826         Lots of state change cleanups, assign the STATE_RETURN in
21827         a new continue_state() function that also propagates the
21828         last return value from a state change to the app.
21829         Update some debug statements with proper category.
21830
21831 2005-11-03  Wim Taymans  <wim@fluendo.com>
21832
21833         * docs/design/part-events.txt:
21834         * docs/design/part-gstpipeline.txt:
21835         * docs/design/part-messages.txt:
21836         * docs/design/part-overview.txt:
21837         * docs/design/part-seeking.txt:
21838         * docs/design/part-states.txt:
21839         * docs/design/part-trickmodes.txt:
21840         * docs/manual/advanced-position.xml:
21841         Small docs updates.
21842
21843         * gst/gstobject.h:
21844         People think !! is ugly, this looks better.
21845
21846         * gst/gstpad.c: (gst_pad_set_blocked_async):
21847         Remove !! since it's fixed elsewhere now.
21848
21849 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21850
21851         * gst/gstminiobject.h:
21852         * gst/gstobject.h:
21853           Add !! to _FLAG_IS_SET macros to make the result boolean.
21854
21855 2005-11-03  Edward Hervey  <edward@fluendo.com>
21856
21857         * gst/gstpad.c: (gst_pad_set_blocked_async):
21858         comparing a flag and a gboolean rarely returns coherent results...
21859         Added two characters (!!) to make that work correctly.
21860         
21861 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21862
21863         * gst/gstbus.c: (gst_bus_class_init):
21864           Fix some typos.
21865           
21866         * gst/gstqueue.c: (gst_queue_loop):
21867           Don't assume a miniobject that isn't a buffer is an
21868           event (it could be that there is a refcounting
21869           problem somewhere and the pointer is stale and
21870           refers to an already destroyed miniobject).
21871
21872 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21873
21874         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21875
21876 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21877
21878         * docs/manual/advanced-position.xml:
21879           Update seek example and explanations to current 0.9 API.
21880
21881         * gst/elements/gsttypefindelement.c:
21882         (gst_type_find_element_activate):
21883           Remove FIXME comment now that the found caps
21884           are unreffed.
21885
21886 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21887
21888         * gst/gstregistryxml.c: (load_feature):
21889           Add another GST_STR_NULL instance
21890
21891 2005-11-02  Edward Hervey  <edward@fluendo.com>
21892
21893         * gst/gstpad.c: (handle_pad_block):
21894         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21895         
21896 2005-11-02  Wim Taymans  <wim@fluendo.com>
21897
21898         * gst/gstbin.c:
21899         Fix typo in docs.
21900
21901         * gst/gstelement.c: (gst_element_commit_state):
21902         Remove unused value.
21903
21904         * gst/gstiterator.c:
21905         Mention that the returned element is reffed in the docs.
21906
21907 2005-11-02  Wim Taymans  <wim@fluendo.com>
21908
21909         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21910         (gst_pad_push), (gst_pad_push_event):
21911         Unlock blocked pads when they are flushed.
21912
21913 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21914
21915         * docs/README:
21916         * docs/gst/gstreamer-sections.txt:
21917         * gst/gstbin.c:
21918           doc updates
21919         * gst/gstregistry.c: (gst_registry_scan_path_level):
21920           fix for a nasty little missed situation where an installed plug-in
21921           which was in the cache did not get overridden by an uninstalled one
21922           which was earlier in the plugin path because the newly created plugin
21923           for the uninstalled one (not in the registry) didn't get its
21924           ->registered set to TRUE
21925
21926 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21927
21928         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21929         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21930         (gst_collectpads_is_active), (gst_collectpads_collect),
21931         (gst_collectpads_collect_range), (gst_collectpads_start),
21932         (gst_collectpads_stop), (gst_collectpads_peek),
21933         (gst_collectpads_pop), (gst_collectpads_available),
21934         (gst_collectpads_read), (gst_collectpads_flush):
21935           Guard public API with assertions.
21936         
21937         * gst/gstpad.c:
21938           Fix docs for gst_pad_set_link_function().
21939
21940 2005-11-02  Johan Dahlin  <johan@gnome.org>
21941
21942         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21943         Unref found_caps after we used it.
21944
21945 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21946
21947         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21948           Don't try to ref NULL.
21949
21950 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21951
21952         * win32/common/config.h.in:
21953           provide a GST_FUNCTION that just gives a string for now
21954
21955 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21956
21957         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21958         (gst_object_flags_get_type), (register_gst_bin_flags),
21959         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21960         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21961         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21962         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21963         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21964         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21965         (gst_clock_flags_get_type), (register_gst_state),
21966         (gst_state_get_type), (register_gst_state_change_return),
21967         (gst_state_change_return_get_type), (register_gst_state_change),
21968         (gst_state_change_get_type), (register_gst_element_flags),
21969         (gst_element_flags_get_type), (register_gst_core_error),
21970         (gst_core_error_get_type), (register_gst_library_error),
21971         (gst_library_error_get_type), (register_gst_resource_error),
21972         (gst_resource_error_get_type), (register_gst_stream_error),
21973         (gst_stream_error_get_type), (register_gst_event_type),
21974         (gst_event_type_get_type), (register_gst_seek_type),
21975         (gst_seek_type_get_type), (register_gst_seek_flags),
21976         (gst_seek_flags_get_type), (register_gst_format),
21977         (gst_format_get_type), (register_gst_index_certainty),
21978         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21979         (gst_index_entry_type_get_type),
21980         (register_gst_index_lookup_method),
21981         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21982         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21983         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21984         (gst_index_flags_get_type), (register_gst_debug_level),
21985         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21986         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21987         (gst_iterator_result_get_type), (register_gst_iterator_item),
21988         (gst_iterator_item_get_type), (register_gst_message_type),
21989         (gst_message_type_get_type), (register_gst_mini_object_flags),
21990         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21991         (gst_pad_link_return_get_type), (register_gst_flow_return),
21992         (gst_flow_return_get_type), (register_gst_activate_mode),
21993         (gst_activate_mode_get_type), (register_gst_pad_direction),
21994         (gst_pad_direction_get_type), (register_gst_pad_flags),
21995         (gst_pad_flags_get_type), (register_gst_pad_presence),
21996         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21997         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21998         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21999         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22000         (gst_plugin_flags_get_type), (register_gst_rank),
22001         (gst_rank_get_type), (register_gst_query_type),
22002         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22003         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22004         (gst_tag_flag_get_type), (register_gst_task_state),
22005         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22006         (gst_alloc_trace_flags_get_type),
22007         (register_gst_type_find_probability),
22008         (gst_type_find_probability_get_type), (register_gst_uri_type),
22009         (gst_uri_type_get_type), (register_gst_parse_error),
22010         (gst_parse_error_get_type):
22011         * win32/common/gstversion.h:
22012           update win32 copies
22013
22014 2005-11-01  Luca Ognibene  <luogni@tin.it>
22015
22016         * gst/gst.c:
22017           fix docs. popt is dead, long live GOption.
22018
22019 2005-10-31  Wim Taymans  <wim@fluendo.com>
22020
22021         * gst/gstbuffer.h:
22022         Small doc fix.
22023
22024 2005-10-31  Andy Wingo  <wingo@pobox.com>
22025
22026         * Boo!
22027
22028         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22029
22030         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22031         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22032         the possibility of deadlocks here if code calling notify() or
22033         set() has a lock that can be taken in another notify handler (ABBA
22034         with class lock and e.g. python GIL state lock).
22035
22036 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22037
22038         * gst/gstbus.c: Doc updates.
22039
22040 2005-10-28  Wim Taymans  <wim@fluendo.com>
22041
22042         * docs/design/part-TODO.txt:
22043         * gst/gstiterator.c:
22044         * gst/gstsystemclock.c:
22045         * gst/gstsystemclock.h:
22046         Doc updates.
22047
22048 2005-10-28  Edward Hervey  <edward@fluendo.com>
22049
22050         * docs/gst/gstreamer-docs.sgml:
22051         * docs/gst/gstreamer-sections.txt:
22052         the GstURIType documentation page is private, it only defines GstURIType
22053         which should be defined in the GstURIHandler page
22054         
22055 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22056
22057         * gst/gstbin.c: (gst_bin_class_init):
22058         * gst/gstbin.h:
22059         * gst/gstutils.c:
22060         Documentation updates.
22061
22062 2005-10-28  Wim Taymans  <wim@fluendo.com>
22063
22064         * docs/gst/gstreamer-sections.txt:
22065         * gst/gstclock.c:
22066         * gst/gstclock.h:
22067         Documented the clocks.
22068
22069 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22070
22071         * docs/gst/gstreamer-sections.txt:
22072           move some macros to private sections
22073         * gst/gstminiobject.c:
22074         * gst/gstminiobject.h:
22075           add descriptions provided by ds and some more
22076         * gst/gstpad.h:
22077           mark macro as to be removed
22078
22079 2005-10-28  Wim Taymans  <wim@fluendo.com>
22080
22081         * docs/design/part-TODO.txt:
22082         Add an item to TODO.
22083
22084         * gst/gstiterator.c: (gst_iterator_fold),
22085         (gst_iterator_find_custom):
22086         * gst/gstiterator.h:
22087         Add iterator docs.
22088
22089 2005-10-28  Wim Taymans  <wim@fluendo.com>
22090
22091         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22092         (gst_base_transform_init):
22093         Don't leak class.
22094
22095         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22096         An EOS event marks the queue as completely filled.
22097
22098 2005-10-27  Wim Taymans  <wim@fluendo.com>
22099
22100         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22101         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22102         Some more debugging.
22103
22104         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22105         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22106         (gst_base_transform_event), (gst_base_transform_getrange),
22107         (gst_base_transform_chain):
22108         * gst/base/gstbasetransform.h:
22109         Fix debugging,
22110         Protect transform and concurrent buffer alloc with a new lock.
22111         Try not to break ABI/API.
22112
22113 2005-10-27  Wim Taymans  <wim@fluendo.com>
22114
22115         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22116         (gst_base_src_init), (gst_base_src_query),
22117         (gst_base_src_default_newsegment),
22118         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22119         (gst_base_src_send_event), (gst_base_src_event_handler),
22120         (gst_base_src_pad_get_range), (gst_base_src_loop),
22121         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22122         (gst_base_src_start), (gst_base_src_deactivate),
22123         (gst_base_src_activate_push), (gst_base_src_change_state):
22124         Move some stuff around and cleanup things.
22125
22126 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22127
22128         * gst/base/gstbasesrc.c: (gst_base_src_query):
22129           Add missing break statements.
22130
22131 2005-10-27  Wim Taymans  <wim@fluendo.com>
22132
22133         * check/gst/gstbin.c: (GST_START_TEST):
22134         An extra refcount is taken in basesrc.
22135
22136         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22137         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22138         (gst_base_src_loop):
22139         Small cleanups, check for flushing after being unlocked from the 
22140         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22141         Don't send out EOS when going to READY.
22142
22143 2005-10-27  Wim Taymans  <wim@fluendo.com>
22144
22145         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22146         (gst_base_sink_get_position):
22147         Some more debug.
22148
22149         * gst/gstbin.c: (message_check), (bin_replace_message),
22150         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22151         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22152         (bin_query_duration_init), (bin_query_duration_fold),
22153         (bin_query_duration_done), (bin_query_generic_fold),
22154         (gst_bin_query):
22155         * tools/gst-launch.c: (main):
22156         Remove old option.
22157
22158 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22159
22160         * examples/controller/audio-example.c: (main):
22161         * examples/queue/queue.c: (event_loop):
22162         * gst/base/gstbasetransform.h:
22163         * gst/gstelement.c: (gst_element_send_event):
22164         * gst/gstevent.h:
22165         * gst/gstpad.c: (gst_pad_send_event):
22166           fixing examples
22167           fixing docs typos
22168           changing log priority in error situations
22169
22170 2005-10-25  Wim Taymans  <wim@fluendo.com>
22171
22172         * gst/gstbin.c: (message_check), (bin_replace_message),
22173         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22174         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22175         (bin_query_duration_init), (bin_query_duration_fold),
22176         (bin_query_duration_done), (bin_query_generic_fold),
22177         (gst_bin_query):
22178         Some doc and debug updates.
22179         Cache previously requested query DURATION for speed. invalidate
22180         cached duration if element posts a DURATION message.
22181
22182 2005-10-25  Wim Taymans  <wim@fluendo.com>
22183
22184         * docs/design/part-TODO.txt:
22185         Update TODO.
22186
22187         * gst/gstbin.c: (message_check), (bin_replace_message),
22188         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22189         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22190         (bin_query_duration_init), (bin_query_duration_fold),
22191         (bin_query_duration_done), (bin_query_generic_fold),
22192         (gst_bin_query):
22193         Handle SEGMENT_START/DONE messages correctly.
22194         More evolved query algorithm that handles duration queries
22195         correctly.
22196
22197         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22198         (gst_element_get_state_func), (gst_element_abort_state),
22199         (gst_element_commit_state), (gst_element_lost_state):
22200         Some more debugging.
22201
22202         * gst/gstmessage.h:
22203         Added doc.
22204
22205 2005-10-25  Wim Taymans  <wim@fluendo.com>
22206
22207         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22208         Don't use invalid stream_time.
22209
22210         * gst/gstevent.c: (gst_event_new_newsegment):
22211         stream_time in newsegment cannot be undefined.
22212
22213 2005-10-24  Wim Taymans  <wim@fluendo.com>
22214
22215         * gst/gstbus.c:
22216         Doc fix.
22217
22218         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22219         (gst_queue_loop):
22220         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22221
22222 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22223
22224         * docs/libs/tmpl/gstdparam.sgml:
22225         * docs/libs/tmpl/gstdplinint.sgml:
22226         * docs/libs/tmpl/gstdpman.sgml:
22227         * docs/libs/tmpl/gstdpsmooth.sgml:
22228         * docs/libs/tmpl/gstunitconvert.sgml:
22229           these are obsolete
22230
22231 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22232
22233         * configure.ac:
22234           back to HEAD
22235
22236 === release 0.9.4 ===
22237
22238 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22239
22240         * configure.ac:
22241           releasing 0.9.4, "Tyrannosaurus Rex"
22242
22243 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22244
22245         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22246         (gst_file_sink_get_current_offset):
22247           Use fseeko() and ftello() if available. When falling back on
22248           lseek() to get the current offset, fflush() first to make sure
22249           everything is up-to-date and we get the right offset.
22250
22251 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22252
22253         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22254         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22255         * gst/gsterror.c: (_gst_stream_errors_init):
22256         * gst/gsterror.h:
22257         * gst/gstqueue.c: (gst_queue_loop):
22258         * po/POTFILES.in:
22259           remove prematurely added error category and clean up the instances
22260
22261 2005-10-21  Wim Taymans  <wim@fluendo.com>
22262
22263         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22264         (gst_base_sink_get_position), (gst_base_sink_query),
22265         (gst_base_sink_change_state):
22266         Simply set the right flag when going to playing, that's all
22267         we need to do instead of calling a function inside the object
22268         lock (that could take the lock as well and deadlock)
22269
22270 2005-10-21  Wim Taymans  <wim@fluendo.com>
22271
22272         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22273         (gst_base_src_loop):
22274         Don't warn, the peer element knows what to do best when
22275         the seek failed, it might try something else.
22276
22277 2005-10-21  Wim Taymans  <wim@fluendo.com>
22278
22279         * gst/base/gstbasesrc.c: (gst_base_src_init),
22280         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22281         Fix seeking.
22282
22283 2005-10-21  Wim Taymans  <wim@fluendo.com>
22284
22285         * docs/design/part-segments.txt:
22286         More docs.
22287
22288         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22289         Correctly set caps, even on the subbufer.
22290
22291 2005-10-21  Wim Taymans  <wim@fluendo.com>
22292
22293         * docs/gst/gstreamer-docs.sgml:
22294         * docs/gst/gstreamer-sections.txt:
22295         * gst/gstelement.h:
22296         * gst/gstevent.c:
22297         * gst/gstevent.h:
22298         * gst/gstmessage.h:
22299         * gst/gstpad.h:
22300         * gst/gstparse.h:
22301         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22302         * gst/gsttask.h:
22303         * gst/gstutils.c:
22304         * gst/gstutils.h:
22305         And 2% more doc coverage.
22306
22307 2005-10-21  Andy Wingo  <wingo@pobox.com>
22308
22309         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22310         position reporting.
22311
22312 2005-10-20  Wim Taymans  <wim@fluendo.com>
22313
22314         * gst/gsterror.c: (gst_error_get_message):
22315         * gst/gstparse.h:
22316         * gst/gstquery.h:
22317         * gst/gststructure.c:
22318         * gst/gsttrace.c:
22319         * gst/gstutils.c:
22320         More docs.
22321
22322 2005-10-20  Wim Taymans  <wim@fluendo.com>
22323
22324         * gst/gstbuffer.h:
22325         * gst/gstpad.c:
22326         * gst/gstparse.c:
22327         Another 1% more coverage.
22328
22329 2005-10-20  Wim Taymans  <wim@fluendo.com>
22330
22331         * docs/gst/gstreamer-sections.txt:
22332         * gst/gstelement.c: (gst_element_get_state_func),
22333         (gst_element_abort_state), (gst_element_commit_state),
22334         (gst_element_lost_state):
22335         * gst/gstevent.h:
22336         * gst/gstquery.c: (gst_query_set_position),
22337         (gst_query_parse_position), (gst_query_set_duration),
22338         (gst_query_parse_duration), (gst_query_new_convert):
22339         * gst/gstutils.c:
22340         Yay! 1% more docs coverage.
22341
22342 2005-10-20  Wim Taymans  <wim@fluendo.com>
22343
22344         * gst/gstpad.h:
22345         * gst/gstquery.c: (gst_query_set_position),
22346         (gst_query_parse_position), (gst_query_set_duration),
22347         (gst_query_parse_duration), (gst_query_new_convert):
22348         * gst/gstquery.h:
22349         * gst/gstutils.c: (gst_element_query_convert):
22350         * gst/gstutils.h:
22351         Docs and consistency fixes.
22352
22353 2005-10-20  Wim Taymans  <wim@fluendo.com>
22354
22355         * gst/gsttask.c:
22356         * gst/gsttask.h:
22357         More docs.
22358
22359 2005-10-20  Wim Taymans  <wim@fluendo.com>
22360
22361         * gst/gstbin.c: (message_check), (bin_replace_message),
22362         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22363         (update_degree), (gst_bin_sort_iterator_next),
22364         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22365         Reworked the message handling a bit, cache the messages instead of
22366         only the senders. alows us to do more in the future.
22367
22368 2005-10-20  Wim Taymans  <wim@fluendo.com>
22369
22370         * docs/design/part-TODO.txt:
22371         Update TODO
22372
22373         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22374         (gst_base_sink_query):
22375         Don't use clock time to report position when in EOS.
22376
22377 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22378
22379         * tools/gst-inspect.c: (print_interfaces),
22380         (print_element_properties_info), (print_element_info):
22381           Fix interface output with gst-inspect -a; don't print
22382           newlines after double/float properties.
22383
22384 2005-10-20  Wim Taymans  <wim@fluendo.com>
22385
22386         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22387         (gst_base_sink_query):
22388         Speed up current position calculation.
22389
22390         * gst/base/gstbasesrc.c: (gst_base_src_query),
22391         (gst_base_src_default_newsegment):
22392         Correctly set stream position in newsegment.
22393
22394         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22395         (update_degree), (gst_bin_sort_iterator_next),
22396         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22397         * gst/gstmessage.c: (gst_message_new_custom):
22398         Clean up debugging info
22399
22400         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22401         (gst_queue_loop), (gst_queue_handle_src_query):
22402         Pause task faster.
22403
22404 2005-10-19  Wim Taymans  <wim@fluendo.com>
22405
22406         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22407         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22408         Fix query handling again.
22409
22410 2005-10-19  Wim Taymans  <wim@fluendo.com>
22411
22412         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22413         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22414         * gst/base/gstbasesrc.c: (gst_base_src_query):
22415         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22416         * gst/elements/gsttypefindelement.c:
22417         (gst_type_find_handle_src_query), (find_element_get_length),
22418         (gst_type_find_element_activate):
22419         API change fix.
22420
22421         * gst/gstquery.c: (gst_query_new_position),
22422         (gst_query_set_position), (gst_query_parse_position),
22423         (gst_query_new_duration), (gst_query_set_duration),
22424         (gst_query_parse_duration), (gst_query_set_segment),
22425         (gst_query_parse_segment):
22426         * gst/gstquery.h:
22427         Bundling query position/duration is not a good idea since duration
22428         does not change much and we don't want to recalculate it for every
22429         position query, so they are separated again..
22430         Base value in segment query is not needed.
22431
22432         * gst/gstqueue.c: (gst_queue_handle_src_query):
22433         * gst/gstutils.c: (gst_element_query_position),
22434         (gst_element_query_duration), (gst_pad_query_position),
22435         (gst_pad_query_duration):
22436         * gst/gstutils.h:
22437         Updates for query API change.
22438         Added some docs here and there.
22439
22440 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22441
22442         * check/gst/gstbin.c: (GST_START_TEST):
22443         * check/gst/gstghostpad.c: (GST_START_TEST):
22444         * check/pipelines/cleanup.c: (GST_START_TEST):
22445           wait on thread to die so we can check refcount correctly
22446
22447 2005-10-18  Wim Taymans  <wim@fluendo.com>
22448
22449         * check/pipelines/stress.c: (GST_START_TEST):
22450         Make check a little more time consuming.
22451
22452 2005-10-18  Wim Taymans  <wim@fluendo.com>
22453
22454         * check/Makefile.am:
22455         * check/pipelines/stress.c: (GST_START_TEST),
22456         (simple_launch_lines_suite), (main):
22457         Small state change torture test.
22458
22459         * docs/design/part-states.txt:
22460         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22461         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22462         (gst_base_sink_change_state):
22463         Never take state lock from streaming thread, clean up ugly
22464         hacks. Unfortunatly core does not yet support nice ways to
22465         async commit state.
22466         
22467         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22468         (bin_bus_handler):
22469         Start state recalc if a STATE_DIRTY message is posted, but only
22470         on the toplevel bin.
22471
22472         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22473         (gst_element_get_state_func), (gst_element_abort_state),
22474         (gst_element_commit_state), (gst_element_lost_state),
22475         (gst_element_set_state_func), (gst_element_change_state):
22476         * gst/gstelement.h:
22477         State variables are now protected with the LOCK, the state
22478         lock is only used to serialize _set_state().
22479
22480 2005-10-18  Wim Taymans  <wim@fluendo.com>
22481
22482         * check/gst/gstbin.c: (GST_START_TEST):
22483         * check/gst/gstmessage.c: (GST_START_TEST):
22484         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22485         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22486         (bin_bus_handler):
22487         * gst/gstelement.c: (gst_element_abort_state),
22488         (gst_element_commit_state), (gst_element_lost_state):
22489         * gst/gstmessage.c: (gst_message_new_state_changed),
22490         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22491         (gst_message_new_segment_done), (gst_message_new_duration),
22492         (gst_message_parse_state_changed),
22493         (gst_message_parse_segment_start),
22494         (gst_message_parse_segment_done), (gst_message_parse_duration):
22495         * gst/gstmessage.h:
22496         * tools/gst-launch.c: (event_loop):
22497         Seriously, this is better than a previous commit as we only need
22498         to notify the fact that an element changed state in a streaming
22499         thread, marking the state of the parents dirty, hence the 
22500         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22501         message.
22502
22503 2005-10-18  Wim Taymans  <wim@fluendo.com>
22504
22505         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22506         (gst_bin_recalc_func):
22507         * gst/gstelement.c: (gst_element_set_clock),
22508         (gst_element_abort_state), (gst_element_lost_state):
22509         Cleanups, prepare for state change fixes.
22510
22511 2005-10-18  Wim Taymans  <wim@fluendo.com>
22512
22513         * gst/gstbin.h:
22514         * gst/gstelement.c: (gst_element_class_init),
22515         (gst_element_set_state), (gst_element_set_state_func):
22516         * gst/gstelement.h:
22517         Pending ABI changes.
22518         GThreadPool in GstBinClass to monitor async state changes.
22519         state_cookie in GstElement to detect concurrent gst/set state.
22520         set_state is now virtual too in case a very complicated element
22521         has to be constructed.
22522
22523 2005-10-18  Wim Taymans  <wim@fluendo.com>
22524
22525         * check/gst/gstbin.c: (GST_START_TEST):
22526         * check/gst/gstmessage.c: (GST_START_TEST):
22527         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22528         * gst/gstbin.c: (bin_bus_handler):
22529         * gst/gstelement.c: (gst_element_commit_state),
22530         (gst_element_lost_state):
22531         * gst/gstmessage.c: (gst_message_new_state_changed),
22532         (gst_message_new_segment_start), (gst_message_new_segment_done),
22533         (gst_message_new_duration), (gst_message_parse_state_changed),
22534         (gst_message_parse_segment_start),
22535         (gst_message_parse_segment_done), (gst_message_parse_duration):
22536         * gst/gstmessage.h:
22537         * tools/gst-launch.c: (event_loop):
22538         Make messages future proof.
22539         state-change gets a flag if it was a message comming from the
22540         streaming thread.
22541         segment-start/stop can also be specified in other formats.
22542         A message to notify an app that a pipeline changed playback 
22543         duration.
22544         Also fix a GstMessage leak in -launch
22545
22546 2005-10-18  Andy Wingo  <wingo@pobox.com>
22547
22548         * gst/gstelement.c (gst_element_dispose): More helpful message.
22549
22550 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22551
22552         reviewed by: <delete if not using a buddy>
22553
22554         * common/gtk-doc.mak:
22555
22556 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22557
22558         * gst/gstregistry.c: (gst_registry_scan_path_level):
22559           unref a plug-in we get that was already initialized
22560
22561 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22562
22563         * docs/gst/gstreamer-sections.txt:
22564         * docs/libs/gstreamer-libs-sections.txt:
22565         * gst/gstelement.h:
22566           add new api entries
22567           hide internal macro
22568
22569 2005-10-17  Andy Wingo  <wingo@pobox.com>
22570
22571         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22572         cleanup.
22573
22574         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22575
22576         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22577
22578         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22579         (gst_element_get_state_func): Better debug message.
22580         (gst_element_commit_state): s/INFO/DEBUG/.
22581         (gst_element_lost_state, gst_element_change_state): 
22582
22583         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22584         (gst_message_new_custom): s/INFO/LOG/.
22585
22586 2005-10-17  Michael Smith <msmith@fluendo.com>
22587
22588         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22589           Check if end time is valid using end time, not start time.
22590
22591 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22592
22593         * check/gst-libs/controller.c: (GST_START_TEST),
22594         (gst_controller_suite):
22595         * libs/gst/controller/gstcontroller.c:
22596         (gst_controlled_property_set_interpolation_mode):
22597         * libs/gst/controller/gstcontroller.h:
22598         * libs/gst/controller/gstinterpolation.c:
22599         * testsuite/controller/.cvsignore:
22600         * testsuite/controller/Makefile.am:
22601         * testsuite/controller/interpolator.c:
22602           merge controller testsuites
22603           fix broken tests
22604           remove mem-chunk from docs
22605
22606 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22607
22608         * gst/gstmemchunk.c:
22609         * gst/gstmemchunk.h:
22610         * gst/gsttrashstack.c:
22611         * gst/gsttrashstack.h:
22612           out.  get out.  you're fired.  to the Attic !
22613
22614 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22615
22616         * gst/gstcaps.c: (gst_caps_intersect):
22617           fix signedness issues in a (hopefully) correct way
22618         * gst/gstelement.c: (gst_element_pads_activate):
22619           some debugging
22620         * gst/gstobject.c: (gst_object_set_parent):
22621           some debugging
22622
22623 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22624
22625         * gst/gstvalue.h: Fix prototypes.
22626
22627 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22628
22629         * docs/gst/gstreamer-sections.txt:
22630         * gst/gst.c: (gst_version_string):
22631         * gst/gst.h:
22632         * gst/gstversion.h.in:
22633         * win32/common/libgstreamer.def:
22634           add gst_version_string ()
22635
22636 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22637
22638         * configure.ac:
22639           clean up further
22640         * gst/gst.c: (init_post):
22641         * win32/common/config.h.in:
22642           it's PLUGINDIR now
22643         * gst/gstcaps.c: (gst_caps_intersect):
22644           use gint64, the range could be bigger than a guint
22645
22646 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22647
22648         * gst/gstclock.h:
22649           document potential problem in 2038
22650
22651 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22652
22653         * gst/gstcaps.c: (gst_caps_intersect):
22654           Fix guint j diving under 0
22655
22656 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22657
22658         * configure.ac:
22659         * win32/common/config.h:
22660         * win32/common/config.h.in:
22661           check for process.h, declares getpid() on Windows
22662         * gst/gstinfo.c:
22663           include process.h if we have it
22664         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22665         * gst/gstmemchunk.h:
22666           fix signedness issues
22667         * win32/common/libgstreamer.def:
22668           fix get_type's
22669
22670 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22671
22672         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22673         fix. Because of unsigned ints, caps intersection was going nuts and
22674         trying to access structures with G_MAXUINT index. That fixes
22675         videotestsrc ! ffmpegcolorspace ! fakesink
22676         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22677         consistency.
22678
22679 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22680
22681         * configure.ac:
22682           use the gettext macro
22683         * gst/elements/gstelements.c:
22684         * gst/gst.c:
22685         * gst/indexers/gstindexers.c:
22686           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22687         * win32/common/config.h:
22688           updated config.h
22689         * win32/common/config.h.in:
22690           add the template to generate config.h
22691         * win32/common/gstenumtypes.c:
22692         * win32/common/gstversion.h:
22693           updated copies
22694
22695 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22696
22697         * gst/gst.c: (gst_version):
22698         * gst/gstversion.h.in:
22699           add the nano
22700
22701 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22702
22703         * gst/gstevent.h:
22704           Oops, add missing closing bracket.
22705
22706 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22707
22708         * configure.ac:
22709           use common m4's for argument checking
22710
22711 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22712
22713         * docs/gst/gstreamer-sections.txt:
22714         * gst/gstevent.h:
22715           Add GST_EVENT_TYPE_NAME() macro.
22716
22717 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22718
22719         * gst/gstinfo.c:
22720         * gst/gstpluginfeature.c:
22721         * gst/gsttask.c:
22722           privatize more symbols
22723
22724 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22725
22726         * configure.ac:
22727           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22728           everything that uses GStreamer API should have the includes
22729
22730 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22731
22732         * docs/gst/gstreamer-sections.txt:
22733         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22734         * gst/gstvalue.h:
22735           give each value a _get_type, removes the DATA exports
22736
22737 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22738
22739         * gst/gst.c:
22740         * gst/gst.h:
22741           remove _gst_registry_auto_load, not used anymore
22742         * gst/gstbin.c: (gst_bin_get_type):
22743         * gst/gstbin.h:
22744         * gst/gstelement.c: (gst_element_get_type):
22745         * gst/gstelement.h:
22746         * gst/gstobject.c: (gst_object_get_type):
22747         * gst/gstobject.h:
22748         * gst/gstpad.c: (gst_pad_get_type):
22749         * gst/gstpad.h:
22750           make _get_type functions similar, fixes data export from library
22751
22752 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22753
22754         * configure.ac:
22755           correctly make conditionals
22756         * gst/elements/Makefile.am:
22757         * gst/elements/gstelements.c:
22758           fix typo causing fdsrc not to build
22759
22760 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22761
22762         * testsuite/Makefile.am:
22763         * testsuite/bytestream/.cvsignore:
22764         * testsuite/bytestream/Makefile.am:
22765         * testsuite/bytestream/filepadsink.c:
22766         * testsuite/bytestream/gstbstest.c:
22767         * testsuite/bytestream/test1.c:
22768         * testsuite/bytestream/testfile1:
22769         * testsuite/caps/normalisation.c:
22770         * testsuite/caps/random.c: (main):
22771         * testsuite/cleanup/.cvsignore:
22772         * testsuite/cleanup/Makefile.am:
22773         * testsuite/cleanup/cleanup1.c:
22774         * testsuite/cleanup/cleanup2.c:
22775         * testsuite/cleanup/cleanup3.c:
22776         * testsuite/cleanup/cleanup4.c:
22777         * testsuite/cleanup/cleanup5.c:
22778         * testsuite/controller/interpolator.c:
22779         * testsuite/debug/printf_extension.c: (main):
22780         * testsuite/elements/tee.c:
22781         * testsuite/negotiation/.cvsignore:
22782         * testsuite/negotiation/Makefile.am:
22783         * testsuite/negotiation/pad_link.c:
22784         * testsuite/pad/Makefile.am:
22785         * testsuite/pad/chainnopull.c:
22786         * testsuite/pad/getnopush.c:
22787         * testsuite/pad/link.c:
22788         * testsuite/refcounting/sched.c: (create_pipeline):
22789         * testsuite/registry/Makefile.am:
22790         * testsuite/registry/gst-print-formats.c:
22791         * testsuite/schedulers/.cvsignore:
22792         * testsuite/schedulers/142183-2.c:
22793         * testsuite/schedulers/142183.c:
22794         * testsuite/schedulers/143777-2.c:
22795         * testsuite/schedulers/143777.c:
22796         * testsuite/schedulers/147713.c:
22797         * testsuite/schedulers/147819.c:
22798         * testsuite/schedulers/147894-2.c:
22799         * testsuite/schedulers/147894.c:
22800         * testsuite/schedulers/Makefile.am:
22801         * testsuite/schedulers/group_link.c:
22802         * testsuite/schedulers/queue_link.c:
22803         * testsuite/schedulers/relink.c:
22804         * testsuite/schedulers/unlink.c:
22805         * testsuite/schedulers/unref.c:
22806         * testsuite/schedulers/useless_iteration.c:
22807         * testsuite/states/bin.c:
22808           clean out/remove some stuff from the testsuite directories
22809
22810 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22811
22812         * configure.ac:
22813           check for some headers
22814         * gst/elements/Makefile.am:
22815         * gst/elements/gstelements.c:
22816           don't compile fdsrc without sys/socket.h
22817         * gst/indexers/Makefile.am:
22818         * gst/indexers/gstindexers.c: (plugin_init):
22819           don't compile fileindex without mmap
22820
22821 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22822
22823         * configure.ac:
22824           reorganize
22825           clean up
22826           document more
22827           remove cruft
22828         * check/Makefile.am:
22829         * docs/gst/Makefile.am:
22830         * examples/helloworld/Makefile.am:
22831         * gst/Makefile.am:
22832         * gst/base/Makefile.am:
22833         * gst/check/Makefile.am:
22834         * gst/elements/Makefile.am:
22835         * gst/indexers/Makefile.am:
22836         * gst/parse/Makefile.am:
22837         * libs/gst/controller/Makefile.am:
22838         * libs/gst/dataprotocol/Makefile.am:
22839         * examples/helloworld/helloworld.c: (event_loop):
22840           compile fixes, though it's not being compiled currently
22841
22842 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22843
22844         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22845           Add some simple tests for the new taglist date API.
22846
22847 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22848
22849         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22850         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22851           Beautify 'last-message' output: print 'none' for buffer timestamps
22852           and durations if none is set; improve alignment with next messages.
22853
22854 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22855
22856         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22857         * gst/gstpluginfeature.h:
22858         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22859         * gst/gstregistry.h:
22860         * docs/gst/gstreamer-sections.txt:
22861           Add new API to check plugin feature version requirements.
22862
22863         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22864           Some basic tests for the above.         
22865
22866 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22867
22868         * gst/gststructure.c: (gst_structure_to_string):
22869           guard against NULL printf - happens when for example
22870           a message structure with GstClock gets serialized
22871
22872 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22873
22874         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22875           Fix presumable copy'n'pasto.
22876
22877 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22878
22879         * gst/elements/gstfakesrc.h:
22880         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22881         * gst/elements/gsttypefindelement.c:
22882           fix some signedness
22883         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22884           I wonder if this could actually write +2GB files before
22885
22886 2005-10-13  Andy Wingo  <wingo@pobox.com>
22887
22888         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22889         Fix Timmeke Waymans bug.
22890         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22891         string of the proper length to gst_caps_from_string. There's a
22892         potential for, before this fix, that this could cause someone
22893         connecting over the network to cause a segfault if the payload is
22894         not NUL-terminated.
22895
22896 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22897
22898         * docs/design/draft-push-pull.txt:
22899         * docs/design/part-overview.txt:
22900         * docs/random/TODO-pre-0.9:
22901         * docs/random/old/ChangeLog.gstreamer:
22902         * gst/base/gstpushsrc.c:
22903         * gst/gstclock.c:
22904           fixed typos
22905
22906 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22907
22908         * gst/glib-compat.c: (gst_flags_get_first_value):
22909         * gst/glib-compat.h:
22910         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22911         (gst_value_compare_double), (gst_value_serialize_flags):
22912           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22913           infinite loop
22914
22915 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22916
22917         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22918         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22919           fix up debugging
22920         * tools/gst-launch.c: (event_loop):
22921           print out clock nicely
22922
22923 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22924
22925         * docs/gst/gstreamer-sections.txt:
22926         * gst/gsttaglist.h:
22927         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22928         (gst_tag_list_get_date_index):
22929           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22930           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22931
22932 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22933
22934         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22935         (gst_collectpads_chain):
22936         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22937         in CollectData.
22938
22939 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22940
22941         * docs/gst/gstreamer-sections.txt:
22942         * gst/gst.c:
22943         * gst/gsterror.h:
22944         * tools/gst-inspect.c: (main):
22945         * tools/gst-launch.c: (main):
22946         * tools/gst-run.c: (main):
22947         * tools/gst-xmlinspect.c: (main):
22948           fix GOption context leaks
22949           doc fixes
22950
22951 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22952
22953         * gst/gstbus.c:
22954           use HAVE_UNISTD_H
22955         * win32/common/config.h:
22956           update config
22957         * win32/vs6/grammar.dsp:
22958         * win32/vs6/libgstelements.dsp:
22959         * win32/vs6/libgstreamer.dsp:
22960           update vs6 files
22961
22962 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22963
22964         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22965         * gst/base/gstbasesrc.c: (gst_base_src_query):
22966           fix more guint64<->gdouble conversions
22967
22968 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22969
22970         * Makefile.am:
22971           add win32-update target
22972         * win32/common/gstconfig.h:
22973         * win32/common/gstenumtypes.c:
22974         * win32/common/gstenumtypes.h:
22975         * win32/common/gstversion.h:
22976           add files that visual studio can't generate
22977
22978 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22979
22980         * Makefile.am:
22981           add a win32-update target
22982         * configure.ac:
22983
22984 2005-10-12  Wim Taymans  <wim@fluendo.com>
22985
22986         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22987         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22988         * gst/gstelement.c: (gst_element_commit_state),
22989         (gst_element_set_state):
22990         Protect flags with proper lock.
22991         unref provided cached clock in dispose.
22992
22993 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22994
22995         * gst/gst.c:
22996         * gst/gstminiobject.h:
22997         * gst/gstpad.h:
22998         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22999           removed unused flags from miniobject
23000           doc fixes
23001
23002 2005-10-12  Wim Taymans  <wim@fluendo.com>
23003
23004         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23005         (gst_file_sink_event), (gst_file_sink_render):
23006         Flush before seeking.
23007
23008 2005-10-12  Andy Wingo  <wingo@pobox.com>
23009
23010         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23011         always been the case.
23012
23013 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23014
23015         * check/gst/gstbin.c: (GST_START_TEST):
23016         * docs/gst/gstreamer-sections.txt:
23017         * gst/base/gstbasesink.c: (gst_base_sink_init):
23018         * gst/base/gstbasesrc.c: (gst_base_src_init),
23019         (gst_base_src_get_range), (gst_base_src_check_get_range),
23020         (gst_base_src_start), (gst_base_src_stop):
23021         * gst/base/gstbasesrc.h:
23022         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23023         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23024         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23025         (bin_bus_handler):
23026         * gst/gstbin.h:
23027         * gst/gstbuffer.h:
23028         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23029         * gst/gstbus.h:
23030         * gst/gstelement.c: (gst_element_is_locked_state),
23031         (gst_element_set_locked_state), (gst_element_commit_state),
23032         (gst_element_set_state):
23033         * gst/gstelement.h:
23034         * gst/gstindex.c: (gst_index_init):
23035         * gst/gstindex.h:
23036         * gst/gstminiobject.h:
23037         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23038         (gst_object_set_parent):
23039         * gst/gstobject.h:
23040         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23041         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23042         * gst/gstpad.h:
23043         * gst/gstpadtemplate.h:
23044         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23045         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23046         * gst/gstpipeline.h:
23047         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23048         (gst_file_index_commit):
23049         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23050         * testsuite/pad/link.c: (gst_test_src_init),
23051         (gst_test_filter_init), (gst_test_sink_init):
23052         * testsuite/states/locked.c: (main):
23053           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23054           moved bitshift from macro to enum definition
23055
23056 2005-10-12  Wim Taymans  <wim@fluendo.com>
23057
23058         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23059         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23060         (gst_file_sink_render):
23061         Some more debugging info.
23062
23063 2005-10-12  Wim Taymans  <wim@fluendo.com>
23064
23065         * docs/design/part-states.txt:
23066         * tools/gst-launch.c: (main):
23067         Some doc updates.
23068         Revert non-intentional change.
23069
23070 2005-10-12  Wim Taymans  <wim@fluendo.com>
23071
23072         * check/gst/gstbin.c: (GST_START_TEST):
23073         * check/gst/gstelement.c: (GST_START_TEST):
23074         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23075         * check/gst/gstghostpad.c: (GST_START_TEST):
23076         * check/gst/gstpipeline.c: (GST_START_TEST):
23077         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23078         * check/states/sinks.c: (GST_START_TEST):
23079         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23080         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23081         (gst_bin_remove_func), (gst_bin_get_state_func),
23082         (gst_bin_recalc_state), (gst_bin_change_state_func),
23083         (bin_bus_handler):
23084         * gst/gstelement.c: (gst_element_get_state_func),
23085         (gst_element_get_state), (gst_element_abort_state),
23086         (gst_element_commit_state), (gst_element_set_state),
23087         (gst_element_change_state), (gst_element_change_state_func):
23088         * gst/gstelement.h:
23089         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23090         (gst_pipeline_provide_clock_func):
23091         * gst/gstutils.c: (gst_element_link_pads_filtered):
23092         * tools/gst-launch.c: (main):
23093         * tools/gst-typefind.c: (main):
23094         Use GstClockTime in _get_state() instead of GTimeVal.
23095         Remove old code in gstutils.c
23096
23097 2005-10-12  Andy Wingo  <wingo@pobox.com>
23098
23099         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23100         removed.
23101
23102         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23103         there is no task. Shouldn't affect any code, as nothing in our
23104         plugins checks this return value.
23105         (gst_pad_stop_task): Also take the stream lock if the pad has no
23106         task. Docs updated.
23107
23108 2005-10-12  Wim Taymans  <wim@fluendo.com>
23109
23110         * gst/gstpad.c: (pre_activate), (post_activate),
23111         (gst_pad_activate_pull), (gst_pad_activate_push):
23112         Cleanup activation code. Reset old state if
23113         activation failed.
23114
23115 2005-10-12  Wim Taymans  <wim@fluendo.com>
23116
23117         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23118         (gst_base_sink_change_state):
23119         No need to prerol after receiving EOS.
23120
23121         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23122         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23123         * gst/elements/gstidentity.c: (gst_identity_event):
23124         Print events more verbosely.
23125
23126 2005-10-12  Wim Taymans  <wim@fluendo.com>
23127
23128         * check/Makefile.am:
23129         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23130         * check/states/sinks2.c:
23131         Moved sinks2 testcode in sinks check.
23132
23133         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23134         (gst_bin_remove_func), (gst_bin_recalc_state),
23135         (gst_bin_change_state_func), (bin_bus_handler):
23136         Fix potential race condition when _get_state() iterated over an
23137         ASYNC element right before it posted a state completion.
23138
23139         * gst/gstclock.h:
23140         Do proper cast here.
23141
23142         * gst/gstevent.c: (gst_event_new_newsegment),
23143         (gst_event_parse_newsegment):
23144         A playback rate of 0.0 is not allowed.
23145
23146 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23147
23148         * win32/common/config.h:
23149         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23150         (_trewinddir), (_ttelldir), (_tseekdir):
23151         * win32/common/dirent.h:
23152         * win32/common/gtchar.h:
23153         * win32/common/libgstbase.def:
23154         * win32/common/libgstreamer.def:
23155         * win32/vs6/grammar.dsp:
23156         * win32/vs6/gst_inspect.dsp:
23157         * win32/vs6/gst_launch.dsp:
23158         * win32/vs6/gstreamer.dsw:
23159         * win32/vs6/libgstbase.dsp:
23160         * win32/vs6/libgstelements.dsp:
23161         * win32/vs6/libgstreamer.dsp:
23162           Visual Studio 6 project files, and a new common directory.
23163           Phear.
23164
23165 2005-10-11  Wim Taymans  <wim@fluendo.com>
23166
23167         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23168         (gst_base_sink_do_sync), (gst_base_sink_query),
23169         (gst_base_sink_change_state):
23170         * gst/base/gstbasesink.h:
23171         Correctly parse newsegment info.
23172
23173 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23174
23175         * gst/gst.c: (init_post):
23176           split plugin paths correctly
23177
23178 2005-10-11  Wim Taymans  <wim@fluendo.com>
23179
23180         * check/gst/gstevent.c: (GST_START_TEST):
23181         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23182         (gst_base_sink_change_state):
23183         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23184         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23185         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23186         * gst/gstevent.c: (gst_event_new_newsegment),
23187         (gst_event_parse_newsegment):
23188         * gst/gstevent.h:
23189         Added extra flag to newsegment for future API freeze.
23190         Updated check and base elements.
23191
23192 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23193
23194         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23195         (gst_collectpads_add_pad), (gst_collectpads_pop),
23196         (gst_collectpads_event), (gst_collectpads_chain):
23197         * gst/base/gstcollectpads.h: Handle EOS correctly.
23198
23199 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23200
23201         * tools/gst-launch.c: (main):
23202           more null protecting
23203
23204 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23205
23206         * gst/gst-i18n-lib.h:
23207           check for ENABLE_NLS, not GETTEXT_PACKAGE
23208         * gst/gstregistry.c: (gst_registry_add_plugin),
23209         (gst_registry_scan_path_level),
23210         (_gst_registry_remove_cache_plugins):
23211           protect possibly NULL strings
23212         * gst/parse/types.h:
23213           config.h already included before
23214         * tools/gst-inspect.c: (main):
23215           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23216           check for ENABLE_NLS, not GETTEXT_PACKAGE
23217         * tools/gst-launch.c: (main):
23218           check for ENABLE_NLS, not GETTEXT_PACKAGE
23219
23220 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23221
23222         * configure.ac:
23223           if we don't have glib, fail before testing 2.8
23224         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23225           fix a leak, should fix plugins-base testsuite
23226
23227 2005-10-11  Andy Wingo  <wingo@pobox.com>
23228
23229         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23230         take the mode we're going to as an arg. Go head and set the mode
23231         and flushing flags now, so that if the activate function starts a
23232         thread all the flags will be in the right state.
23233         (post_activate): Renamed also. Just handle making sure streaming
23234         finishes for the deactivation case, and setting the deactivated
23235         mode.
23236         (gst_pad_set_active): Complain loudly if deactivation fails.
23237         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23238         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23239         remove the terrible hack.
23240
23241 2005-10-11  Wim Taymans  <wim@fluendo.com>
23242
23243         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23244         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23245         (gst_bin_recalc_state), (gst_bin_change_state_func),
23246         (gst_bin_dispose), (bin_bus_handler):
23247         * gst/gstbin.h:
23248         Prepare to make current EOS message queue more generic.
23249         Fix some typos.
23250
23251         * gst/gstevent.c: (gst_event_new_newsegment),
23252         (gst_event_parse_newsegment):
23253         * gst/gstevent.h:
23254         Rename base to stream_time.
23255
23256         * gst/gstmessage.h:
23257         Fix typo in docs.
23258
23259 2005-10-11  Wim Taymans  <wim@fluendo.com>
23260
23261         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23262         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23263         (gst_bin_change_state_func), (bin_bus_handler):
23264         * gst/gstbin.h:
23265         Work on proper clock selection.
23266
23267 2005-10-11  Edward Hervey  <edward@fluendo.com>
23268
23269         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23270         * libs/gst/controller/gstcontroller.h:
23271         Added GList* version of _remove_properties() in order to be able to wrap
23272         it in bindings.
23273
23274 2005-10-11  Wim Taymans  <wim@fluendo.com>
23275
23276         * docs/design/part-states.txt:
23277         Some more docs.
23278
23279         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23280         (gst_bin_change_state_func), (bin_bus_handler):
23281         Doc updates. Don't distribute the same clock over and over again.
23282
23283         * gst/gstclock.c:
23284         * gst/gstclock.h:
23285         Doc updates.
23286
23287         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23288         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23289         (gst_pad_send_event):
23290         * gst/gstpad.h:
23291         Make probe emission threadsafe again.
23292         Register quarks and move _get_name() from utils.
23293         Doc updates.
23294
23295         * gst/gstpipeline.c: (gst_pipeline_class_init),
23296         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23297         Only redistribute the clock of it changed.
23298
23299         * gst/gstsystemclock.h:
23300         Doc updates. 
23301
23302         * gst/gstutils.c:
23303         * gst/gstutils.h:
23304         Moved the _flow_get_name() to GstPad.
23305
23306 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23307
23308         * check/gst-libs/gdp.c: (GST_START_TEST):
23309         * check/gst/gstcaps.c: (GST_START_TEST):
23310         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23311         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23312         (gst_dp_packet_from_caps):
23313           fix more valgrind warnings before turning up the heat
23314
23315 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23316
23317         * gst/parse/grammar.y:
23318           some cleanup before the hacking
23319
23320 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23321
23322         * gst/base/gstbasesrc.c: (gst_base_src_query):
23323           use conversions
23324         * gst/gstutils.c: (gst_guint64_to_gdouble),
23325         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23326         * gst/gstutils.h:
23327           externalize, basesrc uses it
23328           obviously the implementation needs testing
23329
23330 2005-10-10  Wim Taymans  <wim@fluendo.com>
23331
23332         * tests/sched/Makefile.am:
23333         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23334         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23335
23336 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23337
23338         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23339           apparently converting from guint64 to double is not implemented
23340           on MSVC
23341
23342 2005-10-10  Wim Taymans  <wim@fluendo.com>
23343
23344         * check/Makefile.am:
23345         * check/generic/states.c: (GST_START_TEST):
23346         * check/gst/gstbin.c: (GST_START_TEST):
23347         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23348         * check/states/sinks.c: (GST_START_TEST):
23349         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23350         (main):
23351         Check fixes, use API as stated in design docs, remove hacks.
23352
23353         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23354         (gst_base_sink_change_state):
23355         Catch stopping our task while we're shutting down.
23356
23357         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23358         (gst_bin_remove_func), (gst_bin_get_state_func),
23359         (gst_bin_recalc_state), (gst_bin_change_state_func),
23360         (bin_bus_handler):
23361         * gst/gstbin.h:
23362         * gst/gstelement.c: (gst_element_init),
23363         (gst_element_get_state_func), (gst_element_abort_state),
23364         (gst_element_commit_state), (gst_element_lost_state),
23365         (gst_element_set_state), (gst_element_change_state),
23366         (gst_element_change_state_func):
23367         * gst/gstelement.h:
23368         New state change algorithm (see #318116)
23369
23370         * gst/gstpipeline.c: (gst_pipeline_class_init),
23371         (gst_pipeline_init), (gst_pipeline_set_property),
23372         (gst_pipeline_get_property), (do_pipeline_seek),
23373         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23374         * gst/gstpipeline.h:
23375         Remove crude state change hacks.
23376
23377         * gst/gstutils.h:
23378         Remove crude hacks.
23379
23380         * tools/gst-launch.c: (main):
23381         Fixes for state change. Needs some more work to fully use the
23382         new stuff.
23383
23384 2005-10-10  Andy Wingo  <wingo@pobox.com>
23385
23386         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23387
23388         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23389         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23390         issue.
23391
23392 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23393
23394         * gst/gstiterator.c: (gst_iterator_new):
23395           Fix my previous commit: GTypes passed to gst_iterator_new()
23396           can be fundamental types.
23397
23398 2005-10-10  Wim Taymans  <wim@fluendo.com>
23399
23400         * gst/gstelement.c: (gst_element_iterate_pad_list),
23401         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23402         (gst_element_iterate_sink_pads):
23403         Use src/sink pads lists for the respective iterators instead
23404         of filtering.
23405
23406 2005-10-10  Andy Wingo  <wingo@pobox.com>
23407
23408         Merged in popt removal + GOption addition patch from Ronald, bug
23409         #169772.
23410
23411         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23412         GstElement macros around, remove popt-related symbols, add goption
23413         stuff.
23414
23415         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23416         
23417         * docs/gst/Makefile.am:
23418         * docs/libs/Makefile.am: No POPT_CFLAGS.
23419         
23420         * examples/manual/Makefile.am:
23421         * docs/manual/basics-init.xml: Doc updates with an example.
23422         
23423         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23424         (gst_init), (parse_one_option), (parse_goption_arg):
23425         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23426         bit of hand merging and debugging to get the GOption stuff working
23427         tho.
23428         
23429         * tests/Makefile.am:
23430         * tools/Makefile.am:
23431         * tools/gst-inspect.c: (main):
23432         * tools/gst-launch.c: (main):
23433         * tools/gst-run.c: (main):
23434         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23435
23436 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23437
23438         * gst/gstiterator.c: (gst_iterator_new):
23439           Add assertions to make sure passed GType is likely to really
23440           be a GType (as the compiler won't catch it if the size and
23441           GType arguments get mixed up, see #318447).
23442
23443 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23444
23445         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23446
23447         * gst/gstbin.c: (gst_bin_iterate_sorted):
23448           Pass GType and size arguments to gst_iterator_new() in the right
23449           order (maybe we should make _new() take the GType as first argument
23450           just like _new_list()?) (#318447).
23451           
23452
23453 2005-10-10  Wim Taymans  <wim@fluendo.com>
23454
23455         * gst/gstelement.c: (gst_element_finalize):
23456         And free the GStaticRecMutex too
23457
23458 2005-10-10  Andy Wingo  <wingo@pobox.com>
23459
23460         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23461         Allocate and free the mutex properly.
23462
23463         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23464         New macros.
23465         (GstElement): The state_lock is now recursive. Rebuild your
23466         plugins, suckers. Old macros adapted.
23467
23468         * docs/gst/gstreamer-sections.txt: Doc updates.
23469
23470         * gst/gstutils.h:
23471         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23472         (g_static_rec_cond_wait): Ported from state changes patch, while
23473         we wait on bug #317802 to be solved in a well-distributed GLib.
23474
23475         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23476         gst_element_change_state, variable name changes.
23477         (gst_element_change_state): Split out of gst_element_set_state in
23478         preparation for the state change merge. Doesn't pay attention to
23479         the 'transition' argument.
23480         (gst_element_set_state): Updates, hopefully purely cosmetic.
23481         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23482         state change patch.
23483         (gst_element_get_state_func): Renamed from get_state, cosmetic
23484         changes.
23485
23486 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23487
23488         * gst/elements/gstelements.c:
23489         * win32/GStreamer.vcproj:
23490         * win32/config.h:
23491         * win32/dirent.c: (_tseekdir):
23492         * win32/gst-inspect.vcproj:
23493         * win32/gst-launch.vcproj:
23494         * win32/gstconfig.h:
23495         * win32/gstelements.vcproj:
23496         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23497         * win32/gstreamer.def:
23498         * win32/msvc71.sln:
23499           updates for the win32 build (patch from Sebastien Moutte)
23500
23501 2005-10-10  Andy Wingo  <wingo@pobox.com>
23502
23503         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23504         gst_bin_get_state, cleaned up (but no logic changes).
23505         (bin_element_is_sink): Comment updates.
23506         (sink_iterator_filter): Remove needless cast.
23507         (gst_bin_iterate_sinks): Doc update.
23508         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23509         cleaned up (but no logic changes).
23510
23511         * check/states/sinks.c (test_src_sink): Cleanups from the state
23512         change patch.
23513         (test_livesrc_sink): Sync on the state.
23514
23515         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23516         the state change patch.
23517
23518         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23519         change patch.
23520
23521         * check/gst/gstbin.c: Merge in some style fixes and additional
23522         checks from Wim's state change patch.
23523
23524 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23525
23526         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23527         (gst_type_find_helper):
23528           Check whether we have the requested data already in our list of
23529           cached buffers before pulling a new buffer; also make the buffer
23530           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23531
23532 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23533
23534         * gst/gstcaps.c:
23535         * gst/gstevent.c:
23536           doc updates
23537         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23538           don't use long long, it's not portable.  Replacing with
23539           gint64 seems to work; let's hope no skeletons fall out of the closet.
23540
23541 2005-10-10  Andy Wingo  <wingo@pobox.com>
23542
23543         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23544
23545 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23546
23547         * docs/gst/gstreamer-sections.txt:
23548         * gst/gstevent.c:
23549         * gst/gstevent.h:
23550         * gst/gstinfo.c:
23551         * gst/gstinfo.h:
23552         * gst/gstmessage.c: (gst_message_parse_state_changed):
23553         * gst/gstpad.c:
23554         * gst/gstpad.h:
23555           more docs, fix compilation
23556
23557 2005-10-09  Philippe Khalaf <burger@speedy.org>
23558         * gst/gstmessage.c:
23559           Fixed a few forgotten variables on previous commit
23560
23561 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23562
23563         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23564           Fix evil typefind crasher: getrange() might return a short
23565           buffer at the end of a file, but gst_type_find_peek() must
23566           either return the full data as requested or NULL, but
23567           never a short buffer.
23568
23569 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23570
23571         * gst/gstmessage.c: (gst_message_new_state_changed),
23572         (gst_message_parse_state_changed):
23573         * gst/gstmessage.h:
23574           don't use "new", it's a C++ keyword
23575
23576 2005-10-08  Wim Taymans  <wim@fluendo.com>
23577
23578         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23579         * gst/gstelement.c: (gst_element_post_message):
23580         * gst/gstpipeline.c: (gst_pipeline_change_state):
23581         Small docs and debug updates.
23582
23583 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23584
23585         * docs/gst/gstreamer-sections.txt:
23586         * gst/gstelementfactory.c:
23587         * gst/gstevent.c:
23588         * gst/gsttaglist.c:
23589           more docs
23590
23591 2005-10-08  Wim Taymans  <wim@fluendo.com>
23592
23593         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23594         (gst_bin_dispose), (bin_bus_handler):
23595         Fix typos, add comments.
23596         Clear EOS list when going to PAUSED from any direction and do it
23597         in a threadsafe way.
23598         Get base time in a threadsafe way too.
23599         Fix confusing debug in the change_state function.
23600         Various other small cleanups.
23601         
23602         * gst/gstelement.c: (gst_element_post_message):
23603         Fix very verbose bus posting code.
23604
23605         * gst/gstpipeline.c: (gst_pipeline_class_init),
23606         (gst_pipeline_set_property), (gst_pipeline_get_property),
23607         (gst_pipeline_change_state):
23608         Small ARG_ -> PROP_ cleanup
23609
23610 2005-10-08  Wim Taymans  <wim@fluendo.com>
23611
23612         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23613         Do a less CPU demanding EOS check because we can.
23614
23615 2005-10-08  Wim Taymans  <wim@fluendo.com>
23616
23617         * libs/gst/dataprotocol/dataprotocol.c:
23618         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23619         (gst_dp_packet_from_event):
23620         * libs/gst/dataprotocol/dataprotocol.h:
23621         * libs/gst/dataprotocol/dp-private.h:
23622         It's about time we bump the version number.
23623         Since event types don't fit in the guint8 anymore describing
23624         the payload type, make payload type 16 bits wide.
23625
23626 2005-10-08  Wim Taymans  <wim@fluendo.com>
23627
23628         * docs/design/part-TODO.txt:
23629         * docs/design/part-clocks.txt:
23630         * docs/design/part-events.txt:
23631         * docs/design/part-gstbin.txt:
23632         * docs/design/part-gstelement.txt:
23633         * docs/design/part-gstpipeline.txt:
23634         * docs/design/part-live-source.txt:
23635         * docs/design/part-messages.txt:
23636         * docs/design/part-overview.txt:
23637         * docs/design/part-states.txt:
23638         Many doc updates.
23639
23640 2005-10-08  Wim Taymans  <wim@fluendo.com>
23641
23642         * gst/gstevent.c:
23643         * gst/gstevent.h:
23644         Fix event quark registration.
23645         Add some space between events so we can insert them in the
23646         right groups.
23647
23648 2005-10-08  Wim Taymans  <wim@fluendo.com>
23649
23650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23651         (gst_base_sink_handle_buffer):
23652         Better log message.
23653
23654         * gst/gstbus.h:
23655         * gst/gstelement.h:
23656         More docs.
23657
23658         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23659         (gst_queue_set_property), (gst_queue_get_property):
23660         * gst/gstqueue.h:
23661         Remove old unused properties.
23662
23663 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23664         * docs/gst/gstreamer-sections.txt:
23665         * gst/gstmessage.c:
23666         * gst/gstmessage.h:
23667         * gst/gstminiobject.c:
23668         * gst/gstminiobject.h:
23669         * gst/gstobject.h:
23670         * gst/gstpad.h:
23671         * gst/gstutils.h:
23672           lots of new docs and doc fixes
23673
23674 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23675
23676         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23677         * gst/gstplugin.h:
23678         * gst/gstregistry.c: (gst_registry_lookup_locked),
23679         (gst_registry_scan_path_level):
23680         * gst/gstregistryxml.c: (load_plugin):
23681           Only ever load one plugin for a given plugin basename.
23682           This ensures correct overriding of GST_PLUGIN_PATH over
23683           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23684           system installed plugins.
23685
23686 2005-10-08  Wim Taymans  <wim@fluendo.com>
23687
23688         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23689         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23690         Prepare for doing QOS.
23691
23692 2005-10-08  Wim Taymans  <wim@fluendo.com>
23693
23694         * check/gst/gstbin.c: (GST_START_TEST):
23695         * check/pipelines/cleanup.c: (GST_START_TEST):
23696         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23697         Allow new clock message too.
23698
23699 2005-10-08  Wim Taymans  <wim@fluendo.com>
23700
23701         * gst/gstmessage.c: (gst_message_new_error),
23702         (gst_message_new_warning), (gst_message_new_tag),
23703         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23704         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23705         (gst_message_new_segment_start), (gst_message_new_segment_done),
23706         (gst_message_parse_state_changed),
23707         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23708         (gst_message_parse_new_clock):
23709         * gst/gstmessage.h:
23710         Also carry the clock in question.
23711
23712 2005-10-08  Wim Taymans  <wim@fluendo.com>
23713
23714         * gst/gstmessage.c: (gst_message_new_custom),
23715         (gst_message_new_eos), (gst_message_new_error),
23716         (gst_message_new_warning), (gst_message_new_tag),
23717         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23718         (gst_message_new_new_clock), (gst_message_new_segment_start),
23719         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23720         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23721         * gst/gstmessage.h:
23722         Clean up.
23723         Added clock related messages.
23724
23725         * gst/gstpipeline.c: (gst_pipeline_change_state):
23726         Post message when the clock changed.
23727
23728         * tools/gst-launch.c: (event_loop):
23729         Print new clock.
23730
23731 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23732
23733         * tools/gst-inspect.c: (print_element_properties_info):
23734           Can't pass NULL strings to g_print() on windows.
23735
23736 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23737
23738         * docs/Makefile.am:
23739         * docs/gst/Makefile.am:
23740         * docs/gst/gstreamer-docs.sgml:
23741         * docs/gst/running.xml:
23742         * docs/version.entities.in:
23743           add a chapter on running GStreamer.
23744           document GST_DEBUG and GST_PLUGIN* env vars
23745
23746 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23747
23748         * Makefile.am:
23749           remove include dir
23750         * configure.ac:
23751           remove PLUGINS_BUILDDIR stuff
23752         * gst/gst.c: (init_post):
23753           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23754         * idiottest.mak:
23755           remove, it was condescending and not needed
23756
23757 2005-10-08  Wim Taymans  <wim@fluendo.com>
23758
23759         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23760         (gst_base_sink_handle_object), (gst_base_sink_event),
23761         (gst_base_sink_wait), (gst_base_sink_handle_event),
23762         (gst_base_sink_change_state):
23763         * gst/base/gstbasesink.h:
23764         Repost EOS message while going to PLAYING if still EOS.
23765         Make sure that when receiving a FLUSH_START we don't attempt
23766         to sync on the clock anymore.
23767
23768 2005-10-08  Wim Taymans  <wim@fluendo.com>
23769
23770         * tools/gst-launch.c: (event_loop):
23771         Better message printout.
23772
23773 2005-10-08  Wim Taymans  <wim@fluendo.com>
23774
23775         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23776         (gst_bin_child_proxy_get_children_count):
23777         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23778         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23779         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23780         (gst_child_proxy_set_valist):
23781         * gst/parse/grammar.y:
23782         Make ChildProxy threadsafe and fix mem leaks.
23783
23784 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23785
23786         * gst/gst.c: (init_post):
23787           debug the GST_PLUGIN_ env vars
23788
23789 2005-10-08  Wim Taymans  <wim@fluendo.com>
23790
23791         * check/gst/gstbin.c: (GST_START_TEST):
23792         * check/gst/gstmessage.c: (GST_START_TEST):
23793         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23794         * gst/gstelement.c: (gst_element_commit_state),
23795         (gst_element_lost_state):
23796         * gst/gstmessage.c: (gst_message_new_state_changed),
23797         (gst_message_parse_state_changed):
23798         * gst/gstmessage.h:
23799         * tools/gst-launch.c: (event_loop):
23800         Added extra field to STATE_CHANGE message with the pending
23801         state, which will be different from the new state soon.
23802
23803 2005-10-08  Wim Taymans  <wim@fluendo.com>
23804
23805         * gst/gstbus.c: (gst_bus_pop):
23806         * gst/gstclock.c:
23807         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23808         Small cleanups and doc updates.
23809
23810 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23811
23812         * gst/gst.c: (init_pre):
23813         * gst/gstbin.c: (gst_bin_add_func):
23814           log distributing clocks and base time
23815         * gst/gstregistry.c: (gst_registry_add_plugin),
23816         (gst_registry_scan_path_level), (gst_registry_scan_path):
23817           clean up the debugging output a little
23818         * gst/gstutils.c: (gst_element_state_get_name):
23819           warn about a memleak (I've actually seen this be used, though
23820           it was probably a bug)
23821
23822 2005-10-07  Wim Taymans  <wim@fluendo.com>
23823
23824         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23825         (gst_base_src_init), (gst_base_src_default_newsegment),
23826         (gst_base_src_newsegment), (gst_base_src_do_seek),
23827         (gst_base_src_loop), (gst_base_src_start):
23828         * gst/base/gstbasesrc.h:
23829         Make the newsegment event customizable by subclasses.
23830
23831 2005-10-07  Wim Taymans  <wim@fluendo.com>
23832
23833         * gst/gstevent.c: (gst_event_new_buffersize),
23834         (gst_event_parse_buffersize):
23835         * gst/gstevent.h:
23836         New event for future idea.
23837
23838 2005-10-07  Andy Wingo  <wingo@pobox.com>
23839
23840         * gst/gstelement.c (gst_element_post_message): Doc update.
23841
23842         * docs/gst/gstreamer-sections.txt: Update.
23843
23844         * gst/gstmessage.c (gst_message_new_application): Made into a
23845         function like honest API calls.
23846         (gst_message_new_element): New message type.
23847
23848         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23849
23850         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23851         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23852         times.
23853
23854         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23855         NO_PREROLL from gst_element_change_state to fall through.
23856
23857 2005-10-07  Wim Taymans  <wim@fluendo.com>
23858
23859         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23860         (gst_ghost_pad_do_activate_push):
23861         Activating a ghostpad with no internal pad in push mode
23862         is ok.
23863
23864 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23865
23866         * gst/gstobject.h:
23867           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23868           Fixes compilation on Windows.
23869
23870 2005-10-07  Michael Smith <msmith@fluendo.com>
23871
23872         * tools/gst-inspect.c:
23873           Print out feature and plugin count at the end when printing out
23874           all features.
23875
23876 2005-10-04  Michael Smith <msmith@fluendo.com>
23877
23878         * gst/gsterror.c: (_gst_stream_errors_init):
23879           Add another error string used in a few existing plugins.
23880
23881         * gst/gstplugin.c:
23882         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23883         * tools/gst-inspect.c: (print_element_info):
23884           When a feature disappears from a plugin (and the feature exists in
23885           the cached registry file), things went horribly wrong. This isn't a
23886           complete fix, we should actually be removing the 'missing' features
23887           from the features list when we load the actual plugin. That's not
23888           yet implemented. 
23889
23890 2005-10-04  Johan Dahlin  <johan@gnome.org>
23891
23892         * check/gst/gstiterator.c: (GST_START_TEST):
23893         * gst/gstbin.c: (gst_bin_iterate_elements),
23894         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23895         * gst/gstelement.c: (gst_element_iterate_pads):
23896         * gst/gstformat.c: (gst_format_iterate_definitions):
23897         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23898         (gst_iterator_new_list), (gst_iterator_filter):
23899         * gst/gstiterator.h:
23900         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23901         Add a GType to GstIterator, update callsites and tests.
23902
23903 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23904
23905         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23906           give events a chance to be handled by event probes when the pad
23907           is not linked
23908
23909 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23910
23911         * gst/gstevent.c: (gst_event_type_get_name),
23912         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23913         * gst/gstevent.h:
23914           add string representations for event types
23915
23916 2005-10-06  Wim Taymans  <wim@fluendo.com>
23917
23918         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23919         Don't use NULL pointers.
23920
23921 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23922
23923         * gst/gst_private.h:
23924         * gst/gstbus.c:
23925         * gst/gstelement.c:
23926         * gst/gstinfo.c:
23927         * gst/gstpluginfeature.c:
23928           widen the debug category in output to fit the biggest one we have
23929           add a bus category and use it
23930           play with the colors
23931           fix up some categories
23932
23933 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23934
23935         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23936           add push activation of sink ghost pads.
23937           Andye, please verify
23938
23939 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23940
23941         * gst/gstutils.c: (gst_element_link_pads):
23942           fix a bug in the case where neither element has a pad
23943         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23944           add a test for that case
23945
23946 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23947
23948         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23949           emit have-data before checking for peers.  This allows
23950           for probe handlers to connect elements.  This helps autopluggers.
23951         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23952         (gst_pad_suite):
23953           add six checks, linked/unlinked with no/true/false probe
23954
23955 2005-10-04  Wim Taymans  <wim@fluendo.com>
23956
23957         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23958         (gst_fake_sink_event), (gst_fake_sink_preroll),
23959         (gst_fake_sink_render), (gst_fake_sink_change_state):
23960         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23961         (gst_fake_src_get_property), (gst_fake_src_create),
23962         (gst_fake_src_stop):
23963         * gst/elements/gstidentity.c: (gst_identity_stop):
23964         Protect last_message with lock.
23965
23966 2005-10-04  Edward Hervey  <edward@fluendo.com>
23967
23968         * gst/gstformat.h: 
23969         Added precision in the comments for GST_FORMAT_DEFAULT
23970
23971 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23972
23973         * tools/gst-launch.c: (main):
23974           Don't try to run erroneous pipelines.
23975
23976 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23977
23978         * gst/gstbus.c: We don't need this header.
23979
23980 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23981
23982         * configure.ac:
23983           back to development
23984
23985 === release 0.9.3 ===
23986
23987 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23988
23989         * README:
23990         * configure.ac:
23991           Releasing 0.9.3, "Unregistered"
23992
23993 2005-10-03  Andy Wingo  <wingo@pobox.com>
23994
23995         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23996         whereby calling a pad's activatepush() function can start a thread
23997         that starts to push or pull before the pad gets the FLUSHING flag
23998         unset. Hack around it by holding the stream lock until the flag is
23999         set. Need to replace this with a proper solution. Together with
24000         the ghost pad fixes, this fixes mp3 playing/tagreading.
24001
24002         * docs/design/part-gstghostpad.txt: Add a note about activation of
24003         proxy pads outside of ghost pads.
24004
24005         * gst/gstghostpad.c: Implement the ghost pad activation design.
24006
24007 2005-10-02  Andy Wingo  <wingo@pobox.com>
24008
24009         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24010         It is volatile, after all.
24011
24012         * docs/design/part-gstghostpad.txt: Flesh out activation with
24013         ghost pads.
24014
24015         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24016         GST_DEBUG_FUNCPTR.
24017
24018 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24019
24020         * configure.ac:
24021           Fix (unused) AM_CONDITIONAL tests.
24022
24023 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24024
24025         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24026
24027         * gst/gstutils.c: (gst_pad_query_convert):
24028           Add assertion that makes sure src_val is >=0, just like
24029           gst_query_new_convert() has. (#315895)
24030
24031 2005-09-30  Edward Hervey  <edward@fluendo.com>
24032
24033         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24034         Let's not iterate pads we're not interested in, it avoids getting 
24035         sky-high refcounts on sinkpad.
24036
24037 2005-09-30  Wim Taymans  <wim@fluendo.com>
24038
24039         * gst/gstelement.c: (gst_element_set_state),
24040         (gst_element_change_state):
24041         Small tweak, element in ASYNC remains ASYNC.
24042
24043 2005-09-30  Wim Taymans  <wim@fluendo.com>
24044
24045         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24046         Only error is an error.
24047
24048         * gst/gstbin.c: (gst_bin_change_state):
24049         Better debugging.
24050
24051         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24052         Also call pad_block in pad alloc.
24053
24054         * gst/gstutils.c: (gst_flow_get_name):
24055         Better debugging.
24056
24057 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24058
24059         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24060         (gst_base_src_get_range):
24061           Fix documentation typos. Add some more debug info.
24062
24063 2005-09-29  David Schleef  <ds@schleef.org>
24064
24065         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24066           more end-user friendly.
24067         * tools/gst-inspect.c: (main): Check if command-line argument is
24068           a file and attempt to load that file as a plugin.
24069
24070 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24071
24072         * check/gst/gstbin.c:
24073         * check/states/sinks.c:
24074           fix tests for the new warning
24075         * check/gst/gstpipeline.c:
24076           add a test for pipeline and bus interaction
24077         * gst/gstelement.c:
24078           elements should be NULL if they get disposed; add a warning if not
24079
24080 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24081
24082         * gst/gstobject.c:
24083           for 2.6 refcounting, make debug log more correct by printing
24084           the actual refcounts at the time of swap (Wim)
24085
24086 2005-09-29  Andy Wingo  <wingo@pobox.com>
24087
24088         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24089         removes signal watches previously added via
24090         gst_bus_add_signal_watch.
24091         (gst_bus_add_signal_watch): Don't return the source id, just store
24092         it on the bus if there wasn't an id already.
24093
24094         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24095         add_signal_watch and remove_signal_watch.
24096
24097 2005-09-29  Edward Hervey  <edward@fluendo.com>
24098
24099         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24100         Better if we actually iterate the list :)
24101
24102 2005-09-29  Wim Taymans  <wim@fluendo.com>
24103
24104         * check/gst/gstbin.c: (GST_START_TEST):
24105         Change for new bus API.
24106
24107         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24108         (send_messages), (GST_START_TEST), (gstbus_suite):
24109         Change for new bus signal API.
24110
24111         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24112         (gst_bus_source_prepare), (gst_bus_source_check),
24113         (gst_bus_create_watch), (gst_bus_add_watch_full),
24114         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24115         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24116         * gst/gstbus.h:
24117         Remove support for multiple GSources operating on different
24118         message types as it is too complex and unneeded when using
24119         signals.
24120         Added support for receiving signals from the bus.
24121
24122 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24123
24124         * docs/libs/tmpl/gstdataprotocol.sgml:
24125         * docs/manual/advanced-dataaccess.xml:
24126         * gst/elements/gstcapsfilter.c:
24127         * gst/gstutils.c:
24128           rename filter-caps to caps property
24129
24130 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24131
24132         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24133           More robust fraction string parsing.
24134
24135         * docs/pwg/appendix-porting.xml:
24136           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24137
24138 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24139
24140         * gst/gstcaps.c: (gst_caps_do_simplify):
24141           Thou shalt not free a structure and then continue using it
24142           in the next loop iteration.
24143
24144         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24145         (gst_caps_suite):
24146           Add test case for caps simplification.
24147
24148 2005-09-29  Wim Taymans  <wim@fluendo.com>
24149
24150         * check/gst/gstbin.c: (GST_START_TEST):
24151         Oops.
24152
24153 2005-09-29  Wim Taymans  <wim@fluendo.com>
24154
24155         * check/gst/gstbin.c: (GST_START_TEST):
24156         Add bus to bin.
24157
24158         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24159         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24160         (find_element), (gst_bin_sort_iterator_next),
24161         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24162         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24163         (gst_bin_change_state), (gst_bin_dispose):
24164         A bin does not have a bus, it gets the bus from the parent.
24165
24166         * gst/gstelement.c: (gst_element_requires_clock),
24167         (gst_element_provides_clock), (gst_element_is_indexable),
24168         (gst_element_is_locked_state), (gst_element_change_state),
24169         (gst_element_set_bus_func):
24170         Small cleanups.
24171
24172         * gst/gstpipeline.c: (gst_pipeline_class_init),
24173         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24174         The pipeline provides a bus.
24175
24176 2005-09-28  Johan Dahlin  <johan@gnome.org>
24177
24178         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24179         gst_structure_get_enum instead of gst_structure_get_int
24180
24181         * gst/gststructure.c (gst_structure_get_enum): Impl.
24182
24183         * gst/gststructure.h (gst_structure_get_enum): Add
24184
24185         * docs/gst/gstreamer-sections.txt: Ditto
24186
24187         * gst/gstmessage.c (gst_message_new_state_changed): Use
24188         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24189         which does introspection.
24190         Reviewed by Christian Schaller
24191
24192 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24193
24194         * gst/gstinfo.c: (gst_debug_log_default):
24195           don't do dummy g_strdup()s
24196         * libs/gst/controller/gstcontroller.c:
24197         (on_object_controlled_property_changed),
24198         (gst_controlled_property_new), (gst_controller_new_valist),
24199         (gst_controller_new_list),
24200         (gst_controller_remove_properties_valist), (gst_controller_set),
24201         (gst_controller_get), (gst_controller_sync_values),
24202         (gst_controller_get_value_array), (_gst_controller_class_init),
24203         (gst_controller_get_type):
24204         * libs/gst/controller/gstcontroller.h:
24205         * libs/gst/controller/gstinterpolation.c:
24206         (gst_controlled_property_find_timed_value_node):
24207           convert // to /**/ comments
24208
24209 2005-09-28  Wim Taymans  <wim@fluendo.com>
24210
24211         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24212         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24213         (gst_bus_sync_signal_handler):
24214         * gst/gstbus.h:
24215         Added async-message and sync-message signals to the bus.
24216         Added helper BusFunc to emit signals for all posted messages.
24217
24218         * gst/gstmessage.c: (gst_message_type_get_name),
24219         (gst_message_type_to_quark), (gst_message_get_type):
24220         * gst/gstmessage.h:
24221         Register quarks for message names.
24222
24223 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24224
24225         * docs/libs/gstreamer-libs-sections.txt:
24226         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24227         (gst_controller_new_list):
24228         * libs/gst/controller/gstcontroller.h:
24229           added another constructor for language bindings
24230
24231 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24232
24233         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24234           add another check
24235         * gst/gstbus.c:
24236           add some doc
24237         * gst/gstinfo.c: (_gst_debug_init):
24238           slightly more readable color for refcount debugging
24239
24240 2005-09-28  Wim Taymans  <wim@fluendo.com>
24241
24242         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24243         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24244         (find_element), (gst_bin_sort_iterator_next),
24245         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24246         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24247         (gst_bin_change_state), (gst_bin_dispose):
24248         Small doc fixes. get_clock -> provide_clock.
24249
24250         * gst/gstelement.c: (gst_element_class_init),
24251         (gst_element_provides_clock), (gst_element_provide_clock),
24252         (gst_element_get_clock), (gst_element_commit_state),
24253         (gst_element_lost_state):
24254         * gst/gstelement.h:
24255         Make get/set_clock() symetric. Add provide_clock vmethod since
24256         that is actually what this function does.
24257
24258         * gst/gstpipeline.c: (gst_pipeline_class_init),
24259         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24260         (gst_pipeline_get_clock):
24261         get_clock -> provide_clock.
24262
24263 2005-09-28  Andy Wingo  <wingo@pobox.com>
24264
24265         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24266         lieu of real docs...
24267
24268         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24269
24270 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24271
24272         * gst/elements/gstcapsfilter.c:
24273         * gst/elements/gstfakesink.c:
24274         * gst/elements/gstfakesrc.c:
24275         * gst/elements/gstfdsink.c:
24276         * gst/elements/gstfdsrc.c:
24277         * gst/elements/gstfilesink.c:
24278         * gst/elements/gstfilesrc.c:
24279         * gst/elements/gstidentity.c:
24280         * gst/elements/gsttee.c:
24281         * gst/elements/gsttypefindelement.c:
24282           Make element details static.
24283
24284 2005-09-28  Wim Taymans  <wim@fluendo.com>
24285
24286         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24287         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24288         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24289         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24290         (gst_bin_change_state), (gst_bin_dispose):
24291         Some documentation updates.
24292         Clean up dispose handlers.
24293
24294         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24295         * gst/gstpad.c: (gst_pad_dispose):
24296         Clean up dispose handler.
24297
24298         * gst/gstpipeline.c: (gst_pipeline_change_state):
24299         Removed spurious UNLOCK.
24300
24301 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24302
24303         * docs/gst/gstreamer-sections.txt:
24304         * gst/base/gstbasesrc.h:
24305         * gst/gstelement.h:
24306         * gst/gstevent.h:
24307         * gst/gstobject.h:
24308         * gst/gstpad.h:
24309         * gst/gstpipeline.c:
24310         * gst/gstpipeline.h:
24311         * gst/gstutils.h:
24312         * gst/gstxml.h:
24313           added two new functions to the docs
24314                 documents all undocumented GstXXXFlags
24315                 completed some incomplete docs 
24316
24317 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24318
24319         * gst/gstbin.c: (gst_bin_dispose):
24320         * gst/gstelement.c: (gst_element_dispose):
24321           remove now useless and leaky resurrection code in dispose
24322         * gst/base/gstbasesrc.c: (gst_base_src_init):
24323         * gst/gstelementfactory.c: (gst_element_factory_create):
24324         * gst/gstobject.c: (gst_object_set_parent):
24325           add some debugging
24326
24327 2005-09-27  Wim Taymans  <wim@fluendo.com>
24328
24329         * docs/design/part-TODO.txt:
24330         Update TODO.
24331
24332         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24333         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24334         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24335         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24336         (gst_bin_change_state):
24337         * gst/gstelement.h:
24338         Remove element variable, we keep element info in the iterator now.
24339
24340 2005-09-27  Andy Wingo  <wingo@pobox.com>
24341
24342         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24343         values.
24344
24345 2005-09-27  Wim Taymans  <wim@fluendo.com>
24346
24347         * check/gst/gstbin.c: (GST_START_TEST):
24348         Enable check that works now.
24349
24350         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24351         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24352         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24353         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24354         (gst_bin_change_state):
24355         * gst/gstbin.h:
24356         Redid the state change algorithm using a topological sort algo.
24357         Handles all cases correctly.
24358         Exposed iterator for state change order.
24359
24360         * gst/gstelement.h:
24361         Temp storage for state changes. Need to get rid of this soon.
24362
24363 2005-09-27  Wim Taymans  <wim@fluendo.com>
24364
24365         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24366         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24367         (link_fold_func), (gst_pad_proxy_setcaps):
24368         Leak fixes, the fold functions need to unref the passed object and
24369         _get_parent_*() returns ref to parent.
24370
24371 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24372
24373         * check/gst/gstbuffer.c: (test_make_writable):
24374           Plug leak in test case and fix 'make check-valgrind'
24375
24376 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24377
24378         * gst/gstbuffer.c: (gst_subbuffer_init):
24379           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24380           works correctly in all circumstances (we could have just copied
24381           the parent buffer's readonly flag, but conceptually it seems
24382           cleaner to mark all subbuffers as read-only). (based on patch
24383           by Alessandro Decina, #314710).
24384         
24385         * check/gst/gstbuffer.c: (create_read_only_buffer),
24386         (test_make_writable), (test_subbuffer_make_writable),
24387         (gst_test_suite):
24388           Add some tests for gst_buffer_make_writable().
24389
24390 2005-09-27  Wim Taymans  <wim@fluendo.com>
24391
24392         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24393         use gst_object_has_ancestor().
24394
24395         * gst/gstobject.c: (gst_object_has_ancestor):
24396         * gst/gstobject.h:
24397         gst_object_has_ancestor() copied from gstbin.c as it is a
24398         useful function.
24399
24400         * tests/instantiate/create.c: (create_all_elements):
24401         * tests/lat.c: (handoff_src), (handoff_sink):
24402         * tests/sched/runxml.c: (main):
24403         * tests/seeking/seeking1.c: (main):
24404         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24405         (main):
24406         Fix compilation of some tests.
24407
24408 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24409
24410         * gst/gsterror.h:
24411           Remove comment. GST_TYPE_G_ERROR is here to stay,
24412           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24413           (#316961, #300610).
24414
24415 2005-09-26  Wim Taymans  <wim@fluendo.com>
24416
24417         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24418         Added check that shows error in state change order.
24419
24420 2005-09-26  Wim Taymans  <wim@fluendo.com>
24421
24422         * gst/gstbin.c: (gst_bin_change_state):
24423         Make state change function use 3 queues again, we were
24424         adding elements in the wrong order.
24425
24426         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24427         Some debug info,
24428
24429         * gst/gstpad.c: (gst_pad_dispose):
24430         Added some debug info first.
24431
24432 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24433
24434         * docs/design/draft-push-pull.txt:
24435         * docs/design/part-events.txt:
24436         * docs/design/part-overview.txt:
24437         * docs/design/part-scheduling.txt:
24438           Replace all _pull_region() with _pull_range()
24439           
24440 2005-09-26  Andy Wingo  <wingo@pobox.com>
24441
24442         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24443
24444         * check/gst-libs/controller.c: Update for controller api change.
24445
24446         * configure.ac: 
24447         * tests/Makefile.am:
24448         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24449         over by GLib bug 118439.
24450         
24451         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24452         routines to a function.
24453
24454         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24455
24456         * libs/gst/controller/gsthelper.c:
24457         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24458         (gst_object_sync_values): Renamed from sink_values. Ugh.
24459
24460         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24461
24462         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24463         Renamed from controller_key, as it is exported.
24464
24465         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24466
24467 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24468
24469         * gst/Makefile.am:
24470         * gst/gst.h:
24471         * gst/gstpad.h:
24472         * gst/gstpadtemplate.h:
24473         * gst/gstquery.c:
24474         * gst/gstquery.h:
24475         * gst/gstqueryutils.c:
24476         * gst/gstqueryutils.h:
24477           remove queryutils headers after moving the two used functions
24478           to gstquery.  also fixes build problem for gstsiddec
24479
24480 2005-09-26  Michael Smith <msmith@fluendo.com>
24481
24482         * tools/gst-launch.1.in:
24483         Correct documentation in manpage of debug syntax
24484
24485 2005-09-26  Wim Taymans  <wim@fluendo.com>
24486
24487         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24488         (gst_base_src_is_seekable), (gst_base_src_change_state):
24489         Some more debugging info.
24490
24491 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24492
24493         * docs/gst/gstreamer-sections.txt:
24494         * gst/base/gstbasetransform.h:
24495         * gst/gstindex.h:
24496           added more docs
24497
24498 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24499
24500         * docs/gst/.cvsignore:
24501         * docs/gst/tmpl/.cvsignore:
24502         * docs/gst/tmpl/gstpipeline.sgml:
24503         * docs/gst/tmpl/gstplugin.sgml:
24504         * gst/gstpipeline.c:
24505         * gst/gstplugin.c:
24506         * gst/gstplugin.h:
24507           inlined the last two docs files
24508           removed the tmpl directory from cvs (no more conflicts here!)
24509
24510 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24511
24512         * docs/gst/gstreamer-sections.txt:
24513         * docs/gst/tmpl/.cvsignore:
24514         * docs/gst/tmpl/gstpad.sgml:
24515         * docs/gst/tmpl/gstpadtemplate.sgml:
24516         * gst/Makefile.am:
24517         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24518         (gst_pad_finalize), (gst_pad_set_pad_template):
24519         * gst/gstpad.h:
24520         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24521         (gst_pad_template_class_init), (gst_pad_template_init),
24522         (gst_pad_template_dispose), (name_is_valid),
24523         (gst_static_pad_template_get), (gst_pad_template_new),
24524         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24525         (gst_pad_template_pad_created):
24526         * gst/gstpadtemplate.h:
24527           inlined two more docs
24528           factored gstpadtemplate out of gstpad
24529
24530 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24531
24532         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24533         (test_children_state_change_order_semi_sink):
24534           Fix test case: we can't rely on a fixed state change order when
24535           going from READY => PAUSED because the sink might commit its 
24536           new state first when the first buffer created by the source 
24537           reaches the sink before the source has finished its change state.
24538           (Test case still fails at times, see #316856, comment 5 onwards)
24539
24540 2005-09-24  Wim Taymans  <wim@fluendo.com>
24541
24542         * docs/design/part-events.txt:
24543         * docs/design/part-gstbus.txt:
24544         * docs/design/part-gstpipeline.txt:
24545         * docs/design/part-messages.txt:
24546         * docs/design/part-overview.txt:
24547         * docs/design/part-segments.txt:
24548         * gst/gstbin.c:
24549         * gst/gstbuffer.c:
24550         * gst/gstclock.c:
24551         * gst/gstelement.c:
24552         * gst/gstevent.c:
24553         * gst/gstfilter.c:
24554         * gst/gstiterator.c:
24555         Various documentation updates.
24556
24557 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24558
24559         * gst/gstclock.h:
24560           Well, that's embarassing.  Luckily we weren't using
24561           GST_CLOCK_DIFF anywhere.
24562
24563 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24564
24565         * common/gtk-doc.mak:
24566           don't fail on building XML, FC4 slave shows a bunch of doc
24567           missing bits that I don't get
24568         * gst/gstpad.c:
24569         * gst/gstpipeline.c:
24570         * gst/gststructure.c:
24571           some doc updates
24572
24573 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24574
24575         * docs/design/part-gstbin.txt:
24576         * docs/design/part-gstbus.txt:
24577         * gst/gstbus.c:
24578           Add blurb about how the bus goes into flushing mode and
24579           drops all messages when its bin goes from READY into NULL 
24580           state.
24581
24582 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24583
24584         * docs/gst/gstreamer-sections.txt:
24585         * gst/gststructure.c: (gst_structure_get_clock_time):
24586         * gst/gststructure.h:
24587           add a method to get a GstClockTime out of a structure
24588
24589 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24590
24591         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24592         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24593           Added test to check state change order in bins (can still be made
24594           to fail here under heavy disk load; bails out with 'Push on pad
24595           fakesink:sink0, but it was not activated in push mode').
24596
24597         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24598           Fix state change order when there is only a semi sink (#316856)
24599
24600         * gst/gstbus.c: (gst_bus_class_init):
24601           Use _class_peek_parent(), not _class_ref(); fix docs to say
24602           'default main context' instead of 'mainloop' where that is
24603           what's meant.
24604
24605         * gst/gstelement.c: (gst_element_commit_state),
24606         (gst_element_set_state):
24607           Fix typos in debug messages
24608
24609 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24610
24611         * docs/README:
24612         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24613         * gst/gstpluginfeature.c:
24614         * gst/gstutils.c:
24615           various doc updates
24616         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24617           change an assert into an error until it gets fixed properly
24618
24619 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24620
24621         * docs/gst/gstreamer-sections.txt:
24622         * docs/gst/tmpl/.cvsignore:
24623         * docs/gst/tmpl/gstelement.sgml:
24624         * docs/gst/tmpl/gstinfo.sgml:
24625         * docs/gst/tmpl/gstobject.sgml:
24626         * gst/gstelement.c:
24627         * gst/gstelement.h:
24628         * gst/gstinfo.c:
24629         * gst/gstinfo.h:
24630         * gst/gstobject.c: (gst_object_class_init):
24631         * gst/gstobject.h:
24632           inlined 3 more biiiig doc files and added some missing docs on the fly
24633
24634 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24635
24636         * check/gst/.cvsignore:
24637         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24638         * gst/gstregistryxml.c: (load_plugin),
24639         (gst_registry_xml_save_plugin):
24640           put back source in registry.  add checks for find_plugin.
24641         * testsuite/states/bin.c: (assert_state), (empty_bin),
24642         (test_adding_one_element), (main):
24643         * testsuite/states/locked.c: (main):
24644           some compile/run fixes
24645
24646 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24647
24648         * check/gst/gstvalue.c: (GST_START_TEST):
24649           fix leaks in the test itself
24650
24651 2005-09-22  Wim Taymans  <wim@fluendo.com>
24652
24653         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24654         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24655         (gst_base_sink_query):
24656         Prepare for more accurate position reporting and query
24657         handling.
24658
24659         * gst/gstelement.c: (gst_element_send_event),
24660         (gst_element_set_state):
24661         Add some comment.
24662
24663 2005-09-22  Wim Taymans  <wim@fluendo.com>
24664
24665         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24666         (gst_query_parse_segment):
24667         * gst/gstquery.h:
24668         More documentation.
24669         Add segment query for future use.
24670
24671 2005-09-22  Wim Taymans  <wim@fluendo.com>
24672
24673         * gst/gstbin.c: (gst_bin_add_func):
24674         Some more debug info.
24675
24676         * gst/gstelement.c: (gst_element_send_event):
24677         Simplify send_event
24678
24679         * gst/gstelement.h:
24680         Don't know how flags got broken.
24681
24682         * gst/gstquery.h:
24683         Added new query.
24684
24685 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24686
24687         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24688           Add simplistic test suite for GST_TYPE_DATE serialisation and
24689           deserialisation.
24690
24691 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24692
24693         * docs/gst/gstreamer-sections.txt:
24694         * gst/gststructure.c: (gst_structure_set_valist),
24695         (gst_structure_get_date):
24696         * gst/gststructure.h:
24697         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24698         (gst_date_copy), (gst_value_compare_date),
24699         (gst_value_serialize_date), (gst_value_deserialize_date),
24700         (gst_value_transform_date_string),
24701         (gst_value_transform_string_date), (_gst_value_initialize):
24702         * gst/gstvalue.h:
24703           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24704           bunch of utility functions along with a hack that checks that
24705           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24706           is required. Part of the grand scheme in #170777.
24707
24708 2005-09-22  Andy Wingo  <wingo@pobox.com>
24709
24710         * gst/gstconfig.h.in: Psych out gtk-doc.
24711
24712         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24713
24714         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24715
24716         * tools/gst-inspect.c (print_element_list): Plug some
24717         inconsequential leaks.
24718
24719         * gst/gstregistry.c (gst_registry_get_default): Doc.
24720
24721         * check/gst/gstplugin.c: 
24722         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24723         * gst/gstelementfactory.c (gst_element_factory_create): 
24724         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24725         refcount changes.
24726
24727         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24728         (gst_plugin_feature_load): Doc, don't eat refs.
24729
24730         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24731         (gst_plugin_list_free): Doc.
24732         (gst_plugin_load_file): Doc updates.
24733
24734         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24735         accessors returning refcounted objects, return a ref.
24736
24737         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24738         accessor for caps. IDEMPOTENCE. Oh yes.
24739
24740 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24741
24742         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24743
24744         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24745         (_gst_debug_register_funcptr):
24746           Add mutex to serialise access to the hash table with
24747           the function pointer => function name string mapping;
24748           make that hash table static scope (#316809).
24749
24750         * gst/registries/.cvsignore:
24751           Remove left-over file.
24752
24753 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24754
24755         * docs/pwg/appendix-porting.xml:
24756           And something about newsegment events and caps-on-buffers to
24757           the porting guide (feel free to improve).
24758
24759 2005-09-21  Andy Wingo  <wingo@pobox.com>
24760
24761         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24762         data and event probes on the same pad.
24763         (test_buffer_probe_once): Test that removing probes from within
24764         the probe functions works.
24765
24766 2005-09-21  Andy Wingo  <wingo@pobox.com>
24767
24768         * check/gst/gstutils.c: New file.
24769         (test_buffer_probe_n_times): A simple buffer probe test. More to
24770         come, foolios.
24771
24772         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24773         have-data::buffer, not have-data.
24774         (gst_pad_add_event_probe): Likewise for have-data::event.
24775         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24776         peer' isn't quite right yet though.
24777         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24778         (gst_pad_remove_data_probe): Change to take the guint handler_id
24779         as their arg, not the function+data, which is more glib-like.
24780
24781         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24782         the signal emission to indicate if the data is a buffer or an
24783         event.
24784         (gst_pad_get_type): Initialize buffer and event quarks.
24785         (gst_pad_class_init): have-data is now a detailed signal, yes it
24786         is.
24787
24788 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24789
24790         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24791         * gst/gstutils.c: (gst_util_set_value_from_string),
24792         (gst_util_set_object_arg):
24793           Don't put functional code in g_return_if_fail() or
24794           g_return_val_if_fail() statements, otherwise things will 
24795           break when G_DISABLE_CHECKS is defined during compilation.
24796
24797 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24798
24799         * docs/gst/tmpl/.cvsignore:
24800         * docs/gst/tmpl/gstvalue.sgml:
24801         * gst/gstvalue.c:
24802         * gst/gstvalue.h:
24803           inlied another one and added  some obvious docs
24804
24805 2005-09-21  Wim Taymans  <wim@fluendo.com>
24806
24807         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24808         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24809         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24810         (gst_fdsrc_get_property), (gst_fdsrc_create):
24811         * gst/elements/gstfdsrc.h:
24812         Properly implement fdsrc. Removed signal and timeout,
24813         better implemented somewhere else.
24814
24815 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24816
24817         * docs/gst/tmpl/.cvsignore:
24818         * docs/gst/tmpl/gstimplementsinterface.sgml:
24819         * gst/gstinterface.c:
24820           inlined more docs
24821
24822 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24823
24824         * docs/gst/gstreamer-sections.txt:
24825         * docs/gst/tmpl/.cvsignore:
24826         * docs/gst/tmpl/gstenumtypes.sgml:
24827           remove obsolete doc file
24828
24829 2005-09-21  David Schleef  <ds@schleef.org>
24830
24831         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24832         little beer, fix a little leak.
24833
24834 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24835
24836         * docs/gst/gstreamer-docs.sgml:
24837         * docs/gst/gstreamer-sections.txt:
24838         * docs/gst/tmpl/.cvsignore:
24839         * gst/Makefile.am:
24840         * gst/gst.h:
24841         * gst/gstbin.c:
24842         * gst/gstelement.h:
24843         * gst/gstindex.c: (gst_index_class_init):
24844         * gst/gstindex.h:
24845         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24846         (gst_index_factory_class_init), (gst_index_factory_init),
24847         (gst_index_factory_finalize), (gst_index_factory_new),
24848         (gst_index_factory_destroy), (gst_index_factory_find),
24849         (gst_index_factory_create), (gst_index_factory_make):
24850         * gst/gstindexfactory.h:
24851         * gst/gstpluginfeature.c:
24852         * gst/gstpluginfeature.h:
24853         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24854           more docs inlined, splitted gstindex.{c,h}
24855
24856 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24857
24858         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24859           fix a leak
24860
24861 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24862
24863         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24864           Set sync to FALSE by default.
24865
24866 2005-09-20  Wim Taymans  <wim@fluendo.com>
24867
24868         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24869         (gst_base_sink_init):
24870         Make sync property settable from subclass.
24871
24872         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24873         (gst_fake_sink_change_state):
24874         Set sync to FALSE by default.
24875
24876 2005-09-20  Wim Taymans  <wim@fluendo.com>
24877
24878         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24879         * tools/gst-launch.c: (main):
24880         The timeout handler should have lower priority than the source
24881         so we don't timeout before popping a message with 0 timeout.
24882         Dump error messages after failed state change.
24883
24884 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24885
24886         * tools/gst-inspect.c: (print_element_properties_info):
24887           Fix two typos.
24888
24889 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24890
24891         * check/gst/gstevent.c:
24892         * gst/elements/gstfakesink.c:
24893         * gst/elements/gstfakesink.h:
24894           remove the sync property from fakesink.
24895           has the side effect of setting sync TRUE
24896           for fakesink, which is a change.  Anyone who knows how
24897           to fix this nicely in a GObject-y way, feel free.
24898
24899 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24900
24901         * docs/gst/gstreamer-docs.sgml:
24902           remove probe refsection
24903
24904 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24905
24906         * check/Makefile.am:
24907           disable valgrinding the controller test again
24908         * docs/gst/gstreamer-sections.txt:
24909           update for api-changes
24910
24911 2005-09-20  Wim Taymans  <wim@fluendo.com>
24912
24913         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24914         (gst_base_sink_set_property), (gst_base_sink_get_property),
24915         (gst_base_sink_do_sync):
24916         * gst/base/gstbasesink.h:
24917         Added sync property to basesink to disable clock sync.
24918
24919 2005-09-20  Andy Wingo  <wingo@pobox.com>
24920
24921         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24922         eating the caller's refcount.
24923
24924         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24925         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24926         refcount.
24927
24928         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24929         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24930         of GLib 2.8 public, so we can know which refcount to check in
24931         tests.
24932
24933         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24934         (gst_object_init): Only set the gst refcount if we're going ahead
24935         with the refcount hack.
24936
24937 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24938
24939         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24940         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24941           more leaks plumbed, added more debug-logging
24942         * gst/gstmacros.h:
24943           whitespace fix
24944
24945 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24946
24947         * gst/gstmessage.c:
24948           remove include of gstmemchunk.h
24949
24950 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24951
24952         * gst/gstclock.c: (_gst_clock_id_free):
24953           Commit from the Political Party For More Atomic CVS Commits,
24954           so that people don't waste too much of their day fishing
24955           out obvious leaks out of massive commits.
24956           Oh, and fix a pretty damn obvious leak in the memchunk
24957           removal code.
24958
24959 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24960
24961         * check/Makefile.am:
24962         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24963           plug mem-leak, re-add to valgrindable tests
24964
24965 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24966
24967         * gst/gstplugin.h:
24968           unbreak the build for those who have chronic arthritis
24969           and typing "make check" is just too taxing on the hands
24970
24971 2005-09-20  Andy Wingo  <wingo@pobox.com>
24972
24973         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24974         really want it out, you should fix plugins at the same time.
24975
24976 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24977
24978         * configure.ac:
24979         * docs/gst/gstreamer-sections.txt:
24980         * gst/gstobject.c:
24981           added missing symbols to api docs
24982           disable ref-count hack if we have glib >= 2.8
24983
24984 2005-09-19  David Schleef  <ds@schleef.org>
24985
24986         * docs/gst/Makefile.am: Ignore a few more internal headers
24987         * docs/gst/gstreamer-docs.sgml: Remove old sections
24988         * docs/gst/gstreamer-sections.txt: Remove old sections
24989         * docs/gst/tmpl/gstobject.sgml: update
24990         * docs/gst/tmpl/gstplugin.sgml: update
24991         * docs/gst/tmpl/gstpluginfeature.sgml: update
24992         * docs/random/ds/0.9-suggested-changes: update.
24993         * gst/Makefile.am: remove memchunk and trashstack, since they're
24994           not used.
24995         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24996         * gst/gst.h: don't include some headers
24997         * gst/gstchildproxy.c: add gstmarshal.h
24998         * gst/gstclock.c: Don't use memchunks
24999         * gst/gstminiobject.c: Add some docs
25000         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25001         * gst/gstobject.h: same
25002         * gst/gstplugin.c: include gstmacros.h
25003         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25004         * gst/gstquery.c: don't use memchunks
25005         * gst/gstregistry.c: rename gst_registry_deinit()
25006         * gst/gstregistry.h: same
25007
25008 2005-09-19  David Schleef  <ds@schleef.org>
25009
25010         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25011         * docs/libs/gstreamer-libs-sections.txt:
25012         * docs/libs/tmpl/gstgetbits.sgml:
25013         * docs/libs/tmpl/gstputbits.sgml:
25014
25015 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25016
25017         * win32/gstenumtypes.c:
25018         * win32/gstenumtypes.h:
25019           Update.
25020
25021 2005-09-19  Wim Taymans  <wim@fluendo.com>
25022
25023         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25024         Automatically PAUSE and RESUME a pipeline when a flushing seek
25025         is performed.
25026
25027 2005-09-19  Andy Wingo  <wingo@pobox.com>
25028
25029         * gst/gstregistry.h: Spacing fixen.
25030
25031 2005-09-19  Wim Taymans  <wim@fluendo.com>
25032
25033         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25034         Handle state change failure more correctly.
25035
25036 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25037
25038         * check/Makefile.am:
25039         * check/pipelines/cleanup.c: (run_pipeline):
25040         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25041         (GST_START_TEST):
25042           enable cleanup again after fixing the leak
25043         * docs/README:
25044           some more info on docs
25045
25046 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25047
25048         * check/Makefile.am:
25049           re-enable tests now that leaks are plugged
25050         * check/gst/gst.c:
25051         * check/gst/gstbin.c:
25052         * check/gst/gstpipeline.c:
25053           add some more tests while fixing leaks
25054         * common/check.mak:
25055           make sure binaries are uptodate when valgrinding/gdbing
25056         * gst/gst.c:
25057         * gst/gstelementfactory.c:
25058           remove a ref too many, and add a FIXME for when we get
25059           round to disposing of classes
25060         * gst/gstplugin.c:
25061           fix the refcounting when loading a plugin from a file and
25062           the code pretends that the pointer is the same even though
25063           of course it can change
25064         * gst/gstpluginfeature.c:
25065           unref plugins marked cached (a bit confusing as a name)
25066           as the docs state should be done
25067           various doc additions to explain refcounting
25068         * gst/gstregistry.c:
25069         * gst/gstregistryxml.c:
25070           debugging
25071
25072 2005-09-19  Wim Taymans  <wim@fluendo.com>
25073
25074         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25075         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25076         (send_messages), (GST_START_TEST), (gstbus_suite):
25077         * check/gst/gstpipeline.c: (GST_START_TEST):
25078         * check/pipelines/cleanup.c: (run_pipeline):
25079         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25080         (GST_START_TEST):
25081         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25082         (gst_bus_source_check), (gst_bus_source_dispatch),
25083         (gst_bus_create_watch), (gst_bus_add_watch_full),
25084         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25085         * gst/gstbus.h:
25086         * tools/gst-launch.c: (event_loop):
25087         * tools/gst-md5sum.c: (event_loop):
25088         GstBusHandler -> GstBusFunc, return value has the same meaning as
25089         any other GSource (FALSE == remove source).
25090         _add_watch() and _add_watch_full() now take a MessageType mask to
25091         only handle specific types of messages.
25092         _poll() returns the GstMessage instead of the message type to avoid
25093         race conditions.
25094         _have_pending() takes a MessageType mask now too.
25095         Added testsuite for multiple bus watches.
25096         Fix testsuites and applications for new bus API.
25097
25098 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25099
25100         * check/Makefile.am:
25101           mark a bunch of the tests as to fix until we fix them
25102
25103 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25104
25105         * common/check.mak:
25106           use GST_PLUGIN settings for valgrind tests as well, so we're
25107           valgrinding the correct thing
25108         * gst/gst.c: (init_post):
25109           plug another leak
25110
25111 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25112
25113         * gst/gst.c: (init_post), (gst_deinit):
25114         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25115         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25116         * gst/gstindex.c: (gst_index_factory_class_init),
25117         (gst_index_factory_finalize):
25118         * gst/gstobject.c: (gst_object_dispose):
25119         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25120         (gst_plugin_load_file), (gst_plugin_desc_free):
25121         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25122         (gst_plugin_feature_finalize):
25123         * gst/gstregistry.c: (gst_registry_class_init),
25124         (gst_registry_init), (gst_registry_finalize),
25125         (gst_registry_get_default), (gst_registry_deinit):
25126         * gst/gstregistry.h:
25127         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25128           various cleanups and memleak plugging.  make valgrind is happy now.
25129
25130 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25131
25132         * common/check.mak:
25133           add a check-valgrind target
25134
25135 2005-09-18  David Schleef  <ds@schleef.org>
25136
25137         * tools/gst-inspect.c: Revert the GOption code.
25138
25139 2005-09-17  David Schleef  <ds@schleef.org>
25140
25141         * check/Makefile.am: Fix environment variables.
25142         * check/gst/gstplugin.c: Fix for API changes.
25143         * tools/gst-inspect.c: Fix for API changes.
25144         * tools/gst-xmlinspect.c: Fix for API changes.
25145         * gst/gstelementfactory.c:
25146         * gst/gstplugin.c:
25147         * gst/gstplugin.h:
25148         * gst/gstpluginfeature.c:
25149         * gst/gstpluginfeature.h:
25150         * gst/gstregistry.c:
25151         * gst/gstregistry.h:
25152         * gst/gstregistryxml.c:
25153         * gst/gsttypefind.c:
25154         * gst/gsttypefindfactory.c:
25155         * gst/indexers/gstfileindex.c:
25156         * gst/indexers/gstmemindex.c:
25157         * gst/schedulers/Makefile.am:
25158           Change registry to keep track of both plugins and features,
25159           removing the feature tracking from plugins themselves.
25160
25161 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25162
25163         * check/Makefile.am:
25164         * tools/gst-register.1.in:
25165           remove gst-register
25166
25167 2005-09-15  David Schleef  <ds@schleef.org>
25168
25169         * check/gst/gstplugin.c:
25170         * gst/gstelementfactory.c:
25171         * gst/gstplugin.c:
25172         * gst/gstpluginfeature.c:
25173         * gst/gstregistry.c:
25174           Getting tired of debugging.  Disabled all the unreffing of
25175           plugins and features, which fixes the segfaults, but of
25176           course leaks like crazy.  At least playbin works.
25177
25178 2005-09-15  David Schleef  <ds@schleef.org>
25179
25180         * check/gst/gstplugin.c: (register_check_elements),
25181         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25182         More testing
25183         * gst/elements/gsttypefindelement.c: Fix refcounting.
25184         * gst/gsttypefind.c:
25185         * gst/gsttypefindfactory.c:
25186         * gst/gsttypefindfactory.h:
25187
25188 2005-09-15  David Schleef  <ds@schleef.org>
25189
25190         * gst/gstindex.c: get refcounting correct.
25191         * gst/gstregistry.c: Handle the case where a feature/plugin is
25192           not found.
25193
25194 2005-09-15  David Schleef  <ds@schleef.org>
25195
25196         * check/Makefile.am:
25197         * check/gst/gstplugin.c: Add test
25198         * gst/gstplugin.c: Fix problems noticed by testsuite
25199         * gst/gstplugin.h:
25200         * gst/gstregistry.c: 
25201         * gst/gstregistry.h:
25202
25203 2005-09-15  David Schleef  <ds@schleef.org>
25204
25205         * gst/gstplugin.c: Implement semi-decent recounting and locking
25206           in plugins and plugin features.
25207         * gst/gstplugin.h:
25208         * gst/gstpluginfeature.c:
25209         * gst/gstpluginfeature.h:
25210         * gst/gstregistry.c:
25211
25212 2005-09-15  Michael Smith <msmith@fluendo.com>
25213
25214         * gst/gstregistry.c: (gst_registry_get_feature_list):
25215           Implement this. Makes oggdemux work; decodebin still broken.
25216
25217 2005-09-14  David Schleef  <ds@schleef.org>
25218
25219         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25220           #316076)
25221         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25222         * gst/check/Makefile.am:
25223         * libs/gst/controller/Makefile.am:
25224         * libs/gst/dataprotocol/Makefile.am:
25225
25226 2005-09-14  David Schleef  <ds@schleef.org>
25227
25228         * configure.ac: Remove getbits library.  Nothing uses it, and
25229           it should be in something like liboil if someone did want
25230           to use it.
25231         * libs/gst/Makefile.am:
25232         * libs/gst/getbits/Makefile.am:
25233         * libs/gst/getbits/gbtest.c:
25234         * libs/gst/getbits/getbits.c:
25235         * libs/gst/getbits/getbits.h:
25236         * libs/gst/getbits/gstgetbits_generic.c:
25237         * libs/gst/getbits/gstgetbits_i386.s:
25238         * libs/gst/getbits/gstgetbits_inl.h:
25239
25240 2005-09-14  David Schleef  <ds@schleef.org>
25241
25242         * gst/Makefile.am: Dist glib-compat.h
25243
25244 2005-09-14  David Schleef  <ds@schleef.org>
25245
25246         * configure.ac: Remove gst/registries, since it's no longer used.
25247         * gst/registries/Makefile.am:
25248         * gst/registries/gstlibxmlregistry.c:
25249         * gst/registries/gstlibxmlregistry.h:
25250         * gst/registries/gstxmlregistry.c:
25251         * gst/registries/gstxmlregistry.h:
25252         * gst/registries/registrytest.c:
25253
25254 2005-09-14  David Schleef  <ds@schleef.org>
25255
25256         * gst/glib-compat.h:
25257         * gst/gstregistryxml.c:
25258           Convergence is near.  Seriously.
25259
25260 2005-09-14  David Schleef  <ds@schleef.org>
25261
25262         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25263         * gst/glib-compat.h:
25264           Attempt #4 to appease the buildbots.
25265
25266 2005-09-14  David Schleef  <ds@schleef.org>
25267
25268         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25269           Attempt #3.
25270
25271 2005-09-14  David Schleef  <ds@schleef.org>
25272
25273         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25274         Attempt #2.
25275
25276 2005-09-14  David Schleef  <ds@schleef.org>
25277
25278         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25279           the new functions.
25280
25281 2005-09-14  David Schleef  <ds@schleef.org>
25282
25283         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25284         * gst/glib-compat.h: Add some functions that are in newer versions
25285           of glib than we care to require.
25286         * gst/gstregistryxml.c: Use them.
25287
25288 2005-09-14  David Schleef  <ds@schleef.org>
25289
25290         * po/POTFILES.in: remove gst-register.c
25291
25292 2005-09-14  David Schleef  <ds@schleef.org>
25293
25294         * docs/gst/gstreamer-docs.sgml:
25295         * docs/gst/gstreamer-sections.txt:
25296         * docs/gst/gstreamer.types:
25297         * docs/gst/tmpl/gstelement.sgml:
25298         * docs/gst/tmpl/gstplugin.sgml:
25299         * docs/gst/tmpl/gstpluginfeature.sgml:
25300           Documentation updates for registry changes.
25301
25302 2005-09-14  David Schleef  <ds@schleef.org>
25303
25304         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25305           because we don't require glib-2.8.
25306
25307 2005-09-14  David Schleef  <ds@schleef.org>
25308
25309         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25310           registries directory.
25311
25312 2005-09-14  David Schleef  <ds@schleef.org>
25313
25314         * check/Makefile.am:
25315         * check/generic/states.c:
25316         * gst/Makefile.am:
25317         * gst/gst.c:
25318         * gst/gst.h:
25319         * gst/gst_private.h:
25320         * gst/gstelementfactory.c:
25321         * gst/gstindex.c:
25322         * gst/gstinfo.c:
25323         * gst/gstplugin.c:
25324         * gst/gstplugin.h:
25325         * gst/gstpluginfeature.c:
25326         * gst/gstpluginfeature.h:
25327         * gst/gstregistry.c:
25328         * gst/gstregistry.h:
25329         * gst/gstregistrypool.c: remove
25330         * gst/gstregistrypool.h: remove
25331         * gst/gsttypefind.c:
25332         * gst/gsttypefindfactory.c:
25333         * gst/gsturi.c:
25334         * tools/Makefile.am:
25335         * tools/gst-compprep.c:
25336         * tools/gst-inspect.c:
25337         * tools/gst-register.c: remove
25338         * tools/gst-xmlinspect.c:
25339           Registry rewrite.  Changes registry from being a file created
25340           by a tool into a simple cache file created automatically by 
25341           libgstreamer.  Removed gst-register (because it's no longer
25342           needed).  Remove registry pools, because we only have one
25343           registry implementation (XML).  Fix up other subsystems as
25344           necessary.
25345
25346 2005-09-13  Michael Smith <msmith@fluendo.com>
25347
25348         * gst/gstconfig.h.in:
25349           Don't Use windows linking attributes for MinGW. Fixes #316157
25350
25351 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25352
25353         * gst/gstutils.c: (set_state_async_thread_func),
25354         (gst_element_set_state_async):
25355           Apparently people think it's better if this function doesn't
25356           try to set the state to whatever state was asked for on the first
25357           call to this function for any object.  Seriously.
25358
25359 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25360
25361         * check/gst/gstpipeline.c: (GST_START_TEST):
25362         * docs/gst/gstreamer-sections.txt:
25363         * gst/gstutils.c: (set_state_async_thread_func),
25364         (gst_element_set_state_async):
25365         * gst/gstutils.h:
25366           add a "gst_element_set_state_async" method that
25367           sets the state and starts a thread to make sure the state
25368           change completes as best as it can
25369
25370 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25371
25372         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25373           codify design+behaviour in testsuite after discussion
25374
25375 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25376
25377         * docs/gst/tmpl/gstelement.sgml:
25378         * docs/manual/appendix-quotes.xml:
25379           add a quote
25380         * gst/gstelement.c: (gst_element_set_state):
25381           add some debug
25382
25383 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25384
25385         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25386         (gst_base_transform_prepare_output_buf),
25387         (gst_base_transform_handle_buffer):
25388         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25389         (gst_capsfilter_prepare_buf):
25390           Remove the requirement for sub-classes to call the parent
25391           implementation of prepare_output_buffer with a wrapper function.
25392           
25393         * gst/gsttaglist.h:
25394         * gst/gsttagsetter.h:
25395           Fix #define wrapper
25396
25397 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25398
25399         * docs/gst/gstreamer-sections.txt:
25400           more doc cleanups
25401
25402 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25403
25404         * docs/gst/gstreamer-sections.txt:
25405         * docs/gst/tmpl/gstelement.sgml:
25406         * docs/gst/tmpl/gstplugin.sgml:
25407         * gst/gstminiobject.c:
25408         * gst/gstvalue.h:
25409           docs now stop throwing warnings
25410
25411 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25412
25413         * docs/gst/gstreamer-sections.txt:
25414         * docs/gst/gstreamer.types:
25415         * docs/gst/tmpl/gstpad.sgml:
25416         * docs/gst/tmpl/gsttypes.sgml:
25417         * gst/base/gstadapter.h:
25418         * gst/base/gstbasesink.h:
25419         * gst/base/gstbasesrc.h:
25420         * gst/gstbin.h:
25421         * gst/gstbuffer.h:
25422         * gst/gstbus.h:
25423         * gst/gstcaps.h:
25424         * gst/gstclock.h:
25425         * gst/gstelement.h:
25426         * gst/gstevent.h:
25427         * gst/gstmessage.h:
25428         * gst/gstpad.h:
25429         * gst/gststructure.c:
25430         * gst/registries/gstlibxmlregistry.h:
25431           various documentation fixes
25432
25433 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25434
25435         * docs/gst/gstreamer-sections.txt:
25436         * docs/gst/tmpl/gstvalue.sgml:
25437           rearrange gstvalue section
25438         * gst/gstutils.c: (gst_element_state_get_name):
25439           NONE -> VOID
25440         * gst/gstvalue.c: (_gst_value_initialize):
25441         * gst/gstvalue.h:
25442           doc updates
25443
25444 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25445
25446         * check/gst-libs/controller.c:
25447           Header include fix.
25448         * gst/base/gstbasetransform.c:
25449         (gst_base_transform_default_prepare_buf),
25450         (gst_base_transform_handle_buffer):
25451         * gst/base/gstbasetransform.h:
25452           Some more basetransform changes and fixes to enable sub-classes
25453           that modify buffer metadata only.
25454         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25455         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25456         (gst_capsfilter_prepare_buf):
25457           If the output pad has fixed allowed caps and input buffers 
25458           don't have any, set the fixed caps on outgoing buffers.
25459
25460 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25461         * check/elements/identity.c: (GST_START_TEST):
25462           Make the error a little clearer when the test fails because
25463           identity made a copy of the buffer.
25464         * docs/gst/gstreamer-sections.txt:
25465           New symbols in gstbasetransform.h
25466         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25467         (gst_base_transform_init), (gst_base_transform_transform_size),
25468         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25469         (gst_base_transform_default_prepare_buf),
25470         (gst_base_transform_get_unit_size),
25471         (gst_base_transform_buffer_alloc),
25472         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25473         (gst_base_transform_change_state),
25474         (gst_base_transform_set_passthrough),
25475         (gst_base_transform_set_in_place),
25476         (gst_base_transform_is_in_place):
25477         * gst/base/gstbasetransform.h:
25478           Change BaseTransform to separate in_place operate from same_caps
25479           output. in_place implies that the element can perform the transform
25480           on incoming buffers in-place, even if the caps on the output are
25481           different.
25482           Sub-class elements can now implement special buffer allocation
25483           methods for outgoing buffers if they wish to.
25484           Big documentation addition.
25485         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25486         * gst/elements/gstelements.c:
25487           Changes for basetransform modifications.
25488         * gst/elements/Makefile.am:
25489         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25490           Compile fix. Extra debug output.
25491
25492 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25493
25494         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25495         (gst_pad_suite):
25496           add tests for valid pad naming
25497         * gst/check/gstcheck.c: (gst_check_log_message_func),
25498         (gst_check_log_critical_func):
25499           add ASSERT_WARNING
25500           remove printing of code, it is fragile when the code contains
25501           % and the line number is enough info
25502         * gst/check/gstcheck.h:
25503         * gst/gstpad.c: (gst_pad_template_new):
25504           fix memleaks
25505
25506 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25507
25508         * configure.ac:
25509           say what CHECK flags we use
25510         * docs/libs/gstreamer-libs.types:
25511         * libs/gst/controller/Makefile.am:
25512         * libs/gst/controller/gst-controller.c:
25513         * libs/gst/controller/gst-controller.h:
25514         * libs/gst/controller/gst-helper.c:
25515         * libs/gst/controller/gst-interpolation.c:
25516         * libs/gst/controller/gstcontroller.c:
25517         * libs/gst/controller/gsthelper.c:
25518         * libs/gst/controller/gstinterpolation.c:
25519         * tools/gst-inspect.c: (print_plugin_info):
25520           we don't use dashes in header names
25521
25522 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25523
25524         * check/Makefile.am:
25525         * check/gst/.cvsignore:
25526         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25527         (gst_pipeline_suite), (main):
25528           adding a test for pipelines and state changes
25529         * gst/gstutils.c: (get_state_func):
25530           add some debugging
25531         * gstreamer.spec.in:
25532           fix up spec file
25533
25534 2005-09-08  Michael Smith <msmith@fluendo.com>
25535
25536         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25537         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25538         (gst_file_src_is_seekable), (gst_file_src_get_size),
25539         (gst_file_src_start):
25540         * gst/elements/gstfilesrc.h:
25541           Various fixes for unseekable, unmmapable, and non-normal files, so
25542           that fallback to read() rather than mmap() works.
25543         * gst/gstevent.c: (gst_event_new_newsegment):
25544           Allow newsegment events with segment_start == segment_end, as will
25545           correctly happen if you use filesrc on a zero-size file, for
25546           example.
25547
25548 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25549
25550         * gst/gstplugin.c: (gst_plugin_load_file):
25551           Call g_module_close when we don't load the module
25552
25553         * gst/registries/gstlibxmlregistry.c:
25554         (gst_xml_registry_get_property):
25555           Port leak fix from 0.8
25556
25557 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25558
25559         * docs/gst/gstreamer-docs.sgml:
25560         * docs/gst/tmpl/.cvsignore:
25561         * docs/gst/tmpl/gsttrace.sgml:
25562         * docs/gst/tmpl/gsttrashstack.sgml:
25563         * gst/Makefile.am:
25564         * gst/gst.h:
25565         * gst/gstelement.h:
25566         * gst/gstevent.h:
25567         * gst/gstmessage.c:
25568         * gst/gstmessage.h:
25569         * gst/gsttag.c:
25570         * gst/gsttag.h:
25571         * gst/gsttaginterface.c:
25572         * gst/gsttaginterface.h:
25573         * gst/gsttaglist.c:
25574         * gst/gsttaglist.h:
25575         * gst/gsttagsetter.c:
25576         * gst/gsttagsetter.h:
25577         * gst/gsttrace.c:
25578         * gst/gsttrace.h:
25579         * gst/gsttrashstack.c:
25580           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25581           inlined docs for gsttrace, gsttrashstack
25582
25583 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25584
25585         * gst/Makefile.am:
25586         * gst/elements/gstbufferstore.h:
25587         * gst/elements/gsttypefindelement.c:
25588         * gst/elements/gsttypefindelement.h:
25589         * gst/gst.h:
25590         * gst/gsttypefind.c:
25591         * gst/gsttypefind.h:
25592         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25593         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25594         (gst_type_find_factory_dispose),
25595         (gst_type_find_factory_unload_thyself),
25596         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25597         (gst_type_find_factory_get_caps),
25598         (gst_type_find_factory_get_extensions),
25599         (gst_type_find_factory_call_function):
25600         * gst/gsttypefindfactory.h:
25601         * gst/registries/gstlibxmlregistry.c:
25602         * gst/registries/gstxmlregistry.c:
25603           splitted gsttypefind into gsttypefind, gsttypefindfactory
25604
25605 2005-09-07  Andy Wingo  <wingo@pobox.com>
25606
25607         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25608         condition whereby the pad's task function is entered before the
25609         pad_mode variable was set.
25610
25611 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25612
25613         * gst/gstpad.c: (gst_pad_alloc_buffer):
25614           Catch misbehaving pad_alloc functions that don't
25615           set up caps and do it for them.
25616
25617 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25618
25619         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25620           test for pipe!=NULL
25621         * docs/gst/tmpl/.cvsignore:
25622         * docs/gst/tmpl/gstmemchunk.sgml:
25623         * docs/gst/tmpl/gstparse.sgml:
25624         * docs/gst/tmpl/gsttaglist.sgml:
25625         * docs/gst/tmpl/gsttagsetter.sgml:
25626         * docs/gst/tmpl/gsttypefind.sgml:
25627         * docs/gst/tmpl/gsttypefindfactory.sgml:
25628         * gst/gstmemchunk.c:
25629         * gst/gstparse.c:
25630         * gst/gsttag.c:
25631         * gst/gsttaginterface.c:
25632         * gst/gsttypefind.c:
25633         * gst/gsttypefind.h:
25634           inlined more docs
25635
25636 === release 0.9.2 ===
25637
25638 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25639
25640         * NEWS:
25641         * RELEASE:
25642         * configure.ac:
25643           releasing 0.9.2, "South"
25644
25645 2005-09-05  Andy Wingo  <wingo@pobox.com>
25646
25647         * gst/registries/gstxmlregistry.h:
25648         * gst/registries/gstxmlregistry.c: Um... resurrect...
25649         
25650         * gst/registries/gstxmlregistry.h:
25651         * gst/registries/gstxmlregistry.c: and update to newer API.
25652         Incidentally they should be a bit faster now that they don't have
25653         to parse the caps.
25654         
25655 2005-09-05  Andy Wingo  <wingo@pobox.com>
25656
25657         * gst/registries/gstxmlregistry.h:
25658         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25659         replaced by the libxml registry a while back
25660
25661 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25662
25663         * docs/gst/tmpl/gstplugin.sgml:
25664         * gst/elements/gstelements.c:
25665         * gst/gst.c:
25666         * gst/gstplugin.c: (gst_plugin_register_func),
25667         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25668         (gst_plugin_get_source):
25669         * gst/gstplugin.h:
25670         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25671         (gst_xml_registry_save_plugin):
25672         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25673         (gst_xml_registry_save_plugin):
25674         * tools/gst-inspect.c: (print_plugin_info):
25675           add a "source" plugin description field, to represent the source
25676           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25677           will set it to PACKAGE, which is automake's idea of the name of
25678           the source project.
25679
25680 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25681
25682         * Makefile.am:
25683         * autogen.sh:
25684         * configure.ac:
25685         * docs/Makefile.am:
25686         * docs/faq/Makefile.am:
25687         * docs/gst/tmpl/gstelement.sgml:
25688         * docs/gst/tmpl/gsttypes.sgml:
25689         * docs/htmlinstall.mak:
25690         * docs/manual/Makefile.am:
25691         * docs/pwg/Makefile.am:
25692           reorganize doc build a little
25693           split out docbook and gtk-doc stuff
25694           have two separate --enable's and enable them through autogen
25695           but disable by default in configure (to be similar to other
25696           projects)
25697         * gstreamer.spec.in:
25698           clean up docs install
25699         * po/af.po:
25700         * po/az.po:
25701         * po/ca.po:
25702         * po/cs.po:
25703         * po/de.po:
25704         * po/en_GB.po:
25705         * po/fr.po:
25706         * po/it.po:
25707         * po/nb.po:
25708         * po/nl.po:
25709         * po/ru.po:
25710         * po/sq.po:
25711         * po/sr.po:
25712         * po/sv.po:
25713         * po/tr.po:
25714         * po/uk.po:
25715         * po/vi.po:
25716           translation updates
25717
25718 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25719
25720         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25721           Add comment.
25722           
25723         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25724         (gst_fake_sink_change_state):
25725           Make state change function thread-safe.
25726           
25727         * gst/gstpad.c: (gst_pad_alloc_buffer):
25728           Set offset on generic buffer allocated by fallback.
25729
25730 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25731
25732         * docs/gst/gstreamer-sections.txt:
25733         * docs/gst/tmpl/gstelement.sgml:
25734         * gst/gstpad.c:
25735         * libs/gst/controller/gst-controller.c:
25736         (gst_controlled_property_set_interpolation_mode),
25737         (gst_controlled_property_new),
25738         (gst_controller_find_controlled_property):
25739          run the wingo-magic script against the docs
25740
25741 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25742
25743         * docs/gst/gstreamer-docs.sgml:
25744         * docs/gst/gstreamer-sections.txt:
25745         * docs/gst/tmpl/.cvsignore:
25746         * docs/gst/tmpl/gstelementdetails.sgml:
25747         * docs/gst/tmpl/gstelementfactory.sgml:
25748         * gst/gst.c:
25749         * gst/gstbus.c:
25750         * gst/gstelementfactory.c:
25751         * gst/gstelementfactory.h:
25752           merged elementdetails docs into elementfactory docs
25753           inlined both
25754
25755 2005-09-02  Andy Wingo  <wingo@pobox.com>
25756
25757         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25758         consider this enum an enum and not a flags.
25759
25760 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25761
25762         * docs/gst/gstreamer-docs.sgml:
25763         * docs/gst/tmpl/.cvsignore:
25764         * docs/gst/tmpl/gstghostpad.sgml:
25765         * docs/gst/tmpl/gstiterator.sgml:
25766         * docs/gst/tmpl/gstmacros.sgml:
25767         * docs/gst/tmpl/gstrealpad.sgml:
25768         * docs/gst/tmpl/gstregistry.sgml:
25769         * docs/gst/tmpl/gstregistrypool.sgml:
25770         * docs/gst/tmpl/gststructure.sgml:
25771         * docs/gst/tmpl/gstsystemclock.sgml:
25772         * docs/gst/tmpl/gsttrace.sgml:
25773         * gst/gstghostpad.c:
25774         * gst/gstmacros.h:
25775         * gst/gstmemchunk.c:
25776         * gst/gstmemchunk.h:
25777         * gst/gstqueue.c:
25778         * gst/gstregistry.c:
25779         * gst/gstregistrypool.c:
25780         * gst/gststructure.c:
25781         * gst/gstsystemclock.c:
25782           more docs inlined
25783
25784 2005-09-02  Andy Wingo  <wingo@pobox.com>
25785
25786         * gst/gstelement.h (GstState): Renamed from GstElementState,
25787         changed to be a normal enum instead of flags.
25788         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25789         munged to be GST_STATE_CHANGE_*.
25790         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25791         work with the new state representation.
25792         (GstStateChange): New enumeration of possible state transitions.
25793         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25794         (GstElementClass::change_state): Pass the GstStateChange along as
25795         an argument. Helps language bindings, so they don't have to use
25796         tricky lock-needing macros like GST_STATE_CHANGE ().
25797
25798         * scripts/update-states (file): New script. Run it on a file to
25799         update it for state naming and API changes. Updates files in
25800         place.
25801
25802         * All files updated for the new API.
25803
25804 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25805
25806         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25807         * gst/gstutils.c: (gst_util_set_value_from_string),
25808         (gst_util_set_object_arg):
25809           fix a bunch of unchecked return values
25810         * tools/gst-complete.c: (main):
25811         * gstreamer.spec.in:
25812           clean up a little
25813
25814 2005-09-01  Wim Taymans  <wim@fluendo.com>
25815
25816         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25817         (gst_base_sink_event), (gst_base_sink_do_sync),
25818         (gst_base_sink_handle_event):
25819         * gst/base/gstbasesink.h:
25820         Handle newsegments more correctly.
25821
25822         * gst/gstbus.c:
25823         Fix docs.
25824
25825         * gst/gstevent.c: (gst_event_new_newsegment):
25826         A newsegment cannot have a start_time of -1
25827
25828 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25829
25830         * win32/gstenumtypes.c:
25831         * win32/gstenumtypes.h:
25832           Update
25833
25834 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25835
25836         * libs/gst/controller/gst-controller.c:
25837         (gst_controlled_property_set_interpolation_mode),
25838         (gst_controlled_property_new):
25839          fixed boolean again
25840
25841 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25842
25843         * docs/faq/gst-uninstalled:
25844           add -good
25845         * gst/gstevent.c:
25846         * gst/gstevent.h:
25847           remove wrong docs
25848         * gst/gstutils.c: (gst_element_link_filtered):
25849         * gst/gstutils.h:
25850           add gst_element_link_filtered
25851
25852 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25853
25854         * docs/gst/gstreamer-docs.sgml:
25855         * docs/gst/gstreamer-sections.txt:
25856         * docs/gst/tmpl/.cvsignore:
25857         * docs/gst/tmpl/gsterror.sgml:
25858         * docs/gst/tmpl/gstfilter.sgml:
25859         * docs/gst/tmpl/gsturihandler.sgml:
25860         * docs/gst/tmpl/gsturitype.sgml:
25861         * docs/gst/tmpl/gstutils.sgml:
25862         * docs/gst/tmpl/gstxml.sgml:
25863         * gst/gsterror.c:
25864         * gst/gsterror.h:
25865         * gst/gstfilter.c:
25866         * gst/gsturi.c:
25867         * gst/gsturitype.c:
25868         * gst/gstutils.c:
25869         * gst/gstxml.c:
25870           inlined more docs, fixed double id-ref
25871
25872 2005-08-31  Wim Taymans  <wim@fluendo.com>
25873
25874         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25875         (gst_base_transform_handle_buffer):
25876         Passthrough elements don't need the caps as they don't care.
25877
25878 2005-08-31  Wim Taymans  <wim@fluendo.com>
25879
25880         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25881         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25882         Don't leak refcounts on buffers.
25883
25884 2005-08-31  Wim Taymans  <wim@fluendo.com>
25885
25886         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25887         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25888         (gst_base_transform_chain), (gst_base_transform_change_state):
25889         * gst/base/gstbasetransform.h:
25890         Handle the case where we are not negotiated more gracefully.
25891
25892 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25893
25894         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25895         (gst_file_src_map_region):
25896           Set READONLY flag on mmap'ed buffers, otherwise
25897           gst_buffer_make_writable() won't work properly (#314708).
25898
25899 2005-08-31  Wim Taymans  <wim@fluendo.com>
25900
25901         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25902         passthrough elements can even do inplace on non writable
25903         buffers (as they don't touch them).
25904
25905 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25906
25907         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25908         (gst_test_mono_source_set_property),
25909         (gst_test_mono_source_class_init), (GST_START_TEST),
25910         (gst_controller_suite):
25911           more tests (hehe I have the most)
25912         * gst/gstbus.c:
25913           describe popping messages whenusing mulltiple sources
25914         * libs/gst/controller/gst-controller.c:
25915         (gst_controlled_property_set_interpolation_mode),
25916         (gst_controlled_property_new):
25917         * libs/gst/controller/gst-controller.h:
25918         * libs/gst/controller/gst-interpolation.c:
25919           implement boolean properties
25920
25921 2005-08-31  Wim Taymans  <wim@fluendo.com>
25922
25923         * gst/gstminiobject.c: (gst_mini_object_ref):
25924         Cannot assert that the refcount has to be positive
25925         since a disposed object can be resurrected.
25926
25927 2005-08-31  Wim Taymans  <wim@fluendo.com>
25928
25929         * gst/gstpad.c: (gst_pad_init):
25930         Revert change, need to first fix badly behaving 
25931         apps.
25932
25933 2005-08-30  Wim Taymans  <wim@fluendo.com>
25934
25935         * check/elements/fakesrc.c: (setup_fakesrc):
25936         * check/elements/identity.c: (setup_identity):
25937         Activate pads before using them.
25938
25939 2005-08-30  Wim Taymans  <wim@fluendo.com>
25940
25941         * gst/base/gstadapter.c: (gst_adapter_flush):
25942         Flushing out 0 bytes is ok for this function.
25943
25944         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25945         no newsegment gives a warning and sets the start/stop to 
25946         invalid.
25947
25948         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25949         (gst_base_transform_set_passthrough):
25950         Some debug info.
25951
25952         * gst/gstminiobject.c: (gst_mini_object_ref):
25953         Check refcount here too.
25954
25955         * gst/gstpad.c: (gst_pad_init):
25956         Pads are initially flushing and refusing data.
25957
25958         * gst/gstutils.c: (gst_element_link_pads_filtered):
25959         When adding a capsfilter element make sure it has the
25960         same state as the parent bin.
25961
25962 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25963
25964         * docs/gst/tmpl/.cvsignore:
25965         * docs/gst/tmpl/gstformat.sgml:
25966         * docs/gst/tmpl/gstversion.sgml:
25967         * gst/gstbus.h:
25968         * gst/gstformat.c:
25969         * gst/gstformat.h:
25970         * gst/gstversion.h.in:
25971           more docs and two more inlined
25972
25973 2005-08-30  Wim Taymans  <wim@fluendo.com>
25974
25975         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25976         Don't sync to clock.
25977
25978 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25979
25980         * docs/gst/gstreamer-sections.txt:
25981           ultral33t func10ns deserve to appear in the docs actually
25982         * docs/gst/tmpl/.cvsignore:
25983         * docs/gst/tmpl/gstcompat.sgml:
25984         * docs/gst/tmpl/gstconfig.sgml:
25985         * gst/check/gstcheck.c:
25986         * gst/gstcompat.h:
25987         * gst/gstconfig.h.in:
25988           inlined more docs
25989
25990 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25991
25992         * docs/gst/tmpl/.cvsignore:
25993         * docs/gst/tmpl/gstquery.sgml:
25994         * docs/gst/tmpl/gstutils.sgml:
25995         * gst/gstquery.c:
25996         * gst/gstquery.h:
25997           inlined and extended docs
25998
25999 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26000
26001         * check/gst-libs/controller.c: (GST_START_TEST),
26002         (gst_controller_suite):
26003           more tests
26004         * docs/gst/tmpl/gstutils.sgml:
26005         * docs/libs/gstreamer-libs-sections.txt:
26006         * docs/libs/tmpl/gstdataprotocol.sgml:
26007           include path fixes
26008         * examples/controller/audio-example.c: (main):
26009           controller example works now
26010         * gst/gstclock.h:
26011           doc fixes
26012         * tools/gst-inspect.c: (print_element_properties_info):
26013           show param spec flags
26014
26015 2005-08-29  Andy Wingo  <wingo@pobox.com>
26016
26017         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26018
26019 2005-08-28  Andy Wingo  <wingo@pobox.com>
26020
26021         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26022         as having two arguments instead of just one. Allows superclasses
26023         to access information on subclasses -- see the terrible for() loop
26024         in gtype.c:g_type_create_instance for the reason why. All callers
26025         changed.
26026
26027 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26028
26029         * docs/design/part-messages.txt:
26030           update info
26031         * docs/gst/tmpl/.cvsignore:
26032         * docs/gst/tmpl/gstcaps.sgml:
26033         * docs/gst/tmpl/gstclock.sgml:
26034         * gst/gstbus.c:
26035         * gst/gstcaps.c:
26036         * gst/gstcaps.h:
26037         * gst/gstclock.c:
26038         * gst/gstclock.h:
26039         * gst/gstmessage.c:
26040           added descriptions for bus and message
26041           inline caps and clock docs
26042
26043 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26044
26045         * gst/gstmessage.c:
26046         * gst/gstmessage.h:
26047           doc fixes
26048
26049 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26050
26051         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26052           fix div-by-zero
26053
26054 2005-08-26  Andy Wingo  <wingo@pobox.com>
26055
26056         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26057         element_set_state's return val.
26058         (test_2_elements): Add test that's been disabled for months.
26059
26060         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26061         can-activate-pull properties.
26062
26063         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26064         can-activate-pull properties. Implement is_seekable so fakesrc can
26065         operate in pull mode.
26066
26067         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26068         properties.
26069         (gst_base_sink_activate, gst_base_sink_activate_pull)
26070         (gst_base_sink_activate_push): Make activation mode choosing work.
26071         Cleanups.
26072         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26073         is right. Make pull mode work. Post an eos before pausing in pull
26074         mode.
26075         (gst_base_sink_change_state): Pay attention to the core's
26076         change_state() return val.
26077         
26078         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26079         has-getrange properties. Cleanups.
26080         
26081         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26082         has_getrange and replace with can_activate_pull and
26083         can_activate_push.
26084
26085         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26086         locking comments. Remove has_loop, has_chain and replace with
26087         can_activate_pull and can_activate_push.
26088
26089 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26090
26091         * configure.ac:
26092         * examples/Makefile.am:
26093         * examples/metadata/Makefile.am:
26094         * examples/metadata/read-metadata.c: (message_loop),
26095         (have_pad_handler), (make_pipeline), (print_tag), (main):
26096           Add metadata reading example that loops over a list of filenames,
26097           dumping any tags found.
26098
26099         * gst/gstbus.c: (gst_bus_dispose):
26100         * gst/gstelement.c: (gst_element_dispose):
26101           Release a few potentially-held references in dispose.
26102
26103 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26104
26105         * docs/gst/tmpl/gstminiobject.sgml:
26106           do *not* add tmpl/*.sgml files to CVS!
26107
26108 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26109
26110         * libs/gst/bytestream/.cvsignore:
26111         * libs/gst/bytestream/Makefile.am:
26112         * libs/gst/bytestream/adapter.c:
26113         * libs/gst/bytestream/adapter.h:
26114         * libs/gst/bytestream/bytestream.c:
26115         * libs/gst/bytestream/bytestream.h:
26116         * libs/gst/bytestream/filepad.c:
26117         * libs/gst/bytestream/filepad.h:
26118           removing obsolete files
26119
26120 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26121
26122         * docs/gst/gstreamer-docs.sgml:
26123         * docs/libs/gstreamer-libs-docs.sgml:
26124           disabed additional index entries again, as this makes docs-gen just
26125           slow and they aren't useful yet
26126         * docs/libs/gstreamer-libs-sections.txt:
26127           little -section.txt cleanup for libs
26128
26129 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26130
26131         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26132         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26133           fix up some debugging
26134         (gst_base_transform_get_unit_size),
26135         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26136         (gst_base_transform_handle_buffer):
26137         * gst/base/gstbasetransform.h:
26138           handle and store timed NEWSEGMENT events so that subclasses that
26139           calculate time by counting samples have a segment_start time they
26140           need to add to their timestamps - see audioresample
26141
26142 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26143
26144         * gst/gstbin.h:
26145           removed ';' from the end of macro defs
26146         * docs/gst/gstreamer-docs.sgml:
26147         * docs/gst/gstreamer-sections.txt:
26148         * docs/gst/tmpl/.cvsignore:
26149         * gst/gstbus.h:
26150         * gst/gstelement.c: (gst_element_class_init),
26151         (gst_element_set_state), (activate_pads),
26152         (gst_element_save_thyself):
26153         * gst/gstevent.c: (gst_event_new_newsegment):
26154         * gst/gstevent.h:
26155         * gst/gstiterator.c:
26156         * gst/gstiterator.h:
26157         * gst/gstpad.c:
26158         * gst/gstprobe.h:
26159         * gst/gstutils.c: (gst_pad_query_convert):
26160         * gst/gstutils.h:
26161           fixed parameter name mismatches between source, header and docs
26162           added some more docs, resolved the last batch of unused elements in
26163           docs (now someone needs to doc them)
26164
26165 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26166
26167         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26168         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26169           don't walk through the plugins backwards.  Where is all this
26170           reversed logic coming from ?
26171
26172 2005-08-25  Wim Taymans  <wim@fluendo.com>
26173
26174         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26175         (gst_base_transform_transform_size),
26176         (gst_base_transform_configure_caps),
26177         (gst_base_transform_get_unit_size),
26178         (gst_base_transform_buffer_alloc),
26179         (gst_base_transform_change_state):
26180         * gst/base/gstbasetransform.h:
26181         Cache caps unit_size.
26182         Make sure we cannot negotiate up and downstream at the
26183         same time.
26184
26185 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26186
26187         * gst/gst.c: (init_pre), (init_post):
26188           register the installed plugin path after the env var
26189         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26190         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26191           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26192           directories, so the tests can prefer uninstalled over installed
26193
26194 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26195
26196         * gst/base/gstbasetransform.h:
26197           comment
26198         * gst/gstpad.c:
26199           add to docs
26200
26201 2005-08-25  Wim Taymans  <wim@fluendo.com>
26202
26203         * gst/gstbin.c: (bin_bus_handler):
26204         Be a bit more conservative about the posted message.
26205         
26206         * gst/gstbus.c: (gst_bus_post):
26207         Some cleanups, warn wrong return values.
26208
26209 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26210
26211         * check/gst/gstbin.c: (GST_START_TEST):
26212         * gst/gstbin.c: (bin_bus_handler):
26213         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26214         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26215         (gst_message_new_warning), (gst_message_new_tag),
26216         (gst_message_new_state_changed), (gst_message_new_segment_start),
26217         (gst_message_new_segment_done), (gst_message_new_custom):
26218         * gst/gstmessage.h:
26219         * tools/gst-launch.c: (event_loop):
26220         * tools/gst-md5sum.c: (event_loop):
26221           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26222
26223 2005-08-25  Wim Taymans  <wim@fluendo.com>
26224
26225         * check/generic/states.c: (GST_START_TEST):
26226         Cleanup can be done at the end.
26227
26228         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26229         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26230         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26231         Oh boy.. Thanks for finding this, Thomas. 
26232
26233 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26234
26235         * docs/gst/gstreamer.types:
26236           added missing types
26237
26238 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26239
26240         * docs/gst/gstreamer-docs.sgml:
26241         * docs/gst/gstreamer-sections.txt:
26242         * docs/gst/tmpl/.cvsignore:
26243         * gst/gstbin.c:
26244         * gst/gstiterator.c:
26245         * gst/gstutils.c:
26246         * gst/registries/gstxmlregistry.h:
26247           added missing classes and symbols (123 more to go)
26248           removed removed symbols from section file
26249           fixed many doc-comments
26250
26251 2005-08-24  Wim Taymans  <wim@fluendo.com>
26252
26253         * check/generic/states.c: (GST_START_TEST):
26254         Make sure all tasks are stopped.
26255
26256         * check/gst/gstbin.c: (GST_START_TEST):
26257         Unref after usage for proper valgrinding.
26258
26259         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26260         Really wait for the task to stop before destroying the
26261         mutex.
26262
26263         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26264         (gst_queue_src_activate_push):
26265         Small cleanups. Don't stop the task when we did not start
26266         it.
26267
26268         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26269         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26270         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26271         (gst_task_join):
26272         * gst/gsttask.h:
26273         Protect the stream lock with the object lock.
26274         Disallow setting the stream lock when running.
26275         Add cleanup_all to wait for the threadpool to finish.
26276         Remove code to autoallocate a mutex if none was provided.
26277         Add _join() to wait for a task to stop.
26278         Protect the thread pool with a global lock.
26279
26280 2005-08-24  Wim Taymans  <wim@fluendo.com>
26281
26282         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26283         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26284         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26285         * gst/base/gstbasesink.h:
26286         Handle newsegment events correctly.
26287         Drop buffers out of the segment range.
26288
26289 2005-08-22  Andy Wingo  <wingo@pobox.com>
26290
26291         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26292         macro, implements an interface and gstimplementsinterface for a
26293         new type.
26294
26295 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26296
26297         * check/Makefile.am:
26298         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26299           add a test that does a bunch of state changes on elements
26300           needs some fixing for valgrind
26301         * check/states/sinks.c: (gst_object_suite):
26302           whitespace
26303         * gst/gstcaps.h:
26304           add prototype for gst_caps_is_equal_fixed
26305         * gst/gstplugin.c:
26306         * gst/gstregistrypool.c:
26307           doc fixes
26308
26309 2005-08-24  Andy Wingo  <wingo@pobox.com>
26310
26311         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26312         convert a negative value. Doesn't make much sense. Mostly this is
26313         here to force callers to ensure -1 maps to -1.
26314
26315 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26316
26317         * docs/pwg/advanced-types.xml:
26318           Well done to Michael for catching my deliberate introduction
26319           of this spelling mistake. 
26320         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26321         * gst/gstelement.h:
26322           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26323           unlink pads before removing the element from the bin.
26324
26325 2005-08-24  Andy Wingo  <wingo@pobox.com>
26326
26327         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26328         the same thing as GST_DEBUG=*:4.
26329         (parse_debug_level, parse_debug_category): New helper parsers.
26330
26331 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26332
26333         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26334         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26335         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26336         (gst_base_transform_buffer_alloc),
26337         (gst_base_transform_handle_buffer):
26338           use gboolean return values and pointers to size so we can use the
26339           full GST_BUFFER_SIZE range (guint) for buffer sizes
26340           use GstPadDirection for transform_caps
26341         * gst/base/gstbasetransform.h:
26342           rename get_size to get_unit_size since that's what it is
26343         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26344           use GstPadDirection for transform_caps
26345         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26346         * gst/gstutils.h:
26347           cleanup and debugging
26348
26349 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26350
26351         * gst/gstelement.c: (gst_element_class_init),
26352         (gst_element_set_state), (activate_pads),
26353         (gst_element_save_thyself):
26354         * tools/gst-compprep.c: (main):
26355         * tools/gst-inspect.c: (print_element_properties_info):
26356         * tools/gst-xmlinspect.c: (print_element_properties):
26357           Fixed long standing mem-leak
26358
26359 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26360
26361         * check/gst/gstbin.c: (GST_START_TEST):
26362         * gst/gstbin.c: (bin_bus_handler):
26363         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26364         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26365         (gst_message_new_warning), (gst_message_new_tag),
26366         (gst_message_new_state_changed), (gst_message_new_segment_start),
26367         (gst_message_new_segment_done), (gst_message_new_custom):
26368         * gst/gstmessage.h:
26369         * tools/gst-launch.c: (event_loop):
26370         * tools/gst-md5sum.c: (event_loop):
26371           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26372           that applications can sensibly post custom messages with references
26373           to their own objects.
26374
26375 2005-08-24  Andy Wingo  <wingo@pobox.com>
26376
26377         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26378         already.
26379
26380 2005-08-24  Wim Taymans  <wim@fluendo.com>
26381
26382         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26383         (gst_base_transform_transform_caps),
26384         (gst_base_transform_transform_size),
26385         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26386         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26387         (gst_base_transform_handle_buffer):
26388         * gst/base/gstbasetransform.h:
26389         Many fixes and new features added by Thomas. Can now also do
26390         transforms with variable sizes and a custom fixate_caps function.
26391
26392 2005-08-24  Wim Taymans  <wim@fluendo.com>
26393
26394         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26395         Some debugging.
26396
26397         * gst/gstclock.h:
26398         Cast to ClockTime before formatting to time.
26399
26400         * gst/gstutils.h:
26401         Cleanups.
26402
26403 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26404
26405         * check/gst-libs/controller.c: (GST_START_TEST),
26406         (gst_controller_suite):
26407         * docs/gst/tmpl/gstcaps.sgml:
26408         * docs/gst/tmpl/gstghostpad.sgml:
26409         * docs/gst/tmpl/gstquery.sgml:
26410         * docs/gst/tmpl/gstutils.sgml:
26411         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26412         (gst_object_sink_values), (gst_object_get_value_arrays),
26413         (gst_object_get_value_array):
26414           gracefully handle helper method calls to objects that are not beeing
26415           controlled, added test case for that          
26416
26417 2005-08-23  Wim Taymans  <wim@fluendo.com>
26418
26419         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26420         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26421         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26422         (gst_event_parse_qos), (gst_event_new_seek),
26423         (gst_event_parse_seek):
26424         * gst/gstevent.h:
26425         Some more debugging output and doc cleanups.
26426
26427         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26428         Fix possible deadlock.
26429
26430 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26431
26432         * docs/gst/gstreamer-docs.sgml:
26433         * docs/gst/gstreamer-sections.txt:
26434         * docs/gst/gstreamer.types:
26435         * docs/gst/tmpl/.cvsignore:
26436         * gst/gstbin.h:
26437         * gst/gstbus.c:
26438         * gst/gstelement.c:
26439         * gst/gstevent.h:
26440           added 100 symbols from gstreamer-unused.txt to the right sections
26441           fixed more broken comments
26442           added GstBus to docs
26443
26444 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26445
26446         * docs/gst/gstreamer-sections.txt:
26447         * docs/gst/tmpl/.cvsignore:
26448         * docs/gst/tmpl/gstbin.sgml:
26449         * docs/gst/tmpl/gstbuffer.sgml:
26450         * gst/base/gstbasesrc.c:
26451         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26452         * gst/gstbuffer.c:
26453         * gst/gstbuffer.h:
26454         * tools/gst-launch.1.in:
26455           inlined more doc comments, added missing comments and fixed comments
26456           fixed typos
26457
26458 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26459
26460         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26461           some debugging
26462         * gst/gstcaps.h:
26463           whitespace fixes
26464         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26465           more debugging
26466         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26467         * gst/gststructure.h:
26468           add a fixate function for booleans; add a FIXME that these func
26469           names should probably be gst_structure_fixate_*
26470
26471 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26472
26473         * docs/gst/gstreamer-docs.sgml:
26474         * docs/gst/gstreamer-sections.txt:
26475         * gst/Makefile.am:
26476         * gst/gstbin.c: (gst_bin_get_type),
26477         (gst_bin_child_proxy_get_child_by_index),
26478         (gst_bin_child_proxy_get_children_count),
26479         (gst_bin_child_proxy_init):
26480         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26481         (gst_child_proxy_get_child_by_index),
26482         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26483         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26484         (gst_child_proxy_get), (gst_child_proxy_set_property),
26485         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26486         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26487         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26488         * gst/gstchildproxy.h:
26489         * gst/parse/grammar.y:
26490         * tools/gst-inspect.c: (print_interfaces),
26491         (print_element_properties_info), (print_element_info):
26492           ported gstchildproxy over from 0.8
26493           ported gst-inspect fixes and enhancements over from 0.8
26494
26495 2005-08-22  Wim Taymans  <wim@fluendo.com>
26496
26497         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26498         (gst_base_transform_handle_buffer):
26499         Also call the transform function if we have ANY caps.
26500
26501         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26502         Fix debug info.
26503
26504 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26505
26506         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26507           Don't pretend to handle seek events if the source is not seekable
26508
26509 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26510
26511         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26512           Remove extra parameter to debug output
26513
26514         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26515         (gst_base_src_do_seek), (gst_base_src_activate_push):
26516           Fix seek event handling.
26517
26518         * gst/gstpipeline.c: (gst_pipeline_change_state):
26519         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26520         (gst_queue_src_activate_push):
26521           Don't start the src pad task on FLUSH_STOP if the pad
26522           isn't linked.
26523           Debug changes.
26524
26525 2005-08-22  Wim Taymans  <wim@fluendo.com>
26526
26527         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26528         Added check for gst_static_caps_get() refcounting.
26529
26530 2005-08-22  Wim Taymans  <wim@fluendo.com>
26531
26532         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26533         Make _static_caps_get() refcounting sane.
26534         
26535         * gst/gstelement.c: (gst_element_set_state):
26536         Add g_return_val_if_fail() to protect against segfaults.
26537
26538 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26539
26540         * docs/gst/tmpl/gstevent.sgml:
26541         * gst/gstevent.c:
26542         * gst/gstevent.h:
26543           inlined remaining docs, added missing doc comments
26544
26545 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26546
26547         * check/gst/gstbin.c: (GST_START_TEST):
26548           since we don't know when preroll is done, use refcount range
26549           check for the sink
26550         * gst/check/gstcheck.h:
26551           add macro for checking refcount range
26552
26553 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26554
26555         * check/Makefile.am:
26556           clean up environment for when registry gets built versus
26557           when actual tests are run; valgrind seems to not report
26558           leaks if GST_PLUGIN_PATH is set to some specific values
26559         * check/gst/gstbin.c: (GST_START_TEST):
26560           add more refcounting checks; maybe this exposes a
26561           preroll lock bug ?
26562         * common/check.mak:
26563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26564         * gst/check/gstcheck.h:
26565         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26566         (gst_bin_change_state):
26567         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26568           add/fix debugging/whitespace
26569
26570 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26571
26572         * check/gst/gstevent.c: (event_probe), (test_event),
26573         (GST_START_TEST):
26574          Er, don't call gst_bin_watch_for_state_change you idiot.
26575
26576 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26577
26578         * check/Makefile.am:
26579           Use CHECK_CFLAGS and CHECK_LIBS
26580         * check/gst/gstevent.c: (event_probe), (test_event),
26581         (GST_START_TEST):
26582           Don't leak events.
26583         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26584         (gst_base_src_start), (gst_base_src_stop),
26585         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26586         (gst_base_src_change_state):
26587           Sprinkle gst_base_src_stop liberally around error paths to fix
26588           problems reusing a source after failed state changes.
26589         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26590         (helper_find_suggest), (gst_type_find_helper):
26591           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26592         * gst/gstevent.h:
26593         * docs/gst/tmpl/gstevent.sgml:
26594           Migrate part of the docs from the SGML file. Wait for ensonic to
26595           tell me how I did it wrong ;)
26596         * tools/gst-typefind.c: (main):
26597           Extra robustness to state changes between files.
26598
26599 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26600
26601         * check/Makefile.am:
26602           don't valgrind the controller test - it's leaking - Stefan, HELP
26603         * gst/check/gstcheck.c: (gst_check_message_error),
26604         (gst_check_chain_func), (gst_check_setup_element),
26605         (gst_check_teardown_element), (gst_check_setup_src_pad),
26606         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26607         (gst_check_teardown_sink_pad):
26608         * gst/check/gstcheck.h:
26609           add a bunch of methods to set up elements, and src and sink pads
26610         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26611         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26612         (GST_START_TEST):
26613           use them
26614         * gst/gstmessage.c:
26615         * gst/gsttag.h:
26616           whitespace/doc fixes
26617
26618 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26619
26620         * gst/gstelement.h:
26621           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26622           be handled by the application and not always printed as well
26623
26624 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26625
26626         * check/Makefile.am:
26627           set GST_TOOLS_DIR
26628         * gst/check/gstcheck.c: (gst_check_message_error):
26629         * gst/check/gstcheck.h:
26630           add a fail_unless_equals_int
26631           add fail_unless for error messages
26632
26633 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26634
26635         * check/Makefile.am:
26636         * check/gst.supp:
26637         * common/Makefile.am:
26638         * common/check.mak:
26639         * common/gst.supp:
26640           factor out some of the common stuff so we can use it
26641
26642 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26643
26644         * check/Makefile.am:
26645         * check/gst/gstiterator.c: (GST_START_TEST):
26646         * check/gst/gstsystemclock.c: (GST_START_TEST),
26647         (gst_systemclock_suite):
26648         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26649         * gst/gstclock.c:
26650           valgrind more tests
26651
26652 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26653
26654         * check/elements/.cvsignore:
26655         * check/elements/gstfakesrc.c:
26656           rename to name of element
26657         * check/elements/identity.c: (chain_func), (event_func),
26658         (setup_identity), (cleanup_identity), (GST_START_TEST),
26659         (identity_suite), (main):
26660           add a test for identity
26661         * check/Makefile.am:
26662         * pkgconfig/Makefile.am:
26663         * pkgconfig/gstreamer-check.pc.in:
26664         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26665         * gst/check:
26666         * gst/Makefile.am:
26667         * configure.ac:
26668           move the check stuff to a library that gets installed
26669         * check/gst-libs/controller.c: (GST_START_TEST):
26670         * check/gst-libs/gdp.c:
26671         * check/gst/gst.c: (GST_START_TEST):
26672         * check/gst/gstbin.c:
26673         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26674         * check/gst/gstbus.c:
26675         * check/gst/gstcaps.c: (GST_START_TEST):
26676         * check/gst/gstelement.c:
26677         * check/gst/gstghostpad.c:
26678         * check/gst/gstiterator.c:
26679         * check/gst/gstmessage.c:
26680         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26681         * check/gst/gstobject.c:
26682         * check/gst/gstpad.c: (GST_START_TEST):
26683         * check/gst/gststructure.c: (GST_START_TEST):
26684         * check/gst/gstsystemclock.c: (GST_START_TEST),
26685         (gst_systemclock_suite):
26686         * check/gst/gsttag.c: (gst_tag_suite):
26687         * check/gst/gstvalue.c:
26688         * check/pipelines/cleanup.c:
26689         * check/pipelines/simple_launch_lines.c:
26690         * check/states/sinks.c:
26691           change include statement
26692
26693         * docs/gst/gstreamer-sections.txt:
26694         * docs/gst/tmpl/gstpad.sgml:
26695           document more pad stuff
26696         * gst/gstminiobject.c: (gst_mini_object_ref),
26697         (gst_mini_object_unref):
26698           debug refcounting
26699
26700 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26701
26702         * docs/gst/tmpl/gst.sgml:
26703         * gst/gst.c:
26704           eliminate another tmpl file, fix spelling in the long-description
26705
26706 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26707
26708         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26709         (test_event), (timediff), (gstevents_suite):
26710           Should fix build on 64-bit arch's
26711
26712 2005-08-18  Andy Wingo  <wingo@pobox.com>
26713
26714         Make sure that when a pipeline goes to PLAYING, that data has
26715         actually hit the sink.
26716
26717         * check/states/sinks.c (test_sink): A sink that doesn't get any
26718         data shouldn't return SUCCESS for going to either PLAYING or
26719         PAUSED. Test also the return values on the way back down.
26720
26721         * gst/gstelement.c (gst_element_set_state): When changing the
26722         state of an element currently changing state asynchronously, go to
26723         lost-state after commiting the pending state. Makes future calls
26724         to get_state continue to return ASYNC.
26725
26726         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26727         ASYNC when going to PLAYING if we still don't have preroll, as can
26728         happen with live sources.
26729
26730 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26731
26732         * docs/pwg/advanced-types.xml:
26733           Hack long paragraph into 2 chunks as a workaround for buggy
26734           jadetex version in sid and breezy that loops infinitely and
26735           eats all RAM.
26736
26737 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26738
26739         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26740         (test_event), (timediff), (gstevents_suite):
26741           Provide more error margin in clock measurements to allow for 
26742           g_get_current_time inaccuracies.
26743
26744 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26745
26746         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26747         (test_event), (timediff), (gstevents_suite):
26748            Fix error message output so I might be able to tell why the
26749            test works here but fails on the build farm.
26750
26751 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26752
26753         * check/Makefile.am:
26754         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26755         (test_event), (timediff), (gstevents_suite), (main):
26756           I wrote a test!
26757
26758         * docs/design/part-seeking.txt:
26759           Spelling correction
26760
26761         * docs/gst/tmpl/gstevent.sgml:
26762         * docs/gst/tmpl/gstfakesrc.sgml:
26763           Docs updates.
26764
26765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26766           Treat a buffer-without-newsegment the same as a receiving 
26767           a newsegment not in time format, and disable syncing to the clock
26768           with a warning.
26769
26770         * gst/gstbus.c: (gst_bus_set_sync_handler):
26771           Assert if anyone tries to replace the existing sync_handler for bus, 
26772           as only the owner should be setting it.
26773
26774         * gst/gstevent.h:
26775           Have a fixed set of custom event enums with events identified by
26776           their structure name (as in 0.8), rather than a free-for-all
26777           allowing collisions between enum values from different plugins.
26778
26779         * gst/gstpad.c: (gst_pad_class_init):
26780           Docs change.
26781           
26782         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26783           Handle out-of-band downstream events from the sending thread.
26784
26785 2005-08-17  Andy Wingo  <wingo@pobox.com>
26786
26787         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26788         play-timeout==0 to mean no timeout at all. In that case, don't
26789         bother with a get_state or a warning, just return directly, even
26790         if it's ASYNC.
26791
26792         * gst/base/gstbasetransform.c: Debug changes.
26793
26794         * gst/gstutils.h:
26795         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26796         ensure bins post state change messages. A bit of a hack but I can't
26797         think of a way to avoid it.
26798
26799         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26800
26801 2005-08-16  Andy Wingo  <wingo@pobox.com>
26802
26803         * gst/base/gstadapter.h:
26804         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26805         peek() but you own the data. Not terribly efficient atm.
26806
26807 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26808
26809         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26810         (gst_element_found_tags):
26811         * gst/gstutils.h:
26812           Add two utility functions for tag handling.
26813
26814 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26815
26816         * docs/manual/advanced-dataaccess.xml:
26817         * docs/manual/basics-helloworld.xml:
26818           Fix docs to use _bin_add() before _link(), which fixes the examples
26819           with recent core versions (reported by Madhan Raj M
26820           <raj_madan@rediffmail.com>, #313199).
26821
26822 2005-08-16  Wim Taymans  <wim@fluendo.com>
26823
26824         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26825         Added subtract checks.
26826
26827         * docs/design/part-events.txt:
26828         Some more docs about newsegment
26829
26830         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26831         Fix FIXME
26832
26833         * gst/gstcaps.c: (gst_caps_to_string):
26834         Add comments, cleanups.
26835         
26836         * gst/gstelement.c: (gst_element_save_thyself):
26837         cleanups
26838         
26839         * gst/gstvalue.c: (gst_value_collect_int_range),
26840         (gst_string_unwrap), (gst_value_union_int_int_range),
26841         (gst_value_union_int_range_int_range),
26842         (gst_value_intersect_int_int_range),
26843         (gst_value_intersect_int_range_int_range),
26844         (gst_value_intersect_double_double_range),
26845         (gst_value_intersect_double_range_double_range),
26846         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26847         (gst_value_subtract_int_range_int),
26848         (gst_value_subtract_double_range_double),
26849         (gst_value_subtract_double_range_double_range),
26850         (gst_value_subtract_from_list), (gst_value_subtract_list),
26851         (gst_value_can_compare), (gst_value_compare_fraction):
26852         Cleanups, add comments, remove unneeded asserts.
26853
26854 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26855
26856         * tools/gst-launch.c: (event_loop):
26857           don't convert NULL structures to strings
26858
26859 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26860
26861         * docs/gst/gstreamer-sections.txt:
26862           made some defines private
26863         * docs/gst/tmpl/gstconfig.sgml:
26864         * docs/gst/tmpl/gstqueue.sgml:
26865         * docs/gst/tmpl/gsttaglist.sgml:
26866         * docs/gst/tmpl/gsttypes.sgml:
26867         * docs/gst/tmpl/gstutils.sgml:
26868         * docs/pwg/appendix-porting.xml:
26869         * gst/base/gstbasesink.h:
26870         * gst/base/gstbasesrc.c:
26871         * gst/base/gstbasesrc.h:
26872         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26873         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26874         * gst/gstelement.c: (gst_element_class_init):
26875         * gst/gstpad.c: (gst_pad_class_init):
26876         * gst/gstqueue.c: (gst_queue_class_init):
26877         * gst/gstxml.c: (gst_xml_class_init):
26878           documented all undocumented signal inline
26879         * libs/gst/controller/gst-controller.h:
26880           added padding
26881
26882 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26883
26884         * docs/pwg/appendix-porting.xml:
26885           Document _set_link_function -> _set_setcaps_function.
26886
26887 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26888
26889         * check/Makefile.am:
26890           add a .check target for running the check
26891         * check/gst-libs/controller.c: (GST_START_TEST):
26892           cosmetic fixups
26893         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26894           complete checks for gstbuffer; would be nice if I could get the
26895           gcov stuff to work so I can see if I actually completed gstbuffer.c
26896         * check/gstcheck.h:
26897           add ASSERT_BUFFER_REFCOUNT
26898
26899 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26900
26901         * docs/gst/gstreamer-sections.txt:
26902         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26903         * gst/gsttag.h:
26904           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26905           spew out a warning if a tag that is already registered
26906           is re-registered, unless it is re-registered with a 
26907           different type (#308438).
26908
26909 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26910
26911         * docs/pwg/appendix-porting.xml:
26912         * docs/pwg/building-state.xml:
26913           Add some paragraphs about state changes in 0.9 to the PWG
26914           and the porting guide, in particular about the new meaning
26915           of GST_STATE_PAUSED and how to write state change functions
26916           with concurrent access by multiple threads in mind.
26917
26918 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26919
26920         * docs/gst/gstreamer-docs.sgml:
26921         * docs/libs/gstreamer-libs-docs.sgml:
26922           added deprecation and since indexes
26923         * libs/gst/controller/gst-controller.c:
26924         * libs/gst/controller/gst-helper.c:
26925           added since tags
26926
26927
26928 2005-08-11  Wim Taymans  <wim@fluendo.com>
26929
26930         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26931         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26932         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26933         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26934         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26935         (gst_ghost_pad_set_target):
26936         Actually implement (re)setting the target on a ghostpad
26937         as described in the docs.
26938
26939 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26940
26941         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26942           Check whether GST_DEBUG_NO_COLOR environment variable is
26943           set and disable coloured debug output if that is the case.
26944
26945 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26946
26947         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26948         (gst_type_find_helper):
26949           The memory returned by gst_type_find_peek() needs to
26950           stay valid until the end of a typefind function, and
26951           typefind functions may keep results from different 
26952           offsets around, so we can't just unref the buffer from
26953           the previous _peek(), but have to save all buffers 
26954           returned by _peek() until typefinding is done and only
26955           free them then.
26956
26957 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26958
26959         * docs/gst/gstreamer-sections.txt:
26960         * gst/gstutils.h:
26961           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26962
26963 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26964
26965         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26966           Fix a pretty good memleak.
26967
26968 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26969
26970         * gst/gstiterator.h:
26971           Fix wrong include and 'make distcheck'.
26972
26973 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26974
26975         * gst/gstbin.c: (bin_bus_handler):
26976           Use gst_element_post_message() instead.
26977
26978 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26979
26980         * gst/base/gstadapter.h:
26981         * gst/base/gstbasesink.h:
26982         * gst/base/gstbasesrc.h:
26983         * gst/base/gstbasetransform.h:
26984         * gst/base/gstcollectpads.h:
26985         * gst/base/gstpushsrc.h:
26986         * gst/gstiterator.h:
26987           Add padding to our base elements' class and instance structs and
26988           to GstIterator (you will need to rebuild all plugins and apps!)
26989
26990 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26991
26992         * gst/gstbin.c: (bin_bus_handler):
26993           Make default message forwarding from child->bus to bin->bus
26994           threadsafe and make it not emit warnings if the parent has no bus.
26995
26996 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26997
26998         * gst/gstelement.c: (activate_pads):
26999           On paused->ready, set pad->caps to NULL, as is the documented
27000           behaviour in this state change. Fixes playback of series of
27001           media files when visualization is enabled in Totem.
27002
27003 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27004
27005         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27006           Allow NULL as filter-caps (which means "any").
27007
27008 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27009
27010         * docs/libs/gstreamer-libs-sections.txt:
27011         * libs/gst/controller/gst-controller.c:
27012         * libs/gst/controller/gst-controller.h:
27013         * libs/gst/controller/gst-helper.c:
27014           adding more entries to the docs and fix small doc-bugs
27015
27016 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27017
27018         * docs/gst/gstreamer-docs.sgml:
27019         * docs/gst/gstreamer-sections.txt:
27020         * docs/gst/gstreamer.types:
27021         * docs/gst/tmpl/gstbasesink.sgml:
27022         * docs/gst/tmpl/gstbasesrc.sgml:
27023         * docs/gst/tmpl/gstbasetransform.sgml:
27024         * docs/gst/tmpl/gstfakesrc.sgml:
27025         * gst/base/gstcollectpads.c:
27026         * gst/base/gstcollectpads.h:
27027         * libs/gst/controller/gst-controller.c:
27028         * libs/gst/controller/gst-controller.h:
27029         * libs/gst/controller/gst-helper.c:
27030         * libs/gst/controller/gst-interpolation.c:
27031         * libs/gst/controller/lib.c:
27032           added long/short desc for controller docs
27033           added collectpads base class docs
27034           added correct includes to base-class docs
27035
27036 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27037
27038         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27039         (gst_test_mono_source_set_property),
27040         (gst_test_mono_source_class_init), (GST_START_TEST),
27041         (gst_controller_suite):
27042         * docs/gst/gstreamer-docs.sgml:
27043         * docs/gst/gstreamer-sections.txt:
27044         * docs/gst/gstreamer.types:
27045         * docs/libs/gstreamer-libs-docs.sgml:
27046         * docs/libs/gstreamer-libs-sections.txt:
27047         * gst/base/gstadapter.c:
27048         * libs/gst/controller/gst-controller.c:
27049         (gst_controlled_property_new), (gst_controlled_property_free),
27050         (gst_controller_new_valist),
27051         (gst_controller_remove_properties_valist),
27052         (gst_controller_sink_values), (_gst_controller_finalize):
27053         * libs/gst/controller/gst-controller.h:
27054         * libs/gst/controller/gst-helper.c:
27055         (gst_object_control_properties), (gst_object_uncontrol_properties),
27056         (gst_object_get_controller), (gst_object_set_controller),
27057         (gst_object_sink_values), (gst_object_get_value_arrays),
27058         (gst_object_get_value_array):
27059           more tests (and fixes) for the controller
27060           more docs for the controller
27061           integrated companies docs for the adapter 
27062
27063 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27064
27065         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27066         (GST_START_TEST), (fakesrc_suite):
27067           add tests for sizetype
27068
27069 2005-08-04  Andy Wingo  <wingo@pobox.com>
27070
27071         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27072         fixes buffer_alloc proxying among other things.
27073
27074         * gst/base/gstbasetransform.c:
27075         * gst/base/gstbasetransform.h:
27076         Revert patch to gstbasetransform from 7-28 removing
27077         delay_configure.
27078
27079         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27080         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27081         Semantics changed, should return not the size of the output buffer
27082         but the byte size of a buffer with a given caps.
27083
27084         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27085         debug object.
27086         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27087         out) are not the pad caps until setcaps finishes.
27088         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27089         not-in-place case as well. Deal with changing from in-place to
27090         not-in-place within calling pad_alloc_buffer. Still a bit
27091         concerned about the overhead here...
27092
27093 2005-08-03  Andy Wingo  <wingo@pobox.com>
27094
27095         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27096         fixating is an error.
27097
27098 2005-08-04  Edward Hervey  <edward@fluendo.com>
27099
27100         * gst/base/gstadapter.h: 
27101         Added gst_adapter_get_type() to the header
27102
27103 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27104
27105         * check/Makefile.am:
27106         * check/gst-libs/controller.c:
27107         * libs/gst/controller/gst-controller.c:
27108         (gst_controller_new_valist):
27109           added check test suite for the controller
27110         * gst/base/gstpushsrc.c:
27111           fixed a doc typo
27112
27113 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27114
27115         * docs/gst/Makefile.am:
27116         * docs/gst/gstreamer-docs.sgml:
27117         * docs/gst/gstreamer-sections.txt:
27118         * docs/gst/gstreamer.types:
27119         * docs/gst/tmpl/gstfakesrc.sgml:
27120         * gst/base/README:
27121         * gst/base/gstbasesink.c:
27122         * gst/base/gstbasesink.h:
27123         * gst/base/gstbasesrc.c:
27124         * gst/base/gstbasesrc.h:
27125         * gst/base/gstbasetransform.c:
27126         * gst/base/gstpushsrc.c:
27127         * gst/base/gstpushsrc.h:
27128           add short/long description docs to base classes
27129           add pushsrc to the docs
27130           remove consolidated doc fragments
27131
27132 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27133
27134         * configure.ac:
27135         * docs/libs/Makefile.am:
27136         * docs/libs/gstreamer-libs-docs.sgml:
27137         * docs/libs/gstreamer-libs-sections.txt:
27138         * docs/libs/gstreamer-libs.types:
27139         * examples/Makefile.am:
27140         * examples/controller/.cvsignore:
27141         * examples/controller/Makefile.am:
27142         * examples/controller/audio-example.c: (main):
27143         * libs/gst/Makefile.am:
27144         * libs/gst/controller/.cvsignore:
27145         * libs/gst/controller/Makefile.am:
27146         * libs/gst/controller/gst-controller.c:
27147         (on_object_controlled_property_changed), (gst_timed_value_compare),
27148         (gst_timed_value_find),
27149         (gst_controlled_property_set_interpolation_mode),
27150         (gst_controlled_property_new), (gst_controlled_property_free),
27151         (gst_controller_find_controlled_property),
27152         (gst_controller_new_valist), (gst_controller_new),
27153         (gst_controller_remove_properties_valist),
27154         (gst_controller_remove_properties), (gst_controller_set),
27155         (gst_controller_set_from_list), (gst_controller_unset),
27156         (gst_controller_get), (gst_controller_get_all),
27157         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27158         (gst_controller_get_value_array),
27159         (gst_controller_set_interpolation_mode),
27160         (_gst_controller_finalize), (_gst_controller_init),
27161         (_gst_controller_class_init), (gst_controller_get_type):
27162         * libs/gst/controller/gst-controller.h:
27163         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27164         (g_object_uncontrol_properties), (g_object_get_controller),
27165         (g_object_set_controller), (g_object_sink_values),
27166         (g_object_get_value_arrays), (g_object_get_value_array):
27167         * libs/gst/controller/gst-interpolation.c:
27168         (gst_controlled_property_find_timed_value_node),
27169         (interpolate_none_get), (interpolate_trigger_get),
27170         (interpolate_trigger_get_value_array):
27171         * libs/gst/controller/lib.c: (gst_controller_init):
27172         * pkgconfig/Makefile.am:
27173         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27174         * pkgconfig/gstreamer-control.pc.in:
27175         * testsuite/Makefile.am:
27176         * testsuite/controller/.cvsignore:
27177         * testsuite/controller/Makefile.am:
27178         * testsuite/controller/interpolator.c: (main):
27179           added controller code
27180           removed dparam pc files
27181
27182 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27183         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27184         (gst_collectpads_stop):
27185           Broadcast the condition when shutting down, to make sure we wake all
27186           threads up. Shut down pads on finalize, for safety.
27187
27188 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27189         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27190         (gst_base_transform_handle_buffer),
27191         (gst_base_transform_change_state):
27192           Handle PAUSED->READY->PAUSED transition after negotiation
27193           occurred already.
27194         * gst/gstmessage.c: (gst_message_init):
27195           Extra piece of debug for new messages.
27196
27197 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27198
27199         * configure.ac:
27200         * docs/gst/tmpl/gstbasesrc.sgml:
27201         * docs/gst/tmpl/gstelement.sgml:
27202         * docs/gst/tmpl/gstevent.sgml:
27203         * docs/gst/tmpl/gstfakesrc.sgml:
27204         * docs/gst/tmpl/gstformat.sgml:
27205         * docs/gst/tmpl/gstghostpad.sgml:
27206         * docs/gst/tmpl/gstpad.sgml:
27207         * docs/gst/tmpl/gstquery.sgml:
27208         * docs/gst/tmpl/gststructure.sgml:
27209         * docs/gst/tmpl/gsttaglist.sgml:
27210         * docs/gst/tmpl/gstvalue.sgml:
27211         * docs/libs/gstreamer-libs-docs.sgml:
27212         * docs/libs/gstreamer-libs-sections.txt:
27213         * docs/libs/gstreamer-libs.types:
27214         * libs/gst/Makefile.am:
27215         * libs/gst/control/.cvsignore:
27216         * libs/gst/control/Makefile.am:
27217         * libs/gst/control/control.c:
27218         * libs/gst/control/control.h:
27219         * libs/gst/control/dparam.c:
27220         * libs/gst/control/dparam.h:
27221         * libs/gst/control/dparam_smooth.c:
27222         * libs/gst/control/dparam_smooth.h:
27223         * libs/gst/control/dparamcommon.h:
27224         * libs/gst/control/dparammanager.c:
27225         * libs/gst/control/dparammanager.h:
27226         * libs/gst/control/dplinearinterp.c:
27227         * libs/gst/control/dplinearinterp.h:
27228         * libs/gst/control/unitconvert.c:
27229         * libs/gst/control/unitconvert.h:
27230         * testsuite/Makefile.am:
27231         * testsuite/dynparams/.cvsignore:
27232         * testsuite/dynparams/Makefile.am:
27233         * testsuite/dynparams/dparamstest.c:
27234         * tools/Makefile.am:
27235         * tools/gst-inspect.c: (print_element_info), (main):
27236         * tools/gst-xmlinspect.c: (print_element_info), (main):
27237           deactivate and remove dparams (libgstcontrol)
27238
27239 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27240
27241         * gst/elements/gsttypefindelement.c:
27242         (gst_type_find_element_have_type), (gst_type_find_element_init),
27243         (stop_typefinding), (gst_type_find_element_handle_event),
27244         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27245         * gst/elements/gsttypefindelement.h:
27246           Set caps on all outgoing buffers, not just the first one.
27247
27248 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27249
27250         * gst/elements/gsttypefindelement.c:
27251         (gst_type_find_element_have_type),
27252         (gst_type_find_element_check_set_buffer_caps),
27253         (gst_type_find_element_init), (stop_typefinding),
27254         (gst_type_find_element_handle_event),
27255         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27256         * gst/elements/gsttypefindelement.h:
27257           Set caps on first outgoing buffer when we've found the type.
27258
27259 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27260
27261         * docs/gst/gstreamer-docs.sgml:
27262         * docs/gst/gstreamer-sections.txt:
27263         * docs/gst/tmpl/gstscheduler.sgml:
27264         * docs/gst/tmpl/gstschedulerfactory.sgml:
27265           Remove some old cruft from docs.
27266
27267 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27268
27269         * gst/gstpad.h:
27270           Fix inline docs for GstPadLinkReturn.
27271           
27272         * gst/gststructure.c: (gst_structure_has_name):
27273         * gst/gststructure.h:
27274         * docs/gst/gstreamer-sections.txt:
27275           New API: gst_structure_has_name().
27276
27277 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27278
27279         * configure.ac:
27280           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27281           and _LARGEFILE_SOURCE in config.h as required. Do not 
27282           export those flags in our .pc files any longer (#142209).
27283
27284           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27285
27286         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27287         (gst_file_sink_do_seek), (gst_file_sink_event),
27288         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27289           Redo seek/tell calls with large file support in mind; add some
27290           debugging messages; add log message that tells us when large
27291           file support is unavailable or not enabled for some reason.
27292
27293         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27294           Add log message that tells us when large file support 
27295           is unavailable or not enabled for some reason.
27296
27297 2005-07-29  Wim Taymans  <wim@fluendo.com>
27298
27299         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27300         Added test for removing an element with ghostpad from a bin.
27301         Fixed test as current implementation does the right thing.
27302
27303         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27304         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27305         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27306         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27307         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27308         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27309         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27310         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27311         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27312         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27313         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27314         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27315         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27316         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27317         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27318         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27319         * gst/gstghostpad.h:
27320         Clean up ghostpads, remove properties for internal stuff.
27321         Make threadsafe.
27322         Fix refcounting.
27323         Prepare for switching targets, not all use cases work yet.
27324
27325 2005-07-29  Wim Taymans  <wim@fluendo.com>
27326
27327         * docs/design/part-gstghostpad.txt:
27328         Small update.
27329
27330         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27331         (gst_bin_remove_func):
27332         Unlinking pads while holding the bin LOCK is not a good
27333         idea.
27334
27335         * gst/gstpad.c: (gst_pad_class_init),
27336         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27337         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27338         No prob setting template after creating the pad.
27339
27340 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27341
27342         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27343         (gst_bus_peek), (gst_bus_source_dispatch),
27344         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27345         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27346           gst_bus_poll may be called from other threads. Handle
27347           this nicely by not making poll_data disappear off the
27348           stack once gst_bus_poll returns.
27349           gst_bus_peek now increments the refcount on the returned
27350           message.
27351
27352 2005-07-29  Wim Taymans  <wim@fluendo.com>
27353
27354         * docs/design/part-gstghostpad.txt:
27355         Overview of current GhostPad datastructures and use
27356         cases for changing the target.
27357
27358 2005-07-28  Wim Taymans  <wim@fluendo.com>
27359
27360         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27361         Added checks for hierarchy consistency whan adding linked
27362         elements to bins.
27363
27364         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27365         Added check to test element scheduling without bin/pipeline.
27366
27367         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27368         First add elements to bin, then link.
27369         
27370         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27371         (gst_bin_remove_func):
27372         Unlink pads from elements added/removed from bin to maintain
27373         hierarchy consistency.
27374
27375 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27376
27377         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27378         (gst_base_transform_handle_buffer):
27379         * gst/base/gstbasetransform.h:
27380           Remove broken delay_configure (fixes renegotiation of software
27381           scaling pipelines); remove some leftover printf()s.
27382
27383 2005-07-28  Wim Taymans  <wim@fluendo.com>
27384
27385         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27386         Added some more tests for wrong hierarchy
27387
27388         * docs/design/part-overview.txt:
27389         Some updates.
27390
27391         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27392         Cleanups.
27393
27394         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27395         (gst_element_dispose):
27396         Some more cleanups.
27397
27398         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27399         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27400         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27401         (gst_pad_set_caps), (gst_pad_send_event):
27402         Check for correct hierarchy when linking pads. Moving to
27403         strict requirement for ghostpads when linking elements in
27404         different bins.
27405
27406         * gst/gstpad.h:
27407         Clean ups. Added WRONG_HIERARCHY return value.
27408
27409 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27410
27411         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27412           Better debug if no transform is possible.
27413
27414 2005-07-27  Wim Taymans  <wim@fluendo.com>
27415
27416         * docs/random/wtay/network-transp:
27417         Some old doc I had.
27418
27419 2005-07-27  Wim Taymans  <wim@fluendo.com>
27420
27421         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27422         (gst_dp_event_from_packet):
27423         Fix serialization of seek events.
27424
27425 2005-07-27  Wim Taymans  <wim@fluendo.com>
27426
27427         * check/gst-libs/gdp.c: (GST_START_TEST):
27428         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27429         Fix compilation and fix event serialization.
27430
27431 2005-07-27  Wim Taymans  <wim@fluendo.com>
27432
27433         * CHANGES-0.9:
27434         * docs/design/part-TODO.txt:
27435         * docs/design/part-events.txt:
27436         Some docs updates
27437
27438         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27439         (gst_base_sink_event), (gst_base_sink_do_sync),
27440         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27441         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27442         (gst_base_src_do_seek), (gst_base_src_event_handler),
27443         (gst_base_src_loop):
27444         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27445         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27446         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27447         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27448         (gst_base_transform_set_passthrough),
27449         (gst_base_transform_is_passthrough):
27450         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27451         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27452         Event updates.
27453
27454         * gst/gstbuffer.h:
27455         Use faster casts.
27456
27457         * gst/gstelement.c: (gst_element_seek):
27458         * gst/gstelement.h:
27459         Update gst_element_seek.
27460
27461         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27462         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27463         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27464         (gst_event_new_eos), (gst_event_new_newsegment),
27465         (gst_event_parse_newsegment), (gst_event_new_tag),
27466         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27467         (gst_event_parse_qos), (gst_event_new_seek),
27468         (gst_event_parse_seek), (gst_event_new_navigation):
27469         * gst/gstevent.h:
27470         Make GstEvent use GstStructure. Add parsing code, make sure the
27471         API is sufficiently generic.
27472         Mark possible directions of events and serialization.
27473
27474         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27475         (_gst_message_copy), (gst_message_new_segment_start),
27476         (gst_message_new_segment_done), (gst_message_new_custom),
27477         (gst_message_parse_segment_start),
27478         (gst_message_parse_segment_done):
27479         Small cleanups.
27480
27481         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27482         (gst_pad_set_caps), (gst_pad_send_event):
27483         Update for new events. 
27484         Catch events sent in wrong directions.
27485
27486         * gst/gstqueue.c: (gst_queue_link_src),
27487         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27488         (gst_queue_handle_src_query):
27489         Event updates.
27490
27491         * gst/gsttag.c:
27492         * gst/gsttag.h:
27493         Remove event code from this file.
27494
27495         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27496         (gst_dp_event_from_packet):
27497         Event updates.
27498
27499 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27500
27501         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27502         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27503         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27504           Make debugging actually useful.
27505
27506 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27507
27508         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27509         (gst_pad_fixate_caps):
27510           Implement default fixation once again, so that gst_pad_fixate()
27511           actually does anything at all. This probably needs to be some
27512           sort of a last resort, and use profile-based fixation first, but
27513           since that doesn't exist yet, this is the best we have. Fixes
27514           visualization in Totem.
27515
27516 2005-07-22  Wim Taymans  <wim@fluendo.com>
27517
27518         * docs/design/part-events.txt:
27519         Small update.
27520
27521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27522         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27523         (gst_base_sink_activate_pull):
27524         Some more comments.
27525
27526         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27527         (gst_fake_src_create):
27528         Fix handoff marshall.
27529
27530         * gst/elements/gstidentity.c: (gst_identity_class_init),
27531         (gst_identity_transform_ip):
27532         We're a real inplace element.
27533
27534         * gst/gstbus.c: (gst_bus_post):
27535         Added some comments.
27536
27537         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27538         * tests/muxing/case1.c: (main):
27539         * tests/sched/dynamic-pipeline.c: (main):
27540         * tests/sched/interrupt1.c: (main):
27541         * tests/sched/interrupt2.c: (main):
27542         * tests/sched/interrupt3.c: (main):
27543         * tests/sched/runxml.c: (main):
27544         * tests/sched/sched-stress.c: (main):
27545         * tests/seeking/seeking1.c: (event_received), (main):
27546         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27547         (main):
27548         * tests/threadstate/threadstate3.c: (main):
27549         * tests/threadstate/threadstate4.c: (main):
27550         * tests/threadstate/threadstate5.c: (main):
27551         Fix the tests.
27552
27553 2005-07-21  Wim Taymans  <wim@fluendo.com>
27554
27555         * docs/design/part-seeking.txt:
27556         Some small additions.
27557
27558         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27559         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27560         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27561         * gst/base/gstbasesink.h:
27562         discont values are gint64, handle the math correctly.
27563
27564         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27565         Make the basesrc report error if the source pad is not linked.
27566
27567         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27568         (gst_queue_loop), (gst_queue_handle_src_query),
27569         (gst_queue_src_activate_push):
27570         Make queue collect data even if the srcpad is not linked.
27571         Start pushing out data as soon as it is linked.
27572
27573         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27574         * gst/gstutils.h:
27575         Added gst_flow_get_name() to ease error reporting.
27576
27577 2005-07-20  Wim Taymans  <wim@fluendo.com>
27578
27579         * gst/gstmessage.c: (gst_message_new_segment_start),
27580         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27581         (gst_message_parse_segment_done):
27582         * gst/gstmessage.h:
27583         Added a bunch of messages for advanced seeking.
27584
27585         * gst/parse/grammar.y:
27586         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27587         (gst_dpman_state_changed):
27588         Fix some new-pad -> pad-added signals
27589
27590 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27591
27592         * docs/manual/appendix-porting.xml:
27593         * docs/pwg/appendix-porting.xml:
27594           Document new-pad/state-change signal renames and the FixedList
27595           type rename.
27596
27597 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27598
27599         * docs/manual/advanced-autoplugging.xml:
27600         * docs/manual/basics-helloworld.xml:
27601         * docs/manual/basics-pads.xml:
27602         * docs/random/ds/0.9-suggested-changes:
27603         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27604         * gst/gstelement.h:
27605         * gst/gstevent.h:
27606         * gst/gstformat.h:
27607         * gst/gstquery.h:
27608         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27609         (gst_structure_parse_array), (gst_structure_parse_value):
27610         * gst/gstvalue.c: (gst_type_is_fixed),
27611         (gst_value_list_prepend_value), (gst_value_list_append_value),
27612         (gst_value_list_get_size), (gst_value_list_get_value),
27613         (gst_value_transform_array_string), (gst_value_serialize_array),
27614         (gst_value_deserialize_array), (gst_value_intersect_array),
27615         (gst_value_is_fixed), (_gst_value_initialize):
27616         * gst/gstvalue.h:
27617           GstElement::new-pad -> pad-added, GstElement::state-change ->
27618           state-changed, GstValueFixedList -> GstValueArray, add format and
27619           flags as their own arguments in gst_element_seek() (should improve
27620           "bindeability"), remove function generators since they don't work
27621           under a whole bunch of compilers (they were deprecated already
27622           anyway).
27623
27624 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27625
27626         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27627         (_gst_debug_register_funcptr):
27628         * gst/gstinfo.h:
27629           Fix illegal cast on some platforms (#309253).
27630
27631 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27632
27633         * gst/gstmessage.c: (gst_message_new_custom):
27634         * gst/gstmessage.h:
27635           Add _new_custom, make _new_application a macro to _new_custom.
27636
27637 2005-07-20  Wim Taymans  <wim@fluendo.com>
27638
27639         * gst/base/gstbasesrc.c: (gst_base_src_init),
27640         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27641         * gst/base/gstbasesrc.h:
27642         Add a gboolean to decide when to push out a discont.
27643
27644         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27645         (gst_queue_loop), (gst_queue_handle_src_query),
27646         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27647         (gst_queue_set_property), (gst_queue_get_property):
27648         Some cleanups.
27649
27650         * tests/threadstate/threadstate1.c: (main):
27651         Make a thread test compile and run... very silly..
27652
27653
27654 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27655
27656         * docs/manual/appendix-porting.xml:
27657           Mention removal of libgstgconf-0.9.la and existence of gconf
27658           elements.
27659
27660 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27661
27662         * docs/pwg/advanced-clock.xml:
27663         * docs/pwg/appendix-porting.xml:
27664         * docs/pwg/intro-preface.xml:
27665         * docs/pwg/other-base.xml:
27666         * docs/pwg/other-manager.xml:
27667         * docs/pwg/other-nton.xml:
27668         * docs/pwg/other-ntoone.xml:
27669         * docs/pwg/other-oneton.xml:
27670         * docs/pwg/pwg.xml:
27671           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27672           demuxer), remove n-to-n (was never written), fix some code examples
27673           and links and update the porting section to include all this.
27674
27675 2005-07-19  Wim Taymans  <wim@fluendo.com>
27676
27677         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27678         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27679         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27680         (gst_queue_src_activate_push), (gst_queue_change_state),
27681         (gst_queue_get_property):
27682         * gst/gstqueue.h:
27683         Propagate GstFlowReturn more intelligently upstream and output
27684         an ERROR/EOS when streaming stopped due to fatal error.
27685
27686 2005-07-19  Wim Taymans  <wim@fluendo.com>
27687
27688         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27689         Don't block forever for the state change to complete, the
27690         pipeline already did with a sensible timeout.
27691
27692 2005-07-19  Wim Taymans  <wim@fluendo.com>
27693
27694         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27695         Make sure we never call the create function is we
27696         got deactivated.
27697
27698 2005-07-19  Andy Wingo  <wingo@pobox.com>
27699
27700         * gst/parse/parse.l: Attempt to solve bug #172815.
27701
27702 2005-07-19  Wim Taymans  <wim@fluendo.com>
27703
27704         * docs/design/part-clocks.txt:
27705         * docs/design/part-events.txt:
27706         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27707         Small docs updates.
27708         Only update the seeking values when we are not
27709         busy streaming.
27710
27711 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27712
27713         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27714           Oops, ignore the result of gst_pad_push_event here.
27715
27716 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27717
27718         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27719         (gst_base_src_activate_push):
27720           Send discont event from the loop function, as pads
27721           aren't activated yet in the activate_push handler.
27722
27723         * gst/gstbin.c: (bin_bus_handler):
27724           Don't leak element name.
27725
27726 2005-07-18  Andy Wingo  <wingo@pobox.com>
27727
27728         * configure.ac: Use AS_LIBTOOL_TAGS.
27729
27730 2005-07-18  Wim Taymans  <wim@fluendo.com>
27731
27732         * docs/gst/gstreamer.types:
27733         Remove deleted types.
27734
27735 2005-07-18  Wim Taymans  <wim@fluendo.com>
27736
27737         * check/elements/gstfakesrc.c: (GST_START_TEST):
27738         * configure.ac:
27739         * gst/Makefile.am:
27740         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27741         (init_popt_callback):
27742         * gst/gst.h:
27743         * gst/gst_private.h:
27744         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27745         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27746         * gst/gstbin.h:
27747         * gst/gstbus.h:
27748         * gst/gstconfig.h.in:
27749         * gst/gstelement.c: (gst_element_class_init),
27750         (gst_element_set_base_time), (gst_element_get_base_time),
27751         (iterator_fold_with_resync), (gst_element_change_state),
27752         (gst_element_dispose), (gst_element_get_bus):
27753         * gst/gstelement.h:
27754         * gst/gstelementfactory.h:
27755         * gst/gsterror.c: (_gst_core_errors_init):
27756         * gst/gsterror.h:
27757         * gst/gstevent.h:
27758         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27759         * gst/gstindex.c:
27760         * gst/gstinfo.c: (_gst_debug_init):
27761         * gst/gstmessage.c: (_gst_message_copy):
27762         * gst/gstmessage.h:
27763         * gst/gstminiobject.h:
27764         * gst/gstobject.c:
27765         * gst/gstobject.h:
27766         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27767         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27768         * gst/gstpad.h:
27769         * gst/gstparse.h:
27770         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27771         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27772         (gst_pipeline_get_last_stream_time):
27773         * gst/gstpipeline.h:
27774         * gst/gstpluginfeature.h:
27775         * gst/gstquery.h:
27776         * gst/gstscheduler.c:
27777         * gst/gstscheduler.h:
27778         * gst/gststructure.h:
27779         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27780         (gst_task_finalize), (gst_task_func), (gst_task_create),
27781         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27782         (gst_task_stop), (gst_task_pause):
27783         * gst/gsttask.h:
27784         * gst/gsttypefind.h:
27785         * gst/gsttypes.h:
27786         * gst/registries/gstlibxmlregistry.c: (load_feature),
27787         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27788         * gst/registries/gstxmlregistry.c:
27789         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27790         * gst/schedulers/threadscheduler.c:
27791         * libs/gst/control/dparammanager.h:
27792         * tools/gst-inspect.c: (print_element_list),
27793         (print_plugin_features), (print_element_features):
27794         * tools/gst-xmlinspect.c: (print_element_list),
27795         (print_plugin_info), (main):
27796         Removed plugable schedulers.
27797         Removed Scheduler/Manager from elements.
27798         Removed gsttypes.h, rearranged includes.
27799         Removed dependency pad<->element, element<>pipeline, and
27800         various others,  fix includes.
27801         implement gst_pad_get_parent() with gst_object_get_parent()
27802         Make GstTask sefcontained.
27803         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27804         timeout.
27805         Fix endless loop in iterator_fold_with_resync.
27806
27807
27808 2005-07-18  Wim Taymans  <wim@fluendo.com>
27809
27810         * gst/Makefile.am:
27811         * gst/gstarch.h:
27812         Remove old file.
27813
27814 2005-07-18  Wim Taymans  <wim@fluendo.com>
27815
27816         * gst/Makefile.am:
27817         No more cothreads.h
27818
27819 2005-07-18  Wim Taymans  <wim@fluendo.com>
27820
27821         * gst/cothreads.c:
27822         * gst/cothreads.h:
27823         Let's remove these.
27824
27825 2005-07-18  Wim Taymans  <wim@fluendo.com>
27826
27827         * docs/design/part-dynamic.txt:
27828         * docs/design/part-events.txt:
27829         * docs/design/part-seeking.txt:
27830         Some more docs in the works.
27831
27832         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27833         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27834         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27835         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27836         (gst_base_transform_handle_buffer),
27837         (gst_base_transform_sink_activate_push),
27838         (gst_base_transform_src_activate_pull),
27839         (gst_base_transform_set_passthrough),
27840         (gst_base_transform_is_passthrough):
27841         Refcounting fixes.
27842
27843         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27844         Cleanups.
27845
27846         * gst/gstevent.c: (gst_event_finalize):
27847         Set SRC to NULL.
27848
27849         * gst/gstutils.c: (gst_element_unlink),
27850         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27851         (gst_pad_proxy_setcaps):
27852         * gst/gstutils.h:
27853         Add _get_parent_element() to get a pads parent as an element.
27854
27855 2005-07-18  Wim Taymans  <wim@fluendo.com>
27856
27857         * check/gst/gstbin.c: (GST_START_TEST):
27858         Remove bogus test.
27859
27860 2005-07-18  Wim Taymans  <wim@fluendo.com>
27861
27862         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27863         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27864         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27865         (gst_base_sink_event), (gst_base_sink_do_sync),
27866         (gst_base_sink_chain), (gst_base_sink_loop),
27867         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27868         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27869         Refcounting fixes.
27870         Fix logic for returning ASYNC when not prerolled.
27871
27872 2005-07-18  Wim Taymans  <wim@fluendo.com>
27873
27874         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27875         Fix nasty refcount bug.
27876
27877 2005-07-16 Philippe Khalaf <burger@speedy.org>
27878
27879         * gst/elements/gstfdsrc.c:
27880         * gst/elements/gstfdsrc.h:
27881         * gst/elements/gstelements.c:
27882         * gst/elements/Makefile.am:
27883         Ported fdsrc to 0.9.
27884
27885 2005-07-16  Wim Taymans  <wim@fluendo.com>
27886
27887         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27888         (gst_base_sink_do_sync):
27889         Fix compile error.
27890
27891 2005-07-16  Wim Taymans  <wim@fluendo.com>
27892
27893         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27894         (gst_base_sink_event), (gst_base_sink_get_times),
27895         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27896         * gst/base/gstbasesink.h:
27897         Store and use discont values when syncing buffers as described
27898         in design docs.
27899         
27900         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27901         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27902         (gst_base_src_activate_push):
27903         Push discont event when starting.
27904
27905         * gst/elements/gstidentity.c: (gst_identity_transform):
27906         Small cleanups.
27907
27908         * gst/gstbin.c: (gst_bin_change_state):
27909         Small cleanups in base_time  distribution.
27910
27911         * gst/gstelement.c: (gst_element_set_base_time),
27912         (gst_element_get_base_time), (gst_element_change_state):
27913         * gst/gstelement.h:
27914         Added methods for the base_time of the element.
27915         Some MT fixes.
27916
27917         * gst/gstpipeline.c: (gst_pipeline_send_event),
27918         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27919         (gst_pipeline_get_last_stream_time):
27920         * gst/gstpipeline.h:
27921         MT fixes.
27922         Handle seeking as described in design doc, remove stream_time
27923         hack.
27924         Cleanups clock and stream_time selection code. Added accessors
27925         for the stream_time.
27926         
27927
27928 2005-07-16  Andy Wingo  <wingo@pobox.com>
27929
27930         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27931         (#305291).
27932
27933 2005-07-16  Wim Taymans  <wim@fluendo.com>
27934
27935         * check/gst/gstbin.c: (GST_START_TEST):
27936         Make elements silent as the deep_notify refs the
27937         parent, which might make the test fail.
27938
27939         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27940         Don't hold the lock for too long.
27941
27942 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27943
27944         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27945           Don't unref the caps we passed to gst_caps_make_writable() after
27946           passing them. gst_caps_make_writable() will do that for us.
27947
27948 2005-07-15  Andy Wingo  <wingo@pobox.com>
27949
27950         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27951         (#157311).
27952
27953         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27954         own marshalling function for the handoff signal. Properly type the
27955         buffer as a buffer. Fixes some warnings. Should do a more general
27956         solution.
27957         (gst_identity_class_init): Plug into the right marshaller.
27958
27959 2005-07-15  Wim Taymans  <wim@fluendo.com>
27960
27961         * docs/design/part-TODO.txt:
27962         * docs/design/part-clocks.txt:
27963         * docs/design/part-element-sink.txt:
27964         * docs/design/part-events.txt:
27965         * docs/design/part-gstpipeline.txt:
27966         Updated docs, mostly DISCONT related.
27967
27968 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27969
27970         * docs/pwg/building-pads.xml:
27971           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27972
27973 2005-07-15  Andy Wingo  <wingo@pobox.com>
27974
27975         * tools/gst-typefind.c: Update, add copyright block.
27976
27977         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27978         Normalize and truncate caps before fixation.
27979
27980         * gst/gstcaps.h:
27981         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27982         discards all but the first structure from its argument.
27983
27984 2005-07-15  Wim Taymans  <wim@fluendo.com>
27985
27986         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27987         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27988         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27989         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27990         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27991         (gst_base_transform_chain), (gst_base_transform_change_state),
27992         (gst_base_transform_set_passthrough),
27993         (gst_base_transform_is_passthrough):
27994         * gst/base/gstbasetransform.h:
27995         Make passthrough work using the bufferpools.
27996         Changed API a bit, subclasses have to write into a buffer
27997         provided by the base class.
27998         More debug info in nego functions.
27999         
28000         * gst/elements/gstidentity.c: (gst_identity_init),
28001         (gst_identity_transform):
28002         Port to new base class.
28003
28004 2005-07-15  Wim Taymans  <wim@fluendo.com>
28005
28006         * gst/gstmessage.c: (gst_message_new_state_changed):
28007         * tools/gst-launch.c: (event_loop), (main):
28008         Totally dump messages in -launch with the -m option.
28009         Fix message name for State messages,
28010
28011 2005-07-14  Wim Taymans  <wim@fluendo.com>
28012
28013         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28014         Post error messages on errors.
28015
28016 2005-07-14  Wim Taymans  <wim@fluendo.com>
28017
28018         * gst/gstcaps.c: (gst_caps_do_simplify):
28019         Remove debug info.
28020
28021         * gst/gsterror.h:
28022         Define error for stream stopped.
28023
28024         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28025         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28026         Do proper return values.
28027
28028         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28029         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28030         (gst_pad_get_range):
28031         Better return values.
28032
28033         * gst/gstpad.h:
28034         Reorganise return values, add macro to check for fatal errors.
28035
28036         * gst/gstqueue.c: (gst_queue_chain):
28037         Return proper GstFlowReturn values,
28038
28039 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28040
28041         * docs/gst/gstreamer-sections.txt:
28042         * docs/gst/gstreamer.types:
28043         * docs/gst/tmpl/gst.sgml:
28044         * docs/gst/tmpl/gstbasesink.sgml:
28045         * docs/gst/tmpl/gstbasesrc.sgml:
28046         * docs/gst/tmpl/gstbasetransform.sgml:
28047         * docs/gst/tmpl/gstbin.sgml:
28048         * docs/gst/tmpl/gstbuffer.sgml:
28049         * docs/gst/tmpl/gstcaps.sgml:
28050         * docs/gst/tmpl/gstclock.sgml:
28051         * docs/gst/tmpl/gstcompat.sgml:
28052         * docs/gst/tmpl/gstconfig.sgml:
28053         * docs/gst/tmpl/gstelement.sgml:
28054         * docs/gst/tmpl/gstelementdetails.sgml:
28055         * docs/gst/tmpl/gstelementfactory.sgml:
28056         * docs/gst/tmpl/gstenumtypes.sgml:
28057         * docs/gst/tmpl/gsterror.sgml:
28058         * docs/gst/tmpl/gstevent.sgml:
28059         * docs/gst/tmpl/gstfakesink.sgml:
28060         * docs/gst/tmpl/gstfakesrc.sgml:
28061         * docs/gst/tmpl/gstfilesink.sgml:
28062         * docs/gst/tmpl/gstfilesrc.sgml:
28063         * docs/gst/tmpl/gstfilter.sgml:
28064         * docs/gst/tmpl/gstformat.sgml:
28065         * docs/gst/tmpl/gstghostpad.sgml:
28066         * docs/gst/tmpl/gstimplementsinterface.sgml:
28067         * docs/gst/tmpl/gstindex.sgml:
28068         * docs/gst/tmpl/gstindexfactory.sgml:
28069         * docs/gst/tmpl/gstinfo.sgml:
28070         * docs/gst/tmpl/gstiterator.sgml:
28071         * docs/gst/tmpl/gstmacros.sgml:
28072         * docs/gst/tmpl/gstmemchunk.sgml:
28073         * docs/gst/tmpl/gstminiobject.sgml:
28074         * docs/gst/tmpl/gstobject.sgml:
28075         * docs/gst/tmpl/gstpad.sgml:
28076         * docs/gst/tmpl/gstpadtemplate.sgml:
28077         * docs/gst/tmpl/gstparse.sgml:
28078         * docs/gst/tmpl/gstpipeline.sgml:
28079         * docs/gst/tmpl/gstplugin.sgml:
28080         * docs/gst/tmpl/gstpluginfeature.sgml:
28081         * docs/gst/tmpl/gstquery.sgml:
28082         * docs/gst/tmpl/gstqueue.sgml:
28083         * docs/gst/tmpl/gstregistry.sgml:
28084         * docs/gst/tmpl/gstregistrypool.sgml:
28085         * docs/gst/tmpl/gstscheduler.sgml:
28086         * docs/gst/tmpl/gstschedulerfactory.sgml:
28087         * docs/gst/tmpl/gststructure.sgml:
28088         * docs/gst/tmpl/gstsystemclock.sgml:
28089         * docs/gst/tmpl/gsttaglist.sgml:
28090         * docs/gst/tmpl/gsttagsetter.sgml:
28091         * docs/gst/tmpl/gsttrace.sgml:
28092         * docs/gst/tmpl/gsttrashstack.sgml:
28093         * docs/gst/tmpl/gsttypefind.sgml:
28094         * docs/gst/tmpl/gsttypefindfactory.sgml:
28095         * docs/gst/tmpl/gsttypes.sgml:
28096         * docs/gst/tmpl/gsturihandler.sgml:
28097         * docs/gst/tmpl/gsturitype.sgml:
28098         * docs/gst/tmpl/gstutils.sgml:
28099         * docs/gst/tmpl/gstvalue.sgml:
28100         * docs/gst/tmpl/gstversion.sgml:
28101         * docs/gst/tmpl/gstxml.sgml:
28102         * docs/libs/tmpl/gstcontrol.sgml:
28103         * docs/libs/tmpl/gstdataprotocol.sgml:
28104         * docs/libs/tmpl/gstdparam.sgml:
28105         * docs/libs/tmpl/gstdplinint.sgml:
28106         * docs/libs/tmpl/gstdpman.sgml:
28107         * docs/libs/tmpl/gstdpsmooth.sgml:
28108         * docs/libs/tmpl/gstgetbits.sgml:
28109         * docs/libs/tmpl/gstunitconvert.sgml:
28110         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28111         (gst_push_src_base_init), (gst_push_src_class_init),
28112         (gst_push_src_init), (gst_push_src_create):
28113         * gst/base/gstpushsrc.h:
28114         * gst/elements/gstelements.c:
28115         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28116         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28117         (gst_fake_sink_init), (gst_fake_sink_set_property),
28118         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28119         (gst_fake_sink_event), (gst_fake_sink_preroll),
28120         (gst_fake_sink_render), (gst_fake_sink_change_state):
28121         * gst/elements/gstfakesink.h:
28122         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28123         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28124         (gst_fake_src_base_init), (gst_fake_src_class_init),
28125         (gst_fake_src_init), (gst_fake_src_event_handler),
28126         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28127         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28128         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28129         (gst_fake_src_create_buffer), (gst_fake_src_create),
28130         (gst_fake_src_start), (gst_fake_src_stop):
28131         * gst/elements/gstfakesrc.h:
28132         * gst/elements/gstfilesink.c: (_do_init),
28133         (gst_file_sink_base_init), (gst_file_sink_class_init),
28134         (gst_file_sink_init), (gst_file_sink_dispose),
28135         (gst_file_sink_set_location), (gst_file_sink_set_property),
28136         (gst_file_sink_get_property), (gst_file_sink_open_file),
28137         (gst_file_sink_close_file), (gst_file_sink_query),
28138         (gst_file_sink_event), (gst_file_sink_render),
28139         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28140         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28141         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28142         * gst/elements/gstfilesink.h:
28143         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28144         (gst_file_src_class_init), (gst_file_src_init),
28145         (gst_file_src_finalize), (gst_file_src_set_location),
28146         (gst_file_src_set_property), (gst_file_src_get_property),
28147         (gst_file_src_map_region), (gst_file_src_map_small_region),
28148         (gst_file_src_create_mmap), (gst_file_src_create_read),
28149         (gst_file_src_create), (gst_file_src_is_seekable),
28150         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28151         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28152         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28153         (gst_file_src_uri_handler_init):
28154         * gst/elements/gstfilesrc.h:
28155           more autistic cleanliness in functions/names/defines
28156
28157 2005-07-13  Andy Wingo  <wingo@pobox.com>
28158
28159         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28160         source couldn't negotiate.
28161
28162         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28163         connections again.
28164
28165         * gst/gstutils.h:
28166         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28167         function. I am channeling Hades. Put your boots on suckers!!!
28168
28169 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28170
28171         * testsuite/caps/Makefile.am:
28172         * testsuite/caps/value_compare.c:
28173         * testsuite/caps/value_intersect.c:
28174         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28175           move two testsuite apps over to the check dir
28176
28177 2005-07-12  Wim Taymans  <wim@fluendo.com>
28178
28179         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28180         Added more debug info in the negotiate process.
28181
28182         * gst/gstmessage.h:
28183         Prepare for segment playback.
28184
28185         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28186         Better debugging.
28187
28188         * gst/gstutils.c:
28189         Some more docs.
28190
28191         * tools/gst-launch.c: (main):
28192         NULL pipeline on errors.
28193
28194 2005-07-12  Andy Wingo  <wingo@pobox.com>
28195
28196         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28197         not it comes from a malloc region. Make sure our copy gets freed.
28198
28199 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28200
28201         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28202         * check/gst/gstmessage.c: (GST_START_TEST):
28203         * check/gst/gststructure.c: (GST_START_TEST),
28204         (gst_structure_suite), (main):
28205           more testing
28206         * gst/gstelement.c: (gst_element_message_full):
28207           clean up GError and debug string now that they get copied
28208         * gst/gstmessage.c: (gst_message_new_error),
28209         (gst_message_new_warning), (gst_message_parse_error),
28210         (gst_message_parse_warning):
28211           use GST_TYPE_G_ERROR for structure_new, and take copies of
28212           arguments, so that we don't mess up refcounting
28213
28214 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28215
28216         * check/Makefile.am:
28217           add per-test valgrind targets
28218         * check/gst-libs/gdp.c: (GST_START_TEST),
28219         (gst_data_protocol_suite), (main):
28220           clean up
28221
28222 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28223
28224         * check/Makefile.am:
28225           instate more valgrindable tests
28226         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28227         (GST_START_TEST), (fakesrc_suite):
28228         * check/gst/gstpad.c: (GST_START_TEST):
28229         * check/gst/gststructure.c: (GST_START_TEST):
28230           fix test leaks
28231         * docs/gst/tmpl/gstminiobject.sgml:
28232         * gst/gstpad.c: (gst_pad_finalize):
28233           fix the static mutex leak
28234
28235 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28236
28237         * check/Makefile.am:
28238           add two more tests for valgrinding
28239         * check/gst/gstvalue.c: (GST_START_TEST):
28240           test refcount of deserialized buffer, found a leak
28241         * docs/gst/gstreamer-docs.sgml:
28242         * docs/gst/gstreamer-sections.txt:
28243         * docs/gst/gstreamer.types:
28244         * docs/gst/tmpl/gstminiobject.sgml:
28245           add miniobject to docs
28246         * gst/gstminiobject.c:
28247           add some docs
28248         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28249         (gst_string_unwrap):
28250           fix a hard-to-find invalid write for one of the tests
28251           fix a leak for deserialized buffers
28252
28253 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28254
28255         * docs/pwg/advanced-events.xml:
28256         * docs/pwg/advanced-request.xml:
28257         * docs/pwg/advanced-scheduling.xml:
28258         * docs/pwg/appendix-porting.xml:
28259         * docs/pwg/building-boiler.xml:
28260         * docs/pwg/intro-preface.xml:
28261         * docs/pwg/other-ntoone.xml:
28262           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28263           of example code and explanation for pad activation, loop() and
28264           getrange() functions and a bit more. Remove old comments pointing
28265           to loop-functions.
28266         * examples/pwg/Makefile.am:
28267           Add loop/getrange examples.
28268
28269 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28270
28271         * configure.ac:
28272           check for valgrind binary + some fixes
28273         * check/gst.supp:
28274           valgrind suppressions for the tests
28275         * check/Makefile.am:
28276           add a valgrind: target that valgrinds the unit tests
28277         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28278         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28279         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28280         * check/gst/gstghostpad.c:
28281           added some cleanup
28282         * check/gst/gstdata.c:
28283           removed
28284         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28285         (thread_unref), (gst_mini_object_suite), (main):
28286           added
28287         * gst/gst.c: (gst_deinit):
28288         * gst/gst.h:
28289           add a method to clean up.
28290         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28291         (gst_system_clock_obtain):
28292           allow for disposing the system clock.
28293         * tools/gst-launch.c: (main):
28294           deinit
28295
28296 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28297
28298         * docs/gst/tmpl/gstbasesrc.sgml:
28299         * docs/gst/tmpl/gstfakesrc.sgml:
28300         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28301         (gst_base_src_init), (gst_base_src_set_property),
28302         (gst_base_src_get_property), (gst_base_src_get_range),
28303         (gst_base_src_start):
28304         * gst/base/gstbasesrc.h:
28305           add num-buffers property
28306         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28307         (gst_fakesrc_init), (gst_fakesrc_set_property),
28308         (gst_fakesrc_get_property), (gst_fakesrc_create),
28309         (gst_fakesrc_start):
28310           remove num-buffers property
28311
28312 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28313
28314         * docs/gst/gstreamer-sections.txt:
28315         * docs/gst/tmpl/gstbasesink.sgml:
28316         * docs/gst/tmpl/gstbasesrc.sgml:
28317         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28318         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28319         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28320         (gst_base_sink_set_property), (gst_base_sink_get_property),
28321         (gst_base_sink_handle_object), (gst_base_sink_event),
28322         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28323         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28324         (gst_base_sink_loop), (gst_base_sink_deactivate),
28325         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28326         (gst_base_sink_change_state):
28327         * gst/base/gstbasesink.h:
28328         * gst/base/gstbasesrc.h:
28329         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28330         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28331         (gst_filesink_init):
28332           more macro splitting
28333
28334 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28335
28336         * gst/gstelement.c: (gst_element_get_bus):
28337           add debug
28338         * tools/gst-launch.c: (check_intr), (event_loop):
28339           fix bus leaks
28340
28341 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28342
28343         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28344           fix a caps leak
28345
28346 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28347
28348         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28349         (gst_base_src_finalize):
28350           add finalize method and clean up properly
28351         * gst/gstpipeline.c: (gst_pipeline_dispose):
28352           add debug
28353
28354 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28355
28356         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28357         (gst_bin_suite):
28358           add more things to check
28359         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28360         * gst/gstelement.c:
28361           more debug
28362
28363 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28364
28365         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28366         (GST_START_TEST), (fakesrc_suite):
28367         * check/gst-libs/gdp.c: (GST_START_TEST):
28368         * check/gst/gst.c: (GST_START_TEST):
28369         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28370         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28371         * check/gst/gstbus.c: (GST_START_TEST):
28372         * check/gst/gstcaps.c: (GST_START_TEST):
28373         * check/gst/gstdata.c: (GST_START_TEST):
28374         * check/gst/gstelement.c: (GST_START_TEST):
28375         * check/gst/gstghostpad.c: (GST_START_TEST):
28376         * check/gst/gstiterator.c: (GST_START_TEST):
28377         * check/gst/gstmessage.c: (GST_START_TEST):
28378         * check/gst/gstobject.c: (GST_START_TEST):
28379         * check/gst/gstpad.c: (GST_START_TEST):
28380         * check/gst/gststructure.c: (GST_START_TEST):
28381         * check/gst/gstsystemclock.c: (GST_START_TEST),
28382         (gst_systemclock_suite):
28383         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28384         * check/gst/gstvalue.c: (GST_START_TEST):
28385         * check/pipelines/cleanup.c: (GST_START_TEST):
28386         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28387         * check/states/sinks.c: (GST_START_TEST):
28388         * check/gstcheck.c: (gst_check_init):
28389         * check/gstcheck.h:
28390           add debugging category
28391           use GST_START_TEST now, so we add a debug line
28392
28393 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28394
28395         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28396           add test for state change message on a bin
28397         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28398           add another test
28399         * gst/gstbin.c: (gst_bin_init):
28400         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28401         * gst/gstelement.c: (gst_element_post_message),
28402         (gst_element_set_state):
28403         * gst/gstelementfactory.c: (gst_element_factory_create):
28404         * gst/gstmessage.c: (gst_message_new):
28405         * gst/gstscheduler.c:
28406           various debugging additions and cleanups
28407
28408 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28409
28410         * check/Makefile.am:
28411         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28412         (main):
28413           adding tests for elements
28414         * gst/gstelement.c: (gst_element_dispose):
28415
28416 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28417
28418         * gst/registries/gstlibxmlregistry.c: (load_feature):
28419           plug more leaks.  A simple gst_init() now is leakfree, yay.
28420
28421 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28422
28423         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28424         (gst_xml_registry_load):
28425           plug another memleak
28426
28427 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28428
28429         * configure.ac:
28430           use GST_SET_ERROR_CFLAGS
28431         * docs/faq/cvs.xml:
28432           change to ERROR_CFLAGS
28433
28434 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28435
28436         * configure.ac:
28437           make GST_ERROR_CFLAGS overridable and re-enable Werror
28438         * docs/faq/cvs.xml:
28439           add a note about error CFLAGS
28440         * docs/gst/tmpl/gstfakesrc.sgml:
28441         * gst/elements/gstfakesrc.c:
28442           comment out some unused code
28443         * gst/gst.c: (split_and_iterate):
28444         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28445         (load_feature):
28446           plug some memleaks
28447
28448 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28449
28450         * common/Makefile.am:
28451         * common/gtk-doc.mak:
28452         * docs/gst/Makefile.am:
28453           factor out gtk-doc.mak
28454
28455 2005-07-07  Wim Taymans  <wim@fluendo.com>
28456
28457         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28458         (gst_thread_scheduler_dispose):
28459         Unlock the STREAM_LOCK completely.
28460
28461 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28462
28463         * check/Makefile.am:
28464         * check/elements/.cvsignore:
28465         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28466         (START_TEST), (fakesrc_suite), (main):
28467         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28468         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28469         (gst_fakesrc_create), (gst_fakesrc_start):
28470         * gst/elements/gstfakesrc.h:
28471           adding a first element test
28472
28473 2005-07-07  Andy Wingo  <wingo@pobox.com>
28474
28475         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28476         debug message.
28477
28478 2005-07-07  Wim Taymans  <wim@fluendo.com>
28479
28480         * gst/gstquery.c:
28481         * gst/gstquery.h:
28482         Remove old types
28483
28484 2005-07-07  Wim Taymans  <wim@fluendo.com>
28485
28486         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28487         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28488         Allow subclasses to implement their own negotiation.
28489
28490 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28491
28492         * docs/design/part-gstbin.txt:
28493         * docs/design/part-gstpipeline.txt:
28494           Update design notes to reflect the movement of
28495           responsibility for bus handling from GstPipeline to
28496           GstBin
28497
28498 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28499
28500         * configure.ac:
28501           Remove unnecessary queue2/3/4 examples.
28502
28503 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28504
28505         * examples/Makefile.am:
28506         * examples/helloworld/helloworld.c: (event_loop), (main):
28507         * examples/queue/queue.c: (event_loop), (main):
28508         * examples/queue2/queue2.c: (main):
28509           Update a couple of the examples to work again.
28510
28511         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28512         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28513          Spelling corrections and extra debug.
28514         
28515         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28516         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28517         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28518         * gst/gstbin.h:
28519         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28520         (gst_pipeline_change_state):
28521         * gst/gstpipeline.h:
28522           Move the bus handler for children to the GstBin, and create a
28523           separate bus for receiving messages from children to the one the
28524           bus sends 'upwards' on.
28525
28526 2005-07-06  Wim Taymans  <wim@fluendo.com>
28527
28528         * gst/base/README:
28529         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28530         (gst_base_sink_handle_object), (gst_base_sink_loop),
28531         (gst_base_sink_change_state):
28532         * gst/base/gstbasesink.h:
28533         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28534         (gst_base_src_init), (gst_base_src_setcaps),
28535         (gst_base_src_getcaps), (gst_base_src_loop),
28536         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28537         (gst_base_src_start), (gst_base_src_change_state):
28538         * gst/base/gstbasesrc.h:
28539         Make basesrc negotiate.
28540         Handle the case where preroll fails in basesink.
28541         Update README.
28542
28543 2005-07-06  Wim Taymans  <wim@fluendo.com>
28544
28545         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28546         Implement the fixate function.
28547         Clean up acceptcaps.
28548
28549 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28550
28551         * docs/pwg/building-filterfactory.xml:
28552         * docs/pwg/pwg.xml:
28553           Remove never-written filter-factory chapter; I'll add the various
28554           base classes to part 4 ("other element types") later on.
28555
28556 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28557
28558         * docs/pwg/advanced-negotiation.xml:
28559         * docs/pwg/building-boiler.xml:
28560         * docs/pwg/building-pads.xml:
28561         * docs/pwg/pwg.xml:
28562         * examples/pwg/Makefile.am:
28563           Add a chapter on caps negotiation, simplify the original code
28564           samples a bit w.r.t. caps negotiation, add link to the advanced
28565           section. Add a bunch of examples showing different use cases of
28566           different types of caps negotiation. Upstream renegotiation isn't
28567           fully documented yet since nobody knows how that works.
28568
28569 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28570
28571         * check/gst/gstpad.c:
28572         * check/gstcheck.c:
28573         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28574           if pad has no parent, return NULL as list of internal links
28575
28576 2005-07-05  Andy Wingo  <wingo@pobox.com>
28577
28578         * gst/elements/gstfilesrc.c:
28579         * gst/elements/gstfakesrc.c: 
28580         * gst/base/gstpushsrc.c:
28581         * gst/base/gstbasesrc.h: 
28582         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28583         
28584 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28585
28586         * Makefile.am:
28587           better report generation target (lcov needs a patch)
28588
28589 2005-07-05  Andy Wingo  <wingo@pobox.com>
28590
28591         * gst/elements, testsuite: Null if we got it...
28592
28593 2005-07-05  Wim Taymans  <wim@fluendo.com>
28594
28595         * configure.ac:
28596         * libs/gst/dataprotocol/Makefile.am:
28597         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28598         * libs/gst/dataprotocol/dataprotocol.h:
28599         * pkgconfig/Makefile.am:
28600         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28601         * pkgconfig/gstreamer-dataprotocol.pc.in:
28602         Ported dataprotol to 0.9. 
28603         Added pkgconfig files.
28604
28605 2005-07-05  Andy Wingo  <wingo@pobox.com>
28606
28607         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28608         Default to returning TRUE for the case when tranform_caps returns
28609         a fixed caps, like for identity or volume.
28610
28611         * check/gst/gstbus.c (pound_bus_with_messages): 
28612         * check/gst/gstmessage.c (START_TEST): 
28613         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28614         message API change.
28615
28616         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28617         logic weaks here: always run transform_caps, trying passthrough
28618         operation only if the original caps intersects with the transform.
28619
28620         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28621         source and sink caps.
28622
28623         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28624         Intersect the peer caps with the pad template before going into
28625         transform_caps.
28626         (gst_base_transform_transform_caps): More debugging.
28627
28628         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28629         src argument.
28630
28631 2005-07-04  Edward Hervey  <edward@fluendo.com>
28632
28633         * gst/gstutils.c:
28634         * gst/gstutils.h:
28635         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28636         in bindings.
28637
28638 2005-07-04  Andy Wingo  <wingo@pobox.com>
28639
28640         * check/gst/gstpad.c: Only set explicit caps on pads.
28641
28642 2005-07-01  Andy Wingo  <wingo@pobox.com>
28643
28644         * tests/network-clock.scm: Commentary update.
28645
28646         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28647         Didn't really make sense, not implementable with basetransform,
28648         etc.
28649         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28650         attempt at implementing the sync property, needs an unlock method.
28651
28652         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28653         New func, by default returns the same caps (the identity
28654         transformation).
28655         (gst_base_transform_getcaps): Uses transform_caps to return
28656         something sensible.
28657         (gst_base_transform_setcaps): Complicated logic to get caps on
28658         both pads, even if they are different, and to call set_caps once
28659         for every time both pads get their caps set.
28660         (gst_base_transform_handle_buffer): Give the ref to the transform
28661         function. Allows in-place modification of the buffer.
28662
28663         * gst/base/gstbasetransform.h (transform_caps): New class method.
28664         Given caps on one side, what can I do on the other.
28665         (set_caps): Take two caps, one for each side of the element.
28666
28667         * gst/gstpad.h:
28668         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28669         caps in place. This is safe because we can check the mutability of
28670         the caps, and a good idea because fixate functions are just called
28671         as a matter of last resort. (Not actually implemented.)
28672         (gst_pad_set_caps): If the caps we're setting is actually the same
28673         as the existing pad caps, just update the pointer without calling
28674         setcaps. Assert that caps is either NULL or fixed, as per the
28675         docs.
28676
28677         * gst/gstghostpad.c: Update for fixate changes.
28678
28679 2005-07-02  Andy Wingo  <wingo@pobox.com>
28680
28681         * gst/gstcaps.c:
28682         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28683         two refcounts makes it immutable, which is enough. Doc more.
28684
28685 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28686
28687         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28688           Put the mini_object into GValue as a mini_object,
28689           not a gpointer, since that's how we declared
28690           the signal.
28691
28692 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28693
28694         * examples/pwg/Makefile.am:
28695           Fix buildbot again.
28696
28697 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28698
28699         * docs/pwg/building-testapp.xml:
28700           Add extra check.
28701         * examples/pwg/Makefile.am:
28702           Fix buildbot.
28703
28704 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28705
28706         * configure.ac:
28707         * examples/Makefile.am:
28708         * examples/pwg/Makefile.am:
28709         * examples/pwg/extract.pl:
28710           Enable building the PWG examples.
28711         * docs/pwg/advanced-interfaces.xml:
28712           Add URI interface stub.
28713         * docs/pwg/advanced-types.xml:
28714         * docs/pwg/other-autoplugger.xml:
28715         * docs/pwg/appendix-porting.xml:
28716         * docs/pwg/pwg.xml:
28717           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28718         * docs/pwg/building-boiler.xml:
28719         * docs/pwg/building-chainfn.xml:
28720         * docs/pwg/building-pads.xml:
28721         * docs/pwg/building-props.xml:
28722         * docs/pwg/building-state.xml:
28723         * docs/pwg/building-testapp.xml:
28724           Update the building-*.xml parts for 0.9 changes. All examples
28725           code blocks compile in examples/pwg/*.
28726
28727 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28728
28729         * docs/manual/advanced-autoplugging.xml:
28730         * docs/manual/appendix-checklist.xml:
28731         * docs/manual/appendix-integration.xml:
28732         * docs/manual/highlevel-components.xml:
28733           Fix playbin/decodebin examples, update docs a bit, mention bus
28734           instead of signals in various places, mention kmplayer and
28735           kaffeine since they have a working GStreamer backend in the KDE
28736           section.
28737
28738 2005-06-30  Wim Taymans  <wim@fluendo.com>
28739
28740         * CHANGES-0.9:
28741         * docs/design/draft-ghostpads.txt:
28742         * docs/design/draft-push-pull.txt:
28743         * docs/design/draft-query.txt:
28744         * docs/design/part-TODO.txt:
28745         * docs/design/part-query.txt:
28746         Added CHANGES-0.9 doc, updated status of other docs.
28747         
28748         * gst/gstquery.h:
28749         Remove "hmm" macro
28750
28751 2005-06-30  Wim Taymans  <wim@fluendo.com>
28752
28753         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28754         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28755         (gst_base_sink_change_state):
28756         * gst/base/gstbasesink.h:
28757         Some tweaks, only EOS and a buffer complete a preroll.
28758
28759 2005-06-30  Andy Wingo  <wingo@pobox.com>
28760
28761         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28762         activate_push down to the internal pad as well.
28763
28764 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28765
28766         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28767
28768         * gst/gsttaginterface.c:
28769           Some documentation fixes (#307394 and #307397).
28770
28771 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28772
28773         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28774
28775         * gst/gstvalue.c: (gst_value_intersect_list):
28776           Fix memleak (#309125).
28777
28778 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28779
28780         * docs/manual/advanced-dataaccess.xml:
28781           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28782         * docs/manual/basics-pads.xml:
28783           Add reference for filtered caps to above chapter.
28784
28785 2005-06-30  Wim Taymans  <wim@fluendo.com>
28786
28787         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28788         (gst_bin_change_state):
28789         Probes are gone.
28790         Lame attempt at making the state change function a bit
28791         more readable.
28792
28793 2005-06-30  Wim Taymans  <wim@fluendo.com>
28794
28795         * docs/design/part-clocks.txt:
28796         * docs/design/part-element-sink.txt:
28797         * docs/design/part-events.txt:
28798         * docs/design/part-preroll.txt:
28799         * docs/design/part-states.txt:
28800         Some more tweeks and additions to the docs.
28801
28802 2005-06-30  Wim Taymans  <wim@fluendo.com>
28803
28804         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28805         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28806         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28807         (gst_pad_check_pull_range), (gst_pad_get_range),
28808         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28809         * gst/gstpad.h:
28810         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28811         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28812         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28813         (gst_pad_remove_buffer_probe):
28814         Removed atomic operations, use existing LOCK.
28815         Move exception handling out of main code path.
28816
28817 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28818
28819         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28820         (silly_return_true_function), (gst_pad_class_init),
28821         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28822         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28823         (gst_pad_send_event):
28824           Fix accumulator, add default value by using _emitv() instead
28825           of _emit() for signal emission.
28826
28827 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28828
28829         * docs/manual/advanced-dataaccess.xml:
28830         * examples/manual/Makefile.am:
28831           Add probe example.
28832         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28833           Make work (??).
28834
28835 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28836
28837         * gst/elements/gstfilesink.c: (gst_filesink_render):
28838           Simplify code so that we don't have to handle short
28839           writes and return GST_FLOW_ERROR if an error occured.
28840
28841 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28842
28843         * docs/gst/gstreamer-docs.sgml:
28844           Remove probes more.
28845
28846 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28847
28848         * docs/gst/gstreamer-sections.txt:
28849         * docs/gst/tmpl/gstpad.sgml:
28850         * docs/gst/tmpl/gstprobe.sgml:
28851         * gst/Makefile.am:
28852         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28853         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28854         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28855         (gst_pad_push_event), (gst_pad_send_event):
28856         * gst/gstpad.h:
28857         * gst/gstutils.c: (gst_pad_add_data_probe),
28858         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28859         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28860         (gst_pad_remove_buffer_probe):
28861         * gst/gstutils.h:
28862           Remove old probes, add new g-signal-based probes and some utility
28863           functions.
28864
28865 2005-06-29  Edward Hervey  <edward@fluendo.com>
28866
28867         * gst/gstelementfactory.c:
28868         * gst/gstutils.h:
28869         * gst/gstutils.c:
28870         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28871         the definition to the header file.
28872
28873 2005-06-29  Andy Wingo  <wingo@pobox.com>
28874
28875         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28876         plugins from the source directory.
28877
28878 2005-06-29  Wim Taymans  <wim@fluendo.com>
28879
28880         * docs/gst/tmpl/gstbuffer.sgml:
28881         * docs/gst/tmpl/gstclock.sgml:
28882         Some fixings for blantently wrong text.
28883
28884 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28885
28886         * check/Makefile.am:
28887         * gst/gst.c: (add_path_func), (init_pre):
28888         * gst/gstregistry.c: (gst_registry_add_path):
28889           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28890           only scan the GST_PLUGIN_PATH locations, and not add
28891           system locations
28892
28893 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28894
28895         * docs/gst/gstreamer-sections.txt:
28896         * docs/gst/tmpl/gstbasesrc.sgml:
28897         * gst/gstelement.c:
28898         * gst/gstelement.h:
28899         * gst/gstevent.c:
28900         * gst/gstutils.c:
28901           doc fixes
28902
28903 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28904
28905         * docs/manual/advanced-autoplugging.xml:
28906           Fix autoplugging example.
28907
28908 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28909
28910         * docs/manual/advanced-autoplugging.xml:
28911         * docs/manual/mime-world.fig:
28912           Try to get autoplugging working, fix type detection. Fix text
28913           in hello-world image.
28914
28915 2005-06-29  Wim Taymans  <wim@fluendo.com>
28916
28917         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28918         (gst_base_sink_change_state):
28919         Small debug line.
28920
28921         * gst/gstclock.h:
28922         map SIGNAL and BROADCAST to the right function.
28923
28924         * gst/gstobject.h:
28925         Remove redundant braces.
28926
28927         * gst/gstpad.c: (gst_pad_set_caps):
28928         Don't call setcaps function when reseting caps to NULL.
28929
28930         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28931         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28932         (gst_system_clock_id_unschedule):
28933         Use BROADCAST as this is what we do.
28934
28935 2005-06-29  Wim Taymans  <wim@fluendo.com>
28936
28937         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28938         We are actually prerolling before commiting the state
28939         change. 
28940
28941 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28942
28943         * docs/manual/advanced-clocks.xml:
28944         * docs/manual/advanced-interfaces.xml:
28945         * docs/manual/advanced-metadata.xml:
28946         * docs/manual/advanced-position.xml:
28947         * docs/manual/advanced-schedulers.xml:
28948         * docs/manual/advanced-threads.xml:
28949         * docs/manual/appendix-porting.xml:
28950         * docs/manual/basics-bins.xml:
28951         * docs/manual/basics-bus.xml:
28952         * docs/manual/basics-elements.xml:
28953         * docs/manual/basics-helloworld.xml:
28954         * docs/manual/basics-pads.xml:
28955         * docs/manual/highlevel-components.xml:
28956         * docs/manual/manual.xml:
28957         * docs/manual/thread.fig:
28958           Update (until threads/scheduling) Application Development Manual;
28959           remove GstThread, add GstBus, add simple porting checklist, add
28960           documentation for tag writing, clocks, make all examples until this
28961           part compile and run.
28962         * examples/manual/Makefile.am:
28963           Update from changes to Application Development Manual; add bus
28964           example, remove thread example.
28965
28966 2005-06-28  Wim Taymans  <wim@fluendo.com>
28967
28968         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28969         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28970         (gst_bus_source_dispatch):
28971         Add debugging messages.
28972         Make internal methods static.
28973         Handle the case where the bus is flushed in the handler.
28974         
28975         * gst/gstelement.c: (gst_element_get_bus):
28976         Fix refcount in _get_bus();
28977
28978         * gst/gstpipeline.c: (gst_pipeline_change_state),
28979         (gst_pipeline_get_clock_func):
28980         Clock refcounting fixes.
28981         Handle the case where preroll timed out more gracefully.
28982         
28983         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28984         Clean up the internal thread in dispose. This is needed
28985         for subclasses that actually get disposed.
28986         
28987         * gst/schedulers/threadscheduler.c:
28988         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28989         (gst_thread_scheduler_dispose):
28990         Free thread pool in dispose.
28991
28992 2005-06-28  Andy Wingo  <wingo@pobox.com>
28993
28994         * tests/network-clock-utils.scm (debug, print-event): New utils.
28995
28996         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28997         (*packet-loss*): Unified loss probability.
28998         (network-time): Report out-of-band events.
28999
29000         * tests/plot-data: Add support for out-of-band events. Hack it
29001         into this script instead of passing it down the pipe; should fix
29002         this later.
29003
29004 2005-06-28  Wim Taymans  <wim@fluendo.com>
29005
29006         * docs/gst/gstreamer.types:
29007         * docs/gst/tmpl/gstbasesrc.sgml:
29008         * docs/gst/tmpl/gstpad.sgml:
29009         Docs fixes.
29010
29011 2005-06-28  Wim Taymans  <wim@fluendo.com>
29012
29013         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29014         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29015         (gst_proxy_pad_do_fixatecaps):
29016         Correctly proxy the check_pull_range function.
29017
29018 2005-06-28  Andy Wingo  <wingo@pobox.com>
29019
29020         * tests/network-clock.scm: Removed need for slib.
29021         
29022 2005-06-28  Wim Taymans  <wim@fluendo.com>
29023
29024         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29025         (gst_basesink_preroll_queue_flush):
29026         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29027         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29028         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29029         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29030         (gst_proxy_pad_set_property):
29031         * gst/gstpad.c:
29032         * gst/gstpad.h:
29033         * gst/gstqueue.c: (gst_queue_init):
29034         The deprecated pad loop function is removed now.
29035
29036 2005-06-28  Andy Wingo  <wingo@pobox.com>
29037
29038         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29039         New parameters, simulate network packet loss.
29040
29041         * tests/network-clock-utils.scm: Initialize the RNG.
29042
29043 2005-06-28  Wim Taymans  <wim@fluendo.com>
29044
29045         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29046         (gst_basesink_event), (gst_basesink_deactivate):
29047         Flushing the preroll queue always needs to unlock the waiters.
29048
29049 2005-06-28  Edward Hervey  <edward@fluendo.com>
29050
29051         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29052         Wheen a seek was successful on a pipeline, set the stream_time to the
29053         seek offset in order to have a synchronized stream_time.
29054
29055 2005-06-28  Wim Taymans  <wim@fluendo.com>
29056
29057         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29058         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29059         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29060         (gst_proxy_pad_do_fixatecaps):
29061         Call wrapper function instead of just calling the function
29062         pointers. This takes care of any locking and whatmore.
29063
29064 2005-06-28  Wim Taymans  <wim@fluendo.com>
29065
29066         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29067         (gst_pad_pull_range):
29068         * gst/gstpad.h:
29069         CONNECTED -> LINKED.
29070
29071 2005-06-28  Andy Wingo  <wingo@pobox.com>
29072
29073         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29074         source-munging commit!!!
29075
29076         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29077         (gst_object_sink): Take gpointer arguments, not GstObject --
29078         avoids casts. Like GLib.
29079
29080         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29081         activate.
29082
29083 2005-06-27  Andy Wingo  <wingo@pobox.com>
29084
29085         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29086         remaining buffer.
29087
29088         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29089         returns a sorted copy of the trace list.
29090         (gst_alloc_trace_print_live): New API, only prints traces with
29091         live objects. Sort the list.
29092         (gst_alloc_trace_print_all): Sort the list.
29093         (gst_alloc_trace_print): Align columns.
29094
29095         * gst/elements/gstttypefindelement.c:
29096         * gst/elements/gsttee.c:
29097         * gst/base/gstbasesrc.c:
29098         * gst/base/gstbasesink.c:
29099         * gst/base/gstbasetransform.c:
29100         * gst/gstqueue.c: Adapt for pad activation changes.
29101
29102         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29103         sched.
29104         (gst_pipeline_dispose): Drop ref on sched.
29105
29106         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29107         (gst_pad_activate_default): Push mode by default.
29108         (pre_activate_switch, post_activate_switch): New stubs, things to
29109         do before and after switching activation modes on pads.
29110         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29111         the pad's activate function to choose which mode to activate.
29112         Shortcut on deactivation and call the right function directly.
29113         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29114         mode.
29115         (gst_pad_activate_push): New API, same for push mode.
29116         (gst_pad_set_activate_function) 
29117         (gst_pad_set_activatepull_function) 
29118         (gst_pad_set_activatepush_function): Setters for new API.
29119
29120         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29121         Trace all miniobjects.
29122         (gst_mini_object_make_writable): Unref the arg if we copy, like
29123         gst_caps_make_writable.
29124
29125         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29126
29127         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29128         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29129         Adapt for new pad API.
29130
29131         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29132
29133         * gst/gstelement.h:
29134         * gst/gstelement.c (gst_element_iterate_src_pads) 
29135         (gst_element_iterate_sink_pads): New API functions.
29136         
29137         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29138         should fold into gstiterator.c in some form.
29139         (gst_element_pads_activate): Simplified via use of fold and
29140         delegation of decisions to gstpad->activate.
29141
29142         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29143         help in debugging.
29144
29145         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29146         class once in init, like gstmessage. Didn't run into this issue
29147         but it seems correct. Don't initialize a trace, gstminiobject does
29148         that.
29149
29150         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29151         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29152         to the bus.
29153         (assert_live_count): New util function, uses alloc traces to check
29154         cleanup.
29155
29156         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29157         To be modified when unlink drops the internal pad.
29158
29159 2005-06-27  Wim Taymans  <wim@fluendo.com>
29160
29161         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29162         (gst_bin_change_state):
29163         Cleanup the get_state() function a little, make sure it
29164         iterates the same set of elements.
29165         Added stub iterate_state_order().
29166
29167 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29168
29169         * docs/gst/gstreamer-docs.sgml:
29170         * docs/gst/gstreamer-sections.txt:
29171         * docs/gst/gstreamer.types:
29172         * docs/gst/tmpl/gstbasesink.sgml:
29173         * docs/gst/tmpl/gstbasesrc.sgml:
29174         * docs/gst/tmpl/gstbasetransform.sgml:
29175         * docs/gst/tmpl/gstelement.sgml:
29176         * docs/gst/tmpl/gstiterator.sgml:
29177         * gst/base/gstbasesrc.c:
29178         * gst/base/gstbasesrc.h:
29179         * gst/base/gstbasetransform.h:
29180         * gst/gstelement.c:
29181         * gst/gstiterator.h:
29182           adding basetransform and iterator docs
29183
29184 2005-06-27  Andy Wingo  <wingo@pobox.com>
29185
29186         * docs/design/part-activation.txt: Notes on how activation should
29187         work -- not quite implemented yet.
29188
29189 2005-06-25  Wim Taymans  <wim@fluendo.com>
29190
29191         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29192         At least get the chain function correct, needs more
29193         fixing.
29194
29195 2005-06-25  Wim Taymans  <wim@fluendo.com>
29196
29197         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29198         (gst_basesink_handle_object), (gst_basesink_event),
29199         (gst_basesink_do_sync), (gst_basesink_handle_event),
29200         (gst_basesink_change_state):
29201         * gst/gsttask.h:
29202         Right, two problems here: ghostpads don't take locks and
29203         glib _rec_mutex_lock_full() with depth==0 still locks.
29204         Catch illegal locking and g_warn them.
29205
29206 2005-06-25  Wim Taymans  <wim@fluendo.com>
29207
29208         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29209         Have to check for completion now...
29210
29211 2005-06-25  Wim Taymans  <wim@fluendo.com>
29212
29213         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29214         (gst_basesink_handle_object), (gst_basesink_event),
29215         (gst_basesink_do_sync), (gst_basesink_handle_event),
29216         (gst_basesink_change_state):
29217         * gst/gstpad.h:
29218         Unlock STREAM_LOCK whatever the recursion was.
29219
29220 2005-06-25  Wim Taymans  <wim@fluendo.com>
29221
29222         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29223         (gst_basesink_preroll_queue_empty),
29224         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29225         (gst_basesink_event), (gst_basesink_do_sync),
29226         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29227         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29228         (gst_basesink_change_state):
29229         Reworked the base sink, handle event and buffer serialisation
29230         correctly and removed possible deadlock.
29231         Handle EOS correctly.
29232
29233 2005-06-25  Wim Taymans  <wim@fluendo.com>
29234
29235         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29236         (gst_pipeline_change_state):
29237         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29238         Allow elements to post EOS in the state change function.
29239         Fix up -launch, make it exit the poll loop when the
29240         pipeline actually changed state.
29241         Fix up warning parsing in -launch.
29242
29243 2005-06-25  Wim Taymans  <wim@fluendo.com>
29244
29245         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29246         (gst_tee_sink_activate):
29247         Core takes STREAM_LOCK for us now.
29248
29249 2005-06-25  Wim Taymans  <wim@fluendo.com>
29250
29251         * gst/gstelement.c: (gst_element_get_state_func),
29252         (gst_element_set_state):
29253         * gst/gstelement.h:
29254         * gst/gstmessage.c: (gst_message_parse_error),
29255         (gst_message_parse_warning):
29256         Keep track of current target state while performing a state
29257         change so that subclasses can do something interesting.
29258         Fix parsing of warning/error messages when GError is NULL.
29259
29260 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29261
29262         * docs/gst/Makefile.am:
29263         * docs/gst/gstreamer-docs.sgml:
29264         * docs/gst/gstreamer-sections.txt:
29265         * docs/gst/gstreamer.types:
29266         * docs/gst/tmpl/gstbasesink.sgml:
29267         * docs/gst/tmpl/gstbasesrc.sgml:
29268         * docs/gst/tmpl/gstbin.sgml:
29269         * docs/gst/tmpl/gstcompat.sgml:
29270         * docs/gst/tmpl/gstfakesink.sgml:
29271         * docs/gst/tmpl/gstfakesrc.sgml:
29272         * docs/gst/tmpl/gstfilesink.sgml:
29273         * docs/gst/tmpl/gstfilesrc.sgml:
29274         * docs/gst/tmpl/gstindex.sgml:
29275         * docs/manual/appendix-quotes.xml:
29276         * gst/base/gstbasesrc.h:
29277         * gst/elements/gstfakesrc.h:
29278         * gst/gstmessage.h:
29279           start pulling in base classes and elements in our docs
29280
29281 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29282
29283         * docs/gst/Makefile.am:
29284         * docs/libs/Makefile.am:
29285           fixed make distcheck with gtk-doc 1.3
29286
29287 2005-06-23  Wim Taymans  <wim@fluendo.com>
29288
29289         * gst/gstelement.c: (gst_element_get_state_func),
29290         (gst_element_set_state), (gst_element_change_state):
29291         When the state did not change, also report NO_PREROLL
29292         when it matters.
29293
29294 2005-06-23  Wim Taymans  <wim@fluendo.com>
29295
29296         * gst/gstpad.c: (gst_pad_event_default):
29297         * gst/gstqueue.c: (gst_queue_loop):
29298         No unsafe task pausing please.
29299
29300 2005-06-23  Wim Taymans  <wim@fluendo.com>
29301
29302         * gst/schedulers/threadscheduler.c:
29303         (gst_thread_scheduler_task_start),
29304         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29305         Ref the task before pushing it on the threadpool. This
29306         makes sure that we have a ref when the threadfunction is
29307         actually called.
29308
29309 2005-06-23  Andy Wingo  <wingo@pobox.com>
29310
29311         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29312         offset is greater than the file's size.
29313
29314         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29315         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29316         * gst/gstobject.c (gst_object_class_init): Make the class lock
29317         recursive. Wim won't let me drop deep_notify. Decodebin works
29318         again, whoopdy doo.
29319
29320         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29321         internal pad, and hacks accordingly. Doesn't do it on the target
29322         pad because we change its caps. Probably catches all cases of
29323         interest tho.
29324         (gst_ghost_pad_set_property): Connect to notify::caps as
29325         appropritate.
29326
29327         * tests/network-clock.scm (plot-simulation): Pipe data to the
29328         elite python skript.
29329
29330         * tests/network-clock-utils.scm (define-parameter): New macro,
29331         defines a parameter that can be set via the command line.
29332         (set-parameter!, parse-parameter-arguments): Command line args
29333         parser.
29334
29335         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29336         stdin.
29337
29338 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29339
29340         * gst/elements/gsttypefindelement.c:
29341         (gst_type_find_element_handle_event):
29342           Don't restart typefinding on a discont.
29343         * gst/gstelement.c: (gst_element_set_state):
29344           Debug spelling fix.
29345         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29346           Allow changing mode of an active pad.
29347           Debug output fixes.
29348         * gst/registries/gstlibxmlregistry.c: (load_feature):
29349           Don't cast a static pad template to a normal pad template.
29350
29351 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29352
29353         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29354         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29355           remove gst_strtoll completely, since it didn't actually do
29356           anything more than what g_ascii_strtoull already does.
29357           check for range errors when deserializing
29358           do a cast for the unsigned cases; but further fixing needs
29359           a decision on what the interpretation of "(int)" and
29360           deserialization should be for values that fall outside the
29361           type's boundaries (ie, refuse, or interpret as casting)
29362
29363 2005-06-23  Wim Taymans  <wim@fluendo.com>
29364
29365         * check/Makefile.am:
29366         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29367         * docs/design/part-live-source.txt:
29368         * docs/design/part-states.txt:
29369         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29370         (gst_basesrc_set_live), (gst_basesrc_is_live),
29371         (gst_basesrc_get_range), (gst_basesrc_activate),
29372         (gst_basesrc_change_state):
29373         * gst/base/gstbasesrc.h:
29374         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29375         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29376         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29377         * gst/gstelement.c: (gst_element_get_state_func),
29378         (gst_element_set_state):
29379         * gst/gstelement.h:
29380         * gst/gsttypes.h:
29381         * tools/gst-launch.c: (event_loop), (main):
29382         Added support for live sources and other elements that
29383         cannot do preroll.
29384         Updated design docs, added live-source design doc.
29385         Implemented live source functionality in basesrc
29386         Fix error condition in _bin_get_state()
29387         Implement live source handling in -launch.
29388         Added check for live sources.
29389         Fixed case in GstBin where elements were changed state
29390         multiple times.
29391
29392
29393 2005-06-23  Andy Wingo  <wingo@pobox.com>
29394
29395         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29396         borken refcounting.
29397
29398         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29399         gst_caps_replace takes care of this for us.
29400
29401         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29402         gst_pad_set_caps on the target, not just its setcaps() function.
29403
29404         * tests/network-clock.scm: 
29405         * tests/network-clock-utils.scm: A network clock simulator.
29406         Something of an algorithmic testbed before doing something in C.
29407
29408 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29409
29410         * check/Makefile.am:
29411         * check/gst/capslist.h:
29412           copy over from 0.8, and add two with bitmasks specified with
29413           (int) 0xFF...
29414         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29415           add test to parse everything from capslist.h
29416         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29417         (main):
29418           add test for structure deserialization
29419         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29420           add tests for deserialization of strings to int types
29421         * gst/gststructure.c: (gst_structure_nth_field_name):
29422         * gst/gststructure.h:
29423           add a way to get the name of a field referenced by index
29424         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29425           instead of checking if the resulting long long lies between
29426           min and max, we check if the long long would fit into
29427           a number of bytes for the final type.
29428           This fixes cases where a string represents 2^32 - 1, which
29429           when cast to int would be the (valid) -1, but is bigger than
29430           G_MAXINT
29431
29432 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29433
29434         * gst/parse/grammar.y:
29435           add a log line for type deserialization
29436
29437 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29438
29439         * check/gst/gstvalue.c: (START_TEST):
29440         * gst/gstvalue.c: (gst_value_deserialize):
29441           return long long, not int, so gint64 deserialization actually
29442           works.  Is there any flag that makes the compiler check this ?
29443           Fixes #308559
29444
29445 2005-06-22  Wim Taymans  <wim@fluendo.com>
29446
29447         * gst/gstbuffer.h:
29448         Added convenience macros for setting buffers in GValue.
29449
29450 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29451
29452         * check/gst/.cvsignore:
29453         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29454           add a test deserializing int64, and comment part out because
29455           it fails, yay !
29456
29457 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29458
29459         * check/Makefile.am:
29460         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29461         * testsuite/Makefile.am:
29462         * testsuite/caps/Makefile.am:
29463         * testsuite/caps/value_serialize.c:
29464         * testsuite/test_gst_init.c:
29465           move a value_serialize test over
29466
29467 2005-06-20  Wim Taymans  <wim@fluendo.com>
29468
29469         * gst/gstpad.c:
29470         Small doc updates.
29471         
29472         * gst/gstvalue.c: (gst_value_compare_buffer),
29473         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29474         (gst_value_compare_flags), (gst_value_serialize_flags),
29475         (gst_value_deserialize_flags), (_gst_value_initialize):
29476         Fix serialisation of buffers, they are not boxed types anymore
29477
29478 2005-06-20  Wim Taymans  <wim@fluendo.com>
29479
29480         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29481         Testcase to show error in buffer-on-caps serialisation.
29482
29483 2005-06-20  Andy Wingo  <wingo@pobox.com>
29484
29485         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29486         will be adding to later.
29487
29488         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29489         if its socks fill with rocks.
29490         (gst_system_clock_obtain): Set the name on object construction.
29491         Avoid double-checked locking.
29492
29493 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29494
29495         * gst/gsturi.c: (gst_element_make_from_uri):
29496           Fix potential endless loop.
29497
29498 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29499
29500         * check/Makefile.am:
29501           add gsttag
29502         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29503         (main):
29504           move over from testsuite dir and clean up
29505         * configure.ac:
29506         * gst/gsttag.c:
29507         * testsuite/Makefile.am:
29508         * testsuite/tags/.cvsignore:
29509         * testsuite/tags/Makefile.am:
29510         * testsuite/tags/merge.c:
29511           remove testsuite/tags
29512
29513 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29514
29515         * docs/gst/gstreamer-sections.txt:
29516         * docs/gst/tmpl/gstenumtypes.sgml:
29517         * win32/gstenumtypes.c:
29518           clean up documentation build a little
29519
29520 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29521
29522         * check/gstcheck.h:
29523           add macros for checking refcounts on objects and caps
29524         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29525           add some more unit tests
29526         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29527         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29528           fix leaked refcounts (I hope :)) so unittest works
29529         * gst/gstpad.h:
29530           whitespace removal
29531
29532 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29533
29534         * configure.ac: back to HEAD
29535
29536 === release 0.9.1 ===
29537
29538 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29539
29540         * NEWS:
29541         * RELEASE:
29542           updated
29543
29544 2005-06-17  Andy Wingo  <wingo@pobox.com>
29545
29546         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29547         assert; it's always possible that the pad gets deactivated in
29548         between the checks in gstpad.c and the implementation. Rely on
29549         finish_preroll() to return a FLUSHING or similar instead of on the
29550         assert.
29551         
29552         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29553         clock and post an EOS message if we come out of finish_preroll in
29554         the playing state.
29555
29556 2005-06-16  David Schleef  <ds@schleef.org>
29557
29558         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29559         (gst_capsfilter_set_property): Allow NULL as possible value
29560         for filter_caps property, indicating GST_CAPS_ANY.
29561
29562 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29563
29564         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29565           fix debug output
29566         * gst/schedulers/Makefile.am:
29567           use libgst prefix
29568         * gstreamer.spec.in:
29569           fix spec for it
29570
29571 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29572
29573         * gstreamer.spec.in:
29574           clean up
29575
29576 2005-06-08  Andy Wingo  <wingo@pobox.com>
29577
29578         * gst/gstutils.c: RPAD fixes all around.
29579         (gst_element_link_pads): Refcounting fixes.
29580
29581         * tools/gst-inspect.c:
29582         * tools/gst-xmlinspect.c:
29583         * parse/grammar.y:
29584         * gst/base/gsttypefindhelper.c:
29585         * gst/base/gstbasesink.c:
29586         * gst/gstqueue.c: RPAD fixes.
29587
29588         * gst/gstghostpad.h:
29589         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29590         pads. The tricky thing is they provide both source and sink
29591         interfaces, since they proxy the internal pad for the external
29592         pad, and vice versa. Implement with lower-level ProxyPad objects,
29593         with the interior proxy pad as a child of the exterior ghost pad.
29594         Should write a doc on this.
29595         
29596         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29597         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29598         gst_object API.
29599         
29600         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29601         pads are real pads. No ghost pads in this file. Not documenting
29602         the myriad s/RPAD/PAD/ and REALIZE fixes.
29603         (gst_pad_class_init): Add properties for "direction" and
29604         "template". Both are construct-only, so they can't change during
29605         the life of the pad. Fixes properly deriving from GstPad.
29606         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29607         derived objects, just set properties when creating the objects via
29608         g_object_new.
29609         (gst_pad_get_parent): Implement as a function, return NULL if the
29610         parent is not an element.
29611         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29612         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29613         
29614         * gst/gstobject.c (gst_object_class_init): Make name a construct
29615         property. Don't set it in the object init.
29616
29617         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29618         with UNKNOWN direction.
29619         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29620         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29621         (gst_element_remove_pad): Remove ghost-pad special cases.
29622         (gst_element_pads_activate): Remove rpad cruft.
29623
29624         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29625         catch the pad's-parent-not-an-element case.
29626
29627         * gst/gst.h: Include gstghostpad.h.
29628
29629         * gst/gst.c (init_post): No more real, ghost pads.
29630
29631         * gst/Makefile.am: Add gstghostpad.[ch].
29632
29633         * check/Makefile.am:
29634         * check/gst/gstbin.c:
29635         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29636         into a bin creates ghost pads, and that the refcounts are right.
29637         Partly moved from gstbin.c.
29638
29639 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29640
29641         * check/gst-libs/.cvsignore:
29642         * check/gst/.cvsignore:
29643         * check/pipelines/.cvsignore:
29644           ignore more
29645         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29646         (START_TEST), (cleanup_suite), (main):
29647           add some tests related to cleanup after running pipelines
29648
29649 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29650
29651         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29652           add a testsuite for GstBuffer
29653
29654 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29655
29656         * gst/gstminiobject.h:
29657           add defines for accessing the refcount
29658
29659 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29660
29661         * Makefile.am: added support for html unit test coverage reports
29662
29663 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29664
29665         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29666           Free existing caps if the capsfilter changes. Add a FIXME about
29667           setting those caps on the pads.
29668
29669         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29670           Before adding a ghost pad to a parent bin, check that there isn't
29671           already one for the element on the bin. Prevents infinite recursion
29672           when using decodebin in parse pipelines. Andy says he'll rewrite the
29673           way this works anyway, so ignore the hack.
29674
29675 2005-06-02  Andy Wingo  <wingo@pobox.com>
29676
29677         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29678         file size, pass it on to the type find helper.
29679
29680         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29681         segment_start and segment_end properly according to the seek
29682         method. Segment_end is still a bit flaky because offset can be
29683         negative for CUR and END cases, but it takes -1 as an "unset"
29684         value.
29685
29686 2005-06-02  Wim Taymans  <wim@fluendo.com>
29687
29688         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29689         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29690         (gst_basesink_activate):
29691         * gst/base/gstbasesink.h:
29692         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29693         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29694         (gst_pad_query), (gst_pad_start_task):
29695         * gst/gstpad.h:
29696         * gst/gstqueue.c: (gst_queue_bufferalloc),
29697         (gst_queue_handle_sink_event), (gst_queue_chain):
29698         Bufferalloc: return GstFlowReturn to more accuratly report
29699         why allocation failed.
29700
29701 2005-06-02  Wim Taymans  <wim@fluendo.com>
29702
29703         * gst/gstpipeline.c: (gst_pipeline_send_event):
29704         Take snapshot of state without blocking.
29705
29706 2005-06-02  Wim Taymans  <wim@fluendo.com>
29707
29708         * docs/design/part-TODO.txt:
29709         * docs/design/part-caps.txt:
29710         * docs/design/part-clocks.txt:
29711         * docs/design/part-negotiation.txt:
29712         * docs/design/part-preroll.txt:
29713         Small doc updates 
29714
29715 2005-05-30  Wim Taymans  <wim@fluendo.com>
29716
29717         * gst/elements/gstidentity.c: (gst_identity_event),
29718         (gst_identity_transform), (gst_identity_get_property):
29719         Protect last_message property as it is accessed from
29720         multiple threads.
29721
29722 2005-05-30  Wim Taymans  <wim@fluendo.com>
29723
29724         * gst/gstelement.c: (gst_element_init),
29725         (gst_element_pads_activate), (gst_element_change_state):
29726         Slicker pad activation code.
29727
29728 2005-05-30  Wim Taymans  <wim@fluendo.com>
29729
29730         * gst/Makefile.am:
29731         * gst/gstelement.h:
29732         * gst/gstelementfactory.h:
29733         * gst/gsttypes.h:
29734         Move elementfactory methods to separate .h file.
29735
29736 2005-05-30  Wim Taymans  <wim@fluendo.com>
29737
29738         * docs/design/part-overview.txt:
29739         * gst/gstsystemclock.h:
29740         Small typo fixes, doc updates.
29741
29742 2005-05-30  Wim Taymans  <wim@fluendo.com>
29743
29744         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29745         (init_popt_callback):
29746         Remove cpu-opt flag.
29747
29748 2005-05-30  Wim Taymans  <wim@fluendo.com>
29749
29750         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29751         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29752         * gst/gstbuffer.h:
29753         Avoid typechecking in places where not needed.
29754         Added accessor for malloc_data.
29755
29756 2005-05-30  Wim Taymans  <wim@fluendo.com>
29757
29758         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29759         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29760         (gst_pad_configure_sink), (gst_pad_configure_src),
29761         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29762         (gst_pad_start_task):
29763         Propagate errors from _set_caps() in configure_src/sink
29764         functions instead of returning TRUE.
29765         FLUSH events can travel up and downstream
29766
29767
29768 2005-05-30  Wim Taymans  <wim@fluendo.com>
29769
29770         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29771         (gst_basesink_activate):
29772         Handle EOS in preroll.
29773
29774 2005-05-30  Wim Taymans  <wim@fluendo.com>
29775
29776         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29777         (gst_queue_loop), (gst_queue_handle_src_event):
29778         Remove old pieces of code
29779         Flushing the queue in an upstream event is a very bad idea.
29780
29781 2005-05-26  Andy Wingo  <wingo@pobox.com>
29782
29783         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29784         gst_value_set_mini_object so as to add a ref on the object (which
29785         will be removed when the value is unset).
29786
29787         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29788         arg type in ::handoff.
29789
29790         * gst/gstelement.c (gst_element_change_state): Also deactivate
29791         pads in READY->NULL, just in case the element didn't make it to
29792         PAUSED. Wingo tested, Wim approved.
29793
29794 2005-05-26  Wim Taymans  <wim@fluendo.com>
29795
29796         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29797         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29798         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29799         A flushing pad cannot be used to alloc_buffer from.
29800
29801 2005-05-26  Wim Taymans  <wim@fluendo.com>
29802
29803         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29804         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29805         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29806         (gst_bus_create_watch), (gst_bus_add_watch_full):
29807         * gst/gstbus.h:
29808         Implement a real GSource and use g_main_context_wakeup() to
29809         signal new messages instead of the socketpair.
29810
29811 2005-05-25  Wim Taymans  <wim@fluendo.com>
29812
29813         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29814         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29815         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29816         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29817         (gst_pad_send_event), (gst_pad_start_task):
29818         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29819         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29820         (gst_queue_sink_activate), (gst_queue_src_activate),
29821         (gst_queue_change_state):
29822         * gst/gstqueue.h:
29823         Fix state changes for non sinks. We now change sinks, then elements
29824         with unconnected srcpads, then the rest.
29825         More efficient queue unlocking in flush and state changes.
29826         Set the pad activate mode even if it does not have an activate
29827         function.
29828
29829 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29830
29831         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29832           Don't go in pull mode for non-seekable sources.
29833         * gst/elements/gsttypefindelement.h:
29834         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29835         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29836         (free_entry), (stop_typefinding),
29837         (gst_type_find_element_handle_event), (find_peek),
29838         (gst_type_find_element_chain), (do_pull_typefind),
29839         (gst_type_find_element_change_state):
29840           Allow typefinding (w/o seeking) in push-mode, simplified version
29841           of what was in 0.8.
29842         * gst/gstutils.c: (gst_buffer_join):
29843         * gst/gstutils.h:
29844           gst_buffer_join() from 0.8.
29845
29846 2005-05-25  Wim Taymans  <wim@fluendo.com>
29847
29848         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29849         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29850         (gst_pad_send_event), (gst_pad_start_task):
29851         Disable attempt at mode switching until it is figured out.
29852
29853 2005-05-25  Wim Taymans  <wim@fluendo.com>
29854
29855         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29856         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29857         (gst_basesink_finish_preroll), (gst_basesink_chain),
29858         (gst_basesink_loop), (gst_basesink_activate),
29859         (gst_basesink_change_state):
29860         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29861         (gst_basesrc_get_range), (gst_basesrc_loop),
29862         (gst_basesrc_activate):
29863         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29864         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29865         (gst_real_pad_init), (gst_real_pad_set_property),
29866         (gst_real_pad_get_property), (gst_pad_set_active),
29867         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29868         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29869         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29870         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29871         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29872         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29873         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29874         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29875         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29876         (gst_pad_stop_task):
29877         * gst/gstpad.h:
29878         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29879         (gst_queue_loop), (gst_queue_src_activate):
29880         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29881         (gst_task_get_state):
29882         * gst/gsttask.h:
29883         * gst/schedulers/threadscheduler.c:
29884         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29885         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29886         in task function.
29887         Remove ACTIVE pad flag, use FLUSHING everywhere
29888         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29889         functions.
29890         Add locks around IS_FLUSHING when reading.
29891         Take STREAM lock in chain(), get_range() functions so plugins
29892         don't need to take it anymore.
29893         
29894
29895
29896 2005-05-25  Wim Taymans  <wim@fluendo.com>
29897
29898         * tools/gst-launch.c: (event_loop):
29899         Unref message after using its contents instead of
29900         before.
29901
29902 2005-05-24  Wim Taymans  <wim@fluendo.com>
29903
29904         * docs/design/draft-ghostpads.txt:
29905         * docs/design/draft-push-pull.txt:
29906         * docs/design/draft-query.txt:
29907         * docs/design/part-overview.txt:
29908         Docs updates, added general overview doc.
29909
29910 2005-05-21  David Schleef  <ds@schleef.org>
29911
29912         * docs/gst/tmpl/old/GstBin.sgml:
29913         * docs/gst/tmpl/old/GstBuffer.sgml:
29914         * docs/gst/tmpl/old/GstCaps.sgml:
29915         * docs/gst/tmpl/old/GstClock.sgml:
29916         * docs/gst/tmpl/old/GstCompat.sgml:
29917         * docs/gst/tmpl/old/GstData.sgml:
29918         * docs/gst/tmpl/old/GstElement.sgml:
29919         * docs/gst/tmpl/old/GstEvent.sgml:
29920         * docs/gst/tmpl/old/GstIndex.sgml:
29921         * docs/gst/tmpl/old/GstStructure.sgml:
29922         * docs/gst/tmpl/old/GstTag.sgml:
29923         * docs/gst/tmpl/old/cothreads.sgml:
29924         * docs/gst/tmpl/old/cothreads_compat.sgml:
29925         * docs/gst/tmpl/old/gettext.sgml:
29926         * docs/gst/tmpl/old/gobject2gtk.sgml:
29927         * docs/gst/tmpl/old/grammar.tab.sgml:
29928         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29929         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29930         * docs/gst/tmpl/old/gst_private.sgml:
29931         * docs/gst/tmpl/old/gstaggregator.sgml:
29932         * docs/gst/tmpl/old/gstarch.sgml:
29933         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29934         * docs/gst/tmpl/old/gstbufferstore.sgml:
29935         * docs/gst/tmpl/old/gstdata_private.sgml:
29936         * docs/gst/tmpl/old/gstdisksink.sgml:
29937         * docs/gst/tmpl/old/gstdisksrc.sgml:
29938         * docs/gst/tmpl/old/gstelementfactory.sgml:
29939         * docs/gst/tmpl/old/gstextratypes.sgml:
29940         * docs/gst/tmpl/old/gstfakesink.sgml:
29941         * docs/gst/tmpl/old/gstfakesrc.sgml:
29942         * docs/gst/tmpl/old/gstfdsink.sgml:
29943         * docs/gst/tmpl/old/gstfdsrc.sgml:
29944         * docs/gst/tmpl/old/gstfilesink.sgml:
29945         * docs/gst/tmpl/old/gstfilesrc.sgml:
29946         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29947         * docs/gst/tmpl/old/gstidentity.sgml:
29948         * docs/gst/tmpl/old/gstindexfactory.sgml:
29949         * docs/gst/tmpl/old/gstmarshal.sgml:
29950         * docs/gst/tmpl/old/gstmd5sink.sgml:
29951         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29952         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29953         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29954         * docs/gst/tmpl/old/gstpipefilter.sgml:
29955         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29956         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29957         * docs/gst/tmpl/old/gstshaper.sgml:
29958         * docs/gst/tmpl/old/gstspider.sgml:
29959         * docs/gst/tmpl/old/gstspideridentity.sgml:
29960         * docs/gst/tmpl/old/gststatistics.sgml:
29961         * docs/gst/tmpl/old/gsttee.sgml:
29962         * docs/gst/tmpl/old/gsttimecache.sgml:
29963         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29964         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29965         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29966         * docs/gst/tmpl/old/types.sgml:
29967           I didn't intend to add these or check them in.
29968
29969 2005-05-19  David Schleef  <ds@schleef.org>
29970
29971         * configure.ac: Use -no-common everywhere.  In a sane world, it
29972           would be the default in libtool, because without it, you can't
29973           build DLLs on Windows.
29974         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29975         * docs/gst/gstreamer-sections.txt:
29976         * docs/gst/tmpl/gstcpu.sgml:
29977         * docs/gst/tmpl/gstdata.sgml:
29978         * docs/gst/tmpl/gstthread.sgml:
29979
29980 2005-05-19  David Schleef  <ds@schleef.org>
29981
29982         * gst/gstminiobject.c: (gst_value_set_mini_object),
29983         (gst_value_take_mini_object), (gst_value_get_mini_object):
29984         * gst/gstminiobject.h: Add GValue set/get functions.
29985
29986 2005-05-19  Wim Taymans  <wim@fluendo.com>
29987
29988         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29989         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29990         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29991         * gst/gstbuffer.h:
29992         * gst/gstbus.c: (gst_bus_post):
29993         * gst/gstelement.c: (gst_element_get_random_pad):
29994         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29995         Make subbufer unref the parent in finalize.
29996         some more debugging info.
29997
29998
29999 2005-05-19  Wim Taymans  <wim@fluendo.com>
30000
30001         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30002         (gst_basesink_init), (gst_basesink_finalize),
30003         (gst_basesink_activate), (gst_basesink_change_state):
30004         Don't free preroll queue too early.
30005
30006 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30007
30008         * gst/Makefile.am:
30009         * gst/ROADMAP:
30010           Hi, I'm outdated. Please shoot me.
30011
30012 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30013
30014         * gst/gstpipeline.c: (gst_pipeline_send_event):
30015           Do not access variables after they have been deleted.
30016
30017 2005-05-19  Wim Taymans  <wim@fluendo.com>
30018
30019         * tools/gst-inspect.c: (print_plugin_features):
30020         A plugin feature does unfortunatly not use the
30021         object name yet...
30022
30023 2005-05-18  Wim Taymans  <wim@fluendo.com>
30024
30025         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30026         Port _span() functions to new subbuffers.
30027
30028 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30029
30030         * gst/gstbin.c: (gst_bin_add_func):
30031           Fix clock settery in bins when adding kids after the clock has
30032           been selected.
30033
30034 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30035
30036         * gst/elements/gstidentity.c: (gst_identity_class_init):
30037           Workaround until signals support GstMiniObject.
30038
30039 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30040
30041         * gst/gstbuffer.c:
30042         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30043
30044 2005-05-18  Wim Taymans  <wim@fluendo.com>
30045
30046         * gst/base/Makefile.am:
30047         * gst/base/gstadapter.c: (gst_adapter_base_init),
30048         (gst_adapter_class_init), (gst_adapter_init),
30049         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30050         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30051         (gst_adapter_flush), (gst_adapter_available),
30052         (gst_adapter_available_fast):
30053         * gst/base/gstadapter.h:
30054         Ported and added adapter to the base classes.
30055
30056 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30057
30058         * gst/gst.c:
30059         * gst/gstmessage.c:
30060           Make sure the class is reffed/unreffed once before threads can be
30061           used.  Fixes #304551.
30062
30063 2005-05-17  Wim Taymans  <wim@fluendo.com>
30064
30065         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30066         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30067         * gst/gstminiobject.c: (gst_mini_object_get_type),
30068         (gst_mini_object_free):
30069         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30070         (gst_pad_push), (gst_pad_push_event):
30071         * gst/gstqueue.c: (gst_queue_change_state):
30072         Don't queue buffers in basesink when we are flushing.
30073         Unref buffer when flushing in basesink.
30074         Flush queue when going to READY
30075         Unref buffer when _push() returns an error.
30076         Don't free MiniObject instance when refcount is incremented
30077         in _finalize() so that we can recover objects.
30078
30079 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30080
30081         * docs/manual/advanced-schedulers.xml:
30082         * docs/manual/appendix-checklist.xml:
30083         * docs/pwg/advanced-clock.xml:
30084         * docs/pwg/advanced-interfaces.xml:
30085         * docs/pwg/advanced-request.xml:
30086         * docs/pwg/advanced-types.xml:
30087         * docs/pwg/intro-preface.xml:
30088         * examples/plugins/example.c: (gst_example_get_type),
30089         (gst_example_class_init), (gst_example_chain),
30090         (gst_example_set_property), (gst_example_get_property),
30091         (gst_example_change_state), (plugin_init):
30092         * examples/plugins/example.h:
30093           small doc fixes
30094
30095 2005-05-17  Wim Taymans  <wim@fluendo.com>
30096
30097         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30098         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30099         * gst/gstqueue.c: (gst_queue_change_state):
30100         Clear queue when going to READY.
30101         Remove IN_SETCAPS flag too.
30102
30103 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30104
30105         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30106           Remove implicit cast from gboolean to GstElementStateReturn;
30107           make sure we still return failure in paused => ready case if
30108           the parent class fails to change state and our own stop 
30109           vfunc succeeds.
30110
30111 2005-05-17  Wim Taymans  <wim@fluendo.com>
30112
30113         * tools/gst-launch.c: (event_loop):
30114         Message was unreffed too soon.
30115
30116 2005-05-16  Andy Wingo  <wingo@pobox.com>
30117
30118         * gst/gstbin.c (sink_iterator_filter): Err... um...
30119
30120         * check/gst/gstbin.c (test_ghost_pads): New test for the
30121         ghosting-if-elements-not-in-same-bin behavior.
30122
30123 2005-05-16  David Schleef  <ds@schleef.org>
30124
30125         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30126         accessing refcount directly.
30127
30128 2005-05-15  David Schleef  <ds@schleef.org>
30129
30130         * check/Makefile.am: remove GstData checks
30131         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30132         * gst/Makefile.am: add miniobject, remove data
30133         * gst/gst.h: add miniobject, remove data
30134         * gst/gstdata.c: remove
30135         * gst/gstdata.h: remove
30136         * gst/gstdata_private.h: remove
30137         * gst/gsttypes.h: remove GstEvent and GstMessage
30138         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30139         * gst/gstmarshal.list: change BOXED -> OBJECT
30140
30141         Implement GstMiniObject.
30142         * gst/gstminiobject.c:
30143         * gst/gstminiobject.h:
30144
30145         Modify to be subclasses of GstMiniObject.
30146         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30147         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30148         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30149         (gst_subbuffer_get_type), (gst_subbuffer_init),
30150         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30151         (gst_buffer_span):
30152         * gst/gstbuffer.h:
30153         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30154         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30155         (_gst_event_copy), (gst_event_new):
30156         * gst/gstevent.h:
30157         * gst/gstmessage.c: (_gst_message_initialize),
30158         (gst_message_get_type), (gst_message_class_init),
30159         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30160         (gst_message_new), (gst_message_new_error),
30161         (gst_message_new_warning), (gst_message_new_tag),
30162         (gst_message_new_state_changed), (gst_message_new_application):
30163         * gst/gstmessage.h:
30164         * gst/gstprobe.c: (gst_probe_perform),
30165         (gst_probe_dispatcher_dispatch):
30166         * gst/gstprobe.h:
30167         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30168         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30169         (_gst_query_copy), (gst_query_new):
30170
30171         Update elements for GstData -> GstMiniObject changes
30172         * gst/gstquery.h:
30173         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30174         (gst_queue_chain), (gst_queue_loop):
30175         * gst/elements/gstbufferstore.c:
30176         (gst_buffer_store_add_buffer_func),
30177         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30178         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30179         (gst_fakesink_render):
30180         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30181         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30182         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30183         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30184         (gst_filesrc_create_read):
30185         * gst/elements/gstidentity.c: (gst_identity_class_init):
30186         * gst/elements/gsttypefindelement.c:
30187         (gst_type_find_element_src_event), (free_entry_buffers),
30188         (gst_type_find_element_handle_event):
30189         * libs/gst/dataprotocol/dataprotocol.c:
30190         (gst_dp_header_from_buffer):
30191         * libs/gst/dataprotocol/dataprotocol.h:
30192         * libs/gst/dataprotocol/dp-private.h:
30193
30194 2005-05-15  David Schleef  <ds@schleef.org>
30195
30196         * gst/elements/gstelements.c: Don't include headers that were
30197         just removed.
30198
30199 2005-05-15  David Schleef  <ds@schleef.org>
30200
30201         * gst/elements/Makefile.am: Remove some elements that don't
30202         need to be in the core (or even exist at all).
30203         * gst/elements/gstaggregator.c:
30204         * gst/elements/gstaggregator.h:
30205         * gst/elements/gstmd5sink.c:
30206         * gst/elements/gstmd5sink.h:
30207         * gst/elements/gstmultifilesrc.c:
30208         * gst/elements/gstmultifilesrc.h:
30209         * gst/elements/gstpipefilter.c:
30210         * gst/elements/gstpipefilter.h:
30211         * gst/elements/gstshaper.c:
30212         * gst/elements/gstshaper.h:
30213         * gst/elements/gststatistics.c:
30214         * gst/elements/gststatistics.h:
30215         * po/POTFILES.in: Remove above files.
30216
30217 2005-05-14  Andy Wingo  <wingo@pobox.com>
30218
30219         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30220         so as to get the refs right.
30221         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30222         unreffing objects that don't pass the filter.
30223
30224         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30225         gst_element_set_bus.
30226         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30227         normal cases, this will destroy the bus.
30228
30229         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30230         object.
30231
30232         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30233         has no sinks.
30234
30235 2005-05-13  Andy Wingo  <wingo@pobox.com>
30236
30237         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30238         gst_pad_link, call pad_link_maybe_ghosting,
30239         (pad_link_maybe_ghosting): Links pads, making sure that the
30240         elements being linked are in the same bin.
30241         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30242         Helpers for pad_link_maybe_ghosting.
30243
30244 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30245
30246         * configure.ac:
30247           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30248
30249 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30250
30251         * docs/design/part-element-source.txt:
30252           Mention GstPushSrc
30253
30254 2005-05-12  Wim Taymans  <wim@fluendo.com>
30255
30256         * gst/base/gstbasesink.c: (gst_basesink_init),
30257         (gst_basesink_activate):
30258         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30259         (gst_basesrc_is_seekable):
30260         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30261         (bin_element_is_sink), (gst_bin_change_state):
30262         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30263         * gst/gstelement.h:
30264         Identify sinks by their flag to avoid overly complicated
30265         checks (fow now).
30266         Do state changes even for elements not reachable from the
30267         sinks.
30268         BaseSink is a sink now :)
30269         Some more debugging info in the basesrc.
30270
30271
30272 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30273
30274         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30275           Implement _query on a bin, similar to _send_event.
30276
30277 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30278
30279         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30280           Discont event offset format should be GST_FORMAT_BYTES,
30281           not GST_FORMAT_TIME.
30282
30283 2005-05-12  Wim Taymans  <wim@fluendo.com>
30284
30285         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30286         Same fix as Ronald's but without the signal. 
30287
30288 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30289
30290         * gst/gstutils.c: (gst_element_query_position):
30291           No, an element is not a pad.
30292
30293 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30294
30295         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30296         (gst_bin_get_state):
30297           If a child is removed from a bin while we remove the child from
30298           the bin and while we're retrieving its state, signal this to the
30299           get_state function so we abort the wait (instead of waiting for
30300           a timeout) and can immediately re-iterate over all other elements.
30301
30302 2005-05-12  Wim Taymans  <wim@fluendo.com>
30303
30304         * gst/base/Makefile.am:
30305         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30306         (gst_basesrc_start):
30307         * gst/base/gstbasesrc.h:
30308         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30309         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30310         (gst_pushsrc_init), (gst_pushsrc_create):
30311         * gst/base/gstpushsrc.h:
30312         Added is_seekable to BaseSrc
30313         Added simple PushSrc.
30314
30315 2005-05-11  Wim Taymans  <wim@fluendo.com>
30316
30317         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30318         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30319         (gst_element_link_pads), (gst_element_query_position),
30320         (gst_element_query_convert), (intersect_caps_func),
30321         (gst_pad_query_position), (gst_pad_query_convert):
30322         Fix refcounting in utils function.
30323         No point in trying to activate a pad when it's added, it could
30324         be added from the state change function and then we deadlock, the
30325         element has to decide what to do.
30326
30327 2005-05-10  Andy Wingo  <wingo@pobox.com>
30328
30329         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30330         *all* the arguments.
30331
30332         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30333         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30334         lock (according to the docs -- if this is wrong change the docs).
30335
30336         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30337         flush messages in the NULL state.
30338
30339         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30340         message immediately and return.
30341         (gst_bus_set_flushing): New function. If a bus is flushing, it
30342         flushes out any queued messages and immediately unrefs new
30343         messages. This is so when an element goes to NULL, all of the
30344         unhandled messages coming from it can be freed, and their
30345         references to the element dropped. In other words: message source
30346         ref considered harmful :P
30347
30348         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30349         we're finished with it.
30350
30351         * gst/gstmessage.c (gst_message_new_state_changed): 
30352
30353 2005-05-10  Wim Taymans  <wim@fluendo.com>
30354
30355         * gst/gstvalue.c: (gst_value_compare_flags),
30356         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30357         (_gst_value_initialize):
30358         Added flags serialize/deserialize/compare code.
30359
30360 2005-05-09  Andy Wingo  <wingo@pobox.com>
30361
30362         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30363         Intersect the peer's caps with our caps.
30364
30365 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30366
30367         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30368         * gst/elements/gsttypefindelement.c: (find_peek):
30369           Handle negative offsets better. Fixes decodebin.
30370
30371 2005-05-09  Wim Taymans  <wim@fluendo.com>
30372
30373         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30374         (gst_base_transform_event):
30375         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30376         Implement accept_caps.
30377         Fix silly lock/unlock mismatch in base class.
30378
30379 2005-05-09  Wim Taymans  <wim@fluendo.com>
30380
30381         * docs/design/draft-push-pull.txt:
30382         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30383         * gst/elements/gstfilesink.c: (gst_filesink_init),
30384         (gst_filesink_query):
30385         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30386         (gst_type_find_handle_src_query), (find_element_get_length):
30387         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30388         * gst/gstelement.h:
30389         * gst/gstmessage.c:
30390         * gst/gstmessage.h:
30391         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30392         (gst_real_pad_get_caps_unlocked),
30393         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30394         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30395         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30396         (gst_real_pad_dispose), (gst_real_pad_finalize),
30397         (gst_pad_load_and_link), (gst_pad_save_thyself),
30398         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30399         (gst_pad_check_pull_range), (gst_pad_pull_range),
30400         (gst_pad_template_get_type), (gst_pad_template_class_init),
30401         (gst_pad_template_init), (gst_pad_template_dispose),
30402         (name_is_valid), (gst_static_pad_template_get),
30403         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30404         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30405         (gst_pad_get_element_private), (gst_pad_start_task),
30406         (gst_pad_pause_task), (gst_pad_stop_task),
30407         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30408         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30409         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30410         (gst_ghost_pad_new):
30411         * gst/gstpad.h:
30412         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30413         (gst_query_new_position), (gst_query_set_position),
30414         (gst_query_parse_position), (gst_query_new_convert),
30415         (gst_query_set_convert), (gst_query_parse_convert):
30416         * gst/gstquery.h:
30417         * gst/gstqueryutils.c:
30418         * gst/gstqueryutils.h:
30419         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30420         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30421         (gst_queue_handle_src_query):
30422         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30423         (gst_element_query_position), (gst_element_query_convert),
30424         (intersect_caps_func), (gst_pad_query_position),
30425         (gst_pad_query_convert):
30426         * gst/gstutils.h:
30427         * tools/gst-inspect.c: (print_pad_info):
30428         * tools/gst-xmlinspect.c: (print_element_info):
30429         Remove old query functions. Ported old code.
30430         Added position/convert helper functions to gstutils.
30431         Reordered gstpad.c code, grouping relevant things.
30432         Remove gst_message_new(), always need to speficy a specific
30433         message.
30434
30435
30436 2005-05-09  Andy Wingo  <wingo@pobox.com>
30437
30438         * gst/gstiterator.h: Add some includes.
30439
30440         * gst/gstqueryutils.h: Include more headers.
30441
30442         * gst/gstpad.h:
30443         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30444         some uses of gst_pad_query.
30445
30446         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30447         NULL out parameters.
30448         (gst_query_new_position): New proc, allocates a new position
30449         query.
30450
30451         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30452         gstqueryutils.c to the build.
30453
30454         * gst/gststructure.c (gst_structure_set_valist): Implement with
30455         the generic G_VALUE_COLLECT.
30456         
30457 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30458
30459         * gst/Makefile.am: (gst_headers):
30460         Added gstqueryutils.h to the list of headers to install, that was
30461         a 'nachty' move wingo :)
30462
30463 2005-05-06  Andy Wingo  <wingo@pobox.com>
30464
30465         * gst/gstquery.h
30466         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30467         GstData, init a memchunk.
30468         (standard_definitions): Add a few query types, deprecate a few.
30469         (gst_query_get_type): New proc.
30470         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30471         implementation.
30472         (gst_query_new_application, gst_query_get_structure): New public
30473         procs.
30474
30475         * docs/design/draft-query.txt: Removed LINKS from the query types,
30476         because all the rest can be dispatched to other pads -- seemed
30477         ugly to have a query that couldn't be dispatched. internal_links
30478         is fine as a pad method.
30479
30480         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30481         in gstpad.c, but maintain binary compatibility for the moment.
30482         Will fix before 0.9 is out.
30483
30484         * gst/gstqueryutils.c: 
30485         * gst/gstqueryutils.h: New files, implement 3 methods for each
30486         query type: parse_query, parse_response, and set. Probably need an
30487         allocator as well.
30488
30489         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30490
30491         * gst/elements/gstfilesink.c (gst_filesink_query2):
30492         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30493         query_types, and formats methods.
30494
30495         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30496         (gst_pad_set_query2_function): New functions.
30497         (gst_real_pad_init): Set query2_default as the default query2
30498         function. Basically just dispatches to internally linked pads.
30499
30500         Needs review!
30501         
30502         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30503         without using the atomic operations. Only one thread can possibly
30504         be accessing the data at this point. Changed so as to avoid
30505         gst_atomic operations.
30506
30507 2005-05-06  Wim Taymans  <wim@fluendo.com>
30508
30509         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30510         Also set caps if we use the fallback buffer alloc.
30511
30512 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30513
30514         * docs/gst/Makefile.am:
30515         * docs/gst/gstreamer-docs.sgml:
30516         * docs/gst/gstreamer-sections.txt:
30517         * docs/gst/tmpl/gstatomic.sgml:
30518         * docs/gst/tmpl/gstmemchunk.sgml:
30519         * testsuite/elements/struct_i386.h:
30520         * win32/GStreamer.vcproj:
30521         * win32/Makefile:
30522           Purge GstAtomic stuff from docs and win32 makefiles as well
30523
30524 2005-05-06  Wim Taymans  <wim@fluendo.com>
30525
30526         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30527         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30528         * gst/gstpad.c: (gst_pad_peer_get_caps):
30529         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30530         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30531         (gst_queue_src_activate), (gst_queue_change_state):
30532         * gst/gstqueue.h:
30533         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30534         (intersect_caps_func):
30535         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30536         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30537         Some fixes for the peer_get_caps() change.
30538
30539 2005-05-06  Wim Taymans  <wim@fluendo.com>
30540
30541         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30542         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30543         (gst_basesink_activate):
30544         Actually do something with error codes returned from the push
30545         functions.
30546
30547 2005-05-06  Wim Taymans  <wim@fluendo.com>
30548
30549         * docs/design/part-element-sink.txt:
30550         * docs/design/part-element-source.txt:
30551         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30552         (gst_basesink_event), (gst_basesink_activate):
30553         * gst/base/gstbasesink.h:
30554         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30555         (gst_basesrc_activate):
30556         * gst/base/gstbasesrc.h:
30557         * gst/gstelement.c: (gst_element_pads_activate):
30558         Some more documentation.
30559         Fixed scheduling decision in _pads_activate().
30560
30561 2005-05-05  Andy Wingo  <wingo@pobox.com>
30562
30563         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30564         the test suite.
30565
30566 2005-05-05  Wim Taymans  <wim@fluendo.com>
30567
30568         * gst/base/Makefile.am:
30569         * gst/base/gstbasesink.h:
30570         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30571         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30572         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30573         (gst_collectpads_class_init), (gst_collectpads_init),
30574         (gst_collectpads_finalize), (gst_collectpads_new),
30575         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30576         (find_pad), (gst_collectpads_remove_pad),
30577         (gst_collectpads_is_active), (gst_collectpads_collect),
30578         (gst_collectpads_collect_range), (gst_collectpads_start),
30579         (gst_collectpads_stop), (gst_collectpads_peek),
30580         (gst_collectpads_pop), (gst_collectpads_available),
30581         (gst_collectpads_read), (gst_collectpads_flush),
30582         (gst_collectpads_chain):
30583         * gst/base/gstcollectpads.h:
30584         * gst/elements/Makefile.am:
30585         * gst/elements/gstelements.c:
30586         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30587         (gst_fakesink_get_times), (gst_fakesink_event),
30588         (gst_fakesink_preroll), (gst_fakesink_render):
30589         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30590         (gst_filesink_init), (gst_filesink_set_location),
30591         (gst_filesink_open_file), (gst_filesink_close_file),
30592         (gst_filesink_pad_query), (gst_filesink_event),
30593         (gst_filesink_render), (gst_filesink_change_state):
30594         * gst/elements/gstfilesink.h:
30595         Added object to help in making collect pad based elements.
30596         Ported filesink.
30597         Make event function in sink baseclass return gboolean.
30598
30599 2005-05-05  Wim Taymans  <wim@fluendo.com>
30600
30601         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30602         (gst_bin_get_by_name):
30603         * gst/gstbuffer.h:
30604         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30605         (gst_clock_finalize):
30606         * gst/gstdata.c: (gst_data_replace):
30607         * gst/gstdata.h:
30608         * gst/gstelement.c: (gst_element_request_pad),
30609         (gst_element_pads_activate):
30610         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30611         (gst_object_unref):
30612         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30613         (gst_pad_set_checkgetrange_function),
30614         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30615         (gst_pad_check_pull_range), (gst_pad_pull_range),
30616         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30617         (gst_pad_pause_task), (gst_pad_stop_task):
30618         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30619         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30620         Fix name lookup in GstBin.
30621         Added _data_replace() function and _buffer_replace()
30622         Use finalize method to clean up clock.
30623         Fix refcounting on request pads.
30624         Fix pad schedule mode error.
30625         Some more object refcounting debug info,
30626
30627
30628 2005-05-04  Andy Wingo <wingo@pobox.com>
30629
30630         * check/Makefile.am:
30631         * docs/gst/tmpl/gstatomic.sgml:
30632         * docs/gst/tmpl/gstplugin.sgml:
30633         * gst/base/gstbasesink.c: (gst_basesink_activate):
30634         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30635         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30636         (gst_basesrc_query), (gst_basesrc_set_property),
30637         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30638         (gst_basesrc_activate):
30639         * gst/base/gstbasesrc.h:
30640         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30641         (gst_base_transform_src_activate):
30642         * gst/elements/gstelements.c:
30643         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30644         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30645         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30646         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30647         (gst_type_find_element_checkgetrange),
30648         (gst_type_find_element_activate):
30649         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30650         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30651         (gst_caps_load_thyself):
30652         * gst/gstelement.c: (gst_element_pads_activate),
30653         (gst_element_save_thyself), (gst_element_restore_thyself):
30654         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30655         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30656         * gst/gstpad.h:
30657         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30658         (gst_xml_parse_file), (gst_xml_parse_memory),
30659         (gst_xml_get_element), (gst_xml_make_element):
30660         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30661         (_file_index_id_save_xml), (gst_file_index_commit):
30662         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30663         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30664         (load_paths):
30665         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30666         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30667         * tools/gst-complete.c: (main):
30668         * tools/gst-compprep.c: (main):
30669         * tools/gst-inspect.c: (print_element_properties_info):
30670         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30671         * tools/gst-xmlinspect.c: (print_element_properties):
30672         GCC 4 fixen.
30673         
30674 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30675
30676         * gst/gstplugin.c: (gst_plugin_check_module),
30677         (gst_plugin_check_file), (gst_plugin_load_file):
30678             apply patch from #172526 to make register work on MacOSX
30679
30680 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30681
30682         * docs/gst/tmpl/gstconfig.sgml:
30683         * gst/gstconfig.h.in:
30684           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30685         * testsuite/debug/printf_extension.c: (main):
30686           Do not use GST_PTR_FORMAT on pointers to types with
30687           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30688         * testsuite/elements/property.h:
30689           use correct printf format
30690
30691 2005-05-02  Wim Taymans  <wim@fluendo.com>
30692
30693         * docs/design/draft-push-pull.txt:
30694         * docs/design/draft-query.txt:
30695         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30696         (gst_basesrc_start):
30697         Added draft for new query API.
30698         Added draft for better selecting scheduling methods.
30699         Make basesrc ignore length if the subclass does not support
30700         it.
30701
30702 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30703
30704         * gst/Makefile.am:
30705           possible fixes for automake-1.5 - _LIBADD is reserved
30706
30707 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30708
30709         * docs/faq/Makefile.am:
30710         * docs/manual/Makefile.am:
30711         * docs/manuals.mak:
30712         * docs/pwg/Makefile.am:
30713         * gst/Makefile.am:
30714           possible fixes for automake-1.5
30715
30716 2005-04-28  Wim Taymans  <wim@fluendo.com>
30717
30718         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30719         (gst_basesink_pad_getcaps), (gst_basesink_init),
30720         (gst_basesink_do_sync):
30721         * gst/gstclock.c: (gst_clock_entry_new):
30722         * gst/gstevent.c: (gst_event_discont_get_value):
30723         * gst/gstpipeline.c: (pipeline_bus_handler),
30724         (gst_pipeline_change_state):
30725         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30726         Better debugging of clocking info.
30727         Allow NULL values when getting discont values.
30728
30729 2005-04-27  Wim Taymans  <wim@fluendo.com>
30730
30731         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30732         * check/gst/gstpad.c: (gst_pad_suite):
30733         Increase timeout for checks.
30734
30735 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30736
30737         * check/Makefile.am:
30738           fix the broken rule for cleanup.  Apparently this rule is
30739           only needed on FC2, so maybe this warrants further autotool
30740           inspection.
30741
30742 2005-04-26  Wim Taymans  <wim@fluendo.com>
30743
30744         * gst/gsttrashstack.h:
30745         Ooohh. a nasty one! After having a failed pop() from the stack,
30746         it's possible that the stack is empty. In that case, don't
30747         follow the NULL pointer.
30748
30749 2005-04-25  Wim Taymans  <wim@fluendo.com>
30750
30751         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30752         (gst_pad_set_checkgetrange_function),
30753         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30754         (gst_pad_check_pull_range), (gst_pad_pull_range),
30755         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30756         (gst_pad_pause_task), (gst_pad_stop_task):
30757         * gst/gstplugin.c: (gst_plugin_load):
30758         * gst/gstplugin.h:
30759         Remove gst_library_load as it does more harm than good with
30760         the new g_module flags.
30761         Revert bogus caps template check in pad linking, pad caps
30762         are important when linking not the template, which is more
30763         general than the current caps.
30764
30765 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30766
30767         * gst/autoplug/.cvsignore:
30768         * gst/autoplug/Makefile.am:
30769         * gst/autoplug/gstsearchfuncs.c:
30770         * gst/autoplug/gstsearchfuncs.h:
30771         * gst/autoplug/gstspider.c:
30772         * gst/autoplug/gstspider.h:
30773         * gst/autoplug/gstspideridentity.c:
30774         * gst/autoplug/gstspideridentity.h:
30775         * gst/autoplug/spidertest.c:
30776           Die, spider, die.
30777
30778 2005-04-25  Wim Taymans  <wim@fluendo.com>
30779
30780         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30781         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30782         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30783         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30784         * gst/gstpad.h:
30785         Added stubs for unimplemented functions. 
30786
30787 2005-04-24  David Schleef  <ds@schleef.org>
30788
30789         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30790         please fix.
30791
30792 2005-04-24  David Schleef  <ds@schleef.org>
30793
30794         Convert everything from GstAtomicInt to g_atomic_int_*, and
30795         remove gstatomic.
30796         * gst/Makefile.am:
30797         * gst/gstatomic.c:
30798         * gst/gstatomic.h:
30799         * gst/gstatomic_impl.h:
30800         * gst/gstbuffer.c:
30801         * gst/gstcaps.c:
30802         * gst/gstcaps.h:
30803         * gst/gstclock.c:
30804         * gst/gstclock.h:
30805         * gst/gstdata.c:
30806         * gst/gstdata.h:
30807         * gst/gstdata_private.h:
30808         * gst/gstevent.c:
30809         * gst/gstinfo.c:
30810         * gst/gstinfo.h:
30811         * gst/gstmessage.c:
30812         * gst/gstobject.c:
30813         * gst/gstobject.h:
30814         * gst/gststructure.c:
30815         * gst/gststructure.h:
30816         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30817         * gst/gstutils.h:
30818
30819 2005-04-24  David Schleef  <ds@schleef.org>
30820
30821         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30822         make the regressions tests work.  Remove some code that is no
30823         longer true.
30824         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30825         Disable warning for pads without templates.
30826
30827 2005-04-24  David Schleef  <ds@schleef.org>
30828
30829         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30830         functions that handle filtered links.
30831         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30832         removed functions.
30833         * gst/gstutils.c: Fix/remove utility functions that handle
30834         filtered caps.
30835         * gst/gstutils.h:
30836         * gst/gstvalue.c: Add serialization/deserialization of caps
30837         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30838         requires fixing so that the filter caps notation creates
30839         a capsfilter element and sets the filter_caps property.  I
30840         think everyone probably wants to keep the shorthand notation.
30841         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30842         * docs/gst/tmpl/gstpad.sgml:
30843
30844         * gst/elements/gstelements.c: Register capsfilter element.
30845         * gst/Makefile.am: fix spacing
30846         * docs/random/ds/0.9-suggested-changes: random
30847
30848 2005-04-23  David Schleef  <ds@schleef.org>
30849
30850         * gst/elements/Makefile.am:
30851         * gst/elements/gstcapsfilter.c: New element that acts like an
30852         identity, but filters caps.  Will eventually replace filtered
30853         caps in pad linking.
30854         * gst/gstutils.c: (gst_element_create_all_pads): New function
30855         to create all the ALWAYS pads that are registered with an
30856         element class.  This functionality should eventually be
30857         merged in with GstElement initialization.
30858         * gst/gstutils.h:
30859         * testsuite/trigger/README: part of trigger test code that should
30860         have been checked in a long time ago.
30861
30862 2005-04-23  David Schleef  <ds@schleef.org>
30863
30864         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30865         needed with new versions of libtool (nobody will confirm this),
30866         and hard to carry around.
30867         * gst/autoplug/Makefile.am:
30868         * gst/base/Makefile.am:
30869         * gst/elements/Makefile.am:
30870         * gst/indexers/Makefile.am:
30871         * gst/schedulers/Makefile.am:
30872         * libs/gst/bytestream/Makefile.am:
30873         * libs/gst/control/Makefile.am:
30874         * libs/gst/dataprotocol/Makefile.am:
30875         * libs/gst/getbits/Makefile.am:
30876
30877 2005-04-21  Wim Taymans  <wim@fluendo.com>
30878
30879         * docs/design/draft-push-pull.txt:
30880         * docs/design/part-MT-refcounting.txt:
30881         * docs/design/part-TODO.txt:
30882         * docs/design/part-caps.txt:
30883         * docs/design/part-events.txt:
30884         * docs/design/part-gstbus.txt:
30885         * docs/design/part-gstpipeline.txt:
30886         * docs/design/part-messages.txt:
30887         * docs/design/part-push-pull.txt:
30888         * docs/design/part-query.txt:
30889         Some more docs.
30890
30891 2005-04-21  Wim Taymans  <wim@fluendo.com>
30892
30893         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30894         (gst_message_new), (gst_message_new_error),
30895         (gst_message_new_warning), (gst_message_new_tag),
30896         (gst_message_new_state_changed), (gst_message_new_application),
30897         (gst_message_get_structure):
30898         * gst/gstmessage.h:
30899         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30900         (gst_structure_copy_conditional):
30901         Use parent refcount in GstMessage to ensure GstStructure
30902         consistency.
30903         Cleaned up headers a bit.
30904         
30905
30906 2005-04-20  Wim Taymans  <wim@fluendo.com>
30907
30908         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30909         (gst_basesink_pad_getcaps), (gst_basesink_init),
30910         (gst_basesink_chain_unlocked):
30911         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30912         (gst_type_find_helper):
30913         * gst/elements/gsttypefindelement.c:
30914         (gst_type_find_element_have_type), (gst_type_find_element_init),
30915         (stop_typefinding), (gst_type_find_element_handle_event),
30916         (find_suggest), (gst_type_find_element_chain),
30917         (gst_type_find_element_checkgetrange),
30918         (gst_type_find_element_getrange), (do_typefind),
30919         (gst_type_find_element_activate):
30920         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30921         (gst_buffer_default_free), (gst_buffer_default_copy),
30922         (gst_buffer_set_caps):
30923         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30924         (gst_caps_replace):
30925         * gst/gstmessage.c: (gst_message_new),
30926         (gst_message_new_state_changed):
30927         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30928         (gst_pad_set_checkgetrange_function),
30929         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30930         (gst_pad_set_caps), (gst_pad_check_pull_range),
30931         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30932         * gst/gstpad.h:
30933         * gst/gsttypefind.c: (gst_type_find_register):
30934         Make gst_caps_replace() work like other _replace() functions.
30935         Use _caps_replace() where possible.
30936         Make sure _message_new() initialises its field.
30937         Add gst_static_pad_template_get_caps()
30938
30939
30940 2005-04-18  Andy Wingo  <wingo@pobox.com>
30941
30942         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30943         on the peer, not the pad. I think that was a typo. Pass an extra
30944         arg to see if random access is possible. Activate the pads as
30945         PULL_RANGE if possible.
30946
30947         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30948
30949         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30950         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30951         to PROP_....
30952
30953 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30954
30955         * docs/faq/using.xml:
30956           Add note on gstreamer-properties (#154996).
30957
30958 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30959
30960         * docs/random/bbb/optional-properties:
30961           Some analysis on optional properties.
30962
30963 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30964
30965         * docs/gst/tmpl/gstelementfactory.sgml:
30966         * gst/gstelement.h:
30967         * gst/gstelementfactory.c: (gst_element_factory_init),
30968         (gst_element_factory_cleanup), (gst_element_register),
30969         (__gst_element_factory_add_static_pad_template),
30970         (gst_element_factory_get_static_pad_templates),
30971         (gst_element_factory_can_src_caps),
30972         (gst_element_factory_can_sink_caps):
30973         * gst/registries/Makefile.am:
30974         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30975         (gst_xml_registry_class_init), (gst_xml_registry_init),
30976         (gst_xml_registry_new), (gst_xml_registry_set_property),
30977         (gst_xml_registry_get_property), (get_time), (make_dir),
30978         (gst_xml_registry_get_perms_func),
30979         (plugin_times_older_than_recurse), (plugin_times_older_than),
30980         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30981         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30982         (add_to_char_array), (read_string), (read_uint), (read_enum),
30983         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30984         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30985         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30986         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30987         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30988         (gst_xml_registry_rebuild):
30989         * gst/registries/gstlibxmlregistry.h:
30990         * tools/gst-compprep.c: (main):
30991         * tools/gst-inspect.c: (print_pad_templates_info):
30992         * tools/gst-xmlinspect.c: (print_element_info):
30993           Use libxml2 for registry parsing, use staticpadtemplates in
30994           elementfactories. Makes gst_init() +/- 10x faster.
30995
30996 2005-04-12  Wim Taymans  <wim@fluendo.com>
30997
30998         * gst/base/Makefile.am:
30999         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31000         (gst_basesink_pad_getcaps), (gst_basesink_init),
31001         (gst_basesink_event), (gst_basesink_change_state):
31002         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31003         (gst_basesrc_init), (gst_basesrc_query),
31004         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31005         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31006         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31007         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31008         (gst_basesrc_stop), (gst_basesrc_activate),
31009         (gst_basesrc_change_state):
31010         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31011         (helper_find_suggest), (gst_type_find_helper):
31012         * gst/base/gsttypefindhelper.h:
31013         * gst/elements/Makefile.am:
31014         * gst/elements/gstelements.c:
31015         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31016         (gst_fakesink_get_times), (gst_fakesink_event),
31017         (gst_fakesink_preroll), (gst_fakesink_render):
31018         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31019         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31020         (gst_fakesrc_get_property), (gst_fakesrc_create),
31021         (gst_fakesrc_start), (gst_fakesrc_stop):
31022         * gst/elements/gstfakesrc.h:
31023         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31024         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31025         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31026         (gst_filesrc_create_read), (gst_filesrc_create),
31027         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31028         (gst_filesrc_start):
31029         * gst/elements/gsttypefindelement.c:
31030         (gst_type_find_element_have_type), (gst_type_find_element_init),
31031         (start_typefinding), (stop_typefinding), (push_buffer_store),
31032         (gst_type_find_element_handle_event),
31033         (gst_type_find_element_chain),
31034         (gst_type_find_element_checkgetrange),
31035         (gst_type_find_element_getrange), (do_typefind),
31036         (gst_type_find_element_activate),
31037         (gst_type_find_element_change_state):
31038         * gst/elements/gsttypefindelement.h:
31039         * gst/gstpipeline.c: (pipeline_bus_handler):
31040         Added typefind helper.
31041         Small preroll fix in the base sink.
31042         Disable typefind code in basesrc.
31043         Crude port of typefindelement.
31044         Fakesrc cleanups.
31045
31046
31047 2005-04-11  Wim Taymans  <wim@fluendo.com>
31048
31049         * check/gst/gstbus.c: (gstbus_suite):
31050         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31051         * check/gstcheck.h:
31052           Fix up the timeout so that the test does not fail.
31053
31054 2005-04-06  Wim Taymans  <wim@fluendo.com>
31055
31056         * gst/base/README:
31057         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31058         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31059         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31060         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31061         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31062         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31063         (gst_basesrc_stop), (gst_basesrc_activate),
31064         (gst_basesrc_change_state), (basesrc_find_peek),
31065         (basesrc_find_suggest), (gst_basesrc_type_find):
31066         * gst/base/gstbasesrc.h:
31067         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31068         (gst_filesrc_class_init), (gst_filesrc_init),
31069         (gst_filesrc_finalize), (gst_filesrc_set_location),
31070         (gst_filesrc_set_property), (gst_filesrc_get_property),
31071         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31072         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31073         (gst_filesrc_create_read), (gst_filesrc_create),
31074         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31075         * gst/elements/gstfilesrc.h:
31076         * gst/gstelement.c: (gst_element_get_state_func),
31077         (gst_element_lost_state), (gst_element_pads_activate):
31078         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31079         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31080         (gst_pad_pull_range):
31081         * gst/gstpad.h:
31082         More work on the generic source base class, implement seeking,
31083         query.
31084         Make filesrc extend the base source class.
31085         Added gst_pad_set_checkgetrange_function to GstPad.
31086
31087 2005-04-06  Andy Wingo  <wingo@pobox.com>
31088
31089         * pkgconfig/gstreamer-base.pc.in:
31090         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31091
31092         * pkgconfig/Makefile.am:
31093         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31094
31095 2005-04-04  Wim Taymans  <wim@fluendo.com>
31096
31097         * gst/base/Makefile.am:
31098         * gst/base/README:
31099         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31100         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31101         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31102         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31103         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31104         (gst_basesrc_base_init), (gst_basesrc_class_init),
31105         (gst_basesrc_init), (gst_basesrc_get_formats),
31106         (gst_basesrc_get_query_types), (gst_basesrc_query),
31107         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31108         (gst_basesrc_set_property), (gst_basesrc_get_property),
31109         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31110         (gst_basesrc_loop), (gst_basesrc_activate),
31111         (gst_basesrc_change_state):
31112         * gst/base/gstbasesrc.h:
31113         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31114         (gst_fakesrc_class_init), (gst_fakesrc_init),
31115         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31116         (gst_fakesrc_get_property), (gst_fakesrc_create):
31117         * gst/elements/gstfakesrc.h:
31118         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31119         (gst_filesrc_open_file), (gst_filesrc_loop),
31120         (gst_filesrc_activate), (filesrc_find_peek),
31121         (gst_filesrc_type_find):
31122         Made base source class, make fakesrc extend it.
31123         Add comments to basesink class.
31124         Some filesrc cleanup.
31125
31126 2005-03-31  David Schleef  <ds@schleef.org>
31127
31128         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31129         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31130         expected to link against libgstreamer.
31131         * gst/base/Makefile.am: link against libgstreamer
31132         * gst/elements/Makefile.am: same
31133
31134 2005-03-31  Andy Wingo  <wingo@pobox.com>
31135
31136         * tests/instantiate/Makefile.am:
31137         * tests/instantiate/caps.c: Add test to test speed of caps copy
31138         and free.
31139
31140         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31141         GMemChunk to be fair.
31142
31143         * gst/gsttrashstack.h: Remove warning about using the fallback
31144         trash stack implementation, it's still faster than malloc.
31145
31146 2005-03-30  Andy Wingo  <wingo@pobox.com>
31147
31148         * tests/complexity.c: Add a copyright.
31149
31150 2005-03-31  Wim Taymans  <wim@fluendo.com>
31151
31152         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31153         (gst_base_transform_class_init), (gst_base_transform_init),
31154         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31155         (gst_base_transform_get_property),
31156         (gst_base_transform_sink_activate),
31157         (gst_base_transform_src_activate),
31158         (gst_base_transform_change_state):
31159         * gst/base/gstbasetransform.h:
31160         * gst/elements/gstidentity.c: (gst_identity_class_init),
31161         (gst_identity_event), (gst_identity_check_perfect),
31162         (gst_identity_transform), (gst_identity_start),
31163         (gst_identity_stop):
31164         Added start/stop methods to transform base class so subclasses 
31165         don't need to deal with state changes even.
31166
31167 2005-03-31  Wim Taymans  <wim@fluendo.com>
31168
31169         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31170         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31171         * gst/gstevent.h:
31172         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31173         (gst_pad_pull_range):
31174         Added rate to the discont event to prepare for variable speed
31175         and reverse playback.
31176
31177 2005-03-29  David Schleef  <ds@schleef.org>
31178
31179         * configure.ac:
31180         * testsuite/trigger/Makefile.am:
31181         * testsuite/trigger/trigger.c: A little example program to show
31182         how trigger-based elements can work.
31183
31184 2005-03-29  Wim Taymans  <wim@fluendo.com>
31185
31186         * gst/base/Makefile.am:
31187         * gst/base/README:
31188         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31189         (gst_basesink_base_init), (gst_basesink_class_init),
31190         (gst_basesink_pad_getcaps), (gst_basesink_init),
31191         (gst_basesink_activate), (gst_basesink_change_state):
31192         * gst/base/gstbasesink.h:
31193         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31194         (gst_base_transform_base_init), (gst_base_transform_finalize),
31195         (gst_base_transform_class_init), (gst_base_transform_init),
31196         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31197         (gst_base_transform_event), (gst_base_transform_getrange),
31198         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31199         (gst_base_transform_set_property),
31200         (gst_base_transform_get_property),
31201         (gst_base_transform_sink_activate),
31202         (gst_base_transform_src_activate),
31203         (gst_base_transform_change_state):
31204         * gst/base/gstbasetransform.h:
31205         * gst/elements/gstidentity.c: (gst_identity_finalize),
31206         (gst_identity_class_init), (gst_identity_init),
31207         (gst_identity_event), (gst_identity_check_perfect),
31208         (gst_identity_transform), (gst_identity_set_property),
31209         (gst_identity_get_property), (gst_identity_change_state):
31210         * gst/elements/gstidentity.h:
31211         * gst/gstelement.c: (gst_element_get_state_func),
31212         (gst_element_lost_state), (gst_element_pads_activate):
31213         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31214         (gst_pad_check_pull_range), (gst_pad_pull_range):
31215         * gst/gstpad.h:
31216         Simplify pad activation.
31217         Added function to check if pull_range can be performed.
31218         Error out when pulling inactive or flushing pads.
31219         Removed const from refcounted types as it does not make sense.
31220         Simplify pad templates in basesink
31221         Added base class for simple 1-to-1 transforms.
31222         Make identity subclass the base transform.
31223
31224 2005-03-29  Andy Wingo  <wingo@pobox.com>
31225
31226         * docs/libs/gstreamer-libs-overrides.txt: 
31227         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31228         really don't understand what's going on, but like whatever. I want
31229         green buildbot!
31230
31231         * docs/gst/Makefile.am:
31232         * docs/libs/Makefile.am: Dist the overrides files.
31233
31234         * check/Makefile.am (clean-local): Remove .libs directories.
31235
31236         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31237         elements to EXTRA_DIST, so po/ files are happy.
31238
31239         * po/POTFILES.in: Er, remove it here.
31240
31241         * po/POTFILES: Remove gstspider.c.
31242
31243         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31244
31245         * docs/libs/gstreamer-libs-docs.sgml: 
31246         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31247         bytestream.
31248
31249         * tests/complexity.c (main): Set the length of the preroll queue
31250         on the sinks to prevent a lockup.
31251
31252         * libs/gst/dataprotocol/Makefile.am: 
31253         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31254         the same as the one in check/gst-libs/gdp.c.
31255
31256         * po/, docs/gst/: Commit automatic changes to docs and po files.
31257
31258         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31259         the versioned libgstbase.
31260
31261         * check/Makefile.am: Depend on an unversioned gst-register, seems
31262         to make autoconf happier.
31263
31264         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31265
31266 2005-03-28  Wim Taymans  <wim@fluendo.com>
31267
31268         * configure.ac:
31269         * docs/design/part-gstelement.txt:
31270         * docs/design/part-negotiation.txt:
31271         * docs/design/part-preroll.txt:
31272         * docs/design/part-scheduling.txt:
31273         * docs/design/part-states.txt:
31274         * gst/Makefile.am:
31275         * gst/base/Makefile.am:
31276         * gst/base/README:
31277         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31278         (gst_basesink_base_init), (gst_basesink_class_init),
31279         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31280         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31281         (gst_basesink_set_pad_functions),
31282         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31283         (gst_basesink_set_property), (gst_basesink_get_property),
31284         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31285         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31286         (gst_basesink_preroll_queue_push),
31287         (gst_basesink_preroll_queue_empty),
31288         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31289         (gst_basesink_event), (gst_basesink_get_times),
31290         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31291         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31292         (gst_basesink_loop), (gst_basesink_activate),
31293         (gst_basesink_change_state):
31294         * gst/base/gstbasesink.h:
31295         * gst/elements/Makefile.am:
31296         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31297         (gst_fakesink_class_init), (gst_fakesink_init),
31298         (gst_fakesink_set_property), (gst_fakesink_get_property),
31299         (gst_fakesink_get_times), (gst_fakesink_event),
31300         (gst_fakesink_preroll), (gst_fakesink_render),
31301         (gst_fakesink_change_state):
31302         * gst/elements/gstfakesink.h:
31303         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31304         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31305         * gst/gstelement.c: (gst_element_add_pad),
31306         (gst_element_get_state_func), (gst_element_abort_state),
31307         (gst_element_commit_state), (gst_element_lost_state),
31308         (gst_element_set_state), (gst_element_pads_activate):
31309         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31310         * gst/gstpipeline.c: (gst_pipeline_send_event),
31311         (gst_pipeline_change_state):
31312         Added state change code.
31313         Added/updated docs.
31314         Added sink base class, make fakesink extend the base class.
31315         Small cleanups in GstPipeline.
31316
31317 2005-03-26  David Schleef  <ds@schleef.org>
31318
31319         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31320         is broken and should be implemented in a different library.
31321         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31322         * gst/gst.h: remove gstcpu.h
31323         * gst/gstcpu.c: remove
31324         * gst/gstcpu.h: remove
31325         * gst/Makefile.am.future: Remove this file.  It's ancient.
31326
31327 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31328
31329         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31330         (gst_bin_send_event):
31331           Add default event/set_manager handlers. The set_manager handler
31332           takes care that the manager is distributed over kids that were
31333           already in the bin before the manager was set. The event handler
31334           is a utility virtual function that sends the event over all sinks,
31335           so that gst_element_send_event (bin, event); has the expected
31336           behaviour.
31337         * gst/gstpad.c: (gst_pad_event_default):
31338           Re-install default event handling for discontinuities, so that
31339           seeking works without requiring hacks in applications or extra
31340           code in sinks.
31341         * gst/gstpipeline.c: (gst_pipeline_class_init),
31342         (gst_pipeline_send_event):
31343           Half hack, half utility: set a pipeline to PAUSED for seek events,
31344           since that is the only way we can guarantee a/v sync. Means that
31345           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31346           and it "just works".
31347
31348 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31349
31350         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31351           Lock/unlock mismatch.
31352
31353 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31354
31355         * docs/faq/gst-uninstalled:
31356           add gst-plugins-base
31357         * docs/gst/Makefile.am:
31358           don't error out until docs are fixed
31359         * docs/gst/gstreamer.types:
31360           remove thread
31361
31362 2005-03-22  Wim Taymans  <wim@fluendo.com>
31363
31364         * check/Makefile.am:
31365         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31366         * gst/gststructure.c: (gst_structure_set_valist),
31367         (gst_structure_copy_conditional):
31368         Activated more tests.
31369         Added message test.
31370         Added G_TYPE_POINTER to GstStructure.
31371         
31372
31373 2005-03-22  Wim Taymans  <wim@fluendo.com>
31374
31375         * docs/design/part-TODO.txt:
31376         * docs/design/part-events.txt:
31377         * docs/design/part-gstbin.txt:
31378         * docs/design/part-gstbus.txt:
31379         * docs/design/part-gstpipeline.txt:
31380         * docs/design/part-messages.txt:
31381         * gst/gstbus.c:
31382         * gst/gstmessage.c:
31383         Docs updates
31384
31385 2005-03-21  Wim Taymans  <wim@fluendo.com>
31386
31387         * gst/gstbus.c: (gst_bus_post):
31388         Fix copy-and-paste error.
31389
31390 2005-03-21  Wim Taymans  <wim@fluendo.com>
31391
31392         * check/Makefile.am:
31393         * gst/Makefile.am:
31394         * gst/elements/Makefile.am:
31395         * gst/elements/gstelements.c:
31396         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31397         (gst_fakesink_event), (gst_fakesink_chain):
31398         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31399         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31400         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31401         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31402         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31403         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31404         (gst_fakesrc_loop), (gst_fakesrc_activate),
31405         (gst_fakesrc_change_state):
31406         * gst/elements/gstfakesrc.h:
31407         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31408         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31409         (gst_filesrc_open_file), (gst_filesrc_loop),
31410         (gst_filesrc_activate), (gst_filesrc_change_state),
31411         (filesrc_find_peek), (filesrc_find_suggest),
31412         (gst_filesrc_type_find):
31413         * gst/elements/gstidentity.c: (gst_identity_finalize),
31414         (gst_identity_class_init), (gst_identity_init),
31415         (gst_identity_proxy_getcaps), (identity_queue_push),
31416         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31417         (gst_identity_getrange), (gst_identity_chain),
31418         (gst_identity_sink_loop), (gst_identity_src_loop),
31419         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31420         (gst_identity_set_property), (gst_identity_get_property),
31421         (gst_identity_change_state):
31422         * gst/elements/gstidentity.h:
31423         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31424         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31425         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31426         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31427         (gst_tee_sink_activate):
31428         * gst/elements/gsttee.h:
31429         * gst/gst.c: (gst_register_core_elements), (init_post):
31430         * gst/gst.h:
31431         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31432         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31433         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31434         (gst_bin_change_state):
31435         * gst/gstbin.h:
31436         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31437         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31438         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31439         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31440         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31441         (bus_watch_callback), (bus_watch_destroy),
31442         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31443         (poll_timeout), (gst_bus_poll):
31444         * gst/gstbus.h:
31445         * gst/gstcaps.h:
31446         * gst/gstdata.h:
31447         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31448         (gst_element_post_message), (gst_element_message_full),
31449         (gst_element_get_state_func), (gst_element_get_state),
31450         (gst_element_abort_state), (gst_element_commit_state),
31451         (gst_element_lost_state), (gst_element_set_state),
31452         (gst_element_pads_activate), (gst_element_change_state),
31453         (gst_element_dispose), (gst_element_set_manager_func),
31454         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31455         (gst_element_set_manager), (gst_element_get_manager),
31456         (gst_element_set_bus), (gst_element_get_bus),
31457         (gst_element_set_scheduler), (gst_element_get_scheduler):
31458         * gst/gstelement.h:
31459         * gst/gstevent.c: (gst_event_new_segment_seek),
31460         (gst_event_new_flush):
31461         * gst/gstevent.h:
31462         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31463         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31464         (gst_message_new_eos), (gst_message_new_error),
31465         (gst_message_new_warning), (gst_message_new_tag),
31466         (gst_message_new_state_changed), (gst_message_new_application),
31467         (gst_message_get_structure), (gst_message_parse_tag),
31468         (gst_message_parse_state_changed), (gst_message_parse_error),
31469         (gst_message_parse_warning):
31470         * gst/gstmessage.h:
31471         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31472         (gst_real_pad_set_property), (gst_pad_set_active),
31473         (gst_pad_is_active), (gst_pad_set_blocked_async),
31474         (gst_pad_set_blocked), (gst_pad_is_blocked),
31475         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31476         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31477         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31478         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31479         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31480         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31481         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31482         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31483         (gst_pad_set_caps), (gst_pad_configure_sink),
31484         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31485         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31486         (gst_real_pad_dispose), (gst_real_pad_finalize),
31487         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31488         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31489         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31490         * gst/gstpad.h:
31491         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31492         (pipeline_bus_handler), (gst_pipeline_change_state),
31493         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31494         * gst/gstpipeline.h:
31495         * gst/gstprobe.h:
31496         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31497         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31498         (gst_queue_link_src), (gst_queue_bufferalloc),
31499         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31500         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31501         (gst_queue_loop), (gst_queue_handle_src_event),
31502         (gst_queue_handle_src_query), (gst_queue_src_activate),
31503         (gst_queue_change_state):
31504         * gst/gstqueue.h:
31505         * gst/gstscheduler.c: (gst_scheduler_init),
31506         (gst_scheduler_dispose), (gst_scheduler_create_task),
31507         (gst_scheduler_factory_create):
31508         * gst/gstscheduler.h:
31509         * gst/gststructure.c: (gst_structure_get_type),
31510         (gst_structure_copy_conditional):
31511         * gst/gststructure.h:
31512         * gst/gsttaginterface.h:
31513         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31514         (gst_task_init), (gst_task_dispose), (gst_task_create),
31515         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31516         (gst_task_pause):
31517         * gst/gsttask.h:
31518         * gst/gstthread.c:
31519         * gst/gstthread.h:
31520         * gst/gsttypes.h:
31521         * gst/schedulers/Makefile.am:
31522         * gst/schedulers/cothreads_compat.h:
31523         * gst/schedulers/entryscheduler.c:
31524         * gst/schedulers/faircothreads.c:
31525         * gst/schedulers/faircothreads.h:
31526         * gst/schedulers/fairscheduler.c:
31527         * gst/schedulers/gstbasicscheduler.c:
31528         * gst/schedulers/gstoptimalscheduler.c:
31529         * gst/schedulers/gthread-cothreads.h:
31530         * gst/schedulers/threadscheduler.c:
31531         (gst_thread_scheduler_task_get_type),
31532         (gst_thread_scheduler_task_class_init),
31533         (gst_thread_scheduler_task_init),
31534         (gst_thread_scheduler_task_start),
31535         (gst_thread_scheduler_task_stop),
31536         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31537         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31538         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31539         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31540         (plugin_init):
31541         * libs/gst/Makefile.am:
31542         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31543         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31544         (gst_file_pad_parent_set):
31545         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31546         (gst_dp_event_from_packet):
31547         * tests/complexity.c: (main):
31548         * tests/mass_elements.c: (main):
31549         * testsuite/states/locked.c: (message_received), (main):
31550         * testsuite/states/parent.c: (main):
31551         * tools/gst-inspect.c: (print_element_flag_info),
31552         (print_implementation_info), (print_pad_info):
31553         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31554         (main):
31555         * tools/gst-md5sum.c: (event_loop), (main):
31556         * tools/gst-typefind.c: (main):
31557         * tools/gst-xmlinspect.c: (print_element_info):
31558         Next big merge.
31559         Added GstBus for mainloop integration.
31560         Added GstMessage for sending notifications on the bus.
31561         Added GstTask as an abstraction for pipeline entry points.
31562         Removed GstThread.
31563         Removed Schedulers.
31564         Simplified GstQueue for multithreaded core.
31565         Made _link threadsafe, removed old capsnego.
31566         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31567         Added pad blocking functions.
31568         Reworked scheduling functions in GstPad to prepare for
31569         scheduling updates soon.
31570         Moved events out of data stream.
31571         Simplified GstEvent types.
31572         Added return values to push/pull.
31573         Removed clocking from GstElement.
31574         Added prototypes for state change function for next merge.
31575         Removed iterate from bins and state change management.
31576         Fixed some elements, disabled others for now.
31577         Fixed -inspect and -launch.
31578         Added check for GstBus.
31579
31580 2005-03-10  Wim Taymans  <wim@fluendo.com>
31581
31582         * docs/design/part-MT-refcounting.txt:
31583         * docs/design/part-clocks.txt:
31584         * docs/design/part-gstelement.txt:
31585         * docs/design/part-gstobject.txt:
31586         * docs/design/part-standards.txt:
31587         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31588         (gst_bin_remove_func), (gst_bin_remove):
31589         * gst/gstbin.h:
31590         * gst/gstbuffer.c:
31591         * gst/gstcaps.h:
31592         * testsuite/clock/clock1.c: (main):
31593         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31594         (main):
31595         * testsuite/dlopen/loadgst.c: (do_test):
31596         * testsuite/refcounting/bin.c: (add_remove_test1),
31597         (add_remove_test2), (main):
31598         * testsuite/refcounting/element.c: (main):
31599         * testsuite/refcounting/element_pad.c: (main):
31600         * testsuite/refcounting/pad.c: (main):
31601         * tools/gst-launch.c: (sigint_handler_sighandler):
31602         * tools/gst-typefind.c: (main):
31603         Doc updates.
31604         Added doc about clock.
31605         removed gst_bin_iterate_recurse_up(), marked methods
31606         for removal.
31607         Fix more testsuites.
31608
31609 2005-03-09  Wim Taymans  <wim@fluendo.com>
31610
31611         * gst/gstpad.c: (gst_pad_get_direction),
31612         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31613         (gst_pad_collect_valist):
31614         * testsuite/bins/interface.c: (main):
31615         * testsuite/caps/audioscale.c: (test_caps):
31616         * testsuite/caps/caps.c: (test1), (test2), (test3):
31617         * testsuite/caps/deserialize.c: (main):
31618         * testsuite/caps/enumcaps.c: (main):
31619         * testsuite/caps/filtercaps.c: (main):
31620         * testsuite/caps/intersect2.c: (main):
31621         * testsuite/caps/random.c: (main):
31622         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31623         * testsuite/caps/sets.c: (check_caps):
31624         * testsuite/caps/simplify.c: (check_caps), (main):
31625         * testsuite/caps/subtract.c: (check_caps):
31626         Fix _pad_get_direction wrt ghostpads.
31627         Fix caps testsuite.
31628
31629 2005-03-09  Wim Taymans  <wim@fluendo.com>
31630
31631         * check/Makefile.am:
31632         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31633         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31634         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31635         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31636         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31637         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31638         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31639         (bin_element_is_sink), (gst_bin_iterate_sinks),
31640         (gst_bin_iterate_all_by_interface):
31641         * gst/gstbin.h:
31642         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31643         (gst_element_change_state), (gst_element_dispose),
31644         (gst_element_finalize), (gst_element_set_loop_function):
31645         * gst/gstelement.h:
31646         * gst/gstiterator.c: (find_custom_fold_func):
31647         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31648         (gst_pad_collectv), (gst_pad_collect_valist),
31649         (gst_pad_template_new):
31650         * gst/gstpipeline.c: (gst_pipeline_class_init),
31651         (gst_pipeline_dispose), (gst_pipeline_set_property),
31652         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31653         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31654         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31655         * gst/gstutils.h:
31656         * gst/schedulers/entryscheduler.c:
31657         * gst/schedulers/gstbasicscheduler.c:
31658         (gst_basic_scheduler_cothreaded_chain),
31659         (gst_basic_scheduler_chain_add_element):
31660         * testsuite/bins/interface.c: (main):
31661         Added GstBin test.
31662         Added GstSystemClock test.
31663         Implemented clock distribution code in GstBin.
31664         Implemented iterate sinks method for future use.
31665         Rearranged gstelement.h
31666         Fix GstIterator comparison bug.
31667         Moved some code to GstPipeline, mostly clocking related.
31668
31669 2005-03-09  Wim Taymans  <wim@fluendo.com>
31670
31671         * configure.ac:
31672         * gst/gst_private.h:
31673         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31674         (gst_bin_remove_func), (gst_bin_remove),
31675         (gst_bin_get_by_name_recurse_up):
31676         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31677         (gst_clock_id_compare_func), (gst_clock_id_wait),
31678         (gst_clock_id_wait_async), (gst_clock_init),
31679         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31680         * gst/gstelement.h:
31681         * gst/gstinfo.c: (_gst_debug_init):
31682         * gst/gstobject.h:
31683         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31684         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31685         * gst/gstpad.h:
31686         Bump version number, we're now 0.9.0
31687         Add future debugging category.
31688         Fix NULL _unref() in _get_by_name_recurse_up
31689         Rearrange gstpad.h.
31690         Update some docs.
31691
31692 2005-03-08  Wim Taymans  <wim@fluendo.com>
31693
31694         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31695         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31696         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31697         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31698         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31699         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31700         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31701         * gst/elements/gstidentity.c: (gst_identity_class_init):
31702         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31703         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31704         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31705         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31706         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31707         (gst_tee_link):
31708         * gst/gstelement.c: (gst_element_class_init),
31709         (gst_element_base_class_init), (gst_element_init),
31710         (gst_element_get_random_pad), (gst_element_wait_state_change),
31711         (gst_element_change_state), (gst_element_dispose),
31712         (gst_element_finalize), (gst_element_set_loop_function):
31713         * gst/gstelement.h:
31714         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31715         * gst/gstthread.c: (gst_thread_class_init),
31716         (gst_thread_release_children_locks), (gst_thread_change_state):
31717         * gst/schedulers/gstbasicscheduler.c:
31718         (gst_basic_scheduler_loopfunc_wrapper),
31719         (gst_basic_scheduler_chain_wrapper),
31720         (gst_basic_scheduler_src_wrapper),
31721         (gst_basic_scheduler_remove_element):
31722         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31723         Remove threadsafe properties. Fix elements because GObject
31724         complains when installing a property before declaring a
31725         set/get_property handler.
31726         Rearrange gstelement.h file, use STATE macros for state locks.
31727         Free mutexes in the finalize method instead of dispose.
31728
31729 2005-03-08  Wim Taymans  <wim@fluendo.com>
31730
31731         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31732         * gst/gstthread.c: (gst_thread_release_children_locks):
31733         Added parentage check.
31734         Fix build og GstThread again.
31735
31736 2005-03-08  Wim Taymans  <wim@fluendo.com>
31737
31738         * docs/design/part-MT-refcounting.txt:
31739         * docs/design/part-conventions.txt:
31740         * docs/design/part-gstobject.txt:
31741         * docs/design/part-relations.txt:
31742         * docs/design/part-standards.txt:
31743         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31744         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31745         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31746         (gst_bin_iterate_all_by_interface):
31747         * gst/gstbuffer.h:
31748         * gst/gstclock.h:
31749         * gst/gstelement.c: (gst_element_class_init),
31750         (gst_element_change_state), (gst_element_set_loop_function):
31751         * gst/gstelement.h:
31752         * gst/gstiterator.c:
31753         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31754         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31755         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31756         (gst_object_set_parent), (gst_object_unparent),
31757         (gst_object_check_uniqueness):
31758         * gst/gstobject.h:
31759         Docs updates, clean up some headers.
31760
31761 2005-03-07  Wim Taymans  <wim@fluendo.com>
31762
31763         * check/.cvsignore:
31764         * check/Makefile.am:
31765         * check/gst-libs/.cvsignore:
31766         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31767         * check/gst/.cvsignore:
31768         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31769         (START_TEST), (gstbus_suite), (main):
31770         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31771         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31772         (gst_data_suite), (main):
31773         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31774         (add_fold_func), (gstiterator_suite), (main):
31775         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31776         (thread_name_object), (thread_name_object_default),
31777         (gst_object_name_compare), (gst_object_suite), (main):
31778         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31779         (gst_pad_suite), (main):
31780         * check/gstcheck.c: (gst_check_log_message_func),
31781         (gst_check_log_critical_func), (gst_check_init):
31782         * check/gstcheck.h:
31783         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31784         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31785         Added checks.
31786
31787 2005-03-07  Wim Taymans  <wim@fluendo.com>
31788
31789         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31790         (gst_list_iterator_next), (gst_list_iterator_resync),
31791         (gst_list_iterator_free), (gst_iterator_new_list),
31792         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31793         (gst_iterator_free), (gst_iterator_push), (filter_next),
31794         (filter_resync), (filter_uninit), (filter_free),
31795         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31796         (gst_iterator_foreach), (find_custom_fold_func),
31797         (gst_iterator_find_custom):
31798         * gst/gstiterator.h:
31799         Added missing files.
31800
31801 2005-03-07  Wim Taymans  <wim@fluendo.com>
31802
31803         * Makefile.am:
31804         * configure.ac:
31805         * docs/design/part-MT-refcounting.txt:
31806         * docs/design/part-conventions.txt:
31807         * docs/design/part-gstobject.txt:
31808         * docs/design/part-relations.txt:
31809         * examples/mixer/mixer.c: (main):
31810         * examples/thread/thread.c: (eos), (main):
31811         * gst/Makefile.am:
31812         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31813         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31814         (gst_spider_plug_from_srcpad):
31815         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31816         (gst_spider_identity_change_state),
31817         (gst_spider_identity_sink_loop_type_finding):
31818         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31819         * gst/elements/gstidentity.c: (gst_identity_init):
31820         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31821         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31822         * gst/elements/gsttypefindelement.c: (free_entry):
31823         * gst/gst.c:
31824         * gst/gst.h:
31825         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31826         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31827         (gst_bin_set_index), (gst_bin_set_element_sched),
31828         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31829         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31830         (gst_bin_iterate_elements), (iterate_child_recurse),
31831         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31832         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31833         (compare_interface), (gst_bin_get_by_interface),
31834         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31835         * gst/gstbin.h:
31836         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31837         (gst_buffer_default_free), (gst_buffer_default_copy),
31838         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31839         (gst_buffer_create_sub):
31840         * gst/gstbuffer.h:
31841         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31842         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31843         (gst_caps_unref), (gst_static_caps_get),
31844         (gst_caps_remove_and_get_structure), (gst_caps_append),
31845         (gst_caps_append_structure), (gst_caps_remove_structure),
31846         (gst_caps_copy_nth), (gst_caps_set_simple),
31847         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31848         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31849         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31850         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31851         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31852         (gst_caps_structure_figure_out_union),
31853         (gst_caps_switch_structures), (gst_caps_do_simplify),
31854         (gst_caps_replace), (gst_caps_from_string),
31855         (gst_caps_copy_conditional):
31856         * gst/gstcaps.h:
31857         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31858         (_gst_clock_id_free), (gst_clock_id_unref),
31859         (gst_clock_id_compare_func), (gst_clock_id_wait),
31860         (gst_clock_id_wait_async), (gst_clock_class_init),
31861         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31862         (gst_clock_get_time), (gst_clock_set_time_adjust),
31863         (gst_clock_set_property), (gst_clock_get_property):
31864         * gst/gstclock.h:
31865         * gst/gstcompat.h:
31866         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31867         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31868         * gst/gstdata.h:
31869         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31870         (gst_element_requires_clock), (gst_element_provides_clock),
31871         (gst_element_set_clock), (gst_element_clock_wait),
31872         (gst_element_wait), (gst_element_set_time_delay),
31873         (gst_element_is_indexable), (gst_element_add_pad),
31874         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31875         (pad_compare_name), (gst_element_get_static_pad),
31876         (gst_element_request_pad), (gst_element_get_request_pad),
31877         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31878         (gst_element_class_get_pad_template_list),
31879         (gst_element_class_get_pad_template), (gst_element_error_func),
31880         (gst_element_get_random_pad), (gst_element_get_event_masks),
31881         (gst_element_send_event), (gst_element_seek),
31882         (gst_element_get_query_types), (gst_element_query),
31883         (gst_element_get_formats), (gst_element_convert),
31884         (gst_element_is_locked_state), (gst_element_set_locked_state),
31885         (gst_element_sync_state_with_parent), (gst_element_change_state),
31886         (gst_element_finalize), (gst_element_yield),
31887         (gst_element_interrupt), (gst_element_set_scheduler),
31888         (gst_element_get_scheduler), (gst_element_set_loop_function):
31889         * gst/gstelement.h:
31890         * gst/gstevent.h:
31891         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31892         (gst_format_get_by_nick), (gst_format_get_details),
31893         (gst_format_iterate_definitions):
31894         * gst/gstformat.h:
31895         * gst/gstindex.c: (gst_index_gtype_resolver):
31896         * gst/gstinfo.c:
31897         * gst/gstinfo.h:
31898         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31899         (gst_mem_chunk_free):
31900         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31901         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31902         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31903         (gst_object_dispatch_properties_changed),
31904         (gst_object_set_name_default), (gst_object_set_name),
31905         (gst_object_get_name), (gst_object_set_name_prefix),
31906         (gst_object_get_name_prefix), (gst_object_set_parent),
31907         (gst_object_get_parent), (gst_object_unparent),
31908         (gst_object_check_uniqueness), (gst_object_save_thyself),
31909         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31910         (gst_object_set_property), (gst_object_get_property),
31911         (gst_object_get_path_string):
31912         * gst/gstobject.h:
31913         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31914         (gst_real_pad_init), (gst_real_pad_get_property),
31915         (gst_pad_custom_new), (gst_pad_get_direction),
31916         (gst_pad_set_active), (gst_pad_is_active),
31917         (gst_pad_set_event_function), (gst_pad_is_linked),
31918         (gst_pad_link_free), (gst_pad_link_intersect),
31919         (gst_pad_link_fixate), (gst_pad_set_caps),
31920         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31921         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31922         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31923         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31924         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31925         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31926         (gst_pad_realize), (gst_pad_get_allowed_caps),
31927         (gst_real_pad_dispose), (gst_real_pad_finalize),
31928         (gst_pad_collectv), (gst_pad_collect_valist),
31929         (gst_pad_template_dispose), (gst_pad_template_new),
31930         (gst_pad_get_internal_links):
31931         * gst/gstpad.h:
31932         * gst/gstpipeline.c: (gst_pipeline_dispose),
31933         (gst_pipeline_change_state):
31934         * gst/gstpipeline.h:
31935         * gst/gstplugin.c:
31936         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31937         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31938         * gst/gstpluginfeature.h:
31939         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31940         * gst/gstquery.c: (_gst_query_type_initialize),
31941         (gst_query_type_register), (gst_query_type_get_by_nick),
31942         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31943         * gst/gstquery.h:
31944         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31945         * gst/gstscheduler.c: (gst_scheduler_add_element),
31946         (gst_scheduler_factory_create):
31947         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31948         (gst_structure_free), (gst_structure_set_name),
31949         (gst_structure_id_set_value), (gst_structure_set_value),
31950         (gst_structure_set_valist), (gst_structure_remove_field),
31951         (gst_structure_remove_fields),
31952         (gst_structure_remove_fields_valist),
31953         (gst_structure_remove_all_fields), (gst_structure_foreach),
31954         (gst_structure_map_in_place),
31955         (gst_caps_structure_fixate_field_nearest_int),
31956         (gst_caps_structure_fixate_field_nearest_double):
31957         * gst/gststructure.h:
31958         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31959         (gst_system_clock_init), (gst_system_clock_dispose),
31960         (gst_system_clock_async_thread),
31961         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31962         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31963         * gst/gstsystemclock.h:
31964         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31965         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31966         * gst/gsttaginterface.c:
31967         * gst/gstthread.c: (gst_thread_dispose),
31968         (gst_thread_release_children_locks), (gst_thread_change_state),
31969         (gst_thread_main_loop):
31970         * gst/gsttrashstack.h:
31971         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31972         * gst/gsttypes.h:
31973         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31974         (gst_element_request_pad), (gst_element_get_pad_from_template),
31975         (gst_element_request_compatible_pad),
31976         (gst_element_get_compatible_pad_filtered),
31977         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31978         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31979         (gst_element_link_many), (gst_element_link),
31980         (gst_element_link_pads), (gst_element_unlink_pads),
31981         (gst_element_unlink_many), (gst_element_unlink),
31982         (gst_pad_can_link_filtered), (gst_pad_can_link),
31983         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31984         (gst_object_default_error), (gst_bin_add_many),
31985         (gst_bin_remove_many), (gst_element_populate_std_props),
31986         (gst_element_class_install_std_props), (gst_buffer_merge),
31987         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31988         (link_fold_func), (gst_pad_proxy_setcaps):
31989         * gst/gstutils.h:
31990         * gst/gstvalue.c: (gst_value_deserialize_string):
31991         * gst/parse/grammar.y:
31992         * gst/schedulers/gstbasicscheduler.c:
31993         (gst_basic_scheduler_cothreaded_chain),
31994         (gst_basic_scheduler_chain_recursive_add),
31995         (gst_basic_scheduler_pad_link):
31996         * gst/schedulers/gstoptimalscheduler.c:
31997         (get_group_schedule_function),
31998         (gst_opt_scheduler_state_transition),
31999         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32000         * libs/gst/bytestream/bytestream.c:
32001         * libs/gst/dataprotocol/dataprotocol.c:
32002         (gst_dp_header_from_buffer):
32003         * po/nb.po:
32004         * po/ru.po:
32005         * tests/threadstate/threadstate2.c: (eos):
32006         * tools/gst-compprep.c: (main):
32007         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32008         (print_pad_info), (print_children_info):
32009         * tools/gst-launch.c: (idle_func), (main):
32010         * tools/gst-md5sum.c: (idle_func), (main):
32011         * tools/gst-xmlinspect.c: (print_element_info):
32012         First THREADED backport attempt, focusing on adding locks and
32013         making sure the API is threadsafe. Needs more work. More docs
32014         follow this week.
32015
32016 2005-02-24  Andy Wingo  <wingo@pobox.com>
32017
32018         * tests/bench-complexity.scm:
32019         * tests/complexity.gnuplot: New files, good for running complexity
32020         benchmarks.
32021
32022         * tests/Makefile.am:
32023         * tests/complexity.c: New test, sets up N elements, at each level
32024         teeing into M streams per element. Eeeenteresting.
32025
32026         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32027         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32028         running bench-mass_elements.scm.
32029
32030         * tests/bench-mass_elements.scm: New script, runs mass_elements
32031         for various numbers of identities, outputting the results to a
32032         file. Requires guile 1.6. Just for testing.
32033
32034 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32035
32036         * gst/schedulers/fairscheduler.c:
32037           compile with debug disabled
32038
32039 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32040
32041         * configure.ac:
32042           hunting season on 0.9 is now OPEN