configure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2
3         * configure.ac:
4         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
5         our M4 macros.
6
7 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
8
9         Patch by: Cygwin Ports maintainer
10                   <yselkowitz at users dot sourceforge dot net>
11
12         * autogen.sh:
13         * configure.ac:
14         Require gettext 0.17 because older versions don't mix with libtool
15         2.2. At build time an older gettext version will still work.
16         Fixes bug #556091.
17
18 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
19
20         Patch by: 이문형 <iwings at gmail dot com>
21
22         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
23         Adds support for FD_CONNECT event (win32). See #562258.
24
25 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
26
27         * libs/gst/base/gstbasesink.c:
28           Turn comment into gtk-doc comment.
29
30 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
31
32         * libs/gst/base/gstbasetransform.c:
33         (gst_base_transform_acceptcaps):
34         Revert quick accepcaps attempt, it's not fully equivalent to the old
35         behaviour and thus causes regressions.
36
37 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
38
39         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
40         Fix memory leak.
41
42 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
43
44         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
45
46         * gst/gstregistry.c: (gst_registry_scan_path_level):
47         Reduce the number of stat() calls for every file from three times
48         to one time. Fixes bug #560360.
49
50 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
51
52         * libs/gst/base/gstbasetransform.c:
53         (gst_base_transform_acceptcaps):
54         Rename a variable to make the code clearer.
55
56 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
57
58         * plugins/elements/gstidentity.c:
59         Don't warning on offset==-1. Taken from _check_imperfect_offset().
60
61 2008-11-21  Michael Smith <msmith@songbirdnest.com>
62
63         * plugins/elements/gstfilesrc.c:
64           Check for localhost in URI was backwards, fix it. Fixes unit test.
65
66 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
67
68         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
69         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
70         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
71         Add beginnings of a more optimized acceptcaps function than the default
72         core one.
73
74 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
75
76         * gst/gstpad.c: (gst_pad_accept_caps):
77         Avoid getting the acceptcaps function too early.
78
79 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
80
81         * tools/gst-launch.c: (event_loop):
82         Make gst-launch handle LATENCY messages and make it recalculate the
83         latency.
84
85 2008-11-20  Michael Smith <msmith@songbirdnest.com>
86
87         * plugins/elements/gstfilesrc.c:
88           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
89           out own slightly incorrect version. Fixes use of some paths on
90           win32.
91
92 2008-11-20  Michael Smith <msmith@songbirdnest.com>
93
94         * gst/gstregistrybinary.c:
95           In win32 codepath, if we fail to write the registry, create the
96           directory for it and try again, matching the behaviour in non-win32
97           codepaths.
98
99 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
100
101         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
102         Changing the render delay changes the latency and so we must post a
103         latency message.
104
105 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
106
107         * gst/gstquery.c:
108         * gst/gstquery.h:
109         Add GstQueryType for custom queries instead of having to use the
110         not-so-very-convenient registration infrastructure to register new
111         types.
112
113 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
114
115         Patch by: Andrew Feren <acferen at yahoo dot com>
116
117         * gst/gstobject.c: (gst_object_default_deep_notify):
118         Unref the GEnumClass after usage again. Fixes bug #561501.
119
120 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
121
122         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
123         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
124         (gst_bin_change_state_func):
125         * gst/gstbin.h:
126         Add do-latency signal with the old default fallback implementation. This
127         allows for custom latency calculations for when the default is not
128         sufficient.
129         API: GstBin::do-latency signal.
130
131 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
132
133         * win32/common/libgstreamer.def:
134         Add new symbols to .def file.
135
136 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
137
138         * docs/gst/gstreamer-sections.txt:
139         * gst/gstbin.c: (gst_bin_recalculate_latency),
140         (gst_bin_change_state_func):
141         * gst/gstbin.h:
142         Add method to recalculate and redistribute the latency on a bin.
143         API: gst_bin_recalculate_latency().
144
145 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
146
147         * gst/gstbuffer.h:
148         Document the free_func.
149
150 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
151
152         * libs/gst/controller/gstinterpolation.c:
153         * libs/gst/controller/gstlfocontrolsource.c:
154         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
155         as it is mapped to a cast on non-win32 platforms.
156
157 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
158
159         * libs/gst/controller/gstcontroller.c:
160         * libs/gst/controller/gstcontrollerprivate.h:
161           Keep last-value and only call set_property if value has changed. This
162           supresses all the g_object_notifies we would trigger otherwise. It
163           also allows the user to chage the value while there is no controller
164           change.
165
166 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
167
168         * gst/gstvalue.c:
169           Don't crash if either of the string GValues is empty.
170
171 2008-11-17  Andy Wingo  <wingo@pobox.com>
172
173         * tools/gst-inspect.c (print_all_uri_handlers): New function,
174         prints a summary of what URI schemes are supported by what
175         elements.
176         (main): Plumb in support for --uri-handlers or -u, and fix the
177         argc check for -a and -u.
178
179 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
180
181         * gst/gstutils.h:
182         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
183         conversion functions.
184
185 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
186
187         * gst/gstbuffer.c: (gst_buffer_finalize):
188         Avoid costly typechecking for trivially correct pointers.
189
190         * gst/gstpoll.c: (gst_poll_wait):
191         Add some G_LIKELY here and there.
192
193         * libs/gst/base/gstadapter.c: (gst_adapter_push):
194         Add some debug info.
195
196 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
197
198         * docs/random/wtay/poll-timeout:
199         Small tweaks.
200
201 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
202
203         * tests/old/testsuite/caps/intersection.c: (main):
204         * tests/old/testsuite/plugin/loading.c: (main):
205         Remove references to deprecated API g_mem_chunk*.
206         Fixes #560442.
207
208 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
209
210         * tools/gst-inspect.c: (main):
211         Add --plugin option. Fixes #560301.
212
213 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
214
215         * docs/random/wtay/poll-timeout:
216         Quick braindump for a possible (not totally verified) atomic case.
217
218 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
219
220         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
221         (gst_registry_binary_initialize_magic),
222         (gst_registry_binary_write_cache),
223         (gst_registry_binary_check_magic):
224         * gst/gstregistrybinary.h:
225         Don't write and check a CRC for the binary registry file. It's
226         guaranteed that the registry is completely written (it's first written
227         to a temporary file and then moved) and if the registry was corrupted
228         by some hardware failure we would have bigger problems.
229
230         Bump binary registry version to 0.10.21.1 for this as it's an
231         incompatible change and to ensure that the registry gets rebuild
232         after the update.
233
234         This saves some milliseconds for reading/writing the registry.
235         Fixes bug #560399.
236
237 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
238
239         * docs/random/wtay/poll-timeout:
240         Some pseudo code for how we could implement clock timeouts with GstPoll.
241
242 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
243
244         * plugins/elements/gstfilesink.c:
245           Update Author string to match others.
246
247 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
248
249         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
250         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
251         being fixed and inline the trivial check.
252
253 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
254
255         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
256         (gst_caps_merge_structure), (gst_caps_get_structure),
257         (gst_caps_copy_nth), (gst_caps_set_simple),
258         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
259         (gst_caps_is_equal_fixed), (gst_caps_intersect),
260         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
261         (gst_caps_to_string):
262         Callgrind micro optimisations.
263         Avoid array bounds checks and force inline of trivial function.
264
265         * gst/gstobject.c: (gst_object_set_name_default):
266         -1 is equivalent to letting glib to the strlen but then there is more
267         room for optimisations and it's not our fault.
268
269         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
270         no need to clear the array, we're cool.
271
272         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
273         The most common _is_fixed() check is done on fundamental glib base
274         types so we check this first instead of doing a huge amount of
275         useless GST_TYPE_ARRAY calls.
276
277 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
278
279         * gst/gstevent.h:
280         Add a SKIP seek flag for use with advanced trickmodes.
281         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
282
283 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
284
285         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
286         No need to memset, we can clear the value ourselves.
287
288         * gst/gstvalue.c: (gst_type_is_fixed),
289         (gst_value_get_compare_func):
290         Some optimisations from a few callgrind sessions:
291         When checking if a type is fixed, check for trivial fundamental types
292         first before checking types for which we need to get the type followed
293         by the heavy duty type checks, this reduces the amount of
294         g_type_fundamental() calls a lot.
295         When getting the compare function, first check for our registered types.
296         If that fails, do the heavy duty g_type_is_a() checks, reduces the
297         amount of g_type_is_a() considerably.
298
299 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
300
301         * docs/design/part-TODO.txt:
302         Mumble something about removing GstXML.
303
304 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
305
306         * gst/gstbin.c: (gst_bin_handle_message_func):
307         Get the seqnum before we dispose the message.
308
309 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
310
311         * docs/design/part-TODO.txt:
312         Refer to the framestepping document.
313
314 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
315
316         * gst/gstbin.c: (bin_handle_async_start),
317         (gst_bin_handle_message_func), (gst_bin_query):
318         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
319         (gst_base_sink_event), (gst_base_sink_change_state):
320         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
321         (gst_base_src_loop), (gst_base_src_change_state):
322         Copy seqnums from events to messages so that they can all be related
323         back to eachother.
324
325 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
326
327         * tools/gst-launch.c: (event_loop):
328         Print the message seqnums.
329
330 2008-11-04  Andy Wingo  <wingo@pobox.com>
331
332         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
333
334 2008-11-04  Andy Wingo  <wingo@pobox.com>
335
336         Add sequence numbers to events and messages. See #559250.
337
338         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
339         API: New functions.
340
341         * gst/gstevent.h:
342         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
343         events with a new sequence number, and copy it when copying.
344         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
345         an event's sequence number.
346
347         * gst/gstmessage.h:
348         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
349         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
350         so with messages.
351
352         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
353
354 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
355
356         * docs/manual/advanced-position.xml:
357         * docs/manual/basics-bins.xml:
358         * docs/manual/basics-bus.xml:
359         * docs/manual/basics-pads.xml:
360         * docs/manual/intro-gstreamer.xml:
361         * docs/manual/intro-preface.xml:
362         Some Application Development Manual fixes thanks to
363         Andrew Feren. Fixes #558459.
364
365 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
366
367         * gst/gstregistrybinary.c:
368           Don't bother with the GTimer if we don't output the results.
369
370 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
371
372         Patch by: David Schleef  <ds@schleef.org>
373
374         * libs/gst/net/Makefile.am:
375         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
376
377 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
378
379         * gst/gstregistrybinary.c:
380           Oh my, studip, stupid me. Remove double stat() call.
381
382 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
383
384         * gst/gstpreset.c:
385           Use g_unlink instead of unlink.
386
387         * gst/gststructure.c:
388           Use glib type.
389
390         * gst/gstutils.c:
391           Add a FIXME:.
392
393         * gst/gsttaglist.c:
394         * gst/gsttypefind.c:
395         * gst/gstvalue.c:
396           Formatting & whitespaces.
397
398 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
399
400         * plugins/elements/gstidentity.c:
401           Doc typo. Use return value of parent_class->event.
402   
403         * plugins/elements/gsttypefindelement.c:
404           Chain up at the end for consistency.
405   
406 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
407
408         * docs/Makefile.am:
409         * docs/gst/gstreamer-docs.sgml:
410         * docs/gst/gstreamer-sections.txt:
411         * docs/gst/running.xml:
412         * docs/libs/gstreamer-libs-docs.sgml:
413           Change to xinclude based build - its faster and easier to maintain.
414
415 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
416
417         * gst/gstregistrybinary.c:
418         * gst/gstregistryxml.c:
419           Use g_unlink() as none of these are directories.
420
421 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
422
423         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
424         Some more comments.
425
426 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
427
428         * libs/gst/base/gstbasetransform.c:
429         (gst_base_transform_find_transform), (gst_base_transform_getrange):
430         If we have a fixate function, call it even if we already have fixed caps
431         because the subclass might add some caps. Makes audioconvert add a
432         default channel layout.
433
434 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
435
436         * libs/gst/base/gstbasetransform.c:
437         (gst_base_transform_prepare_output_buffer),
438         (gst_base_transform_getrange):
439         Clear the output buffer variable.
440         Cleanups to the error path in the getrange function.
441         Fixes #557649.
442
443 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
444
445         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
446         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
447         Use gst_buffer_try_new_and_alloc() and handle errors instead of
448         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
449         be allocated.
450
451 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
452
453         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
454         Set the last_stop to a more meaningful position when configuring the
455         segment. ie. the start/stop of the segment or clipped against the
456         updated segment boundaries.
457
458         * tests/check/gst/gstsegment.c: (GST_START_TEST):
459         Add some unit tests for the last_stop.
460
461 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
462
463         * libs/gst/base/gstbytereader.c:
464         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
465         copies of them.
466
467 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
468
469         * docs/gst/gstreamer-sections.txt:
470         * gst/gstutils.h:
471         API: Move float endianness conversion macros from libgstfloatcast
472         to core as it's useful in general, even in core. Fixes bug #555196.
473         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
474         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
475         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
476
477         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
478         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
479         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
480         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
481
482 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
483
484         * docs/libs/gstreamer-libs-sections.txt:
485         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
486         (gst_byte_reader_peek_data):
487         * libs/gst/base/gstbytereader.h:
488         * win32/common/libgstbase.def:
489         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
490         to get a pointer to the data at the current position and have
491         a guaranteed size.
492
493 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
494
495         * configure.ac:
496         Fix a bug in the output of the configure script summary
497         when --gst-disable-registry is supplied
498
499 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
500
501         * libs/gst/base/gstbitreader.c:
502         * libs/gst/base/gstbytereader.c:
503         Fix the names of 2 functions in the docs strings.
504
505 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
506
507         * libs/gst/base/gstbasetransform.c:
508         (gst_base_transform_prepare_output_buffer),
509         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
510         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
511         refcount problems as seen in banshee and maybe also in farsight2.
512         Remove atomic int now that we need to take the lock anyways.
513
514 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
515
516         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
517         (gst_base_sink_default_prepare_seek_segment),
518         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
519         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
520         (gst_base_sink_query):
521         Implement more seeking in pull mode.
522         Use pad convert functions to convert position to the requested format.
523         Fix position/duration reporting in pull mode.
524         Implement position and duration reporting in other formats than time.
525
526         * libs/gst/base/gstbasesink.h:
527         Add member to keep track of when the segment is playing.
528
529 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
530
531         * gst/gstpad.c: (gst_pad_configure_src):
532         When we use gst_pad_alloc_buffer() without wanting to set the caps we
533         also don't need to check if the caps are compatible because the caller
534         presumably is going to perform its own custom checks. Fixes some cases
535         where basetransform elements would error out when it was not needed.
536
537 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
538
539         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
540         Update comment.
541
542         * libs/gst/base/gstbasetransform.c:
543         (gst_base_transform_handle_buffer),
544         (gst_base_transform_reconfigure):
545         Add some debug info.
546
547         * win32/common/libgstbase.def:
548         Add new method.
549
550 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
551
552         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
553           Remove duplicated assignment and log a message in failure case.
554
555 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
556
557         Patch by: Dig Ge <dig.ge.cn at gmail com>
558
559         * tests/examples/helloworld/helloworld.c: (main):
560           Fix copy'n'paste bug in hello world example (#556900).
561
562 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
563
564         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
565         (gst_base_sink_query):
566         Query the total number of bytes when activating the pad in pull mode.
567         Implement duration query in pull mode by using the installed pad convert
568         function to convert from bytes to the requested format.
569
570 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
571
572         * docs/libs/gstreamer-libs-sections.txt:
573         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
574         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
575         (gst_base_sink_event), (gst_base_sink_perform_seek),
576         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
577         (gst_base_sink_send_event), (gst_base_sink_change_state):
578         * libs/gst/base/gstbasesink.h:
579         Add method to commit the state in subclasses.
580         Refactor the flush_start and flush_stop code because we need it for
581         flushing while seeking too.
582         Implement the beginnings of seeking in pull mode.
583         Use the segment last_stop field for the pulling offset.
584         Fix the pause method in pull mode.
585         Configure the segment to BYTES for pull mode.
586         API: GstBaseSink::gst_base_sink_do_preroll()
587
588 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
589
590         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
591         Update some docs.
592
593 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
594
595         * gst/gstquark.c: (_priv_gst_quarks_initialize):
596           Fix printf format warning.
597
598 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
599
600         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
601         Fix flow aggregation of tee. Error out immediately for all flow returns
602         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
603         and return OK if at least one pad is linked.
604
605         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
606         and otherwise returned the flow return of the last pad, which is wrong.
607         
608         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
609         (GST_START_TEST), (tee_suite):
610         Add unit tests for the flow aggregation.
611
612 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
613
614         * docs/design/part-TODO.txt:
615         Remove item from the todo list because it was fixed with the latency
616         state change rewrites.
617
618         * docs/design/part-seeking.txt:
619         * docs/design/part-segments.txt:
620         Update some docs.
621
622         * gst/gstevent.c: (gst_event_new_new_segment_full),
623         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
624         (gst_event_parse_buffer_size), (gst_event_new_qos),
625         (gst_event_parse_qos), (gst_event_new_seek),
626         (gst_event_parse_seek), (gst_event_new_latency),
627         (gst_event_parse_latency):
628         Use quarks to construct and parse events.
629
630         * gst/gstquark.c: (_priv_gst_quarks_initialize):
631         * gst/gstquark.h:
632         Add some more quarks to the table.
633         Emit a warning when the quark tables are not in sync.
634
635         * tests/check/gst/gstbus.c: (GST_START_TEST):
636         Add an assert.
637
638 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
639
640         * plugins/elements/Makefile.am:
641         * plugins/indexers/Makefile.am:
642           Don't install static libs for plugins. Fixes #550851 for core.
643
644 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
645
646         * gst/gstbus.c: (gst_bus_source_finalize),
647         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
648         (gst_bus_enable_sync_message_emission),
649         (gst_bus_disable_sync_message_emission),
650         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
651         Fix deadlock, g_source_get_id() cannot be called in finalize.
652         Keep track of the watch source by keeping a pointer to the source object
653         instead.
654         Use the bus lock to protect access to the pointer to the current
655         watch source.
656
657 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
658
659         Base on Patch by: Olivier Crete <tester at tester dot ca>
660
661         * gst/gstbus.c: (gst_bus_source_finalize),
662         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
663         Only allow one bus watch to be set at a time. This is necessary
664         because the dispatcher pops the message from the bus and the second
665         watcher will then get NULL or the next message (and the first won't
666         get this next message then, etc). If more than one "watcher" is
667         required signal watches should be used. Fixes bug #526044.
668
669 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
670
671         * tools/gst-launch.c:
672         Change the printing of the 'buffering...' output to avoid putting
673         a \r in a translateable string (flagged by the TP).
674
675 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
676
677         * gst/gstxml.c:
678         Clarify that the save_thyself() and restore_thyself() virtual
679         functions of GstObject need to be overriden, not
680         gst_object_(save|restore)_thyself() which is impossible.
681         Fixes bug #555700.
682
683 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
684
685         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
686         Revert a patch from 21 months ago that broke caps negotiation in pull
687         mode. Basically, having a buffer pass over a pad will trigger the
688         setcaps function when caps change, just like in push mode.
689
690 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
691
692         * docs/design/part-negotiation.txt:
693         Update the docs some more.
694
695         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
696         If we pull a buffer with non-trivial caps, suggest those caps with the
697         max probability.
698
699 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
700
701         * docs/design/part-TODO.txt:
702         Add another limitation of pad-blocking with segment seeks not pushing
703         EOS events.
704
705 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
706
707         * win32/common/libgstbase.def:
708         * win32/common/libgstreamer.def:
709         Add new symbols to the win32 defs files
710
711 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
712
713         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
714         (gst_bin_handle_message_func):
715         The message src can be NULL, don't try to print the object names in that
716         case.
717
718         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
719         Add some more debug info.
720
721         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
722         (GST_START_TEST):
723         Add some debug.
724         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
725         scheduling modes.
726
727 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
728
729         * docs/design/part-negotiation.txt:
730         Small doc update.
731
732         * docs/libs/gstreamer-libs-sections.txt:
733         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
734         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
735         (gst_base_sink_init), (gst_base_sink_set_blocksize),
736         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
737         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
738         (gst_base_sink_loop), (gst_base_sink_pad_activate),
739         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
740         (gst_base_sink_change_state):
741         * libs/gst/base/gstbasesink.h:
742         Add blocksize property and methods to control the amount of data
743         to pull.
744         Negotiate first before activating upstream in pull mode so that they can
745         negotiate themselves.
746         When we operate in pull mode, we only accept the caps that we
747         negotiated.
748         Make the sink go ASYNC to PAUSED, like all other sinks.
749         API: GstBaseSink::gst_base_sink_set_blocksize()
750         API: GstBaseSink::gst_base_sink_get_blocksize()
751         API: GstBaseSink::blocksize
752
753         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
754         (gst_base_src_set_live), (gst_base_src_is_live),
755         (gst_base_src_set_format), (gst_base_src_query_latency),
756         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
757         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
758         (gst_base_src_set_property), (gst_base_src_get_property):
759         * libs/gst/base/gstbasesrc.h:
760         Add typechecking in public API functions.
761         Add methods to control the blocksize in subclasses.
762         API: GstBaseSrc::gst_base_src_set_blocksize()
763         API: GstBaseSrc::gst_base_src_get_blocksize()
764
765 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
766
767         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
768         (buffer_probe), (event_probe), (GST_START_TEST):
769         We now see 3 events go through our pad, since basesink now sends
770         upstream latency events.
771
772 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
773
774         * gst/gstpipeline.c: (gst_pipeline_change_state):
775         Release the object lock before trying to flush the bus.
776
777 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
778
779         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
780         Forward LATENCY events upstreams so that elements know about the total
781         pipeline latency. Fixes #555307.
782
783 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
784
785         * plugins/elements/gstqueue.c:
786         Allow through queries when we don't know how
787         to adjust them (not TIME or BYTES), as otherwise it's
788         not possible to query the current position in order
789         to seek in other formats at all.
790
791 2008-10-08  Andy Wingo  <wingo@pobox.com>
792
793         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
794
795 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
796
797         * gst/gstghostpad.c:
798         * gst/gstghostpad.h:
799         Unbreak -good build, private is a reserved c++ keyword.
800
801 2008-10-08  Andy Wingo  <wingo@pobox.com>
802
803         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
804         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
805         removal: re-add GST_GHOST_PAD_CAST to the header.
806
807         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
808         (GstGhostPadClass): Publically expose these structures so as to
809         allow easy subclassing from C. Hide the member data behind a
810         private opaque data pointer.
811
812         * gst/gstghostpad.c: Adapt to store instance data in the type
813         instance's private data region, not in the public struct.
814
815 2008-10-08  Andy Wingo  <wingo@pobox.com>
816
817         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
818         template via g_object_get(), be sure to unref it.
819
820         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
821
822 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
823
824         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
825         If we can't get a cache file don't try to save something to it.
826         Dereferencing NULL pointers usually isn't a good idea.
827
828 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
829
830         * tests/check/Makefile.am:
831         * tests/check/gst/gstabi.c:
832         * tests/check/gst/struct_sparc.h:
833         * tests/check/libs/libsabi.c:
834         * tests/check/libs/struct_sparc.h:
835         Add Sparc ABI checks
836
837         * tests/check/gst/gstvalue.c: (GST_START_TEST):
838         Cast signed integer to unsigned to avoid a compiler warning.
839
840 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
841
842         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
843         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
844         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
845         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
846         (gst_byte_reader_peek_int24_be):
847         Use new GST_READ_UINT24_(LE|BE) macros.
848
849 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
850
851         * docs/gst/gstreamer-sections.txt:
852         * gst/gstutils.h:
853         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
854         as it's too easy to break the ISO C strict aliasing rules with simple
855         casts to the corresponding type and this would introduce hard to debug
856         bugs. Fixes bug #545714.
857
858         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
859
860 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
861
862         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
863         * gst/gstghostpad.c: (gst_ghost_pad_construct):
864           Add 'Since' bits to gtk-doc chunks for new API.
865
866 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
867
868         * docs/gst/gstreamer-sections.txt:
869         Fix documentation
870
871 2008-10-06  Andy Wingo  <wingo@pobox.com>
872
873         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
874         that will be called on the malloc_data to free it. Basically a way
875         to avoid subclassing when all you need is a different free
876         function, i.e. free() instead of g_free().
877
878         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
879         calling the free function.
880         (gst_buffer_init): Initialize the free function to g_free.
881
882 2008-10-06  Andy Wingo  <wingo@pobox.com>
883
884         * gst/gstghostpad.h:
885         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
886         finishes the initialization of ghost pad. Useful for language
887         bindings and subclassers of GstGhostPad. Fixes #539108.
888         (gst_ghost_pad_new_full): Use the new constructor.
889
890 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
891
892         Base on Patch by: Olivier Crete <tester at tester dot ca>
893
894         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
895         (gst_bin_remove_func), (update_degree),
896         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
897         Keep track of pads that are being linked/unlinked and resync the state
898         changes.
899
900         * gst/gstpad.c: (gst_pad_get_direction),
901         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
902         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
903         (gst_pad_link_prepare), (gst_pad_link),
904         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
905         (gst_pad_check_pull_range), (gst_pad_get_range),
906         (gst_pad_pull_range):
907         Some code cleanups, use macros to check pad direction.
908         Don't need to take the lock on the pad direction.
909         Post structure change when pads are linked/unlinked.
910         Change some checks into _return_if_fail().
911
912         * tests/check/gst/gstbin.c:
913         (test_link_structure_change_state_changed_sync_cb),
914         (GST_START_TEST), (gst_bin_suite):
915         Add testcase for pad link/unlinke resync during a state change.
916         Fixes #510354.
917
918 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
919
920         * docs/gst/gstreamer-sections.txt:
921         * gst/gstmessage.c: (gst_message_new_structure_change),
922         (gst_message_parse_structure_change):
923         * gst/gstmessage.h:
924         Implement STRUCTURE_CHANGED messages. These messages will be used to
925         signal the parent bin of link/unlink operations that could require a
926         resync when doing a state change. See ##510354.
927         API: gst_message_new_structure_change()
928         API: gst_message_parse_structure_change()
929
930 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
931
932         * gst/gstquark.c:
933         * gst/gstquark.h:
934         Add some more quarks for new message. See #510354.
935
936 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
937
938         * docs/libs/gstreamer-libs-docs.sgml:
939         * docs/libs/gstreamer-libs-sections.txt:
940         * libs/gst/base/Makefile.am:
941         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
942         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
943         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
944         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
945         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
946         (gst_bit_reader_skip_to_byte):
947         * libs/gst/base/gstbitreader.h:
948         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
949         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
950         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
951         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
952         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
953         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
954         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
955         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
956         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
957         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
958         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
959         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
960         * libs/gst/base/gstbytereader.h:
961         * tests/check/Makefile.am:
962         * tests/check/libs/bitreader.c: (GST_START_TEST),
963         (gst_bit_reader_suite):
964         * tests/check/libs/bytereader.c: (GST_START_TEST),
965         (gst_byte_reader_suite):
966         API: Add bit reader and byte reader classes, including documentation
967         and an extensive unit test suite. Fixes bug #553554.
968
969 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
970
971         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
972         (gst_base_sink_query):
973         Improve position reporting while flushing and other intermediate state
974         changes. Fixes #553874.
975
976 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
977
978         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
979
980         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
981         Original patch by : Simon Descaries
982         Fix small refount leak in caps compatibility check.
983         Fixes #551676.
984
985 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
986
987         * docs/pwg/advanced-request.xml:
988           Fix 0.8 api usage in example. Fixes #554561
989
990         * docs/pwg/appendix-porting.xml:
991           Change 0.9 to 0.10 here.
992
993 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
994
995         * docs/manual/basics-data.xml:
996           Change "event-event interaction" to "element-element interaction".
997           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
998           updates.
999
1000 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1001
1002         * configure.ac:
1003         Back to development -> 0.10.21.1
1004
1005 === release 0.10.21 ===
1006
1007 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1008
1009         * configure.ac:
1010           releasing 0.10.21, "Take These Things From Me"
1011
1012 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1013
1014         * configure.ac:
1015         0.10.20.4 pre-release
1016
1017 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1018
1019         * libs/gst/base/gstbasetransform.c:
1020         * plugins/elements/gstcapsfilter.c:
1021         * tests/check/Makefile.am:
1022         * tests/check/elements/.cvsignore:
1023         * tests/check/elements/capsfilter.c:
1024         Fix assertion in basetransform when the subclass chooses not to
1025         allocate a buffer in prepare_buffer(), and make capsfilter error out
1026         cleanly if requested to apply caps that don't completely specify the
1027         buffer. Fixes #551509
1028
1029 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1030
1031         * libs/gst/base/gstbasetransform.c:
1032         (gst_base_transform_prepare_output_buffer):
1033         Take new caps ref because our old one might have been gone when the
1034         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1035
1036 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1037
1038         * configure.ac:
1039           Do not probe availability of check unit test library when cross
1040           compiling, as test would not work anyway. Also cleanup verbose output
1041           of the check test. Fixes #551952.
1042
1043 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1044
1045         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1046
1047         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1048         Avoid leaking the parent ref when we fail changing the state of the
1049         element using gst_element_sync_state_with_parent(). Fixes #551978.
1050
1051 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1052
1053         * docs/manual/intro-motivation.xml::
1054           Remove some bits that no longer apply, update others (#551642).
1055
1056 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1057
1058         * configure.ac:
1059         0.10.20.2 pre-release
1060
1061         * po/LINGUAS:
1062         * po/id.po:
1063         * po/pt_BR.po:
1064
1065         New translations.
1066
1067 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1068
1069         * win32/common/config.h.in:
1070           Add GST_DATADIR, hard-code cpu to x86.
1071
1072         * win32/common/libgstreamer.def:
1073           Spaces to tabs.
1074
1075 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1076
1077         * gst/gsttaglist.h:
1078           Fix Since: markers for new geo tags.
1079
1080 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1081
1082         * gst/gsttaglist.h:
1083           Fix actual tag name define after renaming from altitude to elevation.
1084
1085 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1086
1087         * gst/gstpad.c: (add_unref_pad_to_list),
1088         (gst_pad_get_internal_links_default):
1089         Add fallback when calling the deprecated function on an element that
1090         implements the new internal_link handler.
1091
1092 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1093
1094         * docs/gst/gstreamer-sections.txt:
1095         * gst/gsttaglist.c:
1096         * gst/gsttaglist.h:
1097           Add new tags for geo location and clarify purpose of existing location
1098           tag. Fixes #481169
1099
1100 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1101
1102         Patch by: Olivier Crete <tester at tester dot ca>
1103
1104         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1105         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1106         Use thread-safe internal links iterator. Fixes #549504.
1107
1108 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1109
1110         Based on patch by: Olivier Crete <tester at tester dot ca>
1111
1112         * docs/gst/gstreamer-sections.txt:
1113         * win32/common/libgstreamer.def:
1114         * gst/gstpad.c: (gst_pad_init),
1115         (gst_pad_set_iterate_internal_links_function),
1116         (int_link_iter_data_free), (iterate_pad),
1117         (gst_pad_iterate_internal_links_default),
1118         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1119         * gst/gstpad.h:
1120         Add threadsafe replacement functions for getting internal links of an
1121         element. Deprecate the old internal links functions.
1122         API:GstPad::gst_pad_set_iterate_internal_links_function()
1123         API:GstPad::GstPadIterIntLinkFunction
1124         API:GstPad::gst_pad_iterate_internal_links()
1125         API:GstPad::gst_pad_iterate_internal_links_default()
1126
1127         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1128         (gst_proxy_pad_init):
1129         Implement threadsafe internal links.
1130
1131         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1132         Unit test for internal links on tee. See #549504.
1133
1134 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1135
1136         * tests/check/Makefile.am:
1137         libs/transform1 test requires libs/test_transform.c
1138
1139 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1140
1141         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1142         Die evil deadlock, die !
1143
1144 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1145
1146         * gst/gstutils.c: (gst_element_get_compatible_pad):
1147         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1148         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1149         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1150         not steal the refcount of the given caps as stated.
1151
1152         REVERT THIS COMMIT ONCE FIXED !
1153         REVERT THIS COMMIT ONCE FIXED !
1154         REVERT THIS COMMIT ONCE FIXED !
1155         REVERT THIS COMMIT ONCE FIXED !
1156         REVERT THIS COMMIT ONCE FIXED !
1157         REVERT THIS COMMIT ONCE FIXED !
1158
1159 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1160
1161         * gst/gstiterator.c:
1162         * gst/gstiterator.h:
1163         After 3 years it's about time to revise the documentation of the
1164         iterator objects.
1165
1166 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1167
1168         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1169         Make the internal links function less thread-unsafe and add some
1170         comments, dunno why.
1171
1172 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1173
1174         * gst/gst_private.h:
1175           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1176           build with --disable-gst-debug.
1177
1178 2008-08-28  David Schleef  <ds@schleef.org>
1179
1180         * gst/gstpadtemplate.c: Revert last change, since it breaks
1181           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1182           but shouldn't be enabled until we've released fixed versions
1183           of -good and -ffmpeg.
1184
1185 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1186
1187         * gst/gstobject.c:
1188           Put the gst_object_get_name() back in.
1189
1190 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1191
1192         * gst/gstpadtemplate.c:
1193           The old behaviour was that gst_pad_template_new() takes ownership of
1194           the caps. As we now call g_object_new() which calls g_object_set() and
1195           which copies the caps, we have to unref them to not leak them. Fixes
1196           make valgrid for me.
1197
1198 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1199
1200         * gst/gsturi.c:
1201           Don't segfault on input like "tel:+1-123-555-1234".
1202
1203 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1204
1205         * gst/gstobject.c:
1206           Due to popular request also include ObjectType in
1207           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1208
1209 2008-08-26  David Schleef  <ds@schleef.org>
1210
1211         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1212           src_val must be positive, because that's not a requirement.
1213           This causes problems with converting negative granulepos
1214           values for Dirac.
1215         * gst/gstquery.c: Same, gst_query_new_convert().
1216
1217 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1218
1219         * gst/gstclock.c: (gst_clock_add_observation):
1220         Add some more debugging to the clock slaving code.
1221
1222         * win32/common/libgstbase.def:
1223         Add new basetransform method.
1224
1225 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1226
1227         * gst/gstbin.c: (gst_bin_element_set_state):
1228         Take the (recursive) state lock between getting the locked state of an
1229         element and changing the element state. This allows the application to
1230         lock an element's state and then change its state without races.
1231
1232 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1233
1234         * gst/gstbin.c: (gst_bin_element_set_state):
1235         When an element is in the locked state we still want to update the
1236         base_time of the element.
1237
1238 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1239
1240         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1241         Use the result from gst_pad_set_caps() instead of assuming the element
1242         always accepted the caps computed by the default negotiate function.
1243
1244 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1245
1246         * docs/libs/gstreamer-libs-sections.txt:
1247         * libs/gst/base/gstbasetransform.c:
1248         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1249         (gst_base_transform_chain), (gst_base_transform_suggest),
1250         (gst_base_transform_reconfigure):
1251         * libs/gst/base/gstbasetransform.h:
1252         Implement method for reconfiguring basetransform.
1253         API: GstBaseTransform::gst_base_transform_reconfigure()
1254
1255 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1256
1257         patch by: Murray Cumming <murrayc@murrayc.com>
1258
1259         * gst/gstutils.c:
1260           Mention that this is just like gst_buffer_merge() but with extra
1261           unreffing for C coders. Advise language bindings not to wrap it.
1262           Fixes Bug #533856.
1263           
1264           Also fix file comment.
1265
1266 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1267
1268         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1269
1270         * plugins/elements/gstfakesink.c:
1271         * plugins/elements/gstfakesrc.c:
1272           Call super::event() when not handling it. Fixes #544855.
1273
1274 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1275
1276         Patch by: Alessandro Decina <alessandro@nnva.org>
1277         * plugins/elements/gstfilesrc.c:
1278           Use 64 bit variants of stat functions on win32, to enable support
1279           of large files there.
1280           Fixes #547277.
1281
1282 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1283
1284         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1285         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1286         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1287         (gst_base_sink_get_position), (gst_base_sink_change_state):
1288         Improve position reporting in the flushing state.
1289         Also report the position when we are not yet prerolled but we
1290         have a newsegment event. Fixes #543444.
1291         Improve the pull-based negotiation code.
1292
1293         * tests/check/elements/fakesink.c: (GST_START_TEST),
1294         (fakesink_suite):
1295         Add testcase for position reporting while flushing in PAUSED and
1296         PLAYING.
1297
1298         * tests/check/generic/sinks.c: (GST_START_TEST):
1299         Update unit-test, we can now query the position as soon as we receive a
1300         NEWSEGMENT event.
1301
1302 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1303
1304         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1305
1306         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1307         When the subclass event handler releases the PREROLL_LOCK, we could be
1308         in the flushing state and we have to ignore the event. Fixes #548394.
1309
1310 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1311
1312         * tools/gst-launch.1.in:
1313           Document GST_REGISTRY_UPDATE environment variable.
1314
1315 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1316
1317         * libs/gst/base/gstbasetransform.c:
1318         (gst_base_transform_prepare_output_buffer):
1319         If the element is configured in passthrough mode but the
1320         prepare_output_buffer gave us a new output buffer, discard that buffer
1321         and reuse the input buffer.
1322
1323 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1324
1325         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1326
1327         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1328         (gst_tee_request_new_pad), (gst_tee_release_pad),
1329         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1330         * plugins/elements/gsttee.h:
1331         Protect pad_alloc with a new lock so that we can be sure that nothing is
1332         performing a pad_alloc when removing the pad. Fixes #547835.
1333
1334         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1335         (buffer_alloc_harness_teardown), (app_thread_func),
1336         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1337         Added testcase for shutdown race.
1338
1339 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1340
1341         * gst/gstpad.h:
1342         Add doc
1343
1344 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1345
1346         * libs/gst/base/gstbasetransform.c:
1347         (gst_base_transform_prepare_output_buffer),
1348         (gst_base_transform_buffer_alloc):
1349         Go over the buffer_alloc function again and make sure we always end up
1350         allocating a buffer.
1351         Add some more docs.
1352         Avoid doing pad alloc when we have a pending suggestion because we
1353         cannot yet deal with changing caps in that case. Fixes #547728
1354
1355 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1356
1357         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1358
1359         * docs/manual/advanced-clocks.xml:
1360         * docs/manual/clocks.png:
1361         * docs/manual/diagrams-clocks.svg:
1362           Add one more image showing different times together with a describing
1363           paragraph. Fixes #547729.
1364
1365 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1366
1367         * win32/common/libgstbase.def:
1368         Add new method.
1369
1370 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1371
1372         * libs/gst/base/gstbasetransform.c:
1373         (gst_base_transform_transform_caps),
1374         (gst_base_transform_prepare_output_buffer),
1375         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1376         Don't overwrite the outsize when calculating the expected size of a new
1377         buffer because we still need it in case we cannot process the new
1378         buffer.
1379         When converting the size of the new buffer to an upstream size, actually
1380         use the expected size of the buffer, not some other random value.
1381         Use an atomic int to signal that a new upstream caps suggestion is
1382         available.
1383         When we can convert the current buffer to a new format, check if the
1384         buffer size is of the expected size and allocate a new buffer of the
1385         expected size when this is not the case. Fixes #546883.
1386
1387         * tests/check/libs/transform1.c: (GST_START_TEST):
1388         remove ifdeffed code from the unit test.
1389
1390 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1391
1392         * pkgconfig/gstreamer-uninstalled.pc.in:
1393         * pkgconfig/gstreamer.pc.in:
1394           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1395           called gstcontroller-0.10.
1396
1397 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1398
1399         * gst/gstchildproxy.h:
1400         * gst/gstpreset.h:
1401           Remove double interface from doc-string.        
1402
1403 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1404
1405         * libs/gst/base/gstbasesrc.c:
1406         * libs/gst/base/gstbasetransform.c:
1407           Fix headings in docs and gtk-doc warnings.
1408
1409 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1410
1411         * gst/gstregistrybinary.c:
1412           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1413           libc.
1414           Fixes #544776.
1415
1416 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1417
1418         * libs/gst/base/gstbasetransform.c:
1419         (gst_base_transform_buffer_alloc):
1420         Fix a "may be used unitialized" warning.
1421
1422 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1423
1424         * docs/gst/gstreamer-sections.txt:
1425         * gst/gstpreset.h:
1426           Document preset-iface vmethods.
1427
1428 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1429
1430         * docs/manual/advanced-interfaces.xml:
1431           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1432           only used to discover devices.
1433
1434 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1435
1436         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1437
1438         * gst/gst.c: (init_pre):
1439         Make sure gettext returns translations in UTF-8 encoding rather
1440         than in the current locale encoding (#546822).
1441
1442 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1443
1444         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1445         Fix subset test.
1446
1447         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1448         Improve unit test subset tests and add a testcase for the subset failure
1449         cases.
1450
1451         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1452         Improve subtraction unit test.
1453
1454 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1455
1456         * plugins/elements/gsttee.c:
1457           Unlock, instead of locking again.
1458
1459 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1460
1461         * gst/gstpad.h:
1462         Clarify the docs a bit more.
1463
1464 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1465
1466         * tests/examples/metadata/read-metadata.c:
1467           Don't leak old taglist.
1468
1469 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1470
1471         Patch by: Olivier Crete <tester at tester dot ca>
1472
1473         * gst/gststructure.c:
1474         (gst_structure_fixate_field_nearest_fraction):
1475         Avoid overflows in fixation code when dealing with MAXINT values, which
1476         v4l2src seems to do.
1477         Fixes #546328.
1478
1479         * tests/check/gst/gststructure.c: (GST_START_TEST):
1480         Make a unit test to check the fix. 
1481
1482 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1483
1484         * plugins/elements/gstcapsfilter.c: (copy_func),
1485         (gst_capsfilter_set_property):
1486         Use new caps suggestion feature of basetransform to request a caps
1487         negotiation upstream.
1488
1489 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1490
1491         * docs/libs/gstreamer-libs-sections.txt:
1492         Add new function:
1493         API: GstBaseTransform::gst_base_transform_suggest()
1494
1495         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1496         (gst_base_transform_init), (gst_base_transform_transform_caps),
1497         (gst_base_transform_transform_size),
1498         (gst_base_transform_configure_caps),
1499         (gst_base_transform_can_transform),
1500         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1501         (gst_base_transform_prepare_output_buffer),
1502         (gst_base_transform_buffer_alloc),
1503         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1504         (gst_base_transform_chain), (gst_base_transform_activate),
1505         (gst_base_transform_set_passthrough),
1506         (gst_base_transform_is_passthrough),
1507         (gst_base_transform_set_in_place),
1508         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1509         (gst_base_transform_set_qos_enabled),
1510         (gst_base_transform_is_qos_enabled),
1511         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1512         (gst_base_transform_reconfigure):
1513         * libs/gst/base/gstbasetransform.h:
1514         Rewrite of basetransform to perform negotiation outside of the
1515         buffer_alloc functions.  Fixes #545853.
1516
1517         * tests/check/libs/transform1.c: (GST_START_TEST),
1518         (buffer_alloc_ct2):
1519         Update unit test.
1520
1521 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1522
1523         * tests/check/gst/gstpreset.c:
1524           Only run preset tests when $HOME is writable. Preliminary fix for
1525           #545433.
1526
1527 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1528
1529         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1530         (gst_bin_change_state_func), (bin_handle_async_done),
1531         (gst_bin_handle_message_func):
1532         Fix race for bins that simulate ASYNC state changes by inserting
1533         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1534         pending ASYNC messages even when the bin does not have ASYNC children.
1535         We note detect this behaviour because we will receive an ASYNC message
1536         that is originating from the bin itself. 
1537         Fixes races with decodebin2 state changes.
1538
1539         * tests/check/gst/gstbin.c: (GST_START_TEST):
1540         Add some more debug.
1541
1542 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1543
1544         * gst/gsttaglist.c: (_gst_tag_initialize):
1545           Fix typo.
1546
1547 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1548
1549         * gst/gsttaglist.c:
1550           Argh. actually save the text before committing. Now adds
1551           gst_tag_merge_strings_with_comma() to gst_tag_register().
1552
1553 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1554
1555         * gst/gsttaglist.c:
1556         * gst/gsttaglist.h:
1557           Do as tim pointed out and actually register the new tag. Also improve
1558           te docs and use gst_tag_merge_strings_with_comma() method to allow
1559           retriving all keywords merged in one list.
1560
1561 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1562
1563         * configure.ac:
1564         * docs/gst/gstreamer.types:
1565           Revert 'accidential' change of the configure option removal. We still
1566           need to generate the types file in configure --disable-load-save.
1567
1568 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1569
1570         * docs/gst/gstreamer-sections.txt:
1571         * gst/gsttaglist.h:
1572           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1573
1574 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1575
1576         * gst/gstpadtemplate.c:
1577           (gst_pad_template_class_init), (gst_static_pad_template_get),
1578           (gst_pad_template_new), (gst_pad_template_pad_created),
1579           (gst_pad_template_set_property), (gst_pad_template_get_property):
1580           Add "name-template", "direction", "presence" and "caps" properties,
1581           so that gst_pad_template_new() is just a thin wrapper around
1582           g_object_new(), which is better for bindings. (Fixes: #539772)
1583
1584 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1585
1586         * gst/gsturi.c:
1587           Be more liberal in what URIs we accept.
1588           Do not unescape bits of the URI for no apparent reason before passing to
1589           the element. Fixes #545352.
1590
1591 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1592
1593         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1594
1595         * gst/gst.c:
1596         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1597
1598 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1599
1600         * configure.ac:
1601         * docs/gst/gstreamer-sections.txt:
1602         * docs/gst/gstreamer.types:
1603         * docs/gst/gstreamer.types.in:
1604         * gst/Makefile.am:
1605         * gst/gst.c:
1606         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1607         * gst/gstconfig.h.in:
1608         * gst/gstelement.c: (gst_element_get_index):
1609         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1610         (gst_registry_binary_load_feature),
1611         (gst_registry_binary_read_cache):
1612         * gst/gstregistryxml.c: (load_feature),
1613         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1614         * plugins/Makefile.am:
1615         * tools/gst-indent:
1616         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1617         (print_plugin_features), (print_element_features):
1618         * tools/gst-xmlinspect.c: (print_event_masks),
1619         (print_element_info):
1620         * win32/common/gstconfig.h:
1621         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1622
1623         Disabling the indexers and URI handler code will only reduce the
1624         required amount of memory by a very small amount but on the other hand
1625         requires much more maintaince work. Apart from that many places of
1626         code are broken when disabling them.
1627
1628         Disabling the enum types doesn't reduce the required amount of memory
1629         by more than a few bytes and makes it hard to fix bugs like #539772,
1630         i.e. use the enums as GObject properties.
1631
1632 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1633
1634         * docs/design/part-TODO.txt:
1635         Add some thoughts and problems with upstream renegotiation.
1636
1637 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1638
1639         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1640         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1641         Remove silly redundant debug.
1642         Add some more debug info.
1643         Clarify the docs regarding new caps received from pad_alloc.
1644
1645 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1646
1647         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1648         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1649         Make setting the caps more threadsafe.
1650
1651 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1652
1653         * docs/design/part-element-transform.txt:
1654         Update docs.
1655
1656 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1657
1658         * plugins/elements/gstqueue.c: (gst_queue_init),
1659         (gst_queue_acceptcaps):
1660         Add and use a custom acceptcaps function instead of falling back to the
1661         potentially less optimized default implementation.
1662
1663 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1664
1665         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1666           Only sanity-check the buffer size if requested_caps == buffer_caps
1667           (ie. don't take pad caps into account, they're not relevant here)
1668
1669 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1670
1671         * plugins/elements/gsttee.c:
1672         * plugins/elements/gsttee.h:
1673           Reverting as not everything is clear yet. Needs some general design
1674           work.
1675
1676 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1677
1678         * ChangeLog:
1679           ChangeLog surgery for tee commit.
1680
1681 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1682
1683         * docs/gst/gstreamer-sections.txt:
1684           Cleanup section-file.
1685
1686 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1687
1688         * plugins/elements/gsttee.c:
1689         * plugins/elements/gsttee.h:
1690           Relay tag events in tee. Fixes parts of #474016.
1691           Downgrades 3 reoccurring debugs to log.
1692
1693 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1694
1695         * configure.ac:
1696         * libs/gst/Makefile.am:
1697           Build the net library if we have winsock2.
1698
1699 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1700
1701         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1702
1703         * docs/manual/advanced-threads.xml:
1704         * docs/manual/diagrams-pipelines.svg:
1705         * docs/manual/hello-world.png:
1706         * docs/manual/linked-elements.png:
1707         * docs/manual/mime-world.png:
1708         * docs/manual/queue.png:
1709         * docs/manual/thread-buffering.png:
1710         * docs/manual/thread-synchronizing.png:
1711           Replace one diagram with two separate ones and updates others.
1712           Fixes #542401.
1713
1714 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1715
1716         * gst/gstelement.h:
1717         Fix link in documentation.
1718
1719 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1720
1721         * gst/gstmessage.c:
1722         Fix confusing documentation.
1723
1724 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1725
1726         * libs/gst/base/gstbasesrc.h:
1727         revert the changes to the header file for the ABI.
1728
1729 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1730
1731         * libs/gst/base/gstbasesrc.c:
1732         * libs/gst/base/gstbasesrc.h:
1733         Don't cache the seekable status.
1734         Fixes bug #544174
1735
1736 2008-07-24  Rene Stadler  <mail@renestadler.de>
1737
1738         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1739         code to close the pipeline graph.  This prevents the program from
1740         printing internal data flow errors.
1741
1742 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1743
1744         * docs/manual/basics-bus.xml:
1745         Correct typo. Fixes bug #544320.
1746
1747 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1748
1749         * configure.ac:
1750           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1751           Add check (taken from -base) for winsock, adds WIN32_LIBS
1752         * gst/Makefile.am:
1753           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1754           winsock.
1755           Define GST_EXPORTS when building libgstreamer (only used on win32)
1756         * gst/gst_private.h:
1757         * gst/gstinfo.h:
1758           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1759           for symbols that we need to export in both these files.
1760         * gst/gstpoll.c:
1761           Include gst_private.h higher up to avoid some compile problems on win32.
1762
1763 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1764
1765         * gst/gstvalue.c:
1766         Fix typos.
1767
1768 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1769
1770         * gst/gstcaps.c:
1771         Previous commit was wrong NULL caps does not exist
1772         and indicate an error, so also add a FIXME to
1773         gst_caps_is_equal where NULL caps are accepted.
1774
1775 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1776
1777         * gst/gstcaps.c:
1778         Allow passing of NULL to gst_caps_union
1779
1780 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1781
1782         * gst/gstghostpad.c:
1783         Add in doc that gst_ghost_pad_set_target can accept
1784         NULL to clear target
1785
1786 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1787
1788         * gst/gstplugin.c:
1789         * gst/gstregistry.c:
1790           GstRegistryPool doesn't exist; don't refer to it in docs.
1791           Don't refer to functions that don't exist in docs, it's
1792           unhelpful.
1793
1794 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1795
1796         * gst/gst.c:
1797         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1798
1799 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1800
1801         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1802
1803         * docs/pwg/building-testapp.xml:
1804         Don't use an undeclared variable in the example program.
1805         Fixes bug #542573.
1806
1807 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1808
1809         * gst/gstdebugutils.c:
1810           Squeeze ghost-pad links and remove <> from classname labels to save
1811           more horizontal space.
1812
1813 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1814
1815         * gst/gstdebugutils.c:
1816           Give request and sometimes pads a different shpe style. Condense the
1817           graphs a little more.
1818
1819 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1820
1821         * configure.ac:
1822           Don't require flex and bison if the parser is disabled.
1823
1824 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1825
1826         * libs/gst/controller/gstinterpolationcontrolsource.c:
1827         (_list_find_sorted_custom):
1828         Don't use declarations after statements.
1829
1830 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1831
1832         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1833         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1834         of the the child-added / -removed signals as GstChildProxy
1835         only supports GstObjects.
1836
1837 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1838
1839         * gst/gstdebugutils.c:
1840         Fix memleak
1841
1842 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1843
1844         Patch by: Alessandro Decina <alessandro at nnva dot org>
1845
1846         * gst/gstpoll.c:
1847         Fix "ignored return value" compiler warning with newer glibc.
1848
1849 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1850
1851         * gst/gstchildproxy.c:
1852         Fix copy&paste error in gst_child_proxy_removed() documentation.
1853
1854 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1855
1856         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1857           Print error debug message if plugin description fields that should
1858           be set are NULL.
1859
1860         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1861           Don't crash if the string to serialise is NULL (it really should
1862           not be, but apparently this used to work with the xml registry ...).
1863
1864 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1865
1866         * tools/gst-plot-timeline.py:
1867         Fix parsing of log messages
1868
1869 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1870
1871         * win32/common/libgstbase.def::
1872           Sort alphabetically so make check-exports doesn't barf.
1873
1874 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
1875
1876         * gst/gstevent.c:
1877           Use gst_format_get_name() to improve debug output.
1878
1879         * gst/gstpreset.c:
1880           Remove #ifdef'ed code. Add TODO comment.
1881
1882         * gst/gstsegment.c:
1883           Add debug output to ease spotting format != segment.format assertions.
1884
1885 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1886
1887         * tests/check/libs/gdp.c: (gst_dp_suite):
1888         Also enable the GDP unit test again on PPC now that the bug
1889         is fixed.
1890
1891 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1892
1893         * libs/gst/dataprotocol/dataprotocol.c:
1894         Don't write to the same region of memory as a uint64 and uint16
1895         as this breaks strict aliasing rules and apparantly breaks on PPC
1896         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1897
1898 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1899
1900         * libs/gst/controller/gstinterpolationcontrolsource.c:
1901           Optimize list handling. Use own find function. Exploit that fact that
1902           the list is sorted. Also pass back the node before, so that we can
1903           insert quickly. Have a fast path for append.
1904
1905 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
1906
1907         * docs/design/draft-framestep.txt:
1908         * docs/design/part-negotiation.txt:
1909           Fix two typos.
1910
1911 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1912
1913         * configure.ac:
1914           Show configuration sumary after configure run. Based on patch by
1915           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1916
1917 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
1918
1919         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
1920
1921         * docs/manual/advanced-autoplugging.xml:
1922         * docs/manual/advanced-threads.xml:
1923         * docs/manual/basics-bins.xml:
1924         * docs/manual/basics-elements.xml:
1925         * docs/manual/basics-helloworld.xml:
1926         * docs/manual/basics-pads.xml:
1927           Add scale factor for pdf output.
1928
1929         * docs/manual/intro-basics.xml:
1930           Switched sections "pads" and "bins" and added a pipeline diagram.
1931
1932         * docs/manual/intro-gstreamer.xml:
1933           Added more info on gstreamer.
1934
1935         * docs/manual/intro-motivation.xml:
1936           Commented out the whole section "current problem", which sounds
1937           historical and somehow osolete; it could be turned in a positive
1938           way and reused to improve the design principles.
1939
1940         * docs/manual/intro-preface.xml:
1941           - Update URLs to library.gnome.org. 
1942           - Do not mention GTK+ in preliminary reading (irrelevant). 
1943           - Mention Plugin Writer's Manual and further reading only in the
1944             previous section.
1945           - Added a list of most relevant GObject/glib topics.
1946
1947         * docs/manual/Makefile.am:
1948         * docs/manual/bin-element-ghost.fig:
1949         * docs/manual/bin-element-ghost.png:
1950         * docs/manual/bin-element-noghost.fig:
1951         * docs/manual/bin-element-noghost.png:
1952         * docs/manual/bin-element.fig:
1953         * docs/manual/bin-element.png:
1954         * docs/manual/filter-element-multi.fig:
1955         * docs/manual/filter-element-multi.png:
1956         * docs/manual/filter-element.fig:
1957         * docs/manual/filter-element.png:
1958         * docs/manual/gstreamer-overview.png:
1959         * docs/manual/hello-world.fig:
1960         * docs/manual/hello-world.png:
1961         * docs/manual/linked-elements.fig:
1962         * docs/manual/linked-elements.png:
1963         * docs/manual/mime-world.fig:
1964         * docs/manual/mime-world.png:
1965         * docs/manual/queue.fig:
1966         * docs/manual/queue.png:
1967         * docs/manual/simple-player.png:
1968         * docs/manual/sink-element.fig:
1969         * docs/manual/sink-element.png:
1970         * docs/manual/src-element.fig:
1971         * docs/manual/src-element.png:
1972         * docs/manual/diagrams-general.svg:
1973         * docs/manual/diagrams-pipelines.svg:
1974           Removed .fig, added .png counterpart.
1975           
1976           Fixes: #539137
1977
1978 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
1979
1980         * plugins/elements/gstmultiqueue.c:
1981         * plugins/elements/gstmultiqueue.h:
1982         revert extra-size-buffers stuff, caused some race conditions
1983         and extra-size-buffers is not used anymore. Docs needs some updates
1984
1985 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1986
1987         * win32/common/config.h:
1988         * win32/common/gstenumtypes.c:
1989         * win32/common/gstenumtypes.h:
1990         * win32/common/gstversion.h:
1991           Update win32 files.
1992
1993 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
1994
1995         * gst/gstdebugutils.h: (GstDebugGraphDetails),
1996           (GST_DEBUG_BIN_TO_DOT_FILE):
1997           Add missing Since' markers to gtk-doc blurbs.
1998
1999 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2000
2001         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2002         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2003         (set_caps_1), (set_caps_ct1), (transform_ct1),
2004         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2005         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2006         (transform_size_ct2), (buffer_alloc_ct2):
2007         Add some more tests with switching caps in buffer_alloc.
2008
2009 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2010
2011         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2012         (gst_test_trans_class_init), (result_sink_chain),
2013         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2014         (gst_test_trans_push), (gst_test_trans_pop):
2015         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2016         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2017         (set_caps_1), (set_caps_ct1), (transform_ct1),
2018         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2019         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2020         (transform_size_ct2), (buffer_alloc_ct2),
2021         (gst_basetransform_suite):
2022         More tests, prepare for tests with switching caps in buffer_alloc.
2023
2024 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2025
2026         * plugins/elements/gstmultiqueue.c:
2027         * plugins/elements/gstmultiqueue.h:
2028         Fix dead-lock in underrun_cb
2029
2030 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2031
2032         * docs/design/part-states.txt:
2033         Fix device open/close docs.
2034
2035 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2036
2037         * ChangeLog:
2038           Mention bugnumber for last commit.
2039
2040 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2041
2042         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2043
2044         * docs/manual/manual.xml:
2045         - Reorganised the previous "introduction" bundle into Foreword,
2046         Introduction, and About GStreamer. The two first are <preface>
2047         docbook elements. The later is the first part of the book.
2048         - added intro-gstreamer.xml (content partially from
2049         intro-preface.xml)
2050         - moved appendix-win32.xml into appendix-integration.xml
2051
2052         * docs/manual/intro-preface.xml: gstreamer section moved...
2053         * docs/manual/intro-gstreamer.xml: ...here. new file.
2054
2055         * docs/manual/appendix-win32.xml: removed file. Content moved...
2056         * docs/manual/appendix-integration.xml: ...here.
2057         
2058         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2059         * docs/manual/appendix-checklist.xml: ...here.
2060         
2061         Fixes: 538764
2062
2063 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2064
2065         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2066
2067         * docs/manual/basics-helloworld.xml:
2068         * docs/manual/hello-world.fig:
2069           - Explicitely include glib.h.
2070           - Do not use global variables.
2071           - Use g_printerr() instead of g_print().
2072           - Minor formating/renaming to increase readibility.
2073           - Renamed new_pad() to on_pad_added()
2074           - Improved explenatory comments.
2075           - renamed ogg parser to ogg demuxer
2076           - Use "autoaudiosink" instead of "alsasink".
2077           Fixes: #538619
2078
2079 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2080
2081         * ChangeLog:
2082           Remove cvs conflict marker.
2083
2084 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2085
2086         * docs/README:
2087           Document that for plgin-docs we extraxt he short-desc from the element
2088           details.
2089
2090         * docs/design/part-states.txt:
2091           Tell that devices should be closed in PAUSED -> READY.
2092
2093         * docs/manual/README:
2094           Document how tests in the manual are handled.
2095
2096         * docs/manuals.mak:
2097           Typo in comment.
2098
2099 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2100
2101         * gst/gstbin.c: (bin_query_latency_fold):
2102         Only care about latency min and max when the sink is actually a live
2103         sink.
2104
2105 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2106
2107         * docs/design/part-block.txt:
2108         Fix typo.
2109
2110         * docs/design/part-element-transform.txt:
2111         Add notes about why transform needs to know input/output sizes.
2112         Add some issues that need to be solved.
2113         Add some more use cases.
2114
2115         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2116         (gst_test_trans_class_init), (result_sink_chain),
2117         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2118         (gst_test_trans_push), (gst_test_trans_pop):
2119         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2120         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2121         (set_caps_1), (set_caps_ct1), (transform_ct1),
2122         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2123         (gst_basetransform_suite):
2124         Add suport for different pad templates and buffer-alloc.
2125         Add more checks for caps and buffer-alloc.
2126         Add checks for proxy buffer alloc.
2127         Add unit test for copy transform.
2128
2129 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2130
2131         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2132
2133         * docs/manual/appendix-integration.xml:
2134         * docs/manual/appendix-licensing.xml:
2135         * docs/manual/basics-elements.xml:
2136         * docs/manual/basics-helloworld.xml:
2137         * docs/manual/basics-pads.xml:
2138         * docs/manual/highlevel-components.xml:
2139         * docs/manual/highlevel-xml.xml:
2140         * docs/manual/intro-basics.xml:
2141         * docs/manual/intro-preface.xml:
2142           Typo and formatting fixes (#538594).
2143
2144 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2145
2146         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2147         Fix some memory leaks and uses of object instances that we don't
2148         actually own.
2149
2150 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2151
2152         * plugins/elements/gstmultiqueue.c:
2153         Add functionality to extra-size-buffers property.
2154
2155 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2156
2157         * plugins/elements/gstmultiqueue.c:
2158         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2159         activate the pads if they are added in STATE_NULL.
2160
2161 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2162
2163         * docs/libs/gstreamer-libs-sections.txt:
2164         Add new API to doc
2165         * libs/gst/check/gstcheck.c:
2166         * libs/gst/check/gstcheck.h:
2167         API: gst_check_teardown_pad_by_name
2168
2169 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2170
2171         * libs/gst/check/gstcheck.c:
2172         * libs/gst/check/gstcheck.h:
2173         Also setup request pads and allow setup pads by name (#537812)
2174         API: gst_check_setup_src_pad_by_name
2175         API: gst_check_setup_sink_pad_by_name
2176
2177 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2178
2179         * tests/check/gst/gstbuffer.c:
2180         * tests/check/pipelines/parse-launch.c:
2181           Use HAVE_VALGRIND_H some more.
2182
2183 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2184
2185         * scripts/cvs-update.sh:
2186           Pass arguments to make.
2187           Run autoregen.sh if Makefile is not there.
2188
2189 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2190
2191         * configure.ac:
2192         * gst/gstinfo.c:
2193           Don't assume that <valgrind/valgrind.h> exists just because
2194           the binary is there.
2195
2196 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2197
2198         * tests/check/Makefile.am:
2199         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2200         (gst_test_trans_class_init), (gst_test_trans_init),
2201         (gst_test_trans_set_data), (result_sink_chain),
2202         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2203         (gst_test_trans_pop):
2204         * tests/check/libs/transform1.c: (GST_START_TEST),
2205         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2206         Add some test basetransform element and the beginnings of various
2207         unit tests for it.
2208
2209 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2210
2211         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2212         Increase code readability.
2213         Don't try to compare buffer offsets when ther are invalid.
2214
2215 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2216
2217         * docs/design/Makefile.am:
2218           Dist some more design docs.
2219
2220         * docs/random/moving-plugins:
2221           Small addition: good plugins mustn't have functional code
2222           within assertion macros.
2223
2224 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2225
2226         * docs/design/draft-framestep.txt:
2227         Some ideas about a framestep API
2228
2229         * docs/design/part-element-transform.txt:
2230         Start design and use cases for basetransform in order to get it
2231         fixed soon.
2232
2233 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2234
2235         * gst/gsttaglist.h:
2236           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2237           be in UTF-8 encoding.
2238
2239 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2240
2241         * gst/gstbus.c:
2242           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2243
2244 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2245
2246         * plugins/elements/gstcapsfilter.c:
2247         * plugins/elements/gstfakesink.c:
2248         * plugins/elements/gstfakesrc.c:
2249         * plugins/elements/gstfdsink.c:
2250         * plugins/elements/gstfdsrc.c:
2251         * plugins/elements/gstfilesink.c:
2252         * plugins/elements/gstfilesrc.c:
2253         * plugins/elements/gstidentity.c:
2254         * plugins/elements/gstmultiqueue.c:
2255         * plugins/elements/gstqueue.c:
2256         * plugins/elements/gsttee.c:
2257         * plugins/elements/gsttypefindelement.c:
2258           Remove short_description. Add basic docs for gsttypefindelement.
2259           Simplify markup for fakesrc/fdsrc.
2260
2261 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2262
2263         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2264         Added Since doc.
2265
2266 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2267
2268         Patch by: Joel Larsson <tilljoel at gmail dot com>
2269
2270         * docs/plugins/gstreamer-plugins.args:
2271         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2272         (gst_fd_src_init), (gst_fd_src_update_fd),
2273         (gst_fd_src_set_property), (gst_fd_src_get_property),
2274         (gst_fd_src_create):
2275         * plugins/elements/gstfdsrc.h:
2276         Add timeout property like udpsrc. Fixes #538628.
2277         Add some more docs and example pipelines.
2278
2279 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2280
2281         * docs/libs/gstreamer-libs-sections.txt:
2282         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2283         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2284         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2285         (gst_base_sink_do_sync):
2286         * libs/gst/base/gstbasesink.h:
2287         * win32/common/libgstbase.def:
2288         Add method to allow sinks to specify additional delay between the sync
2289         times and the actual rendering of the data.
2290         API: gst_base_sink_set_render_delay()
2291         API: gst_base_sink_get_render_delay()
2292
2293 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2294
2295         * configure.ac:
2296         Bump version number back to dev -> 0.10.20.1
2297
2298 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2299
2300         * docs/gst/gstreamer-sections.txt:
2301         * gst/gsttaglist.c: (_gst_tag_initialize):
2302         * gst/gsttaglist.h:
2303         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2304         Fixes bug #538568.
2305
2306 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2307
2308         * libs/gst/controller/gstcontroller.c:
2309           Revert one change, that make ret value possible uninitialized.
2310
2311 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2312
2313         * libs/gst/controller/gstcontroller.c:
2314           Use freeze/thaw notify to sync notify emission a bit (its also more
2315           efficient). Move debug output to LOG (is called a lot in a loop).
2316           Always unset g_values if the have been initialized.
2317
2318 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2319
2320         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2321         (gst_base_sink_wait_eos), (gst_base_sink_event):
2322         If we have not seen a buffer before EOS, use the segment values to
2323         report the current position instead of invalid positions.
2324
2325 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2326
2327         * docs/plugins/tmpl/.cvsignore:
2328         * tests/check/gst/.cvsignore:
2329           Ignore more.
2330
2331 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2332
2333         * libs/gst/controller/gstinterpolation.c:
2334         * libs/gst/controller/gstinterpolationcontrolsource.c:
2335         * tests/check/libs/controller.c:
2336           Rewrite handling of default values. Fix overflow with unsigned types
2337           in linear interpolation. Remove now obsolete _first_value() function.
2338           Add more tests. Fixes #538201.
2339
2340 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2341
2342         * libs/gst/base/gstbasetransform.c:
2343         (gst_base_transform_class_init), (gst_base_transform_init),
2344         (gst_base_transform_transform_caps),
2345         (gst_base_transform_prepare_output_buffer):
2346         Add debug info.
2347         When a buffer is writable, its metadata is also writable so we don't
2348         need to subbuffer (which then makes the buffer not-writable anymore).
2349
2350 === release 0.10.20 ===
2351
2352 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2353
2354         * configure.ac:
2355           releasing 0.10.20, "You Crazy Diamond"
2356
2357 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2358
2359         * configure.ac:
2360         0.10.19.3 pre-release
2361
2362 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2363
2364         * configure.ac:
2365         * gst/gstpreset.c:
2366         Rename DATADIR to GST_DATADIR to avoid build problems
2367         on win32. Patch By: David Schleef <ds@schleef.org>
2368         Fixes: #536857
2369
2370 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2371
2372         * configure.ac:
2373         Explicitely link with -ldl if dladdr() is found there. Before it was
2374         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2375         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2376
2377 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2378
2379         * gst/gsterror.c: (_gst_stream_errors_init):
2380           Fix typo (spotted by Fabricio Godoy, #536723).
2381
2382 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2383
2384         * configure.ac:
2385         0.10.19.2 pre-release
2386
2387 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2388
2389         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2390         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2391         Add some debug.
2392         Make sure we don't generate invalid QoS messages.
2393
2394 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2395
2396         * gst/gstevent.c: (gst_event_new_qos):
2397         Add some assert and docs for invalid input to the qos function.
2398
2399 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2400
2401         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2402         (gst_base_sink_get_position):
2403         The reported position must always be smaller than the last seen
2404         timestamps (or timestamp + duration for reverse).
2405
2406 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2407
2408         Patch by: Rob Bradford <rob at robster dot org dot uk>
2409
2410         * gst/gstregistry.c: (gst_registry_scan_path_level):
2411         Don't recurse into .debug directories as some distros install
2412         the debugging symbols next to the plugins in .debug directories
2413         and dlopen() crashes on them sometimes. Fixes bug #508070.
2414
2415         Add FIXME for 0.11 to not recurse into directories at all because
2416         it's very inconsistent to the behaviour of other PATH environment
2417         variables.
2418
2419 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2420
2421         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2422         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2423         Fix position query range checks in reverse playback.
2424
2425 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2426
2427         * gst/gstelement.c:
2428         * gst/gstelement.h:
2429         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2430         clear of the reference to the resulting pad must be released later
2431         or not, resulting in possible leaks. Fixes bug #533865.
2432
2433 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2434
2435         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2436
2437         * gst/gstelementfactory.c:
2438         Small doc fix. Fixes #535285.
2439
2440 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2441
2442         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2443
2444         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2445         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2446         (gst_base_src_loop), (gst_base_src_set_flushing),
2447         (gst_base_src_change_state):
2448         Make sending an EOS event to the basesrc non-blocking even if the
2449         implementation does blocking waits in the create function. This is done
2450         by unlocking the create function when EOS is sent.
2451         Fixes #535218.
2452
2453 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2454
2455         * tools/gst-inspect.c: (print_element_properties_info):
2456         If possible print the element type of GValueArray properties.
2457
2458 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2459
2460         * gst/gstiterator.c:
2461         Remove an unused field from the private GstListIterator struct.
2462
2463 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2464
2465         * libs/gst/controller/gstcontroller.c:
2466           Add parameter guards.
2467
2468 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2469
2470         * tests/check/gst/gstpipeline.c:
2471           Revert test change and add comment why it should not work.
2472
2473 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2474
2475         * tests/check/gst/gstpipeline.c:
2476           Extending the test a little to verify that we also get the NULL state-
2477           change message.
2478
2479 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2480
2481         * gst/gstpreset.c: (gst_preset_default_get_meta),
2482           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2483           (gst_preset_load_preset), (gst_preset_save_preset),
2484           (gst_preset_rename_preset), (gst_preset_delete_preset),
2485           (gst_preset_set_meta):
2486           Add Since: markers to docs blurbs.
2487
2488         * win32/common/libgstreamer.def:
2489           Add recently-added API.
2490
2491 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2492
2493         Patch by: Stefan Kost  <ensonic@users.sf.net>
2494
2495         * configure.ac:
2496         Add DATADIR for storing presets.
2497
2498         * docs/gst/gstreamer-docs.sgml:
2499         * docs/gst/gstreamer-sections.txt:
2500         * docs/gst/gstreamer.types.in:
2501         Add GstPreset to docs.
2502
2503         * gst/Makefile.am:
2504         * gst/gst.h:
2505         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2506         (preset_open_and_parse_header), (preset_parse_version),
2507         (preset_merge), (preset_get_keyfile),
2508         (gst_preset_default_get_preset_names),
2509         (gst_preset_default_get_property_names),
2510         (gst_preset_default_load_preset),
2511         (gst_preset_default_save_presets_file),
2512         (gst_preset_default_save_preset),
2513         (gst_preset_default_rename_preset),
2514         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2515         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2516         (gst_preset_default_reset), (gst_preset_get_preset_names),
2517         (gst_preset_get_property_names), (gst_preset_load_preset),
2518         (gst_preset_save_preset), (gst_preset_rename_preset),
2519         (gst_preset_delete_preset), (gst_preset_set_meta),
2520         (gst_preset_get_meta), (gst_preset_class_init),
2521         (gst_preset_base_init), (gst_preset_get_type):
2522         * gst/gstpreset.h:
2523         Add GstPreset to core. Fixes #396779
2524
2525         * tests/check/Makefile.am:
2526         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2527         (gst_preset_test_set_property), (gst_preset_test_class_init),
2528         (gst_preset_test_base_init), (gst_preset_test_get_type),
2529         (gst_preset_test_plugin_init), (GST_START_TEST),
2530         (remove_preset_file), (test_setup), (test_teardown),
2531         (gst_preset_suite):
2532         Add GstPreset unit tests.
2533
2534 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2535
2536         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2537         The default event function on a sinkpad should return TRUE when
2538         there are no internal links but should collect the return values from
2539         the internal links otherwise.
2540
2541 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2542
2543         * plugins/elements/gsttypefindelement.c:
2544         (gst_type_find_element_src_event),
2545         (gst_type_find_element_handle_event):
2546         Use faster and safer _pad_push_event().
2547
2548 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2549
2550         * docs/gst/gstreamer-sections.txt:
2551         * gst/gstutils.c: (element_find_unlinked_pad),
2552           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2553         * gst/gstutils.h:
2554           API: add gst_bin_find_unlinked_pad()
2555           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2556
2557 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2558
2559         * gst/gstclock.c:
2560         * gst/gstclock.h:
2561         * gst/gsttask.c:
2562         * gst/gsttask.h:
2563         Fixed a bunch of typos.
2564
2565 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2566
2567         * gst/gstpad.h:
2568         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2569           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2570           (gst_parse_bin_from_description_full):
2571         * gst/gstutils.h:
2572           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2573
2574 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2575
2576         * docs/pwg/advanced-tagging.xml:
2577           Small docs update, can't be bothered to rewrite the nonsensical
2578           examples right now.
2579
2580 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2581
2582         * gst/gstevent.h:
2583           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2584
2585 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2586
2587         * gst/parse/grammar.y:
2588           Remove unneeded casts.
2589
2590 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2591
2592         * gst/parse/grammar.y:
2593         * tests/check/pipelines/parse-launch.c:
2594           Get all missing elements from a parse launch string if possible
2595           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2596
2597 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2598
2599         * tests/check/Makefile.am:
2600         * tests/check/pipelines/parse-launch.c:
2601           Add some unit tests for the new gst_parse_launch*_full() API.
2602           (Exposes a previously-existing memory leak in the error code
2603           path, so adding to VALGRIND_TO_FIX for now).
2604
2605 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2606
2607         * docs/gst/gstreamer-sections.txt:
2608         * gst/gst.c: (init_post):
2609         * gst/gst_private.h: (_GstParseContext):
2610         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2611           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2612           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2613           (gst_parse_launch_full):
2614         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2615           (GstParseFlags), (GstParseContext):
2616         * gst/gstutils.c: (gst_parse_bin_from_description),
2617           (gst_parse_bin_from_description_full):
2618         * gst/gstutils.h:
2619         * gst/parse/grammar.y:
2620         * gst/parse/types.h:
2621         * win32/common/libgstreamer.def:
2622           Add new gst_parse_*_full API (#528178):
2623           API: gst_parse_launch_full()
2624           API: gst_parse_launchv_full()
2625           API: gst_parse_bin_from_description_full()
2626           API: gst_parse_context_new()
2627           API: gst_parse_context_free()
2628           API: gst_parse_context_get_missing_elements()
2629
2630 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2631
2632         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2633
2634         * docs/faq/gst-uninstalled:
2635           Also support ffmpeg in gst-uninstalled.
2636
2637 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2638
2639         * configure.ac:
2640         After discussion on IRC use the binary registry as default
2641         but allow to disable it with --disable-binary-registry.
2642
2643         * win32/common/libgstreamer.def:
2644         Add the two new symbols for the binary registry.
2645
2646 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2647
2648         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2649         * gst/gstutils.c: (gst_parse_bin_from_description):
2650         * gst/parse/grammar.y: (graph):
2651           More guards against bad input; typo fix; some minor clean-ups.
2652
2653 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2654
2655         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2656
2657         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2658         If nothing else can be used, use the last buffer's start time as
2659         the segment's last stop. Fixes bug #534258.
2660
2661 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2662
2663         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2664           Move size sanity check to the right place: downstream may return
2665           a buffer with a smaller size if the buffer caps are different than
2666           the requested ones, as may happen when doing reverse negotiation.
2667
2668 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2669
2670         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2671         (gst_file_sink_render):
2672         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2673         (gst_file_src_start):
2674         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2675         use it yet.
2676
2677 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2678
2679         * gst/gstpad.c: (gst_pad_load_and_link):
2680         * gst/gstutils.c: (gst_element_link_pads),
2681         (gst_element_unlink_pads):
2682         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2683         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2684         (gst_check_teardown_sink_pad),
2685         (gst_check_element_push_buffer_list):
2686         * tests/check/elements/fakesink.c: (GST_START_TEST):
2687         * tests/check/elements/filesink.c:
2688         * tests/check/elements/filesrc.c: (GST_START_TEST):
2689         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2690         (mq_sinkpad_to_srcpad):
2691         * tests/check/elements/tee.c: (GST_START_TEST):
2692         * tests/check/generic/sinks.c: (GST_START_TEST):
2693         * tests/check/gst/gstbin.c: (GST_START_TEST):
2694         * tests/check/gst/gstevent.c: (GST_START_TEST):
2695         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2696         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2697         * tests/check/gst/gstquery.c: (GST_START_TEST):
2698         * tests/check/gst/gstutils.c: (GST_START_TEST):
2699         * tests/check/libs/basesrc.c: (GST_START_TEST):
2700         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2701         (gst_parse_test_element_change_state):
2702         Don't use gst_element_get_pad().
2703
2704 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2705
2706         * docs/Makefile.am:
2707         Fix installing plugin documentation when gtk-doc is disabled.
2708
2709 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2710
2711         * docs/manual/advanced-autoplugging.xml:
2712         * docs/manual/basics-helloworld.xml:
2713         * docs/manual/basics-pads.xml:
2714         * docs/manual/highlevel-components.xml:
2715         Avoid using a bad function in the example code.
2716
2717 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2718
2719         * gst/gstclock.c: (gst_clock_set_calibration):
2720         Fix debug of the new clock rate.
2721
2722 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2723
2724         * win32/common/libgstbase.def:
2725         Add gst_base_sink_wait_clock() to the exported symbols.
2726
2727 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2728
2729         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2730
2731         * libs/gst/base/gstbasetransform.c:
2732         (gst_base_transform_sink_event):
2733         Unref events that the GstBaseTransform::event vfunc didn't want to
2734         have forwarded by the base class. Closes a leak in identity.
2735         Fixes bug #446763.
2736
2737 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2738
2739         * docs/libs/gstreamer-libs-sections.txt:
2740         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2741         * libs/gst/base/gstbasesink.h:
2742         Expose a method that was previously used internally to synchronize
2743         against the clock because it can be useful for subclasses too.
2744         API: GstBaseSink::gst_base_sink_wait_clock()
2745
2746 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2747
2748         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2749           Add sanity check to make sure we don't get smaller buffers
2750           than requested (and fallback to normal buffer alloc if we do).
2751
2752 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2753
2754         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2755         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2756         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2757         Refactor adjusting the running_time with latency and offset into a
2758         separate method.
2759         When doing clipping, we still want to use the subclass get_times method,
2760         just in case the DURATION or TIMESTAMP are not set.
2761
2762 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2763
2764         * docs/gst/gstreamer-sections.txt:
2765         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2766         * gst/gsttypefind.h:
2767         * win32/common/libgstreamer.def:
2768           API: add gst_type_find_suggest_simple(), #533740.
2769
2770 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2771
2772         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2773           Use right error code when typefinding fails, so we can use
2774           the default (translated) error messages.
2775
2776 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2777
2778         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2779         (gst_base_src_start):
2780         When the subclass did not set caps on outgoing buffers, configure the
2781         caps we negotiated on the source pad.
2782         When the typefind helper does not find caps, error out properly instead
2783         of doing things with NULL caps.
2784
2785 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2786
2787         * gst/gsttypefind.h:
2788           Tabs to spaces, oh yes!
2789
2790 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2791
2792         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2793           Add David's and Benjamin's tests for array intersection to the
2794           unit test suite (#147931).
2795
2796 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2797
2798         * gst/gstevent.c:
2799           Document that gst_event_new_tag() and gst_event_new_navigation()
2800           take ownership of the taglist/structure passed to them. (#533635).
2801
2802 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2803
2804         * docs/Makefile.am:
2805         Don't descend into the plugins dir if plugin docs building
2806         is disabled.
2807
2808         * docs/README:
2809         Add a note about the new type:GTypeName syntax for the plugin
2810         documentation .types file.
2811
2812 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2813
2814         * gst/gstmessage.c: (gst_message_new_error),
2815         (gst_message_new_warning), (gst_message_new_info):
2816         * gst/gstmessage.h:
2817         Mark the debug string parameters as const. Fixes bug #533490.
2818
2819 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2820
2821         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2822         Sort buffer cache list by end offsets. This makes sure that we don't
2823         stop to search for a cached buffer that contains the requested data
2824         too early.
2825         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2826         more efficient. Fixes bug #459862.
2827
2828 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2829
2830         * gst/gstinfo.c:
2831           Explain why we copy the list.
2832
2833         * gst/gstpipeline.c:
2834           Improve docs.
2835
2836         * gst/gstutils.c:
2837           Add one debug-log statement to help tracing probelms with linking pads.
2838
2839 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2840
2841         * tests/check/gst/gstinfo.c:
2842         Add a test for removing the default log handler. Seems to fail under
2843         windows.
2844
2845 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2846
2847         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2848         Release pad lock before calling out to avoid a possible deadlock.
2849
2850 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2851
2852         * gst/parse/grammar.y:
2853         Remove unneeded value unset.
2854
2855         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2856         Add unit test for de/serialization of caps.
2857
2858 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2859
2860         * plugins/elements/gstfakesink.c:
2861         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2862         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2863         (gst_fake_src_class_init):
2864         Use custom marshalers that take GstMiniObject as first parameter.
2865         Using OBJECT as parameter while a GstMiniObject is given will lead
2866         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2867
2868 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2869
2870         * plugins/elements/gsttypefindelement.c:
2871         (gst_type_find_element_handle_event),
2872         (gst_type_find_element_send_cached_events),
2873         (gst_type_find_element_change_state):
2874         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2875         immediately.
2876
2877 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2878
2879         * plugins/elements/gsttypefindelement.c:
2880         (gst_type_find_handle_src_query), (stop_typefinding),
2881         (gst_type_find_element_handle_event),
2882         (gst_type_find_element_send_cached_events),
2883         (gst_type_find_element_change_state):
2884         Forward FLUSH_START events immediately and clean up instead of
2885         caching them.
2886
2887 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2888
2889         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2890
2891         * libs/gst/base/gstbasetransform.c:
2892         (gst_base_transform_buffer_alloc):
2893         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2894         fall back to default negotiation in the chain function if the caps
2895         are different from what was requested. Fixes bug #526768.
2896
2897 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2898
2899         * gst/gstsegment.c:
2900         * tests/check/gst/gstsegment.c:
2901           No, let's not use g_slice_{dup|copy} here, since they only exist
2902           since GLib 2.14 and we still depend only on >= 2.12. Also add
2903           unit test for gst_segment_copy().
2904
2905 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
2906
2907         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2908           Try to fix 'dereferencing type-punned pointer will break strict
2909           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2910           changed the default GType typedef from gulong to gsize at some point,
2911           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2912           g_once_* functions all take a gsize * though, so work around the type
2913           mismatch for C++ by doing everything in gsize and casting to GType
2914           later.
2915
2916 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
2917
2918         * plugins/elements/gstmultiqueue.c:
2919         Add documentation for the signals to push our core plugin docs
2920         coverage back up to 100%.
2921
2922 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2923
2924         * gst/gstinfo.h (GST_FUNCTION):
2925           Reverted GST_FUNCTION to the old version as we don't want the
2926           full signature in C++ code. Also added support for MSVC.
2927
2928 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2929
2930         * gst/gstutils.h:
2931         Intern the type name string, similar to what G_DEFINE_TYPE does.
2932
2933 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2934
2935         * gst/gstutils.h:
2936         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2937
2938 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
2939
2940         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2941
2942         * libs/gst/base/gstbasetransform.c:
2943         (gst_base_transform_buffer_alloc):
2944         Don't passthrough buffer allocation too easily if the caps change.
2945         This breaks when working in passthrough mode and upstream changes
2946         it's caps. Fixes bug #526768.
2947
2948 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2949
2950         * gst/gstinfo.c (gst_debug_log_valist):
2951           Improved the __FILE__ part of debug output for MSVC.
2952
2953 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2954
2955         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2956           Declaration after statement fix for compilers like MSVC.
2957
2958 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2959
2960         * win32/common/config.h.in:
2961           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2962           use the real thing than having "???" unconditionally.
2963
2964 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
2965
2966         * gst/gstinfo.h (GST_FUNCTION):
2967           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2968
2969 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2970
2971         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2972         Small code cleanup.
2973
2974         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2975         (gst_base_sink_set_flushing):
2976         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2977         Fix some comments.
2978
2979 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2980
2981         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2982         (gst_fake_src_init), (gst_fake_src_set_property),
2983         (gst_fake_src_get_property), (gst_fake_src_start):
2984         * plugins/elements/gstfakesrc.h:
2985         Added format property to control the format of the newsegment events.
2986         API: GstFakeSrc:format
2987
2988 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2989
2990         * win32/common/libgstreamer.def:
2991         Add gst_pad_has_name() to the exported symbols.
2992
2993 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
2994
2995         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2996         * libs/gst/base/gstbasetransform.c:
2997         (gst_base_transform_prepare_output_buffer):
2998         Don't allow negative sizes when allocating new buffers.
2999         Fixes bug #461253.
3000
3001 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3002
3003         Patch by: Sjoerd Simons <sjoerd at luon net>
3004
3005         * gst/gstbus.c: (gst_bus_source_dispatch):
3006           Don't print a warning if the queue is empty when we try to pop
3007           here. That could happen if another thread or callback set the
3008           bus to flushing between the source's check/prepare and the
3009           dispatch being called (#531538).
3010
3011 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3012
3013         * plugins/elements/gstmultiqueue.c:
3014           Small docs fix.
3015         
3016 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3017
3018         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3019         Add unit test for deserializing uint64s and check some really large
3020         numbers in the int64 test.
3021
3022 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3023
3024         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3025         (print_interfaces), (print_element_properties_info),
3026         (print_signal_info):
3027         Use "%s" as format string instead of printing strings directly.
3028
3029 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3030
3031         * gst/gstclock.c: (gst_clock_set_calibration):
3032         Make some checks actually useful.
3033
3034         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3035         Remove some unused code. Unsigned integers tend to be >= 0.
3036
3037 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3038
3039         * gst/gstminiobject.c: (gst_value_get_mini_object):
3040           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3041           function was not in the unscheduled 0.10.19 release.
3042
3043 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3044
3045         * gst/gstregistry.c: (gst_registry_scan_path_level):
3046           Only print one log message per non-plugin file.
3047
3048 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3049
3050         * gst/gstinfo.c: (gst_debug_log_default):
3051           Fix alignment of debug log columns on 64-bit.
3052
3053 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3054
3055         * docs/libs/Makefile.am:
3056         * docs/libs/gstreamer-libs-sections.txt:
3057           Ignore private controller headers for docs.
3058
3059 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3060
3061         * libs/gst/controller/gstcontrollerprivate.h:
3062         * libs/gst/controller/gsthelper.c:
3063         * libs/gst/controller/gstinterpolation.c:
3064         * libs/gst/controller/gstinterpolationcontrolsource.c:
3065         (gst_interpolation_control_source_set_interpolation_mode):
3066         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3067         * libs/gst/controller/lib.c:
3068         Move some private declarations into private headers.
3069
3070 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3071
3072         * gst/gstdebugutils.c: (debug_dump_element_pad):
3073         Remove some code that is unused after Stefan's refactoring and uses
3074         uninitialized variables now, resulting in a compiler warning.
3075
3076 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3077
3078         * gst/gstregistry.c: (gst_registry_scan_path_level):
3079           Run g_str_has_suffix() only on the file name, not the
3080           entire file path.
3081
3082 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3083
3084         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3085           Since we're not called only from the chain function any longer,
3086           we can't assume that there's always data in the queue, so move
3087           the is_full check to the beginning of the loop (otherwise we'd
3088           hit the assert when changing the limit properties while the
3089           queue is empty or not running yet).
3090           Also, only set a discont if items were actually removed from
3091           the queue.
3092
3093         * tests/check/elements/queue.c: (test_leaky_downstream):
3094           Test case for the above.
3095
3096 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3097
3098         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3099
3100         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3101         (gst_queue_chain), (queue_capacity_change),
3102         (gst_queue_set_property):
3103         When changing thr max capacity of a leaky queue, immediatly drop buffers
3104         instead of waiting for a push on the sinkpad. Fixes #530637.
3105
3106 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3107
3108         * gst/gstdebugutils.c:
3109           Refactor code and fix handling of ghostpads and their proxypads.
3110
3111 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3112
3113         * docs/gst/gstreamer-sections.txt:
3114         * gst/gstevent.c: (gst_event_has_name):
3115         * gst/gstevent.h:
3116         * tests/check/gst/gstevent.c: (GST_START_TEST):
3117         Add method to conveniently check the name of a custom event with
3118         gst_event_has_name().
3119         Reformat the event docs so that related methods are put together instead
3120         of the default alphabetical sort.
3121         Update unit test with new method.
3122         API: GstEvent::gst_event_has_name()
3123
3124 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3125
3126         * libs/gst/check/Makefile.am:
3127           Don't add an explicit link to libgstreamer-0.10.la; it's already
3128           included in GST_OBJ_LIBS.
3129
3130 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3131
3132         * gst/gst.c:
3133         Register GstClock type from a type-safe context. Fixes bug #530317.
3134
3135 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3136
3137         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3138         * tools/gst-run.c:
3139           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3140
3141 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3142
3143         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3144         (gst_bin_dispose):
3145         Use the GLib stuff to create a private structure.
3146         Add some locking around some dispose methods to make them a little
3147         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3148
3149 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3150
3151         * libs/gst/base/gstbasesink.h:
3152         * libs/gst/base/gstbasesrc.h:
3153         * libs/gst/base/gstbasetransform.h:
3154         * libs/gst/base/gstcollectpads.h:
3155           Fix doc typos and unify caps a bit.
3156
3157 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3158
3159         * tools/gst-launch.1.in:
3160           Forgot to also add the envvar docs here.
3161
3162 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3163
3164         * gst/gst.c: (init_post), (gst_deinit):
3165         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3166           (test_concurrent_create), (gst_pipeline_suite):
3167           Ref some more classes in gst_init() to work around thread-safety
3168           issues in pre-2.16 GLibs, and add basic unit test.
3169
3170 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3171
3172         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3173         (gst_base_sink_send_event):
3174         Rearrange the latency query code. We always want to do the upstream
3175         query, even if we are not live so that the upstream elements can get the
3176         latency results too. If we fail doing the query and we are live, we
3177         return TRUE afterwards.
3178
3179 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3180
3181         patch by: Jason Zhao <e3423c@motorola.com>
3182
3183         * docs/gst/running.xml:
3184         * gst/gst.c:
3185           Enable/disable scan_and_update_registry() based on commandline switch
3186           or environment variable. Fixes #520468.
3187           
3188         * ChangeLog:
3189           Fix typo in my previous commit.
3190
3191 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3192
3193         * gst/gstregistrybinary.c:
3194           Add a warning if we hit unhandled factories when saving.
3195           More debug logging detail, but move to LOG category.
3196
3197 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3198
3199         * gst/gstregistry.c:
3200           Tell the *truth* when improving the documentation.
3201
3202 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3203
3204         * gst/gstelementfactory.c: (gst_element_factory_make):
3205         Unref the factory after it was used the last time, not before.
3206
3207         * gst/gstindexfactory.c: (gst_index_factory_make):
3208         Improve debugging a bit and don't leak a ref to the index factory with
3209         each call.
3210
3211 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3212
3213         * gst/gstregistry.c:
3214           Improve the documentation.
3215
3216 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3217
3218         * gst/gstsegment.c:
3219           The glib macro seems to be borked. Use g_slice_copy directly and cast
3220           in the hope that this fixes the warning on 64bit.
3221
3222 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3223
3224         * gst/gstsegment.c:
3225           Document the new function. Use g_slice_dup() (no need for
3226           gst_segment_init()).    
3227
3228 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3229
3230         * docs/gst/gstreamer-sections.txt:
3231           Move GParamSepc macros to standart section.
3232   
3233         * gst/gstbin.c:
3234           Dn't document _get_type - its in private section in docs anyway and
3235           this doc-blob was incomplete.
3236
3237         * gst/gstclock.h:
3238           Fix wrong symbol names in docs.
3239
3240         * gst/gstmacros.h:
3241           Add once doc sentence.
3242
3243         * tests/check/gst/.cvsignore:
3244           Ignore more.
3245
3246 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3247
3248         * docs/gst/Makefile.am:
3249           And remove those libs here.
3250
3251 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3252
3253         * docs/libs/Makefile.am:
3254           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3255
3256 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3257
3258         Patch by: Olivier Crete <tester at tester dot ca>
3259
3260         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3261         Add the min-threshold to the min latency if possible. Fixes #529148.
3262
3263 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3264
3265         * docs/gst/gstreamer.types.in:
3266           Stupid editor, I removed that line as it should go in yet.
3267
3268 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3269
3270         * docs/gst/gstreamer.types.in:
3271         * docs/libs/gstreamer-libs.types:
3272           Remove library types fro core docs and have them in libs docs.
3273           Reformat and cleanup. Add comment for miniobject types.
3274
3275 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3276
3277         * gst/gsturi.c: (gst_uri_get_protocol):
3278           Fix leak: g_strdown operates on the string in place, while
3279           g_ascii_strdown() returns a newly-allocated string.
3280
3281 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3282
3283         * tools/gst-inspect.c: (print_uri_handler_info),
3284         (print_element_info):
3285         Print the URI protocols and the URI type supported by the element.
3286
3287 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3288
3289         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3290         Use g_value_take_string() instead of the deprecated
3291         g_value_set_string_take_ownership().
3292
3293 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3294
3295         * gst/gstregistrybinary.c: (_gst_crc32):
3296         Return the old CRC instead of 0 if we give a NULL buffer
3297         or a buffer with a length of 0.
3298
3299 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3300
3301         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3302         (gst_uri_get_protocol), (gst_uri_has_protocol),
3303         (gst_uri_construct), (gst_uri_handler_set_uri):
3304         A valid URI scheme can also include '+', '-' and '.' additional
3305         to alphanumeric characters as per RFC 3986 Section 3.1.
3306
3307         Handle URI schemes case insensitive in all places and convert
3308         to lower-case when constructing an URI or setting an URI with
3309         the GstURIHandler interface. Fixes bug #528868.
3310         All elements can still assume (as before) that they will
3311         get passed URIs with a lower-case URI scheme by the GstURIHandler
3312         interface.
3313
3314 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3315
3316         * gst/gstcaps.c: (gst_static_caps_get):
3317         * gst/gstclock.c: (gst_clock_entry_new):
3318           Don't use g_atomic_set_int where it's not needed.
3319
3320 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3321
3322         * gst/gstvalue.c: (gst_value_deserialize_caps):
3323         * gst/parse/grammar.y:
3324         Fix 2 caps leaks.
3325
3326 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3327
3328         * gst/gstutils.c: (gst_atomic_int_set):
3329         Use g_atomic_int_set() here too instead of assignment +
3330         g_atomic_int_get().
3331
3332 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3333         
3334         * gst/gstutils.c:
3335         * gst/gstutils.h:
3336         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3337         now that we depend on new enough GLib.
3338
3339         * gst/gstcaps.c: (gst_static_caps_get):
3340         * gst/gstclock.c: (gst_clock_entry_new):
3341         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3342         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3343         (gst_debug_category_set_threshold):
3344         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3345         (gst_base_sink_set_qos_enabled):
3346         * libs/gst/net/gstnettimeprovider.c:
3347         (gst_net_time_provider_set_property):
3348         Use g_atomic_int_set() instead of gst_atomic_int_set().
3349
3350 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3351
3352         * gst/gstquery.c:
3353           Also use G_GINT64_CONSTANT for the queries.
3354
3355 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3356
3357         * gst/gstmessage.c:
3358           Use G_GINT64_CONSTANT in varargs function.
3359
3360 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3361
3362         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3363         Initialize the registry magic with zeroes.
3364
3365 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3366
3367         * gst/gstregistrybinary.c: (_gst_crc32),
3368         (gst_registry_binary_write),
3369         (gst_registry_binary_initialize_magic),
3370         (gst_registry_binary_write_cache),
3371         (gst_registry_binary_check_magic),
3372         (gst_registry_binary_read_cache):
3373         * gst/gstregistrybinary.h:
3374         Add crc32 checksum to the binary registry file and check this before
3375         accepting a registry file.
3376
3377         Also free the data list when writing to the registry file fails.
3378
3379 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3380
3381         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3382         (gst_registry_binary_load_feature),
3383         (gst_registry_binary_load_plugin):
3384         If an element supports the Uri interface, returns a valid pointer
3385         to the supported URI protocols but this pointer contains nothing
3386         don't try to save that as it will corrupt the registry.
3387
3388         Don't unref the plugin if we added it to the registry already but
3389         fail to load a feature as gst_registry_add_plugin() takes ownership
3390         of the plugin.
3391
3392         Improve debugging a bit.
3393
3394 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3395
3396         * gst/gsttaglist.h:
3397           Clarify some tag item docs after discussion on irc.
3398
3399 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3400
3401         * docs/gst/gstreamer-docs.sgml:
3402           Remove commented out plugins (they have their own docs). Update
3403           comments.
3404
3405 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * docs/gst/gstreamer-docs.sgml:
3408         * docs/gst/gstreamer-sections.txt:
3409         * gst/gstparamspecs.c:
3410         * gst/gstparamspecs.h:
3411           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3412           docs to own section.
3413
3414         * gst/gstvalue.c:
3415           This now only documents GValue.
3416           
3417         * docs/libs/gstreamer-libs-sections.txt:
3418         * libs/gst/controller/gstcontroller.h:
3419           Remove GST_PARAM_CONTROLLABLE.
3420
3421 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3422
3423         * docs/README:
3424           Correct file path. Tell about how to use -overrides.txt.
3425         * docs/design/draft-tagreading.txt:
3426           Small design update.
3427
3428 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3429
3430         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3431         (gst_registry_binary_load_plugin):
3432         Fix a typo in a debug message and revert change from yesterday as
3433         gst_registry_add_plugin() will only fail if something is really wrong
3434         already and we can't survive it anyway.
3435
3436 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3437
3438         * gst/gst.c: (init_post), (gst_deinit):
3439           Pre-register GstGError GType from a thread-safe context
3440           (fixes #527967); unref enum type classes in deinit.
3441
3442 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3443
3444         Patch by: Rene Stadler <mail at renestadler de>
3445
3446         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3447           Merging an empty list with another list in KEEP_ALL mode should
3448           yield an empty list as result and not the second list (#512578).
3449
3450         * tests/check/gst/gsttagsetter.c:
3451           Add unit test for tag merge modes and the aforementioned bug.
3452
3453 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3454
3455         Patch by: Rene Stadler <mail at renestadler de>
3456
3457         * gst/gsttaglist.h:
3458           Fix description to match the order in the table (#512577).
3459   
3460 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3461
3462         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3463
3464         * libs/gst/net/gstnettimepacket.h:
3465         * docs/libs/gstreamer-libs-sections.txt:
3466           Define socklen_t as int if it's not defined yet. Fixes compilation
3467           with MSVC6 and other versions where socklen_t is not defined in
3468           the windows headers (#518022).
3469
3470 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3471
3472         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3473         If gst_registry_add_plugin() fails our reference to the plugin is
3474         invalid so don't try to use it anymore and instead error out.
3475
3476 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3477
3478         * tools/gst-xmlinspect.c: (print_element_info), (main):
3479           De-cruft a bit. If no argument is specified, print all elements in
3480           XML syntax rather than a freestyle list of elements like gst-inspect.
3481           Also, don't print XML header chunk unless we actually have something
3482           to print (ie. don't print it before an error message); print error
3483           message to stderr not stdout. Remove support for printing plugin
3484           info (it would just output something freestyle along the lines of
3485           gst-inspect so far), which fixes #514507. Also add license header.
3486
3487 2008-04-11  Julien Moutte  <julien@fluendo.com>
3488
3489         Mac OS X love...
3490         * configure.ac: Merge platform specific defines, introduce a new
3491         define on OS X to remember that forking when updating registry is
3492         unsafe.
3493         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3494         module.
3495         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3496         is defined.
3497         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3498         condition that leads to absolutely no plugins being registered on
3499         OS X.
3500
3501 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3502
3503         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3504
3505         * gst/gstutils.c: (gst_pad_add_data_probe),
3506           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3507           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3508           (gst_pad_add_buffer_probe_full):
3509         * gst/gstutils.h:
3510         * docs/gst/gstreamer-sections.txt:
3511         * win32/common/libgstreamer.def:
3512           Add gst_pad_add_*_probe_full() functions with a notify callback that
3513           lets the caller free the data it passes to the probe functions. This
3514           is useful for bindings such as gst-python or gstreamermm (#526814).
3515           API: gst_pad_add_data_probe_full
3516           API: gst_pad_add_buffer_probe_full
3517           API: gst_pad_add_event_probe_full
3518
3519         * tests/check/gst/gstutils.c:
3520           Add minimal unit test to make sure freeing the data actually works
3521           as expected.
3522
3523         * tests/benchmarks/.cvsignore:
3524           Random cvsignore addendum.
3525
3526 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3527
3528         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3529           (GST_DEBUG_BIN_TO_DOT_FILE):
3530           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3531           to it in the docs (since these are macros the types of the arguments
3532           won't be shown in the docs otherwise).
3533
3534 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3535
3536         * gst/gstpad.c:
3537           Do not abort on out of memory for pad_alloc_buffer.
3538
3539 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3540
3541         * libs/gst/check/gstcheck.c:
3542           Remove blank line between symbol name ad parameters to fix gtkdoc
3543           warning.
3544
3545 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3546
3547         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3548
3549         * docs/gst/gstreamer-sections.txt:
3550         * gst/gstsegment.c:
3551         * gst/gstsegment.h:
3552         * win32/common/libgstreamer.def:
3553           Expose gst_segment_copy() to make things easier for the c++ bindings.
3554           Fixes #518932.
3555           API: gst_segment_copy()
3556
3557 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3558
3559         * gst/gst.c: (gst_init_get_option_group), (init_post):
3560           Fix const position; ref GType classes for enum types to work
3561           around thread-safety issues in GLib versions < 2.16.
3562
3563 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3564
3565         * docs/design/part-buffering.txt:
3566         Fix some typos and set the estimated total for push mode to -1.
3567
3568         * gst/gstquery.c: (gst_query_new_buffering):
3569         Set buffering-left to 0 as we're not buffering by default.
3570
3571         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3572         Implement BUFFERING query.
3573
3574 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3575
3576         Based on patch by: Milosz Derezynski <internalerror gmail com>
3577
3578         * gst/gsterror.c: (_gst_stream_errors_init):
3579         * gst/gsterror.h:
3580           Add two new error codes for encrypted content. Fixes #524659.
3581           API: GST_STREAM_ERROR_DECRYPT
3582           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3583
3584 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3585
3586         * gst/gstquery.h:
3587           Fix typo.
3588
3589         * win32/common/libgstreamer.def:
3590           Add new functions.
3591
3592 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3593
3594         * plugins/elements/gstidentity.c: (gst_identity_event),
3595         (gst_identity_start):
3596         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3597         event after processing some data. Fixes bug #526042.
3598
3599 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3600
3601         * docs/gst/gstreamer-sections.txt:
3602         * gst/gstquery.c: (gst_query_parse_latency),
3603         (gst_query_set_buffering_percent),
3604         (gst_query_parse_buffering_percent),
3605         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3606         * gst/gstquery.h:
3607         Rename _avail -> _range
3608         API: gst_query_set_buffering_range
3609         API: gst_query_parse_buffering_range
3610
3611 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3612
3613         * docs/design/part-buffering.txt:
3614         * gst/gstquark.c:
3615         * gst/gstquark.h:
3616         * gst/gstquery.c: (gst_query_parse_latency),
3617         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3618         (gst_query_parse_buffering_percent):
3619         * gst/gstquery.h:
3620         Add busy field and quark for the buffering query so that the app can
3621         only use the query to see if buffering is in progress.
3622
3623 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3624
3625         * docs/gst/gstreamer-sections.txt:
3626         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3627         (gst_message_parse_buffering_stats):
3628         * gst/gstmessage.h:
3629         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3630         (gst_query_parse_latency), (gst_query_new_buffering),
3631         (gst_query_set_buffering_percent),
3632         (gst_query_parse_buffering_percent),
3633         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3634         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3635         * gst/gstquery.h:
3636         Reorder the message docs and headers for clarity.
3637         Add aditional buffering stats API for messages.
3638         Add buffering query.
3639         Convert some leftover queries to use GstQuark.
3640         API: gst_message_set_buffering_stats
3641         API: gst_message_parse_buffering_stats
3642         API: GST_QUERY_BUFFERING
3643         API: GstBufferingMode
3644         API: gst_query_new_buffering
3645         API: gst_query_set_buffering_percent
3646         API: gst_query_parse_buffering_percent
3647         API: gst_query_set_buffering_stats
3648         API: gst_query_parse_buffering_stats
3649
3650 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3651
3652         * gst/gstmessage.c: (gst_message_new_error),
3653         (gst_message_new_warning), (gst_message_new_info),
3654         (gst_message_new_buffering), (gst_message_new_state_changed),
3655         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3656         (gst_message_new_new_clock), (gst_message_new_segment_start),
3657         (gst_message_new_segment_done), (gst_message_new_duration),
3658         (gst_message_new_async_start), (gst_message_parse_buffering),
3659         (gst_message_parse_state_changed),
3660         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3661         (gst_message_parse_new_clock), (gst_message_parse_error),
3662         (gst_message_parse_warning), (gst_message_parse_info),
3663         (gst_message_parse_segment_start),
3664         (gst_message_parse_segment_done), (gst_message_parse_duration),
3665         (gst_message_parse_async_start):
3666         Use GstQuark for messages.
3667
3668 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3669
3670         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3671         * gst/gstquark.h:
3672         Add some more quarks needed for messages and queries.
3673
3674 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3675
3676         * docs/design/part-buffering.txt:
3677         Remove the "none" buffering mode, STREAM is a good default.
3678         Move estimated-time to the avail query, that's when it will be needed.
3679         Other small typo fixes and updates.
3680
3681 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3682
3683         * gst/gstindex.c: (gst_index_resolver_get_type):
3684           Don't put descriptions into the nick field of a GEnumValue: it's not
3685           meant for that and some language bindings rely on the nick field to
3686           construct constants and the like. Fixes #526705.
3687
3688 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3689
3690         * NEWS:
3691         * RELEASE:
3692         * gstreamer.doap:
3693           Merge other changes from 0.10.19 release branch.
3694
3695 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3696
3697         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3698
3699         * configure.ac:
3700         Actually build dlls when cross-compiling with mingw32.
3701         Fixes bug #526247.
3702
3703 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3704
3705         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3706
3707         * gst/gstpoll.c:
3708         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3709
3710 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3711
3712         * docs/design/draft-latency.txt:
3713         Fix typo.
3714
3715         * docs/design/part-buffering.txt:
3716         Update design docs with more buffering ideas.
3717
3718 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3719
3720         * configure.ac:
3721           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3722
3723 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3724
3725         * configure.ac:
3726           Revert part that belongs to the preset patch.
3727
3728 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3729
3730         * configure.ac:
3731           Add qoutes to the define. Fixes # 525961.
3732
3733 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3734
3735         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3736         (gst_file_index_load), (gst_file_index_add_id),
3737         (gst_file_index_get_assoc_entry):
3738         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3739         (gst_mem_index_free_id), (gst_mem_index_add_id),
3740         (gst_mem_index_index_format):
3741         Use GSlice when possible.
3742
3743 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3744
3745         * libs/gst/controller/gstinterpolationcontrolsource.c:
3746         (gst_control_point_free),
3747         (gst_interpolation_control_source_set_internal):
3748         Use GSlice for allocating the control points.
3749
3750 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3751
3752         * plugins/elements/gsttypefindelement.c:
3753         (gst_type_find_element_class_init),
3754         (gst_type_find_element_set_property),
3755         (gst_type_find_element_get_property),
3756         (gst_type_find_element_activate):
3757         * plugins/elements/gsttypefindelement.h:
3758         Cleanup properties.
3759         Fix pad leak when peer query fails.
3760         We can still typefind when the peer returns -1.
3761         Add property to force caps and bypass typefinding. This will be used in
3762         uridecodebin.
3763         API::force-caps
3764
3765 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3766
3767         * configure.ac:
3768         Require GLib 2.12.
3769
3770         * gst/glib-compat-private.h:
3771         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3772         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3773         Unconditionally use GSlice for allocation.
3774
3775         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3776         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3777         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3778         (gst_structure_free):
3779         Use GSlice for allocation.
3780
3781 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3782
3783         * gst/parse/Makefile.am:
3784         * gst/parse/grammar.tab.pre.c:
3785         * gst/parse/grammar.tab.pre.h:
3786         * gst/parse/lex._gst_parse_yy.pre.c:
3787         Require a new enough flex and bison and remove the parser hacks to use
3788         a pre-regenerated version.
3789
3790 2008-04-01  Julien Moutte  <julien@fluendo.com>
3791
3792         patch by: Jason Zhao <E3423C@motorola.com>
3793
3794         * configure.ac: Add a configure switch to disable option parsing
3795         in gst_init.
3796         Fixes #522882.
3797
3798 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3799
3800         * configure.ac:
3801         * gst/gstregistry.c:
3802           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3803           and handle this case.
3804
3805         * gst/gst.c:
3806           Add a comment here describing, why we stat each plugin and not try to
3807           be smart.
3808
3809 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3810
3811         * libs/gst/base/gstbasetransform.c:
3812         (gst_base_transform_prepare_output_buffer):
3813         Also unset the GAP flag on buffers if we're working inplace but
3814         the element is not GAP-aware.
3815
3816         Mark a comment as FIXME 0.11.
3817
3818 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3819
3820         * gst/gst.c:
3821           Fix type in log message and add one to ease seeing how long registry
3822           cache verification takes.
3823
3824         * gst/gstregistry.c:
3825           Only test plugin filenames against G_MODULE_SUFFIX.
3826
3827 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3828
3829         * gst/gstdebugutils.c:
3830           Improve handling ghost/proxy pads.
3831
3832 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3833
3834         * docs/gst/gstreamer-sections.txt:
3835         * gst/gstpad.c:
3836         * gst/gstpad.h:
3837           Expose macro to docs and fix link to it.
3838
3839 2008-03-27  Michael Smith <msmith@fluendo.com>
3840
3841         * libs/gst/dataprotocol/dataprotocol.c:
3842         (gst_dp_packet_from_event_1_0):
3843           When calculating GDP body CRC, use the correct pointer. 
3844           Fixes part of #522401.
3845
3846 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3847
3848         Patch by: Mark Nauwelaerts <manauw at skynet be>
3849
3850         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3851         (gst_identity_init), (gst_identity_prepare_output_buffer):
3852         Identity is not always a passthrough element, it can modify the buffer
3853         timestamps when it has a datarate and operates in single-segment mode.
3854         We therefore make it an in_place filter with a custom buffer prepare
3855         function that conditionally makes the input buffer metadata writable
3856         when needed.  Fixes #523985.
3857
3858 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3859
3860         Patch by: Mark Nauwelaerts <manauw at skynet be>
3861
3862         * gst/gstclock.h:
3863         * libs/gst/base/gstbasesrc.h:
3864         * libs/gst/base/gstbasetransform.c:
3865         * libs/gst/check/gstcheck.c:
3866         Small documentation fixes. Fixes #523978.
3867
3868 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3869
3870         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3871         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3872         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3873
3874 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3875
3876         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3877         (single_queue_underrun_cb):
3878         When trying to make room in the queue, bump the max allowed buffers
3879         bigger than the current amount of buffers in the queue. this fixes some
3880         nasty deadlocks in multiqueue when dynamically changing the limits of
3881         the queue.
3882
3883 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3884
3885         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3886
3887         * gst/gstcaps.c: (gst_caps_set_simple),
3888         (gst_caps_set_simple_valist), (gst_caps_intersect):
3889         * gst/gstcaps.h:
3890         Constify the field gchar * params in set_simple and friends.
3891         Fixes #522326.
3892
3893 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3894
3895         * gst/gstvalue.c: (gst_value_transform_object_string):
3896         Transform a GstObject to a more meaningfull string that includes the
3897         object type in addition to its name.
3898
3899 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
3900
3901         * ChangeLog:
3902           ChangeLog surgery to add bugnumber to commit.
3903
3904 2008-03-23  Rene Stadler  <mail@renestadler.de>
3905
3906         * libs/gst/base/gstbasetransform.c:
3907         (gst_base_transform_set_gap_aware): Fix confusing documentation.
3908
3909 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3910
3911         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3912         Rename constant everywhere and don't forget one occurence.
3913
3914 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3915
3916         * gst/gstregistrybinary.c: (gst_registry_binary_write):
3917         Align memory to the pointer size even if the architecture allows
3918         unaligned memory access. Unaligned memory access usually comes with
3919         performance penality.
3920
3921 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
3922
3923         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3924         (gst_registry_binary_check_magic),
3925         (gst_registry_binary_load_pad_template),
3926         (gst_registry_binary_load_feature),
3927         (gst_registry_binary_load_plugin):
3928         Align memory to the pointer size instead of always 32 bit. Fixes
3929         unaligned memory accesses on ia64 and friends.
3930
3931         * gst/gstregistrybinary.h:
3932         Bump binary registry format version for this as it changes the
3933         format on those architectures that don't have unaligned access
3934         and 64 bit pointers.
3935
3936 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3937
3938         * docs/pwg/advanced-dparams.xml:
3939         * docs/pwg/building-props.xml:
3940         * docs/pwg/other-source.xml:
3941         * gst/glib-compat.h:
3942         * gst/gstbin.c: (gst_bin_class_init):
3943         * gst/gstclock.c: (gst_clock_class_init):
3944         * gst/gstindex.c: (gst_index_class_init):
3945         * gst/gstobject.c: (gst_object_class_init):
3946         * gst/gstpad.c: (gst_pad_class_init):
3947         * gst/gstpipeline.c: (gst_pipeline_class_init):
3948         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3949         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3950         * libs/gst/base/gstbasetransform.c:
3951         (gst_base_transform_class_init):
3952         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3953         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3954         (_gst_check_fault_handler_sighandler),
3955         (_gst_check_fault_handler_setup), (gst_check_init):
3956         * libs/gst/controller/gstcontroller.c:
3957         (_gst_controller_class_init):
3958         * libs/gst/controller/gstlfocontrolsource.c:
3959         (gst_lfo_control_source_class_init):
3960         * libs/gst/net/gstnetclientclock.c:
3961         (gst_net_client_clock_class_init):
3962         * libs/gst/net/gstnettimeprovider.c:
3963         (gst_net_time_provider_class_init):
3964         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3965         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3966         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3967         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3968         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3969         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3970         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3971         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3972         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3973         * plugins/elements/gstqueue.c: (gst_queue_class_init):
3974         * plugins/elements/gsttee.c: (gst_tee_class_init):
3975         * plugins/elements/gsttypefindelement.c:
3976         (gst_type_find_element_class_init):
3977         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3978         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3979         use it everywhere for GParamSpecs that use static strings (i.e. all).
3980         This gives us less memory usage, fewer allocations and thus less
3981         memory defragmentation. Fixes bug #523806.
3982
3983 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3984
3985         * gst/gstminiobject.c: (gst_value_dup_mini_object),
3986         (gst_param_spec_mini_object):
3987         * gst/gstminiobject.h:
3988         * win32/common/libgstreamer.def:
3989         * docs/gst/gstreamer-sections.txt:
3990         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3991         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3992         GstParamSpecMiniObject into a public header for this.
3993
3994         This make GstMiniObject a bit more consistent with GObject and makes
3995         it possible to extend the param specs.
3996
3997         gst_value_dup_mini_object is mainly useful for set_property methods.
3998
3999         Fixes bug #523798.
4000
4001         * tools/gst-inspect.c: (print_element_properties_info):
4002         Print something useful for GstMiniObject properties and not just
4003         "unknown type".
4004
4005 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4006
4007         * docs/gst/gstreamer-sections.txt:
4008         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4009         (gst_registry_binary_check_magic):
4010         * gst/gstregistrybinary.h:
4011         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4012         and add it to the (private part) of the docs to fix the build.
4013
4014 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4015
4016         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4017         (gst_registry_binary_check_magic),
4018         (gst_registry_binary_read_cache):
4019         * gst/gstregistrybinary.h:
4020         Don't use GST_MAJORMINOR for the binary registry version. Instead
4021         hardcode a value that must be changed whenever the format changes
4022         in an incompatible way.
4023         Also don't GST_ERROR when there is a version mismatch, just
4024         regenerate the registry silently.
4025
4026 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4027
4028         * configure.ac:
4029         Back to development - 0.10.18.1
4030
4031 === release 0.10.18 ===
4032
4033 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4034
4035         * configure.ac:
4036           releasing 0.10.18, "So far away"
4037
4038 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4039
4040         * configure.ac:
4041         * win32/common/config.h:
4042         0.10.17.4 pre-release
4043
4044 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4045
4046         Patch by: Ole André Vadla Ravnås
4047             <ole dot andre dot ravnas at tandberg dot com>
4048
4049         * docs/gst/gstreamer-sections.txt:
4050         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4051         (gst_poll_update_winsock_event_mask),
4052         (gst_poll_prepare_winsock_active_sets),
4053         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4054         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4055         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4056         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4057         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4058         * gst/gstpoll.h:
4059         * win32/common/libgstreamer.def:
4060         Add new function gst_poll_fd_ignored() for improved Windows
4061         compatibility.
4062         Various minor fixes and cleanups. See #520808.
4063
4064 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4065
4066         * gst/gstindex.c: (gst_index_entry_free):
4067         * gst/gstindex.h:
4068           Don't free key strings which we don't own. Fixes crash in
4069           gst_index_entry_free() (#522741).
4070
4071         * tests/check/Makefile.am:
4072         * tests/check/gst/.cvsignore:
4073         * tests/check/gst/gstindex.c: (test_index_entries),
4074           (gst_index_suite), (gst_index):
4075           Add unit test for the above.
4076
4077 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4078
4079         * win32/common/libgstreamer.def:
4080         Remove symbols that were removed recently. Fixes bug #521740.
4081
4082 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4083
4084         * configure.ac:
4085         * win32/common/config.h:
4086         0.10.17.3 pre-release
4087
4088 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4089
4090         Patch by: Ole André Vadla Ravnås
4091             <ole dot andre dot ravnas at tandberg dot com>
4092
4093         * docs/gst/gstreamer-sections.txt:
4094         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4095         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4096         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4097         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4098         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4099         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4100         (gst_poll_fd_can_write), (gst_poll_wait),
4101         (gst_poll_set_controllable), (gst_poll_restart),
4102         (gst_poll_set_flushing):
4103         * gst/gstpoll.h:
4104         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4105         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4106         (gst_net_time_provider_new):
4107         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4108         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4109         * tests/benchmarks/gstpollstress.c: (main):
4110         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4111         Remove GstPollMode from the API, it does not make sense to let the
4112         application control this.
4113         Add support for Win32.
4114         Fix the testsuite. Fixes #520671.
4115
4116 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4117
4118         Patch by: Ole André Vadla Ravnås
4119             <ole dot andre dot ravnas at tandberg dot com>
4120
4121         * gst/gstregistrybinary.c:
4122         Include io.h for write() and close() when building with MSVC. Fixes
4123         bug #520877.
4124
4125 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4126
4127         * configure.ac:
4128         * gst/gst_private.h:
4129         * gst/gstconfig.h.in:
4130         * gst/gstregistry.h:
4131         * gst/gstregistrybinary.c:
4132         * win32/common/gstconfig.h:
4133           Move registry backend API to private headers where we can. Add
4134           fixme-0.11 comments for the others. Add stubs for the xml backend when
4135           using the binary to ensure they functions exists (they should not be
4136           used though). Fixes #520756.
4137
4138 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4139
4140         * configure.ac:
4141         * win32/common/config.h:
4142         0.10.17.2 prelease
4143
4144 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4145
4146         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4147         (gst_registry_binary_read_cache):
4148         * gst/gstregistryxml.c: (gst_registry_save):
4149         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4150         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4151         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4152         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4153         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4154         Fixes #520152
4155
4156 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4157
4158         * gst/gstminiobject.c:
4159         Import gst_private.h before any other header that might include other
4160         glib headers. This fixes the build on windows using native compilers.
4161
4162 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4163
4164         * win32/common/gstconfig.h:
4165           Add here too, just for completeness.
4166
4167 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4168
4169         * configure.ac:
4170         * gst/gstconfig.h.in:
4171         * gst/gstregistry.h:
4172           Fix broken use of config.h-defined preprocessor directive in a public
4173           header file. Add a corresponding define to gstconfig.h, since we can't
4174           really remove those function declarations from the header file now
4175           (or can we? and why are they there in the first place?).
4176
4177 2008-03-03  Andy Wingo  <wingo@pobox.com>
4178
4179         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4180         the new warning.
4181
4182         * gst/gststructure.c (gst_structure_from_string): Warn if
4183         structure_from_string didn't consume the whole string, but the
4184         caller did not provide an end pointer.
4185
4186 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4187
4188         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4189
4190         * gst/gstregistryxml.c: (read_string), (load_feature):
4191           Strings allocated by libxml2 should be freed with xmlFree(), not
4192           with g_free(). Fixes issues on windows in certain contexts (#519698).
4193
4194 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4195
4196         * gst/gstinterface.c: (gst_element_implements_interface):
4197           Don't crash if the element supports the interface queried, but does
4198           not implement GstImplementsInterface. Fixes #519584.
4199
4200         * tests/check/Makefile.am:
4201         * tests/check/gst/.cvsignore:
4202         * tests/check/gst/gstinterface.c:
4203           Add unit test for the above.
4204
4205 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4206
4207         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4208         Small doc update.
4209
4210 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4211
4212         * gst/gstsegment.c: (gst_segment_set_seek),
4213         (gst_segment_to_stream_time):
4214         Improve some comment.
4215         Update variables where it makes more sense.
4216
4217 2008-02-29  Rene Stadler  <mail@renestadler.de>
4218
4219         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4220         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4221         URIHandlers implemented using language bindings.
4222
4223 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4224
4225         * gst/gstelementfactory.h:
4226         * tests/check/elements/fakesink.c:
4227         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4228         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4229         * tests/check/elements/filesink.c: (setup_filesink):
4230         * tests/check/elements/filesrc.c: (setup_filesrc):
4231         * tests/check/elements/identity.c: (setup_identity):
4232         * tests/check/elements/tee.c:
4233         * tests/check/generic/sinks.c:
4234         * tests/check/generic/states.c: (setup), (teardown):
4235         * tests/check/gst/gst.c:
4236         * tests/check/gst/gstabi.c:
4237         * tests/check/gst/gstbin.c:
4238         * tests/check/gst/gstbus.c: (pull_messages):
4239         * tests/check/gst/gstcaps.c:
4240         * tests/check/gst/gstelement.c:
4241         * tests/check/gst/gstevent.c:
4242         * tests/check/gst/gstghostpad.c:
4243         * tests/check/gst/gstiterator.c:
4244         * tests/check/gst/gstmessage.c:
4245         * tests/check/gst/gstminiobject.c: (my_foo_init):
4246         * tests/check/gst/gstobject.c: (thread_name_object),
4247         (gst_object_suite):
4248         * tests/check/gst/gstpad.c:
4249         * tests/check/gst/gstplugin.c:
4250         * tests/check/gst/gstpoll.c:
4251         * tests/check/gst/gstquery.c:
4252         * tests/check/gst/gstsegment.c:
4253         * tests/check/gst/gststructure.c:
4254         * tests/check/gst/gstsystemclock.c:
4255         * tests/check/gst/gsttask.c:
4256         * tests/check/gst/gstutils.c:
4257         * tests/check/gst/gstvalue.c:
4258         * tests/check/gst/struct_hppa.h:
4259         * tests/check/gst/struct_i386.h:
4260         * tests/check/gst/struct_ppc32.h:
4261         * tests/check/gst/struct_ppc64.h:
4262         * tests/check/gst/struct_x86_64.h:
4263         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4264         * tests/check/libs/basesrc.c:
4265         * tests/check/libs/controller.c: (GST_START_TEST):
4266         * tests/check/libs/gdp.c:
4267         * tests/check/libs/gstnetclientclock.c:
4268         * tests/check/libs/gstnettimeprovider.c:
4269         * tests/check/libs/libsabi.c:
4270         * tests/check/libs/struct_hppa.h:
4271         * tests/check/libs/struct_i386.h:
4272         * tests/check/libs/struct_ppc32.h:
4273         * tests/check/libs/struct_ppc64.h:
4274         * tests/check/libs/struct_x86_64.h:
4275         * tests/check/pipelines/cleanup.c:
4276         * tests/check/pipelines/simple-launch-lines.c:
4277         * tests/check/pipelines/stress.c:
4278         And correct even more valid sparse warnings.
4279
4280         * win32/common/libgstreamer.def:
4281         Add gst_poll_fd_init to the list of symbols.
4282
4283 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4284
4285         * gst/gstconfig.h.in:
4286         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4287         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4288         (gst_check_log_critical_func), (gst_check_drop_buffers),
4289         (gst_check_element_push_buffer_list):
4290         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4291         (gst_controller_get_type):
4292         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4293         (gst_object_get_controller), (gst_object_get_control_source):
4294         * libs/gst/controller/gstinterpolationcontrolsource.c:
4295         (gst_interpolation_control_source_new):
4296         * libs/gst/controller/gstlfocontrolsource.c:
4297         (gst_lfo_control_source_new):
4298         * libs/gst/dataprotocol/dataprotocol.c:
4299         (gst_dp_event_from_packet_0_2):
4300         * plugins/elements/gstfdsrc.c:
4301         * plugins/elements/gstmultiqueue.c:
4302         * plugins/elements/gsttee.c:
4303         * plugins/elements/gsttypefindelement.c:
4304         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4305         (gst_file_index_add_association):
4306         * plugins/indexers/gstmemindex.c:
4307         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4308         * tests/check/elements/queue.c: (setup_queue):
4309         * tests/check/gst/gstpipeline.c:
4310         * tests/check/libs/collectpads.c: (setup), (teardown),
4311         (gst_collect_pads_suite):
4312         * tests/examples/adapter/adapter_test.c:
4313         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4314         * tests/examples/xml/createxml.c:
4315         * tests/examples/xml/runxml.c:
4316         * tools/gst-inspect.c:
4317         * tools/gst-run.c:
4318         Correct all relevant warnings found by the sparse semantic code
4319         analyzer. This include marking several symbols static, using
4320         NULL instead of 0 for pointers, not using variable sized arrays
4321         on the stack, moving variable declarations to the beginning of
4322         a block and using "foo (void)" instead of "foo ()" for declarations.
4323
4324 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4325
4326         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4327         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4328         Don't reset GstPollFDs, this is not necessary at all.
4329
4330         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4331         (delayed_restart), (delayed_control):
4332         Use GST_POLL_FD_INIT.
4333
4334 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4335
4336         * gst/gstpoll.c: (gst_poll_fd_init):
4337         * gst/gstpoll.h:
4338         Added Since tags.
4339
4340         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4341         Use some more init macros.
4342
4343 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4344
4345         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4346         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4347         Use init macros and functions.
4348
4349 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4350
4351         * docs/gst/gstreamer-sections.txt:
4352         * gst/gstpoll.c: (gst_poll_fd_init):
4353         * gst/gstpoll.h:
4354         Add INIT macro and _init method for initializing the GstPollFD.
4355
4356 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4357
4358         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4359         (gst_fd_sink_update_fd):
4360         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4361         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4362         (delayed_restart), (delayed_control):
4363         Initialize some uninitialized variables as spotted by valgrind.
4364
4365 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4366
4367         * tests/benchmarks/Makefile.am:
4368         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4369         (main):
4370         Add poll stress test.
4371
4372 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4373
4374         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4375
4376         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4377         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4378         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4379         * plugins/elements/gstfdsink.h:
4380         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4381         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4382         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4383         (gst_fd_src_uri_set_uri):
4384         * plugins/elements/gstfdsrc.h:
4385         Port to GstPoll. See #505417.
4386
4387 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4388
4389         * win32/common/libgstreamer.def:
4390         Add new gst_poll_ symbols to win32 defs.
4391
4392 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4393
4394         * docs/libs/gstreamer-libs-sections.txt:
4395         * libs/gst/net/gstnetclientclock.c:
4396         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4397         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4398         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4399         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4400         * libs/gst/net/gstnetclientclock.h:
4401         * libs/gst/net/gstnettimeprovider.c:
4402         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4403         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4404         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4405         (gst_net_time_provider_new):
4406         * libs/gst/net/gstnettimeprovider.h:
4407         Use a private stuct to not break ABI.
4408
4409 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4410
4411         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4412
4413         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4414         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4415         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4416         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4417         * libs/gst/net/gstnetclientclock.h:
4418         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4419         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4420         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4421         (gst_net_time_provider_new):
4422         * libs/gst/net/gstnettimeprovider.h:
4423         Massive code removal and cleanups because of GstPoll.
4424         Fixes #505417.
4425
4426 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4427
4428         * configure.ac:
4429         Add checks for poll, ppoll and pselect.
4430
4431         * docs/gst/gstreamer-docs.sgml:
4432         * docs/gst/gstreamer-sections.txt:
4433         Add docs for GstPoll.
4434
4435         * gst/Makefile.am:
4436         * gst/gst.h:
4437         * gst/gstpoll.c: (find_index), (selectable_fds),
4438         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4439         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4440         (gst_poll_set_mode), (gst_poll_get_mode),
4441         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4442         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4443         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4444         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4445         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4446         (gst_poll_fd_can_write), (gst_poll_wait),
4447         (gst_poll_set_controllable), (gst_poll_restart),
4448         (gst_poll_set_flushing):
4449         * gst/gstpoll.h:
4450         Add generic poll abstraction. We ideally don't want to have this in core
4451         here but in glib intead...
4452         This code will be used in various network elements and ultimately for
4453         the nanosecond precision monotonic clock (that's why it's here in core).
4454         It'll allow us to implement cancelable socket operations for windows too.
4455
4456         * tests/check/Makefile.am:
4457         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4458         (delayed_stop), (delayed_restart), (delayed_flush),
4459         (delayed_control), (gst_poll_suite):
4460         Add GstPoll unit test.
4461
4462 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4463
4464         * gst/gstfilter.c:
4465           Improve documentation of gst_filter_run(). Fixes #518627.
4466
4467 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4468
4469         * docs/README:
4470           Add a few lines about the new 'check-inspected-versions' target.
4471
4472 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4473
4474         * tests/check/gst/gstevent.c:
4475           Add qos to the event test. Rename tcase/tsuite; is not only about
4476           custom events.
4477
4478 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4479
4480         * plugins/elements/gstqueue.c:
4481           Ensure that buffer metadata is writeable, before modifying. Spotted by
4482           Mike.
4483
4484 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4485
4486         * plugins/elements/gstqueue.c:
4487         * plugins/elements/gstqueue.h:
4488           When dropping buffers in leaky modes, mark next buffers we sent as
4489           DISCONT.
4490
4491 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4492
4493         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4494           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4495
4496 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4497
4498         * plugins/elements/Makefile.am:
4499         * plugins/elements/gstbufferstore.c:
4500         * plugins/elements/gstbufferstore.h:
4501         * plugins/elements/gsttypefindelement.h:
4502           Remove GstBufferStore, no idea why we were still building it.
4503           It's not used anywhere and superseded by GstAdapter.
4504
4505         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4506           (gst_file_src_create_mmap):
4507         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4508           Printf format fixes for 64-bit integers.
4509
4510 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4511
4512         * configure.ac:
4513         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4514         We're not in 0.8 times anymore.
4515
4516 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4517
4518         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4519         (gst_check_element_push_buffer_list):
4520         * libs/gst/check/gstcheck.h:
4521         Make the declaration in the header for
4522         gst_check_element_push_buffer_list match the implementation.
4523
4524         Fix up spelling, grammar and wording of the documentation in a few
4525         places, and add the Since keyword to new API functions.
4526         Use g_list_delete_link instead of g_list_remove in
4527         gst_check_drop_buffers, since it's immeasurably more efficient.
4528
4529         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4530         Use new gst_check_drop_buffers function where appropriate.
4531
4532         * win32/common/libgstbase.def:
4533         * win32/common/libgstreamer.def:
4534         Add new symbols gst_collect_pads_take_buffer, 
4535         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4536         exports
4537
4538         Changelog surgery to add API keyword to new gst_check API.
4539
4540 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4541
4542         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4543         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4544         Update pre-generated flex files with flex 2.3.34.
4545
4546 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4547
4548         * gst/gstminiobject.c:
4549           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4550           friendly to subclasses and not require them to know all internals
4551           of their parent class.
4552
4553 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4554
4555         * docs/libs/gstreamer-libs-sections.txt:
4556         * libs/gst/base/gstcollectpads.c:
4557         * libs/gst/base/gstcollectpads.h:
4558           Add sub-buffer functions to collectpads. Fixes #516187.
4559           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4560
4561 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4562
4563         * gst/gstbuffer.c:
4564           Copy selected buffer-flags when creating subbuffers.
4565           Fixes #516395.
4566
4567 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4568
4569         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4570         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4571         * gst/gstmessage.c: (gst_message_class_init),
4572         (gst_message_finalize):
4573         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4574         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4575         (gst_mmap_buffer_finalize):
4576         Properly chain up finalize functions to the parent class.
4577
4578 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4579
4580         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4581
4582         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4583         (gst_index_set_resolver_full):
4584         * gst/gstindex.h:
4585         Add new function with option to dispose of user_data in resolver.
4586         Actually call the dispose function when finalizing the object and not
4587         just when changing the resolver/filter.
4588         API: GstIndex::gst_index_set_resolver_full()
4589
4590         * docs/gst/gstreamer-sections.txt:
4591         Add new function to docs. Fixes #515469.
4592
4593 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4594
4595         * gst/gstindex.c: (gst_index_finalize):
4596         Chain up finalize to the parent class. Fixes leaking the GstObject
4597         name and other things.
4598
4599 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4600
4601         * configure.ac:
4602         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4603         pre-releases or releases.
4604
4605         * docs/faq/gst-uninstalled:
4606         Add gst-plugins-gl
4607
4608         * docs/random/release:
4609         Change one of the steps - we only upload core & base to Gnome FTP
4610
4611 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4612
4613         * gst/gstconfig.h.in:
4614           Add 'id' for example.
4615
4616         * gst/gstpad.c:
4617         * gst/gstutils.c:
4618         * plugins/elements/gstfdsink.c:
4619           Link to signals. Doc and comment fixes.
4620
4621 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4622
4623         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4624         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4625           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4626           unused and unimplemented; finally, it is plugin features, not
4627           plugins, that have ranks.
4628           
4629 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4630
4631         * gst/gstpluginfeature.h:
4632           Clarify GstRank range docs.
4633
4634 2008-02-05  David Schleef  <ds@schleef.org>
4635
4636         * gst/gst.c: Add a separate gst_deinitialized that prevents
4637           gst_init() from being called after gst_deinit().  Fixes #509559
4638
4639 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4640
4641         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4642         (gst_bin_class_init):
4643         * gst/gstelement.c: (gst_element_base_class_init),
4644         (gst_element_class_add_pad_template):
4645         * gst/gstpadtemplate.c: (gst_pad_template_init):
4646         * gst/gstpipeline.c: (gst_pipeline_get_type),
4647         (gst_pipeline_base_init), (gst_pipeline_class_init):
4648         * libs/gst/base/gstbasesink.c:
4649         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4650         (gst_base_src_base_init), (gst_base_src_class_init):
4651         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4652         (gst_capsfilter_class_init):
4653         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4654         (gst_fake_sink_class_init):
4655         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4656         (gst_fake_src_class_init):
4657         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4658         (gst_fd_sink_class_init):
4659         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4660         (gst_fd_src_class_init):
4661         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4662         (gst_file_sink_class_init):
4663         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4664         (gst_file_src_class_init):
4665         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4666         (gst_identity_class_init):
4667         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4668         (gst_multi_queue_class_init):
4669         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4670         (gst_queue_class_init):
4671         * plugins/elements/gsttee.c: (gst_tee_base_init),
4672         (gst_tee_class_init):
4673         * plugins/elements/gsttypefindelement.c:
4674         (gst_type_find_element_base_init),
4675         (gst_type_find_element_class_init):
4676         * tests/check/gst/gstelement.c: (gst_element_suite):
4677         Revert previous changes to the behaviour of GstPadTemplates, etc
4678         and the possiblity to call them in class_init as it breaks too
4679         many elements. Reopens bug #491501.
4680
4681         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4682         several places.
4683
4684 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4685
4686         * tools/gst-launch.c:
4687         Dump one graph per pipeline state-change and state change name
4688         (if GST_DEBUG_DUMP_DOT_DIR is set).
4689
4690 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4691
4692         * gst/gstpad.c:
4693         * tests/check/gst/gstpad.c:
4694         Be sure that we have a new copy of the caps and not
4695         reffed caps from a template
4696
4697 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4698
4699         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4700         * gst/gstpipeline.c: (gst_pipeline_get_type),
4701         (gst_pipeline_class_init):
4702         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4703         (gst_base_sink_class_init):
4704         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4705         (gst_base_src_class_init):
4706         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4707         (gst_base_transform_class_init):
4708         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4709         (gst_collect_pads_class_init):
4710         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4711         * libs/gst/net/gstnettimeprovider.c:
4712         (gst_net_time_provider_base_init),
4713         (gst_net_time_provider_class_init):
4714         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4715         (gst_capsfilter_class_init):
4716         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4717         (gst_fake_sink_class_init):
4718         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4719         (gst_fake_src_class_init):
4720         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4721         (gst_fd_sink_class_init):
4722         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4723         (gst_fd_src_class_init):
4724         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4725         (gst_file_sink_class_init):
4726         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4727         (gst_file_src_class_init):
4728         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4729         (gst_identity_class_init):
4730         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4731         (gst_multi_queue_class_init):
4732         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4733         (gst_queue_class_init):
4734         * plugins/elements/gsttee.c: (gst_tee_base_init),
4735         (gst_tee_class_init):
4736         * plugins/elements/gsttypefindelement.c:
4737         (gst_type_find_element_base_init),
4738         (gst_type_find_element_class_init):
4739         Don't use base_init where not absolutely necessary. For example it's
4740         not necessary anymore for adding pad templates or setting element
4741         details.
4742
4743         Leave empty base_init functions in several places as GST_BOILERPLATE
4744         still defines and uses them.
4745
4746 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4747
4748         * gst/gstelement.c: (gst_element_base_class_init),
4749         (gst_element_class_add_pad_template):
4750         * gst/gstpadtemplate.c:
4751         Make it possible (and recommended) to set element details and add
4752         pad templates in the class_init functions by copying the details/pad
4753         templates in GstElement's base_init.
4754
4755         Also make it possible to replace existing pad templates by adding
4756         a new one with the same name. This was done in a hackish fashion
4757         in same elements before already.
4758
4759         Don't reference pad templates that are added a second time. A
4760         new pad template has a refcount of one and is not floating anymore
4761         and to be owned by the element's class. Make this more explicit by
4762         mentioning it in the docs of gst_element_class_add_pad_template().
4763
4764         These changes are backwards compatible. Fixes bug #491501.
4765
4766         * tests/check/gst/gstelement.c:
4767         Add unit test for setting element details, adding pad templates and
4768         replacing them in a subclass.
4769
4770 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4771
4772         * tools/gst-inspect.c: (print_interfaces),
4773         (print_element_properties_info), (print_pad_info),
4774         (print_signal_info), (print_element_info):
4775         Fix a few memory leaks.
4776
4777 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4778
4779         * docs/libs/gstreamer-libs-sections.txt:
4780         * libs/gst/check/gstcheck.c:
4781         * libs/gst/check/gstcheck.h:
4782         Add more functions for unit testing: gst_check_drop_buffers,
4783         gst_check_caps_equal, gst_check_element_push_buffer_list,
4784         gst_check_element_push_buffer
4785         API: gst_check_drop_buffers
4786         API: gst_check_caps_equal
4787         API: gst_check_element_push_buffer_list
4788         API: gst_check_element_push_buffer
4789
4790 2008-02-01  Julien Moutte  <julien@fluendo.com>
4791
4792         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4793         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4794         (gst_index_finalize), (gst_index_entry_free),
4795         (gst_index_add_association): Fix memory leaks.
4796         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4797         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4798         (gst_mem_index_free_format), (gst_mem_index_free_id),
4799         (gst_mem_index_finalize): Fix memory leaks.
4800         * win32/common/config.h: Updated to CVS HEAD.
4801
4802 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4803
4804         * docs/README:
4805           Some more details about how the plugin docs works.
4806
4807         * docs/plugins/gstreamer-plugins-sections.txt:
4808           Whitespace cleanup.
4809
4810 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4811
4812         * gst/parse/grammar.tab.pre.c:
4813         * gst/parse/grammar.tab.pre.h:
4814         * gst/parse/grammar.y:
4815         * gst/parse/lex._gst_parse_yy.pre.c:
4816           Add delayed set-property. This allows to set properties on dynamicaly
4817           created objects (pads in videomxer). Fixes #509391.
4818
4819 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4820
4821         * gst/gstutils.c:
4822         Check if caps are not NULL (fix bug #510194)
4823
4824 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4825
4826         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4827         (gst_base_sink_get_position_paused):
4828         Add fixme regarding EOS in pull mode.
4829         Fix position reporting in PAUSED for negative rates.
4830
4831 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4832
4833         * gst/gstminiobject.c: (gst_mini_object_replace):
4834         When replacing a miniobject, do a quick equality check first so that we
4835         can avoid a ref/unref pair.
4836
4837 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4838
4839         * docs/design/part-synchronisation.txt:
4840         Update some docs.
4841
4842         * docs/plugins/Makefile.am:
4843         * docs/plugins/gstreamer-plugins-docs.sgml:
4844         * docs/plugins/gstreamer-plugins-sections.txt:
4845         * plugins/elements/gstmultiqueue.c:
4846         Add multiqueue to the docs.
4847
4848 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4849
4850         * configure.ac:
4851           Back to CVS
4852
4853 === release 0.10.17 ===
4854
4855 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4856
4857         * configure.ac:
4858           releasing 0.10.17, "Due Negligence"
4859
4860 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4861
4862         * gst/gstutils.c:
4863         Revert caps != NULL check temporarily for 0.10.17 release.
4864
4865 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4866
4867         * gst/gstutils.c:
4868         Check if caps are not NULL (fix bug #510194)
4869
4870 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4871
4872         * gst/gstutils.c:
4873         Fix compilation on systems that have posix timers but no
4874         monotonic clock.
4875         Fixes: #512715
4876         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4877         dot net>
4878
4879 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4880
4881         * tools/gst-inspect.c:
4882         Revert previous commit in preparation for an impromptu 0.10.17 release
4883
4884 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
4885
4886         * tools/gst-inspect.c: (print_interfaces),
4887         (print_element_properties_info), (print_pad_info),
4888         (print_signal_info), (print_element_info):
4889         Fix a few memory leaks.
4890
4891 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
4892
4893         * configure.ac:
4894         Back to CVS
4895
4896 === release 0.10.16 ===
4897
4898 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
4899
4900         * configure.ac:
4901           releasing 0.10.16, "Special Dispensation"
4902
4903 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
4904
4905         * configure.ac:
4906           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4907           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4908           not fail when trying to crosscompile on OpenEmbedded (#511750).
4909
4910 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
4911
4912         * docs/manuals.mak:
4913         Use $(MAKE) instead of make to fix the build if GNU make is
4914         called different. Fixes bug #510747.
4915
4916 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4917
4918         * gst/gstplugin.c: (_gst_plugin_initialize):
4919           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4920           again, which I broke two commits ago when changing the API
4921           of gst_plugin_register_static(): the g_list_foreach() in
4922           _gst_plugin_register_static still assumed the old function
4923           signature and would therefore fail (re-fixes #510187).
4924
4925         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4926           (_gst_plugin_register_static), (gst_plugin_register_static):
4927           Revert the (technically correct) change to call g_thread_init() from
4928           the pre-main() constructor. This will break programs which call
4929           g_thread_init() without an if (!g_thread_supported()) guard in their
4930           main function. We could just blame it on GLib or the application, but
4931           it's probably best to just avoid this altogether and simply not use
4932           any GLib functions here and use plain old malloc() with a simple
4933           array to store the plugins to register later when gst_init() is
4934           finally called (re-fixes #510187).
4935
4936         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4937           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4938           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4939           (GST_START_TEST), (gst_plugin_suite):
4940           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4941           works.
4942
4943 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4944
4945         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4946           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4947           This makes gtk-doc complain, but results in slightly better
4948           compiler errors. The old _gst_plugin_register_static() is
4949           still guarded, so there'll be a compiler warning about that
4950           instead. Fixes #510187 too.
4951
4952 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4953
4954         * gst/gst.c: (init_post):
4955         * gst/gstplugin.c: (_gst_plugin_register_static),
4956           (gst_plugin_register_static), (_gst_plugin_initialize):
4957         * gst/gstplugin.h: (GstPluginFilter):
4958           Change API of gst_plugin_register_static() to not take
4959           a GstPluginDesc, but rather just take all the arguments
4960           in a GstPluginDesc directly. This is more intuitive and
4961           avoids certain mistakes when porting code from
4962           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4963           Fixes #510187.
4964
4965         * tests/check/gst/gstplugin.c:
4966           Fix up for changed API.
4967
4968 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4969
4970         * docs/faq/legal.xml:
4971           Update FAQ, Totem actually has an exception these days.
4972
4973 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
4974
4975         * win32/common/libgstreamer.def:
4976         Add new API declarations
4977
4978 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4979
4980         * gst/gstminiobject.c:
4981           Spelling fixes for the API docs.
4982
4983 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
4984
4985         * libs/gst/base/gstbasetransform.c:
4986           Fix long property description for QoS.
4987
4988 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
4989
4990         * gst/gst.c:
4991         _gst_trace_on is already provided by gsttrace.h, no need to declare
4992         it ourselves.
4993
4994         * docs/libs/gstreamer-libs-sections.txt:
4995         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4996         and remove strange tcase_add_test which is outputting a warning.
4997
4998         * libs/gst/check/gstcheck.c:
4999         * libs/gst/check/gstcheck.h:
5000         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5001         and define them in gstcheck.c instead of having every .c file whcih
5002         includes gstcheck.h be defining its own copy and relying on symbol
5003         interposing to marry them all, which doesn't work on Solaris.
5004
5005         * tests/check/elements/identity.c: (GST_START_TEST):
5006         Don't define 'buffers' locally, it comes from libgstcheck.
5007
5008         * tests/check/generic/sinks.c: (send_buffer):
5009         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5010
5011         * tests/check/gst/gststructure.c: (GST_START_TEST):
5012         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5013         * tests/check/gst/gstutils.c: (GST_START_TEST):
5014         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5015         Add a bunch of casts to make various constants fit the types
5016         they're being assigned to.
5017
5018 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5019
5020         * gst/gstchildproxy.c:
5021           Improve docs and add some ideas for making this more general-purpose.
5022
5023 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5024
5025         * gst/gst_private.h: (GST_CAT_TYPES):
5026           Add GST_CAT_TYPES, for consistency, and so that the other
5027           debug categories don't make fun of it. Spotted by Saur on IRC.
5028
5029 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5030
5031         * gst/parse/Makefile.am:
5032           Move types.h from EXTRA_DIST to noinst_HEADERS.
5033
5034 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5035
5036         * autogen.sh:
5037           Add -Wno-portability to the automake parameters to stop warnings
5038           about GNU make extensions being used. We require GNU make in almost
5039           every Makefile anyway.
5040
5041         * configure.ac:
5042           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5043           at the same time is required for per target flags.
5044
5045 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5046
5047         * gst/gstmacros.h:
5048           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5049           __GNUC__ is defined before using it.
5050
5051 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5052
5053         * docs/gst/gstreamer-sections.txt:
5054         * gst/gst.c: (init_post):
5055         * gst/gstplugin.c: (_gst_plugin_register_static),
5056           (gst_plugin_register_static), (_gst_plugin_initialize),
5057           (gst_plugin_register_func):
5058         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5059           API: add gst_plugin_register_static() and deprecate
5060           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5061           (#498924).
5062           Also, in _gst_plugin_register_static(), make sure to call
5063           g_thread_init() before calling GLib functions such as
5064           g_list_append() if we're not initialised yet, since that
5065           may lead to random crashes with older GSlice/GLib versions.
5066
5067         * tests/check/gst/gstplugin.c:
5068           Adapt unit test to above changes.
5069
5070 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5073         * gst/gstcaps.c: (gst_caps_to_string):
5074         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5075           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5076           Yet another gratuitous GString micro-optimisation: add a (private)
5077           function that serialises a structure appending to an existing
5078           GString, so that when we serialise caps we don't need to alloc+free
5079           a throwaway GString for each structure (each of which also entailing
5080           multiple reallocs on the way); also use g_string_sized_new() in
5081           various places with an approximate string length to avoid reallocs
5082           within GString. See #500143.
5083
5084 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5085
5086         * gst/gststructure.c: (gst_structure_id_set_value):
5087           Always check UTF-8 conformance of structure strings and not only
5088           if the debugging system is enabled; reasoning: the behaviour of
5089           the actual code shouldn't really change depending on whether the
5090           debugging system is enabled or not (#508291).
5091
5092 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5093
5094         * Makefile.am:
5095           Remove old coverage target in favour of "make lcov".
5096
5097 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5098
5099         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5100         (gst_base_src_loop):
5101         The start segment for reverse playback goes from start to last_stop.
5102
5103 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5104
5105         Patch by: Peter Kjellerstedt <pkj axis com>
5106
5107         * gst/gstclock.h:
5108         Cast the results from the timeval/spec_to_time macros to what the
5109         docs say it casts to, a GstClockTime. fixes #508175.
5110
5111 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5112
5113         * gst/gstbuffer.c:
5114         Update some comments.
5115
5116         * tools/gst-inspect.c: (print_element_properties_info):
5117         Improve printing of flags.
5118
5119 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5120
5121         * libs/gst/base/gstbasetransform.c:
5122           (gst_base_transform_transform_size):
5123           Print element name with g_warning() if there's a problem
5124           with the unit size.
5125
5126 2008-01-07  David Schleef  <ds@schleef.org>
5127
5128         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5129
5130         * libs/gst/controller/gstcontroller.h:
5131         * libs/gst/controller/gstcontrolsource.h:
5132         * libs/gst/controller/gstinterpolationcontrolsource.h:
5133         * libs/gst/controller/gstlfocontrolsource.h:
5134         * libs/gst/dataprotocol/dataprotocol.h:
5135           Fix empty prototypes.  Fixes bug #507957.
5136
5137 2008-01-07  David Schleef  <ds@schleef.org>
5138
5139         * docs/faq/dependencies.xml: Fix typo.
5140
5141 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5142
5143         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5144         (gst_base_src_loop):
5145         Don't update the last_stop position in do_seek, that's the position we
5146         did a seek to.
5147         Read backwards when we have a negative rate.
5148
5149         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5150         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5151         (filesrc_suite):
5152         Add check for reverse reading.
5153
5154 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5155
5156         Patch by: Alexis Ballier <aballier at gentoo org>
5157
5158         * tests/check/gst/gstabi.c:
5159         * tests/check/gst/struct_ppc64.h:
5160         * tests/check/libs/libsabi.c:
5161         * tests/check/libs/struct_ppc64.h:
5162           Decide which header to include based on the userland ABI target
5163           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5164           for 64-bit userland (#503590).  Might need something similar for
5165           x86 too.
5166
5167 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5168
5169         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5170           Log the reason why fopen fails in addition to the fact that it failed.
5171           
5172 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5173
5174         * gst/parse/parse.l:
5175         Use "%option never-interactive" to prevent useless calls to isatty()
5176         on every input when parsing. Also use "%option noinput" to not define
5177         the static input/yyinput functions which we don't use anyway. This
5178         removes a compiler warning with gcc 4.3 and saves some bytes in the
5179         library.
5180         
5181         * gst/parse/lex._gst_parse_yy.pre.c:
5182         Regenerated for the above change.
5183
5184 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5185
5186         * gst/gstpad.c: (fixate_value):
5187         Don't crash when trying to fixate and empty list.
5188         Fixes #506643.
5189
5190 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5191
5192         * docs/faq/gst-uninstalled:
5193         Clarify the comments to make the usage of this script and what it
5194         does easier to understand.
5195
5196 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5197
5198         * tools/gst-plot-timeline.py:
5199         Add more options to gst-plot-timeline
5200
5201 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5202
5203         * docs/design/part-synchronisation.txt:
5204         Some more info on how the stream_time in GstBaseSink is done.
5205
5206 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5207
5208         * tests/check/generic/sinks.c: (gst_sinks_suite):
5209           Put back the tcase_set_timeout(), apparently it's needed after
5210           all; fix it up in a way that makes things work with valgrind too.
5211
5212 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5213
5214         * gst/gstdebugutils.c:
5215           Add warning when failed to open file for writing.
5216
5217 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5218
5219         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5220
5221         * gst/gstvalue.c: (gst_value_is_fixed):
5222           Optimisation: bail out of the loop as early as possible (#500143).
5223
5224 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5225
5226         * gst/gstcaps.c: (gst_caps_to_string):
5227         * gst/gstinfo.c: (gst_debug_construct_term_color):
5228         * gst/gstparse.c: (gst_parse_launchv):
5229         * gst/gstutils.c: (gst_util_dump_mem):
5230         * gst/gstvalue.c: (gst_value_serialize_any_list),
5231           (gst_value_transform_any_list_string):
5232           Bunch of gratuitous nano-optimisations.
5233
5234 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5235
5236         * tests/check/generic/sinks.c: (async_done_func),
5237           (async_done_eos_func):
5238           Fix leak in unit test (bus sync handler must unref the message
5239           if it returns GST_BUS_DROP). Don't fiddle with the default test
5240           timeout, this is smaller than the current preconfigured value
5241           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5242           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5243
5244 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5245
5246         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5247
5248         * configure.ac:
5249         Check for stdio_ext.h for the filesink changes.
5250
5251         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5252         (gst_file_sink_class_init), (gst_file_sink_init),
5253         (gst_file_sink_dispose), (gst_file_sink_set_property),
5254         (gst_file_sink_get_property), (gst_file_sink_open_file),
5255         (gst_file_sink_close_file):
5256         * plugins/elements/gstfilesink.h:
5257         Add two properties to control the buffering mode and size.
5258         API: GstFileSink::buffer-mode
5259         API: GstFileSink::buffer-size
5260         Fixes #500150.
5261
5262 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5263
5264         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5265         Add some more docs to explain why a FIXME was wrongly added. 
5266
5267 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5268
5269         * gst/gstobject.c:
5270           Fix typo in the gst_object_{ref,unref} documentation.
5271
5272 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5273
5274         * tests/check/libs/controller.c:
5275         * tests/check/libs/typefindhelper.c:
5276         * tests/check/pipelines/parse-launch.c:
5277           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5278           going to be deprecated (see #498924).
5279
5280 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5281
5282         * gst/gsttypefind.c: (gst_type_find_register):
5283           Make gst_type_find_register work for static typefind functions,
5284           ie. allow passing plugin == NULL (prerequisite for #498924).
5285
5286         * gst/gstelementfactory.c: (gst_element_register):
5287           Small docs addition.
5288
5289 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5290
5291         * gst/gstpad.c: (gst_pad_dispose):
5292         Really unlink the peer pad instead of setting the peer pointer to NULL
5293         when we dispose the pad.
5294         This correctly calls the unlink functions and makes sure that the peer
5295         does not have a handle to invalid memory. See #504671.
5296
5297         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5298         Add testsuite for above case.
5299
5300 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5301
5302         Patch by: Peter Kjellerstedt <pkj axis com>
5303
5304         * libs/gst/check/gstcheck.h:
5305           Fix detection of the check version we're compiling against (would
5306           otherwise break if check goes v0.10.0); correctly report the
5307           name of the failed test again in case of failure, instead of
5308           just 'tf' (fixes #504499).
5309
5310 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5311
5312         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5313         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5314         (gst_base_src_loop), (gst_base_src_set_flushing),
5315         (gst_base_src_change_state):
5316         Allow sending EOS to the source to make it send out an EOS event from
5317         the streaming thread.
5318         Update docs and deprecate the old NULL/READY shutdown method.
5319
5320         * tests/check/libs/basesrc.c: (GST_START_TEST),
5321         (gst_basesrc_suite):
5322         Add unit test for controlled shutdown.
5323
5324 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5325
5326         * docs/design/part-synchronisation.txt:
5327         Small updates.
5328
5329         * gst/gstsegment.c: (gst_segment_set_seek),
5330         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5331         (gst_segment_to_running_time):
5332         The seek format can be different from the segment format when the start
5333         and stop values are not to be updated, when we only do a rate change for
5334         example.
5335
5336         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5337         (gst_segment_suite):
5338         Add a testcase for the rate-only seeks, checking that the format is
5339         correctly ignored when start and stop are not updated.
5340
5341 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5342
5343         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5344
5345         * win32/vs8/grammar.vcproj:
5346         * win32/vs8/libgstcontroller.vcproj:
5347         * win32/vs8/libgstreamer.vcproj:
5348         Fix compilation with VS8 and include some missing files.
5349
5350 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5351
5352         * gst/gsttaglist.c:
5353           Small docs addition: mention that the strings returned by
5354           gst_tag_list_get_string*() are in UTF-8 encoding.
5355
5356 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5357
5358         * Makefile.am:
5359           The check-exports stuff moved to common/win32.mak, so include that.
5360
5361 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5362
5363         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5364         (gst_base_src_perform_seek), (gst_base_src_get_range),
5365         (gst_base_src_set_playing), (gst_base_src_change_state):
5366         Make _wait_playing() not check any variables so that we can call this
5367         function from subclasses. Move the checks elsewhere similar to
5368         _wait_preroll() in basesink.
5369         Add some debugging.
5370         Only signal the LIVE cond when we are going back to PLAYING.
5371
5372 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5373
5374         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5375           Use g_remove() and g_rename(). Check result of g_rename(), and
5376           don't leak the open file descriptor if we error out when writing.
5377
5378         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5379           Must check the return value of close() after writing out the new
5380           registry file.  Sometimes write problems such as out-of-diskspace
5381           are only reported when the file is closed and not already during
5382           the write.  This may have caused partial/broken registry files in
5383           some rare circumstances. Should fix #503675.
5384
5385 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5386
5387         * docs/gst/.cvsignore:
5388         * docs/libs/.cvsignore:
5389         * docs/plugins/.cvsignore:
5390         Ignore files generated by new common/* modifications
5391
5392 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5393
5394         * win32/common/libgstbase.def:
5395           Yes, you can also have a <TAB> if you want.
5396
5397 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5398
5399         * win32/common/libgstbase.def:
5400           Add new basetransform API to win export file.
5401
5402 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5403
5404         * tests/check/gst/gstbin.c:
5405           Adjust the test to the refcount change two days ago.
5406
5407 2007-12-14  David Schleef  <ds@schleef.org>
5408
5409         * docs/faq/getting.xml: Fix typo.
5410
5411 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5412
5413         * docs/libs/gstreamer-libs-sections.txt:
5414         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5415           (gst_base_transform_prepare_output_buffer),
5416           (gst_base_transform_set_gap_aware):
5417         * libs/gst/base/gstbasetransform.h:
5418           API: Add gst_base_transform_set_gap_aware() to control whether
5419           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5420           get buffers with this flag at all. Fixes #503231.
5421
5422 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5423
5424         * libs/gst/base/gstbasesink.c:
5425         * libs/gst/base/gstbasesrc.c:
5426         * libs/gst/base/gstbasetransform.c:
5427           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5428           thread. Correct log message in gstbasesrc.c.
5429
5430 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5431
5432         * gst/gstutils.c: (element_find_unconnected_pad):
5433           Fix possible compiler warning (#503417).
5434
5435 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5436
5437         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5438           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5439
5440 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5441
5442         * tools/gst-inspect.c: (print_element_properties_info):
5443           Add support for GstFraction properties.
5444
5445 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5446
5447         * Makefile.am:
5448           Add check-exports target and run it as part of 'make check'
5449           (see #499140 and #493983).
5450
5451         * gst/gst_private.h:
5452         * gst/gstelementfactory.h:
5453         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5454         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5455           (_priv_gst_in_valgrind):
5456         * gst/gstinfo.h: (GstLogFunction):
5457         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5458           (gst_type_find_register):
5459         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5460           (gst_type_find_factory_get_type):
5461         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5462           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5463           (gst_controller_new_valist), (gst_controller_new_list),
5464           (_gst_controller_dispose), (_gst_controller_class_init):
5465         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5466         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5467           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5468           (gst_object_get_controller), (gst_object_set_controller),
5469           (gst_object_suggest_next_sync), (gst_object_sync_values),
5470           (gst_object_set_control_source), (gst_object_get_control_source),
5471           (gst_object_get_value_arrays), (gst_object_get_value_array),
5472           (gst_object_get_control_rate), (gst_object_set_control_rate):
5473         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5474         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5475           Make some functions that should be static static; rename some
5476           private symbols so that they don't get exported; add some FIXME
5477           comments so we can move accidentally exported functions into
5478           our private section in 0.11.
5479
5480         * win32/common/libgstreamer.def:
5481           Add gst_utils_get_timestamp().
5482
5483 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5484
5485         * gst/gstvalue.c:
5486         * gst/gstvalue.h:
5487           Add more missing "Since:" tags to docs.
5488
5489 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5490
5491         * gst/gstutils.c:
5492           Add mising "Since:" to docs.
5493
5494 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5495
5496         * gst/gstplugin.c:
5497           Include "glib-compat-private.h" to fix the build on system with
5498           glib < 2.10. Fixes #503131.
5499
5500 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5501
5502         * gst/gstutils.c:
5503         * gst/gstutils.h:
5504           Actually its not PURE as it gets the time from elsewhere.
5505
5506 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5507
5508         * docs/gst/gstreamer-sections.txt:
5509         * gst/gstclock.h:
5510         * gst/gstdebugutils.c:
5511         * gst/gstinfo.c:
5512         * gst/gstutils.c:
5513         * gst/gstutils.h:
5514         * libs/gst/base/gstbasesink.c:
5515         * tools/gst-launch.c:
5516           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5517           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5518           Thanks Tim for spotting.
5519           API: gst_util_get_timestamp
5520
5521 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5522
5523         * configure.ac:
5524           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5525
5526 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5527
5528         * gst/gststructure.c: (gst_structure_validate_name),
5529           (gst_structure_new_valist), (gst_structure_parse_value),
5530           (gst_structure_from_string):
5531           Don't crash in _from_string() if the structure name is not valid
5532           (fixes #501560).  Allow structure names to start with a number
5533           again (this apparently broke the ubuntu codec installer).
5534
5535         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5536           (GST_START_TEST):
5537           Add unit test for the crash; update unit tests for new behaviour.
5538
5539 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5540
5541         * gst/gstutils.c:
5542         Clarify gst_element_get_compatible_pad() documentation.
5543         Fixes #500919.
5544
5545 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5546
5547         * tests/check/Makefile.am:
5548           Don't forget to dist {gst,libs}/struct_hppa.h.
5549
5550 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5551
5552         * libs/gst/base/gstbasesink.c:
5553           Use new API to get elapsed time.
5554
5555 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5556
5557         * gst/gstdebugutils.c:
5558         * gst/gstinfo.c:
5559           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5560
5561         * tools/gst-launch.c:
5562           Use new API to get elapsed time.
5563
5564 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5565
5566         * docs/gst/gstreamer-sections.txt:
5567         * gst/gstclock.h:
5568         * gst/gstdebugutils.c:
5569         * gst/gstinfo.c:
5570           Rename new API + ChangeLog surgery to remove old name from last entry..
5571
5572 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5573
5574         * docs/gst/gstreamer-sections.txt:
5575         * gst/gstclock.h:
5576         * gst/gstdebugutils.c:
5577         * gst/gstinfo.c:
5578           Now hide the different clock stuff behind a macro.
5579
5580 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5581
5582         * configure.ac:
5583         * gst/gstdebugutils.c:
5584         * gst/gstinfo.c:
5585           Apply the posix-timer check from #361155. Conditionally use the posix
5586           timer for logging. This gives better timestamp precission, less
5587           overhead and no ntp jitter.
5588
5589 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5590
5591         * gst/gstminiobject.c: (gst_mini_object_get_type),
5592         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5593         (gst_mini_object_finalize), (gst_mini_object_copy),
5594         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5595         (gst_mini_object_replace), (param_mini_object_validate),
5596         (gst_param_spec_mini_object_get_type):
5597         Some cleanup and checking against invalid function parameters.
5598
5599 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5600
5601         * docs/gst/gstreamer-sections.txt:
5602         * gst/gstclock.h:
5603         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5604         (gst_systemclock_suite):
5605         Start merging in the easy bits of #361155, the monotonic clock patch.
5606         This one adds a few handy macros with docs and a testsuite.
5607
5608 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5609
5610         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5611         Be a bit smarter when seeking, like, don't try to do a seek when it's
5612         not needed. This avoids errors when the file is not seekable.
5613         Fixes #499771.
5614
5615 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5616
5617         * docs/gst/gstreamer-docs.sgml:
5618         * docs/gst/gstreamer-sections.txt:
5619         * docs/gst/gstreamer.types.in:
5620         * gst/Makefile.am:
5621         * gst/gst.h:
5622         * gst/gstpreset.c:
5623         * gst/gstpreset.h:
5624         * plugins/elements/gstqueue.c:
5625           Due to popular request remove preset interface again. :-(.
5626
5627 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5628
5629         * tools/gst-inspect.c:
5630           Print 'default value' for enums and flags too.
5631
5632 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5633
5634         * docs/random/ensonic/profiling.txt:
5635           More ideas.
5636
5637         * gst/gstbin.c:
5638           Fix typo and give better log output.
5639
5640         * gst/gstdebugutils.c:
5641         * gst/gstdebugutils.h:
5642           More ideas, make graphs a bit smaller and fix param name in macro.
5643
5644 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5645
5646         * gst/gstpreset.c:
5647           Try harder to use the return value from fgets().
5648
5649 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5650
5651         * gst/gstpreset.c:
5652           For theses two fgets we handle the error below.
5653
5654 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5655
5656         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5657         Only send upstream events upstream. Fixes #498746.
5658
5659 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5660
5661         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5662
5663         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5664         (gst_identity_init), (gst_identity_transform_ip),
5665         (gst_identity_set_property), (gst_identity_get_property):
5666         * plugins/elements/gstidentity.h:
5667         Add property to disable handoff signal emission. Fixes #498694.
5668         API: GstIdentity::signal-handoffs
5669
5670 2007-11-21  Julien Moutte  <julien@fluendo.com>
5671
5672         * docs/faq/gst-uninstalled: Yet another missing library for the
5673         uninstalled script (fft)
5674
5675 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5676
5677         * docs/faq/developing.xml:
5678         Add a question about how to submit new translations.
5679
5680         * docs/random/release:
5681         Update the contact email address for the Translation Project
5682
5683         * plugins/elements/gstfdsrc.c:
5684         The parent_class for fdsrc is pushsrc, not GstElement.
5685
5686 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5687
5688         * gst/gstpreset.c:
5689           Plug a leak and fix saving.
5690
5691 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5692
5693         * docs/gst/gstreamer-sections.txt:
5694         Add new gst_preset__get_property_names() function to the docs
5695         to fix the build.
5696
5697 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5698
5699         * gst/gstpreset.c:
5700         * gst/gstpreset.h:
5701           Change _get_preset_names API to return a strv with copies. Add
5702           _get_property_names to allow implementations to filter and provide
5703           good default implementation.
5704
5705 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5706
5707         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5708         script (sdp).
5709
5710 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5711
5712         * gst/gstpreset.c:
5713           More cleanups, docs, and TODOs from comments that now slowly come in.
5714
5715 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5716
5717         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5718         search path.
5719
5720 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5721
5722         * gst/gstpreset.c:
5723           Fix bogus warning and make the property type specific code more
5724           similar.
5725
5726 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5727
5728         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5729         it build on OS X.
5730
5731 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5732
5733         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5734         (gst_bin_add_func), (gst_bin_remove_func),
5735         (gst_bin_change_state_func), (gst_bin_continue_func):
5736         Change email, cleanups add some more debug and comments.
5737         Also set bus and clock on new elements when the pipeline was in error.
5738
5739 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5740
5741         * gst/gstbin.c:
5742         * gst/gstdebugutils.c:
5743           Fix build with --disable-gst-debug. Fixes #497859.
5744           Spotted by Sameer Naik.
5745
5746 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5747
5748         * gst/gstevent.c:
5749           Little documentation improvment.
5750
5751         * gst/gstpreset.c:
5752           More TODO cleanups. Remove c++ comments.
5753
5754         * libs/gst/controller/gstcontroller.c:
5755           Add TODO and use quark from static string.
5756
5757         * tests/check/gst/gstmessage.c:
5758         * tests/check/gst/gststructure.c:
5759           Use quark from static string.
5760
5761 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5762
5763         * gst/gstpreset.c:
5764           Add some comments and TODOs.
5765
5766         * gst/gstpreset.h:
5767           Add padding for future changes.
5768
5769         * plugins/elements/gstqueue.c:
5770           Implement the iface.    
5771
5772 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5773
5774         * docs/gst/gstreamer-docs.sgml:
5775         * docs/gst/gstreamer-sections.txt:
5776         * docs/gst/gstreamer.types.in:
5777         * gst/Makefile.am:
5778         * gst/gst.h:
5779         * gst/gstpreset.c:
5780         * gst/gstpreset.h:
5781           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5782
5783 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5784
5785         * configure.ac:
5786
5787         Back to CVS
5788
5789 === release 0.10.15 ===
5790
5791 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5792
5793         * configure.ac:
5794           releasing 0.10.15, "October"
5795
5796 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5797
5798         * win32/vs6/libgstreamer.dsp:
5799         Convert line endings back to DOS.
5800
5801 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5802
5803         * docs/design/draft-tagreading.txt:
5804         * docs/random/ensonic/profiling.txt:
5805         Update fast tagreading draft and performance profiling ideas.
5806
5807 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5808
5809         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5810         Don't hold the object lock when unreffing a buffer because it could
5811         cause a deadlock when the finalize function wants to grab the object
5812         lock too. Fixes #495133.
5813
5814 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5815
5816         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5817         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5818         Also accumulate time correctly when doing reverse playback. Fixes
5819         #488201,
5820         When converting to running and stream time, use default values for
5821         start/stop/time/accum when comparing different formats. Fixes #494245.
5822
5823         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5824         Do running/stream time in TIME format.
5825
5826         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5827         (gst_segment_suite):
5828         2 new unit tests for segment accumulation.
5829
5830 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         * gst/gst.c: (init_pre):
5833         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5834           (_gst_debug_bin_to_dot_file):
5835           Move getenv() back into gst_init, so everyone can live happily
5836           ever after. Make sure the symbol isn't exported though.
5837
5838 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5839
5840         Patch by: Sebastien Moutte  <sebastien moutte net>
5841
5842         * win32/common/gstenumtypes.c:
5843         * win32/common/gstenumtypes.h:
5844           Update enum types.
5845
5846         * win32/vs6/libgstreamer.dsp:
5847           Update vs6 project files (#494343).
5848
5849 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5850
5851         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5852         (gst_base_src_perform_seek), (gst_base_src_default_event),
5853         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5854         (gst_base_src_activate_pull):
5855         Unify flushing code, remove some old unlock code that is no longer used.
5856         Take the streaming lock when seeking to avoid races. Fixes #492729.
5857         Added some more comments.
5858
5859 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5860
5861         * gst/gst.c: (_gst_disable_segtrap):
5862           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5863           we can use gst_segtrap_is_enabled() there now that we have that API.
5864           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5865           to do the getenv here (and export the variable).
5866
5867         * gst/gstdebugutils.c: (debug_dump_element),
5868           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5869           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5870
5871         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5872           (gst_debug_log_default):
5873           Rename _gst_info_start_time to priv_gst_info_start_time so it
5874           doesn't get exported (was never in any header).
5875
5876         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5877           (gst_plugin_loading_mutex):
5878           Make static mutex gst_plugin_loading_mutex really static (was never
5879           in any header), and use gst_segtrap_is_enabled() instead of
5880           _gst_disable_segtrap.
5881
5882         * gst/gsttrace.c: (_gst_trace_default):
5883           Make local _gst_trace_default static (was never in any header).
5884
5885 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5886
5887         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
5888
5889         * win32/common/libgstbase.def:
5890         * win32/common/libgstcontroller.def:
5891         * win32/common/libgstdataprotocol.def:
5892         * win32/common/libgstnet.def:
5893         * win32/common/libgstreamer.def:
5894           Add more missing symbols, remove some duplicates, and sort
5895           as the 'sort' command sorts it (partially fixes #493983).
5896
5897 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5898
5899         * gst/gstelement.c: (gst_element_set_state_func):
5900         Only change the state cookie if a different state was set on the
5901         element. See #492729.
5902
5903 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5904
5905         * gst/gstvalue.c:
5906           Remove unused and uninitialised type variables that were still
5907           exported for some reason (they were never in any header files
5908           though).
5909
5910 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5911
5912         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5913         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5914         (gst_base_sink_event), (gst_base_sink_get_position_last),
5915         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5916         (gst_base_sink_change_state):
5917         Don't try to report a 0 position when we don't know, return -1 and FALSE
5918         instead. This mostly happens when we are prerolling.
5919         Make sure we can report the right position before we post the ASYNC_DONE
5920         message so that a message handler can query position without races.
5921
5922         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5923         (async_done_handoff), (async_done_func), (send_buffer),
5924         (async_done_eos_func), (gst_sinks_suite):
5925         Add two tests for the above.
5926
5927 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5928
5929         * MAINTAINERS:
5930         Update with new email address.
5931
5932         * docs/design/part-TODO.txt:
5933         Add some more info about future pad-block and negotiation changes.
5934
5935         * docs/design/part-buffering.txt:
5936         Add some ideas about buffering reporting.
5937
5938 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
5939
5940         * tests/check/gst/gstobject.c:
5941         Disable silly racy test that always fails on this combination of CPU
5942         and kernel.
5943
5944 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
5945
5946         Patch by: Murray Cumming  <murrayc@murrayc.com>
5947
5948         * gst/gstobject.c:
5949           Corrected the registration of the parent-set and parent-unset
5950           signals: The parameter is a GstObject, not a GObject (#493134).
5951
5952 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5953
5954         * gst/gst_private.h:
5955         * gst/gstbuffer.h:
5956         * gst/gstevent.h:
5957         * gst/gstformat.h:
5958         * gst/gstmessage.h:
5959         * gst/gstplugin.h:
5960         * gst/gstquery.h:
5961         * gst/gsttaglist.h:
5962         * gst/gstvalue.h:
5963           Move declaration of private _gst_foo_initialize() functions into
5964           our private header file where they should have been all along.
5965
5966 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5967
5968         * docs/plugins/gstreamer-plugins-sections.txt:
5969         * gst/gstdebugutils.h:
5970         * gst/gstxml.h:
5971         * plugins/elements/gstqueue.c:
5972           gtk-doc fixes; trailing-comma-in-enum fix.
5973
5974 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5975
5976         * gst/gst.c: (gst_deinit):
5977           Clean up on deinit (not the external ones though, doesn't seem to be
5978           needed for some reason).
5979
5980 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5981
5982         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5983           Remove __declspec(dllimport) for MSVC that was copied over into core
5984           from a plugin, obviously without ever having been tested (note the
5985           single underscore in _declspec in the initial commit), and that doesn't
5986           really make sense.  See #492077.
5987
5988 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
5989
5990         * gst/gst.c: (init_post):
5991         * gst/gstevent.c: (_gst_event_initialize):
5992         * gst/gstquery.c: (_gst_query_initialize):
5993         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5994           g_type_class_ref() other types as well, see #349410 and #64764.
5995
5996         * gst/gstbuffer.c: (_gst_buffer_initialize):
5997         * gst/gstmessage.c: (_gst_message_initialize):
5998           Simplify existing g_type_class_ref().
5999
6000 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6001
6002         * gst/gstformat.c: (_gst_format_initialize):
6003           g_type_class_ref() our GstFormat type to make sure we avoid the
6004           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6005           bug #64764. Should fix intermittent tee unit test failures (#474823).
6006
6007 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6008
6009         * tests/check/elements/tee.c: (test_num_buffers):
6010           Simplify, simplify, simplify - or not.  Rewrite unit test
6011           not to use gst_parse_launch(); allow N sub-streams. Increasing
6012           the number of sub-streams seems to reproduce #474823 more easily.
6013
6014 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6015
6016         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6017
6018         * gst/gsttrace.c:
6019         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6020         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6021         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6022           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6023           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6024           so use _pipe() directly (#492077).
6025
6026         * win32/common/dirent.c: (_treaddir):
6027           Add a couple of casts to make it build without warnings with MSVC.
6028
6029         * win32/common/libgstreamer.def:
6030           Add some more symbols that need to be exported.
6031
6032 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6033
6034         * tests/examples/metadata/read-metadata.c: (message_loop):
6035           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6036           arriving in a second or third tag message are added to
6037           the tag list as well.
6038
6039 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6040
6041         * libs/gst/base/gstbasesrc.c:
6042           Its "Since:" and not "@Since:". And remove an superflous cast.
6043
6044 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6045
6046         * docs/libs/gstreamer-libs-sections.txt:
6047         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6048         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6049         (gst_base_sink_get_property), (gst_base_sink_render_object),
6050         (gst_base_sink_preroll_object),
6051         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6052         (gst_base_sink_change_state):
6053         * libs/gst/base/gstbasesink.h:
6054         Add a new last-buffer property that contains the last buffer used in
6055         basesink for preroll or rendering. useful for making snapshots.
6056         API: gst_base_sink_get_last_buffer()
6057         API: GstBaseSink::last-buffer
6058
6059 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6060
6061         * docs/gst/running.xml:
6062         * gst/gst.c:
6063         * gst/gstdebugutils.c:
6064         * gst/gstdebugutils.h:
6065         * tools/gst-launch.c:
6066           Improve bin graph dumping, by using the envvar to specify a path.
6067           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6068
6069 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6070
6071         * plugins/elements/gsttypefindelement.c:
6072           (gst_type_find_element_handle_event),
6073           (gst_type_find_element_activate):
6074           Post special error message if we can't determine the type of a stream
6075           because it's empty.
6076
6077 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6078
6079         * docs/gst/running.xml:
6080         * gst/gstdebugutils.c:
6081           Document new env-var. Add one log-line after dumpng a graph.
6082
6083 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6084
6085         * configure.ac:
6086           Ugly hack to put the (recently removed and non-portable, apparently)
6087           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6088           GNU ld, because without that 'make check' fails miserably on my debian
6089           stable box.  Someone with more knowledge of linker intricacies and
6090           portability issues than me fix this properly please.
6091
6092 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6093
6094         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6095         Reset last seen position after flushing so that we don't report the old
6096         position anymore.
6097
6098 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6099
6100         * gst/gstelementfactory.c: (gst_element_register):
6101         * gst/gsturi.h:
6102         Patch from Alessandro Decina adding get_type_full and
6103         get_protocols_full private vfuncs to the URIHandler interface
6104         to allow bindings to support creating URI handlers. 
6105         Partially fixes: #339279
6106         API: GstURIHandlerInterface::get_type_full
6107         API: GstURIHandlerInterface::get_protocols_full
6108
6109 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6110
6111         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6112         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6113         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6114         Make it so that pads are considered linked until a buffer is pushed
6115         and discovered otherwise. This avoids problems with decodebin2 hanging
6116         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6117         case.
6118
6119         Make sure we lock the multiqueue when updating the max-size properties.
6120         
6121         Fix a crash on Solaris in a debug statement in get_request_pad that
6122         passes a NULL string to GST_DEBUG. 
6123
6124         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6125         (run_output_order_test):
6126         Fix the test to allow the first buffer on not-linked pads to come out
6127         of sequence while multiqueue discovers that they are not-linked.
6128
6129 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6130
6131         * configure.ac:
6132         * libs/gst/check/Makefile.am:
6133         Use a custom export symbol regex for libgstcheck, as it needs
6134         to export symbols that don't match the standard GStreamer gst_*
6135         pattern, and  --export-dynamic is not portable (only works on 
6136         GNU ld)
6137
6138         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6139         (gst_check_setup_sink_pad):
6140         Make sure to pass a message parameter to the fail_* macros.
6141
6142         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6143         Fix some compiler warnings.
6144
6145 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6146
6147         * tests/check/gst/gststructure.c: (test_to_string):
6148           Disable test that checks that white spaces are not allowed
6149           in structure names or field names, since we need to
6150           support that for now for backwards compatibility reasons.
6151
6152 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6153
6154         * docs/gst/gstreamer-sections.txt:
6155         * gst/gsttaglist.c:
6156         * gst/gsttaglist.h:
6157           API: add GST_TAG_ARTIST_SORTNAME
6158           API: add GST_TAG_ALBUM_SORTNAME
6159           API: add GST_TAG_TITLE_SORTNAME
6160           Add tag variants for sorting (#414539).
6161
6162 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * gst/gststructure.c:
6165           Also allow white space for names so we don't break
6166           backwards compatibility.
6167
6168 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6169
6170         * docs/design/part-TODO.txt:
6171         * docs/design/part-segments.txt:
6172         * docs/design/part-streams.txt:
6173         Small updates.
6174
6175 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6176
6177         * docs/gst/gstreamer-sections.txt:
6178          Fixed documentation from my previous commit (added new API add
6179          gst_value_set_structure(), add gst_value_get_structure() and
6180          GST_VALUE_HOLDS_STRUCTURE).
6181
6182 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6183
6184         * gst/gstdebugutils.c:
6185           Reflow code to fix uninitialized variable warning.
6186
6187 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6188
6189         * gst/gstcaps.c: (gst_caps_to_string),
6190         (gst_caps_from_string_inplace):
6191         * gst/gststructure.c: (gst_structure_get_abbrs),
6192         (gst_structure_to_string), (gst_structure_from_string):
6193         * gst/gstvalue.c: (gst_value_set_structure),
6194         (gst_value_get_structure), (gst_value_serialize_structure),
6195         (gst_value_deserialize_structure), (_gst_value_initialize):
6196         * gst/gstvalue.h:
6197         * tests/check/gst/gststructure.c: (GST_START_TEST),
6198         (gst_structure_suite):
6199         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6200          Added GstStructure to gst_value_table and its related functions.
6201          Changed gst_structure_to_string to print ';' in the end.
6202          Changed gst_caps_to_string to not print ';' beteween its
6203          fields (structures) anymore and remove the lastes ';' from latest
6204          structure. Now it is possible to have nested structures.
6205          In addition, backward compatibilty is assured by accepting '\0' as
6206          end delimiter. Fixes: #487969.
6207          API: add gst_value_set_structure()
6208          API: add gst_value_get_structure()
6209          API: add GST_VALUE_HOLDS_STRUCTURE
6210
6211 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6212
6213         * gst/gstbus.c:
6214           When no GSource callback has been set up, tell developer
6215           to use a function that actually exists.
6216
6217 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6218
6219         * docs/gst/gstreamer-sections.txt:
6220         * gst/Makefile.am:
6221         * gst/gst.c:
6222         * gst/gst.h:
6223         * gst/gstdebugutils.c:
6224         * gst/gstdebugutils.h:
6225         * gst/gstinfo.c:
6226         * gst/gstinfo.h:
6227         * tools/gst-launch.c:
6228           Allow dumping pipelines as dot graphs. Fixes #456573.
6229
6230 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6231
6232         * gst/gststructure.c:
6233           Allow '+' as well, it can be part of media or mime types
6234           such as image/svg+xml.
6235
6236 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6237
6238         * docs/gst/gstreamer-sections.txt:
6239         * gst/gstbus.c:
6240         * gst/gstbus.h:
6241           API: add gst_bus_pop_filtered
6242           API: add gst_bus_timed_pop_filtered
6243           Two new functions for waiting for specific message types on the
6244           bus for a specified amount of time without iterating any main
6245           loops or main contexts.
6246
6247         * tests/check/gst/gstbus.c:
6248           Some tests for the new functions.
6249
6250 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6251
6252         * docs/libs/gstreamer-libs-sections.txt:
6253           Make gtk-doc ignore stuff it should ignore.
6254
6255 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6256
6257         * libs/gst/check/gstcheck.c:
6258         * libs/gst/check/gstcheck.h:
6259           Allow runtime selection of unit tests to run via the GST_CHECKS
6260           environment variable (test case function names, comma-separated).
6261
6262 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6263
6264         * gst/gststructure.c:
6265         * tests/check/gst/gststructure.c:
6266           Revert serialisation change and constrain structure-names after
6267           consensus on irc. Update api documentation to reflect the change.
6268
6269 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6270
6271         * gst/gststructure.c:
6272           Improve serialization and fix tests.
6273
6274         * tests/check/gst/gststructure.c:
6275           Add another test that covers why I actually did the previous structure
6276           change.
6277
6278 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6279
6280         * tools/gst-inspect.c: (print_element_info):
6281         Don't crash when inspecting an element.
6282
6283 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6284
6285         * tests/check/gst/gststructure.c:
6286           Add unit test for escaping of structure name when serialising
6287           and deserialising to/from strings.
6288
6289 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6290
6291         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6292         (gst_single_queue_new):
6293         * plugins/elements/gstqueue.c: (gst_queue_init),
6294         (gst_queue_push_one):
6295         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6296         upstream is tricked into thinking it can suggest a format downstream
6297         while downstream does not support that format. The real problem is that
6298         core calls acceptcaps when pushing a buffer with new caps, for which we
6299         do a little workaround by setting the caps on the srcpad ourselves
6300         before pushing the buffer (until this is figured out). Fixes #486758.
6301
6302 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6303
6304         * gst/gststructure.c:
6305         * gst/gstvalue.c:
6306           Add some more comments and debug output. Quote structure name to fix
6307           deserialisation of some strings.
6308
6309 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6310
6311         * gst/gstbuffer.h:
6312           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6313           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6314
6315 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6316
6317         * tools/gst-inspect.c:
6318           Save approx. 400 1 byte allocs when printing. Use API to acces element
6319           details.
6320
6321         * tools/gst-run.c:
6322           Avoid a strdup.
6323
6324         * tools/gst-xmlinspect.c:
6325           Use API to acces element details.
6326
6327 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6328
6329         * gst/gstinfo.c:
6330           Fix some spelling errors.
6331
6332 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6333
6334         * gst/gstbin.c: (bin_handle_async_done):
6335         Correctly set the next state if all of our async children commited their
6336         state. This makes sure we can actually cancel the state change in
6337         progress. Fixes a regression in Rhythmbox when seeking.
6338
6339 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6340
6341         * gst/gstbin.c:
6342           Don't shadow local variable.
6343
6344         * gst/gstinfo.c:
6345           Don't shadow global function name.
6346
6347 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6348
6349         * gst/gstelementfactory.c:
6350         * gst/gstpluginfeature.c:
6351         * gst/gstpluginfeature.h:
6352         * gst/gstregistrybinary.c:
6353         * gst/gstregistryxml.c:
6354         * gst/gsttypefind.c:
6355           Use already-interned string for the private GstPluginFeature
6356           plugin_name field.
6357
6358 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6359
6360         * docs/libs/gstreamer-libs-sections.txt:
6361           Add new API to docs; fixes the build.
6362
6363 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6364         
6365         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6366
6367         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6368         (gst_base_sink_event):
6369         * libs/gst/base/gstbasesink.h:
6370         Add function to wait for EOS, subclasses can use this to correctly wait
6371         for devices to drain before performing the EOS logic. Fixes #485343.
6372         API: gst_base_sink_wait_eos()
6373
6374 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6375
6376         * gst/gstplugin.h:
6377           Cast description string constants in GST_PLUGIN_DEFINE macros
6378           to a (gchar*) to make C++ code using these macros compile
6379           without warning with g++-4.2 (see #462737).  Even if slightly
6380           ugly, this seems preferable to putting the description strings
6381           into the GLib quark table or making the structure member a
6382           const gchar * and doing casts in core code that allocs and
6383           frees these strings, or requiring a cast in the C++ code.
6384
6385 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6386
6387         * gst/gstinfo.h:
6388           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6389           to print the entire class/function signature into the log
6390           file for C++ code.  This only affects C++ code, for C code
6391           everything remains the same.
6392
6393 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6394
6395         * gst/gstbin.c: (remove_from_queue):
6396         Work around a problem with pipelines containing (semi)loops until a
6397         proper, more complicated solution is ready. See #475455.
6398
6399 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6400
6401         * gst/gstplugin.c:
6402         * gst/gstplugin.h:
6403         * gst/gstregistrybinary.c:
6404         * gst/gstregistryxml.c:
6405           Put more strings into the GLib quark table. No need to keep
6406           a hundred-something copies of identical version strings,
6407           license strings, package name strings and package origin
6408           strings around. 
6409
6410 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6411
6412         * docs/manual/advanced-dataaccess.xml:
6413           Don't imply that it's okay to unconditionally change
6414           buffer data or buffer metadata in a pad probe callback,
6415           and a bunch of other comments. Fixes #430031.
6416
6417 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6418
6419         * win32/common/gstenumtypes.c:
6420         * win32/common/gstenumtypes.h:
6421         * win32/common/gstversion.h:
6422           Update generated files.
6423
6424 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6425
6426         * docs/manual/advanced-autoplugging.xml:
6427           Prefix section with broken code with a warning (see #342432).
6428
6429 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6430
6431         * docs/manual/appendix-integration.xml:
6432         * docs/manual/basics-init.xml:
6433           Call g_thread_init() before g_option_context_new() to
6434           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6435
6436 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6437
6438         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6439         (gst_base_sink_queue_object_unlocked),
6440         (gst_base_sink_queue_object), (gst_base_sink_event),
6441         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6442         When we received EOS and are waiting for when to post the EOS message,
6443         our state is prerolled and we should not return ASYNC.
6444         Reorganize some code paths to implement this behavior.
6445
6446         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6447         (gst_sinks_suite):
6448         Add unit test to verify above EOS fix.
6449
6450 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6451
6452         * plugins/elements/gsttypefindelement.c:
6453         (gst_type_find_element_have_type), (gst_type_find_element_init),
6454         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6455         Move detecting the input caps of the sinkpad to the setcaps function.
6456         This allows us to update the output caps when we receive new input caps
6457         instead of always using the first detected caps.
6458
6459 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6460
6461         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6462         (gst_base_sink_get_position):
6463         Don't try to preroll non-async elements after a flush.
6464         Subtract latency form clock times when reporting position.
6465
6466 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6467
6468         * gst/gstpad.c: (gst_pad_pause_task):
6469         * gst/gstutils.c:
6470         Small comment and documentation update.
6471
6472 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6473
6474         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6475         (gst_base_src_set_live), (gst_base_src_is_live),
6476         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6477         (gst_base_src_default_event), (gst_base_src_wait),
6478         (gst_base_src_do_sync), (gst_base_src_get_range),
6479         (gst_base_src_pad_get_range), (gst_base_src_loop),
6480         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6481         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6482         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6483         (gst_base_src_change_state):
6484         Rework the locking of basesrc in a similar fashion to basesink. We
6485         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6486         us to handle live sources and semi live ones much better.
6487         Simplify flushing.
6488         Fix unlocking when seeking, shutting down and pausing in live sources.
6489
6490 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6491
6492         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6493         Fix compilation again.
6494
6495 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6496
6497         * gst/gstelement.c:
6498           Use meaningful categories for the logs to clean the default one.
6499
6500 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6501
6502         * tests/check/pipelines/cleanup.c:
6503           Print message name and not just number.
6504
6505 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6506
6507         * docs/design/draft-tagreading.txt:
6508           Add some more thoughts.
6509
6510 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6511
6512         * tests/check/pipelines/simple-launch-lines.c:
6513           Print message name and not just number.
6514
6515 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6516
6517         * libs/gst/base/gsttypefindhelper.c:
6518           Speedup typefinding. This is work in progress (see #459862).
6519
6520 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6521
6522         * gst/gstplugin.c:
6523           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6524           Spotted by Josep Torra Valles <josep@fluendo.com>.
6525
6526 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6527
6528         * gst/gstclock.h:
6529           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6530           field has moved to GstObject.
6531
6532 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6533
6534         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6535         (gst_base_src_get_range), (gst_base_src_change_state):
6536         Call unlock for live sources so that they can't get stuck in _create and
6537         produce a buffer before they are set back to PLAYING.
6538
6539 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6540
6541         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6542         (gst_queue_locked_dequeue):
6543         Comment the segment-related code... in the PROPER function.
6544         See #482147 and my commit from yesterday.
6545
6546 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6547
6548         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6549         Also initialize the counter that calculates the first timestamp on a
6550         buffer correctly for non-live sources.
6551
6552 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6553
6554         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6555         Disable code that's breaking the current-time-level reporting.
6556         See #482147
6557
6558 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6559
6560         * docs/gst/gstreamer-sections.txt:
6561         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6562         as they shouldn't show up. Fixes the docs build.
6563
6564 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6565         
6566         * gst/gstinfo.h:
6567         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6568         Define M_PI which is used in files which are including gstinfo.h. 
6569         VS6 includes doesn't define it.
6570         * win32/common/libgstbase.def:
6571         * win32/common/libgstcontroller.def:
6572         * win32/common/libgstreamer.def:
6573         Add new exported functions and variables.
6574         * win32/vs6/libgstcontroller.dsp:
6575         * win32/vs6/libgstreamer.dsp:
6576         Update the list of files to build.
6577         
6578 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6579
6580         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6581
6582         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6583         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6584         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6585         Improve debugging. Fixes #480858.
6586
6587 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6588
6589         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6590
6591         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6592         First patch of code cleanups, use the macros and right arguments in the
6593         macros to signal and lock the queue. See #480858.
6594
6595 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6596
6597         * gst/gstbus.c: (poll_func):
6598         Improve debugging when dealing with _poll().
6599
6600 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6601
6602         * gst/gstregistryxml.c:
6603           Fix memory leak I introduced a few days ago.
6604
6605 2007-09-26  Michael Smith <msmith@fluendo.com>
6606
6607         * gst/gstbuffer.c: (gst_buffer_finalize):
6608           Make it once again possible to free GstBuffers in the default
6609           build.
6610           The poisoning scribbles on parts of the miniobject we need in
6611           order to free it.
6612           Fixes #480341
6613
6614 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6615
6616         * docs/gst/gstreamer-sections.txt:
6617         * gst/gsttaglist.c:
6618         * gst/gsttaglist.h:
6619         API: add GST_TAG_COMPOSER, fixes #459809.
6620
6621 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6622
6623         * gst/gstplugin.c:
6624         * gst/gstplugin.h:
6625         Add the 3-clause BSD license and the MIT/X11 license to the license
6626         list. Fixes #479784.
6627
6628 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6629
6630         * docs/faq/getting.xml:
6631           Add Q+A about different GStreamer versions (#364056).
6632
6633 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6634
6635         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6636         (gst_base_sink_event), (gst_base_sink_change_state):
6637         Return correct gboolean from query function.
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_query),
6643         (gst_base_sink_change_state):
6644         Simplify latency query.
6645         When not synchronizing, we can report latency without querying the peer
6646         element.
6647
6648 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6649
6650         * gst/gstobject.h:
6651         * gst/gstvalue.c:
6652         Fix small typos in the docs.
6653
6654 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6655
6656         * docs/design/draft-latency.txt:
6657         * docs/design/draft-push-pull.txt:
6658         * docs/design/draft-tagreading.txt:
6659         * docs/design/part-MT-refcounting.txt:
6660         * docs/design/part-activation.txt:
6661         * docs/design/part-block.txt:
6662         * docs/design/part-element-source.txt:
6663         * docs/design/part-events.txt:
6664         * docs/design/part-gstbin.txt:
6665         * docs/design/part-gstelement.txt:
6666         * docs/design/part-gstobject.txt:
6667         * docs/design/part-gstpipeline.txt:
6668         * docs/design/part-messages.txt:
6669         * docs/design/part-preroll.txt:
6670         * docs/design/part-push-pull.txt:
6671         * docs/design/part-qos.txt:
6672         * docs/design/part-query.txt:
6673         * docs/design/part-scheduling.txt:
6674         * docs/design/part-seeking.txt:
6675         * docs/design/part-segments.txt:
6676         * docs/design/part-states.txt:
6677         Documentation updates and typo fixes.
6678
6679 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6680
6681         * plugins/elements/gstfakesink.c:
6682           Add some debug text to error message to indicate that
6683           we errored out on request.
6684
6685         * tools/gst-launch.c:
6686           When the state change to PLAYING fails, check for an
6687           error message on the bus and print it.
6688
6689 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6690
6691         translated by: Jorge González González <aloriel@gmail.com>
6692
6693         * po/LINGUAS:
6694         * po/es.po:
6695           Added Spanish translation.
6696
6697 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6698
6699         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6700         Fix printf arguments.
6701
6702 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6703
6704         * tests/check/generic/states.c:
6705           Improved state change unit test.
6706
6707 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6708
6709         * gst/gstbin.h:
6710           Move priv to the right place.
6711
6712         * gst/gstsystemclock.c:
6713           Add FIXME: and improve log.
6714
6715         * tests/check/Makefile.am:
6716         * tests/examples/manual/Makefile.am:
6717           Work with all types of registries.
6718
6719 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6720
6721         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6722         Don't unref the event after pushing it. Fixes #478401.
6723
6724 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6725
6726         * .cvsignore:
6727         * tests/examples/manual/.cvsignore:
6728           Ignore registries in any format.
6729
6730 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6731
6732         * gst/glib-compat-private.h:
6733           Add compatibility macro for g_intern_string() for
6734           GLib-2.8 (any reason we can't just bump the
6735           requirement to at least 2.10?)
6736
6737         * gst/gstpadtemplate.h:
6738         * gst/gstelementfactory.c:
6739         * gst/gstregistryxml.c:
6740         * gst/gstregistrybinary.c:
6741           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6742           up the internal code accordingly.  This shouldn't be a problem, since
6743           there is no reason external code could ever assume the string in such
6744           a structure is dynamically allocated unless it did that itself;  the
6745           use of g_strdup() is private to element factories.  The new code also
6746           saves some memory by putting pad template name strings into the GLib
6747           quark table instead of allocating them dynamically.
6748           Declaring this field constant fixes warnings with g++-4.2 when using
6749           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6750
6751 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6752
6753         * gst/gstelementfactory.c:
6754           Release static caps. Fixes #475723.
6755
6756 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6757
6758         * gst/gstinfo.c:
6759         * gst/gstinfo.h:
6760           Make some internal API take const gchar * instead of just
6761           gchar * to avoid compiler warnings with g++-4.2.2 when
6762           passing string constants (partially fixes #478092).
6763
6764 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6765
6766         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6767         A latency query fails when one of the sinks fail.
6768
6769         * gst/gstelement.c: (gst_element_set_base_time):
6770         Improve debugging.
6771
6772 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6773
6774         * gst/gstbin.c: (gst_bin_continue_func):
6775         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6776         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6777         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6778
6779         Fix minor compilation warnings shown with Forte.
6780
6781 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6782
6783         * plugins/elements/gstqueue.c: (apply_buffer),
6784         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6785         Measure queue level based on the diff between head and tail timestamps
6786         even when pushing the first buffer.
6787
6788 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6789
6790         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6791         (gst_base_sink_event), (gst_base_sink_change_state):
6792         Sinks that don't preroll can always be queried for the latency.
6793         Don't post ASYNC start when we are not async.
6794
6795 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6796
6797         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6798         (gst_queue_handle_sink_event), (gst_queue_chain),
6799         (gst_queue_push_one), (gst_queue_handle_src_query),
6800         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6801         * plugins/elements/gstqueue.h:
6802         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6803         push more buffers but allow pushing of EOS and NEWSEGMENT.
6804         Add some more debug info here and there. Fixes #476514.
6805
6806 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6807
6808         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6809         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6810         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6811         (gst_base_sink_set_flushing), (gst_base_sink_query),
6812         (gst_base_sink_change_state):
6813         Latency query is allowed after we are prerolled. Introduce a new flag
6814         for this and stop abusing other variables.
6815
6816 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6817
6818         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6819         Push OOB events downstream when we get them in send_event. This allows
6820         the application to insert events in the pipeline.
6821         Add some more comments.
6822
6823 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6824
6825         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6826         (do_bin_latency), (gst_bin_change_state_func):
6827         * gst/gstpipeline.c: (gst_pipeline_change_state):
6828         Move latency query from GstPipeline to GstBin so that we can also
6829         use it when async-handling is enabled on bins.
6830
6831 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6832
6833         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6834         (gst_base_src_do_sync), (gst_base_src_change_state):
6835         Update docs.
6836         Clean up the timestamping and syncing code for pseudo live sources.
6837
6838 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6839
6840         Patch by: Steve Fink  <sphink gmail com>
6841
6842         * docs/manual/appendix-checklist.xml:
6843           Mention less -R switch in the section about debug output (#474055).
6844
6845 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6846
6847         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6848         Queue can latency to the pipeline up to the configured max size in time.
6849         Report this fact in the latency query.
6850
6851 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6852
6853         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6854
6855         * libs/gst/controller/gstinterpolation.c:
6856         * libs/gst/controller/gstlfocontrolsource.c:
6857         Use gst_guint64_to_gdouble() when converting from a uint64 or
6858         GstClockTime to double to fix the build on win32. Fixes #474371.
6859
6860 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6861
6862         * gst/gstbuffer.c: (gst_buffer_finalize):
6863         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6864         When finalizing a buffer the complete struct is filled with 0xff,
6865         thus making a use of the buffer after the final unref impossible.
6866
6867 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6868
6869         * tests/check/libs/controller.c: (GST_START_TEST):
6870         Use fail_unless_equals_int(a, b) instead of
6871         fail_unless_equals (a == b) to get better output on failures.
6872
6873 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6874
6875         * tests/check/gst/gsturi.c:
6876           Also check for the other file URI variant on win32.
6877
6878 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
6879
6880         * gst/gsturi.c: (gst_uri_get_location):
6881           If there's no hostname, we want to return 'c:/foo/bar.txt'
6882           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6883
6884         * tests/check/gst/gsturi.c:
6885           Unit test for the above and a few more things.
6886
6887 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6888
6889         * docs/design/part-live-source.txt:
6890         Add docs on how live sources should timestamp.
6891
6892         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6893         Add some more debug info.
6894         For subclasses that are live and like to sync, add aditional startup
6895         latency to sync time and timestamps so that we timstamp according to the
6896         design doc.
6897
6898 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6899
6900         * gst/gstbuffer.c:
6901           Also do a g_type_class_ref() for the subbuffer type in
6902           the init function.
6903
6904 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
6905
6906         * docs/gst/gstreamer-sections.txt:
6907         * gst/gstpad.c: (gst_pad_peer_query):
6908         * gst/gstpad.h:
6909         Add function to perform a query on the peer of a pad.
6910         API: gst_pad_peer_query()
6911
6912 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
6913
6914         * tests/check/gst/gstsystemclock.c:
6915           Cleanup the test a little (use gst-logging and not g_message). Improve
6916           test to check if a wait reached the target.
6917
6918 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
6919
6920         * docs/libs/gstreamer-libs-sections.txt:
6921           Add new API to docs and fix the build.
6922
6923 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
6924
6925         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6926         (gst_base_src_init), (gst_base_src_set_do_timestamp),
6927         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6928         (gst_base_src_get_property), (gst_base_src_do_sync):
6929         * libs/gst/base/gstbasesrc.h:
6930         Add property to make the basesrc timestamp buffers based on the current
6931         running time.
6932         API: GstBaseSrc::do-timestamp
6933         API: gst_base_src_set_do_timestamp()
6934         API: gst_base_src_get_do_timestamp()
6935
6936 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
6937
6938         * docs/random/release:
6939           Really make sure translations are up-to-date before
6940           a release (#465010).
6941
6942 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
6943
6944         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6945         Always destroy the timer, also in error cases.
6946
6947 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6948
6949         * docs/manual/highlevel-xml.xml:
6950         Fix XML example code. Fixes #472714.
6951
6952 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
6953
6954         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6955         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6956         (gst_base_sink_query):
6957         Protect eos and have_preroll with the OBJECT lock so we don't need to
6958         take the PREROLL lock when querying the latency. Fixes #473846.
6959
6960 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
6961
6962         * gst/gstelement.c:
6963           Give some log-messages a category.
6964
6965 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
6966
6967         * gst/gststructure.c:
6968         (gst_structure_fixate_field_nearest_fraction):
6969         Fix fraction list fixation code. Take the fraction with the smallest
6970         difference with the target instead of the first one in the list.
6971
6972         * tests/check/gst/gststructure.c: (GST_START_TEST),
6973         (gst_structure_suite):
6974         Added test to verify correct fraction list fixation behaviour.
6975
6976 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
6977
6978         * win32/common/libgstreamer.def:
6979           Export gst_bus_add_signal_watch too.
6980
6981 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
6982
6983         * docs/libs/gstreamer-libs-sections.txt:
6984         Add new methods to docs.
6985
6986         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6987         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6988         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6989         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6990         * libs/gst/base/gstbasesink.h:
6991         Add ts-offset property to fine-tune the synchronisation.
6992         API: GstBaseSink::ts-offset property
6993         API: gst_base_sink_set_ts_offset()
6994         API: gst_base_sink_get_ts_offset()
6995
6996 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
6997
6998         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6999         (gst_base_sink_init), (gst_base_sink_set_sync),
7000         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7001         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7002         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7003         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7004         (gst_base_sink_get_property), (gst_base_sink_change_state):
7005         * libs/gst/base/gstbasesink.h:
7006         Add async property to instruct the sink never to inform the parent about
7007         ASYNC state changes, update docs.
7008         Check argument with g_return_* for the public functions.
7009         API: GstBaseSink::async property
7010         API: gst_base_sink_set_async_enabled()
7011         API: gst_base_sink_is_async_enabled()
7012
7013 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7014
7015         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7016         Improve debugging.
7017
7018         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7019         (gst_base_src_default_query), (gst_base_src_wait),
7020         (gst_base_src_do_sync), (gst_base_src_change_state):
7021         Rearrange some code so that we can add support for measuring the 
7022         startup latency.
7023
7024 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7025
7026         * docs/random/ensonic/dynlink.txt:
7027           More thoughs on this.
7028
7029         * plugins/elements/gstcapsfilter.c:
7030           Add bugzilla ticket number to FIXME comment.
7031
7032 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7033
7034         * docs/design/part-TODO.txt:
7035         * docs/design/part-block.txt:
7036         Update some docs.
7037
7038 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7039
7040         * gst/Makefile.am:
7041           Revert patch which uses $(gst_headers) instead of $^ because it
7042           breaks make dist.
7043
7044 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7045
7046         * tests/check/gst/gstbin.c: (GST_START_TEST):
7047           Fix leaks in the new unit test.
7048
7049 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7050
7051         * gst/gst.c:
7052           Don't use GST_INFO before the debug system is actually initialised
7053           (shouldn't do any harm, but won't print anything either, so we can
7054           just as well remove it).
7055
7056         * gst/gstinfo.h:
7057           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7058           compilers that don't support variadic macros (such as MSVC), should
7059           check for debug_level <= __gst_debug_min as well, since that's the
7060           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7061           inline helper functions. Should improve performance a bit, but also
7062           makes sure uses of GST_INFO et.al are ignored if the debugging
7063           system isn't initialised yet (instead of printing an assertion
7064           failure).
7065
7066 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7067
7068         patch by: David Nečas <yeti@physics.muni.cz>
7069
7070         * gst/Makefile.am:
7071           Replace some non portable makefile constructs.
7072
7073 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7074
7075         * common/gtk-doc-plugins.mak:
7076           Grrrrr. Don't remove the types file on make clean.
7077
7078 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7079
7080         * tools/gst-launch.1.in:
7081         Add colorspace to example pipeline. Fixes #458274.
7082
7083 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7084
7085         * docs/random/release:
7086           The release manager should run 'make download-po' before making a
7087           release to make sure translations are up-to-date.
7088
7089         * po/LINGUAS:
7090         * po/be.po:
7091         * po/pl.po:
7092         * po/rw.po:
7093           Add some new translations.
7094
7095 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7096
7097         * tools/gst-launch.c: (event_loop), (main):
7098         Don´t try to do any state management when a live pipeline posts
7099         buffering messages.
7100         Also make the buffering string translatable.
7101
7102 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7103
7104         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7105         (bin_handle_async_start), (gst_bin_handle_message_func):
7106         Improve debugging.
7107         When adding elements, insert messages into the bus of the newly added
7108         element and make sure the element is the source of the message. This
7109         allows the parent bin to intercept the message and do the
7110         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7111         messages to the app (which is not allowed).
7112         Update some docs.
7113
7114         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7115         Fix testsuite so that is does not work around messages that should not
7116         have been posted in the first place.
7117
7118 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7119
7120         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7121         (update_degree), (gst_bin_sort_iterator_next):
7122         Fix annoying bug in the sorted iterator where a sink that is not really
7123         a sink (when it has downstream links) screwed up the iterator.
7124
7125         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7126         Unit test to verify the fix.
7127
7128 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7129
7130         * gst/gstmessage.h:
7131         Add some more docs for the messages.
7132
7133         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7134         (gst_base_sink_query):
7135         Add some more debugging.
7136
7137         * tools/gst-launch.c: (event_loop):
7138         When interrupting, don't try to set pipeline to PAUSED twice.
7139
7140 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7141
7142         
7143         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7144         (bin_handle_async_start), (gst_bin_handle_message_func):
7145         Move ASYNC_START message posting to where it belongs, similar to
7146         async_done. 
7147         Don't post ASYNC_START when we are in error. 
7148         Post ASYNC_START when we added an async element to a bin.
7149
7150 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7151
7152         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7153         generation from vargs. Fixes #466595.
7154
7155 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7156
7157         * gst/gstbin.c: (gst_bin_element_set_state):
7158         Always change the state of a NO_PREROLL element even if it has ASYNC
7159         elements inside (in case of a bin).
7160
7161         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7162         Unit test for this case.
7163
7164 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7165
7166         * libs/gst/check/gstbufferstraw.c:
7167         * libs/gst/check/gstcheck.h:
7168         * libs/gst/controller/gstcontroller.c:
7169         * libs/gst/controller/gstcontrolsource.h:
7170         * libs/gst/controller/gstlfocontrolsource.h:
7171         * plugins/elements/gstcapsfilter.h:
7172         * plugins/elements/gstfdsink.h:
7173         * plugins/elements/gstfdsrc.h:
7174           Add more missing docs.
7175
7176 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7177
7178         * gst/gststructure.c:
7179         Add Since tag to docs.
7180
7181 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7182
7183         * docs/gst/gstreamer-sections.txt:
7184         * gst/gststructure.c: (gst_structure_get_uint):
7185         * gst/gststructure.h:
7186         Add function to get uint from a structure.
7187         API: gst_structure_get_uint()
7188
7189 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7190
7191         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7192         (gst_caps_intersect):
7193         Fix proper check for simple caps.
7194
7195 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7196
7197         * docs/gst/Makefile.am:
7198         * docs/libs/Makefile.am:
7199           Remove cruft and do some cleanups.
7200
7201         * docs/gst/gstreamer-docs.sgml:
7202         * docs/libs/gstreamer-libs-docs.sgml:
7203           Prepare for comming gtkdoc features (rebase against online docs).
7204
7205 2007-08-10  Michael Smith <msmith@fluendo.com>
7206
7207         * docs/gst/gstreamer-sections.txt:
7208           Add gst_registry_add_path to docs.
7209
7210 2007-08-10  Michael Smith <msmith@fluendo.com>
7211
7212         * gst/gstregistry.h:
7213           Add gst_registry_add_path, which was missing from this header.
7214
7215 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7216
7217         * libs/gst/controller/gstlfocontrolsource.c:
7218           Printf format fix.
7219
7220 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7221
7222         * libs/gst/base/gstbasesink.c:
7223           Don't send an async_start message during downwards state change if 
7224           target state is less than READY
7225
7226 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7227
7228         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7229
7230         * po/LINGUAS:
7231         * po/hu.po:
7232           Added Hungarian translation.
7233
7234 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7235
7236         * po/fi.po:
7237         * po/it.po:
7238         * po/nl.po:
7239         * po/sv.po:
7240         * po/uk.po:
7241           Updated translations.
7242
7243 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7244
7245         * libs/gst/controller/Makefile.am:
7246         Dist gstlfocontrolsourceprivate.h
7247
7248 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7249
7250         * docs/libs/gstreamer-libs.types:
7251         Don't register the enum type gst_lfo_waveform_get_type() in the
7252         .types file - only GObject derived types belong.
7253
7254 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7255
7256         Patch by: <arenevier at fdn dot fr>
7257
7258         * gst/gstbuffer.h:
7259         Remove comma from last element in enum to avoid compile errors when
7260         using -pendantic. Fixes #464366.
7261
7262 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7263
7264         * docs/design/part-TODO.txt:
7265         Add some more TODO items
7266
7267         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7268         Improve debugging.
7269
7270         * gst/gstcaps.c: (gst_caps_intersect):
7271         Optimize trivial intersection case between identical caps pointers.
7272
7273         * gst/gstelement.c: (gst_element_continue_state),
7274         (gst_element_set_state_func):
7275         * gst/gstpad.c:
7276         Fix spelling and grammar mistakes.
7277
7278 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7279
7280         * po/POTFILES.in:
7281         * po/POTFILES.skip:
7282           Update POTFILES. Fixes #461599.
7283
7284 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7285
7286         * gst/gst.c:
7287         Fix confusing typo in debug output.
7288
7289 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7290
7291         reviewed by: Stefan Kost <ensonic@users.sf.net>
7292
7293         * libs/gst/controller/Makefile.am:
7294         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7295         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7296         (gst_lfo_control_source_new),
7297         (gst_lfo_control_source_set_waveform),
7298         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7299         (gst_lfo_control_source_finalize),
7300         (gst_lfo_control_source_dispose),
7301         (gst_lfo_control_source_set_property),
7302         (gst_lfo_control_source_get_property),
7303         (gst_lfo_control_source_class_init):
7304         * libs/gst/controller/gstlfocontrolsource.h:
7305         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7306         API: Add GstLFOControlSource, a control source that gives values
7307         for specific timestamps based on several periodic waveforms.
7308         Fixes #459717.
7309
7310         * tests/check/libs/controller.c: (GST_START_TEST),
7311         (gst_controller_suite):
7312         * docs/libs/gstreamer-libs-docs.sgml:
7313         * docs/libs/gstreamer-libs-sections.txt:
7314         * docs/libs/gstreamer-libs.types:
7315         Add documentation and unit tests for GstLFOControlSource.
7316
7317 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7318
7319         * configure.ac:
7320         Back to CVS
7321
7322 === release 0.10.14 ===
7323
7324 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7325
7326         * configure.ac:
7327           releasing 0.10.14, "Breathing Vacuum"
7328
7329 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7330
7331         * gst/gstelement.c: (gst_element_class_set_details_simple):
7332         * gst/gstelement.h:
7333           Make strings passed to gst_element_class_set_details_simple()
7334           constant, as they should be (#462752).
7335
7336 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7337
7338         * gst/gstbin.c: (gst_bin_change_state_func),
7339         (bin_handle_async_done), (gst_bin_handle_message_func):
7340         Don't forget about the fact that some element went ASYNC even after a
7341         resync. This makes us post the ASYNC_DONE message correctly.
7342         Fixes #462558.
7343
7344 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7345
7346         * gst/gstregistry.c: (gst_registry_add_feature):
7347         When replacing an existing feature in the registry, make sure to
7348         continue holding a reference until we've replaced the name string
7349         within our feature hash table. Make sure to use g_hash_table_replace
7350         instead of g_hash_table_insert to ensure the new name string is used
7351         as a key instead of the old one that we're about to free.
7352         Fixes: #462085
7353
7354 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7355
7356         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7357         (gst_plugin_feature_set_name):
7358         Revert patch from #459466 until after the release and we can work
7359         out exactly what the problem is (if any).
7360
7361 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7362
7363         * docs/gst/gstreamer-sections.txt:
7364         * gst/gsttaglist.c:
7365         * gst/gsttaglist.h:
7366           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7367
7368 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7369
7370         * docs/libs/Makefile.am:
7371         Include our build-prefix libs and includes before the generic ones to
7372         avoid linking against the installed libs when we want the build-tree
7373         ones.
7374
7375 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7376
7377         Patch by: Steve Fink  <sphink gmail com>
7378
7379         * docs/pwg/building-testapp.xml:
7380           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7381           if people try to build or install the example from the plugin
7382           template against a GStreamer from package using the configure
7383           defaults.
7384
7385 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7386
7387         Patch by: Steve Fink  <sphink gmail com>
7388
7389         * tools/gst-inspect.1.in:
7390           Document --print-all and --print-plugin-auto-install-info command
7391           line options in man page.
7392
7393 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7394
7395         * docs/gst/gstreamer-sections.txt:
7396         Add docs for new api function.
7397
7398 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7399
7400         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7401         * gst/gstelementfactory.h:
7402         API: gst_element_factory_has_interface()
7403         Added method to check if an element factory implements a named
7404         interface.
7405
7406 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7407
7408         * configure.ac:
7409         * docs/gst/gstreamer.types.in:
7410           Another conditional doc check.
7411
7412         * gst/gstmessage.c:
7413         * gst/gstparamspecs.h:
7414         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7415         * gst/gstvalue.c:
7416         * gst/gstxml.h:
7417           API-doc fixes.
7418
7419 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7420
7421         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7422         (gst_registry_binary_load_feature),
7423         (gst_registry_binary_load_plugin),
7424         (gst_registry_binary_read_cache):
7425           Print error just once and with additional info.
7426
7427 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7428
7429         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7430         (helper_find_suggest), (helper_find_get_length),
7431         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7432         (gst_type_find_helper_for_buffer):
7433           Cleanup the typefindhelper code and add private doc comments.
7434
7435 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7436
7437         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7438         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7439         Fix capsfilter for cases where the caps set on capsfilter will provide
7440         additional information.
7441         Fixes #449197
7442
7443 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7444
7445         * gst/gsttypefindfactory.c:
7446           Fix docs that recommened wrong function to use.
7447
7448 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7449
7450         * tools/gst-inspect.c: (print_plugin_features):
7451           Also give media-type for typefinders in element output.
7452
7453 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7454
7455         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7456         (gst_registry_remove_features_for_plugin_unlocked),
7457         (gst_registry_add_feature), (gst_registry_remove_feature),
7458         (gst_registry_lookup_feature_locked):
7459         * gst/gstregistry.h:
7460           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7461           Fixes #459501.
7462
7463 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7464
7465         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7466         (gst_plugin_feature_set_name):
7467           Avoid double memory usage for pluginfeature names. Fixes #459466.
7468
7469 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7470
7471         * gst/gstpad.h:
7472           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7473           driving the pipeline may need to explicitly check for NOT_LINKED as
7474           well, since IS_FATAL doesn't cover that.
7475
7476 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7477
7478         * docs/pwg/advanced-types.xml:
7479           Fix typo and duplicate entry in video formats list.
7480
7481 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7482
7483         * libs/gst/controller/gstinterpolation.c:
7484         Also round to the nearest int when using cubic interpolation.
7485
7486 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7487
7488         * libs/gst/controller/gstinterpolation.c:
7489         When linearly interpolating integer types, round to the nearest int
7490         by adding 0.5. Don't do it for float/double types.
7491         Fixes the failing controller test on my machine, which is somehow
7492         rounding differently than on the buildbots.
7493
7494 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7495
7496         * tools/gst-plot-timeline.py:
7497           Better log parsing (categories can have -). Adjust text vs. lines, so
7498           that they span the same y-range.        
7499
7500 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7501
7502         * docs/random/ensonic/audiobaseclasses.txt:
7503         * docs/random/ensonic/dynlink.txt:
7504         * docs/random/ensonic/profiling.txt:
7505           Save my thoughts.
7506
7507         * docs/random/moving-plugins:
7508           Add note to use g_assert type macros.
7509
7510 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7511
7512         * configure.ac:
7513         * libs/gst/check/Makefile.am:
7514           Add libm check as we use in for plugins.
7515
7516 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7517
7518         * gst/gstbin.c: (gst_bin_continue_func):
7519         Check that the state_cookie hasn't changed since the continue_func
7520         was scheduled. Avoids problems where the state changes back to
7521         something it shouldn't be because it was changed in the meantime.
7522
7523 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7524
7525         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7526         (gst_registry_binary_save_string),
7527         (gst_registry_binary_save_pad_template),
7528         (gst_registry_binary_save_feature),
7529         (gst_registry_binary_save_plugin),
7530         (gst_registry_binary_load_feature),
7531         (gst_registry_binary_load_plugin),
7532         (gst_registry_binary_read_cache):
7533           Fix memory leak. Be less verbose in the log.
7534
7535 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7536
7537         * tests/check/elements/.cvsignore:
7538         Add file to cvsignore as commanded.
7539
7540 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7541
7542         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7543         (mq_dummypad_event), (run_output_order_test):
7544         Use a GStaticMutex to protect all cases where libcheck
7545         fail_if/fail_unless macros might be called from multiple threads
7546         simultaneously to avoid errors like:
7547           "check_pack.c:107: :-1081725400:Bad message type arg"
7548
7549 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7550
7551         * tests/check/pipelines/stress.c: (GST_START_TEST):
7552         Make sure we set the pipeline back to the NULL state before
7553         dropping our final reference.
7554
7555 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7556
7557         * tests/check/elements/tee.c: (GST_START_TEST):
7558         Make the tee stress-test a little less stressful so it doesn't just
7559         time out on slow-machines, and remove a small race when it's starting 
7560         up by adding a get_state() call.
7561
7562 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7563
7564         * gst/gst.c:
7565           Avoid reading registry twice on startup. Fixes #457322.
7566
7567 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7568
7569         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7570         * pkgconfig/gstreamer-check.pc.in:
7571         Substitute the CFLAGS for libcheck into our .pc file too so that
7572         dependent modules will pick it up properly if libcheck is installed
7573         into some other prefix.
7574
7575 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7576
7577         * configure.ac:
7578         Revert the pkg-config check for libcheck, since it pulls in the
7579         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7580         a proper solution, either from the check project, or something else.
7581
7582 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7583
7584         * configure.ac:
7585           Use pkg-config to locate check.
7586
7587 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7588
7589         * gst/gsttaglist.c:
7590           Fix doc syntax.
7591
7592         * gst/gstutils.c:
7593         * gst/gstutils.h:
7594           Add deprecation guards.
7595
7596         * libs/gst/base/gstcollectpads.h:
7597           Don't document object (this is implicitly private).
7598
7599 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7600
7601         * gst/gststructure.c: (gst_structure_parse_value):
7602           When deserialising foo=bar without a type cast, check if it's a
7603           boolean before falling back to a string type, otherwise things like
7604           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7605           because the filtercaps end up having a signed=(string)true field,
7606           which causes problems later when intersection caps.
7607
7608         * tests/check/gst/gststructure.c: (GST_START_TEST):
7609           Add a unit test for this.
7610
7611 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7612
7613         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7614
7615         * libs/gst/controller/Makefile.am:
7616         * libs/gst/controller/gstcontroller.c:
7617         (gst_controlled_property_add_interpolation_control_source),
7618         (gst_controlled_property_new), (gst_controlled_property_free),
7619         (gst_controller_find_controlled_property),
7620         (gst_controller_new_valist), (gst_controller_new_list),
7621         (gst_controller_new), (gst_controller_remove_properties_valist),
7622         (gst_controller_remove_properties_list),
7623         (gst_controller_remove_properties),
7624         (gst_controller_set_property_disabled),
7625         (gst_controller_set_disabled), (gst_controller_set_control_source),
7626         (gst_controller_get_control_source), (gst_controller_get),
7627         (gst_controller_sync_values), (gst_controller_get_value_array),
7628         (_gst_controller_dispose), (gst_controller_get_type),
7629         (gst_controlled_property_set_interpolation_mode),
7630         (gst_controller_set), (gst_controller_set_from_list),
7631         (gst_controller_unset), (gst_controller_unset_all),
7632         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7633         * libs/gst/controller/gstcontroller.h:
7634         * libs/gst/controller/gstcontrollerprivate.h:
7635         * libs/gst/controller/gstcontrolsource.c:
7636         (gst_control_source_class_init), (gst_control_source_init),
7637         (gst_control_source_get_value),
7638         (gst_control_source_get_value_array), (gst_control_source_bind):
7639         * libs/gst/controller/gstcontrolsource.h:
7640         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7641         (gst_object_get_control_source):
7642         * libs/gst/controller/gstinterpolation.c:
7643         (gst_interpolation_control_source_find_control_point_node),
7644         (gst_interpolation_control_source_get_first_value),
7645         (_interpolate_none_get), (interpolate_none_get),
7646         (interpolate_none_get_boolean_value_array),
7647         (interpolate_none_get_enum_value_array),
7648         (interpolate_none_get_string_value_array),
7649         (_interpolate_trigger_get), (interpolate_trigger_get),
7650         (interpolate_trigger_get_boolean_value_array),
7651         (interpolate_trigger_get_enum_value_array),
7652         (interpolate_trigger_get_string_value_array):
7653         * libs/gst/controller/gstinterpolationcontrolsource.c:
7654         (gst_control_point_free), (gst_interpolation_control_source_reset),
7655         (gst_interpolation_control_source_new),
7656         (gst_interpolation_control_source_set_interpolation_mode),
7657         (gst_interpolation_control_source_bind),
7658         (gst_control_point_compare), (gst_control_point_find),
7659         (gst_interpolation_control_source_set_internal),
7660         (gst_interpolation_control_source_set),
7661         (gst_interpolation_control_source_set_from_list),
7662         (gst_interpolation_control_source_unset),
7663         (gst_interpolation_control_source_unset_all),
7664         (gst_interpolation_control_source_get_all),
7665         (gst_interpolation_control_source_get_count),
7666         (gst_interpolation_control_source_init),
7667         (gst_interpolation_control_source_finalize),
7668         (gst_interpolation_control_source_dispose),
7669         (gst_interpolation_control_source_class_init):
7670         * libs/gst/controller/gstinterpolationcontrolsource.h:
7671         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7672         API: Refactor GstController into the core controller which can take
7673         a GstControlSource for providing actual values for timestamps.
7674         Implement a interpolation control source and use this for backward
7675         compatibility, deprecate a bunch of functions that are now handled
7676         by GstControlSource or GstInterpolationControlSource.
7677         Make it possible to disable the controller completely or only for
7678         specific properties. Fixes #450711.
7679         * docs/libs/gstreamer-libs-docs.sgml:
7680         * docs/libs/gstreamer-libs-sections.txt:
7681         * docs/libs/gstreamer-libs.types:
7682         Add new functions and classes to the docs.
7683         * tests/check/libs/controller.c: (GST_START_TEST),
7684         (gst_controller_suite):
7685         * tests/examples/controller/audio-example.c: (main):
7686         Port unit test and example to the new API and add some new
7687         unit tests.
7688
7689 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7690
7691         Patch by: Mark Nauwelaerts <manauw at skynet be>
7692
7693         * plugins/elements/gstmultiqueue.c:
7694         (gst_multi_queue_get_internal_links), (apply_buffer),
7695         (single_queue_overrun_cb), (gst_single_queue_new):
7696         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7697         the pipeline layout can be tracked correctly. Fixes #453732.
7698
7699 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7700
7701         * docs/gst/Makefile.am:
7702         * docs/libs/Makefile.am:
7703         * docs/plugins/Makefile.am:
7704           Simplify --extra-dir as gtkdoc scans recursively.
7705
7706 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7707
7708         * tools/gst-launch.c: (main):
7709         When we got an error, there is no point in waiting for preroll when
7710         shutting down.
7711
7712 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7713
7714         * plugins/elements/gsttee.c: (gst_tee_base_init),
7715         (gst_tee_request_new_pad), (gst_tee_release_pad),
7716         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7717         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7718         (gst_tee_chain):
7719         Be a lot smarter when deciding what srcpad to use for proxying
7720         the buffer_alloc. Also handle pad added/removed when doing so.
7721         Fixes #357959.
7722         Keep track of what pads we already pushed on in case we have pads
7723         added/removed while pushing. Fixes #374639 
7724
7725         * tests/check/Makefile.am:
7726         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7727         (tee_suite):
7728         Added unit test for pad resync.
7729
7730 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7731
7732         * po/nl.po:
7733         * po/sv.po:
7734           Updated translations.
7735
7736 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7737
7738         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7739
7740         * po/LINGUAS:
7741         * po/fi.po:
7742           Added new Finnish translation.
7743
7744 2007-06-28  Wim Taymans  <wim@fluendo.com>
7745
7746         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7747         (single_queue_overrun_cb):
7748         When figuring out when a queue is filled, use our internal time estimate
7749         based on segments, just like check_full does.
7750
7751 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7752
7753         * gst/gstminiobject.c: (gst_mini_object_get_type):
7754           Remove 3 do-nothing methods.
7755
7756 2007-06-27  Wim Taymans  <wim@fluendo.com>
7757
7758         Patch by: Tim Angus <tim at ngus dot net>
7759
7760         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7761         (gst_capsfilter_set_property):
7762         Take a reference instead of a copy when setting "caps".
7763         Fix documentation to clarify this behaviour. Fixes #449414.
7764
7765 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7766
7767         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7768         * gst/gstplugin.c: (gst_plugin_init):
7769         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7770         * gst/gstquery.c: (gst_query_get_type):
7771         * gst/gstregistry.c: (gst_registry_init):
7772         * gst/gsturi.c: (gst_uri_handler_base_init):
7773           Remove empty instance_init() functions to save relocs and lessen the
7774           noise. Remove some of the function prototypes that are doubled by
7775           G_DEFINE_TYPE.
7776           
7777 2007-06-27  Wim Taymans  <wim@fluendo.com>
7778
7779         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7780
7781         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7782         Add peer and direction in the XML serialisation of ghostpads.
7783         Fixes #449226.
7784
7785 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7786
7787         * configure.ac:
7788           Preserve useful information, thanks Tim.
7789
7790 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7791
7792         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7793         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7794         (gst_single_queue_push_one), (gst_multi_queue_loop),
7795         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7796         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7797         (compute_high_id), (gst_single_queue_new):
7798         * plugins/elements/gstmultiqueue.h:
7799         Take the multiqueue lock when updating the fill level so we don't get
7800         confused. 
7801
7802         After applying a buffer or event on the src pad segment, make sure to
7803         call gst_data_queue_limits_changed() to get the data queue to unblock
7804         and check the filled state again.
7805         
7806         Rework the not-linked pad handling so the logic is that not-linked 
7807         pads can push as fast as they like, but only so they never get 
7808         ahead of any linked pads.
7809
7810         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7811         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7812         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7813
7814         Add a test to check that not-linked pads always stay behind
7815         linked pads.
7816
7817         Fixes: #430682
7818
7819 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7820
7821         * docs/random/release:
7822           Some updates to the release procedure.
7823
7824 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7825
7826         * gst/gstelementfactory.c: (__gst_element_details_clear):
7827           Microoptimization that saves stunning 80 bytes.
7828
7829 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7830
7831         * docs/plugins/gstreamer-plugins.args:
7832         * docs/plugins/inspect/plugin-coreelements.xml:
7833         * docs/plugins/inspect/plugin-coreindexers.xml:
7834           Update docs with caps info.
7835
7836 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7837
7838         * po/it.po:
7839           Updated Italian translation.
7840
7841 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7842
7843         * ChangeLog:
7844         * po/vi.po:
7845           Update Vietnamese translations.
7846
7847 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7848
7849         * libs/gst/base/gstbasesink.c:
7850           Remove unused signal enum.
7851
7852 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7853
7854         * docs/gst/gstreamer-sections.txt:
7855         * gst/gstelement.c:
7856         * gst/gstutils.c: (gst_type_register_static_full):
7857         Beef up and include the docs for gst_type_register_static_full and
7858         gst_element_class_set_details_simple and add the API keyword
7859         in the ChangeLog.
7860
7861 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7862
7863         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7864         (update_time_level), (gst_single_queue_push_one),
7865         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7866         (single_queue_overrun_cb), (single_queue_underrun_cb),
7867         (single_queue_check_full):
7868         Fix setting max-* properties after adding queues.
7869         Use IS_FILLED for checking visible items.
7870         Signal overrun if multiple queues overrun.
7871         Add extra debug output.
7872         Patch by: Wim Taymans <wim@fluendo.com>
7873
7874 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
7875
7876         * gst/gstelement.c: (gst_element_class_set_details_simple):
7877         * gst/gstelement.h:
7878         * gst/gstutils.c: (gst_type_register_static_full):
7879         * gst/gstutils.h:
7880         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7881         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7882         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7883         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7884         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7885         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7886         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7887         * plugins/elements/gstidentity.c: (gst_identity_base_init):
7888         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7889         * plugins/elements/gstqueue.c: (gst_queue_base_init),
7890         (apply_buffer), (gst_queue_chain):
7891         * plugins/elements/gsttee.c: (gst_tee_base_init):
7892         * plugins/elements/gsttypefindelement.c:
7893         (gst_type_find_element_base_init),
7894         (gst_type_find_element_class_init):
7895           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7896           API: add gst_type_register_static_full
7897           API: add gst_element_class_set_details_simple
7898
7899 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7900
7901         * docs/pwg/advanced-types.xml:
7902           Fix typo in iana.org URI.
7903
7904 2007-06-19  Andy Wingo  <wingo@pobox.com>
7905
7906         * tests/check/pipelines/simple-launch-lines.c
7907         (test_state_change_returns): Enable pull-mode tests now that
7908         basesink has been fixed.
7909
7910         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7911         Changed from gst_base_sink_is_prerolled, reversing the sense of
7912         the return value. Returns FALSE also if the sink is in pull mode,
7913         in which case it needs no preroll.
7914         (gst_base_sink_query, gst_base_sink_change_state): Update for
7915         needs_preroll change.
7916         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7917         chaining up, in which we return SUCCESS directly if we activated
7918         in pull mode instead of ASYNC. Involves countering an async_start
7919         message sent before chaining up; not sure if this is correct, in
7920         an ideal world we only send async-start when activating in push
7921         mode.
7922
7923         * tests/check/pipelines/simple-launch-lines.c
7924         (test_state_change_returns): New test, partially disabled until
7925         basesink is fixed.
7926
7927 2007-06-19  Wim Taymans  <wim@fluendo.com>
7928
7929         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7930         (gst_multi_queue_sink_event):
7931         Fix event leak.
7932
7933 2007-06-19  Wim Taymans  <wim@fluendo.com>
7934
7935         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7936         (gst_bin_change_state_func), (bin_push_state_continue),
7937         (bin_handle_async_start), (bin_handle_async_done),
7938         (gst_bin_handle_message_func):
7939         Move the common code for posting state-change messages into
7940         one function.
7941         Broadcast the state signal after we posted the messages.
7942         Mark the bin as busy when it's doing a state-change.
7943         Make sure async-start/done messages don't interfere with the bin's
7944         state when it's busy.
7945         After the state change, let the bin check which elements completed the
7946         state change while it was busy so that it can update its state.
7947
7948 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
7949
7950         * docs/random/release:
7951         Add a note about updating the doap file to the release checklist
7952
7953 2007-06-18  Wim Taymans  <wim@fluendo.com>
7954
7955         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7956         (gst_single_queue_push_one), (gst_multi_queue_chain),
7957         (gst_multi_queue_sink_event):
7958         Make sure we don't reference the buffer/event after we have given away
7959         ownership in the queue.
7960
7961 2007-06-18  Wim Taymans  <wim@fluendo.com>
7962
7963         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7964         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7965         Update queue state _after_ adding the item in the queue because else we
7966         could end up being full without the element added yet.
7967
7968 2007-06-18  Wim Taymans  <wim@fluendo.com>
7969
7970         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7971         (gst_bin_remove_func), (gst_bin_get_state_func),
7972         (gst_bin_element_set_state), (gst_bin_continue_func),
7973         (bin_push_state_continue), (bin_handle_async_start),
7974         (bin_handle_async_done), (gst_bin_handle_message_func):
7975         * gst/gstbin.h:
7976         Immediatly commit the toplevel bin state when receiving an async-done
7977         message. This enables us to avoid spawning a thread to commit the state
7978         in some common cases and it also avoids some races.
7979         Avoid spawning a state thread when adding/removing async elements to a
7980         toplevel bin. Instead we immediatly update the bin state.
7981         Get rid of iterating all the children when getting the state in the bin
7982         because it is now always up-to-date.
7983         Fix bug where locked elements would always return _SUCCESS even it they
7984         returned NO_PREROLL before being locked.
7985         Fix the order of the state_change, async-start/done messages that was
7986         sometimes incorrect.
7987         Mark the state_dirty field as deprecated, we don't need it anymore as we
7988         are always up-to-date.
7989
7990         * gst/gstelement.c: (gst_element_get_state_func),
7991         (gst_element_continue_state):
7992         Small debug inprovements.
7993         Return the previous element state return when nothing is pending instead
7994         of blindly returning SUCCESS.
7995
7996         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7997         (gst_sinks_suite):
7998         Add a whole bunch of new testcases.
7999
8000 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8001
8002         * po/uk.po:
8003         * po/vi.po:
8004           Update translations.
8005
8006 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8007
8008         * gst/gstpad.c:
8009         Fix typo in the docs.
8010
8011 2007-06-15  Wim Taymans  <wim@fluendo.com>
8012
8013         * docs/libs/gstreamer-libs-sections.txt:
8014         Add docs for new methods.
8015
8016 2007-06-15  Wim Taymans  <wim@fluendo.com>
8017
8018         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8019         (gst_multi_queue_item_new):
8020         Don't use GSlice because we don't depend on >= 2.10 yet.
8021
8022 2007-06-15  Wim Taymans  <wim@fluendo.com>
8023
8024         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8025         (update_time_level), (apply_segment), (apply_buffer),
8026         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8027         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8028         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8029         (single_queue_underrun_cb), (single_queue_check_full):
8030         Remove debug printf.
8031
8032 2007-06-15  Wim Taymans  <wim@fluendo.com>
8033
8034         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8035         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8036         (gst_data_queue_set_flushing), (gst_data_queue_push),
8037         (gst_data_queue_pop), (gst_data_queue_drop_head),
8038         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8039         * libs/gst/base/gstdataqueue.h:
8040         Various cleanups.
8041         Added methods to get the current levels and to inform the queue that the
8042         'full' limits changed.
8043
8044         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8045         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8046         (gst_single_queue_flush), (update_time_level), (apply_segment),
8047         (apply_buffer), (gst_single_queue_push_one),
8048         (gst_multi_queue_item_steal_object),
8049         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8050         (gst_multi_queue_loop), (gst_multi_queue_chain),
8051         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8052         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8053         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8054         (single_queue_underrun_cb), (single_queue_check_full),
8055         (gst_single_queue_new):
8056         Keep track of time in the queue by measuring the difference between
8057         running_time on input and output. This gives more accurate results and
8058         can compensate for segments correctly.
8059         Make a queue by default only 5 buffers deep. We will now increase the
8060         buffer size depending on the filledness of the other queues.
8061         Factor out commong flush code.
8062         Make sure we don't add additional refcounts to buffers when we can avoid
8063         it.
8064         Propagate GstFlowReturn differently.
8065         Use GSlice for intermediate GstMultiQueueItems.
8066         Keep track of EOS.
8067         Resize queues on over and underruns based on filled level of other
8068         queues.
8069         When checking if the queue is filled, prefer to measure in time if we
8070         can and fall back to bytes when no time is known.
8071
8072         * plugins/elements/gstqueue.c:
8073         Fix return value.
8074
8075 2007-06-15  Wim Taymans  <wim@fluendo.com>
8076
8077         * libs/gst/base/gstbasetransform.c:
8078         (gst_base_transform_sink_event):
8079         Work around the brokenness of the event vmethod in basetransform. Prefer
8080         to return TRUE when the subclass returned FALSE (meaning don't forward
8081         the event). 
8082
8083         * libs/gst/base/gstbasetransform.h:
8084         Clarify the docs.
8085
8086 2007-06-15  Wim Taymans  <wim@fluendo.com>
8087
8088         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8089         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8090         (gst_base_src_default_query), (gst_base_src_get_range),
8091         (gst_base_src_start):
8092         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8093         Improve debugging.
8094
8095 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8096
8097         * docs/pwg/advanced-types.xml:
8098           Added more formats to caps table.
8099
8100 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8101
8102         * tools/gst-launch.c: (main):
8103           Remove crufy code. GOption does not need this workaround.
8104
8105 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8106
8107         * libs/gst/controller/gstcontroller.c:
8108         (gst_controlled_property_set_interpolation_mode):
8109           Fix wrong getter for enums in controller.
8110
8111 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8112
8113         * libs/gst/check/gstcheck.c: (gst_check_init):
8114           Intercept criticals and warnings in the Gst-Phonon log domain, so
8115           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8116           well.
8117         
8118 2007-06-14  Edward Hervey  <edward@fluendo.com>
8119
8120         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8121         Since this file doesn't include "gst.h" it will not go through the
8122         macros that disable GST_LOG if debugging was disabled.
8123
8124 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8125
8126         * libs/gst/check/Makefile.am:
8127         * libs/gst/check/gstcheck.h:
8128         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8129         * pkgconfig/gstreamer-check.pc.in:
8130           Ugly 'fix' for the controller unit test on the p5 bot: in
8131           fail_unless_equals_float() check whether the values are 'almost
8132           equal' by allowing a small absolute error, which should be good
8133           enough for our use cases (normal numbers and values close to 0).
8134           Proper fixage left to floating point arithmetic aficionados.
8135
8136 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8137
8138         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8139         (gst_base_sink_render_object), (gst_base_sink_get_position):
8140           Add two breaks thats where missing.
8141
8142 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8143
8144         * docs/libs/gstreamer-libs-sections.txt:
8145         * libs/gst/check/gstcheck.h:
8146           API: add fail_unless_equals_float() and assert_equals_float().
8147           Add documentation for some of the macros.
8148
8149         * tests/check/libs/controller.c: (GST_START_TEST):
8150           Use newly-added asserts.
8151
8152 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8153
8154         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8155           Show the caps change in the log to help spotting the case of not
8156           exactly matching caps.
8157
8158 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8159
8160         * docs/pwg/building-boiler.xml:
8161           Fix typos, spotted by Thijs Vermeir (#447190).
8162
8163 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8164
8165         * docs/plugins/tmpl/.cvsignore:
8166         Ignore file to keep the buildbots happy
8167
8168 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8169
8170         * docs/plugins/Makefile.am:
8171         * docs/plugins/gstreamer-plugins-docs.sgml:
8172         * docs/plugins/gstreamer-plugins-sections.txt:
8173         Pull fdsink into the docs too.
8174
8175 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8176
8177         * libs/gst/controller/gstinterpolation.c:
8178         Actually use the new functions with min/max checks for the trigger and
8179         none interpolation modes for get() and get_value_array() instead of
8180         just the latter.
8181
8182 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8183
8184         * libs/gst/controller/gstcontroller.c:
8185         (gst_controlled_property_free):
8186         Unset the minimum and maximum GValues when freeing the corresponding
8187         GstControllerProperty struct.
8188
8189 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8190
8191         * libs/gst/controller/gstcontroller.c:
8192         (gst_controlled_property_new):
8193         * libs/gst/controller/gstcontrollerprivate.h:
8194         * libs/gst/controller/gstinterpolation.c:
8195         (gst_controlled_property_find_control_point_node),
8196         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8197         (interpolate_none_get_string_value_array),
8198         (interpolate_trigger_get),
8199         (interpolate_trigger_get_enum_value_array),
8200         (interpolate_trigger_get_string_value_array):
8201         Protect against values larger or smaller than the minimum or maximum
8202         allowed value for the property when using values that can be compared.
8203
8204         Optimize trigger interpolator a bit by taking the last requested value
8205         into account instead of always looping through the complete list.
8206
8207         Fix coding style a bit, everywhere else we use "return foo" instead
8208         of "return (foo)".
8209         
8210         * tests/check/libs/controller.c: (GST_START_TEST),
8211         (gst_controller_suite):
8212         Add unit test for the protection against too large or too small
8213         values.
8214
8215 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8216
8217         * docs/random/slomo/controller.txt:
8218         Add some thoughts about the future of the controller.
8219
8220 2007-06-08  Wim Taymans  <wim@fluendo.com>
8221
8222         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8223         Don't overflow in retimestamping code.
8224
8225 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8226
8227         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8228         Use gst_util_guint64_to_gdouble for conversions.
8229         * win32/common/libgstreamer.def:
8230         Add new exported functions.
8231
8232 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8233
8234         * gst/gstutils.c:
8235           Small docs addition.
8236
8237 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8238
8239         * README:
8240           Remove that test line again.
8241
8242 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8243
8244         * README:
8245           Test commit mail sending.
8246
8247 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8248
8249         * configure.ac:
8250           Fix typo and test commit mail sending.
8251
8252 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8253
8254         * tests/examples/controller/audio-example.c:
8255           Improve comment and test commit mail sending.
8256
8257 2007-06-07  Wim Taymans  <wim@fluendo.com>
8258
8259         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8260         (gst_bin_remove_func), (gst_bin_element_set_state),
8261         (bin_handle_async_start), (bin_handle_async_done),
8262         (gst_bin_handle_message_func):
8263         Add helper function to find messages.
8264         Generate the async-done messages together with the state change
8265         messages.
8266         Small cleanups in handling toplevel bins.
8267
8268 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8269
8270         * libs/gst/base/gstdataqueue.c:
8271         * libs/gst/base/gstdataqueue.h:
8272         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8273         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8274         (gst_multi_queue_sink_event):
8275         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8276           Fix multiqueue leaking buffers and events when downstream or the
8277           queue are flushing. Make refcounting assumptions explicit and
8278           document them (shouldn't break existing code that uses it other than
8279           maybe leak miniobjects, but that already happens anyway). Add unit
8280           test for the most common flushing case. Fixes #423700.
8281           
8282 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8283
8284         * libs/gst/controller/gstcontroller.c:
8285         Clarify docs: The get_all, get_value_array(s) functions
8286         don't modify the GObject properties.
8287
8288 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8289
8290         * libs/gst/controller/gstcontroller.c:
8291         (gst_controlled_property_set_interpolation_mode),
8292         (gst_controlled_property_prepend_default),
8293         (gst_controlled_property_new), (gst_controller_set_unlocked),
8294         (gst_controller_set), (gst_controller_set_from_list),
8295         (gst_controller_unset), (gst_controller_unset_all):
8296         * libs/gst/controller/gstcontrollerprivate.h:
8297         * libs/gst/controller/gstinterpolation.c:
8298         Factor out the 'set' logic into gst_controller_set_unlocked for the
8299         gst_controller_set and gst_controller_set_from_list functions.
8300
8301         To make life of the interpolators easier always add a control point
8302         at timestamp zero with the default value.
8303
8304         In the linear interpolator make things more obvious by better variable
8305         naming (slope).
8306
8307         Implement cubic interpolation mode (by using a natural cubic spline)
8308         and map the quadratic interpolation mode to this too (as quadratic
8309         doesn't make much sense, see discussion on the list).
8310
8311         * tests/check/libs/controller.c: (GST_START_TEST),
8312         (gst_controller_suite):
8313         Add unit test for the cubic interpolation mode and check everywhere
8314         if the interpolation mode could be set as expected.
8315
8316 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8317
8318         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8319           Don't use GLib-2.10 functions, we still depend on
8320           GLib-how-old-is-it-again-2.8.
8321
8322 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8323
8324         * docs/gst/gstreamer-sections.txt:
8325         * gst/Makefile.am:
8326         * gst/gst.c:
8327         * gst/gst.h:
8328         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8329         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8330         (_gst_param_fraction_values_cmp),
8331         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8332         * gst/gstparamspecs.h:
8333         * gst/gstvalue.c:
8334         * tests/check/Makefile.am:
8335         * tests/check/gst/.cvsignore:
8336         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8337         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8338         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8339         (GST_START_TEST), (gst_param_spec_suite):
8340           API: add GstParamSpecFraction, so elements can have fraction
8341           properties without lots of painful string parsing (#444648).
8342
8343 2007-06-05  Wim Taymans  <wim@fluendo.com>
8344
8345         * gst/gstobject.c: (gst_object_class_init):
8346         Fix signal signature.
8347
8348         * gst/gstsegment.c:
8349         Add small clarification in the api docs.
8350
8351         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8352         States are protected with object lock.
8353
8354 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8355
8356         * AUTHORS:
8357         I should probably be listed as an author by now.
8358
8359         * docs/random/release:
8360         Update the release doc
8361
8362 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8363
8364         * gst/gstvalue.c:
8365           Make docs for gst_value_compare() mention return enums that
8366           actually exist.
8367
8368 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8369
8370         * configure.ac:
8371           Back to CVS
8372
8373 === release 0.10.13 ===
8374
8375 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8376
8377         * configure.ac:
8378           releasing 0.10.13, "With or without you"
8379
8380 2007-05-25  Wim Taymans  <wim@fluendo.com>
8381
8382         * gst/gstbin.c: (bin_handle_async_done):
8383         Make sure that the child bin stops after completing the async state
8384         change so that the parent can continue the state change to PLAYING.
8385         Fixes #441159.
8386
8387 2007-05-25  Wim Taymans  <wim@fluendo.com>
8388
8389         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8390         (unref_data), (gst_collect_pads_remove_pad),
8391         (gst_collect_pads_check_pads):
8392         Use additional refcounting to avoid crashes when dynamically adding and
8393         removing pads. Fixes #420206.
8394
8395 2007-05-24  Wim Taymans  <wim@fluendo.com>
8396
8397         * tools/gst-launch.c: (event_loop):
8398         When buffering goes from a two digit to a single digit number, make sure
8399         to remove the old second digit by writing a blank over it.
8400
8401 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8402
8403         * libs/gst/base/gstdataqueue.c:
8404           Eliminate tabs and trailing comma in enum list; fix some typos.
8405
8406 2007-05-24  Wim Taymans  <wim@fluendo.com>
8407
8408         * tests/check/gst/gstbin.c: (GST_START_TEST):
8409         Allow refcount of 3 and 4 because some state thread might still be busy
8410         with it.
8411
8412 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8413
8414         * plugins/elements/Makefile.am:
8415         * plugins/elements/gstmultiqueue.h:
8416         * plugins/elements/gstqueue.h:
8417           These are not installed headers, no need for padding.
8418
8419 2007-05-24  Wim Taymans  <wim@fluendo.com>
8420
8421         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8422         (gst_bin_continue_func):
8423         Enable latency for next release.
8424         Restore STATE_LOCK around recalc_state that was left out during the
8425         rewrite and could result in racy behaviour when _get_state and
8426         recalc_state are run concurrently. See #440463.
8427
8428 2007-05-23  Wim Taymans  <wim@fluendo.com>
8429
8430         * tests/check/gst/gstsystemclock.c: (store_callback),
8431         (GST_START_TEST):
8432         Improve test_async_order to also work when both timers are already
8433         expired when we get scheduled to check it.
8434
8435 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8436
8437         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8438         (gst_bin_set_property), (gst_bin_get_property),
8439         (gst_bin_remove_func), (gst_bin_handle_message_func):
8440         * gst/gstbin.h:
8441           'private' is a c++ keyword, let's not use that in header files,
8442           otherwise c++ compilers will throw a tantrum.
8443
8444 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8445
8446         * plugins/elements/gstelements.c:
8447         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8448         (gst_file_sink_get_current_offset):
8449         * plugins/indexers/gstindexers.c: (plugin_init):
8450           Use #ifdef for HAVE_XYZ for consistency.
8451
8452         * tests/check/Makefile.am:
8453         * tests/check/elements/.cvsignore:
8454         * tests/check/elements/filesink.c: (setup_filesink),
8455         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8456           Add some unit tests for filesink.
8457
8458 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8459
8460         Patch by: Mark Nauwelaerts <manauw at skynet be>
8461
8462         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8463         (gst_file_sink_query), (gst_file_sink_do_seek),
8464         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8465         * plugins/elements/gstfilesink.h:
8466           Fix position reporting; rename data_written member to current_pos to
8467           reflect its real meaning (fixes #412648).
8468
8469 2007-05-22  Edward Hervey  <edward@fluendo.com>
8470
8471         * docs/gst/gstreamer-sections.txt:
8472         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8473         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8474         (gst_bin_remove_func), (gst_bin_handle_message_func):
8475         * gst/gstbin.h:
8476         Add a property for bins that handle the state change of their childs.
8477         Fixes #435880
8478
8479 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8480
8481         * libs/gst/controller/gstinterpolation.c:
8482         Use an array of the correct type when using _get_value_array with
8483         linear interpolation.
8484
8485 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8486
8487         * gst/gstelement.c (gst_element_requires_clock,
8488           gst_element_provides_clock, gst_element_request_pad,
8489           gst_element_class_set_details, gst_element_class_set_details_simple,
8490           gst_element_default_send_event, gst_element_abort_state,
8491           gst_element_continue_state, gst_element_set_state,
8492           gst_element_set_state_func, iterator_activate_fold_with_resync):
8493         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8494           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8495           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8496           gst_pad_get_range, gst_pad_pull_range):
8497         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8498           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8499           GstPadActivateModeFunction, GstPadChainFunction,
8500           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8501           GstPadFixateCapsFunction, GstPadTemplate):
8502         * gst/gstpipeline.c (gst_pipeline_change_state,
8503           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8504           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8505           gst_pipeline_get_delay):
8506           Whitespace and docs fixes.
8507
8508 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8509
8510         * libs/gst/controller/gstinterpolation.c:
8511         (interpolate_trigger_get_enum_value_array),
8512         (interpolate_trigger_get_string_value_array):
8513         Add support for retrieving value arrays when using the trigger
8514         interpolation mode. 
8515
8516 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8517
8518         * libs/gst/controller/gstcontroller.c:
8519         (gst_controller_get_value_array):
8520         * libs/gst/controller/gstcontroller.h:
8521         Clarify the docs of gst_controller_get_value_array(): The array where
8522         the values should be written to must be allocated as there seems to be
8523         no way to get the size of a random GType. This doesn't change any
8524         behaviour. Also fix some typos all over the place and remove an unused,
8525         commented function that is not necessary as g_object_set() could be
8526         used instead.
8527         * tests/check/libs/controller.c: (GST_START_TEST),
8528         (gst_controller_suite):
8529         Add unit test for gst_controller_get_value_array().
8530
8531 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8532
8533         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8534
8535         Disable part of the gst_buffer_try_new_and_alloc test, because
8536         it can happily succeed on 64-bit systems where there's more address
8537         space available.
8538
8539 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8540
8541         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8542         Add unit test for the improved caps checking from bug #421543.
8543
8544 2007-05-21  Wim Taymans  <wim@fluendo.com>
8545
8546         * docs/design/part-synchronisation.txt:
8547         Small addition.
8548
8549         * gst/gstbin.c: (gst_bin_query):
8550         * plugins/elements/gstqueue.c: (apply_segment):
8551         Improve debugging.
8552
8553         * gst/gstmessage.h:
8554         Improve docs.
8555
8556 2007-05-21  Wim Taymans  <wim@fluendo.com>
8557
8558         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8559         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8560         (gst_pad_configure_src):
8561         Added simple version of improved caps checking. It was previously
8562         assumed that a setcaps function would check the validity of the caps but
8563         people prefer us to check caps against the template automatically. 
8564         Fixes #421543.
8565
8566 2007-05-21  Wim Taymans  <wim@fluendo.com>
8567
8568         * libs/gst/base/gstbasetransform.h:
8569         Fix macro for locking/unlocking the transform lock.
8570
8571 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8572
8573         * docs/plugins/tmpl/.cvsignore:
8574           Ignore more.
8575
8576 2007-05-18  Edward Hervey  <edward@fluendo.com>
8577
8578         * plugins/elements/gstqueue.c: (gst_queue_loop):
8579         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8580         for the subtle art of warning a potentially blocking thread that it
8581         should check the source pad return value, and relay the information
8582         upstream.
8583
8584 2007-05-18  Edward Hervey  <edward@fluendo.com>
8585
8586         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8587         Release the queue lock !
8588
8589 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8590
8591         * docs/libs/gstreamer-libs-sections.txt:
8592         Add the two new controller functions to the appropiate places.
8593
8594 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8595
8596         reviewed by: Stefan Kost <ensonic@users.sf.net>
8597
8598         * libs/gst/controller/gstcontroller.c:
8599         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8600         (_gst_controller_get_property), (_gst_controller_set_property),
8601         (_gst_controller_init), (_gst_controller_class_init):
8602         * libs/gst/controller/gstcontroller.h:
8603         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8604         (gst_object_get_control_rate), (gst_object_set_control_rate):
8605         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8606         Add API that provides sync suggestion timestamps for elements that
8607         call gst_object_sync_values() from which those elements can subdivide
8608         their processing loop to get the best results for the controlled
8609         properties. For now it just suggests last_sync + control_rate as
8610         new timestamp but this will be improved in the future.
8611
8612         While doing that change the control-rate property to a GstClockTime
8613         from guint and change it's meaning from samples to nanoseconds as
8614         the GstController doesn't know anything about sampling rate. Strictly
8615         speaking this breaks ABI but as the control-rate property didn't do
8616         anything in the past and as such couldn't be used this should be no
8617         problem.        
8618
8619 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8620
8621         reviewed by: Stefan Kost <ensonic@users.sf.net>
8622
8623         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8624         (gst_controller_unset_all):
8625         * libs/gst/controller/gstcontrollerprivate.h:
8626         * libs/gst/controller/gstinterpolation.c:
8627         (gst_controlled_property_find_control_point_node):
8628         Save last synced value from the list to continue searching from there
8629         in future syncs. This speeds everything up a bit.
8630         
8631 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8632
8633         reviewed by: Stefan Kost <ensonic@users.sf.net>
8634
8635         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8636         (gst_control_point_find), (gst_controlled_property_new),
8637         (gst_control_point_free), (gst_controlled_property_free),
8638         (gst_controller_set), (gst_controller_set_from_list),
8639         (gst_controller_unset), (gst_controller_unset_all),
8640         (gst_controller_sync_values):
8641         * libs/gst/controller/gstcontroller.h:
8642         * libs/gst/controller/gstcontrollerprivate.h:
8643         * libs/gst/controller/gstinterpolation.c:
8644         (gst_controlled_property_find_control_point_node),
8645         (interpolate_none_get), (interpolate_trigger_get):
8646         Add a new private GstControlPoint struct which "inherits" from
8647         GstTimedValue to allow different interpolators to store internal
8648         values next to each control point. From the outside everything is
8649         still a GstControlPoint so we don't loose binary compatibility.
8650         Also fixup all the GValue handling to not leak GValues or list nodes.
8651         * tests/check/libs/controller.c: (GST_START_TEST):
8652         Free the list nodes and GValues in the controller_misc test.
8653
8654 2007-05-17  Edward Hervey  <edward@fluendo.com>
8655
8656         * gst/gstsegment.c:
8657         Small doc fix.
8658
8659 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8660
8661         * gst/gstplugin.c: (gst_plugin_load_file):
8662           If we fail to load a plugin because of unresolved symbols or missing
8663           libraries and spew a warning to stderr, we may just as well mention
8664           which plugin it was that failed to load.
8665
8666 2007-05-13  David Schleef  <ds@schleef.org>
8667
8668         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8669           handles the case when ENABLE_GTK_DOC is false, and installs
8670           the prebuilt documentation.  So gtk-doc subdirs are 
8671           unconditionally enabled.  Fixes: #349099.
8672
8673 2007-05-13  David Schleef  <ds@schleef.org>
8674
8675         * gst/gstutils.h: Reword some documentation.
8676
8677 2007-05-12  David Schleef  <ds@schleef.org>
8678
8679         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8680           do anything with the passed "module" parameter, so remove it.
8681           Allows removal of additional vestigal code.
8682
8683 2007-05-12  David Schleef  <ds@schleef.org>
8684
8685         * gst/gstplugin.c:
8686           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8687           Switch to using g_stat() because it's more portable.
8688
8689 2007-05-12  David Schleef  <ds@schleef.org>
8690
8691         * gst/gst.c:
8692           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8693           parsing for embedded systems.
8694         * gst/gstelementfactory.c:
8695           Allow gst_element_register() to be called with plugin==NULL.
8696           Did nobody notice that static elements were broken?
8697
8698 2007-05-12  Wim Taymans  <wim@fluendo.com>
8699
8700         * tools/gst-launch.c: (event_loop):
8701         Give more interesting info when buffering starts and stops.
8702         Fix case where buffering starts but we fail to update the buffering flag
8703         because the target state is not PLAYING.
8704
8705 2007-05-12  Wim Taymans  <wim@fluendo.com>
8706
8707         * plugins/elements/gstqueue.c: (gst_queue_init),
8708         (gst_queue_finalize), (update_time_level), (apply_segment),
8709         (apply_buffer), (gst_queue_locked_flush),
8710         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8711         (gst_queue_handle_sink_event), (gst_queue_chain),
8712         (gst_queue_push_one), (gst_queue_loop):
8713         * plugins/elements/gstqueue.h:
8714         Refactor an cleanup queue a bit.
8715         Do better time level calculations that also work when the srcpad is not
8716         yet running.
8717         Remove some unneeded debug lines.
8718
8719         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8720         Added testcase for time level measurement.
8721         Try to make some stuff more racefree.
8722
8723 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8724
8725         * gst/gsturi.c: (gst_element_make_from_uri):
8726           Don't leak plugin feature.
8727
8728         * tests/check/Makefile.am:
8729         * tests/check/gst/.cvsignore:
8730         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8731           Add brain-dead unit test.
8732
8733 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8734
8735         Patch by: Jeroen Wouters <woutersj at gmail com>
8736
8737         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8738           Treat protocol strings in a case-insensitive way (#437563).
8739
8740 2007-05-11  Michael Smith <msmith@fluendo.com>
8741
8742         * gst/gstplugin.c: (gst_plugin_load_file):
8743         * gst/gstregistry.c: (gst_registry_scan_path_level):
8744           Don't print a g_warning for any failure to load a shared object.
8745           Instead, push this down into gstplugin.c, and warn _only_ if we
8746           failed to open the module (i.e. failure to link).
8747           Avoids warnings on normal, working, non-plugin .so files.
8748
8749 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8750
8751         * gst/gstplugin.c (gst_plugin_load_file):
8752         * gst/gstregistry.c (GST_CAT_DEFAULT,
8753           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8754           Print a g_warning if there was an error when loading a plugins during
8755           registry scan. The shuld help beginners starting with gst-plugin
8756           template.
8757
8758 2007-05-10  Wim Taymans  <wim@fluendo.com>
8759
8760         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8761         (update_time_level), (gst_queue_locked_flush),
8762         (gst_queue_handle_sink_event), (gst_queue_chain),
8763         (gst_queue_push_one), (gst_queue_loop):
8764         * plugins/elements/gstqueue.h:
8765         Be smarter when calculating the current amount of data in the queue by
8766         measuring the difference between start and end timestamps (in running
8767         time) inside the queue. Fixes #432876.
8768         API: GstQueue::pushing to notify elements that we are pushing data again
8769         since the running signal is rather broken for this purpose.
8770
8771 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8772
8773         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8774           gst_queue_base_init, gst_queue_init):
8775           use GST_BOILERPLATE
8776
8777 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8778
8779         * win32/common/libgstreamer.def:
8780         Add new exported functions.
8781         * win32/vs6/grammar.dsp:
8782         Use grammar pre-generated files.
8783
8784 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8785
8786         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8787
8788         * gst/Makefile.am:
8789         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8790         * gst/gstparse.h:
8791         * gst/gstutils.c: (gst_parse_bin_from_description):
8792         * gst/gstutils.h:
8793           Maintain API and ABI when --disable-parse is used. Now that
8794           we have an appropriate error code, we can just return NULL and the
8795           appropriate error when gst_parse_launch() is used despite it having
8796           been disabled (#342564).
8797
8798         * tests/check/Makefile.am:
8799         * tests/check/pipelines/.cvsignore:
8800         * tests/check/pipelines/parse-disabled.c:
8801           Make sure these functions exist and return NULL plus a GError when
8802           --disable-parse is used.
8803
8804 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8805
8806         * tests/benchmarks/complexity.c: (main):
8807         * tests/benchmarks/mass-elements.c: (main):
8808           Set a good example and don't leak messages.
8809
8810 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8811
8812         * docs/gst/Makefile.am:
8813         * docs/libs/Makefile.am:
8814           Correct fixxrefs options.
8815
8816         * docs/plugins/Makefile.am:
8817         * docs/plugins/gstreamer-plugins-docs.sgml:
8818         * docs/plugins/gstreamer-plugins-sections.txt:
8819         * plugins/elements/Makefile.am:
8820         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8821         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8822           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8823           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8824           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8825           _GstCapsFilterClass, trans_class):
8826         * plugins/elements/gstelements.c (name, rank, type, _elements):
8827         * plugins/elements/gstidentity.c
8828           (gst_identity_check_imperfect_timestamp,
8829           gst_identity_check_imperfect_offset):
8830           Document capsfilter and add doc-blurb to identity.
8831
8832 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8833
8834         * libs/gst/controller/gstcontroller.c:
8835         (gst_controlled_property_set_interpolation_mode):
8836         * libs/gst/controller/gstinterpolation.c:
8837           Don't crash if someone tries to set an interpolation mode that
8838           is invalid or that isn't supported yet. Fixes #422295.
8839
8840         * tests/check/libs/controller.c: (GST_START_TEST),
8841         (gst_controller_suite):
8842           Add a test case for the above.
8843
8844 2007-05-03  Edward Hervey  <edward@fluendo.com>
8845
8846         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8847         Properly set the last_stop position on GstSegment. This will only happen
8848         if there is a buffer to push out.
8849
8850 2007-05-03  Wim Taymans  <wim@fluendo.com>
8851
8852         * libs/gst/base/gstbasetransform.c:
8853         (gst_base_transform_buffer_alloc):
8854         always_in_place does not mean that the sink and source caps are the
8855         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8856
8857 2007-05-03  Wim Taymans  <wim@fluendo.com>
8858
8859         * docs/libs/gstreamer-libs-sections.txt:
8860         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8861         (gst_base_src_default_query), (gst_base_src_get_range):
8862         * libs/gst/base/gstbasesrc.h:
8863         API: gst_base_src_query_latency(). Added method so that subclasses can
8864         easily get the latency values of the base source class.
8865
8866 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8867
8868         * tools/gst-inspect.c (print_implementation_info):
8869         Remove 0.8 cruft.
8870
8871 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8872
8873         * tools/Makefile.am:
8874         * tools/gst-launch.1.in:
8875           Don't create a customised man page based on the host architecture,
8876           describe the default registry path generically. That way the man
8877           page is the same for all architectures and packagers have one
8878           multilib issue less to deal with. Fixes #434926.
8879
8880 2007-05-02  Wim Taymans  <wim@fluendo.com>
8881
8882         * gst/gstpad.c:
8883         Fix documentation as spotted by rg on IRC. 
8884
8885 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
8886
8887         * gst/gstutils.c:
8888           Improve docs for gst_element_{link,unlink}.
8889
8890 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
8891
8892         * docs/design/part-events.txt:
8893         * docs/design/part-overview.txt:
8894         * gst/gstevent.c:
8895         * gst/gsturi.c:
8896         * gst/gsturi.h:
8897         * libs/gst/base/gstbasesink.c:
8898           Typo fixes; minor docs addition.
8899
8900 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8901
8902         * docs/gst/gstreamer-sections.txt:
8903         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8904         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8905         * gst/gsturi.h:
8906         API: Add gst_uri_protocol_is_supported(), which checks if a sink
8907         or src that supports a given URI protocol exists.
8908
8909 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8910
8911         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8912         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8913         Set the location to NULL if "file://" is set as URI. Otherwise
8914         some random previous URI would still be set if "file://" is
8915         set on an already used filesink/filesrc.
8916
8917 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
8918
8919         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8920         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8921         Special case the "file://" URI as as this is used by some
8922         applications to test with gst_element_make_from_uri if there's
8923         an element that supports the URI protocol.
8924         Also move the g_path_is_absolute() check for the location part
8925         of the URI to also check this for "file://localhost/bla" URIs.
8926
8927 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
8928
8929         * docs/gst/gstreamer-sections.txt:
8930         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8931         * gst/gstbuffer.h:
8932         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8933         (gst_buffer_suite):
8934           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8935
8936 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
8937
8938         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8939         (gst_registry_binary_load_pad_template),
8940         (gst_registry_binary_load_plugin),
8941         (gst_registry_binary_read_cache):
8942         * gst/gstregistrybinary.h:
8943           Implement no-mmap alternative for registry reading. Do code cleanups.
8944           Add more comments about avoiding strdups for all text data. Comments
8945           welcome.
8946
8947 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8948
8949         * gst/gstregistrybinary.h (GstBinaryPluginElement,
8950           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8951           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8952           Comment structs and reformat to fix the build (that stuff should go
8953           into a priv. header).
8954
8955 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
8956
8957         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8958         (gst_registry_binary_load_feature):
8959         * gst/gstregistrybinary.h:
8960           Refactor so that we can implement multiple features. Add support for
8961           TypeFindFactory features.
8962
8963 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
8964
8965         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8966
8967         * configure.ac:
8968           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8969
8970 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
8971
8972         * gst/gstbin.c: (gst_bin_element_set_state),
8973         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8974         (bin_handle_async_done), (gst_bin_handle_message_func):
8975           Fix build with --gst-disable-gst-debug
8976
8977 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
8978
8979         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8980           Make sure streaming has finished before calling the ::stop() vfunc,
8981           since that vfunc might clear state which is being used in the
8982           streaming thread. This fixes a race that caused crashes in
8983           audioresample when shutting down a pipeline (#420106).
8984
8985 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8986
8987         * docs/gst/gstreamer-sections.txt:
8988           That was one byte missing.
8989
8990 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
8991
8992         * configure.ac:
8993         * docs/gst/gstreamer-sections.txt:
8994         * gst/Makefile.am:
8995         * gst/gstconfig.h.in:
8996         * gst/gstobject.c: (gst_object_class_init),
8997         (gst_signal_object_class_init):
8998         * gst/gstobject.h:
8999           2nd attempt to have a xml-less build as a joined effort of #413123
9000           and #421480.
9001
9002 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9003
9004         * docs/design/draft-tagreading.txt:
9005           Added open issues/thoughts to draft.
9006
9007 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9008
9009         * gst/parse/grammar.tab.pre.c:
9010         * gst/parse/grammar.tab.pre.h:
9011         * gst/parse/lex._gst_parse_yy.pre.c:
9012         Update the prebuild parser sources.
9013
9014 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9015
9016         * gst/parse/Makefile.am:
9017         And now fix the building of the flex sources. Now everything should
9018         work as expected.
9019
9020 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9021
9022         * gst/parse/Makefile.am:
9023         Now hopefully fix the build failures by setting proper rule
9024         dependencies and moving instead of copying.
9025
9026 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9027
9028         * tests/benchmarks/complexity.gnuplot:
9029         * tests/benchmarks/complexity.scm:
9030         * tests/benchmarks/mass-elements.gnuplot:
9031         * tests/benchmarks/mass-elements.scm:
9032           Total licensification.
9033
9034 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9035
9036         * gst/parse/Makefile.am:
9037           Fix the build by correcting the rule that gave wrong files to flex.
9038
9039 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9040
9041         * tests/benchmarks/complexity.c:
9042         * tests/benchmarks/mass-elements.c:
9043           Change licence to LGPL as granted by Benjamin and Andy.
9044
9045 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9046
9047         * gst/parse/Makefile.am:
9048         Add correct grammar.tab.h dependency if compiling without new enough
9049         flex. Fixes #431150.
9050
9051 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9052
9053         * gst/parse/Makefile.am:
9054         Fix typo and use outdated sources if the flex/bison sources are newer
9055         than the pregenerated ones but flex is too old. Print a warning in
9056         that case. This should fix the build on the build bot.
9057
9058 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9059
9060         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9061         * gst/parse/Makefile.am:
9062         * gst/parse/grammar.y:
9063         * gst/parse/parse.l:
9064         Make the parser reentrant and recursively callable. This requires flex
9065         >= 2.5.31, for older versions pregenerated sources are used as we
9066         can't bump the build dependency. Finally fixes #349180.
9067
9068         * gst/gstparse.c: (gst_parse_launch):
9069         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9070         now anyway.
9071
9072         * docs/gst/Makefile.am:
9073         * docs/gst/Makefile.am:
9074         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9075         (__gst_parse_strfree), (__gst_parse_link_new),
9076         (__gst_parse_link_free), (__gst_parse_chain_new),
9077         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9078         (gst_parse_element_set), (gst_parse_free_link),
9079         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9080         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9081         (_gst_parse_launch):
9082         * gst/parse/grammar.tab.pre.h:
9083         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9084         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9085         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9086         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9087         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9088         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9089         (_gst_parse_yypop_buffer_state),
9090         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9091         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9092         (yy_fatal_error), (_gst_parse_yyget_extra),
9093         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9094         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9095         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9096         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9097         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9098         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9099         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9100         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9101         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9102         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9103         (_gst_parse_yyfree):
9104         If the installed flex version is too old use pre-generated parser
9105         sources. These pre-generated parser sources are always updated when
9106         the actual flex/bison sources change but require everybody who wants
9107         to change something in the parser to have flex >= 2.5.31 installed.
9108
9109 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9110
9111         * common/m4/gst-gettext.m4:
9112         * gst/gst-i18n-lib.h:
9113           Make --disable-nls to work
9114
9115 2007-04-17  Wim Taymans  <wim@fluendo.com>
9116
9117         * gst/gstconfig.h.in:
9118         Revert previous change that broke the build.
9119
9120 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9121
9122         * configure.ac:
9123         * gst/Makefile.am:
9124         * gst/gstconfig.h.in:
9125           Drop libxml2 dependency when building with 
9126           --enable-binary-registry --disable-loadsave
9127
9128 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9129
9130         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9131         (gst_registry_binary_read_cache):
9132         * gst/gstregistrybinary.h:
9133           Remove unnecessary <sys/mman.h> include which broke the win32 build
9134           with MingW; move includes from header file to .c file, even if the
9135           header file isn't installed; use g_strerror() where UTF-8 strings
9136           are expected, such as in GST_DEBUG messages.
9137
9138 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9139
9140         * docs/libs/gstreamer-libs-sections.txt:
9141         Remove bogus addition for API I didn't end up keeping.
9142
9143         * libs/gst/base/gstbasesrc.h:
9144         Mention Since: 0.10.13 in the documentation.
9145
9146         Add the API keyword to the previous ChangeLog entry.
9147
9148 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9149
9150         * docs/libs/gstreamer-libs-sections.txt:
9151         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9152         (gst_base_src_default_prepare_seek_segment),
9153         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9154         * libs/gst/base/gstbasesrc.h:
9155         Allow basesrc derived classes to execute seeks in other formats
9156         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9157         to prepare the GstSegment in any format that their perform_seek method
9158         will be able to understand. The default implementation provides the
9159         old behaviour of attempting to convert the seek offsets to the 
9160         configured native format.
9161
9162         API: basesrc::prepare_seek_segment vmethod.
9163
9164 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9165
9166         * gst/gstelement.c: (gst_element_get_state_func):
9167         Don't output the same debug statement twice.
9168
9169         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9170         (gst_adapter_peek), (gst_adapter_take_buffer):
9171         Optimise the case where we have buffers at the head of the queue that
9172         can be joined quickly (because they're contiguous sub-buffers) by
9173         merging them together rather than copying data out into new memory.
9174
9175         * gst/parse/grammar.y:
9176         * tests/check/pipelines/parse-launch.c:
9177         Fix a leak in an error path for parse_launch, and add a check 
9178         for it to the testsuite.
9179
9180 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9181
9182         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9183           Don't deadlock when releasing a pad - gst_pad_set_active may try
9184           and take the multiqueue lock too.
9185
9186 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9187
9188         * gst/gsterror.c: (_gst_core_errors_init):
9189         * gst/gsterror.h:
9190           API: add GST_CORE_ERROR_DISABLED (#392804).
9191
9192 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9193
9194         * docs/faq/gst-uninstalled:
9195           don't get empty paths on the PATH variables
9196         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9197           Don't format for the uncommon terminal width of 84 characters.
9198
9199 2007-04-06  Wim Taymans  <wim@fluendo.com>
9200
9201         * gst/gstpipeline.c: (reset_stream_time),
9202         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9203         Only try to select a different pipeline clock when we went back to
9204         PAUSED and not when we merely got flushed.
9205
9206 2007-04-05  Michael Smith  <msmith@fluendo.com>
9207
9208         * tools/gst-launch.1.in:
9209           fractions are better supported in gstreamer than ractions, so
9210           suggest using those.
9211
9212 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9213
9214         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9215
9216         * po/LINGUAS:
9217         * po/da.po:
9218           Added Danish translation.
9219
9220 2007-04-05  Wim Taymans  <wim@fluendo.com>
9221
9222         * libs/gst/base/gstbasesink.c:
9223         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9224         Fix leak caused when refusing newsegment after EOS.
9225
9226         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9227         (gst_fake_sink_init), (gst_fake_sink_set_property),
9228         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9229         (gst_fake_sink_render), (gst_fake_sink_change_state):
9230         * plugins/elements/gstfakesink.h:
9231         Add num-buffers property to make the element generate EOS after a
9232         configurable amount of buffers.
9233         API: fakesink::num-buffers property.
9234
9235         * tests/check/elements/fakesink.c: (GST_START_TEST),
9236         (fakesink_suite):
9237         Fix GstBus leak in test.
9238         Test for fakesink num-buffers.
9239
9240 2007-04-05  Wim Taymans  <wim@fluendo.com>
9241
9242         * libs/gst/base/gstbasesink.c:
9243         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9244         (gst_base_sink_change_state):
9245         Don't accept anything after an EOS, return UNEXPECTED instead.
9246
9247         * tests/check/elements/fakesink.c: (GST_START_TEST),
9248         (fakesink_suite):
9249         Unit test for new EOS behaviour.
9250
9251 2007-04-05  Wim Taymans  <wim@fluendo.com>
9252
9253         * gst/gstelement.c: (gst_element_get_request_pad):
9254         Make padtemplates also work when they don't contain %s or %d.
9255
9256 2007-04-05  Wim Taymans  <wim@fluendo.com>
9257
9258         * docs/gst/gstreamer-sections.txt:
9259         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9260         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9261         * gst/gstclock.h:
9262         Improve _adjust_unlocked() so that it overflows less.
9263         Add gst_clock_unadjust_unlocked to convert from external time to
9264         internal time based on calibration.
9265         Add some more debug.
9266         API: GstClock::gst_clock_unadjust_unlocked()
9267
9268 2007-04-03  Wim Taymans  <wim@fluendo.com>
9269
9270         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9271
9272         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9273         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9274         when releasing sink pad. Fixes #425400.
9275
9276 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9277
9278         * docs/random/ensonic/dynlink.txt:
9279           More work on proposal for new core api.
9280
9281         * docs/libs/gstreamer-libs-sections.txt:
9282         * libs/gst/base/gstbasetransform.h:
9283           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9284           
9285         * libs/gst/controller/gstcontroller.c:
9286         (on_object_controlled_property_changed),
9287         (gst_controller_sync_values),
9288         (gst_controller_set_interpolation_mode):
9289         * libs/gst/controller/gstcontroller.h:
9290           Less verbose logging add docs for unimplemented parts and correctly
9291           return when using unavailable parts.
9292
9293 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9294
9295         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9296         Move all the debug to the CLOCK category, and associate it with
9297         the clock object.
9298
9299 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9300
9301         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9302         Make take_buffer a bit quicker by removing redundant checks
9303         caused by calling gst_adapter_take.
9304
9305 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9306
9307         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9308           Don't leak GCond.
9309
9310         * tests/check/Makefile.am:
9311         * tests/check/elements/.cvsignore:
9312         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9313         (GST_START_TEST), (multiqueue_suite):
9314           Add some dead simple unit tests for the 'multiqueue' element
9315           (some bits don't work yet and are disabled for now).
9316
9317 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9318
9319         * gst/gstelement.c: (gst_element_get_request_pad),
9320         (gst_element_class_get_request_pad_template):
9321           Make gst_element_get_request_pad() create request pads only for
9322           request pad templates and not for, say, sometimes pad templates.
9323
9324 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9325
9326         * docs/design/draft-klass.txt:
9327           Add example that needs more thinking.
9328         
9329         * docs/design/draft-missing-plugins.txt:
9330           More thoughts about wrapper plugins.
9331         
9332         * docs/random/ensonic/embedded.txt:
9333         * docs/random/ensonic/profiling.txt:
9334           More design work.
9335
9336 2007-03-25  Wim Taymans  <wim@fluendo.com>
9337
9338         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9339         (gst_base_src_loop):
9340         Only push the segment events in the PLAYING state for live sources.
9341
9342 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9343
9344         * gst/gstpipeline.c: (gst_pipeline_change_state):
9345         Modify the clock distribution path in PAUSED->PLAYING so that we 
9346         never attempt to choose a new clock unless we're actually leaving
9347         the PAUSED state for the first time. This prevents choosing a
9348         different clock when the state_change gets called for a 2nd time due
9349         to some element doing an async state change.
9350
9351 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9352
9353         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9354         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9355         (gst_pad_chain_unchecked), (gst_pad_push):
9356         Revert last commit. This needs some more thoughts.
9357
9358 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9359
9360         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9361         (gst_pad_chain_unchecked), (gst_pad_push):
9362         Check in set_caps if the caps are compatible with the pad and remove
9363         two functions that are redundant now. Fixes #421543.
9364
9365 2007-03-22  Wim Taymans  <wim@fluendo.com>
9366
9367         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9368         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9369         Unref some more to make valgrind happy.
9370
9371 2007-03-22  Wim Taymans  <wim@fluendo.com>
9372
9373         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9374         (gst_system_clock_id_wait_jitter),
9375         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9376         Fix anoying regression that survived a few releases. When adding an
9377         async entry while blocking on a sync entry, the sync entry will unblock
9378         but still be busy, so it should continue to wait instead of returning
9379         _BUSY to the app.
9380         Add some comments here and there.
9381
9382         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9383         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9384         Add testcase for this.
9385
9386 2007-03-22  Wim Taymans  <wim@fluendo.com>
9387
9388         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9389         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9390         WRONG_STATE and can silently pause the task. All other cases should
9391         error out.
9392
9393 2007-03-22  Wim Taymans  <wim@fluendo.com>
9394
9395         Patch by: Ville Syrjala <syrjala at sci dot fi>
9396
9397         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9398         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9399         Improve debugging.
9400
9401 2007-03-21  Michael Smith  <msmith@fluendo.com>
9402
9403         * docs/pwg/advanced-types.xml:
9404           Fix some errors in the typefinding docs pointed out on irc.
9405
9406 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9407
9408         * libs/gst/base/gstbasesrc.c:
9409         Clarify FIXME comment in the face of having added unlock_stop()
9410
9411 2007-03-21  Wim Taymans  <wim@fluendo.com>
9412
9413         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9414         Prepare for release where we warn against possible app breakage in the
9415         case of live pipelines along with an env var to enable/disable live
9416         preroll mode (GST_COMPAT=[no-]live-preroll).
9417
9418 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9419
9420         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9421         So we should use correct constants for checking for None offset.
9422
9423 2007-03-20  Wim Taymans  <wim@fluendo.com>
9424
9425         * docs/design/part-block.txt:
9426         Mention the fact that the newly switched element should be set to at
9427         least PAUSED.
9428
9429 2007-03-20  Wim Taymans  <wim@fluendo.com>
9430
9431         * gst/gst.c:
9432         Fix compilation with registry disabled as spotted by Saur.
9433
9434 2007-03-20  Wim Taymans  <wim@fluendo.com>
9435
9436         Patch by: Olivier Crete <tester at tester dot ca>
9437
9438         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9439         Look at the pending state too when syncing the element state to the
9440         parent. Fixes #420133.
9441
9442 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9443
9444         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9445         (gst_base_sink_change_state):
9446         * libs/gst/base/gstbasesink.h:
9447         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9448         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9449         (gst_base_src_deactivate):
9450         * libs/gst/base/gstbasesrc.h:
9451         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9452         for sub-classes to correctly clear any state they set trying to
9453         unlock, such as clearing out unlock commands from a command fd.
9454         API: basesrc::unlock_stop
9455         API: basesink::unlock_stop
9456
9457         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9458         (gst_fd_sink_render), (gst_fd_sink_unlock),
9459         (gst_fd_sink_unlock_stop):
9460         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9461         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9462         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9463
9464         Implement unlock_stop in fdsrc and fdsink.
9465         Implement seeking in fdsrc when a seekable fd is passed, as in
9466         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9467
9468 2007-03-19  Wim Taymans  <wim@fluendo.com>
9469
9470         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9471
9472         * gst/gstelement.c: (gst_element_class_init):
9473         Fix pad-added and pad-removed signal signatures so that the pad type is
9474         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9475
9476 2007-03-19  Wim Taymans  <wim@fluendo.com>
9477
9478         * docs/gst/gstreamer-sections.txt:
9479         Add new element field and method.
9480
9481         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9482         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9483         (gst_bin_recalc_state), (gst_bin_get_state_func),
9484         (gst_bin_element_set_state), (gst_bin_change_state_func),
9485         (gst_bin_continue_func), (bin_bus_handler),
9486         (bin_push_state_continue), (bin_handle_async_start),
9487         (bin_handle_async_done), (gst_bin_handle_message_func):
9488         Make async state changes a bit smarter by using new ASYNC_START and
9489         ASYNC_DONE messages. This reduces the number of times we run the state
9490         recalculation thread.
9491         Don't change state of element with a pending ASYNC_START message.
9492         Deprecate STATE_DIRTY messages.
9493         
9494         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9495         (gst_element_get_state_func), (gst_element_continue_state),
9496         (gst_element_lost_state), (gst_element_set_state_func),
9497         (gst_element_change_state):
9498         * gst/gstelement.h:
9499         Keep the state that was last set by the app in a new element field.
9500         Don't allow state changes when handling an element event.
9501         Post ASYNC_START and ASYNC_DONE messages.
9502         Change lost_state so that we go to PAUSED and wait for the parent to set
9503         us to PLAYING again (so latency calculation can be performed)
9504         Export gst_element_change_state() method so that subclasses can use it.
9505         API: gst_element_change_state()
9506         API: GST_STATE_TARGET
9507
9508         * gst/gstpipeline.c: (gst_pipeline_class_init),
9509         (reset_stream_time), (gst_pipeline_change_state),
9510         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9511         Using the new ASYNC_START message we can reset the base_time when
9512         needed. This can then be used to implement base_time redistribution in
9513         flushing seeks so that we can remove the explicit seek handling.
9514         Perform latency query and configuration when going to PLAYING.
9515
9516         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9517         (gst_base_sink_query), (gst_base_sink_change_state):
9518         Post new ASYNC_START/ASYNC_DONE messages.
9519
9520         * tests/check/generic/sinks.c: (GST_START_TEST):
9521         Fix test because the bin will not set the async element to PLAYING right
9522         away.
9523
9524         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9525         Make the message check a little stronger.
9526         Handle ASYNC messages.
9527
9528         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9529         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9530         Expect ASYNC_DONE messages.
9531
9532 2007-03-19  Wim Taymans  <wim@fluendo.com>
9533
9534         * docs/gst/gstreamer-sections.txt:
9535         * gst/gstmessage.c: (gst_message_new_async_start),
9536         (gst_message_new_async_done), (gst_message_parse_info),
9537         (gst_message_parse_async_start):
9538         * gst/gstmessage.h:
9539         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9540         support.
9541
9542 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9543
9544         * tools/gst-inspect.c:
9545         (print_plugin_automatic_install_info_codecs):
9546           Now that we don't check for the 'Codec' keyword any longer in the
9547           klass, we shouldn't spew a warning if the klass isn't a decoder or
9548           encoder (since it might be a Source/Network, for example).
9549
9550 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9551
9552         * tools/gst-inspect.c:
9553         (print_plugin_automatic_install_info_codecs):
9554           Don't require decoder/demuxer/depayloader elements or
9555           encoder/muxer/paylader elements to have 'Codec' as part of their
9556           factory class string when introspecting a plugin's capabilities.
9557           draft-klass.txt mentions that it might be removed in future, and
9558           flump3dec doesn't have it as part of its class string, so chances
9559           are others might also not have it.
9560
9561 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9562
9563         * po/af.po:
9564         * po/az.po:
9565         * po/bg.po:
9566         * po/ca.po:
9567         * po/cs.po:
9568         * po/de.po:
9569         * po/en_GB.po:
9570         * po/fr.po:
9571         * po/it.po:
9572         * po/nb.po:
9573         * po/nl.po:
9574         * po/ru.po:
9575         * po/sq.po:
9576         * po/sr.po:
9577         * po/sv.po:
9578         * po/tr.po:
9579         * po/uk.po:
9580         * po/vi.po:
9581         * po/zh_CN.po:
9582         * po/zh_TW.po:
9583           Update translations from translation project
9584
9585 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9586
9587         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9588         (gst_child_proxy_set_property):
9589           Invert precondition check to be alike the ones in the mimiced gobject
9590           api.
9591
9592 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9593
9594         * docs/design/draft-tagreading.txt:
9595         * docs/random/ensonic/audiobaseclasses.txt:
9596           Do some Architect work.
9597
9598         * gst/gstobject.c: (gst_object_set_name):
9599           Add a WARNING.
9600
9601         * gst/gstpad.c:
9602           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9603
9604 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9605
9606         * gst/gstsystemclock.c: (gst_system_clock_init),
9607         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9608         Defer starting the async system clock thread until the first async
9609         wait is scheduled. Fixes #414986.
9610
9611 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9612
9613         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9614         (gst_single_queue_free):
9615           Fix small leak (free GstSingleQueue structure too, not only contents).
9616
9617 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9618
9619         * gst/gstbin.c:(gst_bin_add):
9620         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9621         * win32/common/libgstbase.def:
9622         * win32/common/libgstreamer.def:
9623         Add new exported functions.
9624
9625 2007-03-09  Wim Taymans  <wim@fluendo.com>
9626
9627         * docs/plugins/gstreamer-plugins-sections.txt:
9628         Fix GstTee docs.
9629
9630 2007-03-09  Wim Taymans  <wim@fluendo.com>
9631
9632         * docs/gst/gstreamer-sections.txt:
9633         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9634         * gst/gstbuffer.h:
9635         Add metadata copy functions. Fixes #393099.
9636         API: gst_buffer_copy_metadata()
9637
9638         * gst/gstutils.c: (gst_buffer_stamp):
9639         * libs/gst/base/gstbasetransform.c:
9640         (gst_base_transform_prepare_output_buffer):
9641         Use new metadata copy functions.
9642
9643 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9644
9645         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9646         (gst_identity_init), (gst_identity_check_perfect),
9647         (gst_identity_check_imperfect_timestamp),
9648         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9649         (gst_identity_set_property), (gst_identity_get_property):
9650         * plugins/elements/gstidentity.h:
9651         Separate out check-imperfect-timestamp and check-imperfect-offset.
9652         Put back check-perfect as it was to keep compatibility.
9653
9654 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9655
9656         * gst/gstelement.c: (gst_element_dispose):
9657         There's no need to warn if VOID_PENDING is not NONE here, as
9658         long as the state is NULL it's ok, and that's checked immediately
9659         above.
9660
9661 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9662
9663         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9664         Fix check for perfect stream to ignore buffers with -1 
9665         offsets/offset ends when checking data contiguity.
9666
9667 2007-03-08  Wim Taymans  <wim@fluendo.com>
9668
9669         * tools/gst-launch.c: (event_loop):
9670         Print INFO messages.
9671
9672 2007-03-08  Wim Taymans  <wim@fluendo.com>
9673
9674         * libs/gst/base/gstbasetransform.c:
9675         (gst_base_transform_sink_eventfunc),
9676         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9677         (gst_base_transform_activate):
9678         * libs/gst/base/gstbasetransform.h:
9679         Add support for dropping buffers with custom GstFlowReturn.
9680         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9681         buffers or dropped buffers.
9682
9683         * docs/libs/gstreamer-libs-sections.txt:
9684         docs for new custom return code.
9685
9686         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9687         Use drop support in base class to implement drop-probability.
9688
9689 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9690
9691         * gst/gst.c: (load_plugin_func):
9692         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9693         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9694         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9695           Remove newlines at end of debug log strings.
9696
9697 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9698
9699         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9700         Only post bus message at max, once per buffer received.
9701
9702 2007-03-07  Wim Taymans  <wim@fluendo.com>
9703
9704         * docs/design/Makefile.am:
9705         * docs/design/part-synchronisation.txt:
9706         Add doc about synchronisation
9707
9708         * docs/design/draft-latency.txt:
9709         * docs/design/part-TODO.txt:
9710         * docs/design/part-clocks.txt:
9711         * docs/design/part-events.txt:
9712         * docs/design/part-gstbus.txt:
9713         * docs/design/part-gstpipeline.txt:
9714         * docs/design/part-live-source.txt:
9715         * docs/design/part-messages.txt:
9716         * docs/design/part-overview.txt:
9717         * docs/design/part-streams.txt:
9718         * docs/design/part-trickmodes.txt:
9719         Documentation updates.
9720
9721 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9722
9723         * gstreamer.doap:
9724         Update the doap file.
9725
9726 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9727
9728         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9729         Rename non-perfect to imperfect for Mike and for the sanctity of the
9730         language.
9731         Also make sure bus message gets emitted for data-incontiguities.
9732
9733 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9734
9735         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9736         (gst_identity_start):
9737         * plugins/elements/gstidentity.h:
9738         Emit bus message if check-perfect is true and we encounter a
9739         non-perfect stream between 2 consecutive buffers.
9740         Fixes #415394.
9741
9742 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9743
9744         * configure.ac:
9745         Back to CVS
9746
9747 === release 0.10.12 ===
9748
9749 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9750
9751         * configure.ac:
9752           releasing 0.10.12, "Inevitable Demise"
9753
9754 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9755
9756         * configure.ac:
9757          Version 0.10.11.2 (0.10.12 pre-release)
9758          Bump libtool versioning.
9759
9760 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9761
9762         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9763           Log flow-names and not numbers.
9764
9765 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9766
9767         * configure.ac:
9768           Convert to new AG_GST style.
9769
9770 2007-02-28  Wim Taymans  <wim@fluendo.com>
9771
9772         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9773         Don't unref query twice.
9774
9775 2007-02-28  Wim Taymans  <wim@fluendo.com>
9776
9777         * gst/gstvalue.c: (gst_value_transform_object_string),
9778         (_gst_value_initialize):
9779         Implement GstObject -> string transform so we print object names
9780         when serializing GValues containing GstObjects.
9781
9782 2007-02-28  Wim Taymans  <wim@fluendo.com>
9783
9784         * docs/gst/gstreamer-sections.txt:
9785         Add new stuff to docs.
9786
9787 2007-02-28  Wim Taymans  <wim@fluendo.com>
9788
9789         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9790         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9791         (gst_base_sink_change_state):
9792         Improve latency query code.
9793         Don't leak latency events.
9794
9795         * tests/check/gst/gstbin.c: (GST_START_TEST):
9796         Improve debugging.
9797
9798 2007-02-28  Wim Taymans  <wim@fluendo.com>
9799
9800         * gst/gstelement.c: (gst_element_message_full),
9801         (gst_element_get_state_func):
9802         * gst/gstelement.h:
9803         Improve docs a little. Added Since: for new macro.
9804
9805         * gst/gstobject.c: (gst_object_sink):
9806         * gst/gstpipeline.c: (gst_pipeline_change_state),
9807         (gst_pipeline_set_new_stream_time):
9808         * gst/gstpipeline.h:
9809         Improve debugging and docs.
9810
9811         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9812         Improve debugging.
9813
9814 2007-02-28  Wim Taymans  <wim@fluendo.com>
9815
9816         * gst/gstelement.c: (gst_element_message_full),
9817         (gst_element_set_locked_state), (gst_element_get_state_func),
9818         (gst_element_change_state):
9819         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9820         Documentation updates.
9821         Small code cleanups.
9822
9823         * gst/gstmessage.c: (gst_message_new_info),
9824         (gst_message_parse_info):
9825         * gst/gstmessage.h:
9826         API: gst_message_new_info()
9827         API: gst_message_parse_info()
9828         Add INFO message create and parse code.
9829
9830 2007-02-28  Wim Taymans  <wim@fluendo.com>
9831
9832         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9833         (bin_query_latency_done):
9834         Also report the live parameter of a latency query.
9835
9836 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9837
9838         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9839           Copy the current generic/states example from -base and adapt so
9840           we can use the exact same code everywhere.
9841           Check a STATES_IGNORE_ELEMENTS env var which can be used
9842           to ignore certain element factories for this test, which is
9843           what is being done in -base
9844         * tests/check/Makefile.am:
9845           Mention this environment variable.
9846
9847 2007-02-27  Wim Taymans  <wim@fluendo.com>
9848
9849         * docs/gst/gstreamer-sections.txt:
9850         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9851         (gst_bus_timed_pop), (gst_bus_pop):
9852         * gst/gstbus.h:
9853         API: gst_bus_timed_pop()
9854         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9855         message to arrive on the bus.
9856
9857         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9858         (gst_bus_suite):
9859         Two unit tests for new _timed_pop() function.
9860
9861 2007-02-23  Wim Taymans  <wim@fluendo.com>
9862
9863         * gst/gstpipeline.c: (gst_pipeline_change_state),
9864         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9865         Don't ref a NULL clock in _provide_clock_func().
9866         Don't allow an INVALID delay.
9867         Don't try to calculate base_time with an invalid start_time.
9868         Also distribute and notify a NULL clock when it was selected.
9869
9870         * tools/gst-launch.c: (event_loop):
9871         Don't crash when a NULL clock was selected in the pipeline.
9872
9873 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9874
9875         * docs/design/Makefile.am:
9876         * docs/design/draft-missing-plugins.txt:
9877         * docs/random/draft-missing-plugins.txt:
9878           Some small updates: update plugin system identifier prefix
9879           ('gstreamer.net' to 'gstreamer'), mention our new install
9880           API in libgstbaseutils rather than libgimme-codec, add
9881           reference to the online docs.
9882
9883 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9884
9885         * win32/common/config.h:
9886           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
9887           use moap cl ci to only check in what is mentioned in the ChangeLog.
9888
9889 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9890
9891         * docs/gst/gstreamer-sections.txt:
9892         * gst/gstelement.h:
9893           Fix up documentation to link to the correct GstGError section.
9894           Add GST_ELEMENT_INFO macro since someone else added a Info message.
9895
9896 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9897
9898         * tools/gst-launch.c: (event_loop):
9899           Make sure that we actually show the important message part of a
9900           warning message.
9901           No need to check if the gerror is not NULL to free; first of all
9902           g_free accepts NULL; and second the default error handler would
9903           segfault if gerror was NULL.
9904
9905 2007-02-21  Wim Taymans  <wim@fluendo.com>
9906
9907         * docs/gst/gstreamer-sections.txt:
9908         Removed docs as well.
9909
9910 2007-02-21  Wim Taymans  <wim@fluendo.com>
9911
9912         * gst/gstmessage.c: (gst_message_parse_duration):
9913         * gst/gstmessage.h:
9914         Remove new messages for release.
9915
9916 2007-02-20  Wim Taymans  <wim@fluendo.com>
9917
9918         * docs/design/part-gstghostpad.txt:
9919         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9920         (gst_ghost_pad_new_full):
9921         Make the ghostpad a parent of the internal pad again for better backward
9922         compatibility. Don't write code that relies on this however.
9923
9924         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9925         (gst_pad_link_check_hierarchy):
9926         Require that parents should be GstElements in the hierarchy check.
9927
9928 2007-02-20  Wim Taymans  <wim@fluendo.com>
9929
9930         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9931         (gst_bin_change_state_func), (bin_query_min_max_init),
9932         (bin_query_latency_fold), (bin_query_latency_done),
9933         (gst_bin_query):
9934         Improve debug info.
9935         Implement latency query.
9936
9937 2007-02-20  Wim Taymans  <wim@fluendo.com>
9938
9939         * docs/design/part-gstghostpad.txt:
9940         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9941         (gst_ghost_pad_internal_do_activate_push),
9942         (gst_ghost_pad_internal_do_activate_pull),
9943         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9944         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9945         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9946         Do not set the internal pad as a parent anymore so we can avoid
9947         hierarchy linking errors when the ghostpad has no parent yet. This also
9948         fixes failed activation because of unlinked internal pads, which in
9949         turn fixes the impossible case where you have to activate a pad before
9950         you can add it to a running element.
9951         Also fix the docs.
9952
9953         * gst/gstpad.c: (pre_activate), (post_activate),
9954         (gst_pad_set_active), (gst_pad_activate_pull),
9955         (gst_pad_activate_push), (gst_pad_check_pull_range):
9956         Add some more debug info.
9957         Mark activation mode in pre_activate so that we don't try to activate in
9958         endless loops. Fixes #385084.
9959
9960 2007-02-19  Wim Taymans  <wim@fluendo.com>
9961
9962         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9963         (gst_base_transform_check_get_range):
9964         Implement a checkgetrange function instead of relying on the default
9965         core behaviour that assumes we can operate in pull mode if we have a
9966         getrange function. First step at fixing #385084.
9967
9968 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
9969
9970         * gst/gstchildproxy.h:
9971         * libs/gst/base/gstbasesink.h:
9972         * libs/gst/base/gstbasesrc.h:
9973         * libs/gst/base/gstbasetransform.h:
9974         More docs coverage and some ChangeLog surgery (add missing names)
9975
9976 2007-02-15  Wim Taymans  <wim@fluendo.com>
9977
9978         * docs/design/part-TODO.txt:
9979         * docs/design/part-activation.txt:
9980         * docs/design/part-block.txt:
9981         * docs/design/part-buffering.txt:
9982         * docs/design/part-clocks.txt:
9983         * docs/design/part-element-source.txt:
9984         * docs/design/part-events.txt:
9985         * docs/design/part-gstbin.txt:
9986         * docs/design/part-gstbus.txt:
9987         * docs/design/part-gstpipeline.txt:
9988         * docs/design/part-live-source.txt:
9989         * docs/design/part-messages.txt:
9990         * docs/design/part-overview.txt:
9991         * docs/design/part-qos.txt:
9992         * docs/design/part-query.txt:
9993         * docs/design/part-states.txt:
9994         * docs/design/part-trickmodes.txt:
9995         Some doc updates. Start renaming from stream_time to running_time where
9996         it was used wrongly.
9997
9998 2007-02-15  Wim Taymans  <wim@fluendo.com>
9999
10000         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10001         Answer LATENCY query.
10002
10003 2007-02-15  Wim Taymans  <wim@fluendo.com>
10004
10005         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10006         (GST_START_TEST):
10007         Improve debugging.
10008
10009 2007-02-15  Wim Taymans  <wim@fluendo.com>
10010
10011         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10012         (gst_pad_dispatcher):
10013         Improve debugging of default pad dispatcher and query functions.
10014
10015 2007-02-15  Wim Taymans  <wim@fluendo.com>
10016
10017         * docs/gst/gstreamer-sections.txt:
10018         Remove old unused method.
10019
10020 2007-02-13  Wim Taymans  <wim@fluendo.com>
10021
10022         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10023         Fix check
10024
10025 2007-02-13  Wim Taymans  <wim@fluendo.com>
10026
10027         * docs/design/part-seeking.txt:
10028         Some small update.
10029
10030         * gst/gstsegment.c: (gst_segment_set_seek):
10031         Revert old bogus change that should make seeking work again.
10032
10033 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10034
10035         * docs/random/ensonic/dynlink.txt:
10036         * docs/random/ensonic/interfaces.txt:
10037         * docs/random/ensonic/receipies.txt:
10038           Possible dynamic reconnection api, plus some type fixes the other two
10039           docs.
10040
10041 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10042
10043         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10044         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10045         Also check for an absolute path following file:// in the filesrc
10046         element. Remove redundant check and call g_path_is_absolute() on the
10047         unescaped location.
10048
10049 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10050
10051         * docs/design/draft-klass.txt:
10052           Add existing category analysis.
10053           
10054         * gst/gstcaps.c:
10055           Fix doc example, framerate is a fraction.
10056
10057 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10058
10059         * configure.ac:
10060         * docs/gst/Makefile.am:
10061         * docs/gst/gstreamer-sections.txt:
10062         * docs/libs/Makefile.am:
10063           Erm, forgot a bunch of --extra-dir.
10064
10065 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10066
10067         * configure.ac:
10068         * docs/gst/Makefile.am:
10069         * docs/libs/Makefile.am:
10070         * docs/plugins/Makefile.am:
10071           Add crossreferences to glib/gobject docs.
10072
10073 2007-02-12  Wim Taymans  <wim@fluendo.com>
10074
10075         * docs/design/draft-latency.txt:
10076         Small update.
10077
10078         * docs/libs/gstreamer-libs-sections.txt:
10079         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10080         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10081         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10082         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10083         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10084         (gst_base_sink_get_position), (gst_base_sink_query),
10085         (gst_base_sink_change_state):
10086         * libs/gst/base/gstbasesink.h:
10087         API: gst_base_sink_query_latency() to let subclasses query the upstream
10088         latency.
10089         API: gst_base_sink_get_latency() to let subclasses query the configured
10090         latency in the sink.
10091         Implement query and set latency.
10092         Update some docs.
10093         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10094         don't continue preroll when we are flushing. Fixes #405284.
10095
10096         * tests/check/pipelines/stress.c: (change_state_timeout),
10097         (quit_timeout), (GST_START_TEST), (stress_suite):
10098         Test for #405284.
10099
10100 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10101
10102         Patch by: René Stadler <mail at renestadler de>
10103
10104         * docs/gst/gstreamer-sections.txt:
10105         * gst/gsttaglist.c: (_gst_tag_initialize):
10106         * gst/gsttaglist.h:
10107           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10108
10109 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10110
10111         * docs/libs/Makefile.am:
10112           Fix path to core docs.
10113
10114         * gst/gstbin.c: (gst_bin_get_by_interface),
10115         (gst_bin_iterate_all_by_interface):
10116           Refix docs by also renaming 'interface' to 'iface' in implementation.
10117
10118         * docs/gst/gstreamer-sections.txt:
10119         * gst/gstcaps.c:
10120         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10121         * gst/gstchildproxy.h:
10122         * gst/gstelementfactory.c:
10123         * gst/gstpadtemplate.h:
10124         * libs/gst/controller/gstcontroller.c:
10125         (gst_controlled_property_new):
10126           Document more.
10127
10128 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10129
10130         * gst/gstbin.h:(gst_bin_get_by_interface),
10131         (gst_bin_iterate_all_by_interface):
10132         Replace interface parameter name by iface as interface is 
10133         a reserved keyword in Visual Studio for C++ projects so it removes
10134         a build error for application developpers using VS.
10135         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10136         Fix a bug on Windows in uri format check. Now the prefix checked
10137         is file:// and next we check if the path after file:// is absolute.
10138         * win32/common/libgstbase.def:
10139         * win32/common/libgstdataprotocol.def:
10140         * win32/common/libgstgstreamer.def:
10141         Add new exported functions.
10142
10143 2007-02-09  Andy Wingo  <wingo@pobox.com>
10144
10145         * tests/check/pipelines/simple-launch-lines.c
10146         (simple_launch_lines_suite, test_tee): Disable tee test until I
10147         have time to fix it :-(
10148
10149         * tests/check/Makefile.am (noinst_HEADERS): 
10150         * tests/check/libs/libsabi.c: 
10151         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10152         * tests/check/gst/gstabi.c: 
10153         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10154
10155         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10156         tests for push and pull tee behavior.
10157
10158         * plugins/elements/gsttee.h: 
10159         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10160         mark as deprecated as well as unimplemented. It was a crack idea.
10161         Add support for tee operating in pull mode, off by default.
10162
10163         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10164         normal-case logs down to LOG, raise errors to WARNING.
10165         (gst_registry_xml_read_cache): Don't log before calling a function
10166         that logs.
10167
10168         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10169         exit (registry finalize).
10170         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10171         DEBUG log when we emit signals that people don't even have the
10172         chance to connect to.
10173         (gst_registry_scan_path_level): Less logging in the normal case.
10174
10175 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10176
10177         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10178
10179         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10180         Correctly generate EOS for non-seekable files. We don't have a total
10181         length for them and would get an unexpected end of file if we only
10182         special-cased for regular files. (Fixes: #404569)
10183
10184 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10185
10186         * tests/check/elements/filesrc.c: (GST_START_TEST),
10187         (filesrc_suite):
10188         Add unit test for the GstURIHandler interface in filesrc. This also
10189         tests the newly added file://localhost/foo/bar support.
10190
10191 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10192
10193         * gst/gstelementfactory.h:
10194           The klass string is not a hierarchy. Add reference to the design doc
10195           for more information and common types.
10196
10197 2007-02-02  Wim Taymans  <wim@fluendo.com>
10198
10199         * gst/gstquery.c: (gst_query_new_latency):
10200         Remove old structure field.
10201
10202 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10203
10204         * tools/gst-launch.1.in:
10205           Give example for network streaming (#351998)
10206
10207 2007-02-02  Wim Taymans  <wim@fluendo.com>
10208
10209         * docs/gst/gstreamer-sections.txt:
10210         Add docs for new methods.
10211
10212         * gst/gstevent.c: (gst_event_new_latency),
10213         (gst_event_parse_latency):
10214         * gst/gstevent.h:
10215         Add new LATENCY event to configure latency in a pipeline.
10216         API: gst_event_new_latency
10217         API: gst_event_parse_latency
10218
10219         * gst/gstmessage.c: (gst_message_new_buffering),
10220         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10221         (gst_message_new_latency), (gst_message_parse_buffering),
10222         (gst_message_parse_lost_preroll):
10223         * gst/gstmessage.h:
10224         Added messages used in draft-latency.
10225         API: gst_message_new_lost_preroll
10226         API: gst_message_parse_lost_preroll
10227         API: gst_message_new_prerolled
10228         API: gst_message_new_latency
10229
10230         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10231         (gst_query_parse_latency):
10232         * gst/gstquery.h:
10233         Implemented new latency query as in design doc.
10234         API: gst_query_new_latency
10235         API: gst_query_set_latency
10236         API: gst_query_parse_latency
10237
10238 2007-02-02  Wim Taymans  <wim@fluendo.com>
10239
10240         * docs/design/draft-latency.txt:
10241         Slight redesign to allow for dynamic latency adjustments.
10242
10243         * docs/design/part-negotiation.txt:
10244         Fix some typos.
10245
10246 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10247
10248         reviewed by: Wim Taymans <wim@fluendo.com>
10249
10250         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10251         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10252         Allow file://localhost/foo/bar URLs and correctly fail for every other
10253         hostname that one sets. This was gnomevfssrc is linked for those if
10254         installed as it can handle it (#403172)
10255
10256 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10257
10258         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10259
10260         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10261         (unref_data), (gst_collect_pads_add_pad_full):
10262         * libs/gst/base/gstcollectpads.h:
10263         Don't put the previously added destroy notify in the GstCollectData
10264         struct as all it's padding is already used and we don't want to break
10265         ABI. Instead put in the pad's GObject data for now. This should be
10266         cleaned up for 0.11 (#402393).
10267
10268 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10269
10270         reviewed by: Wim Taymans <wim@fluendo.com>
10271
10272         * docs/libs/gstreamer-libs-sections.txt:
10273         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10274         (unref_data), (gst_collect_pads_add_pad),
10275         (gst_collect_pads_add_pad_full):
10276         * libs/gst/base/gstcollectpads.h:
10277         API: Add function to specify a destroy notification for custom
10278         GstCollectData when adding new pads in GstCollectPads (#402393).
10279
10280 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10281
10282         * po/sv.po:
10283           Update Swedish translation (#378255).
10284
10285 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10286
10287         * docs/design/draft-klass.txt:
10288           Fix the previous change, this is a list of categories and not a hierarchy.
10289
10290 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10291
10292         * docs/design/draft-klass.txt:
10293           Add info about how to get a list of used classes.
10294
10295 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10296
10297         * plugins/elements/gsttypefindelement.c:
10298         (gst_type_find_element_chain_do_typefinding),
10299         (gst_type_find_element_change_state):
10300           Don't leak found caps in chain function (no idea why that never
10301           showed up as a leak anywhere).
10302
10303 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10304
10305         * gst/gstplugin.h:
10306           Fix and expand GstPluginDesc API docs.
10307
10308 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10309
10310         * gst/gstcaps.c:
10311         * gst/gstelementfactory.c:
10312         * gst/gstpadtemplate.h:
10313           api doc fixes
10314
10315         * libs/gst/controller/gstcontroller.c:
10316         (gst_controlled_property_new):
10317         * tests/examples/controller/audio-example.c:
10318           comment fixes
10319
10320 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10321
10322         * configure.ac:
10323           comment about refining the xml deps
10324
10325         * docs/manuals.mak:
10326           comments about moving away from jade for docs
10327         
10328         * gst/gst.c:
10329           recommit the ifdefs to use the binary registry
10330         
10331         * gst/gstbin.c: (gst_bin_change_state_func):
10332           this break is obsolete
10333
10334         * gst/gstelementfactory.h:
10335           better GST_ELEMENT_DETAILS docs, add comment about translation
10336
10337         * gst/gstinfo.h:
10338           remove eol slash
10339
10340         * gst/gstobject.c: (gst_signal_object_get_type):
10341           add G_UNLIKELY as usual
10342
10343         * gst/gstpad.c: (gst_pad_event_default):
10344           add fall trhu comment
10345
10346         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10347         (gst_registry_binary_initialize_magic),
10348         (gst_registry_binary_save_string),
10349         (gst_registry_binary_save_pad_template),
10350         (gst_registry_binary_save_feature),
10351         (gst_registry_binary_save_plugin),
10352         (gst_registry_binary_write_cache),
10353         (gst_registry_binary_check_magic),
10354         (gst_registry_binary_load_pad_template),
10355         (gst_registry_binary_load_feature),
10356         (gst_registry_binary_load_plugin),
10357         (gst_registry_binary_read_cache):
10358           comment typo and formatting
10359
10360         * gst/gstutils.c: (gst_element_state_get_name),
10361         (gst_element_state_change_return_get_name):
10362           remove obsolete breaks
10363
10364         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10365           add FIXME 0.11 and remove cpp comment
10366
10367 2007-01-29  Edward Hervey  <edward@fluendo.com>
10368
10369         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10370         Fix print statement in an even more portable way.
10371
10372 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10373
10374         * docs/gst/gstreamer-sections.txt:
10375         * gst/gstutils.h:
10376           API: add GST_ROUND_DOWN_* macros (#401781).
10377
10378 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10379
10380         * docs/gst/gstreamer.types.in:
10381         * gst/gstregistry.c: (gst_registry_class_init):
10382           Document registry signals and make gtk-doc pick them up (#401381).
10383
10384 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10385
10386         * docs/pwg/building-testapp.xml:
10387           Add some audioconverts and audioresample to the pipeline, and some
10388           more comments and error handling.
10389
10390 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10391
10392         * docs/manual/manual.xml:
10393         * docs/pwg/pwg.xml:
10394           Fix typo (#400987).
10395
10396 2007-01-26  Wim Taymans  <wim@fluendo.com>
10397
10398         * gst/gstcaps.c: (gst_static_caps_get):
10399         Init caps flags too.
10400
10401 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10402
10403         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10404
10405         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10406         If not using mmap'ed files try to seek to the end instead of the
10407         start to determine whether we can seek at all. This fixes the case
10408         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10409         seeks for everything afterwards fail. Fixes #400656
10410
10411 2007-01-25  Wim Taymans  <wim@fluendo.com>
10412
10413         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10414         Add some refcount debugging.
10415         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10416         in multiple streaming threads.
10417
10418 2007-01-25  Wim Taymans  <wim@fluendo.com>
10419
10420         Patch by: David Schleef <ds at schleef dot org>
10421
10422         * docs/libs/gstreamer-libs-sections.txt:
10423         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10424         * libs/gst/base/gstadapter.h:
10425         API: gst_adapter_copy() that can reduce the amount of memcpy when
10426         getting data from the adapter. Fixes #388201.
10427
10428 2007-01-25  Edward Hervey  <edward@fluendo.com>
10429
10430         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10431         In print statements, "%x" is for guint. Fixes build on macosx.
10432
10433 2007-01-24  Edward Hervey  <edward@fluendo.com>
10434
10435         * plugins/elements/gstmultiqueue.c:
10436         (gst_multi_queue_loop):
10437         Small fix.
10438         (single_queue_overrun_cb), (single_queue_underrun_cb),
10439         (single_queue_check_full), (gst_single_queue_new):
10440         Implement single queue growth system.
10441         This uses the extra-size properties, and will grow single queues by
10442         that much if one goes full whereas there are others empty. This is
10443         called extra-mode in the code.
10444         When a single queue's levels go back below the initial max-size
10445         limits, it is no longer in extra-mode. This is to ensure we don't
10446         consume too much memory.
10447         Fixes #399875
10448
10449 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10450
10451         * gst/gst.c: (gst_init_get_option_group):
10452           Make warning about late g_thread_init() calls a bit more explicit,
10453           so that it's more obvious to application developers what they need
10454           to do if a user files a bug against their application.
10455
10456 2007-01-22  Edward Hervey  <edward@fluendo.com>
10457
10458         * plugins/elements/gstmultiqueue.c:
10459         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10460         Remove previous hack of unsetting the flushing flag for the source pad
10461         instead of activating it. Instead, fix the source pad activate function
10462         so that it no longer depends on having a parent set or not.
10463
10464 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10465
10466         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10467
10468         * docs/manual/basics-bus.xml:
10469           Fix example code, gst_element_unref() doesn't exist any longer.
10470
10471 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10472
10473         Patch by: Mark Nauwelaerts <manauw at skynet be>
10474
10475         * gst/gstpad.c:
10476           Fix two docs typoes (#399094).
10477
10478 2007-01-19  Edward Hervey  <edward@fluendo.com>
10479
10480         * docs/faq/gst-uninstalled:
10481         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10482         depending on libgstbaseutils can work in uninstalled environment.
10483
10484 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10485
10486         * gst/gsttaglist.h:
10487         * gst/gsttagsetter.c:
10488         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10489         statement for new tag.
10490
10491 2007-01-17  Edward Hervey  <edward@fluendo.com>
10492
10493         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10494         When dynamically creating single queues, activate sinkpad before adding
10495         it.
10496         We should be doing the same thing for the source pad, but we can't
10497         since it would call a method which needs the parent to be set in order
10498         to work propertly. Instead of activating the source pad, we just unset
10499         the flushing flag, which is the minimal requirement for adding a pad
10500         to an element in a state greater than READY.
10501
10502 2007-01-17  Edward Hervey  <edward@fluendo.com>
10503
10504         * docs/faq/gst-uninstalled:
10505         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10506         Mac OS X.
10507
10508 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10509
10510         * tests/check/gst/gstabi.c:
10511         * tests/check/gst/struct_hppa.h:
10512         * tests/check/libs/libsabi.c:
10513         * tests/check/libs/struct_hppa.h:
10514           Add ABI structs for HPPA (see #393796).
10515
10516 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10517
10518         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10519           Actually write ABI structs to the file specified in the GST_ABI
10520           environment variable, as the message we print claims we would.
10521
10522 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10523
10524         * tests/check/gst/gsttask.c:
10525           Fix header comment.
10526
10527 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10528
10529         * gst/gsttaglist.c: (_gst_tag_initialize):
10530           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10531           previous two entries.
10532
10533 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10534
10535         * docs/gst/gstreamer-sections.txt:
10536         * gst/gsttaglist.c: (_gst_tag_initialize):
10537         * gst/gsttaglist.h:
10538           Add tag support for beat-per-minute.
10539
10540 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10541
10542         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10543         (gst_registry_binary_initialize_magic),
10544         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10545         (gst_registry_binary_save_pad_template),
10546         (gst_registry_binary_save_feature),
10547         (gst_registry_binary_save_plugin),
10548         (gst_registry_binary_write_cache),
10549         (gst_registry_binary_check_magic),
10550         (gst_registry_binary_load_pad_template),
10551         (gst_registry_binary_load_feature),
10552         (gst_registry_binary_load_plugin),
10553         (gst_registry_binary_read_cache):
10554         * gst/gstregistrybinary.h:
10555           Use glib types, cleanup comments, impement interfaces and uri-types.
10556
10557 2007-01-13  Andy Wingo  <wingo@pobox.com>
10558
10559         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10560         getrange() to return buffers with other caps, while we fix
10561         demuxers and typefind, or otherwise change part-negotiation.txt.
10562
10563 2007-01-12  Andy Wingo  <wingo@pobox.com>
10564
10565         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10566         Factor start/stop into this private function instead of partially
10567         in activate functions and partially in the change_state function.
10568         Fixes setup before the element has changed from READY->PAUSED, as
10569         is the case in pull-mode pipelines.
10570         (gst_base_transform_sink_activate_push)
10571         (gst_base_transform_src_activate_pull): Refactor to use
10572         gst_base_transform_activate().
10573         (gst_base_transform_change_state): Removed, not needed any more.
10574
10575         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10576         Truncate before fixating.
10577         
10578         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10579         Don't set_caps() if the result of fixating is ANY, as it's not
10580         supported, and not necessary in the case of a link with no
10581         template caps on either side. Fixes tests/check/libs/basesrc in
10582         some pull-mode tests.
10583
10584         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10585         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10586         (gst_base_transform_src_activate_pull): 
10587         Track the activation mode.
10588         (gst_base_transform_setcaps): In pull mode, when activating the
10589         src pad, after activating the sink pad, activate the sink pad's
10590         peer, as discussed in part-negotiation.txt.
10591
10592         * libs/gst/base/gstbasesrc.h: 
10593         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10594         vmethod, as in basesink.
10595
10596         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10597
10598         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10599         mode, first proxy the setcaps to the peer pad.
10600         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10601         new fixate vmethod.
10602         (gst_base_sink_default_activate_pull): Rename from
10603         gst_base_sink_activate_pull.
10604         (gst_base_sink_negotiate_pull): New function, performs negotiation
10605         in pull mode before calling ::activate_pull().
10606         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10607         vmethod instead of the default implementation. I have no idea how
10608         this worked before. Negotiate before calling activate_pull.
10609
10610         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10611         sink pads in pull mode. In addition to being correct, fixes
10612         filesrc ! decodebin ! identity ! fakesink.
10613         (gst_pad_get_range, gst_pad_pull_range): Don't call
10614         gst_pad_set_caps() if the caps changes; instead error out with
10615         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10616
10617 2007-01-12  Andy Wingo  <wingo@pobox.com>
10618
10619         * docs/design/part-negotiation.txt: Update with more policy.
10620
10621 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10622
10623         * libs/gst/check/gstbufferstraw.h:
10624         * libs/gst/check/gstcheck.h:
10625           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10626           belongs.
10627
10628 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10629
10630         * tests/check/Makefile.am:
10631         * tests/check/gst/.cvsignore:
10632         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10633         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10634         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10635         (GST_START_TEST), (gst_tag_setter_suite):
10636           Add minimal unit test for beforementioned GstTagSetter bug.
10637
10638 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10639
10640         Patch by: René Stadler <mail at renestadler dot de>
10641
10642         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10643           gst_tag_list_merge() returns a new list, so it's not the best idea
10644           to ingore its return value. Effectively meant that tags could only
10645           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10646           Also add function guard to require a non-NULL taglist as input (has
10647           always been so due to gst_tag_list_copy(), just making it explicit).
10648
10649 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10650
10651         * docs/random/draft-missing-plugins.txt:
10652           Some additions: mention new API that is supposed to be used at the
10653           various stages; short blob about new gst-inspect introspection
10654           option; mention potential future problem with plugins that have
10655           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10656
10657 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10658
10659         * tools/gst-inspect.c:
10660         (print_plugin_automatic_install_info_codecs),
10661         (print_plugin_automatic_install_info_protocols),
10662         (print_plugin_automatic_install_info), (main):
10663         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10664         introspect plugin files and get machine-parsable output that corresponds
10665         to the last bit of the missing-plugin installer string (small gotcha:
10666         doesn't take into account ranks).
10667
10668 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10669
10670         * configure.ac:
10671         * docs/gst/gstreamer-sections.txt:
10672         * gst/Makefile.am:
10673         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10674         (gst_registry_lookup_locked):
10675         * gst/gstregistry.h:
10676         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10677         (gst_registry_binary_initialize_magic),
10678         (gst_registry_binary_save_string),
10679         (gst_registry_binary_save_pad_template),
10680         (gst_registry_binary_save_feature),
10681         (gst_registry_binary_save_plugin),
10682         (gst_registry_binary_write_cache),
10683         (gst_registry_binary_check_magic),
10684         (gst_registry_binary_load_pad_template),
10685         (gst_registry_binary_load_feature),
10686         (gst_registry_binary_load_plugin),
10687         (gst_registry_binary_read_cache):
10688         * gst/gstregistrybinary.h:
10689         * gst/gstregistryxml.c: (load_feature),
10690         (gst_registry_xml_read_cache):
10691           commit binary registry (disabled by default, see #359653)
10692
10693 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10694
10695         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10696           Fix 'make check' too.
10697
10698 2007-01-10  Andy Wingo  <wingo@pobox.com>
10699
10700         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10701         notes.
10702         
10703         * docs/design/part-negotiation.txt: Update with, um, one way that
10704         pull-mode negotiation might work?
10705
10706         * gst/gstpad.h: 
10707         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10708         that the pad must be a src pad; makes sense to call it the other
10709         way in pull mode, and the logic is symmetric anyway.
10710
10711 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10712
10713         * plugins/elements/gstfilesink.c:
10714           Include <stdio.h> for fseeko().
10715
10716 2007-01-10  Wim Taymans  <wim@fluendo.com>
10717
10718         * gst/gstevent.c:
10719         * gst/gstevent.h:
10720         Reserve LATENCY event.
10721
10722 2007-01-09  Wim Taymans  <wim@fluendo.com>
10723
10724         * docs/design/draft-latency.txt:
10725         Updates.
10726
10727 2007-01-09  Wim Taymans  <wim@fluendo.com>
10728
10729         * docs/design/draft-latency.txt:
10730         Updates.
10731
10732         * gst/gstelement.h:
10733         * gst/gststructure.c:
10734         * gst/gsttrace.c:
10735         Small typo fixes.
10736
10737 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10738
10739         * tests/check/.cvsignore:
10740           Ignore test-registry.xml as well.
10741
10742 2007-01-09  Wim Taymans  <wim@fluendo.com>
10743
10744         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10745         unref data at the end when we are done with the pad.
10746
10747 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10748
10749         * docs/gst/gstreamer-sections.txt:
10750         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10751         (init_post), (gst_deinit), (gst_update_registry):
10752         * gst/gst.h:
10753           API: add gst_update_registry() (#391296).
10754
10755         * tests/check/Makefile.am:
10756         * tests/check/gst/gstregistry.c:
10757         * tests/check/gst/.cvsignore:
10758           Simple unit test for the above.
10759
10760 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10761
10762         * gst/gstregistry.c: (gst_registry_scan_path_level):
10763           Plugin extension on HP-UX is .sl, add that to the list of approved
10764           plugin extensions (see #393796).
10765
10766         * tests/check/gst/gstpad.c: (GST_START_TEST):
10767           ulong => gulong. Fixes compilation with HP-UX compiler.
10768
10769         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10770           Fix compilation if valgrind headers are not available.
10771
10772 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10773
10774         * win32/common/libgstreamer.def: 
10775           Add new exported function.
10776         * win32/vs6/libgstbase.dsp: 
10777           Add gstdataqueue.c to the build.
10778         * win32/vs6/libgstcoreelements.dsp:
10779           Add gstmultiqueue.c to the build.
10780         
10781 2007-01-06  Andy Wingo  <wingo@pobox.com>
10782
10783         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10784         activate_pull(), providing for a way to specialize the process of
10785         spawning a thread to pull on the sink pad. There is a default
10786         implementation.
10787
10788         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10789         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10790         (gst_base_sink_init): Renamed pad activation functions (inserting
10791         "_pad" in their names). Refactor to use the new activate_pull
10792         vmethod, as appropriate.
10793         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10794         default activate_pull function to start a task pulling from the
10795         sink pad, as before.
10796
10797         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10798         on the pads if necessary, as in push()/chain(). Update docs.
10799         Shouldn't affect existing pull() usage as it is currently only
10800         being used on buffers without caps.
10801
10802 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10803
10804         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10805         (init_pre):
10806           Call g_thread_init() first thing in gst_init() / gst_check_init().
10807           When initialisation is done via gst_init_get_option_group() and
10808           GOption parsing, issue a warning if the GLib thread system has not
10809           been initialised yet by the time gst_init_get_option_group() is
10810           called, as it's quite likely other GLib functions such as
10811           g_option_context_new() have been called already then, and
10812           g_thread_init() must be called before any other GLib function. The
10813           application in question must be fixed in that case, since memory
10814           corruption might happen otherwise.
10815           We issue the warning because even if the GLib folks decide to work
10816           around the problem on their end in future, this is still an issue
10817           with all GLib versions >= 2.10.0, so we should warn until we depend
10818           on a GLib version we know to be safe.
10819           Update documentation as well.
10820           Closes bug #391278.
10821
10822 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10823
10824         * tools/gst-inspect.c: (main):
10825         * tools/gst-launch.c: (main):
10826         * tools/gst-typefind.c: (main):
10827         * tools/gst-xmlinspect.c: (main):
10828           Call g_thread_init() really really early, before any other GLib
10829           function (see #342564 and recent discussion on gtk-devel-list).
10830
10831 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10832
10833         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10834
10835         * gst/gst_private.h:
10836         * gst/gstconfig.h.in:
10837         * gst/gstinfo.h:
10838           On win32, all the __declspec stuff for symbol exporting is
10839           apparently only needed with MSVC, but doesn't work with MingW.
10840           Fixes compilation with MingW and #391909.
10841
10842 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10843
10844         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10845           Change some GST_ERROR_OBJECT that aren't really errors to
10846           GST_WARNING_OBJECT in order to reduce terminal spam.
10847
10848 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10849
10850         * tests/check/Makefile.am:
10851           disable test again, as there seem to be still race problems
10852
10853 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10854
10855         * tests/check/Makefile.am:
10856         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10857         (GST_START_TEST), (queue_suite):
10858           enable queue test again, add tests for the leaky behaviour
10859
10860 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10861
10862         * configure.ac:
10863         * tests/examples/Makefile.am:
10864           Compile adapter test/example only if the required headers are
10865           available (fixes #391915).
10866
10867 2007-01-01  David Schleef  <ds@schleef.org>
10868
10869         * gst/gstplugin.c:
10870           Restore the previous signal handler for SIGSEGV instead of
10871           setting to default, since we may have stolen it away from
10872           someone.  (i.e., Mono)
10873
10874 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10875
10876         * docs/random/draft-missing-plugins.txt:
10877           Some small additions and clarifications.
10878
10879 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
10880
10881         * gst/gstregistryxml.c: (gst_registry_save_escaped):
10882           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10883           since that can lead to random memory corruptions and crashes
10884           (may or may not be related to #383244, #386711, and #386711).
10885
10886 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10887
10888         * tests/check/.cvsignore:
10889         * tests/check/Makefile.am:
10890           sync .cvsignome and CLEANFILES
10891
10892 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10893
10894         * tests/check/Makefile.am:
10895           fix distcheck
10896
10897 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10898
10899         * docs/design/part-states.txt:
10900           two tiny additional comments
10901         
10902         * gst/gststructure.c:
10903           doc fixing
10904
10905         * tests/check/Makefile.am:
10906         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10907         (GST_START_TEST):
10908           disable test for now, unless it gets fixed
10909
10910 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10911
10912         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10913         (GST_START_TEST):
10914           fix race in underrun test
10915
10916 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10917
10918         * tests/check/elements/.cvsignore:
10919           ignore more
10920
10921         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10922         (GST_START_TEST):
10923           try to narrow test failure
10924
10925 2006-12-21  David Schleef  <ds@schleef.org>
10926
10927         * plugins/elements/gstfakesrc.c:
10928           Use g_random_int_range(), since it produces better random
10929           numbers in a range than almost-correct floating point code.
10930
10931 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
10932
10933         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10934         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10935         (gst_check_teardown_sink_pad):
10936           do not automatically (de)activate pads
10937
10938         * tests/check/Makefile.am:
10939         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10940         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10941           add new, yet simple tests for queue
10942
10943         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10944         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10945         * tests/check/elements/filesrc.c: (cleanup_filesrc),
10946         (GST_START_TEST):
10947         * tests/check/elements/identity.c: (cleanup_identity):
10948           consistent pad (de)activation
10949
10950 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
10951
10952         Patch by: Sebastian Dröge  <slomo ubuntu com>
10953
10954         * libs/gst/base/gstcollectpads.c:
10955           Fix two doc typos (#387866).
10956
10957 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10958
10959         * docs/manual/advanced-dparams.xml:
10960           Fix typo (g_object_control_properties() doesn't exist).
10961
10962 2006-12-19  Edward Hervey  <edward@fluendo.com>
10963
10964         * gst/gstsegment.c: (gst_segment_set_seek):
10965         Fine tune the cases where the segment start/stop values are really
10966         updated.
10967         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10968         Add tests for the return values of gst_segment_set_seek().
10969
10970 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
10971
10972         * gst/gst.c:
10973           Docs typo fix.
10974
10975         * plugins/elements/gstqueue.c: (gst_queue_class_init),
10976         (gst_queue_init):
10977           Fix incorrect documentation and flesh it out a bit more.
10978           Set default values for the max properties on the GParamSpec as well,
10979           so it shows up correctly in gst-inspect.
10980
10981 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
10982
10983         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10984           Correct docs of queue, add more detail and crosslink it more.
10985
10986 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10987
10988         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10989           Print additional debug info when the stream isn't perfectly
10990           timestamped; don't try to use invalid durations.
10991
10992 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * docs/design/Makefile.am:
10995           Dist new design docs.
10996
10997 2006-12-16  Wim Taymans  <wim@fluendo.com>
10998
10999         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11000
11001         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11002         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11003         (gst_collect_pads_stop), (gst_collect_pads_event),
11004         (gst_collect_pads_chain):
11005         * libs/gst/base/gstcollectpads.h:
11006         Add refcounting to the collectpads data so we can track when it's safe
11007         to free the data. Fixes #383382.
11008
11009 2006-12-15  Wim Taymans  <wim@fluendo.com>
11010
11011         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11012         (gst_collect_pads_remove_pad):
11013         Automatically activate/deactivate pads when they are added to a
11014         started/stoped collectpads.
11015
11016 2006-12-15  Wim Taymans  <wim@fluendo.com>
11017
11018         * gst/gstelement.c: (gst_element_add_pad):
11019         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11020         * gst/gstpad.c: (gst_pad_init):
11021         Set pads to FLUSHING when they are created. Check, warn and fix when a
11022         demuxer adds an inactive pad to itself when running. Fixes #339326.
11023
11024 2006-12-15  Wim Taymans  <wim@fluendo.com>
11025
11026         * gst/gstelement.c: (gst_element_class_init),
11027         (gst_element_default_send_event), (gst_element_send_event),
11028         (gst_element_default_query), (gst_element_query):
11029         Expose default element send_event and query handling as vmethods that
11030         subclasses can chain up to.
11031
11032 2006-12-15  Wim Taymans  <wim@fluendo.com>
11033
11034         * gst/gstelement.c: (gst_element_set_state_func):
11035         Small documentation fixes.
11036
11037 2006-12-15  Wim Taymans  <wim@fluendo.com>
11038
11039         * docs/design/draft-latency.txt:
11040         Checked in draft for handling latency in pipelines.
11041
11042 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11043
11044         * Makefile.am:
11045         * gstreamer.doap:
11046         * gstreamer.spec.in:
11047           adding .doap file
11048
11049 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11050
11051         * gst/gst.c: (init_pre), (init_post):
11052           init_pre() and init_post() might be called via our GOptionGroup or
11053           from gst_init(), and we should skip both of them if we've already
11054           been initialised, otherwise we will init some things twice or add
11055           two default log functions.
11056
11057 2006-12-13  Edward Hervey  <edward@fluendo.com>
11058
11059         * docs/manual/basics-bus.xml:
11060         No, gst_main_loop does not exist. Its g_main_loop.
11061         Discovered by somebody who abused the copy-paste technique of coding :)
11062
11063 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11064
11065         * gst/gstghostpad.c:
11066           Log ghostpad debug stuff to the GST_PADS category as well rather
11067           than just to the default category.
11068
11069 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11070
11071         * configure.ac:
11072         * gst/gst.c: (init_pre):
11073           Add some basic system details such as OS and architecture
11074           to the debug output if possible, courtesy of uname().
11075
11076 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11077
11078         * docs/gst/running.xml:
11079           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11080           environment variables.
11081
11082 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11083
11084         * tests/check/gst/gstbin.c: (GST_START_TEST):
11085         It is acceptable to have a refcount of 2 or 3 at this point in the
11086         test, because the pipeline might be just posting its state_change
11087         message. The next line then waits for that message to appear using
11088         bus_poll, so that should be fine too.
11089
11090 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11091
11092         * gst/gst.c: (ensure_current_registry_forking):
11093         Ignore EINTR when reading from the child registry pipe.
11094         Explicitly ignore the return value from close, since it makes no
11095         difference.
11096
11097         * gst/gstminiobject.c: (gst_mini_object_ref),
11098         (gst_mini_object_unref):
11099         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11100
11101         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11102         When removing cached plugins, remove their features too, so they're
11103         not visible after they've disappeared.
11104
11105         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11106         In the unlikely case that we are linking pads with no parents, don't
11107         crash trying to get the non-existent parent bin.
11108
11109         * gst/parse/grammar.y:
11110         Output debug in the PIPELINE category
11111
11112 2005-03-08  Wim Taymans  <wim@fluendo.com>
11113
11114         Patch by: René Stadler <mail at renestadler dot de>
11115
11116         * gst/gstclock.c: (gst_clock_new_periodic_id):
11117         Reject invalid clock times for interval of periodic ids.
11118         Fixes ##383506.
11119
11120 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11121
11122         * gst/gstelementfactory.c: (gst_element_factory_create):
11123         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11124         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11125         * tools/gst-inspect.c: (print_element_info):
11126         Fix refcounting of gst_plugin_feature_load to match the docs. 
11127         Fixes: #380129
11128
11129 2006-12-07  Wim Taymans  <wim@fluendo.com>
11130
11131         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11132         (gst_base_sink_get_position):
11133         Improve debugging of events.
11134
11135 2006-12-07  Wim Taymans  <wim@fluendo.com>
11136
11137         Patch by: René Stadler <mail at renestadler dot de>
11138
11139         * gst/gstclock.c: (gst_clock_id_wait):
11140         Make period ids add the interval to the origial requested time instead
11141         of the possibly updated time which can be wrong when there are multiple
11142         waiters for the same id. Fixes #382592.
11143
11144         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11145         (gst_system_clock_id_wait_jitter_unlocked),
11146         (gst_system_clock_id_wait_jitter):
11147         Fix restart in the async notify thread when an async entry is added to
11148         the front of the list. Fixes #381492. 
11149
11150         * tests/check/gst/gstsystemclock.c: (store_callback),
11151         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11152         Added test for multiple async waits.
11153         Added test for async wait order.
11154
11155 2006-12-07  Wim Taymans  <wim@fluendo.com>
11156
11157         * gst/gstbin.c: (gst_bin_query):
11158         Add some more docs about the POSITION query.
11159
11160 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11161
11162         * configure.ac:
11163         Bump version nano - back to CVS.
11164
11165 === release 0.10.11 ===
11166
11167 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11168
11169         * configure.ac:
11170           releasing 0.10.11, "Love never runs on time"
11171
11172 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11173
11174         * win32/common/libgstbase.def:
11175         * win32/common/libgstreamer.def:
11176         * win32/vs8/libgstbase.vcproj:
11177         * win32/vs8/libgstcoreelements.vcproj:
11178         * win32/vs8/libgstreamer.vcproj:
11179         Fix compilation on win32 under VS8
11180         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11181         Partially fixes #381175
11182
11183 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11184
11185         * gst/gstvalue.c: (gst_value_compare_fraction):
11186         If someone is foolish enough to compare 2 fractions with denominator =
11187         0, return UNORDERED rather than aborting.
11188
11189 2006-11-28  Edward Hervey  <edward@fluendo.com>
11190
11191         * libs/gst/base/Makefile.am:
11192         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11193         (gst_data_queue_base_init), (gst_data_queue_class_init),
11194         (gst_data_queue_init), (gst_data_queue_new),
11195         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11196         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11197         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11198         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11199         (gst_data_queue_set_flushing), (gst_data_queue_push),
11200         (gst_data_queue_pop), (gst_data_queue_drop_head),
11201         (gst_data_queue_set_property), (gst_data_queue_get_property):
11202         * libs/gst/base/gstdataqueue.h:
11203         New GstDataQueue object for threadsafe queueing. Most useful for
11204         elements that need some queueing functionnality.
11205         * docs/libs/gstreamer-libs-docs.sgml:
11206         * docs/libs/gstreamer-libs-sections.txt:
11207         Insert documentation for GstDataQueue
11208         * plugins/elements/Makefile.am:
11209         * plugins/elements/gstelements.c:
11210         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11211         (gst_multi_queue_class_init), (gst_multi_queue_init),
11212         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11213         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11214         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11215         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11216         (gst_multi_queue_loop), (gst_multi_queue_chain),
11217         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11218         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11219         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11220         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11221         (wake_up_next_non_linked), (compute_next_non_linked),
11222         (single_queue_overrun_cb), (single_queue_underrun_cb),
11223         (single_queue_check_full), (gst_single_queue_new):
11224         * plugins/elements/gstmultiqueue.h:
11225         New multiqueue element, using GstDataQueue. Used for queuing multiple
11226         streams.
11227         Closes #344639 and #347785
11228
11229 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11230
11231         * docs/pwg/advanced-types.xml:
11232           add more missing type details
11233
11234         * tools/gst-run.c: (main):
11235           remove unused variable
11236
11237 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11238
11239         * docs/libs/Makefile.am:
11240         * docs/libs/gstreamer-libs.types:
11241           add types of base classes to enable gobject specific stuff in the docs
11242
11243         * docs/random/ensonic/embedded.txt:
11244           more ideas about isolating platform specific things
11245
11246 2006-11-20  Wim Taymans  <wim@fluendo.com>
11247
11248         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11249
11250         * libs/gst/check/gstcheck.h:
11251         Fix compilation and running against 0.9.4. Fixes #377332.
11252
11253 2006-11-20  Wim Taymans  <wim@fluendo.com>
11254
11255         * gst/gstsegment.c: (gst_segment_set_seek),
11256         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11257         (gst_segment_to_running_time):
11258         Fix boundary checking in to_running_time() and to_stream_time().
11259         Fixes #377183.
11260
11261         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11262         stream and running time can now be calculated for the complete
11263         clipped segment.
11264
11265 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11266
11267         * gst/gstpad.c: (gst_pad_push_event):
11268           Can't access event structure after giving away ownership of
11269           the event.
11270
11271 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11272
11273         * docs/random/ensonic/embedded.txt:
11274         * docs/random/ensonic/profiling.txt:
11275         * docs/random/ensonic/receipies.txt:
11276           more thinking
11277
11278 2006-11-13  Wim Taymans  <wim@fluendo.com>
11279
11280         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11281
11282         * gst/gstpad.c:
11283         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11284
11285 2006-11-13  Wim Taymans  <wim@fluendo.com>
11286
11287         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11288
11289         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11290         Store new length in segment duration so we don't keep on calling the
11291         potentially expensize get_size() call. Fixes #370865.
11292
11293 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11294
11295         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11296
11297         * win32/common/libgstreamer.def:
11298           Add two missing symbols (#366492).
11299
11300 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11301
11302         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11303         (gst_adapter_take_buffer):
11304         Fix format string to use all its arguments.
11305         Remove useless >= check on a guint
11306
11307 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11308
11309         * tests/examples/adapter/.cvsignore:
11310         Ignore build file as commanded by the build-bot
11311
11312 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11313
11314         * tests/examples/adapter/Makefile.am:
11315         * tests/examples/adapter/adapter_test.c: (run_test_take),
11316         (run_test_take_buffer), (run_tests), (main):
11317
11318         Add new files from the previous commit
11319
11320 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11321
11322         * Makefile.am:
11323         * configure.ac:
11324         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11325         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11326         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11327         * libs/gst/base/gstadapter.h:
11328         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11329         (GST_START_TEST), (gst_adapter_suite):
11330         * tests/examples/Makefile.am:
11331         Do some optimisation work in GstAdapter to avoid copies in more cases.
11332         It could still do slightly better by merging buffers when
11333         gst_buffer_is_span_fast is true, but is already faster. 
11334
11335         Also, avoid traversing a single-linked list to append each incoming 
11336         buffer inside the adapter.
11337
11338         Add simple test app that times the adapter behaviour in different
11339         situations, and extend the unit test to check that bytes enter and
11340         exit the adapter in their original order.
11341
11342 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11343
11344         * docs/random/draft-missing-plugins.txt:
11345           Update: use element message instead of adding a new message
11346           type to the core; don't provide GStreamer API to initiate the
11347           plugin download, just provide API to compose the strings needed
11348           and let an external libgimmestuff handle the rest.
11349
11350 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11351
11352         * tools/gst-inspect.c: (print_element_properties_info):
11353         Print a string instead of 'unknown type' for GValueArray properties
11354
11355 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11356
11357         * docs/random/draft-missing-plugins.txt:
11358         More small fixes.
11359
11360 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11361
11362         * tests/examples/typefind/typefind.c: (type_found), (main):
11363           Make typefind element example work again (#371894); add a
11364           license header.
11365
11366 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11367
11368         * docs/random/draft-missing-plugins.txt:
11369           Commit initial draft about how to deal with missing plugins,
11370           needs work (API too).
11371
11372 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11373
11374         * docs/pwg/advanced-types.xml:
11375           documents the new caps elements (see #363118)
11376
11377 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11378
11379         * gst/gstplugin.c: (gst_plugin_load_file):
11380         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11381         (gst_file_src_map_region), (gst_file_src_start):
11382         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11383         (gst_file_index_commit):
11384           Use g_strerror() instead of strerror() - we want UTF-8.
11385
11386 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11387
11388         Patch by: Peter Kjellerstedt <pkj at axis com>
11389
11390         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11391           Another printf fix (#371493).
11392
11393 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11394
11395         * tests/check/gst/gsttag.c:
11396           relicence (okay with author=company)
11397
11398 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11399
11400         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11401         (gst_pad_push_event):
11402           Enhance debug and improve docs
11403         
11404         * gst/gsturi.c:
11405           Fix docs
11406
11407 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11408
11409         * docs/random/ensonic/distributed.txt:
11410         * docs/random/ensonic/profiling.txt:
11411           more ideas
11412
11413 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11414
11415         * docs/gst/gstreamer-sections.txt:
11416           add new API and fix the build
11417           
11418         * gst/gstbin.c: (gst_bin_recalc_state):
11419         * gst/gstelement.c: (gst_element_message_full),
11420         (gst_element_get_state_func), (gst_element_set_state_func):
11421           use new API and improve logging
11422         
11423         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11424         * gst/gstutils.h:
11425           API: add function to get StateChangereturn names to improve logs 
11426
11427 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11428
11429         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11430           I'm considering shooting the next person to put strerror stuff
11431           in the translateable part of the message.
11432
11433 2006-11-03  Wim Taymans  <wim@fluendo.com>
11434
11435         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11436         Get the type and printf conversion specifiers right.
11437
11438 2006-11-03  Wim Taymans  <wim@fluendo.com>
11439
11440         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11441
11442         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11443         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11444         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11445         Some small cleanups. Improve debugging.
11446         * gst/gstpad.h:
11447         Signal all waiting threads with a broadcast instead of just one.
11448         Fixes #369942.
11449
11450 2006-11-03  Wim Taymans  <wim@fluendo.com>
11451
11452         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11453         (gst_fd_src_create):
11454         Add some debugging. 
11455         Only update fd when it's different from the old.
11456
11457 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11458
11459         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11460           Printf fixes for PPC/OSX, take two (#369366).
11461
11462 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11463
11464         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11465
11466         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11467         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11468         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11469           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11470           don't cast to long long for portability reasons, but use
11471           GLib's types instead.
11472
11473 2006-10-30  Michael Smith  <msmith@fluendo.com>
11474
11475         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11476           Get the arguments to lseek() the right way around.
11477           Fixes 367677.
11478
11479 2006-10-30  Wim Taymans  <wim@fluendo.com>
11480
11481         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11482
11483         * gst/gstinfo.h:
11484         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11485
11486 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11487
11488         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11489
11490         * docs/design/part-MT-refcounting.txt:
11491         * docs/random/wtay/capsnego2-docs:
11492         * gst/gstclock.c:
11493         * gst/gstxml.c:
11494           Typo fixes (#366212).
11495
11496 2006-10-28  Wim Taymans  <wim@fluendo.com>
11497
11498         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11499
11500         * gst/gst.c:
11501         * win32/common/libgstbase.def:
11502         * win32/common/libgstreamer.def:
11503         * win32/vs8/libgstbase.vcproj:
11504         * win32/vs8/libgstcontroller.vcproj:
11505         Add needed entries in .def files.
11506         Use HAVE_UNISTD_H.
11507         Rearrange def files in vs8 solutions. Fixes #366286.
11508
11509 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11510
11511         * win32/common/gstconfig.h:
11512           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11513           hand-made win32 gstconfig.h. Fixes #366321.
11514
11515 2006-10-27  Wim Taymans  <wim@fluendo.com>
11516
11517         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11518         (gst_ghost_pad_new_full):
11519         Make acceptcaps return TRUE when we don't have a target, just like
11520         setcaps does.
11521
11522 2006-10-27  Wim Taymans  <wim@fluendo.com>
11523
11524         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11525         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11526
11527 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11528
11529         * gst/gststructure.c: (gst_structure_id_set_value):
11530           If someone tries to set a non-UTF8 string field on a structure,
11531           don't just print a warning, but also ignore the request and do
11532           not change/add that field to the structure.
11533
11534         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11535           Test for the above.
11536
11537 2006-10-25  David Schleef  <ds@schleef.org>
11538
11539         * gst/gstinfo.c:
11540           g_hash_table_insert() needs a cast to a non-const pointer duh.
11541
11542 2006-10-25  David Schleef  <ds@schleef.org>
11543
11544         * gst/gstinfo.c:
11545         * gst/gstinfo.h:
11546           Change name parameter of _gst_debug_register_funcptr to const
11547           to reflect the constness of its use in the function as well
11548           as to quiet a gcc warning.
11549
11550 2006-10-25  Edward Hervey  <edward@fluendo.com>
11551
11552         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11553         Don't push the buffer if it's empty.
11554         Closes #363095
11555
11556 2006-10-24  Wim Taymans  <wim@fluendo.com>
11557
11558         * gst/gstevent.h:
11559         Add small comment.
11560
11561         * libs/gst/base/gstbasetransform.c:
11562         (gst_base_transform_sink_eventfunc):
11563         Debug segment values *after* updating them as this is more
11564         interesting.
11565
11566 2006-10-23  Wim Taymans  <wim@fluendo.com>
11567
11568         * docs/design/part-events.txt:
11569         Update some docs.
11570
11571         * docs/design/part-block.txt:
11572         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11573         (gst_pad_push_event):
11574         Revert BLOCKING patch, it tries to be smart without really having a
11575         clear idea what or how. So, now we discard all FLUSHING events again on
11576         a blocking pad. Should fix gnonlin again.
11577
11578 2006-10-23  Wim Taymans  <wim@fluendo.com>
11579
11580         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11581
11582         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11583         (gst_base_src_start), (gst_base_src_activate_push):
11584         Make sure size is always initialized. Fixes #364388.
11585
11586 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11587
11588         * docs/random/ensonic/distributed.txt:
11589           add some ideas about doing distributed processing
11590
11591         * docs/random/ensonic/profiling.txt:
11592           get_rusage look promising
11593
11594 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11595
11596         * docs/manual/basics-helloworld.xml:
11597           Add a cast in example to fix compile warning
11598
11599 2006-10-18  Wim Taymans  <wim@fluendo.com>
11600
11601         * gst/gstsegment.c: (gst_segment_set_last_stop),
11602         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11603         Relax arg checking again, -1 is allowed.
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         _set_last_stop() must be with a value != -1
11610         A _TYPE_SET to -1 means seek to 0.
11611         Calc last_stop correctly for negative rates.
11612         Make sure we work with positive durations when updating a segment.
11613
11614 2006-10-18  Wim Taymans  <wim@fluendo.com>
11615
11616         * docs/design/part-live-source.txt:
11617         * gst/gstclock.h:
11618         Small docs fixes.
11619
11620 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11621
11622         * gst/gstbuffer.h:
11623           Add an explicit cast to GstBuffer** to keep old code that added an
11624           explicit cast to GstMiniObject** for gst_mini_object_replace()
11625           compiling without warning.
11626
11627 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11628
11629         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11630           check for validity of dates
11631
11632 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11633
11634         * docs/gst/gstreamer-sections.txt:
11635           Forgot this one, makes gtk-doc shut up.
11636
11637 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11638
11639         Patch by: Peter Kjellerstedt <pkj at axis com>
11640
11641         * gst/gstobject.h:
11642           Don't define xmlNodePtr to gpointer if the core was built with
11643           --disable-loadsave and --disable-registry, this will break
11644           applications that want to use libxml2 but are buildling against a
11645           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11646           instead so we don't have to mess with the libxml2 namespace
11647           (#361675).
11648
11649 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11650
11651         * gst/gstbuffer.h:
11652           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11653           type-punned pointer warnings.
11654
11655 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11656
11657         * gst/gstelement.h:
11658           Add casts to the correct return type to state <=> state transition
11659           macros.
11660
11661 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11662
11663         * docs/design/part-live-source.txt:
11664           describe howto handle latency
11665         
11666         * docs/random/ensonic/profiling.txt:
11667           more ideas
11668
11669         * tools/gst-plot-timeline.py:
11670           fix log parsing for solaris, remove unused function
11671
11672 2006-10-16  Wim Taymans  <wim@fluendo.com>
11673
11674         * docs/design/part-trickmodes.txt:
11675         * gst/gstevent.c:
11676         Update some docs regarding reverse playback.
11677
11678 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11679
11680         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11681
11682         * win32/vs8/grammar.vcproj:
11683           Error out with a warning if glib-genmarshal.exe is not in path,
11684           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11685
11686 2006-10-13  Wim Taymans  <wim@fluendo.com>
11687
11688         * gst/gstsegment.c: (gst_segment_set_seek):
11689         When seeking to stop -1, set last_stop (current position) to the
11690         duration of the segment.
11691
11692 2006-10-13  Wim Taymans  <wim@fluendo.com>
11693
11694         * gst/gstelement.h:
11695         Clarify _NO_PREROLL a bit more.
11696
11697         * gst/gstevent.c:
11698         Fix docs.
11699
11700         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11701         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11702         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11703         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11704         due to wrong locking order. Fixes #361769.
11705         Remove some redundant/misplaced checks in pad_block.
11706
11707         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11708         For negative rates, count backwards from the duration.
11709
11710 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11711
11712         * gst/gsterror.c: (_gst_library_errors_init):
11713           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11714           up with something better).
11715
11716 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11717
11718         * win32/vs6/libgstreamer.dsp:
11719         * win32/vs7/libgstreamer.vcproj:
11720         * win32/vs8/libgstreamer.vcproj:
11721           Don't reference glib-compat.c which is currently not used and not
11722           disted; add gstquark.c which was recently added. Fixes #361730.
11723
11724 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11725
11726         * win32/common/libgstbase.def:
11727         * win32/common/libgstcontroller.def:
11728         * win32/common/libgstreamer.def:
11729           Add gst_caps_merge() and a bunch of other recently-added functions.
11730           Fixes #361732.
11731
11732 2006-10-11  Wim Taymans  <wim@fluendo.com>
11733
11734         * docs/plugins/gstreamer-plugins.args:
11735         * docs/plugins/inspect/plugin-coreelements.xml:
11736         * docs/plugins/inspect/plugin-coreindexers.xml:
11737         Update element args.
11738
11739         * gst/gstsystemclock.c:
11740         Small comment update.
11741
11742         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11743         (gst_tee_request_new_pad), (gst_tee_release_pad),
11744         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11745         (gst_tee_sink_activate_pull):
11746         * plugins/elements/gsttee.h:
11747         Some tee loving:
11748         Add default property defines.
11749         Implement release pad function.
11750         Give properties better blubs etc.
11751         Activate pads before adding them to a running tee.
11752         Do simple buffer_alloc on the first requested pad.
11753         Post error when activation fails.
11754
11755 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11756
11757         * gst/gst.c: (ensure_current_registry_forking):
11758           Check return value of write() to make compiler happy.
11759
11760 2006-10-11  Wim Taymans  <wim@fluendo.com>
11761
11762         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11763
11764         * plugins/elements/gstqueue.c: (gst_queue_chain):
11765         Recheck queue filledness after signalling the overrun when we're about
11766         to leak downstream because we released the lock when emitting the signal
11767         and the queue could be empty again. Fixes #352345.
11768
11769 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11770
11771         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11772           Fix refcounting here too, just like we did for _new_valist() a few
11773           days ago (#357180) (thanks to René Stadler). Also remove all those
11774           'Since: 0.9' from the gtk-doc blobs.
11775
11776         * tests/check/libs/controller.c: (controller_refcount_new_list),
11777         (gst_controller_suite):
11778           Unit test for the above.
11779
11780 2006-10-10  Wim Taymans  <wim@fluendo.com>
11781
11782         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11783
11784         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11785         (gst_pad_save_thyself):
11786         Update some docs.
11787         Write pad direction in XML output. Fixes #345496.
11788
11789 2006-10-10  Wim Taymans  <wim@fluendo.com>
11790
11791         Patch by: René Stadler <mail at renestadler dot de>
11792
11793         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11794         (gst_controller_new_list), (_gst_controller_dispose),
11795         (_gst_controller_finalize), (_gst_controller_class_init):
11796         Take ref to controlled object so that it cannot disappear. 
11797         Fixes #357432.
11798
11799 2006-10-10  Wim Taymans  <wim@fluendo.com>
11800
11801         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11802         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11803         (gst_check_teardown_sink_pad):
11804         Activate/deactivate pads in setup/teardown respectively.
11805
11806 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11807
11808         Patch by: Josep Torra Valles <josep@fluendo.com>
11809
11810         * gst/Makefile.am:
11811         Cast values when making gstenumtypes.h.  This pacifies Forte
11812         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11813         in the enumeration.
11814
11815 2006-10-09  Wim Taymans  <wim@fluendo.com>
11816
11817         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11818         Rename some more @cur to @start to fix docs. 
11819
11820         * gst/gstsegment.c: (gst_segment_set_seek):
11821         Fix typo.
11822         time and start must always stay in sync as defined in design doc.
11823
11824         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11825         Rename param to fix docs.
11826
11827         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11828         Check that start and time are in sync.
11829
11830         * tests/check/pipelines/parse-launch.c:
11831         (gst_parse_test_element_change_state):
11832         Activate pad before adding to the element.
11833
11834 2006-10-09  Wim Taymans  <wim@fluendo.com>
11835
11836         * docs/design/part-qos.txt:
11837         Fix typo.
11838
11839         * gst/gstevent.c:
11840         * gst/gstevent.h:
11841         Update seek event docs regarding negative rates.
11842         Rename @cur to @start. 
11843
11844         * gst/gstsegment.c: (gst_segment_set_seek):
11845         * gst/gstsegment.h:
11846         Update set_seek docs regarding negative rates.
11847         Correctly update last_stop to @stop when dealing with negative
11848         rates.
11849         Rename @cur to @start. 
11850
11851         * tests/check/gst/gstpad.c: (GST_START_TEST):
11852         Activate pads before trying to use them.
11853
11854         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11855         (gst_segment_suite):
11856         Add simple check for segments and negative rates.
11857
11858 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11859
11860         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11861         * gst/gsttaglist.h:
11862         * docs/gst/gstreamer-sections.txt:
11863           API: add gst_tag_list_is_empty() (#360467).
11864
11865         * tests/check/gst/gsttag.c: (GST_START_TEST):
11866           And a test case.
11867
11868 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11869
11870         * gst/gstmessage.h:
11871         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11872         a value that doesn't fit on enumeration.
11873
11874 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11875
11876         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11877         Remove local debugging system and use Gstreamer's instead.
11878
11879 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11880
11881         Patch by: Josep Torra Valles <josep@fluendo.com>
11882
11883         * common/m4/gst-error.m4:
11884         Disable warning of statement not reached on Forte.
11885         * gst/gstmessage.h:
11886         Fix warning on Forte (value doesn't fit on enumeration).
11887         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11888         Fix warning on Forte (value doesn't fit on enumeration).
11889         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11890         DEBUG macro says it takes minimum of 2 args and so Forte
11891         complains about the use with just 1 arg.
11892         * plugins/elements/gstfdsink.c:
11893         * plugins/elements/gstfdsrc.c:
11894         * plugins/elements/gstfilesink.c:
11895         * plugins/elements/gstfilesrc.c:
11896         Use correct return type for the uri handler implementations.
11897
11898         All these fix warnings in Forte.  Fixes bug #360860.
11899
11900 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11901
11902         * gst/gstelement.h:
11903           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11904           format string, so don't use G_GNUC_PRINTF for those versions.
11905
11906 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11907
11908         * gst/gsttaglist.c: (gst_is_tag_list):
11909         * gst/gsttaglist.h:
11910           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11911
11912         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11913           Small test for the above.
11914
11915 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
11916
11917         * gst/gsttaglist.h:
11918           Less tabs, more spaces.
11919
11920 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
11921
11922         * gst/gstinfo.h:
11923           Those two function declarations do actually belong there, revert
11924           commit from yesterday that turned them intro macros.
11925
11926 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11927
11928         Patch by: Josep Torra Valles <josep@fluendo.com>
11929
11930         * gst/gst.c: (gst_init_get_option_group):
11931         Fix empty declaration and type mismatch.
11932         * gst/gstbin.c: (gst_bin_change_state_func):
11933         Fix type mismatch.
11934         * gst/gstelement.c: (gst_element_continue_state),
11935         (gst_element_set_state_func), (gst_element_change_state),
11936         (gst_element_change_state_func):
11937         Fix type mismatches.
11938         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11939         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11940         Cast as appropriate.
11941         * gst/gstobject.c: (gst_class_signal_connect):
11942         Cast as appropriate.  The function pointer parameter really
11943         has the wrong type but would break API if we change it.
11944         * gst/gstquery.c:
11945         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11946         order of including string.h.
11947         * gst/gstutils.c: (gst_element_state_get_name):
11948         Remove unreachable line.
11949         * gst/gstxml.c: (gst_xml_parse_doc):
11950         Fix type mismatch.
11951         All these caught by Forte.
11952
11953 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11954
11955         Patch by: Josep Torra Valles <josep@fluendo.com>
11956
11957         * common/m4/gst-error.m4:
11958         Fixed bug #360151.
11959         We need to disable warnings on Forte for empty declarations
11960         due to gst-indent adding ;s to lines that just use macros
11961         where the macro actually doesn't need a ; at end to end
11962         statement.
11963
11964 2006-10-06  Wim Taymans  <wim@fluendo.com>
11965
11966         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11967         (gst_file_sink_close_file), (gst_file_sink_event),
11968         (gst_file_sink_render):
11969         Add some FIXME for the NEWSEGMENT handling.
11970
11971 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11972
11973         * gst/parse/grammar.y:
11974         Remove static function gst_parse_element_lock as all it does
11975         is return.  Looks like cruft from 0.8.
11976
11977 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11978
11979         Patch by: Josep Torra Valles <josep@fluendo.com>
11980
11981         * common/m4/gst-error.m4:
11982         * configure.ac:
11983         * libs/gst/net/Makefile.am:
11984         Fix a compilation issue with Forte on Solaris.  inet_aton is in
11985         libresolv.
11986
11987 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
11988
11989         * gst/gstpad.c: (pre_activate):
11990         * gst/gstregistry.c: (gst_registry_scan_path_level):
11991         * gst/gstregistryxml.c: (load_plugin):
11992         * libs/gst/controller/gstcontroller.c:
11993         (gst_controlled_property_set_interpolation_mode):
11994         * libs/gst/dataprotocol/dataprotocol.c:
11995         (gst_dp_packet_from_event_1_0):
11996         * libs/gst/net/gstnetclientclock.c:
11997         (gst_net_client_clock_observe_times):
11998         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11999           Printf fixes.
12000
12001 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12002
12003         * configure.ac:
12004         * docs/gst/gstreamer-sections.txt:
12005         * gst/gstconfig.h.in:
12006         * gst/gstelement.h:
12007         * gst/gstinfo.h:
12008           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12009           whether we can use G_GNUC_PRINTF in other header files and at
12010           least check the printf format/arguments of debug messages and
12011           GST_ELEMENT_ERROR messages when the printf extension is not
12012           being used.
12013           Replace more tabs with spaces in gstinfo.h and remove two spurious
12014           function declarations in GST_DISABLE_DEBUG part with macros.
12015
12016 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12017
12018         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12019           More docs for the sync-message signal (mention that it is not
12020           emitted by default); log message structures of messages posted on
12021           the bus as well.
12022
12023 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12024
12025         * gst/gst.c: (ensure_current_registry_forking):
12026         Use a pipe pair to receive status results from the forked child, and
12027         ignore the result from waitpid. Fixes #355499
12028
12029 2006-10-02  Wim Taymans  <wim@fluendo.com>
12030
12031         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12032         (gst_ghost_pad_suite):
12033         Fix leak in check.
12034
12035 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12036
12037         * gst/gstpad.c:
12038           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12039
12040 2006-10-02  Edward Hervey  <edward@fluendo.com>
12041
12042         * docs/design/part-block.txt:
12043         Further explain the use of flushing on blocked pads.
12044         * docs/gst/gstreamer-sections.txt:
12045         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12046         (gst_pad_push_event):
12047         * gst/gstpad.h:
12048         Added new GstPadFlag : GST_PAD_BLOCKING.
12049         Adds the notion of pads really blocking, which enables to properly
12050         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12051         Fixes #358999
12052         API: gst_pad_is_blocking()
12053         API: GST_PAD_IS_BLOCKING() macro
12054         API: GST_PAD_BLOCKING GstPadFlag
12055         
12056 2006-10-02  Wim Taymans  <wim@fluendo.com>
12057
12058         Patch by: mrcgran <mrc.gran at gmail dot com>
12059
12060         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12061         Filter the proxied caps against the padtemplate if we have one.
12062
12063         * gst/gstquery.c: (gst_query_new_segment):
12064         Add include for gstinfo.h so that compilation with
12065         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12066
12067 2006-10-02  Wim Taymans  <wim@fluendo.com>
12068
12069         Patch by: Alessandro Decina  <alessandro at nnva org>
12070
12071         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12072         (gst_file_sink_set_location), (gst_file_sink_open_file),
12073         (gst_file_sink_close_file), (gst_file_sink_event),
12074         (gst_file_sink_render):
12075         Set file to NULL when closing filesink so that we can set a new filename
12076         in READY. Fixes #358613.
12077
12078 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12079
12080         Patch by: Alessandro Decina  <alessandro at nnva org>
12081
12082         * gst/gstevent.c: (_gst_event_copy):
12083           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12084           with event structures by setting the parent refcount address of the
12085           copied structure to the address of the refcount member of the newly
12086           copied event rather than the address of the refcount member of the
12087           original event. Fixes #358737.
12088
12089         * tests/check/gst/gstevent.c: (GST_START_TEST):
12090           Unit test for the above.
12091
12092 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12093
12094         * docs/design/Makefile.am:
12095           Dist some more files.
12096
12097 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12098
12099         * tests/check/libs/controller.c: (GST_START_TEST),
12100         (gst_controller_suite):
12101           Add test for the previous fix; add some more tests
12102           for correct refcounting behaviour; fix a few leaks
12103           in test cases; call gst_controller_init() at start
12104           of all tests.
12105
12106 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12107
12108         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12109         (gst_controller_set_from_list):
12110           Don't g_return_val_if_fail() on timed values with invalid timestamps
12111           inside a critical section without unlocking the mutex. Spotted by
12112           René Stadler. (#357617)
12113           Also, fix up refcounting properly: when returning an existing
12114           controller, we should increase the reference only once and not
12115           once per property and when trying to control a property again
12116           we should also increase the refcount.
12117
12118 2006-09-29  Wim Taymans  <wim@fluendo.com>
12119
12120         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12121         * libs/gst/net/gstnettimeprovider.c:
12122         (gst_net_time_provider_thread):
12123         Stop reading commands when EOF as well.
12124
12125         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12126         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12127         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12128         Unify description of the dump property.
12129
12130 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12131
12132         * tests/examples/manual/.cvsignore:
12133         OK, so it's actually cvsignore that needs changing. Stop laughing.
12134
12135 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12136
12137         * tests/examples/manual/Makefile.am:
12138         Gah, declare vars *before* using them
12139
12140 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12141
12142         * gst/gst.c: (init_pre), (scan_and_update_registry),
12143         (ensure_current_registry_nonforking),
12144         (ensure_current_registry_forking), (ensure_current_registry),
12145         (init_post), (gst_debug_help), (gst_deinit):
12146         * gst/gst_private.h:
12147         * gst/gstregistry.c: (gst_registry_finalize),
12148         (gst_registry_remove_features_for_plugin_unlocked),
12149         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12150         (gst_registry_scan_path),
12151         (_priv_gst_registry_remove_cache_plugins),
12152         (_priv_gst_registry_cleanup):
12153         * gst/gstregistry.h:
12154         Re-commit the registry changes, along with an extra fix:
12155           When a cached plugin is encountered at a different file path,
12156           update the stored path in the registry cache so that the parent
12157           process knows where it actually is now when it re-reads the registry
12158           cache. Fixes the thing that broke distcheck with the previous commit.
12159
12160         * tests/check/Makefile.am:
12161         Clean up files named 'core' too when running make clean.
12162
12163         * tests/examples/manual/Makefile.am:
12164         Set up a registry path for running these tests, and clean it properly
12165         for distcheck.
12166
12167 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12168
12169         * configure.ac:
12170         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12171         want gmodule-no-export-2.0.pc instead so that we don't drag in
12172         --export-dynamic on every project that links to GStreamer.
12173
12174         Also, make our export regex only match the start of symbols, rather 
12175         than any symbol that contains '_gst' somewhere.
12176
12177         * libs/gst/check/Makefile.am:
12178         The libgstcheck we build does however need export-dynamic, as it
12179         produces some symbols that don't match our _gst... style regex.
12180         Fixes: #318031
12181
12182 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12183
12184         * gst/gst.c: (init_pre), (scan_and_update_registry),
12185         (ensure_current_registry_nonforking),
12186         (ensure_current_registry_forking), (ensure_current_registry),
12187         (init_post), (gst_debug_help), (gst_deinit):
12188         * gst/gst_private.h:
12189         * gst/gstregistry.c: (gst_registry_finalize),
12190         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12191         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12192         (_gst_registry_cleanup):
12193         * gst/gstregistry.h:
12194           Revert previous change until I figure out why it breaks distcheck.
12195
12196 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12197
12198         * gst/gst.c: (init_pre), (scan_and_update_registry),
12199         (ensure_current_registry_nonforking),
12200         (ensure_current_registry_forking), (ensure_current_registry),
12201         (init_post), (gst_debug_help), (gst_deinit):
12202
12203           Make init_pre and init_post take the full complement of GOptionFunc
12204           args so they can return useful GErrors. Make the registry updating
12205           functions do so.
12206
12207           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12208           ensure that the registry we're about to write out doesn't contain
12209           stale information about old-deleted plugin files.
12210
12211           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12212           that deletion of plugin files is considered a registry change.
12213
12214         * gst/gst_private.h:
12215         * gst/gstregistry.c: (gst_registry_finalize),
12216         (gst_registry_remove_features_for_plugin_unlocked),
12217         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12218         (gst_registry_scan_path),
12219         (_priv_gst_registry_remove_cache_plugins),
12220         (_priv_gst_registry_cleanup):
12221         * gst/gstregistry.h:
12222         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12223         by adding _priv prefix, so that they won't appear in the global
12224         symbol table. They still do atm though because of #318031. Move the
12225         prototypes to gst_private.h
12226
12227         When removing a plugin, remove all features for that plugin too. 
12228         Fixes #340878.
12229
12230 2006-09-27  Wim Taymans  <wim@fluendo.com>
12231
12232         * docs/random/moving-plugins:
12233         Make it clear that the "compiled-in descriptions" really mean
12234         the element details.
12235
12236         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12237         (gst_base_sink_wait_preroll):
12238         Update docs.
12239
12240         * docs/libs/gstreamer-libs-sections.txt:
12241         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12242         (gst_base_src_get_range), (gst_base_src_activate_push):
12243         * libs/gst/base/gstbasesrc.h:
12244         Added function to block while waiting for PLAYING, this function
12245         is used by live sources that block on the clock.
12246         API: gst_base_src_wait_playing()
12247
12248 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12249
12250         Patch by: Peter Kjellerstedt <pkj at axis com>
12251
12252         * Makefile.am:
12253           gst-element-check.m4 is generated and should therefore be
12254           copied from the build dir rather than the source dir (#357593).
12255           'make distcheck' hasn't noticed this because we were disting
12256           the file as well, so stop doing that.
12257
12258 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12259
12260         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12261           Add some tests for gst_caps_intersect().
12262
12263         * tools/gst-launch.c: (event_loop):
12264           Print all buffering percentages we get, even the 100% one.
12265
12266 2006-09-26  Wim Taymans  <wim@fluendo.com>
12267
12268         * tools/gst-inspect.c: (print_element_properties_info),
12269         (print_signal_info):
12270         Fix printing of flags to match the look of enums.
12271
12272 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12273
12274         * gst/gstelementfactory.c:
12275           Fix typo in docs blurb.
12276
12277 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12278
12279         * gst/gsturi.c: (search_by_entry):
12280           Don't assert/crash here if a uri handler doesn't return any
12281           supported protocols. The list of protocols could be generated
12282           dynamically at runtime or at plugin registration, and an error
12283           in the underlying library shouldn't be fatal (#353301).
12284
12285 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12286
12287         * gst/gstinfo.c:
12288           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12289           (spotted by Peter Kjellerstedt).
12290
12291 2006-09-23  Wim Taymans  <wim@fluendo.com>
12292
12293         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12294
12295         * libs/gst/base/gstbasesrc.c:
12296         (gst_base_src_default_check_get_range), (gst_base_src_start),
12297         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12298         (gst_base_src_change_state):
12299         Match _start/_stop calls in the activate functions. Remove redundant
12300         _stop call from the state change function. Fixes #356910.
12301         Turn failure DEBUG into ERROR. 
12302
12303 2006-09-22  Wim Taymans  <wim@fluendo.com>
12304
12305         * docs/design/part-buffering.txt:
12306         * gst/gstmessage.c: (gst_message_new_buffering),
12307         (gst_message_parse_buffering):
12308         Update docs about buffering.
12309
12310         * docs/design/part-trickmodes.txt:
12311         Fix typo.
12312
12313 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12314
12315         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12316         (gst_controller_new_list):
12317           Ref instances when returning them again (fixes #357180)
12318
12319 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12320
12321         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12322           Don't forget to release proxy lock when there's an error.
12323
12324 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12325
12326         * gst/gstcaps.h:
12327           Add extra initialisers for Caps things, to fix some plugin warnings
12328           when using -Wextra
12329
12330 2006-09-18  Wim Taymans  <wim@fluendo.com>
12331
12332         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12333           Also set template on the internal pad so that a getcaps from the 
12334           target pad returns the template caps.
12335
12336 2006-09-18  Wim Taymans  <wim@fluendo.com>
12337
12338         * gst/gstelement.c: (gst_element_post_message),
12339         (gst_element_dispose):
12340         Use _DEBUG_OBJECT some more.
12341
12342         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12343         Avoid typechecks.
12344
12345         * tools/gst-launch.c: (main):
12346         If the toplevel element is not a GstPipeline, it must be put in a
12347         pipeline so that a bus and clock is selected.
12348
12349 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12350
12351         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12352           JITTER, RATE, and LATENCY query should be handled by the
12353           default case and not by the CONVERT query code.
12354
12355 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12356
12357         * gst/gstformat.c: (gst_format_register):
12358           Fix locking order (must take lock before using n_values).
12359
12360         * gst/gstvalue.c: (gst_value_serialize_enum),
12361         (gst_value_deserialize_enum_iter_cmp),
12362         (gst_value_deserialize_enum):
12363           Fix serialisation/deserialisation of custom registered GstFormats.
12364
12365         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12366           Unit test for custom format serialisation/deserialisation.
12367
12368 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12369
12370         * docs/pwg/building-boiler.xml:
12371         * plugins/elements/gstcapsfilter.c:
12372         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12373         section.
12374
12375 2006-09-16  Edward Hervey  <edward@fluendo.com>
12376
12377         * libs/gst/base/gstbasetransform.c:
12378         (gst_base_transform_buffer_alloc):
12379         Check if requested caps are the same as the sinks caps IF
12380         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12381         is FALSE.
12382         This fixes the renegotiation issues stated in #352827.
12383
12384 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12385
12386         * configure.ac:
12387         * docs/manual/advanced-autoplugging.xml:
12388         * tests/examples/Makefile.am:
12389         * tests/examples/manual/.cvsignore:
12390         * tests/examples/manual/Makefile.am:
12391         * tests/examples/manual/extract.pl:
12392           Extract the manual examples again like we used to do.
12393           Fix one of them.
12394
12395 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12396
12397         * win32/common/config.h:
12398           update for version
12399
12400 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12401
12402         * gst/gsterror.c:
12403           Documents how to receive errors.
12404
12405 2006-09-15  Wim Taymans  <wim@fluendo.com>
12406
12407         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12408         (event_loop), (main):
12409         Added some comments here and there.
12410         Post an application message when an interrupt is caught instead of doing
12411         an uncontrolled state change.
12412         Clean up the event loop.
12413         Handle buffering messages, pause/resume the pipeline.
12414         Make shutdown because of an interrupt more reliable.
12415
12416 2006-09-15  Wim Taymans  <wim@fluendo.com>
12417
12418         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12419         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12420         (gst_base_sink_preroll_object):
12421         Make sure that our internal state is correct when we commit our state
12422         asynchronously. This solves a race where a state change to PLAYING
12423         could cause the sink to remain blocked in preroll in some situations.
12424
12425 2006-09-15  Wim Taymans  <wim@fluendo.com>
12426
12427         * tools/gst-inspect.c: (print_element_properties_info),
12428         (print_signal_info):
12429         List flags as hex so it's easier to deal with.
12430
12431 2006-09-15  Wim Taymans  <wim@fluendo.com>
12432
12433         * docs/libs/gstreamer-libs-sections.txt:
12434         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12435         (gst_base_sink_do_sync):
12436         * libs/gst/base/gstbasesink.h:
12437         Expose logic to wait for preroll so that subclasses such as audiosink
12438         can also use this method.
12439         API: gst_base_sink_wait_preroll()
12440
12441 2006-09-15  Wim Taymans  <wim@fluendo.com>
12442
12443         * gst/gstobject.c: (gst_object_set_parent):
12444         * gst/gstpipeline.c: (do_pipeline_seek):
12445         Small cleanups in docs and code.
12446
12447         * gst/gstsegment.c: (gst_segment_clip):
12448         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12449         if stop == start and start is in the segment, no clipping should be
12450         done. Also add a test for this.
12451
12452 2006-09-15  Wim Taymans  <wim@fluendo.com>
12453
12454         * docs/design/part-buffering.txt:
12455         * docs/gst/gstreamer-sections.txt:
12456         * gst/gstmessage.c: (gst_message_new_buffering),
12457         (gst_message_parse_buffering):
12458         * gst/gstmessage.h:
12459         Added methods to create and parse BUFFERING messages.
12460         Added preliminary docs about buffering.
12461         API: gst_message_new_buffering
12462         API: gst_message_parse_buffering
12463
12464 2006-09-06  Wim Taymans  <wim@fluendo.com>
12465
12466         * gst/gstbin.c:
12467         Update documentation.
12468
12469         * gst/gstelement.c: (gst_element_class_init),
12470         (gst_element_release_request_pad), (gst_element_set_clock),
12471         (gst_element_get_index), (gst_element_add_pad),
12472         (gst_element_remove_pad), (gst_element_get_random_pad),
12473         (gst_element_send_event), (gst_element_get_query_types),
12474         (gst_element_query), (gst_element_post_message),
12475         (gst_element_message_full), (gst_element_continue_state),
12476         (gst_element_lost_state), (gst_element_save_thyself),
12477         (gst_element_restore_thyself):
12478         Documentation updates.
12479         Rename last bit of the new-pad -> pad-added signal rename.
12480         Fix the case where an element query would only work if the source
12481         pad was linked.
12482         Avoid some useless type checking in message handling.
12483
12484         * gst/gstevent.c:
12485         * gst/gstevent.h:
12486         * gst/gstutils.c:
12487         Documentation updates.
12488
12489 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12490
12491         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12492           add an INFO line for when we actually update the fd
12493
12494 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12495
12496         * configure.ac:
12497           back to TRUNK
12498
12499 === release 0.10.10 ===
12500
12501 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12502
12503         * configure.ac:
12504           releasing 0.10.10, "Pais"
12505
12506 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12507
12508         * docs/manual/advanced-position.xml:
12509           Fix typo in sample code.
12510
12511 2006-09-05  Wim Taymans  <wim@fluendo.com>
12512
12513         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12514         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12515         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12516         * libs/gst/net/gstnetclientclock.h:
12517         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12518         * libs/gst/net/gstnettimepacket.h:
12519         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12520         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12521         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12522         * libs/gst/net/gstnettimeprovider.h:
12523         Make stuff compile on windows. Fixes #345295.
12524
12525 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12526
12527         * gst/gst.c: (ensure_current_registry_forking):
12528           Print better details when child was terminated by signal.
12529
12530 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12531
12532         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12533           Print a warning rather than g_assert() if a plugin feature
12534           is a URI handler but returns no protocols (#353976).
12535
12536 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12537
12538         * docs/random/moving-plugins:
12539         Fix two typos.         
12540
12541 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12542
12543         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12544           Fix locking order, handle NULL function values properly.
12545
12546         * gst/gstinfo.h:
12547           Fix docs.
12548
12549         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12550           Initialise variable before using it and fix debug statement to
12551           print the address of the function rather than the address of the
12552           variable on the stack holding the address of the function.
12553
12554 2006-09-01  Wim Taymans  <wim@fluendo.com>
12555
12556         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12557         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12558         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12559         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12560         (gst_ghost_pad_parent_unset),
12561         (gst_ghost_pad_internal_do_activate_push),
12562         (gst_ghost_pad_internal_do_activate_pull),
12563         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12564         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12565         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12566         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12567         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12568         (gst_ghost_pad_new_no_target_from_template),
12569         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12570         More cleanups.
12571         Avoid needless typechecking in macros.
12572         Since the internal pad is always present and never changes, there is
12573         no need to locking or ref when retrieving it.
12574         Improve debugging a bit.
12575         Handle link errors when setting the target. Fixes #341029.
12576
12577 2006-09-01  Wim Taymans  <wim@fluendo.com>
12578
12579         * docs/libs/gstreamer-libs-sections.txt:
12580         * docs/plugins/gstreamer-plugins-sections.txt:
12581         Fix docs some more.
12582
12583         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12584         (gst_collect_pads_event):
12585         * libs/gst/base/gstcollectpads.h:
12586         Documentation updates.
12587         Free queued buffer when removing a pad.
12588
12589 2006-08-31  Michael Smith  <msmith@fluendo.com>
12590
12591         * gst/gstutils.c: (gst_element_link_pads),
12592         (gst_element_link_pads_filtered):
12593           Ensure that we set a capsfilter to NULL if we failed to link it
12594           when doing filtered linking, to avoid criticals.
12595
12596           No need to check for unreffing srcpad, which is explicly NULLed
12597           above (a trivial code cleanup).
12598
12599 2006-08-31  Wim Taymans  <wim@fluendo.com>
12600
12601         * docs/design/part-gstghostpad.txt:
12602         Update ascii art in documentation.
12603
12604         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12605         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12606         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12607         (gst_ghost_pad_internal_do_activate_push),
12608         (gst_ghost_pad_internal_do_activate_pull),
12609         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12610         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12611         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12612         (gst_ghost_pad_set_target):
12613         Small cleanups and leak fixes.
12614         Remove some checks now that the internal pad is never NULL.
12615         Fix the case where linking pads without a target would create nasty
12616         criticals. Fixes #341029.
12617         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12618         value of _set_target().
12619
12620         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12621         (gst_ghost_pad_suite):
12622         Some more tests for creating and linking untargeted ghostpads.
12623
12624 2006-08-31  Edward Hervey  <edward@fluendo.com>
12625
12626         * docs/gst/gstreamer-sections.txt:
12627         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12628         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12629         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12630         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12631         (gst_ghost_pad_new_from_template),
12632         (gst_ghost_pad_new_no_target_from_template):
12633         * gst/gstghostpad.h:
12634         Refactored *_new() functions.
12635         Templates are now used as a g_object_new() parameter.
12636         Use template in _do_getcaps() if we don't have a target.
12637         Small documentation cleanups.
12638         Added two new constructors:
12639         gst_ghost_pad_new_from_template()
12640         gst_ghost_pad_new_no_target_from_template()
12641         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12642         (gst_ghost_pad_suite):
12643         Added tests for new ghostpad instanciation functions.
12644
12645         API additions: gst_ghost_pad_new_from_template,
12646         gst_ghost_pad_new_no_target_from_template
12647
12648 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12649
12650         * docs/random/ensonic/profiling.txt:
12651           Ideas about qos profiling.
12652
12653 2006-08-29  Wim Taymans  <wim@fluendo.com>
12654
12655         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12656         Code cleanups.
12657         Fix memleak.
12658
12659 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12660
12661         * gst/gstxml.c:
12662           Improve and detypofy docs.
12663
12664         * tests/check/Makefile.am:
12665         * tests/check/gst/.cvsignore:
12666         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12667           Add a basic test suite for GstXML.
12668
12669 2006-08-29  Wim Taymans  <wim@fluendo.com>
12670
12671         * gst/gstelement.c: (activate_pads), (clear_caps),
12672         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12673         Clear the pad caps when the element shut down all of the pads and
12674         is not streaming data that could modify the caps. 
12675         Fixes #352958.
12676
12677 2006-08-28  Michael Smith  <msmith@fluendo.com>
12678
12679         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12680           Revert previous change; I misunderstood single-segment mode.
12681
12682 2006-08-28  Michael Smith  <msmith@fluendo.com>
12683
12684         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12685           Unset DISCONT on buffers when using single-segment mode.
12686
12687 2006-08-28  Wim Taymans  <wim@fluendo.com>
12688
12689         * gst/gstcaps.c: (gst_caps_merge_structure):
12690         * gst/gstcaps.h:
12691         Fix docs and indentation again.
12692
12693         * tests/check/gst/gstquery.c: (GST_START_TEST):
12694         Fix leak in tests and add some more tests.
12695
12696 2006-08-28  Edward Hervey  <edward@fluendo.com>
12697
12698         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12699         Inform GstSegment of the last stop position in order for the current
12700         segment to have a proper duration if it doesn't have a specific stop
12701         position from which a duration could be calculated.
12702         This bug was noticeable when a non-flushing, non-update new segment was
12703         followed by another segment (all buffers from the new segment were being
12704         dropped).
12705
12706 2006-08-28  Wim Taymans  <wim@fluendo.com>
12707
12708         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12709         Small comment update.
12710
12711         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12712         (gst_identity_transform_ip):
12713         Drop-probability is broken, mention this in the code with a 
12714         FIXME and also in the property description.
12715         Make silent also be silent about the drop messages.
12716
12717 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12718
12719         * docs/manual/appendix-win32.xml:
12720           Remove mention of popt, we don't depend on that any
12721           longer (#353136). Add some comments pointing out that
12722           this section is slightly outdated.
12723
12724 2006-08-28  Wim Taymans  <wim@fluendo.com>
12725
12726         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12727
12728         * gst/gstquery.c: (gst_query_new_segment):
12729         * tests/check/gst/gstquery.c: (GST_START_TEST):
12730         Initialize variables when creating a new segment query.
12731         Fixes #353121.
12732
12733 2006-08-28  Wim Taymans  <wim@fluendo.com>
12734
12735         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12736
12737         * gst/gstelement.c: (gst_element_get_bus):
12738         * tests/check/gst/gstelement.c: (GST_START_TEST):
12739         Check for NULL before _reffing the bus. Fixes #353122.
12740
12741 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12742
12743         * docs/manual/basics-bus.xml:
12744           Docs update: fix wrong callback return value explanation; add
12745           some lines about the implicit relationship between main loop
12746           and main context; remove duplicate main loop variable declaration.
12747
12748 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12749
12750         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12751           Don't leak caps in unit test; add a few more simple
12752           checks. 
12753
12754 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12755
12756         * docs/gst/gstreamer-sections.txt:
12757         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12758         (gst_caps_structure_is_subset), (gst_caps_merge),
12759         (gst_caps_merge_structure):
12760         * gst/gstcaps.h:
12761         * libs/gst/base/gstbasetransform.c:
12762         (gst_base_transform_transform_caps):
12763         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12764           implement caps merging (fixes #352580)
12765
12766 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12767
12768         * tools/Makefile.am:
12769         * tools/gst-plot-timeline.py:
12770           add debug-log plotting developer tool (#340674)
12771
12772 2006-08-23  Wim Taymans  <wim@fluendo.com>
12773
12774         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12775         (gst_pad_stop_task):
12776         Improve debugging for task functions.
12777
12778         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12779         (gst_task_start), (gst_task_pause), (gst_task_join):
12780         Make sure that the task function started and finished after a 
12781         join(). 
12782         Don't try to push the task function on the threadpool multiple
12783         times.
12784         Improve the g_warning message with some useful suggestions
12785         about how to fix the problem. 
12786
12787 2006-08-23  Wim Taymans  <wim@fluendo.com>
12788
12789         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12790         Handle RESYNC correctly in _proxy_getcaps.
12791
12792 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12793
12794         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12795         (gst_xml_parse_memory), (gst_xml_get_element):
12796           Chain up to parent class in dispose function and also
12797           unref the elements in the toplevel_elements GList.
12798           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12799           Always return a reference in gst_xml_get_element() rather
12800           than only sometimes.
12801
12802         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12803           Don't leak GstXml object.
12804
12805 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12806
12807         * docs/gst/gstreamer-sections.txt:
12808         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12809         (gst_caps_merge):
12810         * gst/gstcaps.h:
12811         * libs/gst/base/gstbasetransform.c:
12812         (gst_base_transform_transform_caps):
12813           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12814           in a better way
12815
12816 2006-08-21  Edward Hervey  <edward@fluendo.com>
12817
12818         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12819         Implement GObject::dispose virtual method in GstXML so we can free the
12820         top_elements GList.
12821
12822 2006-08-21  Wim Taymans  <wim@fluendo.com>
12823
12824         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12825         (gst_buffer_create_sub):
12826         Copy duration/offset_end/caps when creating a subbuffer of the
12827         complete parent.
12828         Make the subbuffer read-only when we make the metadata writable for
12829         now. Fixes #351768.
12830
12831         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12832         Added check for metadata copy when creating subbuffers.
12833
12834 2006-08-21  Edward Hervey  <edward@fluendo.com>
12835
12836         * libs/gst/base/gstbasetransform.c:
12837         (gst_base_transform_buffer_alloc):
12838         Only call downstream buffer_alloc if transform element is passthrough
12839         or always_in_place. Closes #350449.
12840
12841 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12842
12843         * ChangeLog:
12844           ChangeLog surgery to add comments to previous changes
12845
12846 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12847
12848         * gst/gst.c:
12849           Add comments
12850
12851         * gst/gstpad.c: (gst_pad_set_active):
12852           Be more verbose in the log
12853
12854         * libs/gst/base/gstbasetransform.c:
12855         (gst_base_transform_transform_caps):
12856           Simplify caps to get rid of duplicates, fixes #345444
12857
12858 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12859
12860         * gst/gstvalue.c:
12861         * gst/gstvalue.h:
12862           Use these optimizations only internally.
12863
12864 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12865
12866         * gst/gstvalue.c: (gst_value_compare_list),
12867         (gst_value_compare_fraction_range),
12868         (gst_value_intersect_fraction_fraction_range),
12869         (gst_value_intersect_fraction_range_fraction_range),
12870         (gst_value_subtract_fraction_fraction_range),
12871         (gst_value_subtract_fraction_range_fraction_range),
12872         (gst_value_get_compare_func), (gst_value_compare),
12873         (gst_value_compare_with_func):
12874         * gst/gstvalue.h:
12875           Saves the expensive lookup of the compare function in many cases
12876          (#345444)
12877
12878 2006-08-18  Edward Hervey  <edward@fluendo.com>
12879
12880         * tests/check/gst/gstinfo.c: (gst_info_suite):
12881         Disable test that require gstdebug if it wasn't built in core.
12882
12883 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12884
12885         * docs/random/ensonic/logging.txt:
12886           update ideas
12887           
12888         * gst/gstinfo.c: (gst_debug_log_default):
12889           reorder fields, save some columns, add optional color codes for log
12890           levels
12891
12892 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
12893
12894         * docs/random/ensonic/logging.txt:
12895           add ideas about making the logs a bit more useful
12896
12897 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12898
12899         * docs/pwg/advanced-events.xml:
12900         * docs/pwg/titlepage.xml:
12901           Update for 0.10 API (#340627). Add myself
12902           to authors list.
12903
12904 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
12905
12906         * docs/libs/gstreamer-libs-docs.sgml:
12907         * docs/libs/gstreamer-libs-sections.txt:
12908         * libs/gst/check/gstbufferstraw.c:
12909           Make gstcheck stuff show up in docs (still needs to
12910           be documented properly though).
12911
12912 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
12913
12914         * docs/gst/gstreamer-sections.txt:
12915         * gst/Makefile.am:
12916         * gst/gst.c: (init_post):
12917         * gst/gst_private.h:
12918         * gst/gstquark.c: (_priv_gst_quarks_initialize):
12919         * gst/gstquark.h:
12920         * gst/gstquery.c: (gst_query_new_position),
12921         (gst_query_set_position), (gst_query_parse_position),
12922         (gst_query_new_duration), (gst_query_set_duration),
12923         (gst_query_parse_duration), (gst_query_new_convert),
12924         (gst_query_set_convert), (gst_query_parse_convert),
12925         (gst_query_new_segment), (gst_query_set_segment),
12926         (gst_query_parse_segment), (gst_query_new_seeking),
12927         (gst_query_set_seeking), (gst_query_parse_seeking):
12928         Add internal helpers for pre-registering quarks from static strings
12929         and using the quark values directly instead of looking them up when
12930         creating and parsing queries. Can be used for event construction too.
12931         Closes #350432.
12932
12933 2006-08-16  Wim Taymans  <wim@fluendo.com>
12934
12935         * gst/gstbin.c:
12936         Fix bogus docs.
12937
12938 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12939
12940         * gst/gstutils.c: (gst_util_set_value_from_string):
12941           Fix memleak (#351502).
12942
12943         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12944           Add unit test for most of gst_util_set_value_from_string()
12945           (not that one would want to encourage use of this function).
12946
12947 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12948
12949         * libs/gst/check/gstcheck.h:
12950           Use const gchar * variables in fail_unless_equals_string
12951           macro to avoid compiler warnings (and don't use tabs for
12952           indenting).
12953
12954 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12955
12956         * tools/gst-launch.c: (print_tag):
12957           More space on the left for the tag names, to cater
12958           for the 'extended comment' tag (not touching the
12959           string for the first line since it's translated).
12960
12961 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
12962
12963         * libs/gst/check/gstcheck.h:
12964           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12965           print something when they fail.
12966
12967 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12968
12969         * docs/gst/gstreamer-sections.txt:
12970         * gst/gsttaglist.c: (_gst_tag_initialize):
12971         * gst/gsttaglist.h:
12972           API: add GST_TAG_EXTENDED_COMMENT (#350935).
12973           Also change merge function for GST_TAG_COMMENT to
12974           use_first.
12975
12976 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12977
12978         * gst/gstinfo.c: (gst_debug_print_object):
12979           Make GST_PTR_FORMAT print messages as well.
12980
12981         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12982         (GST_START_TEST), (gst_info_suite):
12983           More tests.
12984
12985 2006-08-14  Edward Hervey  <edward@fluendo.com>
12986
12987         * gst/gstelementfactory.c: (gst_element_register):
12988         If the GstElementClass doesn't have a GstElementDetails with all fields
12989         filled up correctly (longname, description AND author), then error out
12990         nicely instead of crashing.
12991
12992 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
12993
12994         * gst/gststructure.c:
12995           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12996
12997         * gst/gstvalue.h:
12998           Expand on the difference between arrays and lists as we use them.
12999           
13000 2006-08-14  Wim Taymans  <wim@fluendo.com>
13001
13002         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13003         If the parent state change function failed, don't assume we can safely
13004         stop the source, this will be done when the pads are deactivated.
13005
13006 2006-08-14  Wim Taymans  <wim@fluendo.com>
13007
13008         * gst/gstbuffer.c:
13009         * gst/gsttask.c: (gst_task_join):
13010         Small doc updates.
13011
13012         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13013         (gst_pad_stop_task):
13014         When pad (de)activation failed for some reason, restore the old
13015         activation mode and set the pad to flushing instead of assuming the
13016         pad is deactivated.
13017         If the _task_join() failed, reinstall the task on the pad so that it can
13018         be stopped later and return an error.
13019
13020 2006-08-11  Andy Wingo  <wingo@pobox.com>
13021
13022         * configure.ac:
13023         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13024         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13025         is only for users of API that don't want to see deprecated
13026         functions in the headers; people that want to compile out
13027         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13028         CFLAGS. Fixes the build of multifdsink, or will soon..
13029
13030 2006-08-11  Wim Taymans  <wim@fluendo.com>
13031
13032         * docs/gst/gstreamer-sections.txt:
13033         Add GstClockClass vmethod docs.
13034
13035         * gst/gstcaps.h:
13036         Mark #endif with comment for associated #if
13037
13038         * gst/gstclock.c: (gst_clock_id_wait):
13039         * gst/gstclock.h:
13040         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13041         most clock implementations.
13042         Document vmethods.
13043         Flesh out docs about resolution methods.
13044         API: GstClockClass::wait_jitter
13045
13046         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13047         (gst_system_clock_async_thread),
13048         (gst_system_clock_id_wait_jitter_unlocked),
13049         (gst_system_clock_id_wait_jitter):
13050         Use base class wait_jitter variant for improved performance
13051         due to less clock polling.
13052
13053 2006-08-11  Edward Hervey  <edward@fluendo.com>
13054
13055         * gst/gst.c: (gst_init_check), (init_post):
13056         Set gst as being initialized before scanning/updating the registry,
13057         since there might be my python plugin loader that calls gst_init() and
13058         we don't want to loop back in.
13059         Closes #350879
13060
13061 2006-08-11  Wim Taymans  <wim@fluendo.com>
13062
13063         * docs/design/part-qos.txt:
13064         Bring docs in line with the code. Mostly the sign of the jitter was
13065         wrong in the docs. Fixes #349943.
13066
13067         * gst/gstclock.c:
13068         Fix the docs for the jitter.
13069
13070         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13071         (gst_event_parse_tag), (gst_event_new_buffer_size),
13072         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13073         (gst_event_new_seek), (gst_event_parse_seek),
13074         (gst_event_new_navigation):
13075         Make sure the GstStructure has no parent when creating custom
13076         events.
13077         Add some more argument checking so that we avoid 0.0 rates.
13078         Flesh out the docs for the QoS event some more.
13079
13080 2006-08-11  Wim Taymans  <wim@fluendo.com>
13081
13082         * docs/gst/gstreamer-sections.txt:
13083         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13084         (ensure_current_registry_forking), (ensure_current_registry),
13085         (parse_one_option), (parse_goption_arg), (gst_deinit),
13086         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13087         * gst/gst.h:
13088         Doc updates.
13089         Added API and command line option to disable registry forking in
13090         addition to the environment variable.
13091         Constify some static arrays.
13092         Added some more debug.
13093         Don't deinit twice.
13094         API: gst_registry_fork_is_enabled()
13095         API: gst_registry_fork_set_enabled()
13096         API: --gst-disable-registry-fork command line option
13097         Fixes #348918.
13098
13099 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13100
13101         * gst/gst.c: (gst_init):
13102           Fix typo in error message.
13103
13104 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13105
13106         * libs/gst/controller/gstcontroller.h:
13107           fix ABI size-correction
13108
13109         * tests/check/libs/gdp.c: (gst_dp_suite):
13110           make tests that use deprecated API conditional
13111
13112 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13113
13114         * docs/libs/gstreamer-libs-sections.txt:
13115         * libs/gst/controller/gstcontroller.c:
13116         (_gst_controller_get_property), (_gst_controller_set_property),
13117         (_gst_controller_init), (_gst_controller_class_init):
13118         * libs/gst/controller/gstcontroller.h:
13119         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13120         (gst_object_set_control_rate):
13121           API: add gst_object_{s,g}et_control_rate(), add private data section,
13122           fix docs
13123
13124         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13125         * libs/gst/dataprotocol/dataprotocol.h:
13126           add deprecation guards to make gtk-doc happy and allow disabling cruft
13127
13128 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13129
13130         * tests/check/Makefile.am:
13131         * tests/check/gst/.cvsignore:
13132           Let's enable the new unit test as well.
13133
13134 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13135
13136         * configure.ac:
13137         * docs/gst/gstreamer-sections.txt:
13138         * gst/gstconfig.h.in:
13139         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13140         (_gst_info_printf_extension_ptr),
13141         (_gst_info_printf_extension_segment):
13142           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13143           register that lets us easily dump GstSegments into debug
13144           logs (#350419).
13145
13146         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13147         (info_segment_format_printf_extension), (gst_info_suite):
13148           Add simple unit test that logs a bunch of different segments (not
13149           valgrinded at the moment because of leaks in
13150           gst_debug_add_log_function).
13151
13152 2006-08-09  Edward Hervey  <edward@fluendo.com>
13153
13154         * libs/gst/base/gstbasetransform.c:
13155         (gst_base_transform_buffer_alloc):
13156         Even if we can't figure out the proper format to request downstream,
13157         call buffer_alloc() downstream with the input parameters without setting
13158         the caps on the srcpad. This will force negotiation in the chain
13159         function.
13160         Closes #350449
13161
13162 2006-08-08  Edward Hervey  <edward@fluendo.com>
13163
13164         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13165         Unlinking from a pad without a target is now a perfectly valid case
13166         which should NOT raise an assertion.
13167         This case would happen if a linked ghostpad its target set to NULL after
13168         it was previously linked.
13169
13170 2006-08-08  Edward Hervey  <edward@fluendo.com>
13171
13172         * tests/check/libs/gdp.c:
13173         Also comment out the test (see below).
13174
13175 2006-08-08  Edward Hervey  <edward@fluendo.com>
13176
13177         * tests/check/libs/gdp.c: (gst_dp_suite):
13178         Use the architecture information from config.h and not gcc macros
13179         in order to properly disable a test that fails on PPC64.
13180
13181 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13182
13183         * gst/gstelement.c: (gst_element_remove_pad):
13184           Don't crash printing the warning if the pad has no parent.
13185
13186 2006-08-02  Wim Taymans  <wim@fluendo.com>
13187
13188         * libs/gst/dataprotocol/dataprotocol.c:
13189         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13190         (gst_dp_crc), (gst_dp_header_payload_length),
13191         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13192         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13193         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13194         (gst_dp_event_from_packet), (gst_dp_validate_header),
13195         (gst_dp_validate_payload):
13196         Make debug category static
13197         Constify the crc table.
13198         Do some more arg checking in public functions.
13199         Fix some docs and do some small cleanups.
13200
13201         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13202         Add some more checks to see if GDP deals with bogus input.
13203
13204 2006-07-31  Wim Taymans  <wim@fluendo.com>
13205
13206         * gst/gstvalue.c: (gst_value_compare_list):
13207         Fix GstValueList comparison code. Fixes #347293.
13208
13209         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13210         Check to test GstValueList comparison.
13211
13212 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13213
13214         * gst/gstelementfactory.c: (gst_element_factory_create):
13215         Remove unnecessary ref/unref pair
13216
13217         * gst/parse/grammar.y:
13218         Make sure to free the parse buffer on all code paths.
13219         Move a g_free up to the error handler where it's easier to see.
13220
13221         * tests/check/gst/gstevent.c: (test_event):
13222         Extending timeout for downstream travelling events to 10 seconds to
13223         hopefully avoid intermittent failure on the buildbots.
13224
13225         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13226         Don't manually set the state of the src element - it will happen as a
13227         natural consequence of the pipeline changing state, and that way it
13228         will do it in the right order too.
13229
13230 2006-07-31  Wim Taymans  <wim@fluendo.com>
13231
13232         * libs/gst/base/gstbasetransform.c:
13233         (gst_base_transform_buffer_alloc):
13234         Use OBJECT_LOCK and refcounting to get the pad caps in the
13235         buffer_alloc function because the caps could change while we are
13236         busy with them. Fixes #349105
13237
13238 2006-07-31  Wim Taymans  <wim@fluendo.com>
13239
13240         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13241         Protect _PAD_CAPS with OBJECT_LOCK.
13242
13243 2006-07-31  Wim Taymans  <wim@fluendo.com>
13244
13245         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13246         (gst_pad_get_property), (gst_pad_activate_pull),
13247         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13248         (gst_pad_set_activate_function),
13249         (gst_pad_set_activatepull_function),
13250         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13251         (gst_pad_set_getrange_function),
13252         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13253         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13254         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13255         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13256         (gst_pad_set_acceptcaps_function),
13257         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13258         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13259         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13260         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13261         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13262         (gst_pad_configure_sink), (gst_pad_configure_src),
13263         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13264         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13265         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13266         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13267         (gst_pad_send_event):
13268         Use _DEBUG_OBJECT when it makes sense.
13269         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13270         Small cleanups and code reflows.
13271         Avoid caps refcounting in _accept_caps.
13272         Refactor alloc_buffer so that the code performed on the peer is in a
13273         separate function. Also if the pad does not implement a buffer alloc
13274         function, we should still check if the pad is flushing before falling
13275         back to the default allocator.
13276
13277 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13278
13279         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13280         Make all uses of identity and fakesink have silent=true to avoid
13281         serialising every passing data structure, which is breaking tests
13282         on FC4 for some unknown reason.
13283
13284 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13285
13286         * gst/parse/Makefile.am:
13287         * gst/parse/grammar.y:
13288         * gst/parse/parse.l:
13289           Reverted previous patch as it required to bump the flex dependency to
13290           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13291
13292 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13293
13294         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13295
13296         * gst/parse/Makefile.am:
13297         * gst/parse/grammar.y:
13298         * gst/parse/parse.l:
13299           push & pop the state of the lexer for reentrant use case
13300           Fixes #349180
13301
13302 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13303
13304         * libs/gst/base/gstbasesrc.h:
13305           Note in the docs that the ::newsegment vfunc is not actually used by
13306           GstBaseSrc.
13307
13308 2006-07-28  Wim Taymans  <wim@fluendo.com>
13309
13310         * libs/gst/base/gstcollectpads.c:
13311         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13312         (gst_collect_pads_clear), (gst_collect_pads_flush),
13313         (gst_collect_pads_event), (gst_collect_pads_chain):
13314         When flushing a pad, also clear the queued buffer so that we don't
13315         accidentally use it when we shouldn't.
13316         Fix leaks by inreffing incomming buffer.
13317         Flush out queued buffers in case of errors.
13318         Fixes #347452.
13319
13320 2006-07-28  Wim Taymans  <wim@fluendo.com>
13321
13322         * docs/random/phonon-gst:
13323         Random notes about a Phonon backend.
13324
13325 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13326
13327         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13328         Extra debug output
13329         * tests/check/libs/gdp.c: (gst_dp_suite):
13330         Take a whack at fixing the ppc compile using a different define to
13331         disable the broken test.
13332
13333         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13334         Remove excess g_print()
13335
13336 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13337
13338         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13339         Oops, meant to uncomment this line too to dampen the noise a bit.
13340
13341 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13342
13343         * gst/parse/grammar.y:
13344         * gst/parse/parse.l:
13345         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13346         (GST_START_TEST), (parse_suite):
13347         Fix some of the leaks exposed by extending the parse-launch testsuite,
13348         and move the 3 I can't figure out into a separate test that won't run
13349         the pipelines unless the appropriate line is uncommented.
13350
13351 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13352
13353         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13354           Requesting 0 bytes before the end of the file should result in
13355           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13356           unit test.
13357
13358 2006-07-27  Wim Taymans  <wim@fluendo.com>
13359
13360         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13361         Fix useless assert, a uint is always positive.
13362
13363         * gst/gststructure.c: (gst_structure_nth_field_name),
13364         (gst_structure_foreach), (gst_structure_map_in_place):
13365         Check input arguments for public functions to avoid obvious crashes.
13366
13367         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13368         * plugins/elements/gstfakesink.h:
13369         Do less useless typechecking.
13370
13371 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13372
13373         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13374           Do not use mmap() by default since there are a number of error
13375           conditions that we would like to handle in a non-fatal way that
13376           will result in a SIGBUS if we use mmap(). Examples: external
13377           devices (USB harddrive, portable music player) being unplugged
13378           while in use; file on mounted CD/DVD that can't be read because
13379           the medium is partly damaged. Fixes #348455 and #348475.
13380
13381 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13382
13383         * gst/gstquery.h:
13384         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13385         rates are a gdouble
13386
13387 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13388
13389         * gst/gstregistry.c:
13390           Move big documentation comment into class section header, so that it
13391           appears in the API docs.
13392
13393 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13394
13395         * docs/gst/gstreamer-sections.txt:
13396         Oops. Commit the docs additions too for new API.
13397         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13398
13399 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13400
13401         * gst/gststructure.c: (gst_structure_id_set),
13402         (gst_structure_id_set_valist):
13403         * gst/gststructure.h:
13404         Add API for setting values into structures without performing
13405         a quark lookup, if the appropriate quark is already known.
13406
13407         API: gst_structure_id_set
13408         API: gst_structure_id_set_valist
13409
13410         * gst/parse/grammar.y:
13411         * gst/parse/parse.l:
13412         Remove some dead code shown by the coverage information.
13413         Don't throw a critical g_warning when encountering a syntax error,
13414         just warn and let the normal error path handle it.
13415
13416         * plugins/elements/gstelements.c:
13417         Bump the rank of filesink up to PRIMARY so that it is preferred over
13418         gnomevfssink for file:// sink uri's
13419
13420         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13421         (GST_START_TEST), (run_delayed_test),
13422         (gst_parse_test_element_base_init),
13423         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13424         (gst_parse_test_element_change_state),
13425         (gst_register_parse_element), (parse_suite):
13426         Beef up the tests for parse syntax to check that more error cases
13427         fail as they are supposed to. Increases the test coverage a bit.
13428
13429 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13430
13431         * docs/manual/basics-elements.xml:
13432           Fix gst_element_link() example.
13433
13434         * gst/gstutils.c:
13435           Mention in API docs that one should usually gst_bin_add()
13436           elements to a bin or pipeline before doing the linking.
13437           
13438 2006-07-26  Wim Taymans  <wim@fluendo.com>
13439
13440         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13441         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13442         Avoid function call for known types by keeping the buffer and
13443         subbuffer GType global.
13444
13445         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13446         Random silly optimisations in read() path.
13447
13448 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13449
13450         * tools/gst-launch.c: (main):
13451           If the top-level of the parse is a normal bin, it doesn't do the
13452           right logic to run as a top-level element, so place it inside a
13453           pipeline.
13454
13455 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13456
13457         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13458           Remove superfluous g_object_notify() calls, GObject does
13459           that for us automatically.
13460
13461 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13462
13463         * gst/gstinfo.h:
13464           on Win32, use dllspec to export the debug category symbols
13465
13466 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13467
13468         * gst/gsttaglist.c: (_gst_tag_initialize):
13469           Allow more than one GST_TAG_IMAGE per taglist.
13470
13471 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13472
13473         * gst/gstminiobject.c:
13474           update docs
13475         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13476         (gst_fd_src_create):
13477           log recurring events at LOG level
13478           add more debug for when the fd gets set
13479
13480 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13481
13482         * gst/gstparse.c: (gst_parse_launch):
13483           Also remove reentrance checks if flex is MT safe (#348179)
13484          Fix my empty ChangeLog entry below
13485
13486 2006-07-21  Andy Wingo  <wingo@pobox.com>
13487
13488         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13489
13490         * libs/gst/check/Makefile.am
13491         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13492         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13493         * libs/gst/check/gstbufferstraw.h:
13494         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13495         functions, thus proving I am still a GStreamer haxor. OK I wrote
13496         them a long time ago, but anyways.
13497
13498 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13499
13500         * configure.ac:
13501         * gst/gstparse.c: (gst_parse_launch):
13502           Check for flex version and omit mutex if we have a MT save flex
13503           (fixes #348179)
13504
13505 2006-07-21  Wim Taymans  <wim@fluendo.com>
13506
13507         * gst/gstparse.c: (gst_parse_launch):
13508         Protect recursive calls to _parse with a recursive mutex
13509         and busy flag.
13510
13511 2006-07-21  Wim Taymans  <wim@fluendo.com>
13512
13513         * tests/check/gst/gstpad.c: (GST_START_TEST):
13514         Fix leak in test.
13515
13516 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13517
13518         * gst/gstparse.c: (gst_parse_launch):
13519           Do not hang on recursive usage of gst_parse_launch()
13520
13521 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13522
13523         * gst/gsttaglist.c:
13524           Add some more docs, comments and FIXME 0.11s here and there
13525           and also fix some typos.
13526
13527 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13528
13529         * gst/gstsegment.h:
13530           Convert tabs to spaces for better readability. 
13531
13532 2006-07-20  Edward Hervey  <edward@fluendo.com>
13533
13534         * tests/check/libs/gdp.c: (gst_dp_suite):
13535         the test_buffer test fails at line 140 on ppc64 at the following
13536         check:
13537         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13538                 GST_BUFFER_FLAG_IN_CAPS),
13539                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13540         See bug #348114 for more details.
13541
13542 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13543
13544         * docs/pwg/advanced-scheduling.xml:
13545         * gst/gstpad.c:
13546           Fix typos (#348000).
13547
13548 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13549
13550         * docs/pwg/intro-basics.xml:
13551           Fix wrong links (#347927).
13552
13553 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13554
13555         * gst/gstregistry.h:
13556         * gst/gstregistryxml.c: (load_feature),
13557         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13558         * win32/common/config.h:
13559           make --disable-index work (#342564)
13560
13561 2006-07-18  Wim Taymans  <wim@fluendo.com>
13562
13563         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13564
13565         * gst/Makefile.am:
13566         * gst/gsttrace.h:
13567         The attached patch adds two missing defines to gsttrace.h when tracing
13568         is disabled.  It also corrects one existing define.
13569         Fixes #347756.
13570
13571 2006-07-17  Wim Taymans  <wim@fluendo.com>
13572
13573         * docs/gst/gstreamer-sections.txt:
13574         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13575         * gst/gst.h:
13576         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13577         Add two functions to check and change the SIGSEGV behaviour
13578         when loading plugins.
13579         Don't mess with the SIGSEGV handler when we were told not to.
13580         Fixes #347794.
13581         API: gst_segtrap_is_enabled
13582         API: gst_segtrap_set_enabled
13583
13584 2006-07-14  Wim Taymans  <wim@fluendo.com>
13585
13586         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13587         * tests/check/elements/filesrc.c: (GST_START_TEST):
13588         Revert fix for regression in #347408 after release.
13589
13590 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13591
13592         Patch by: Antoine Tremblay <hexa00 at gmail com>
13593
13594         * gst/gstutils.c: (gst_element_unlink):
13595           Free iterator when done (#347311).
13596
13597         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13598           And add a test case for this.
13599
13600 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13601
13602         * configure.ac:
13603         Bump nano back to CVS
13604
13605 === release 0.10.9 ===
13606
13607 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13608
13609         * configure.ac:
13610           releasing 0.10.9, "On the road again"
13611
13612 2006-07-13  Wim Taymans  <wim@fluendo.com>
13613
13614         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13615         * tests/check/elements/filesrc.c: (GST_START_TEST):
13616         Revert pull-0 fix for release. Disable check. Fixes #347408.
13617
13618 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13619
13620         * libs/gst/dataprotocol/dataprotocol.c:
13621         (gst_dp_event_from_packet_1_0):
13622           Fixes #347337: failure to deserialize event packets with
13623           empty payload (only event type)
13624
13625 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13626
13627         * gst/Makefile.am:
13628           do not install a .c file in the header directory
13629
13630 2006-07-13  Edward Hervey  <edward@fluendo.com>
13631
13632         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13633         GhostPad no longer implicitely use the padtemplates of the targets.
13634         Fixes #347384
13635
13636 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13637
13638         * gst/gstvalue.c: (gst_value_compare_list),
13639         (gst_value_compare_array), (_gst_value_initialize):
13640         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13641         Make GstValueArray comparison be order dependent as designed.
13642         Add checks for value lists and value array comparisons.
13643         Fixes #347221
13644
13645 2006-07-11  Edward Hervey  <edward@fluendo.com>
13646
13647         * gst/gstbin.c: (activate_pads),
13648         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13649         (gst_bin_change_state_func):
13650         (de)activate src pads before calling state_change on the childs.
13651         This is to avoid the case where a src ghostpad is blocked (holding the
13652         stream lock), which would block the deactivation of the ghostpad's
13653         target pad.
13654         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13655         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13656         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13657         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13658         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13659         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13660         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13661         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13662         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13663         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13664         (gst_ghost_pad_class_init),
13665         (gst_ghost_pad_internal_do_activate_push),
13666         (gst_ghost_pad_internal_do_activate_pull),
13667         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13668         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13669         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13670         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13671         GhostPads now create their internal GstProxyPad at creation (and not
13672         when they're linked, as it was being done previously).
13673         The internal and target pads are linked straight away.
13674         The data will also travel through the other pad in order to make
13675         pad blocking and probes non-hackish (the probe/block now really happens
13676         on the GhostPad and not on the target).
13677         * gst/gstpad.c: (gst_pad_set_blocked_async),
13678         (gst_pad_link_prepare), (gst_pad_push_event):
13679         Remove previous ghostpad cruft.
13680         * gst/gstutils.c: (gst_pad_add_data_probe),
13681         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13682         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13683         (gst_pad_remove_buffer_probe):
13684         Remove previous ghost pad cruft.
13685         Added more detailed debug statements.
13686         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13687         Fix the testsuite for refcounting changes.
13688         The comments about who has references were correct, but the refcount
13689         being checked wasn't the same (!?!).
13690
13691         Fixes #341029
13692
13693 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13694
13695         * docs/gst/gstreamer-sections.txt:
13696         * gst/gstconfig.h.in:
13697         More docs for configuration options, add docs to gtk-doc.
13698
13699 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13700
13701         * gst/Makefile.am:
13702         * gst/gstconfig.h.in:
13703         * win32/common/config.h:
13704         Fix build when disabling tracing (fixes #344016). Also start to document
13705         the defines that disable the sub-systems.
13706
13707 2006-07-10  Edward Hervey  <edward@fluendo.com>
13708
13709         * gst/gst.c: (ensure_current_registry_forking):
13710         let's make valgrind happy...
13711
13712 2006-07-09  Wim Taymans  <wim@fluendo.com>
13713
13714         * gst/gstelement.c: (activate_pads),
13715         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13716         Better pad activation code: Reset the collect value too on resync.
13717         Add some comments.
13718
13719 2006-07-09  Wim Taymans  <wim@fluendo.com>
13720
13721         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13722         (gst_pad_activate_push):
13723         Use some more macros where it makes sense.
13724         Allow pad mode switching instead of asserting. When a pad
13725         is activated in one mode and we activate it in another, 
13726         deactivate it first before activating it in a different mode.
13727         Fixes #329198.
13728
13729 2006-07-08  Andy Wingo  <wingo@pobox.com>
13730
13731         * tools/gst-launch.c (main): Handle err == NULL.
13732
13733         * gst/gst.c (init_post, ensure_current_registry)
13734         (ensure_current_registry_forking)
13735         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13736         factoring out the registry scanning into separate functions. Don't
13737         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13738         Better environment var name/interface suggestions accepted.
13739
13740 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13741
13742         * gst/gstobject.c: (gst_object_set_name_default),
13743         (gst_object_set_name):
13744           Random micro-optimisation: don't use a hash table
13745           with strings as keys and the usual strdup/strcmp
13746           involved, but rather just use the GQuark of the
13747           type name as key, since it needs to be looked up
13748           anyway to get the type name string.
13749
13750         * tests/check/gst/gstobject.c: (GST_START_TEST):
13751           Fix various leaks.
13752
13753 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13754
13755         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13756         (gst_bin_iterate_all_by_interface):
13757           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13758           GTypes are gulongs and thus the top 4 bytes might be cut
13759           off on some platforms when doing GPOINTER_TO_INT, leading
13760           to invalid GTypes and bad things happening (see RH bug #179654).
13761           Also add a check to make sure the type passed in is really
13762           an interface type.
13763
13764 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13765
13766         * .cvsignore:
13767           Ignore more.
13768
13769 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13770
13771         * Makefile.am:
13772         * configure.ac:
13773         * gst-element-check.m4:
13774         * gst-element-check.m4.in:
13775           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13776           instead of the unversioned gst-inspect (#324176, #168659).
13777
13778 2006-07-06  Wim Taymans  <wim@fluendo.com>
13779
13780         * gst/gstmessage.h:
13781         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13782         warnings.
13783
13784 2006-07-06  Wim Taymans  <wim@fluendo.com>
13785
13786         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13787         (gst_base_src_wait), (gst_base_src_update_length),
13788         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13789         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13790         (gst_base_src_loop), (gst_base_src_start),
13791         (gst_base_src_activate_pull):
13792         Update docs.
13793         blocksize == 0 now means the default blocksize when working in push
13794         based mode.
13795         Remove some pointless asserts in _wait function.
13796         Fix offset/length calculations and EOS handling. We can now pull 0
13797         bytes as well, which is allowed.
13798         use _check_get_range() to decide if we can operate in _pull based
13799         mode.
13800         Fix refcounting leak when check_get_range function was not 
13801         implemented.
13802         API GstBaseSrc::blocksize range can be 0 too now (default)
13803
13804         * tests/check/elements/filesrc.c: (GST_START_TEST),
13805         (filesrc_suite):
13806         Added check to test _get_range() behaviour.
13807
13808 2006-07-06  Wim Taymans  <wim@fluendo.com>
13809
13810         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13811         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13812         (gst_pad_pull_range):
13813         * gst/gstpad.h:
13814         Lots of comments and docs added to the pad functions.
13815         Flesh out the expected behaviour of the get_range() functions.
13816
13817 2006-07-06  Wim Taymans  <wim@fluendo.com>
13818
13819         * gst/gstbus.h:
13820         * gst/gstclock.h:
13821         * gst/gstevent.h:
13822         * gst/gstiterator.h:
13823         * gst/gstpad.h:
13824         * gst/gstplugin.h:
13825         * gst/gsttask.h:
13826         Remove comma at end of enumerator list. 
13827
13828 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13829
13830         * win32/common/libgstbase.def:
13831         * win32/common/libgstdataprotocol.def:
13832         * win32/common/libsgtreamer.def:
13833         Add new exported functions.
13834
13835 2006-07-05  Wim Taymans  <wim@fluendo.com>
13836
13837         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13838         Add some more docs here and there.
13839
13840 2006-07-05  Wim Taymans  <wim@fluendo.com>
13841
13842         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13843         (gst_base_sink_loop), (gst_base_sink_get_position):
13844         When operating in pull mode update the offset so that we
13845         read sequentially.
13846
13847 2006-07-05  Wim Taymans  <wim@fluendo.com>
13848
13849         * gst/gstregistryxml.c: (read_string):
13850         Avoid strdup. (will happen in libxml, but hey!)
13851
13852         * gst/gsturi.c:
13853         Add some more docs.
13854
13855 2006-07-05  Wim Taymans  <wim@fluendo.com>
13856
13857         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13858         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13859         (gst_buffer_suite):
13860         No point in checking if the size of the subbuffer > 0, the
13861         code handles it correclty as demonstrated by unit test.
13862         Also add a unit test for the zero sized _new_and_alloc and
13863         _copy. Fixes #346663.
13864
13865 2006-07-05  Wim Taymans  <wim@fluendo.com>
13866
13867         * libs/gst/base/gstbasetransform.c:
13868         (gst_base_transform_prepare_output_buffer),
13869         (gst_base_transform_buffer_alloc),
13870         (gst_base_transform_handle_buffer):
13871         Make sure the buffer we pass to transform_ip has a refcount of
13872         1 and thus is writable. Fixes #343196
13873
13874 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
13875
13876         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13877         (gst_file_src_init), (gst_file_src_set_property),
13878         (gst_file_src_get_property), (gst_file_src_map_region):
13879         * plugins/elements/gstfilesrc.h:
13880         Add "sequential" property, off by default, to use madvise and hint
13881         to the kernel that sequential access is desired.
13882         Touch all retrieved pages by default to ensure they are pulled
13883         into memory. (Closes #345720)
13884
13885 2006-07-03  Wim Taymans  <wim@fluendo.com>
13886
13887         * docs/design/part-block.txt:
13888         * docs/design/part-dynamic.txt:
13889         Small docs updates.
13890
13891 2006-07-03  Wim Taymans  <wim@fluendo.com>
13892
13893         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13894         (gst_caps_unref), (gst_static_caps_get),
13895         (gst_caps_append_structure):
13896         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13897         Use GSlice when the glib we build against is >= 2.10
13898
13899 2006-07-03  Wim Taymans  <wim@fluendo.com>
13900
13901         * gst/gstelement.c: (gst_element_pads_activate):
13902         Small cleanup in pad activation code.
13903
13904 2006-07-03  Wim Taymans  <wim@fluendo.com>
13905
13906         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13907
13908         * gst/gst-i18n-app.h:
13909         * gst/gst-i18n-lib.h:
13910         * tools/gst-inspect.c: (print_signal_info):
13911         The attached patch will make the inclusion of gettext.h unconditional in
13912         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13913         libintl.h in tools/gst-inspect.c.
13914         This allows use of --disable-nls again and fixes #344642.
13915
13916 2006-07-03  Edward Hervey  <edward@fluendo.com>
13917
13918         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13919         Implement pad blocking on events according to part-block.txt.
13920         More comments on behaviour.
13921         * tests/check/gst/gstevent.c: (test_event):
13922         Send event to peer pad of blocked pad (else it will block).
13923
13924 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13925
13926         * libs/gst/check/gstcheck.c: (gst_check_message_error),
13927         (gst_check_run_suite):
13928           if we get the wrong message, give us the types as string
13929         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13930           Fix a translatable
13931         * tests/check/elements/filesrc.c: (GST_START_TEST):
13932           add a test for trying to open a non-existing file
13933
13934 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13935
13936         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13937           add a test for adding self
13938
13939 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13940
13941         * libs/gst/check/gstcheck.h:
13942           add some assert_ as alias for fail_unless_*
13943         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13944           increase test coverage
13945
13946 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13947
13948         * Makefile.am:
13949           include lcov.mak for lcov coverage generation
13950         * tools/Makefile.am:
13951           add to CLEANFILES
13952
13953 2006-07-02  Edward Hervey  <edward@fluendo.com>
13954
13955         * tests/check/elements/.cvsignore:
13956         moaping
13957
13958 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13959
13960         * configure.ac:
13961           don't set CFLAGS and friends for gcov, done from GST_GCOV now
13962         * tests/check/Makefile.am:
13963           clean up gcov files
13964
13965 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13966
13967         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13968           remove gst_caps_simplify; it was not declared and not used
13969           and deprecated in 0.8
13970
13971 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13972
13973         * docs/faq/gst-uninstalled:
13974           don't put empty paths on PYTHONPATH
13975         * docs/gst/gstreamer-sections.txt:
13976           remove some symbols that are not there
13977
13978 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13979
13980         * gst/gstcaps.c: (gst_caps_compare_structures):
13981           whitespace fixes
13982         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13983         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13984           add more tests
13985
13986 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13987
13988         * libs/gst/dataprotocol/Makefile.am:
13989           build dataprotocol test by linking to the lib, instead of
13990           compiling the source, so we get coverage
13991         * tests/check/Makefile.am:
13992         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13993         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13994           add a test for filesrc
13995
13996 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13997
13998         * tests/check/gst/gststructure.c: (GST_START_TEST),
13999         (gst_structure_suite):
14000           Push coverage from 59.04% to 70.00%
14001
14002 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14003
14004         * tests/check/Makefile.am:
14005           gst-inspect every element; this makes sure that we also get
14006           coverage on element's get/set functions
14007
14008 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14009
14010         * configure.ac:
14011           set CFLAGS and friends to -O0 if gcov is being used
14012           add GCOV LIBS
14013         * gst/Makefile.am:
14014         * libs/gst/base/Makefile.am:
14015         * libs/gst/check/Makefile.am:
14016         * libs/gst/controller/Makefile.am:
14017         * libs/gst/dataprotocol/Makefile.am:
14018         * libs/gst/net/Makefile.am:
14019         * plugins/elements/Makefile.am:
14020         * plugins/indexers/Makefile.am:
14021           add makefile rules to generate gcov data and clean up
14022         * tests/check/Makefile.am:
14023           add a coverage target that generates an html overview
14024           of coverage data
14025
14026 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14027
14028         * tests/check/elements/fakesink.c:
14029         * tests/check/elements/fakesrc.c:
14030         * tests/check/elements/fdsrc.c:
14031         * tests/check/elements/identity.c:
14032         * tests/check/generic/sinks.c: (gst_sinks_suite):
14033         * tests/check/generic/states.c:
14034         * tests/check/gst/gst.c:
14035         * tests/check/gst/gstabi.c:
14036         * tests/check/gst/gstbin.c:
14037         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14038         * tests/check/gst/gstbus.c: (gst_bus_suite):
14039         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14040         * tests/check/gst/gstelement.c:
14041         * tests/check/gst/gstevent.c: (gst_event_suite):
14042         * tests/check/gst/gstghostpad.c:
14043         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14044         * tests/check/gst/gstmessage.c: (gst_message_suite):
14045         * tests/check/gst/gstminiobject.c:
14046         * tests/check/gst/gstobject.c:
14047         * tests/check/gst/gstpad.c:
14048         * tests/check/gst/gstpipeline.c:
14049         * tests/check/gst/gstplugin.c:
14050         * tests/check/gst/gstquery.c: (gst_query_suite):
14051         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14052         * tests/check/gst/gststructure.c:
14053         * tests/check/gst/gstsystemclock.c:
14054         * tests/check/gst/gsttag.c:
14055         * tests/check/gst/gsttask.c: (gst_task_suite):
14056         * tests/check/gst/gstutils.c:
14057         * tests/check/gst/gstvalue.c:
14058         * tests/check/libs/adapter.c:
14059         * tests/check/libs/basesrc.c:
14060         * tests/check/libs/collectpads.c:
14061         * tests/check/libs/controller.c:
14062         * tests/check/libs/gdp.c: (gst_dp_suite):
14063         * tests/check/libs/gstnetclientclock.c:
14064         * tests/check/libs/gstnettimeprovider.c:
14065         * tests/check/libs/libsabi.c: (libsabi_suite):
14066         * tests/check/libs/typefindhelper.c:
14067         * tests/check/pipelines/cleanup.c:
14068         * tests/check/pipelines/parse-launch.c:
14069         * tests/check/pipelines/simple-launch-lines.c:
14070         * tests/check/pipelines/stress.c: (stress_suite):
14071           use the new macro
14072
14073 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14074
14075         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14076         * libs/gst/check/gstcheck.h:
14077           create a macro and function so that the simple unit test
14078           case can be just one macro to create main()
14079
14080 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14081
14082         * gst/gstbin.c: (gst_bin_restore_thyself):
14083         * gst/gstxml.c: (gst_xml_make_element):
14084           Fix deserialisation from XML. Set parent manually
14085           instead of using gst_bin_add(), since gst_bin_add()
14086           will unlink all pads of the element being added.
14087           Fixes #341667.
14088
14089 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14090
14091         Patch by: Peter Kjellerstedt <pkj at axis com>
14092
14093         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14094           Fix missing g_strdup() and double free when using the
14095           --gst-plugin-load command line option (#346097).
14096
14097 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14098
14099         * gst/gstinfo.c:
14100           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14101
14102         * libs/gst/net/gstnetclientclock.c:
14103         * libs/gst/net/gstnettimeprovider.c:
14104           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14105
14106 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14107
14108         * docs/manual/advanced-dataaccess.xml:
14109           Fix buffer probe example compilation in
14110           ADM (#345708).
14111         
14112 2006-06-22  Edward Hervey  <edward@fluendo.com>
14113
14114         * gst/gstelement.c: (gst_element_pads_activate):
14115         We need to deactivate src pads first and then sink pads.
14116         The reason is the src pads might be blocking while holding the streaming
14117         lock, so we need to deactivate them first so that deactivating the sink
14118         pads doesn't block (since it will require the streaming lock).
14119
14120 2006-06-22  Wim Taymans  <wim@fluendo.com>
14121
14122         * libs/gst/base/gstbasetransform.c:
14123         (gst_base_transform_buffer_alloc):
14124         Forgot to remove two unneeded unrefs.
14125         Simplify a check _is_equal allready checks the obvious case.
14126
14127 2006-06-22  Wim Taymans  <wim@fluendo.com>
14128
14129         * docs/design/part-block.txt:
14130         Some docs about what pad_block should do.
14131
14132 2006-06-22  Wim Taymans  <wim@fluendo.com>
14133
14134         * gst/gstcaps.c: (gst_caps_replace):
14135         Fix crasher when passed NULL. Doc clarification.
14136         Optimize for the trivial case.
14137
14138         * gst/gstpipeline.c: (gst_pipeline_change_state):
14139         Small cleanups.
14140
14141         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14142         Small documentation cleanup.
14143
14144         * libs/gst/base/gstbasetransform.c:
14145         (gst_base_transform_buffer_alloc):
14146         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14147         is what we need and it avoids a whole lot of redundant 
14148         refcount operations.
14149
14150 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14151
14152         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14153
14154         * docs/manual/advanced-dataaccess.xml:
14155           Fix 'Embedding static elements' section to use
14156           GST_PLUGIN_DEFINE_STATIC (#345607).
14157
14158 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14159
14160         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14161           Attempt to 'fix' spuriously failing test case: it seems like the
14162           timeout of half a second is simply too small when the system is under
14163           load otherwise, and the timeout doesn't really seem to serve any
14164           particular purpose here. Give the pipeline a few seconds to preroll
14165           first, and then give it another half a second to go from PAUSED to
14166           PLAYING and marshal the message into the main thread.
14167
14168 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14169
14170         * tools/gst-feedback-m.m:
14171           Don't only use unversioned tools, try versioned tools as well
14172           (#345086).
14173
14174 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14175
14176         * gst/gstbus.c: (gst_bus_class_init):
14177           Fix some typos, make docs more explicit.
14178
14179 2006-06-20  Wim Taymans  <wim@fluendo.com>
14180
14181         * tests/check/gst/gstghostpad.c: (block_callback),
14182         (GST_START_TEST), (gst_ghost_pad_suite):
14183         Added some more ghostpad tests, mainly blocking
14184         and probes.
14185
14186 2006-06-16  Wim Taymans  <wim@fluendo.com>
14187
14188         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14189         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14190         (gst_file_sink_event), (gst_file_sink_render):
14191         * plugins/elements/gstfilesink.h:
14192         Check if we can seek in the file instead of assuming
14193         we always can. Post an error when we are asked to seek in a
14194         non-seekable file (like a fifo). Fixes #343312.
14195         Some cleanups.
14196
14197 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14198
14199         * tools/gst-launch.1.in:
14200           Un-garble (fourcc) bit in filtered caps section.
14201
14202 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14203
14204         * docs/manual/advanced-autoplugging.xml:
14205         * docs/manual/basics-helloworld.xml:
14206         * docs/manual/highlevel-components.xml:
14207           Don't leak bus reference in sample code.
14208
14209 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14210
14211         * autogen.sh:
14212           Add default for new --enable-plugin-docs switch.
14213
14214         * configure.ac:
14215           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14216           Fixes #344039.
14217
14218         * docs/Makefile.am:
14219           Use new ENABLE_PLUGIN_DOCS conditional.
14220
14221 2006-06-14  Wim Taymans  <wim@fluendo.com>
14222
14223         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14224         Make it clear with a FIXME and a real define what the #if 0
14225         previously disabled.
14226
14227 2006-06-14  Wim Taymans  <wim@fluendo.com>
14228
14229         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14230         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14231         * libs/gst/base/gstbasetransform.c:
14232         (gst_base_transform_sink_eventfunc):
14233         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14234         Don't randomly and silently reset a segment when the format 
14235         changes as this is a bug somewhere upstream. Fixes #330379.
14236
14237 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14238
14239         Patch by: Wouter Paesen  <wouter at kangaroot net>
14240
14241         * libs/gst/controller/gstcontroller.c:
14242         (gst_controlled_property_new):
14243           Fix controlling of float properties (#344849).
14244
14245         * tests/check/libs/controller.c:
14246         (gst_test_mono_source_get_property),
14247         (gst_test_mono_source_set_property),
14248         (gst_test_mono_source_class_init), (GST_START_TEST):
14249           While we're at it, add some float stuff to unit test.
14250
14251 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14252
14253         * docs/README:
14254         * docs/images/gdp-header.svg:
14255           add a gdp image
14256         * docs/libs/Makefile.am:
14257         * docs/libs/gdp-header.png:
14258         * libs/gst/dataprotocol/dataprotocol.c:
14259           add it to the API docs
14260         * docs/manual/intro-motivation.xml:
14261           fix typo
14262
14263 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14264
14265         * gst/gst.c: (scan_and_update_registry), (init_post):
14266           If the fork()'ed child process can't write the updated registry cache
14267           file to disk for some reason, make it exit with a failure exit code,
14268           so that the parent can then re-scan the plugins itself and update the
14269           registry structures in memory and work with that (rather than failing
14270           when creating elements because seemingly no plugins are available).
14271           Refactor registry scanning code into separate function for this and
14272           also separate fork() and non-fork() code paths. Fixes #344748.
14273
14274 2006-06-13  Wim Taymans  <wim@fluendo.com>
14275
14276         * docs/manual/advanced-dataaccess.xml:
14277         Fix wrong PluginDesc. Fixes #344755.
14278
14279 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14280
14281         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14282           Fix silly bug that prevented us from creating
14283           ~/.gstreamer-0.10 and writing the registry in one
14284           go (the first call to g_mkstemp() would overwrite the
14285           placeholder in the template string, so the second call
14286           to g_mkstemp() after creating the missing directory
14287           would then error out with 'invalid argument').
14288
14289 2006-06-13  Edward Hervey  <edward@fluendo.com>
14290
14291         * gst/gst.c: (init_post):
14292         Free string.
14293
14294 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14295
14296         * gst/glib-compat-private.h:
14297         * gst/glib-compat.c:
14298         * gst/glib-compat.h:
14299         * gst/gstvalue.c: (gst_value_serialize_flags):
14300           remove GLib 2.6 compatibility code
14301
14302 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14303
14304         * gst/parse/Makefile.am:
14305           Fix build with 'make -j N' even more (#340016).
14306
14307 2006-06-12  Wim Taymans  <wim@fluendo.com>
14308
14309         * docs/gst/gstreamer-sections.txt:
14310         Fix docs.
14311
14312 2006-06-12  Wim Taymans  <wim@fluendo.com>
14313
14314         * gst/gstsegment.c: (gst_segment_set_duration),
14315         (gst_segment_set_last_stop), (gst_segment_set_seek),
14316         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14317         (gst_segment_to_running_time), (gst_segment_clip):
14318         Use G_UNLIKELY to help the compiler a bit.
14319
14320 2006-06-12  Wim Taymans  <wim@fluendo.com>
14321
14322         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14323
14324         * gst/gstevent.c: (gst_event_get_type):
14325         * gst/gstmessage.c:
14326         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14327         (gst_pad_push):
14328         constify quark registration strings. Fixes #344115
14329         Avoid unneeded type checking is _pad_push() by internally
14330         calling gst_pad_chain_unchecked().
14331
14332 2006-06-12  Wim Taymans  <wim@fluendo.com>
14333
14334         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14335         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14336         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14337         (gst_buffer_is_span_fast), (gst_buffer_span):
14338         Init _type for consistency.
14339         Use _FLAGS macro to avoid type check.
14340         Avoid unneeded type checks in subbufer code.
14341
14342 2006-06-12  Wim Taymans  <wim@fluendo.com>
14343
14344         * gst/gst.c: (gst_debug_help):
14345         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14346         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14347         (gst_plugin_feature_list_free):
14348         * gst/gstregistry.c: (gst_registry_add_plugin),
14349         (gst_registry_add_feature), (gst_registry_plugin_filter),
14350         (gst_registry_feature_filter), (gst_registry_find_plugin),
14351         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14352         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14353         * gst/gstregistryxml.c: (load_feature),
14354         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14355         * gst/gstminiobject.c: (gst_mini_object_unref),
14356         (gst_mini_object_replace), (gst_value_mini_object_free),
14357         (gst_value_mini_object_copy):
14358         Use _CAST macros to avoid unneeded type checking.
14359         Added some more G_UNLIKELY.
14360
14361 2006-06-12  Wim Taymans  <wim@fluendo.com>
14362
14363         * gst/gstbuffer.h:
14364         Avoid unneeded type checking.
14365         API: GST_BUFFER_IS_DISCONT
14366
14367         * gst/gstminiobject.h:
14368         Avoid type check in flag accessor.
14369
14370         * gst/gstelementfactory.h:
14371         * gst/gstplugin.h:
14372         * gst/gstpluginfeature.h:
14373         Add _CAST macros.
14374         API: GST_ELEMENT_FACTORY_CAST
14375         API: GST_PLUGIN_CAST
14376         API: GST_PLUGIN_FEATURE_CAST
14377
14378 2006-06-12  Wim Taymans  <wim@fluendo.com>
14379
14380         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14381         (gst_object_unref):
14382         Add G_UNLIKELY in type registration.
14383         Avoid type check in _ref/_unref since that is also
14384         done in glib.
14385
14386 2006-06-12  Wim Taymans  <wim@fluendo.com>
14387
14388         * gst/gsterror.c: (gst_g_error_get_type):
14389         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14390         (gst_static_pad_template_get_type):
14391         * gst/gsttaglist.c: (gst_tag_list_get_type):
14392         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14393         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14394         * gst/gsturi.c: (gst_uri_handler_get_type):
14395         * gst/gstvalue.c: (gst_date_get_type):
14396         * gst/gstxml.c: (gst_xml_get_type):
14397         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14398         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14399         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14400         Add G_UNLIKELY in type registration.
14401
14402 2006-06-12  Wim Taymans  <wim@fluendo.com>
14403
14404         * tools/gst-inspect.c: (print_signal_info):
14405         Properly print enum values.
14406
14407 2006-06-12  Wim Taymans  <wim@fluendo.com>
14408
14409         * gst/gstinfo.c: (gst_debug_set_active),
14410         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14411         * gst/gstinfo.h:
14412         Add some G_[UN]LIKELY.
14413         Maintain __gst_debug_min to avoid formatting the arguments of
14414         debug messages that will be dropped anyway to avoid a lot of 
14415         overhead from the debugging system.
14416
14417 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14418
14419         * po/POTFILES.in:
14420         * po/POTFILES.skip:
14421           add missing files containing translatable strings, tell intltool about
14422           one exception
14423
14424 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14425
14426         * tests/check/libs/.cvsignore:
14427         add test-binary to ignore list
14428
14429 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14430
14431         * docs/libs/gstreamer-libs-docs.sgml:
14432         reorder (put dp into a chapter) and indent
14433
14434 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14435
14436         * configure.ac:
14437           back to HEAD
14438
14439 === release 0.10.8 ===
14440
14441 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14442
14443         * configure.ac:
14444           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14445
14446 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14447
14448         * gst/gst.c: (init_post):
14449           move pid declaration to declaration block
14450
14451 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14452
14453         * gst/gst.c: (init_post):
14454           use _exit() instead of exit() in our forked child; this ensures
14455           that none of the registered exit handlers from whatever is using
14456           GStreamer get executed.  This fixes gnome-mixer-applet failing
14457           to load, because ORBit would shut down.
14458           Spotted by: Edward Hervey  <edward@fluendo.com>
14459           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14460           Fixes #344474
14461
14462 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14463
14464         * configure.ac:
14465           back to TRUNK
14466
14467 === release 0.10.7 ===
14468
14469 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14470
14471         * configure.ac:
14472           releasing 0.10.7, "Soepeke, ik zie ou"
14473
14474 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14475
14476         * configure.ac:
14477         * po/af.po:
14478         * po/az.po:
14479         * po/bg.po:
14480         * po/ca.po:
14481         * po/cs.po:
14482         * po/de.po:
14483         * po/en_GB.po:
14484         * po/fr.po:
14485         * po/it.po:
14486         * po/nb.po:
14487         * po/nl.po:
14488         * po/ru.po:
14489         * po/sq.po:
14490         * po/sr.po:
14491         * po/sv.po:
14492         * po/tr.po:
14493         * po/uk.po:
14494         * po/vi.po:
14495         * po/zh_CN.po:
14496         * po/zh_TW.po:
14497         * win32/common/config.h:
14498           0.10.6.2 prerelease
14499
14500 2006-06-07  Wim Taymans  <wim@fluendo.com>
14501
14502         * gst/gstindex.c: (gst_index_gtype_resolver):
14503         * tools/gst-xmlinspect.c: (print_plugin_info):
14504         Fix leak spotted by coverity checker. Fixes #343827
14505         Fix another other leak found by paolo borelli.
14506
14507 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14508
14509         * libs/gst/dataprotocol/dataprotocol.c:
14510         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14511         (gst_dp_version_get_type), (gst_dp_init),
14512         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14513         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14514         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14515         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14516         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14517         (gst_dp_packetizer_free):
14518         * libs/gst/dataprotocol/dataprotocol.h:
14519           API: add a GstDPPacketizer object, and create/free functions
14520           API: add GstDPVersion enum
14521           Add 1.0 event function that uses the string serialization
14522           Serialize more useful buffer flags
14523           Fixes #343988
14524
14525 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14526
14527         * tests/check/Makefile.am:
14528         * tests/check/gst/gstabi.c:
14529         * tests/check/gst/struct_ppc64.h:
14530         * tests/check/libs/libsabi.c:
14531         * tests/check/libs/struct_ppc64.h:
14532           add ppc64 structure sizes
14533
14534 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14535
14536         * tests/check/Makefile.am:
14537         * tests/check/gst/gstabi.c:
14538         * tests/check/gst/struct_x86_64.h:
14539         * tests/check/libs/libsabi.c:
14540         * tests/check/libs/struct_x86_64.h:
14541           generate and add structure size lists for x86_64
14542
14543 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14544
14545         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14546         * libs/gst/check/gstcheck.h:
14547           factor out the method from tests that checks size of structures,
14548           and add code to generate the header containing these sizes
14549         * tests/check/gst/gstabi.c: (GST_START_TEST):
14550         * tests/check/gst/struct_i386.h:
14551         * tests/check/libs/libsabi.c: (GST_START_TEST):
14552         * tests/check/libs/struct_i386.h:
14553           use it
14554
14555 2006-06-06  Michael Smith  <msmith@fluendo.com>
14556
14557         * gst/gstsegment.h:
14558           Don't use c++-style comments, fixes #343929
14559
14560 2006-06-05  Edward Hervey  <edward@fluendo.com>
14561
14562         * gst/gst.c:
14563         plugin_paths is not used if we build without registry support.
14564
14565         * gst/gstsegment.c: (gst_segment_copy): 
14566         _copy() was always returning NULL...
14567
14568 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14569
14570         * libs/gst/dataprotocol/dataprotocol.c:
14571         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14572         (gst_dp_packet_from_event):
14573           factor out CRC code
14574
14575 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14576
14577         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14578           make sure we unset caps
14579
14580 2006-06-02  Michael Smith  <msmith@fluendo.com>
14581
14582         * libs/gst/check/gstcheck.c: (gst_check_init),
14583         (gst_check_chain_func):
14584         * libs/gst/check/gstcheck.h:
14585           Add a cond/mutex to the check support lib, signal this whenever we
14586           add to the buffers list. This will allow tests to not busy-wait on
14587           the buffer-list.
14588
14589 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14590
14591         * libs/gst/dataprotocol/dataprotocol.c:
14592         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14593         (gst_dp_packet_from_event):
14594           factor out some common header init code
14595
14596 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14597
14598         * docs/libs/gstreamer-libs-sections.txt:
14599         * docs/libs/tmpl/gstdataprotocol.sgml:
14600         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14601         * libs/gst/dataprotocol/dataprotocol.h:
14602           API: make gst_dp_crc() public
14603
14604 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14605
14606         * plugins/indexers/gstindexers.c: (plugin_init):
14607         conditionally register fileindexer (fixes #343598)
14608
14609 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14610
14611         * gst/gsttagsetter.h:
14612         Can't cast ifaces to a class
14613
14614         * libs/gst/net/gstnetclientclock.h:
14615         * libs/gst/net/gstnettimeprovider.h:
14616         * plugins/elements/gstfakesink.h:
14617         * plugins/elements/gstfakesrc.h:
14618         * plugins/elements/gstfdsink.h:
14619         * plugins/elements/gstfdsrc.h:
14620         * plugins/elements/gstfilesink.h:
14621         * plugins/elements/gstfilesrc.h:
14622         * plugins/elements/gstidentity.h:
14623         * plugins/elements/gstqueue.h:
14624         * plugins/elements/gsttee.h:
14625         * plugins/indexers/gstfileindex.c:
14626         * plugins/indexers/gstmemindex.c:
14627         * tests/old/examples/plugins/example.h:
14628         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14629
14630 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14631
14632         * libs/gst/dataprotocol/dataprotocol.c:
14633         (gst_dp_header_from_buffer):
14634           make sure we zero the whole ABI-compatible area
14635
14636 2006-06-01  Wim Taymans  <wim@fluendo.com>
14637
14638         Patch by: Alessandro Decina <alessandro at nnva dot org>
14639
14640         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14641         Make sure the EOS flag is cleared from pads after a flush
14642         or stop. Fixes #343538.
14643
14644         * tests/check/libs/collectpads.c: (GST_START_TEST),
14645         (gst_collect_pads_suite):
14646         Added test for collectpads reusage after EOS.
14647
14648 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14649
14650         * gst/gst.c:
14651          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14652         * win32/common/libgstbase.def:
14653          export gst_collect_pads_set_flushing
14654         * win32/common/libgstreamer.def:
14655          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14656          gst_value_fraction_multiply
14657         * win32/vs6/gst_inspect.dsp:
14658          add a link to intl.lib
14659
14660 2006-05-30  Wim Taymans  <wim@fluendo.com>
14661
14662         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14663         (gst_collect_pads_chain):
14664         Handle the case where a pad is removed from the collection
14665         that could cause the other pads to become collectable.
14666
14667 2006-05-30  Wim Taymans  <wim@fluendo.com>
14668
14669         * gst/gstelement.c:
14670         Clarify the use of _release_request_pad() and
14671         _get_request_pad() a bit better.
14672
14673         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14674         (gst_adapter_take_buffer):
14675         Fix some doc and comment typos.
14676
14677 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14678
14679         * docs/gst/gstreamer-sections.txt:
14680         * docs/libs/gstreamer-libs-sections.txt:
14681           add declared symbols
14682
14683 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14684
14685         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14686         Add debug that can be enabled using a #define at the top of the file,
14687         for dumping stats about how late/early we were when waking up from
14688         waiting on the clock.
14689
14690 2006-05-30  Wim Taymans  <wim@fluendo.com>
14691
14692         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14693         When rebuilding the pad list, don't leak the previous list.
14694
14695 2006-05-30  Wim Taymans  <wim@fluendo.com>
14696
14697         Patch by: Lutz Mueller <lutz at topfrose dot de>
14698
14699         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14700         (gst_base_src_get_query_types), (gst_base_src_update_length):
14701         Publish supported query types.
14702         Update last_stop field in get_range mode so the position
14703         query works. Fixes #342321.
14704
14705 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14706
14707         * docs/gst/gstreamer-sections.txt:
14708         * gst/gsttaglist.c: (_gst_tag_initialize):
14709         * gst/gsttaglist.h:
14710           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14711
14712 2006-05-30  Wim Taymans  <wim@fluendo.com>
14713
14714         Patch by: Alessandro Decina <alessandro at nnva dot org>
14715
14716         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14717         Unlock mutex when removing an unknown pad.
14718         Fixes #343334.
14719
14720         * tests/check/Makefile.am:
14721         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14722         (push_event), (setup), (teardown), (GST_START_TEST),
14723         (gst_collect_pads_suite), (main):
14724         Added collecpads check, disabled for now as check crashes for
14725         some reason.
14726
14727 2006-05-29  Wim Taymans  <wim@fluendo.com>
14728
14729         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14730         Don't leak pads lists.
14731
14732 2006-05-29  Wim Taymans  <wim@fluendo.com>
14733
14734         * docs/libs/gstreamer-libs-sections.txt:
14735         * libs/gst/base/gstcollectpads.c:
14736         (gst_collect_pads_set_flushing_unlocked),
14737         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14738         (gst_collect_pads_stop):
14739         * libs/gst/base/gstcollectpads.h:
14740         API: gst_collect_pads_set_flushing()
14741         Added api to set the pads to flushing, useful for seeking
14742         code in elements using collectpads.
14743         Clear segment when receiving a flush.
14744
14745 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14746
14747         * gst/gst.c: (add_path_func), (init_post):
14748           Don't scan registry paths passed via --gst-plugin-path immediately
14749           (will crash, because absolutely nothing is set up and no types are
14750           registered etc.); do this later in init_post(). Fixes #343057.
14751
14752 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14753
14754         * gst/gst.c: (init_post):
14755           if we have fork, fork while reading/rebuilding the registry
14756           so the parent doesn't take the hit of having all plugins loaded
14757           in memory.  Fixes #342777.
14758         * configure.ac:
14759           Check if we have fork()
14760         * win32/common/config.h.in:
14761           no fork() on win32
14762
14763 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14764
14765         * plugins/elements/gstelements.c:
14766         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14767         (gst_file_src_init), (gst_file_src_set_property),
14768         (gst_file_src_get_property), (gst_file_src_start):
14769         * plugins/elements/gstfilesrc.h:
14770           API: GstFileSrc::use-mmap
14771
14772         Add a use-mmap property to enable easier testing of all code paths.
14773         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14774         in the absence of gnomevfssrc. (Closes #340501)
14775
14776 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14777
14778         * tools/gst-inspect.c:
14779         Add missing include, removes warning of ngettext not being defined on
14780         some arches.
14781
14782 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14783
14784         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14785         Handle NULL input and output pointers silently as a failed conversion,
14786         rather than g_warnings.
14787
14788 2006-05-25  Wim Taymans  <wim@fluendo.com>
14789
14790         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14791         Initialize variable before using. Fixes #342820.
14792
14793 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14794
14795         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14796           Fix off-by-one bug that would only allow peeks of N-1 bytes
14797           from the start even if the buffer to typefind on contains
14798           in fact N bytes of data (makes vorbis typefinding from a
14799           vorbis identification header buffer work).
14800
14801         * tests/check/Makefile.am:
14802         * tests/check/libs/.cvsignore:
14803         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14804         (gst_typefindhelper_suite), (main), (foobar_typefind),
14805         (plugin_init):
14806           Add very basic unit test for gst_type_find_helper_for_buffer()
14807           that checks for the problem fixed above.
14808
14809 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14810
14811         * tools/gst-inspect.c: (print_interfaces),
14812         (print_element_properties_info), (print_element_list), (main):
14813           add more translatable strings
14814
14815 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14816
14817         Patch by: Julien Moutte  <julien at moutte net>
14818
14819         * docs/gst/gstreamer-sections.txt:
14820           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14821           
14822         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14823         (gst_fake_sink_preroll):
14824         * plugins/elements/gstfakesink.h:
14825           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14826
14827 2006-05-23  Wim Taymans  <wim@fluendo.com>
14828
14829         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14830         * gst/gstpad.h:
14831         Added _CUSTOM error and success GstFlowReturn that can be
14832         used be elements internally. 
14833         Added macro to check for SUCCESS flowreturns.
14834         API: GST_FLOW_CUSTOM_SUCCESS
14835         API: GST_FLOW_CUSTOM_ERROR
14836         API: GST_FLOW_IS_SUCCESS
14837
14838         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14839         Added check for GstFlowReturn sanity.
14840
14841 2006-05-23  Wim Taymans  <wim@fluendo.com>
14842
14843         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14844
14845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14846         (gst_collect_pads_event):
14847         clear/reset segment info in FLUSH_STOP.
14848         Fixes #336929.
14849
14850 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14851
14852         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14853         (gst_collect_pads_check_collected):
14854         Flush queued buffer on _stop(), fixes playing again (#342454)
14855
14856 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14857
14858         * tests/check/gst/gststructure.c: (GST_START_TEST),
14859         (gst_structure_suite):
14860           add a test for a complete structure
14861
14862 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14863
14864         * docs/faq/developing.xml:
14865         * docs/faq/faq.xml:
14866         * docs/faq/troubleshooting.xml:
14867         * docs/faq/using.xml:
14868           Some minor FAQ updates that won't change the fact that
14869           our FAQ is badly structured, full of information hardly
14870           anyone new to GStreamer needs to know and lacking lots
14871           of information people constantly ask for.
14872           
14873 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
14874
14875         * gst/gstpad.c: (gst_pad_set_caps):
14876           Short-circuit gst_pad_set_caps if setting the existing
14877           caps pointer again, and avoid printing debug and 
14878           reffing/unreffing the caps.
14879
14880         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14881           There's actually no need to set the caps before pushing -
14882           the acceptcaps method will handle it anyway.
14883
14884 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14885
14886         * docs/gst/gstreamer-sections.txt:
14887         * win32/common/libgstreamer.def:
14888         * gst/gstutils.c: (gst_element_seek_simple):
14889         * gst/gstutils.h:
14890           API: add gst_element_seek_simple() (#342238).
14891
14892 2006-05-18  Edward Hervey  <edward@fluendo.com>
14893
14894         * gst/gsttypefind.c: (gst_type_find_get_type):
14895         * gst/gsttypefind.h:
14896         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14897         registered for GstTypeFind pointers. This allows wrapping the structure
14898         in bindings (i.e. gst-python).
14899
14900 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14901
14902         * gst/gsttagsetter.c:
14903           Docs additions and fixes (see #339918).
14904
14905 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
14906
14907         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14908         The caps intersection algorithm can produce multiple copies of the
14909         caps. Until that is fixed, we need to simplify the result to be
14910         sure whether the allowed caps are fixed or not.
14911
14912         * plugins/elements/gstqueue.c: (gst_queue_init),
14913         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14914         (gst_queue_push_one):
14915         Proxied buffer alloc should not set the caps on the source pad.
14916         When pushing buffers, we always accept the caps change that triggers.
14917         This prevents negotiation errors caused by caps changing mid-stream 
14918         and then being refused on our source pad (because upstream is now
14919         refusing those caps).
14920
14921 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
14922
14923         * tests/examples/helloworld/helloworld.c: (main):
14924           Must plug audioconvert and audioresample between decoder
14925           and audio sink.
14926
14927 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
14928
14929         * gst/gstregistryxml.c: (read_string), (load_pad_template),
14930         (load_feature), (load_plugin):
14931         Allow empty strings for some of the plugin fields so we don't 
14932         drop valid plugin entries that were written out correctly
14933         (Fixes #341479)
14934
14935 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
14936         
14937         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14938           Use g_remove and g_rename instead of remove and rename that don't 
14939           handle utf8 characters. rename was failing for users who had specific
14940           characters in their name then the registry was built at each 
14941           gstreamer init.
14942         * win32/vs6/gst_inspect.dsp:
14943         * win32/vs6/gst_launch.dsp:
14944         * win32/vs6/libgstbase.dsp:
14945         * win32/vs6/libgstcoreelements.dsp:
14946         * win32/vs6/libgstreamer.dsp:
14947           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
14948           build of libgstreamer and clean unused libraries in projects link 
14949           settings.
14950
14951 2006-05-17  Edward Hervey  <edward@fluendo.com>
14952
14953         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14954         The queue is not responsible for pushing an EOS when receiving a fatal
14955         flow error. It's up to the real element driving the pipeline to do that.
14956
14957 2006-05-16  Edward Hervey  <edward@fluendo.com>
14958
14959         * plugins/elements/gstqueue.c: (gst_queue_push_one):
14960         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14961         buffer returned a fatal error. It should just send an EOS and stop
14962         its task.
14963         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14964         when pushing buffers on the queue and will be able to handle the event.
14965
14966 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
14967
14968         * docs/manual/basics-bins.xml:
14969         * docs/manual/basics-init.xml:
14970           Fix typos and minor errors in sample code (#341856).
14971
14972 2006-05-16  Wim Taymans  <wim@fluendo.com>
14973
14974         * docs/design/part-qos.txt:
14975         Fix indexes in formulas to make more sense.
14976
14977 2006-05-15  Wim Taymans  <wim@fluendo.com>
14978
14979         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14980         Don't report POSITION based on clock time if sync is
14981         disabled in a sink.
14982
14983 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
14984
14985         * gst/gstobject.h:
14986           Add cast to make compiler happy - refcount variable was a gint
14987           in GstObject but is a guint in GObject and g_atomic_int_get()
14988           wants a gint *.
14989
14990 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14991
14992         * gst/parse/Makefile.am:
14993           chain commands using &&, which also makes parallel make work
14994
14995 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
14996
14997         * docs/gst/gstreamer-sections.txt:
14998         * gst/gstevent.c:
14999         * gst/gstevent.h:
15000         * gst/gstmessage.h:
15001           Minor docs fixes.
15002
15003 === release 0.10.6 ===
15004
15005 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15006
15007         * configure.ac:
15008           releasing 0.10.6, "Take the cannoli"
15009
15010 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15011
15012         * tools/gst-launch.c: (print_tag):
15013           Fix use of uninitialized variable in the hypothetical
15014           case that some broken plugin creates a GST_TAG_IMAGE
15015           tag containing a NULL buffer (#341667).
15016
15017 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15018
15019         * tools/gst-launch.c: (print_tag):
15020           Print something more intelligible for image tags when
15021           using the -t switch (#341556).
15022
15023 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15024
15025         * Makefile.am:
15026           updates for win32
15027         * configure.ac:
15028           define GST_MAJORMINOR so we have it available in win32/common/config.h
15029           Possibly remove it from our Makefile.am files later
15030         * win32/common/config.h:
15031         * win32/common/config.h.in:
15032           added GST_MAJORMINOR
15033         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15034         * win32/common/gstversion.h:
15035           updated
15036
15037 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15038
15039         * win32/MANIFEST:
15040           Update win32 files listing.
15041         * win32/common/gstversion.h:
15042           Add GST_MAJORMINOR definition.
15043         * win32/common/libgstreamer.def:
15044           Add new exported functions.
15045           
15046 2006-05-12  Michael Smith  <msmith@fluendo.com>
15047
15048         * gst/gstplugin.c: (gst_plugin_load_file):
15049           If an so file has no plugin entry point, unload the module.
15050
15051 2006-05-11  Wim Taymans  <wim@fluendo.com>
15052
15053         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15054         (gst_queue_set_property):
15055         Don't forget to signal the _chain or _loop function 
15056         when the queue size or thresholds change since that might
15057         cause them to make progres again.
15058
15059 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15060
15061         * gst/gstclock.c: (gst_clock_class_init):
15062         * gst/gstindex.c: (gst_index_class_init):
15063         * gst/gstobject.c: (gst_object_class_init):
15064         * gst/gstpad.c: (gst_pad_class_init):
15065         * gst/gstpipeline.c: (gst_pipeline_class_init):
15066         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15067         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15068         * libs/gst/base/gstbasetransform.c:
15069         (gst_base_transform_class_init):
15070         * libs/gst/net/gstnetclientclock.c:
15071         (gst_net_client_clock_class_init):
15072         * libs/gst/net/gstnettimeprovider.c:
15073         (gst_net_time_provider_class_init):
15074         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15075         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15076         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15077         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15078         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15079         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15080         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15081         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15082         * plugins/elements/gsttee.c: (gst_tee_class_init):
15083         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15084         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15085           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15086
15087 2006-05-11  Wim Taymans  <wim@fluendo.com>
15088
15089         * gst/gstbuffer.c: (_gst_buffer_initialize):
15090         Register subbufer along with the buffer type so that
15091         it does not accidentally gets registered from N
15092         different streaming threads in a non threadsafe way.
15093
15094 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15095
15096         * gst/gstbuffer.h:
15097         * gst/gstevent.h:
15098         * gst/gstmessage.h:
15099           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15100           gst_event_ref() and gst_message_ref() functions again
15101           (ugly hack, please do fix if there's a better way besides
15102           overrides.txt, which doesn't seem to work).
15103
15104 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15105
15106         * libs/gst/check/gstcheck.h:
15107           add an assert for setting state to avoid lots of repetitive code
15108           in the future
15109
15110 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15111
15112         * gst/gstvalue.c: (gst_value_serialize_flags):
15113           fix a leak if no flags are set
15114         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15115           fix leak in tests
15116
15117 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15118
15119         * docs/manual/basics-pads.xml:
15120           Expand a bit on caps and filtered links and update
15121           examples that were still using the no longer existing
15122           gst_pad_link_filtered() (#338206).
15123
15124 2006-05-10  Wim Taymans  <wim@fluendo.com>
15125
15126         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15127         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15128         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15129         (gst_collect_pads_stop):
15130         * libs/gst/base/gstcollectpads.h:
15131         No need to call _stop in _finalize.
15132         Iterate the main pad list in _finalize.
15133         Added some more debug.
15134         Free lists and data in the right order.
15135         Also free data whem doing _remove_pad when stopped for
15136         backward compatibility protect ::started with PAD_LOCK as
15137         well.
15138
15139 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15140
15141         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15142         (gst_structure_parse_value):
15143           add some comments
15144           rename a method so that it actually says what it does better
15145
15146 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15147
15148         * gst/gstevent.c: (_gst_event_initialize):
15149         * gst/gstformat.c: (_gst_format_initialize):
15150           make sure some essential types used by events are registered
15151           as part of gst_init()
15152         * gst/gstvalue.c: (gst_value_serialize_flags):
15153           if no flags are set, serialize them to a value that represents NONE
15154           so that deserializing them works
15155         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15156           add tests for serialization and deserialization of flags
15157
15158 2006-05-10  Wim Taymans  <wim@fluendo.com>
15159
15160         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15161         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15162         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15163         (gst_collect_pads_event), (gst_collect_pads_chain):
15164         Update docs.
15165         Better debug info.
15166         Catch and return errors from the collect function
15167         Refuse data on eos pads.
15168
15169 2006-05-10  Edward Hervey  <edward@fluendo.com>
15170
15171         * gst/gstinterface.h:
15172         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15173         GInterface type checking.
15174         They were previously using non-defined macros.
15175
15176 2006-05-09  Wim Taymans  <wim@fluendo.com>
15177
15178         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15179         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15180         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15181         (gst_collect_pads_start), (gst_collect_pads_stop),
15182         (gst_collect_pads_peek), (gst_collect_pads_pop),
15183         (gst_collect_pads_available), (gst_collect_pads_read),
15184         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15185         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15186         (gst_collect_pads_chain):
15187         * libs/gst/base/gstcollectpads.h:
15188         Clean up the mess that is collectpads, add comments and
15189         FIXMEs where needed.
15190         Maintain a separate pad list so we can add pads while
15191         collecting the other ones. For this we need a new separate 
15192         lock (see comics).
15193         Fix memory leak in finalize.
15194         Refactor some weird code to set/unset pad flushing flags, mark
15195         with comments.
15196         Don't crash in _available, _read, _flush when we're EOS.
15197
15198         * tests/check/libs/.cvsignore:
15199         Ignore adapter check binary.
15200
15201 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15202
15203         * gst/gstindex.c: (gst_index_resolver_get_type):
15204         * plugins/elements/gstfakesink.c:
15205         (gst_fake_sink_state_error_get_type):
15206         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15207         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15208         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15209           Const-ify GEnumValue arrays.
15210
15211 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15212
15213         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15214           Add test case for flags + gst_buffer_make_metadata_writable().
15215
15216 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15217
15218         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15219           gst_buffer_make_metadata_writable() should maintain the
15220           buffer flags (those that make sense at least) (see #340859).
15221
15222 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15223
15224         * tools/gst-inspect.c:
15225         * tools/gst-launch.c:
15226         * tools/gst-typefind.c:
15227         * tools/gst-xmlinspect.c:
15228         * tools/tools.h:
15229           Fix up includes: need to include stdlib.h in tools.h for exit().
15230
15231 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15232
15233         * gst/gsttaglist.c: (_gst_tag_initialize):
15234         * gst/gsttaglist.h:
15235           API: add GST_TAG_IMAGE tag (#340721).
15236
15237 2006-05-08  Wim Taymans  <wim@fluendo.com>
15238
15239         * gst/gstquery.c:
15240         Added some docs for the segment query.
15241
15242 2006-05-08  Wim Taymans  <wim@fluendo.com>
15243
15244         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15245         (gst_base_src_loop), (gst_base_src_change_state):
15246         Always push non-flushing serialized events in the streaming 
15247         thread.
15248
15249 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15250
15251         * gst/gsterror.c: (_gst_stream_errors_init):
15252           Add a missing error string.
15253
15254 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15255
15256         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15257         Add applied_rate to the debug
15258
15259         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15260         Copy applied_rate into the outgoing NEWSEGMENT event
15261
15262 2006-05-08  Wim Taymans  <wim@fluendo.com>
15263
15264         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15265
15266         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15267         (gst_base_sink_change_state):
15268         call ::unlock before taking the PREROLL_LOCK so we can safely
15269         handle elements that lock in ::render.
15270         Fixes #340174.
15271
15272 2006-05-08  Edward Hervey  <edward@fluendo.com>
15273
15274         * autogen.sh: (CONFIGURE_DEF_OPT): 
15275         Darwin's libtoolize is in fact called glibtoolize.
15276         Adding glibtoolize to the list of accepted names for libtoolize.
15277
15278 2006-05-08  Wim Taymans  <wim@fluendo.com>
15279
15280         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15281         Unify error handling, don't post an error message
15282         when a push() returns EOS but perform our normal EOS
15283         handling code. Fixes #340772.
15284
15285 2006-05-08  Wim Taymans  <wim@fluendo.com>
15286
15287         * docs/design/part-overview.txt:
15288         Make upsteam/downstream concepts more clear.
15289         Give an example of serialized/non-serialized events.
15290
15291         * docs/design/part-events.txt:
15292         * docs/design/part-streams.txt:
15293         Mention applied_rate.
15294
15295         * docs/design/part-trickmodes.txt:
15296         Mention applied rate, flesh out some more use cases.
15297
15298         * gst/gstevent.c: (gst_event_new_new_segment),
15299         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15300         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15301         (gst_event_parse_tag), (gst_event_new_buffer_size),
15302         (gst_event_parse_buffer_size), (gst_event_new_qos),
15303         (gst_event_parse_qos), (gst_event_parse_seek),
15304         (gst_event_new_navigation):
15305         * gst/gstevent.h:
15306         Add applied_rate field to NEWSEGMENT event.
15307         API: gst_event_new_new_segment_full()
15308         API: gst_event_parse_new_segment_full()
15309
15310         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15311         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15312         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15313         * gst/gstsegment.h:
15314         Add applied_rate to GstSegment structure.
15315         Make calculation of stream_time and running_time more correct
15316         wrt rate/applied_rate.
15317         Add some more docs.
15318         API: GstSegment::applied_rate field
15319         API: gst_segment_set_newsegment_full();
15320
15321         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15322         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15323         * libs/gst/base/gstbasetransform.c:
15324         (gst_base_transform_sink_eventfunc),
15325         (gst_base_transform_handle_buffer):
15326         Parse and use applied_rate in the GstSegment field.
15327
15328         * tests/check/gst/gstevent.c: (GST_START_TEST):
15329         Add check for applied_rate field.
15330
15331         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15332         (gstsegments_suite):
15333         Add more checks for various GstSegment operations.
15334
15335 2006-05-08  Wim Taymans  <wim@fluendo.com>
15336
15337         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15338         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15339         (gst_base_sink_get_position), (gst_base_sink_change_state):
15340         Store the sync time of the buffer end position separatly in a
15341         new variable eos_rtime so we can properly sync the EOS event.
15342         Fixes #340697.
15343         Fix the docs for gst_base_sink_set_qos_enabled().
15344         Don't set segment start to invalid value when we receive a 
15345         non TIME newsegment.
15346         get closer to handling position reporting for negative rates 
15347         correctly.
15348
15349 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15350
15351         * gst/gstcaps.c:
15352         Docs about how to print caps for debug purposes.
15353
15354         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15355         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15356
15357 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15358
15359         * gst/gstelement.c:
15360           use full enum names and preprend a '%' in docs strings to make recent 
15361           gtk-doc turn that into a link
15362
15363 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15364
15365         * docs/manual/basics-bins.xml:
15366         * docs/manual/basics-bus.xml:
15367         * docs/manual/basics-pads.xml:
15368           Some typo fixes, some additions, some clarifications. 
15369
15370 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15371
15372         * tools/gst-inspect.c: (main):
15373         * tools/gst-launch.c: (main):
15374         * tools/gst-run.c: (main):
15375         * tools/gst-typefind.c: (main):
15376         * tools/gst-xmlinspect.c: (main):
15377           Use the string passed to g_option_context_new() for
15378           what it's intended for - the program name is already
15379           printed elsewhere.
15380
15381 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15382
15383         * tools/Makefile.am:
15384         * tools/gst-inspect.c: (main):
15385         * tools/gst-launch.c: (main):
15386         * tools/gst-xmlinspect.c: (main):
15387         * tools/tools.h:
15388           Add back --version command line option (#340460).
15389
15390         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15391           Add --version option and use GOption for argument parsing; refactor a
15392           bit; accept directories as arguments and recurse into them; lastly,
15393           print a decent error message when things go wrong.
15394
15395 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15396
15397         * docs/manual/basics-bins.xml:
15398         Don't mention GstThread (#340611)
15399         * docs/manual/basics-elements.xml:
15400         Update link to GObject tutorial (#340607)
15401         
15402 2006-05-05  Wim Taymans  <wim@fluendo.com>
15403
15404         * gst/gstbuffer.h:
15405         * gst/gstminiobject.c:
15406         Add note about refcounting and miniobject/buffer writeability
15407         to docs. Fixes #340604
15408
15409         * gst/gstelementfactory.h:
15410         Added some explanation about @klass.
15411
15412 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15413
15414         * docs/manual/intro-motivation.xml:
15415         * docs/manual/manual.xml:
15416         Avoid CORBA & Bonobo references (#340598)
15417
15418 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15419
15420         * docs/manual/basics-bus.xml:
15421         * docs/manual/basics-pads.xml:
15422         Fix up some inaccuracies and omissions (#340609)
15423         
15424 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15425
15426         * gst/gstghostpad.c:
15427           Small typo in docs (#340625)
15428
15429 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15430
15431         * gst/parse/Makefile.am:
15432           Make 'make -j' proof (see #340698).
15433
15434 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15435
15436         * configure.ac:
15437           Require GLib-2.8 here as well.
15438
15439 2006-05-05  Wim Taymans  <wim@fluendo.com>
15440
15441         * gst/glib-compat.c:
15442         * gst/gst.c: (init_pre):
15443         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15444         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15445         (gst_object_dispatch_properties_changed):
15446         * gst/gstobject.h:
15447         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15448         * gst/gststructure.c: (gst_structure_set_valist):
15449         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15450         Remove pre glib2.8 compatibility, fixes #340508
15451
15452 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15453
15454         * gst/gsttaglist.h:
15455           Mention type of tags in doc blurbs.
15456
15457 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15458
15459         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15460         (gst_pad_configure_src), (gst_pad_push):
15461         Restore acceptcaps checking behaviour now that good plugins have
15462         been released.
15463
15464 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15465
15466         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15467
15468         * gst/gst.c:
15469         * gst/gstbus.c:
15470         * gst/gstclock.c:
15471         * gst/gstevent.c:
15472         * gst/gstformat.c:
15473         * gst/gstmessage.c:
15474         * gst/gstparse.c:
15475         * gst/gstquery.c:
15476         * gst/gstutils.c:
15477         * gst/parse/Makefile.am:
15478         * libs/gst/base/gstadapter.c:
15479         * libs/gst/base/gstbasesrc.c:
15480         * libs/gst/base/gstpushsrc.c:
15481         * libs/gst/base/gsttypefindhelper.c:
15482         * plugins/elements/gstfakesrc.c:
15483         * plugins/elements/gstidentity.c:
15484           Make sure gstprivate.h and/or config.h are
15485           always included first, otherwise some of our
15486           defines (like _FILE_OFFSET_BITS) might be
15487           redefined in the system headers. Fixes build
15488           on opensolaris (#340016).
15489
15490 2006-05-04  Wim Taymans  <wim@fluendo.com>
15491
15492         * docs/libs/gstreamer-libs-sections.txt:
15493         API: addition: gst_adapter_take_buffer()
15494         
15495         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15496         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15497         (gst_adapter_available_fast):
15498         * libs/gst/base/gstadapter.h:
15499         Prepare for optimizing the hell out of this hugely inefficient
15500         piece of code. 
15501         Added gst_adapter_take_buffer() so we can at least start thinking
15502         about subbuffering and merging.
15503         Added some comments.
15504
15505         * tests/check/Makefile.am:
15506         * tests/check/libs/adapter.c: (GST_START_TEST),
15507         (gst_adapter_suite), (main):
15508         Added GstAdapter check.
15509
15510 2006-05-04  Wim Taymans  <wim@fluendo.com>
15511
15512         * docs/design/part-overview.txt:
15513         Fix some typos, add blurb about buffer flags.
15514
15515 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15516
15517         * docs/libs/gstreamer-libs-sections.txt:
15518           make sure GstBaseTransformClass shows up in the docs
15519         * libs/gst/base/gstbasetransform.c:
15520         * libs/gst/base/gstbasetransform.h:
15521           move docs so gtk-doc picks it up now
15522
15523 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15524
15525         * docs/libs/gstreamer-libs-sections.txt:
15526           add missing symbols to docs
15527
15528 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15529
15530         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15531           back out the newsegment handling change, see #340060 for ongoing
15532           discussion
15533
15534 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15535
15536         * tools/gst-run.c: (get_candidates), (main):
15537           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15538           work); fix typo in error message. Fixes #340079.
15539
15540 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15541
15542         * common/Makefile.am:
15543         * docs/Makefile.am:
15544         * docs/faq/Makefile.am:
15545         * docs/gst/Makefile.am:
15546         * docs/libs/Makefile.am:
15547         * docs/manual/Makefile.am:
15548         * docs/plugins/Makefile.am:
15549         * docs/pwg/Makefile.am:
15550         * docs/slides/Makefile.am:
15551         * docs/upload.mak:
15552         * common/upload.mak:
15553           move upload.mak to common
15554
15555 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15556
15557         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15558           add more asserts on refcounts
15559           do more cleanup at end of tests
15560           fix test leaks showing in FC5
15561
15562 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15563
15564         * plugins/elements/gsttypefindelement.c:
15565         (gst_type_find_element_handle_event):
15566         reverted wrong change and reflowed code to avoid others falling into
15567         this trap
15568
15569 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15570
15571         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15572           fix changelog entry about last collectpads change,
15573           add notes about proper fix
15574
15575 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15576
15577         * gst/gst.c:
15578         * gst/gstregistry.c: (gst_registry_scan_path_level),
15579         (gst_registry_scan_path):
15580         * gst/gstregistry.h:
15581           only write out registry if it has changed, fixes #338339
15582
15583 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15584
15585         * gst/gstbin.c:
15586         * gst/gstpipeline.c:
15587         * plugins/elements/gstcapsfilter.c:
15588         * plugins/elements/gstfakesink.c:
15589         * plugins/elements/gstfakesrc.c:
15590         * plugins/elements/gstfdsink.c:
15591         * plugins/elements/gstfdsrc.c:
15592         * plugins/elements/gstfilesink.c:
15593         * plugins/elements/gstfilesrc.c:
15594         * plugins/elements/gstidentity.c:
15595         * plugins/elements/gstqueue.c:
15596         * plugins/elements/gsttee.c:
15597         * plugins/elements/gsttypefindelement.c:
15598         (gst_type_find_element_handle_event):
15599           make GstElementDetails const
15600
15601 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15602
15603         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15604         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15605         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15606           more detailed debug and formatting cleanup,
15607           forward newsegments to src-pad (so that e.g. adder not eats them)
15608
15609 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15610
15611         * gst/gstutils.c: (gst_element_link_pads):
15612           cleanup double code
15613
15614 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15615
15616         * libs/gst/controller/gstcontroller.c:
15617         (gst_controller_sync_values):
15618           some little tuning
15619         * tests/check/libs/controller.c: (GST_START_TEST),
15620         (gst_controller_suite):
15621           a new test for live value handling
15622
15623 2006-04-28  Wim Taymans  <wim@fluendo.com>
15624
15625         * gst/gstutils.c: (push_and_ref):
15626         Added some more docs.
15627         Fix refcount issue whith gst_element_found_tags() helper 
15628         function. Fixes #338335
15629
15630         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15631         Added testsuite for gst_element_found_tags().
15632
15633 2006-04-28  Michael Smith  <msmith@fluendo.com>
15634
15635         * gst/gstvalue.c: (gst_value_serialize_flags):
15636           Avoid NULL dereference when trying to serialize flags containing
15637           invalid values.
15638
15639 2006-04-28  Michael Smith  <msmith@fluendo.com>
15640
15641         * plugins/elements/gsttypefindelement.c:
15642         (gst_type_find_element_handle_event):
15643           If we get EOS before any data is accumulated, don't use
15644           uninitialised local variables.
15645
15646 2006-04-28  Michael Smith  <msmith@fluendo.com>
15647
15648         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15649         (gst_dp_event_from_packet):
15650           Fixes in reading/writing events over GDP (not currently used?) - 
15651           dereferencing NULL events for unknown/invalid event types, memory
15652           leak, and change g_warning to GST_WARNING.
15653
15654 2006-04-28  Wim Taymans  <wim@fluendo.com>
15655
15656         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15657         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15658         (gst_base_sink_get_position), (gst_base_sink_change_state):
15659         When frame dropping is enabled, we should not ignore frames
15660         without a duration.
15661         Update some documentation.
15662
15663 2006-04-28  Wim Taymans  <wim@fluendo.com>
15664
15665         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15666         (gst_base_src_send_event), (gst_base_src_change_state):
15667         Documentation updates.
15668
15669 2006-04-28  Wim Taymans  <wim@fluendo.com>
15670
15671         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15672         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15673         handle EAGAIN, EINTR and short writes correctly. Also clean
15674         up some error cases, avoid a deadlock on bad file descriptors and
15675         use GST_DEBUG_OBJECT.
15676         Fixes #339843
15677
15678 2006-04-28  Wim Taymans  <wim@fluendo.com>
15679
15680         * gst/gstvalue.c: (gst_value_serialize_buffer),
15681         (gst_value_deserialize_buffer):
15682         Don't try to serialize a GValue with a NULL buffer. 
15683         Fixes #339821.
15684
15685         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15686         Added check for serialisation of NULL buffers.
15687
15688 2006-04-28  Wim Taymans  <wim@fluendo.com>
15689
15690         * gst/gstminiobject.c: (gst_value_take_mini_object):
15691         Taking a NULL miniobject is valid, fix the case where
15692         we try to unref the NULL miniobject.
15693
15694 2006-04-28  Wim Taymans  <wim@fluendo.com>
15695
15696         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15697
15698         * gst/gstbin.c: (gst_bin_handle_message_func):
15699         Update docs.
15700         Don't leak bin refcount when a state recalc is
15701         in progress and we delay another one #339808.
15702
15703 2006-04-28  Wim Taymans  <wim@fluendo.com>
15704
15705         * docs/design/part-TODO.txt:
15706         Mention QoS as an ongoing work item.
15707
15708         * docs/design/part-buffering.txt:
15709         New doc about buffering that needs to be fleshed out
15710         at some point.
15711
15712         * docs/design/part-qos.txt:
15713         More QoS policy for decoders/demuxers/transforms
15714
15715         * docs/design/part-trickmodes.txt:
15716         Small update.
15717
15718 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15719
15720         * configure.ac:
15721           back to HEAD
15722
15723 === release 0.10.5 ===
15724
15725 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15726
15727         * configure.ac:
15728           releasing 0.10.5, "Fogo"
15729
15730 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15731
15732         patch by: Wim Taymans
15733
15734         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15735         (gst_pad_configure_src), (gst_pad_push):
15736         * gst/gstpipeline.c: (gst_pipeline_init):
15737           Fix internal data flow errors.  Fixes #338711.
15738
15739 2006-04-12  Wim Taymans  <wim@fluendo.com>
15740
15741         * tests/check/gst/gstelement.c: (GST_START_TEST):
15742         Don't leak the factory.
15743
15744 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15745
15746         * configure.ac:
15747         * win32/common/config.h:
15748           prerelease
15749
15750 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15751
15752         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15753         (gst_controller_unset_all):
15754           Free allocated GstTimedValues when freeing list nodes.
15755           Should fix leaks 'make check-valgrind' complains about.
15756
15757         * win32/common/libgstcontroller.def:
15758           Add gst_controller_unset_all.
15759
15760 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15761
15762         * docs/libs/gstreamer-libs-sections.txt:
15763         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15764         (gst_controller_unset_all):
15765         * libs/gst/controller/gstcontroller.h:
15766         API: Added new method gst_controller_unset_all()
15767         fixed gst_controller_unset()
15768         * tests/check/libs/controller.c: (GST_START_TEST),
15769         (gst_controller_suite):
15770         Added two testcases for new and fixed method
15771
15772 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15773
15774         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15775           MSG_DONTWAIT is not defined on Cygwin, so work
15776           around that (fixes #317048).
15777           
15778 2006-04-11  Wim Taymans  <wim@fluendo.com>
15779
15780         * gst/gstelementfactory.c: (gst_element_register),
15781         (gst_element_factory_create), (gst_element_factory_make):
15782         Some cleanups.
15783         Fixed a FIXME.
15784         Updated docs (Fixes #131079)
15785
15786         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15787         Small cleanups.
15788
15789         * tests/check/gst/gstelement.c: (GST_START_TEST),
15790         (gst_element_suite):
15791         Added testcase for elementfactory class field.
15792
15793 2006-04-10  Wim Taymans  <wim@fluendo.com>
15794
15795         * gst/gstsegment.c:
15796         Added some more docs.
15797
15798         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15799         (gst_base_sink_reset_qos):
15800         Calculate more accurate rate values.
15801
15802 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15803
15804         * gst/gst_private.h:
15805           add a new #ifdef to use __declspec(dllimport) only for
15806           other modules and not for gstreamer core
15807         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15808           use gst_guint64_to_gdouble for conversion
15809         * win32/common/libgstreamer.def:
15810           add new exported functions
15811         * win32/vs6/gst_inspect.dsp:
15812         * win32/vs6/gst_launch.dsp:
15813         * win32/vs6/libgstbase.dsp:
15814         * win32/vs6/libgstcontroller.dsp:
15815         * win32/vs6/libgstcoreelements.dsp:
15816         * win32/vs6/libgstdataprotocol.dsp:
15817         * win32/vs6/libgstnet.dsp:
15818           update project files
15819
15820 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15821
15822         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15823         * gst/gstclock.c: (gst_clock_class_init):
15824         * gst/gstelement.c: (gst_element_class_init):
15825         * gst/gstindex.c: (gst_index_class_init):
15826         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15827         * gst/gstobject.c: (gst_object_class_init),
15828         (gst_signal_object_class_init):
15829         * gst/gstpad.c: (gst_pad_class_init):
15830         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15831         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15832         * gst/gstregistry.c: (gst_registry_class_init):
15833         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15834         * gst/gsttask.c: (gst_task_class_init):
15835         * gst/gstxml.c: (gst_xml_class_init):
15836         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15837         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15838         (gst_base_src_loop):
15839         * libs/gst/controller/gstcontroller.c:/
15840         (_gst_controller_class_init):
15841         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15842         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15843         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15844         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15845         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15846         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15847
15848 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15849
15850         * gst/gstpad.c: (gst_pad_link):
15851           Must set peer pads before calling the link function, otherwise
15852           a task started from a link function might get a flow-not-linked
15853           result when trying to push because the other thread where the
15854           linking happens hasn't had a chance to set the peers yet. This
15855           might happen for example when a queue gets linked to a downstream
15856           element, as queue starts a streaming task when its source pad
15857           gets linked. Happens in real life when playing back flac/musepack
15858           files in playbin (#332390).
15859           
15860 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15861
15862         * gst/gstindex.h:
15863         * gst/gstxml.h:
15864         * libs/gst/base/gstadapter.h:
15865         * libs/gst/base/gstbasesink.h:
15866         * libs/gst/base/gstbasesrc.h:
15867         * libs/gst/base/gstbasetransform.h:
15868         * libs/gst/base/gstcollectpads.h:
15869         * libs/gst/base/gstpushsrc.h:
15870         Fix broken GObject macros
15871
15872 2006-04-07  Wim Taymans  <wim@fluendo.com>
15873
15874         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15875         Initialize start and stop times, thanks valgrind.
15876
15877 2006-04-07  Wim Taymans  <wim@fluendo.com>
15878
15879         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15880         Be a bit nicer to badly behaving upstream elements that expect
15881         us to deal with non TIME segments and timestamps (such as fakesrc
15882         in the testsuite).
15883
15884 2006-04-07  Wim Taymans  <wim@fluendo.com>
15885
15886         * gst/gstbus.c:
15887         Small documentation clarification about the signal watch.
15888
15889         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15890         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15891         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15892         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15893         (gst_base_sink_get_position_last),
15894         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15895         Convert and store timestamps in stream time and running time, the
15896         raw timestamps are not useful, also document this better.
15897         Use different window sizes for good and bad QoS observations so
15898         we react to badness a little quicker.
15899         Keep track of the amount of rendered and dropped buffers.
15900         Send QoS timestamps in running time.
15901
15902         * libs/gst/base/gstbasetransform.c:
15903         (gst_base_transform_sink_eventfunc),
15904         (gst_base_transform_handle_buffer):
15905         Compare QoS timestamps against running time.
15906
15907 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15908
15909         * gst/gstpad.c:
15910           Typo fixes in docs.
15911
15912 2006-04-06  Michael Smith  <msmith@fluendo.com>
15913
15914         * gst/gstpad.c: (gst_pad_set_property):
15915           Use g_value_get_object() instead of g_value_dup_gst_object(),
15916           to avoid double-reffing the pad template (which we then sink,
15917           so this worked previously if (and only if) the pad template
15918           was floating.
15919
15920         * gst/gstpadtemplate.c: (gst_pad_template_init),
15921         (gst_pad_template_pad_created):
15922           Never return floating references to pad templates, create
15923           them as initially-sunken.
15924
15925           Document an extra function (and make this stop sinking our
15926           pad template, since that is now guaranteed to do nothing,
15927           since we created it sunken).
15928
15929         * gst/gstghostpad.c:
15930           Fix docs typo.
15931
15932 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
15933
15934         * gst/gstinfo.c: (__gst_in_valgrind):
15935           Add some newlines.
15936
15937         * plugins/elements/gsttypefindelement.c:
15938         (gst_type_find_element_chain):
15939           Don't leak buffer caps.
15940
15941 2006-04-06  Michael Smith  <msmith@fluendo.com>
15942
15943         * gst/parse/grammar.y:
15944           Fix a leak in parse-launch for any source-or-sink named element 
15945           references used.
15946
15947         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15948           Unref the pipeline if it exists after we've failed parsing.
15949
15950 2006-04-05  Michael Smith  <msmith@fluendo.com>
15951
15952         * gst/gstpipeline.c: (gst_pipeline_init):
15953           When we create a pipeline bus, initially create it in flushing mode.
15954           Fixes leaks in at least one test, and makes a new pipeline work the
15955           same as one that has gone to READY and then back to NULL.
15956
15957         * gst/gstelement.c:
15958           Typo fix in docs.
15959
15960 2006-04-05  Michael Smith  <msmith@fluendo.com>
15961
15962         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15963           Unref a pad we reffed.
15964         * tests/check/gst/gstutils.c: (GST_START_TEST):
15965           Unref bins
15966
15967 2006-04-05  Michael Smith  <msmith@fluendo.com>
15968
15969         * gst/gstquery.c: (gst_query_set_formats),
15970         (gst_query_set_formatsv):
15971           Fix leaking GValues in queries, as shown by valgrind/testsuite.
15972
15973 2006-04-05  Michael Smith  <msmith@fluendo.com>
15974
15975         * tests/check/generic/sinks.c: (GST_START_TEST):
15976           Fix a variety of memleaks in sinks check, which are only sometimes 
15977           shown by running the tests under valgrind (weird?).
15978
15979 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
15980
15981         * docs/version.entities.in:
15982           Fix the substituted entity name after thomas' changes on the
15983           weekend.
15984
15985 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15986
15987         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15988         VALGRIND_PRINTF
15989         
15990 2006-04-05  Andy Wingo  <wingo@pobox.com>
15991
15992         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15993
15994         * libs/gst/base/gstbasetransform.c
15995         (gst_base_transform_sink_eventfunc): When resetting our segment on
15996         FLUSH_STOP, also update the flag saying we haven't seen a
15997         newsegment.
15998
15999 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16000
16001         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16002
16003         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16004         (gst_plugin_check_license):
16005           minor clean-ups: G_DEFINE_TYPE already takes care of the
16006           parent_class stuff, no need to do it twice. Mark array of
16007           license strings as constant. (#337103)
16008           
16009 2006-04-04  Michael Smith  <msmith@fluendo.com>
16010
16011         * tools/gst-inspect.c: (print_element_list):
16012           Free the right plugin list; fixes a memory leak.
16013
16014 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16015
16016         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16017
16018         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16019           Don't error out on empty buffers (#336945).
16020           
16021 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16022
16023         * docs/libs/gstreamer-libs-sections.txt:
16024         * gst/gsttaglist.c:
16025         * libs/gst/base/gstbasesink.c:
16026         * libs/gst/base/gstbasesink.h:
16027         * libs/gst/base/gstbasesrc.c:
16028         * libs/gst/base/gstbasesrc.h:
16029           Documentation updates. Make BaseSink and BaseSrc docs contain the
16030           class structure so that people can actually see the prototypes for
16031           virtual functions they're supposed to be overriding.
16032
16033 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16034
16035         * plugins/elements/gsttypefindelement.c:
16036         (gst_type_find_element_chain):
16037           More debug info; when skipping typefinding, send cached
16038           events in all cases.
16039
16040 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16041
16042         * configure.ac:
16043           use new AS_VERSION and AS_NANO macros
16044         * gst/gst-i18n-lib.h:
16045         * gst/gst.c:
16046         * gst/gsterror.c:
16047         * gst/gstversion.h.in:
16048         * win32/common/config.h:
16049         * win32/common/config.h.in:
16050           update accordingly
16051
16052 2006-03-31  Michael Smith  <msmith@fluendo.com>
16053
16054         * plugins/elements/gsttypefindelement.c:
16055         (gst_type_find_element_chain):
16056           Do not typefind content if the buffers already have caps.
16057           Neccesary for icydemux (#333657), and the right thing to do anyway.
16058
16059 2006-03-30  Wim Taymans  <wim@fluendo.com>
16060
16061         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16062         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16063         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16064         (gst_base_sink_record_qos_observation),
16065         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16066         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16067         (gst_base_sink_change_state):
16068         More QoS measurements as described in the design doc.
16069         Get rid of ringbuffer with observations, running average is
16070         more simple and equally good.
16071         Calculates valid proportion now.
16072         Added beginning of flood measurement.
16073
16074 2006-03-29  Wim Taymans  <wim@fluendo.com>
16075
16076         * docs/design/part-qos.txt:
16077         * gst/gstclock.c:
16078         Small documentation updates and additions.
16079
16080 2006-03-29  Wim Taymans  <wim@fluendo.com>
16081
16082         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16083         (gst_base_src_send_event), (gst_base_src_loop),
16084         (gst_base_src_change_state):
16085         Perform the EOS logic when we reach the segment stop position.
16086         Fix compilation on gcc4.1
16087
16088 2006-03-29  Wim Taymans  <wim@fluendo.com>
16089
16090         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16091
16092         * plugins/elements/gstqueue.c: (gst_queue_init),
16093         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16094         (gst_queue_set_property):
16095         * plugins/elements/gstqueue.h:
16096         In queue, when EOS is received, if minimum threshold > max_size -
16097         current_level, there is chance that queue blocks forever in conditional
16098         item del wait. This is because the queue is not emptied completely due
16099         to minimum threshold.  Here is another approach. Instead of setting
16100         cur_levels to max in EOS, just zero all minimum threshold levels. This
16101         should make sure that queue gives out all data. When going to READY
16102         (stop) state, just reset the original minimum threshold levels.
16103         Fixes #336336.
16104
16105 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16106
16107         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16108         (gst_type_find_element_handle_event),
16109         (gst_type_find_element_send_cached_events),
16110         (gst_type_find_element_change_state):
16111         * plugins/elements/gsttypefindelement.h:
16112           When typefinding is done in push mode, we should cache
16113           events we receive during typefinding instead of just
16114           dropping them (e.g. newsegment, custom events from
16115           dvdreadsrc etc.) and then send them out once we've
16116           determined the type of the stream (and decodebin
16117           has had a chance to plug in a decoder/demuxer).
16118           
16119 2006-03-27  Wim Taymans  <wim@fluendo.com>
16120
16121         * docs/design/part-qos.txt:
16122         First QoS ideas.
16123
16124 2006-03-27  Wim Taymans  <wim@fluendo.com>
16125
16126         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16127
16128         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16129         (gst_base_src_send_event), (gst_base_src_change_state):
16130         Handle element seek correctly when we are streaming.
16131         Fixes #326998.
16132
16133 2006-03-24  Michael Smith  <msmith@fluendo.com>
16134
16135         * docs/faq/gst-uninstalled:
16136           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16137           allow you to correctly run intalled applications built against old 
16138           core, using plugins that require updated core (e.g. running
16139           installed totem against a full uninstalled gstreamer stack)
16140
16141 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16142
16143         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16144         more debug details
16145
16146 2006-03-24  Wim Taymans  <wim@fluendo.com>
16147
16148         * docs/gst/gstreamer-sections.txt:
16149         Rearrange the order of the methods so that related methods
16150         are grouped together in sections.
16151
16152 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16153
16154         * gst/gstelement.c:
16155           Little clarification in the docs
16156
16157 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16158
16159         * docs/README:
16160         formatting fix
16161         * plugins/elements/gstidentity.c:
16162         * plugins/elements/gstqueue.c:
16163         * plugins/elements/gsttee.c:
16164         * plugins/elements/gsttypefindelement.c:
16165         GST_ELEMENT_DETAILS formatting
16166
16167 2006-03-24  Wim Taymans  <wim@fluendo.com>
16168
16169         * libs/gst/base/gstbasesink.h:
16170         Only add fields, not insert or we break ABI.
16171
16172 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16173
16174         * win32/common/libgstbase.def:
16175         * win32/common/libgstreamer.def:
16176           Update, add recently added functions.
16177
16178 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16179
16180         * docs/gst/gstreamer-sections.txt:
16181         * gst/gstutils.c: (gst_pad_query_peer_position),
16182         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16183         * gst/gstutils.h:
16184           API: add some new utility functions:
16185            - gst_pad_query_peer_position()
16186            - gst_pad_query_peer_duration()
16187            - gst_pad_query_peer_convert()
16188           
16189 2006-03-23  Wim Taymans  <wim@fluendo.com>
16190
16191         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16192         (gst_base_sink_init), (gst_base_sink_finalize),
16193         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16194         (gst_base_sink_set_property), (gst_base_sink_get_property),
16195         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16196         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16197         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16198         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16199         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16200         (gst_base_sink_preroll_object), (gst_base_sink_event),
16201         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16202         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16203         (gst_base_sink_query), (gst_base_sink_change_state):
16204         Decouple max-lateness and the fact that QoS messages are generated
16205         with a new property (qos).
16206         added API: GstBaseSink::async_play()
16207         Add vmethod so subclasses can be notified of ASYNC playing
16208         state changes.
16209         Collect timestamp start and stop to report better current
16210         position in EOS/PLAYING/PAUSED/READY/NULL.
16211         Refactor QoS/frame dropping and other measurements.
16212         API: GstBaseSrc::qos
16213         Fixes #326311
16214
16215         * libs/gst/base/gstbasesink.h:
16216         Added Private struct.
16217         API: gst_base_sink_set_qos_enabled()
16218         API: gst_base_sink_is_qos_enabled()
16219
16220 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16221
16222         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16223           If compiling against GLib-2.8 or newer, try to read the
16224           registry file using GMappedFile first before falling back
16225           to fopen() + fread() (#332151).
16226
16227 2006-03-22  Wim Taymans  <wim@fluendo.com>
16228
16229         * gst/gstinfo.c: (gst_debug_set_active),
16230         (gst_debug_category_set_threshold):
16231         Disable debugging unless explicitly activated.
16232         Fixes #335480.
16233
16234 2006-03-22  Wim Taymans  <wim@fluendo.com>
16235
16236         * gst/gstelement.c: (gst_element_set_locked_state),
16237         (gst_element_dispose):
16238         Cleanup the error case.
16239
16240         * gst/gstobject.c: (gst_object_dispose):
16241         print a critical when some object was disposed with
16242         a parent, also revive the object since it might
16243         crash the parent.
16244
16245 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16246
16247         * tools/gst-launch.1.in:
16248           Fix another typo.
16249
16250 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16251
16252         * configure.ac:
16253         * tests/check/Makefile.am:
16254           disable some tests when we don't have a registry
16255         * tests/check/gst/gstutils.c: (gst_utils_suite):
16256           don't build the part that needs parsing
16257
16258 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16259
16260         * gst/Makefile.am
16261         * tests/examples/Makefile.am:
16262           fix --disable-parse build
16263
16264 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16265
16266         * tools/gst-feedback.1.in:
16267           Fix typo: s/feeback/feedback/ (#133494).
16268
16269 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16270
16271         * tools/Makefile.am:
16272         * tools/gst-launch.1.in:
16273           Add FILES section and correct entry about GST_REGISTRY_PATH
16274           environment variable (#133495; #133494).
16275
16276 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16277
16278         * tools/Makefile.am:
16279         * tools/gst-md5sum.1.in:
16280         * tools/gst-md5sum.c:
16281           Remove gst-md5sum and man page (the md5sink element
16282           required was removed ages ago)
16283
16284 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16285
16286         * gst/gststructure.c: (gst_structure_id_set_value):
16287           Make sure that string fields in structures/taglists
16288           contain valid UTF-8 - we don't want to pass rubbish to
16289           applications because of a buggy plugin (cp. #334167).
16290
16291 2006-03-21  Edward Hervey  <edward@fluendo.com>
16292
16293         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16294         (gst_bin_handle_message_func):
16295         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16296         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16297         (gst_element_set_bus_func):
16298         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16299         * gst/gstminiobject.c: (gst_value_set_mini_object),
16300         (gst_value_take_mini_object):
16301         * gst/gstpad.c: (gst_pad_set_pad_template):
16302         * gst/gstpipeline.c: (gst_pipeline_dispose),
16303         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16304         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16305         (gst_collect_pads_chain):
16306         * libs/gst/net/gstnettimeprovider.c:
16307         (gst_net_time_provider_set_property):
16308         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16309         It's in fact all issues with gst_*object_replace().
16310
16311 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16312
16313         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16314         
16315         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16316         * pkgconfig/gstreamer-check.pc.in:
16317           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16318
16319 2006-03-21  Edward Hervey  <edward@fluendo.com>
16320
16321         * gst/gstbuffer.h:
16322         * gst/gstevent.h:
16323         * gst/gstmessage.h:
16324         gst_[buffer|event|message]_ref() macros are replaced by a static
16325         inline functions because gcc-4.1 will about if the return value
16326         isn't used.
16327         * tests/check/gst/gstevent.c: (event_probe):
16328         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16329
16330 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16331
16332         * gst/gstutils.h:
16333         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16334         the type' case. (Closes: #335195 for now). In the future, when we
16335         depend on GLib 2.10, we could also intern the type name using
16336         g_intern_static_string()
16337
16338 2006-03-20  Wim Taymans  <wim@fluendo.com>
16339
16340         * gst/gstbin.c: (gst_bin_handle_message_func),
16341         (bin_query_max_init), (bin_query_position_fold),
16342         (bin_query_position_done), (gst_bin_query):
16343         Position query should also take max of all streams.
16344
16345 2006-03-20  Wim Taymans  <wim@fluendo.com>
16346
16347         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16348         (gst_fake_src_finalize):
16349         Fix leaks in fakesrc.
16350
16351         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16352         Fix leaks in the testcase.
16353
16354 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16355
16356         * gst/gst_private.h:
16357           add win32 specific import decoration(__declspec(dllimport)) 
16358           for all extern GstDebugCategory * variables
16359         * win32/common/libgstbase.def:
16360         * win32/common/libgstcontroller.def:
16361         * win32/common/libgstreamer.def:
16362           Add some exports, remove empty lines
16363         * win32/common/libgstdataprotocol.def:
16364         * win32/common/libgstdataprotocol.dsp:
16365         * win32/common/libgstnet.def:
16366         * win32/common/libgstnet.dsp:
16367           new project files and exportation files added
16368         
16369 2006-03-19  Wim Taymans  <wim@fluendo.com>
16370
16371         * tests/check/libs/basesrc.c: (eos_event_counter):
16372         Use proper return value for probe.
16373
16374 2006-03-17  Wim Taymans  <wim@fluendo.com>
16375
16376         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16377         (gst_pad_push):
16378         Don't leak buffers, caps and pads on negotiation errors.
16379
16380 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16381
16382         * docs/faq/cvs.xml:
16383         * docs/faq/dependencies.xml:
16384         * docs/faq/developing.xml:
16385         * docs/faq/faq.xml:
16386         * docs/faq/general.xml:
16387         * docs/faq/getting.xml:
16388         * docs/faq/legal.xml:
16389         * docs/faq/troubleshooting.xml:
16390         * docs/faq/using.xml:
16391         Faq review and update.
16392
16393 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16394
16395         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16396         (gst_pad_push):
16397         Don't pound the cpu to pieces by checking get_caps when accept_caps
16398         is called with the same caps as the pad already has.
16399         Use GST_DEBUG_OBJECT when outputting caps change information.
16400
16401 2006-03-15  Wim Taymans  <wim@fluendo.com>
16402
16403         * gst/gstclock.c: (gst_clock_class_init):
16404         Fix docs.
16405
16406 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16407
16408         * gst/gstbuffer.h:
16409         Documentation fix.
16410
16411         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16412         (gst_pad_accept_caps), (gst_pad_configure_sink),
16413         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16414         Make the default acceptcaps behaviour be to check the requested 
16415         caps against the gst_pad_get_caps output. 
16416
16417         Ensure that gst_pad_accept_caps is used to check caps when a pad
16418         doesn't have a setcaps function, so that pads automatically refuse 
16419         caps that they don't allow in their pad template. (Fixes #332986)
16420
16421         When a buffer with attached caps is pushed, ensure that the source 
16422         pad receives those caps even if the element didn't call
16423         gst_pad_set_caps first.
16424
16425 2006-03-15  Wim Taymans  <wim@fluendo.com>
16426
16427         * libs/gst/base/gstadapter.c:
16428         Add some docs.
16429
16430 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16431
16432         * win32/common/libgstbase.def:
16433         * win32/common/libgstcontroller.def:
16434         * win32/common/libgstreamer.def:
16435           Add a whole bunch of missing functions (#334434).
16436
16437 2006-03-14  Wim Taymans  <wim@fluendo.com>
16438
16439         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16440         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16441         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16442         Better debug info when we receive a segment event.
16443         Reorganize a bit so we can pass the get_times() results around.
16444         Use the segment format when calculating the running time.
16445         Don't do QoS is sync is disabled or we have no clock or the
16446         element does not want us to sync to the clock.
16447         Don't drop buffers if QoS is disabled for now.
16448
16449 2006-03-14  Wim Taymans  <wim@fluendo.com>
16450
16451         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16452         Marked the stats property as unimplemented so people don't get
16453         wild ideas.
16454         Add debug message when regression goes wrong.
16455         Added some more docs.
16456
16457 2006-03-14  Wim Taymans  <wim@fluendo.com>
16458
16459         * gst/gstsegment.c: (gst_segment_to_stream_time):
16460         Return correct return type in case of errors.
16461
16462 2006-03-14  Wim Taymans  <wim@fluendo.com>
16463
16464         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16465           Don't segfault on invalid formats.
16466
16467 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16468
16469         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16470           Can't use gst_segment_to_running_time() when the segment
16471           is not in GST_TIME_FORMAT (like with filesink, for example).
16472           Stops flac encoding pipelines from spewing critical warnings
16473           at EOS (#331248).
16474           
16475 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16476
16477         * gst/gstpipeline.c: (gst_pipeline_class_init):
16478           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16479
16480         * plugins/elements/gsttypefindelement.c:
16481         (gst_type_find_element_handle_event):
16482           Don't try to typefind empty streams.
16483
16484 2006-03-14  Wim Taymans  <wim@fluendo.com>
16485
16486         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16487         (gst_base_sink_do_qos):
16488         Separate QoS calculation.
16489         Only drop buffers when lateness is bigger than the 
16490         duration of the buffer.
16491
16492 2006-03-13  Wim Taymans  <wim@fluendo.com>
16493
16494         * gst/gstpipeline.c: (gst_pipeline_set_property),
16495         (gst_pipeline_get_property), (do_pipeline_seek),
16496         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16497         (gst_pipeline_get_delay):
16498         Don't deadlock when reading properties.
16499
16500 2006-03-13  Wim Taymans  <wim@fluendo.com>
16501
16502         * libs/gst/base/gstbasetransform.c:
16503         (gst_base_transform_class_init), (gst_base_transform_init),
16504         (gst_base_transform_sink_event),
16505         (gst_base_transform_sink_eventfunc),
16506         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16507         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16508         (gst_base_transform_set_property),
16509         (gst_base_transform_get_property),
16510         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16511         (gst_base_transform_set_qos_enabled),
16512         (gst_base_transform_is_qos_enabled):
16513         * libs/gst/base/gstbasetransform.h:
16514         Make basetransform virtual method for src events too.
16515         Handle QOS in basetransform.
16516         API: gst_base_transform_update_qos()
16517         API: gst_base_transform_set_qos_enabled()
16518         API: gst_base_transform_is_qos_enabled()
16519
16520 2006-03-13  Wim Taymans  <wim@fluendo.com>
16521
16522         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16523         (gst_base_sink_do_sync):
16524         Small cleanups.
16525         Use QOS debug category.
16526
16527 2006-03-13  Wim Taymans  <wim@fluendo.com>
16528
16529         * plugins/elements/gstqueue.c:
16530         Very small doc update.
16531
16532 2006-03-13  Wim Taymans  <wim@fluendo.com>
16533
16534         * gst/gst_private.h:
16535         * gst/gstinfo.c: (_gst_debug_init):
16536         Added QOS debug category
16537
16538 2006-03-13  Wim Taymans  <wim@fluendo.com>
16539
16540         * docs/gst/gstreamer-sections.txt:
16541         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16542         * gst/gstbin.h:
16543         * gst/gstbus.c: (gst_bus_class_init):
16544         * gst/gstbus.h:
16545         * gst/gstclock.c:
16546         * gst/gstelement.c: (gst_element_set_locked_state):
16547         * gst/gstsegment.c:
16548         Documentation updates.
16549
16550         * gst/gstpipeline.c: (gst_pipeline_get_type),
16551         (gst_pipeline_class_init), (gst_pipeline_init),
16552         (gst_pipeline_dispose), (gst_pipeline_set_property),
16553         (gst_pipeline_get_property), (do_pipeline_seek),
16554         (gst_pipeline_send_event), (gst_pipeline_change_state),
16555         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16556         (gst_pipeline_get_delay):
16557         * gst/gstpipeline.h:
16558         Added methods for setting the delay.
16559         API: gst_pipeline_set_delay()
16560         API: gst_pipeline_get_delay()
16561         Add pipeline debug category
16562         Various cleanups.
16563         Updated docs.
16564         Don't reset stream time when seek failed.
16565
16566 2006-03-13  Wim Taymans  <wim@fluendo.com>
16567
16568         * docs/design/draft-klass.txt:
16569         * docs/design/part-clocks.txt:
16570         * docs/design/part-events.txt:
16571         * docs/design/part-gstbin.txt:
16572         * docs/design/part-gstpipeline.txt:
16573         * docs/design/part-messages.txt:
16574         * docs/design/part-negotiation.txt:
16575         * docs/design/part-overview.txt:
16576         * docs/design/part-preroll.txt:
16577         * docs/design/part-seeking.txt:
16578         * docs/design/part-states.txt:
16579         * docs/design/part-streams.txt:
16580         Documentation updates.
16581
16582 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16583
16584         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16585         us to leak strings...
16586
16587 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16588
16589         * libs/gst/net/gstnettimeprovider.c:
16590           fix docs
16591         * win32/common/config.h:
16592           update
16593
16594 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16595
16596         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16597
16598         * configure.ac:
16599           Don't check for libgnomeui (leftover from old examples
16600           that aren't built or disted any longer) (#334303).
16601           
16602 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16603
16604         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16605         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16606           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16607           there's no space left on the device.
16608
16609 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16610
16611         * gst/gstclock.h:
16612           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16613           to cast the input to GstClockTime before comparing with
16614           another GstClockTime value.
16615
16616 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16617
16618         * configure.ac:
16619           back to trunk
16620
16621 === release 0.10.4 ===
16622
16623 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16624
16625         * configure.ac:
16626           releasing 0.10.4, "Light"
16627
16628 2006-03-10  Michael Smith  <msmith@fluendo.com>
16629
16630         * libs/gst/dataprotocol/dataprotocol.c:
16631           Fix docs for dataprocotol to not get the return types completely
16632           wrong for a few functions.
16633
16634 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16635
16636         * docs/gst/gstreamer-sections.txt:
16637         * gst/gstpipeline.c: (gst_pipeline_class_init),
16638         (gst_pipeline_init), (gst_pipeline_set_property),
16639         (gst_pipeline_get_property), (gst_pipeline_change_state),
16640         (gst_pipeline_set_auto_flush_bus),
16641         (gst_pipeline_get_auto_flush_bus):
16642         * gst/gstpipeline.h:
16643           Add new API: gst_pipeline_set_auto_flush_bus() and
16644           gst_pipeline_get_auto_flush_bus() to disable automatic
16645           flushing of the pipeline's GstBus when going from READY
16646           to NULL state (#332045).
16647
16648 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16649
16650         * docs/gst/gstreamer-sections.txt:
16651         * gst/gsturi.c: (gst_uri_has_protocol):
16652         * gst/gsturi.h:
16653            Add new API: gst_uri_has_protocol() (#333779).
16654
16655 2006-03-09  Wim Taymans  <wim@fluendo.com>
16656
16657         * gst/gstclock.c: (gst_clock_entry_new),
16658         (gst_clock_id_compare_func), (gst_clock_id_wait),
16659         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16660         (gst_clock_init), (gst_clock_get_internal_time),
16661         (gst_clock_set_master), (do_linear_regression),
16662         (gst_clock_add_observation), (gst_clock_set_property):
16663         * gst/gstclock.h:
16664         Review docs.
16665         Small cleanups.
16666         Fix a possible segfault when the window-size is made smaller.
16667         Calculate jitter before performing the clock wait. Ideally
16668         the clock implementation should calculate jitter but we need
16669         API breakage for that.
16670
16671         * gst/gstsystemclock.c: (gst_system_clock_init):
16672         Docs review.
16673         
16674         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16675         Remove leftover else
16676
16677         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16678         (gst_systemclock_suite):
16679         Added check to test GST_CLOCK_DIFF.
16680
16681 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16682
16683         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16684         (gst_type_find_helper_get_range):
16685           If we are provided with the size, we should implement
16686           GstTypeFind::get_length, so that typefind functions who
16687           want to can actually peek at the middle of a file.
16688
16689 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16690
16691         * docs/manual/advanced-dataaccess.xml:
16692           Add some very very basic error checking.
16693
16694         * docs/pwg/appendix-checklist.xml:
16695           Some updates to the list of things to check when writing an element.
16696
16697 2006-03-08  Wim Taymans  <wim@fluendo.com>
16698
16699         * docs/design/part-element-transform.txt:
16700         Added some docs about the design of tranform elements.
16701
16702         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16703         (gst_base_src_loop), (gst_base_src_change_state):
16704         Mark buffers with the DISCONT flag.
16705
16706 2006-03-08  Michael Smith  <msmith@fluendo.com>
16707
16708         * gst/gstregistry.h:
16709         * gst/gstregistryxml.c: (gst_registry_save),
16710         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16711         (gst_registry_xml_save_pad_template),
16712         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16713         (gst_registry_xml_write_cache):
16714           Rewrite registry-saving to avoid race conditions and check for
16715           failed writes.
16716
16717 2006-03-08  Wim Taymans  <wim@fluendo.com>
16718
16719         * libs/gst/base/gstbasetransform.c:
16720         (gst_base_transform_transform_caps),
16721         (gst_base_transform_transform_size),
16722         (gst_base_transform_prepare_output_buffer),
16723         (gst_base_transform_get_unit_size),
16724         (gst_base_transform_buffer_alloc),
16725         (gst_base_transform_handle_buffer),
16726         (gst_base_transform_change_state):
16727         Cleanups, separate normal flow from errors, add sensible
16728         DEBUG lines.
16729         Don't try to renegotiate when allocating an output buffer.
16730         Also copy DISCONT buffer flag when copying a buffer.
16731         Reset the transform after we finish streaming, not during.
16732
16733 2006-03-08  Wim Taymans  <wim@fluendo.com>
16734
16735         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16736         Use last buffer timestamp in qos message.
16737
16738 2006-03-07  Wim Taymans  <wim@fluendo.com>
16739
16740         Patch by: Christophe Fergeau
16741
16742         * docs/pwg/advanced-tagging.xml:
16743         * docs/pwg/building-pads.xml:
16744           fixes #333416
16745
16746 2006-03-07  Wim Taymans  <wim@fluendo.com>
16747
16748         * docs/libs/gstreamer-libs-sections.txt:
16749         Added basesink new methods.
16750
16751         * gst/gstevent.c:
16752         * gst/gstevent.h:
16753         Docs updates. Flesh out the QoS docs.
16754
16755         * libs/gst/base/gstadapter.c:
16756         Small doc clarification about ownership and flushing.
16757
16758         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16759         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16760         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16761         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16762         * libs/gst/base/gstbasesink.h:
16763         API additions: 
16764         Added new methods to allow subclass to control max-lateness 
16765         and sync.
16766         Generate very basic QoS events based on last sync observation.
16767         Updated docs, fix typo, added some QoS blurb.
16768
16769         * libs/gst/base/gstbasesrc.c:
16770         Remove obsolete _get_state() calls from docs.
16771
16772 2006-03-07  Wim Taymans  <wim@fluendo.com>
16773
16774         * docs/libs/gstreamer-libs-sections.txt:
16775         * libs/gst/base/gstbasetransform.h:
16776         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16777         Fix docs for GstBaseSrc.
16778
16779 2006-03-07  Wim Taymans  <wim@fluendo.com>
16780
16781         * docs/gst/gstreamer-sections.txt:
16782         * gst/gstbuffer.h:
16783         * gst/gstvalue.c:
16784         * libs/gst/base/gstbasetransform.h:
16785         Small documentation fixes.
16786
16787 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16788
16789         * gst/gstvalue.c:
16790           Document thread-unsafety of gst_value_register_foo_func()
16791           when used at the same time as gst_value_foo() (#322628).
16792
16793 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16794
16795         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16796         (gst_push_src_check_get_range):
16797           Push sources don't support pull mode by default.
16798
16799 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16800
16801         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16802         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16803         (gst_base_src_default_check_get_range):
16804         * libs/gst/base/gstbasesrc.h:
16805           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16806           provide default implementation, and rename
16807           gst_base_src_check_get_range() to
16808           gst_base_src_pad_check_get_range() for clarity.
16809
16810 2006-03-06  Wim Taymans  <wim@fluendo.com>
16811
16812         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16813         Make property overridable.
16814
16815 2006-03-06  Wim Taymans  <wim@fluendo.com>
16816
16817         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16818         (gst_base_sink_init), (gst_base_sink_set_property),
16819         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16820         * libs/gst/base/gstbasesink.h:
16821         API addition: Make max-lateness a property.
16822
16823 2006-03-06  Wim Taymans  <wim@fluendo.com>
16824
16825         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16826         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16827         Don't ever draw a frame that is >10ms late.
16828
16829 2006-03-06  Michael Smith  <msmith@fluendo.com>
16830
16831         * gst/gstmessage.c: (_gst_message_copy):
16832           When copying a message, set the parent_refcount of the enclosed
16833           structure to point at the copy, not the original message.
16834
16835 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16836
16837         Patch by: Christophe Fergeau
16838
16839         * gst/gstutils.h:
16840           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16841           usable in c++ code (#333417)
16842
16843 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16844
16845         * gst/gstclock.h:
16846           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16847
16848 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16849
16850         * libs/gst/base/gstbasetransform.c:
16851         (gst_base_transform_transform_caps):
16852           Make sure caps are writable before passing them to
16853           gst_caps_append().
16854
16855 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16856
16857         * gst/gsterror.h:
16858           Fix some minor docs errors.
16859
16860 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16861
16862           Patch by: Ross Burton <ross at burtonini dot com>
16863
16864         * gst/gsterror.c: (_gst_resource_errors_init):
16865         * gst/gsterror.h:
16866           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16867
16868 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16869
16870         * gst/gst.c:
16871         Add a check and output a g_warning when GStreamer is built
16872         against GLib 2.6 but running against 2.8 or higher, and vice 
16873         versa. (Closes: #323542)
16874
16875 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16876
16877         * gst/parse/parse.l:
16878           Commit patch for parse_launch syntax from #331255. Removes 
16879           support for quoted strings and mimetypes when writing filtered 
16880           caps. See the bug report for more details - I'm pretty sure this
16881           obscure feature is not in use by _anyone_ anywhere.
16882
16883           With this simple change, the size of the gstreamer.so here 
16884           drops from 2193KB to 1565KB.
16885
16886 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16887
16888         * plugins/elements/gsttypefindelement.h:
16889         * plugins/elements/gsttypefindelement.c:
16890         (gst_type_find_element_src_event), (start_typefinding),
16891         (stop_typefinding), (gst_type_find_element_handle_event),
16892         (gst_type_find_element_chain),
16893         (gst_type_find_element_chain_do_typefinding):
16894           Use gst_type_find_helper_for_buffer() for chain-based
16895           typefinding.
16896
16897 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16898
16899         * plugins/elements/gsttypefindelement.c:
16900         (gst_type_find_element_class_init),
16901         (gst_type_find_element_set_property),
16902         (gst_type_find_element_get_property):
16903           Deprecate "maximum" property (not only was it only taken into
16904           account for typefinding in push-mode anyway, it also was never
16905           actually possible to set it in the first place because the
16906           property was registered with the numeric property ID for the
16907           "minimum" property). Register "maximum" property correctly,
16908           for the sake of future copy'n'pasters. Remove some cruft
16909           from property get/set functions.
16910
16911 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
16912
16913         * plugins/elements/gsttypefindelement.c:
16914         (gst_type_find_element_activate):
16915           Use gst_type_find_helper_get_range() here, so we
16916           can honour the "minimum" property and also emit
16917           the signal with the correct probability of the found caps.
16918
16919 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
16920
16921         * docs/libs/gstreamer-libs-sections.txt:
16922         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16923         (helper_find_suggest), (gst_type_find_helper_get_range),
16924         (gst_type_find_helper):
16925         * libs/gst/base/gsttypefindhelper.h:
16926           New API: gst_type_find_helper_get_range() (#333042).
16927
16928 2006-03-02  Michael Smith  <msmith@fluendo.com>
16929
16930         * gst/gstregistryxml.c: (load_feature):
16931           Asserting on a failure to read part of the registry is Not Cool.
16932           Just log a warning and return NULL (which is already handled)
16933
16934 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
16935
16936         * win32/common/libgstbase.def:
16937           added export of gst_type_find_helper_for_buffer
16938         * win32/common/libgstbase.def:
16939           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16940           gst_ghost_pad_get_target
16941
16942 2006-02-28  Wim Taymans  <wim@fluendo.com>
16943
16944         * docs/design/draft-klass.txt:
16945         We use Filter now.
16946         Added Connector to mark elements that are only used to
16947         allow pipeline connections.
16948         Moved Debug to extra feature since most of them are 
16949         functionally something else.
16950
16951 2006-02-28  Wim Taymans  <wim@fluendo.com>
16952
16953         * docs/design/draft-klass.txt:
16954         Some updates and clarifications.
16955
16956 2006-02-28  Wim Taymans  <wim@fluendo.com>
16957
16958         * docs/design/draft-klass.txt:
16959         Proposal for klass field values.
16960
16961         * docs/design/part-streams.txt:
16962         Start of a doc describing stream anatomy.
16963
16964 2006-02-28  Wim Taymans  <wim@fluendo.com>
16965
16966         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16967         Help the compiler a bit with type registration.
16968         Use existing forward cod path instead of duplicating it when 
16969         handling a message.
16970         
16971         * gst/gstbus.c: (gst_bus_get_type):
16972         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16973         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16974         * gst/gstclock.c: (gst_clock_get_type):
16975         * gst/gstelement.c: (gst_element_get_type),
16976         * gst/gstelementfactory.c: (gst_element_factory_get_type):
16977         * gst/gstindexfactory.c: (gst_index_factory_get_type):
16978         * gst/gstminiobject.c: (gst_mini_object_get_type):
16979         * gst/gstpad.c: (gst_pad_get_type):
16980         * gst/gstsegment.c: (gst_segment_get_type):
16981         * gst/gststructure.c: (gst_structure_get_type):
16982         * gst/gstsystemclock.c: (gst_system_clock_get_type):
16983         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16984         * gst/gstvalue.c:
16985         Help compiler with type registration.
16986
16987         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16988         Small doc update.
16989
16990 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
16991
16992         * plugins/elements/gsttypefindelement.c:
16993         (gst_type_find_element_handle_event):
16994           When we get an EOS event and have not found a type yet
16995           (most likely because we had not yet accumulated
16996           TYPE_FIND_MIN_SIZE of data yet), try to determine the
16997           type given the data we have so far. Fixes typefinding
16998           for very short streams again, most notably quicktime
16999           redirections as used on Apple's trailer site (#331701).
17000
17001 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17002
17003         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17004         (gst_type_find_helper):
17005           Try typefinding factories with the highest rank first.
17006
17007 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17008
17009         * docs/libs/gstreamer-libs-docs.sgml:
17010         * docs/libs/gstreamer-libs-sections.txt:
17011         * libs/gst/base/gsttypefindhelper.c:
17012           Add section for typefind helper and add documentation
17013           for the old and the new function.
17014
17015 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17016
17017         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17018         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17019         (gst_type_find_helper_for_buffer):
17020         * libs/gst/base/gsttypefindhelper.h:
17021           New API: gst_type_find_helper_for_buffer() (#332723).
17022           
17023 2006-02-27  Michael Smith  <msmith@fluendo.com>
17024
17025         Patch by: Loïc Minier
17026
17027         * configure.ac:
17028         * docs/Makefile.am:
17029         * docs/slides/Makefile.am:
17030           prevent CVS directories getting disted.
17031
17032 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17033
17034         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17035           Use the REFCOUNTING category for caps refcounting.
17036           
17037 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17038
17039         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17040           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17041
17042 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17043
17044         * plugins/elements/gsttypefindelement.c:
17045         (gst_type_find_element_activate):
17046           Use gst_pad_check_pull_range() before _activate_pull()
17047           to avoid unnecessary open/close (see #331690).
17048
17049 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17050
17051         * gst/gstutils.c:
17052           Docs enhancement: make it crystal clear what the
17053           gst_pad_add_*_probe() callbacks should look like.
17054
17055 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17056
17057         * libs/gst/base/gstbasesrc.c:
17058           Document how applications can stop recording from
17059           live sources (see #330996).
17060
17061 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17062
17063         * tests/check/Makefile.am:
17064         * tests/check/libs/basesrc.c: (eos_event_counter),
17065         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17066         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17067         (gst_basesrc_suite), (main):
17068           ... and add some tests for the base source EOS stuff.
17069
17070 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17071
17072         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17073           Test case originally showed the problem fixed below,
17074           but was then amended. Add checks back at the place
17075           where they used to be.
17076
17077 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17078
17079         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17080         (gst_base_src_init), (gst_base_src_loop),
17081         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17082         (gst_base_src_change_state):
17083         * libs/gst/base/gstbasesrc.h:
17084           Don't unconditionally send EOS when going from PAUSED to
17085           READY state, esp. make sure we don't send two EOS events
17086           in some cases (e.g. one when reaching EOS and one when
17087           going from PAUSED to READY). Also, we don't want to send
17088           EOS events when operating in pull mode. However, we do
17089           want to send an EOS event when shutting down a live
17090           source explicitly, for example (fixes #330996).
17091           
17092 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17093
17094         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17095           Update src->read_position after a seek when not using mmap.
17096           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17097
17098 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17099
17100         * gst/Makefile.am:
17101         * gst/gstparse.h:
17102         * gst/gstutils.c:
17103         * gst/gstutils.h:
17104         Make things work with --disable-parse as they do with 
17105         --disable-load-save - the symbols involved disappear, but the
17106         header is still installed and GST_DISABLE_PARSE is included via
17107         gstconfig.h
17108
17109 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17110
17111         * libs/gst/base/gstbasetransform.c:
17112         (gst_base_transform_change_state): Fix a stupid bug. I was 
17113         sure I compiled that.
17114
17115 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17116
17117         * gst/gstpad.c: (gst_pad_set_blocked_async):
17118         * gst/gstutils.c: (gst_pad_add_data_probe),
17119         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17120         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17121         (gst_pad_remove_buffer_probe): Make those function act on the
17122         ghostpad target when it's a ghostpad. (Closes #331727)
17123
17124 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17125
17126         * libs/gst/base/gstbasetransform.c:
17127         (gst_base_transform_change_state): Make basetransform reusable.
17128         (Closes #331898)
17129
17130 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17131
17132         * docs/random/release:
17133         Move the current documentation of how to do a release to the top
17134         of the file.
17135
17136         * gst/gstbin.c: (gst_bin_class_init),
17137         (gst_bin_handle_message_func):
17138         Allow multiple state-recalculation threads. (Closes #328873)
17139
17140 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17141
17142         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17143         * gst/gstpad.c: (gst_pad_set_event_function),
17144         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17145         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17146         2 strings. You can't use the STR_NULL macro on that.
17147
17148 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17149
17150         * gst/gstpad.c: (gst_pad_set_event_function),
17151         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17152         (gst_pad_set_getcaps_function)
17153         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17154           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17155           So now, we can use --gst-debug-level=5 on Windows
17156         * win32/common/libgstcontroller.def:
17157           Added export of gst_controller_init
17158         * win32/vs6/libgstcontroller.dsp:
17159           Fixed Release post build configuration
17160
17161 2006-02-17  Wim Taymans  <wim@fluendo.com>
17162
17163         * tests/check/gst/gstquery.c: (GST_START_TEST):
17164         Added another check.
17165
17166 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17167
17168         * plugins/elements/gsttypefindelement.c: (find_peek):
17169           We can do peeks at non-zero offsets, as long as they
17170           fall within the buffer we have.
17171
17172 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17173
17174         * tests/check/Makefile.am:
17175         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17176         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17177         (parse_suite), (main):
17178           Add testsuite for parse launch syntax
17179
17180 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17181
17182         * plugins/elements/gsttypefindelement.c:
17183         (gst_type_find_element_chain):
17184           When typefinding is unsuccessful in the chain function, don't
17185           error out immediately. Only error out with NO_CAPS_FOUND if
17186           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17187           otherwise simply wait for more data so we can try typefinding
17188           again with more data later. Also, don't attempt to typefind
17189           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17190           this should improve typefinding from network sources where the
17191           size of the first buffer can be somewhat random.
17192
17193 2006-02-14  Wim Taymans  <wim@fluendo.com>
17194
17195         * docs/gst/gstreamer-sections.txt:
17196         * gst/gstpadtemplate.c:
17197         * gst/gstpadtemplate.h:
17198         Fix padtemplate docs, fixes #328805.
17199
17200 2006-02-14  Wim Taymans  <wim@fluendo.com>
17201
17202         * tools/gst-launch.c: (main):
17203         NO_PREROLL is not an ERROR so don't send confusing messages
17204         to the user.
17205
17206 2006-02-14  Wim Taymans  <wim@fluendo.com>
17207
17208         Patch by: Torsten Schoenfeld
17209
17210         * gst/gstregistry.c: (gst_registry_get_default),
17211         (_gst_registry_cleanup):
17212         Protect default registry with lock and ref/sink it.
17213         Fixes #324818
17214
17215 2006-02-14  Wim Taymans  <wim@fluendo.com>
17216
17217         * gst/gstbuffer.c:
17218         * gst/gstquery.c: (gst_query_list_add_format),
17219         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17220         (gst_query_parse_formats_nth):
17221         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17222         Docs fixes.
17223
17224 2006-02-14  Wim Taymans  <wim@fluendo.com>
17225
17226         * docs/gst/gstreamer-sections.txt:
17227         Reworked query docs.
17228
17229         * gst/gstquery.c: (gst_query_new_formats),
17230         (gst_query_list_add_format), (gst_query_set_formats),
17231         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17232         (gst_query_parse_formats_nth):
17233         * gst/gstquery.h:
17234         Flesh out formats query, added some new methods.
17235         Fix part of #324398.
17236
17237         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17238         Added query creation tests.
17239
17240 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17241
17242         * gst/gstpad.c: (fixate_value):
17243         Add a default fixation for fraction lists.
17244
17245 2006-02-13  Wim Taymans  <wim@fluendo.com>
17246
17247         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17248         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17249         (gst_task_join):
17250         * gst/gsttask.h:
17251         Detect and warn for obvious deadlocks. fixes #320340
17252         Fix error case where lock was not released.
17253
17254         * tests/check/Makefile.am:
17255         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17256         (task_func), (gst_element_suite), (main):
17257         Add task check.
17258
17259 2006-02-13  Wim Taymans  <wim@fluendo.com>
17260
17261         * docs/gst/gstreamer-sections.txt:
17262         * gst/gstbus.c:
17263         Add new functions to docs.
17264
17265 2006-02-13  Wim Taymans  <wim@fluendo.com>
17266
17267         * docs/design/part-TODO.txt:
17268         Updated TODO list, basesrc supports seeking to non-bytes
17269         formats.
17270
17271         * docs/design/part-element-sink.txt:
17272         Update docs.
17273
17274         * gst/gstbin.c: (bin_replace_message),
17275         (gst_bin_handle_message_func):
17276         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17277         * gst/gstevent.c: (gst_event_finalize):
17278         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17279         (gst_pad_send_event):
17280         Use shiny new _TYPE_NAME macros.
17281
17282         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17283         Move debug statement up.
17284
17285         * gst/gstelement.c: (gst_element_set_locked_state):
17286         Add some debugging.
17287
17288 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17289
17290         * docs/gst/gstreamer-sections.txt:
17291         * gst/gstmessage.h:
17292         * gst/gstquery.h:
17293           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17294           macros (#330906). Also, document the already existing
17295           GST_QUERY_TYPE macro.
17296
17297 2006-02-13  Wim Taymans  <wim@fluendo.com>
17298
17299         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17300         (event_probe), (GST_START_TEST):
17301         Only events up to the pipeline EOS are counted, there are
17302         some more when going to NULL currently which we don't care
17303         about for now.
17304
17305 2006-02-13  Wim Taymans  <wim@fluendo.com>
17306
17307         * gst/gstpad.c: (gst_pad_send_event):
17308         Correctly check flushing and emit probes. fixes #330125
17309
17310 2006-02-10  Andy Wingo  <wingo@pobox.com>
17311
17312         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17313         structure.
17314         (gst_bus_init): Cache the location of the private data in the
17315         instance structure.
17316         (gst_bus_enable_sync_message_emission) 
17317         (gst_bus_disable_sync_message_emission): Implement new public
17318         functions.
17319         (gst_bus_post): Emit the sync-message signal if the user asked for
17320         it. Fixes #330684.
17321
17322         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17323         location of the bus-private structure.
17324         (gst_bus_enable_sync_message_emission)
17325         (gst_bus_disable_sync_message_emission): API addition
17326
17327 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17328
17329         Patch by: Vincent Torri
17330
17331         * docs/pwg/building-boiler.xml:
17332         PWG patch from #326800
17333
17334 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17335
17336         * configure.ac:
17337         * docs/Makefile.am:
17338         * docs/design/Makefile.am:
17339           Dist design docs.
17340
17341 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17342
17343         * configure.ac:
17344           back to CVS
17345
17346 === release 0.10.3 ===
17347
17348 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17349
17350         * configure.ac:
17351           releasing 0.10.3, "Like a virgin"
17352
17353 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17354
17355         * configure.ac:
17356           2nd prerelease of 0.10.3
17357           Bump libtool versioning.
17358
17359 2006-02-07  Andy Wingo  <wingo@pobox.com>
17360
17361         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17362         update last_stop if we're in TIME format and the timestamp is
17363         valid.
17364
17365         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17366         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17367         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17368         If we get a new newsegment with a different format, adapt
17369         accordingly.
17370
17371         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17372         of 0. Not a problem, really.
17373
17374         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17375         warn if sync=true.
17376
17377 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17378
17379         * configure.ac:
17380           Prelease of 0.10.3
17381
17382 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17383
17384         * win32/vs7:
17385           project files updated to the default vs7 configuration
17386         * win32/common/libgstbase.def:
17387         * win32/common/libgstreamer.def:
17388           added new symbols,
17389           removed empty lines,
17390           sorted all exported symbols alphabetically
17391         * win32/common/dirent.c:
17392         * win32/common/dirent.h:
17393         * win32/common/gchar.h:
17394           use windows line end.
17395           
17396 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17397
17398         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17399           Send EOS event when stopping.
17400
17401 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17402
17403         * docs/README:
17404           Tell folks what to do if the plugin-foobar.xml file
17405           hasn't been generated for a newly-added plugin.
17406
17407 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17408
17409         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17410         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17411         (gst_collect_pads_start), (gst_collect_pads_stop),
17412         (gst_collect_pads_event): Collectpads now holds a reference
17413         to the GstPad that was added. Indeed we don't want to look
17414         at pads that might just go away with no warning...
17415
17416 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17417
17418         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17419         (gst_collect_pads_start), (gst_collect_pads_stop),
17420         (gst_collect_pads_event), (gst_collect_pads_chain):
17421         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17422         Mark Nauwelaerts's patch on bug #328491.
17423
17424 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17425
17426         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17427         (gst_utils_suite):
17428           Add some simple tests for gst_parse_bin_from_description() and
17429           gst_bin_find_unconnected_pad() (#329069).
17430
17431 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17432
17433         * tools/gst-launch.c: (event_loop), (main):
17434           Catch errors during preroll (#320084).
17435
17436 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17437
17438         * plugins/elements/gsttypefindelement.c:
17439         (gst_type_find_element_activate):
17440           Post TYPE_NOT_FOUND error message when typefinding
17441           is unsuccessful in the activate function as well.
17442
17443 2006-02-02  Wim Taymans  <wim@fluendo.com>
17444
17445         * docs/design/part-element-sink.txt:
17446         Updated doc.
17447
17448 2006-02-02  Wim Taymans  <wim@fluendo.com>
17449
17450         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17451         (gst_base_sink_render_object),
17452         (gst_base_sink_queue_object_unlocked):
17453         Only keep track of prerollable items when we are 
17454         prerolling.
17455         Before rendering after preroll, always check if we
17456         have queued items.
17457         Added some more debugging.
17458
17459 2006-02-02  Wim Taymans  <wim@fluendo.com>
17460
17461         * gst/gstelement.c: (gst_element_continue_state),
17462         (gst_element_set_state_func), (gst_element_change_state):
17463         Fixed #326576, been running this for quite some time with
17464         no regressions at all.
17465
17466 2006-02-02  Wim Taymans  <wim@fluendo.com>
17467
17468         * common/gst.supp:
17469         Added more suppressions
17470
17471 2006-02-02  Wim Taymans  <wim@fluendo.com>
17472
17473         * docs/design/part-element-sink.txt:
17474         Updated document.
17475
17476         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17477         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17478         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17479         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17480         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17481         (gst_base_sink_preroll_object),
17482         (gst_base_sink_queue_object_unlocked),
17483         (gst_base_sink_queue_object), (gst_base_sink_event),
17484         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17485         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17486         (gst_base_sink_get_position), (gst_base_sink_change_state):
17487         * libs/gst/base/gstbasesink.h:
17488         Totally refactored matching the design doc.
17489         Use two segments, one to clip incomming buffers and another to
17490         perform sync.
17491         Handle queueing correctly, bypass the queue when playing.
17492         Make EOS cancelable.
17493         Handle errors correctly when operating in pull based mode.
17494
17495         * tests/check/elements/fakesink.c: (GST_START_TEST),
17496         (fakesink_suite):
17497         Added new check for sinks.
17498
17499 2006-02-02  Wim Taymans  <wim@fluendo.com>
17500
17501         * gst/gstsegment.c: (gst_segment_clip):
17502         No reason to refuse to clip when start == -1
17503
17504 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17505
17506         * docs/README:
17507         * docs/manual/intro-basics.xml:
17508         * docs/manual/intro-preface.xml:
17509         * docs/manual/manual.xml:
17510         * docs/pwg/advanced-dparams.xml:
17511         * docs/pwg/intro-basics.xml:
17512         * docs/pwg/intro-preface.xml:
17513         * docs/pwg/pwg.xml:
17514           describe dparams (controller) for plugins
17515           unify docs a little more
17516
17517 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17518
17519         * docs/gst/gstreamer-sections.txt:
17520         * gst/gstutils.c: (element_find_unconnected_pad),
17521         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17522         * gst/gstutils.h:
17523           Add new API: gst_parse_bin_from_description() and
17524           gst_bin_find_unconnected_pad() (#329069).
17525
17526 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17527
17528         * docs/manual/README:
17529           uncover a nasty detail of the docs build
17530
17531 2006-01-31  Wim Taymans  <wim@fluendo.com>
17532
17533         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17534         Don't cache duration messages if we're not going to use or
17535         free them.
17536
17537 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17538
17539         * docs/manual/advanced-dparams.xml:
17540         * docs/pwg/advanced-dparams.xml:
17541           more dparam docs
17542         * gst/gstindex.c:
17543           fix docs
17544         * libs/gst/controller/lib.c: (gst_controller_init):
17545           init just once
17546
17547 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17548
17549         * gst/gstelement.c: (gst_element_message_full):
17550           also show file/line/func if no additional debug was given
17551
17552 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17553         
17554         * win32/vs7/grammar.vcproj:
17555           activate copy of autogenerated files for Release mode
17556
17557 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17558         
17559         * win32/common/libgstreamer.def:
17560           export gst_value_compare
17561
17562 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17563
17564         * plugins/elements/Makefile.am:
17565         * plugins/elements/gstelements.c:
17566         * plugins/elements/gstfdsink.c: (_do_init),
17567         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17568         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17569         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17570         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17571         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17572         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17573         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17574         * plugins/elements/gstfdsink.h:
17575         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17576
17577 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17578
17579         * docs/manual/advanced-dparams.xml:
17580           describe controller
17581         * docs/manual/advanced-position.xml:
17582         * docs/manual/basics-init.xml:
17583         * docs/manual/manual.xml:
17584         * docs/manual/titlepage.xml:
17585         * docs/pwg/pwg.xml:
17586         * docs/pwg/titlepage.xml:
17587           cleanup xml (more to come)
17588         * libs/gst/controller/gstcontroller.c:
17589           fix typo
17590
17591 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17592         
17593         * win32/vs6/grammar.dsp:
17594           add autogen of gstmarshal.c,h for Release mode
17595                 
17596 2006-01-30  Wim Taymans  <wim@fluendo.com>
17597
17598         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17599         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17600         (gst_base_sink_handle_object), (gst_base_sink_event),
17601         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17602         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17603         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17604         (gst_base_sink_deactivate), (gst_base_sink_activate),
17605         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17606         (gst_base_sink_query), (gst_base_sink_change_state):
17607         Basesink cleanups, remove some old code.
17608         Handle the case where a subclass can preroll in the render
17609         method (mostly audiosinks).
17610         Handle more events.
17611         Remove some locks around variables that are now protected
17612         with the PREROLL_LOCK (clock_id, flushing, ..).
17613         Optimize position query some more, do correct locking.
17614         Remove old code to push queue in state change, this is not
17615         needed anymore since preroll blocks on all prerollable items 
17616         now.
17617         Almost implemented as described in design doc.
17618
17619 2006-01-30  Wim Taymans  <wim@fluendo.com>
17620
17621         * tests/check/gst/gstbin.c: (GST_START_TEST):
17622         Wait for refcount to settle down before checking.
17623
17624 2006-01-30  Wim Taymans  <wim@fluendo.com>
17625
17626         * docs/design/part-element-sink.txt:
17627         Pseudo code overview of desired sink behaviour regarding
17628         preroll.
17629
17630 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17631         * win32/vs6/grammar.dsp:
17632           fix some bugs in Release mode for autogenerated files
17633                 
17634 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17635         * win32/common/libgstbase.def:
17636         * win32/common/libgstreamer.def:
17637           export some new symbols: gst_base_src_set_format,
17638           gst_iterator_next, gst_structure_set_valist
17639
17640 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17641
17642         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17643         Set pad functions unconditionally. Fixes #329105.
17644
17645 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17646         * win32/vs8:
17647           add vs8 project files created by Sergey Scobich
17648
17649 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17650
17651         * gst/gstutils.c: (gst_element_unlink_pads):
17652         Don't leak pad references.
17653
17654         * tests/check/elements/fakesink.c: (GST_START_TEST):
17655         * tests/check/generic/sinks.c: (GST_START_TEST):
17656         * tests/check/generic/states.c: (GST_START_TEST):
17657         * tests/check/gst/gstbin.c: (GST_START_TEST):
17658         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17659         * tests/check/gst/gstelement.c: (GST_START_TEST):
17660         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17661         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17662         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17663         Fix a bunch of leaks. Make generic/sinks.c
17664         use a bit less cpu by slowing the buffer rate
17665         between fakesrc and fakesink.
17666         
17667 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17668         * gst/gstcaps.c:
17669         * gst/gstelement.c: (gst_element_send_event):
17670         * gst/gstevent.c:
17671         * gst/gstinfo.c:
17672         * gst/gstiterator.c:
17673         * gst/gstiterator.h:
17674         * gst/gstpad.c: (gst_pad_send_event):
17675         * gst/gststructure.c:
17676         * gst/gsturi.c:
17677         * gst/gstutils.c:
17678         * gst/gstvalue.c:
17679         * libs/gst/base/gstadapter.c:
17680           doc fixes, to link to function, just write gst_cool_function(), don't
17681           prefix with '#'
17682
17683 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17684
17685         * plugins/elements/gsttee.c: (gst_tee_do_push),
17686         (gst_tee_handle_buffer):
17687         Always prefer an actual return value from a src
17688         pad in place of NOT_LINKED. This means we return
17689         WRONG_STATE when all src pads are WRONG_STATE
17690         instead of NOT_LINKED.
17691
17692         Lock when replacing the last message to prevent
17693         racing with the get_property method.
17694
17695         Add debug output
17696
17697 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17698
17699         * tests/check/Makefile.am:
17700         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17701         (main):
17702         Add a very simple check that should have caught the memleak I fixed
17703         last night (if not for the slice allocator hiding it)
17704
17705 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17706
17707         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17708         (gst_bin_remove_func), (gst_bin_handle_message_func),
17709         (bin_query_duration_fold), (bin_query_generic_fold):
17710         Clean up references to the clock provider when disposed or when
17711         handling a clock-lost message from it.
17712
17713         Unref sinks when performing a query via gst_iterator_fold, as the
17714         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17715
17716         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17717         (gst_clock_set_master):
17718         Drop our reference to the master clock, if any, when we are disposed.
17719
17720         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17721         Chain up in dispose. 
17722
17723 2006-01-26  Wim Taymans  <wim@fluendo.com>
17724
17725         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17726         Add some debugging.
17727
17728 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17729
17730         * plugins/elements/gsttee.c: (gst_tee_do_push),
17731         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17732         handles pad being NOT_LINKED or in WRONG_STATE.
17733
17734 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17735
17736         * win32/MANIFEST:
17737           more updating
17738
17739 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17740
17741         * win32/MANIFEST:
17742           remove obsolete entry
17743
17744 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17745
17746         * docs/gst/gstreamer-sections.txt:
17747         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17748         (gst_bin_iterate_sources), (gst_bin_send_event):
17749         * gst/gstbin.h:
17750         * gst/gstelement.c: (gst_element_send_event):
17751         * gst/gstevent.c:
17752         * gst/gstpad.c: (gst_pad_send_event):
17753           added code for downstream events, reviewed docs in gstevent.c
17754
17755 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17756
17757         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17758         We only query position using the clock in the playing state.
17759         Query peer in the other cases.
17760         * win32/common/config.h: Updates.
17761
17762 2006-01-24  Wim Taymans  <wim@fluendo.com>
17763
17764         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17765         A clock entry that is scheduled for the exact time of the
17766         clock is still in time.
17767
17768         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17769         (gst_base_sink_do_sync):
17770         Add some more debug info.
17771
17772 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17773
17774         * win32/vs7:
17775           Add new vs7 project files and solution.
17776
17777 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17778
17779         * win32/vs7:
17780           all files removed as they were out-dated.
17781
17782 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17783
17784         * docs/random/release:
17785           update notes
17786         * gst/gstbin.c: (gst_bin_init):
17787         * gst/gstbus.c: (gst_bus_new):
17788         * gst/gstbus.h:
17789         * gst/gstpipeline.c: (gst_pipeline_init):
17790           use gst_bus_new(), improve logging, fix docs
17791         * win32/common/config.h:
17792           update for cvs build
17793
17794 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17795
17796         * autogen.sh:
17797           up required version of automake to 1.7
17798
17799 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17800
17801         * win32/common/libgstreamer.def:
17802           export gst_buffer_is_metadata_writable
17803
17804 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17805
17806         * docs/gst/gstreamer-sections.txt:
17807         * gst/gstevent.h:
17808           Add gst_event_replace() (#327001)
17809
17810 2006-01-20  Wim Taymans  <wim@fluendo.com>
17811
17812         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17813         Make it actually compile too..
17814
17815 2006-01-20  Wim Taymans  <wim@fluendo.com>
17816
17817         * gst/gstcaps.c:
17818         Clarify behaviour of _is_equal() when passing NULL parameters.
17819
17820         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17821         (gst_pad_set_caps):
17822         Cleanups. Don't unref NULL caps.
17823         When setting the same caps, protect caps of the pad with
17824         proper lock.
17825         Use full functionality of _is_equal() when comparing caps.
17826
17827 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17828
17829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17830         Don't loop infinitely if there are no buffers to present. Partially
17831         fixes #327197, but collectpads is just broken for reusing elements
17832         to do multiple encodes atm.
17833
17834 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17835
17836         * tools/gst-inspect.c: (print_element_features):
17837         * tools/gst-xmlinspect.c: (main):
17838         URL_HANDLER is not a plugin feature we can search for in
17839         the registry.
17840
17841 2006-01-19  Edward Hervey  <edward@fluendo.com>
17842
17843         * gst/gstelement.c: (gst_element_pads_activate): 
17844         When activating, do src pads first, then sink pads.
17845         When de-activating, do sink pads first, then src pads.
17846
17847 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17848
17849         * docs/gst/gstreamer-sections.txt:
17850         Add gst_index_add_associationv to the docs
17851
17852 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17853
17854         * gst/gstevent.c:
17855           Fix docs typo
17856
17857         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17858         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17859           Do some refactoring. Doesn't actually change functionality,
17860           but makes landing the DRAIN event easier later.
17861
17862 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17863
17864         * docs/pwg/advanced-scheduling.xml:
17865           Update from 0.9.x to 0.10 API and make example a bit
17866           clearer.
17867
17868 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17869
17870         * docs/gst/gstreamer-sections.txt:
17871         Add gst_buffer_(is|make)_metadata_writable methods.
17872
17873 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17874
17875         * docs/design/part-sparsestreams.txt:
17876         Update sparse streams doc, hopefully for greater clarity
17877
17878 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
17879
17880         * docs/design/part-events.txt:
17881         Remove mention of FILLER events.
17882         Add DRAIN event.
17883
17884         * docs/design/part-sparsestreams.txt:
17885         Write some things about using NEWSEGMENT to keep sparse streams
17886         flowing.
17887
17888 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17889
17890         * gst/gstbin.c: (gst_bin_dispose):
17891           Guard gst_object_unref call against a NULL object (dispose
17892           can theoretically be called multiple times).
17893           
17894 2006-01-18  Wim Taymans  <wim@fluendo.com>
17895
17896         * gst/gstbin.c: (gst_bin_element_set_state):
17897         * gst/gstclock.c: (gst_clock_id_wait):
17898         Added some more debug info.
17899
17900         * libs/gst/base/gstadapter.c:
17901         Added more docs.
17902
17903         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17904         (gst_base_sink_do_sync), (gst_base_sink_chain):
17905         Added some comments.
17906
17907 2006-01-18  Wim Taymans  <wim@fluendo.com>
17908
17909         * tests/check/Makefile.am:
17910         * tests/check/elements/fakesink.c: (chain_async_buffer),
17911         (chain_async), (chain_async_return), (GST_START_TEST),
17912         (fakesink_suite), (main):
17913         Added fakesink test that checks prerolling and clipping
17914         behaviour.
17915
17916         * tests/check/gst/gstutils.c: (GST_START_TEST):
17917         Make check run faster so that buildbots don't timeout.
17918
17919 2006-01-18  Wim Taymans  <wim@fluendo.com>
17920
17921         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17922         (gst_base_sink_do_sync):
17923         Some cleanups.
17924         When the sink finishes blocking on the preroll buffer, it can
17925         immediatly render it instead of rendering when the next buffer
17926         arrives.
17927
17928 2006-01-18  Wim Taymans  <wim@fluendo.com>
17929
17930         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17931         (gst_base_sink_get_property), (gst_base_sink_do_sync),
17932         (gst_base_sink_chain):
17933         Small cleanups.
17934         GST_ELEMENT_CLOCK and sync are protected with LOCK.
17935         Don't store _last_stop if the buffer is dropped.
17936
17937 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
17938
17939         * plugins/elements/gsttypefindelement.c:
17940         (gst_type_find_element_class_init):
17941           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17942           object method handler that sets the caps on the pad and we want
17943           that to happen before we emit the signal (fixes e.g. feeding a
17944           plain text file to decodebin).
17945
17946 2006-01-18  Christian Schaller  <Christian@fluendo.com>
17947
17948         * gst/gstplugin.c: Add MPL and Proprietary as license options
17949
17950 2006-01-18  Andy Wingo  <wingo@pobox.com>
17951
17952         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17953         symbol was exported before, it appears this was just an oversight.
17954         Fixes #168703.
17955         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17956
17957         * gst/gstindex.c (gst_index_add_associationv): Changed int in
17958         prototype to gint. OK since this prototype was not in the header.
17959
17960 2006-01-17  Andy Wingo  <wingo@pobox.com>
17961
17962         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17963         registry while we remove plugins.
17964
17965         * tools/gst-inspect.c (print_element_info): Don't unref the
17966         factory arg, that should be the responsibility of whatever code
17967         received the ref. Fixes a double-free when called from
17968         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17969         (main): Unref the factory if we have one.
17970         (print_element_list): No change -- relies on the
17971         plugin_feature_list_free to free the list of features.
17972
17973 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
17974
17975         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17976         (gst_buffer_make_metadata_writable):
17977         * gst/gstbuffer.h:
17978         * libs/gst/base/gstbasetransform.c:
17979         (gst_base_transform_prepare_output_buf):
17980         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17981         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17982           Replace gst_buffer_(make|is)_metadata_writable patch now
17983           that the release is out.
17984
17985 2006-01-17  Andy Wingo  <wingo@pobox.com>
17986
17987         * gst/gstregistry.c: Reflow design comment. Update so as to speak
17988         in the present tense without reference to versions.
17989
17990         * gst/gstregistry.c (gst_registry_add_plugin)
17991         (gst_registry_remove_plugin, gst_registry_remove_feature)
17992         (gst_registry_find_feature, gst_registry_get_feature_list)
17993         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17994         (gst_registry_lookup, gst_registry_scan_path)
17995         (_gst_registry_remove_cache_plugins)
17996         (gst_registry_get_feature_list_by_plugin): Add argument
17997         validation.
17998
17999 === release 0.10.2 ===
18000
18001 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18002
18003         * configure.ac:
18004           releasing 0.10.2, "If man is five"
18005
18006 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18007
18008         * gst/gstbuffer.c:
18009         * gst/gstbuffer.h:
18010         * libs/gst/base/gstbasetransform.c:
18011         (gst_base_transform_prepare_output_buf):
18012         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18013         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18014           Back out patch until after the release.
18015
18016 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18017
18018         * gst/gstminiobject.c:
18019           Spelling fix in docs.
18020         * ChangeLog - remove conflict indicator
18021
18022 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18023
18024         Reviewed By: Andy Wingo
18025
18026         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18027         (gst_buffer_make_metadata_writable):
18028         * gst/gstbuffer.h:
18029           Add gst_buffer_(is|make)_metadata_writable as analogues of
18030           gst_buffer_(is|make)_writable.
18031
18032         * libs/gst/base/gstbasetransform.c:
18033         (gst_base_transform_prepare_output_buf):
18034         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18035           Use name gst_buffer_(is|make)_metadata_writable functions.
18036
18037         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18038           Test gst_buffer_(is|make)_metadata_writable
18039         
18040           (Closes: #324162)
18041
18042 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18043
18044         * docs/manual/Makefile.am:
18045           don't do parallel make
18046         * configure.ac:
18047           AC_SUBST HOST_CPU
18048         * win32/common/config.h.in:
18049           add generations for HOST_CPU and GST_MAJORMINOR
18050         * win32/common/config.h:
18051           commit generated result
18052
18053 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18054
18055         * docs/manual/appendix-integration.xml:
18056           Update GNOME integration section to use gst_init_get_option_group()
18057           instead of the old popt stuff (#322911). Also, GNOME applications
18058           should  now use gconf*sink and gconf*src instead of the old gconf
18059           helper lib we had.
18060
18061 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18062
18063
18064         * docs/gst/gstreamer-docs.sgml:
18065         * docs/gst/gstreamer-sections.txt:
18066         * docs/libs/gstreamer-libs-sections.txt:
18067           add new API entries to the docs
18068         * libs/gst/controller/Makefile.am:
18069         * libs/gst/controller/gstcontroller.c:
18070         * libs/gst/controller/gstcontroller.h:
18071         * libs/gst/controller/gstcontrollerprivate.h:
18072         * libs/gst/controller/gsthelper.c:
18073         * libs/gst/controller/gstinterpolation.c:
18074           move private structs to private header
18075         * po/README:
18076           gstreamer-0.7 -> gstreamer-0.10
18077         * tests/check/libs/struct_i386.h:
18078           remove private structs
18079
18080 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18081
18082         * plugins/indexers/Makefile.am:
18083           Fixes as part of #317048
18084
18085 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18086
18087         * plugins/indexers/Makefile.am:
18088           fix #316086 - compilation when mmap is missing
18089
18090 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18091
18092         * libs/gst/base/gstbasesink.c:
18093           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18094           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18095         * win32/common/config.h:
18096           added some defines GST_MAJORMINOR and HOST_CPU
18097         * win32/common/libgstbase.def:
18098         * win32/common/libgstreamer.def:
18099           added some exported functions.
18100
18101 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18102
18103         * libs/gst/controller/gstcontroller.c:
18104         (gst_controlled_property_set_interpolation_mode),
18105         (gst_controlled_property_new):
18106         * libs/gst/controller/gstcontroller.h:
18107         * libs/gst/controller/gstinterpolation.c:
18108         (interpolate_none_get_string_value_array):
18109           make G_TYPE_STRING controlable
18110
18111 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18112
18113         * tools/README:
18114         * tools/gst-feedback.1.in:
18115         * tools/gst-inspect.1.in:
18116         * tools/gst-launch.1.in:
18117         * tools/gst-md5sum.1.in:
18118         * tools/gst-typefind.1.in:
18119         * tools/gst-xmlinspect.1.in:
18120         * tools/gst-xmllaunch.1.in:
18121           cleanup man-pages, remove reference to gst-register, document env-vars
18122
18123 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18124
18125         * gst/gstbuffer.c: (gst_buffer_span):
18126           gst_buffer_span should copy the timestamp of the first buffer
18127           if they were both originally overlapping subbuffers of the 
18128           same parent, using the same logic as the 'slow copy' case.
18129
18130 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18131
18132         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18133           Need to awaken ALL the pads when we pop a buffer, otherwise
18134           collectpads only works when there is 2 input streams.
18135
18136 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18137
18138         * docs/random/ensonic/media-device-daemon.txt:
18139           more ideas (dbus)
18140         * gst/gstbuffer.c:
18141           fix doc example, add clarification
18142         * tools/gst-launch.1.in:
18143           add initial info about GST_PLUGIN_PATH, needs more work
18144
18145 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18146
18147         * docs/manual/basics-bins.xml:
18148         * docs/manual/basics-elements.xml:
18149         * docs/manual/intro-basics.xml:
18150           Some more minor docs additions and updates.
18151
18152 2006-01-11  Wim Taymans  <wim@fluendo.com>
18153
18154         * docs/manual/basics-bins.xml:
18155         * docs/manual/basics-elements.xml:
18156         Some small fixes as pointed out by Ser-ver on IRC.
18157
18158 2006-01-10  Edward Hervey  <edward@fluendo.com>
18159
18160         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18161         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18162         the single-segment mode.
18163
18164 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18165
18166         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18167
18168         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18169         (gst_base_src_perform_seek), (gst_base_src_send_event),
18170         (gst_base_src_set_property), (gst_base_src_get_property),
18171         (gst_base_src_loop), (gst_base_src_start),
18172         (gst_base_src_activate_push):
18173         * libs/gst/base/gstbasesrc.h:
18174           Name (private) union; makes Sun's Forte compiler happy (#324900).
18175
18176 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18177
18178         * README:
18179           gst-register is gone.
18180
18181 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18182
18183         * gst/gstvalue.c: (_gst_value_initialize):
18184           make the G_TYPE_DATE instantiation work if debug is disabled
18185
18186 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18187
18188         * gst/gstmessage.c: (gst_message_parse_tag),
18189         (gst_message_parse_error), (gst_message_parse_warning):
18190           Don't crash when return location for error/warning debug
18191           string is NULL; add fact that return locations can be
18192           NULL to docs where appropriate.
18193
18194 2006-01-05  Wim Taymans  <wim@fluendo.com>
18195
18196         * gst/gstplugin.c: (gst_plugin_load_file):
18197         Replace strdup by g_strdup.
18198
18199 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18200
18201         * docs/pwg/advanced-types.xml:
18202           fix doc borkage
18203
18204 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18205
18206         submitted by: Abel Cheung
18207
18208         * po/LINGUAS:
18209         * po/zh_TW.po:
18210           Added Chinese (traditional) translation
18211
18212 2006-01-04  Wim Taymans  <wim@fluendo.com>
18213
18214         * docs/manual/basics-pads.xml:
18215         * docs/plugins/Makefile.am:
18216         * docs/plugins/gstreamer-plugins-docs.sgml:
18217         * docs/plugins/gstreamer-plugins-sections.txt:
18218         * docs/pwg/advanced-clock.xml:
18219         * docs/pwg/advanced-scheduling.xml:
18220         * docs/pwg/advanced-types.xml:
18221         * plugins/elements/gstfdsink.c:
18222         * plugins/elements/gstfdsrc.c:
18223         * plugins/elements/gstfdsrc.h:
18224         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18225         * plugins/elements/gstidentity.h:
18226         * plugins/elements/gstqueue.h:
18227         * plugins/elements/gsttee.c:
18228         * plugins/elements/gsttee.h:
18229         * plugins/elements/gsttypefindelement.c:
18230         (gst_type_find_element_class_init):
18231         * plugins/elements/gsttypefindelement.h:
18232         Small updates to various docs.
18233         Added core plugins to docs.
18234
18235 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18236
18237         * common/gst.supp:
18238           add a suppression for liboil's uninitialized variable
18239
18240 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18241
18242         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18243
18244         * gst/gstutils.h:
18245           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18246           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18247           compiler switch is being used (#325429).
18248
18249 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18250
18251         * gst/gstbin.c: (gst_bin_query):
18252           Disable duration query caching in bins until it gets
18253           fixed (see #324807).
18254
18255 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18256
18257         * tools/gst-inspect.c: (print_element_properties_info):
18258           Handle properties of POINTER and BOXED type.
18259
18260 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18261
18262         * gst/gst.c: (init_post):
18263           Init tags stuff and some other things before loading
18264           any static plugins (there may be other static plugins
18265           than just the GStreamer ones, and they may want to
18266           register their own tags or formats or whatever, and
18267           preferably without segfaulting).
18268
18269         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18270           Print at least a warning in the debug logs if we drop a
18271           query just because we don't know how to adjust the value
18272           in the particular format.
18273
18274 2005-12-24  David Schleef  <ds@schleef.org>
18275
18276         * tools/gstreamer-completion:
18277           Replacement for gst-complete written in sh and sed.  Only
18278           completes names of features, but that's 90% of what I want
18279           it for.  Properties are not available in registry.xml.  (Maybe
18280           they should be...)
18281
18282 === release 0.10.1 ===
18283
18284 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18285
18286         * configure.ac:
18287           releasing 0.10.1, "Nollaig chridheil"
18288
18289 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18290
18291         * docs/faq/cvs.xml:
18292           Add missing quote, should be make ERROR_CFLAGS="".
18293
18294 2005-12-20  Wim Taymans  <wim@fluendo.com>
18295
18296         * docs/design/part-trickmodes.txt:
18297         More documentation on trickmodes.
18298
18299 2005-12-20  Edward Hervey  <edward@fluendo.com>
18300
18301         * gst/gstcaps.c: (gst_static_caps_get_type):
18302         * gst/gstcaps.h:
18303           API addition: GST_TYPE_STATIC_CAPS
18304         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18305         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18306         * gst/gstpadtemplate.h:
18307           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18308         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18309         bindings.
18310
18311 2005-12-18  Wim Taymans  <wim@fluendo.com>
18312
18313         * libs/gst/base/gstadapter.c:
18314         * libs/gst/base/gstadapter.h:
18315         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18316         (gst_base_sink_get_position):
18317         * libs/gst/base/gstbasesink.h:
18318         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18319         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18320         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18321         (gst_base_src_send_event), (gst_base_src_update_length),
18322         (gst_base_src_get_range), (gst_base_src_loop),
18323         (gst_base_src_start):
18324         * libs/gst/base/gstbasesrc.h:
18325         * libs/gst/base/gstbasetransform.h:
18326         * libs/gst/base/gstcollectpads.h:
18327         * libs/gst/base/gstpushsrc.c:
18328         * libs/gst/base/gstpushsrc.h:
18329         * libs/gst/dataprotocol/dataprotocol.c:
18330         * libs/gst/dataprotocol/dataprotocol.h:
18331         * libs/gst/net/gstnetclientclock.h:
18332         * libs/gst/net/gstnettimeprovider.h:
18333         Documentation updates.
18334
18335 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18336
18337         * docs/manual/basics-helloworld.xml:
18338           Remove superfluous closing bracket in helloworld example.
18339
18340 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18341
18342         * tools/gst-launch.1.in:
18343           Update gst-launch man page; add a section with useful
18344           environment variables. Fixes #323882.
18345
18346 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18347
18348         * gst/gst.c:
18349         * gst/gst_private.h:
18350           change some char* into char[]
18351
18352 2005-12-16  Wim Taymans  <wim@fluendo.com>
18353
18354         * gst/gstregistryxml.c: (load_feature):
18355         Cleanups.
18356         Don't use g_object_unref on GstObjects so that we avoid
18357         leaks on unsafe glibs.
18358
18359 2005-12-16  Wim Taymans  <wim@fluendo.com>
18360
18361         * gst/gstbin.c: (gst_bin_recalc_state):
18362         Small doc updates.
18363
18364 2005-12-16  Wim Taymans  <wim@fluendo.com>
18365
18366         * common/check.mak:
18367         Added make forever target for check.
18368
18369 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18370
18371         * gst/gst.c: (init_post):
18372           make the registry cache file HOST_CPU-dependent
18373
18374 2005-12-16  Andy Wingo  <wingo@pobox.com>
18375
18376         * plugins/elements/gstbufferstore.c
18377         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18378         return value.
18379
18380         * tests/check/gst/gstobject.c
18381         (test_fake_object_name_threaded_unique): Pay attention to
18382         g_list_sort return value.
18383
18384 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18385
18386         * tools/gst-feedback-m.m:
18387           Update for 0.9/0.10 (fixes #323870).
18388
18389 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18390
18391         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18392           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18393           
18394         * tests/check/gst/gstminiobject.c: (my_foo_init),
18395         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18396         (test_value_collection), (gst_mini_object_suite):
18397           Add test to ensure refcounts end up as expected when passing
18398           GstMiniObjects through g_object_get() and g_object_set().
18399
18400 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18401
18402         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18403         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18404         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18405         of collectpads. This version removes a lot of races without
18406         touching API/ABI. Yay !
18407
18408 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18409
18410         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18411           Don't allow activation of a srcpad in pull_range if it has no
18412           getrange function.
18413           Change some debug statements to be a little clearer
18414
18415         * plugins/elements/gsttypefindelement.c:
18416         (gst_type_find_handle_src_query):
18417           Check that we have a peer before executing queries thereupon.
18418
18419         * tests/examples/metadata/read-metadata.c: (message_loop):
18420           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18421           immediately return us any available message with 0 timeout.
18422
18423 2005-12-12  Michael Smith  <msmith@fluendo.com>
18424
18425         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18426           Don't unref factories after calling them.
18427         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18428         * plugins/elements/gsttypefindelement.c:
18429         (gst_type_find_element_chain):
18430           Free lists of factories after using them. Fixing typefinding memory
18431           leaks.
18432
18433 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18434
18435         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18436         (gst_plugin_feature_load):
18437           more meaningful debug output
18438         * configure.ac:
18439         * tests/Makefile.am:
18440         * tests/old/examples/Makefile.am:
18441           make make distcheck happy again
18442
18443 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18444
18445         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18446           Catch the special case where we are operating chain-based,
18447           but the downstream peer pad has no chain function. Emit a
18448           custom error message in this case instead of letting the
18449           core generate one implying that this is some sort of core
18450           bug. It's not, it just means that whatever got plugged
18451           into the pipeline downstream when we announced the type
18452           can only operate pull-based, while our source can only
18453           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18454           Error string has not been marked for translation yet, as
18455           it probably needs some more work first.
18456
18457         (gst_type_find_element_get_best_possibility):
18458           Add helper function to find the best of all available
18459           found possibilities that qualify given the min. threshold.
18460
18461         (gst_type_find_element_handle_event):
18462           Fix the case where we get an EOS while still in TYPEFIND
18463           mode (we want to chose the best of all possible types,
18464           not just the first type that happens to be in our unsorted
18465           list of possible types).
18466
18467         (gst_type_find_element_chain):
18468           Make sure we return GST_FLOW_ERROR when we errored out
18469           in stop_typefinding(); also, don't just find the best of
18470           all found type entries and then use the last examined
18471           type entry, but actually use the best entry.
18472
18473 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18474
18475         * tests/examples/typefind/typefind.c: (type_found):
18476         * tests/examples/xml/runxml.c: (xml_loaded):
18477           More gcc4 fixes and a mem leak fix.
18478
18479 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18480
18481         * tests/examples/xml/createxml.c: (object_saved):
18482           gcc 4 fixes
18483
18484 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18485
18486         * tests/Makefile.am:
18487           enable the examples even more
18488
18489 2005-12-12  Andy Wingo  <wingo@pobox.com>
18490
18491         * libs/gst/net/gstnettimeprovider.c
18492         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18493         (gst_net_time_provider_set_property)
18494         (gst_net_time_provider_get_property):
18495         API addition: Export "active" as a GObject property.
18496         (gst_net_time_provider_thread): Only respond to time queries if
18497         the time provider is active.
18498
18499         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18500         NetTimeProvider, preserving binary compat.
18501
18502 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18503
18504         * tests/examples/controller/audio-example.c: (main):
18505         * tests/examples/launch/Makefile.am:
18506           convert comments again
18507
18508 2005-12-12  Wim Taymans  <wim@fluendo.com>
18509
18510         * libs/gst/base/gstpushsrc.c:
18511         Fix typo.
18512
18513 2005-12-12  Wim Taymans  <wim@fluendo.com>
18514
18515         * docs/libs/gstreamer-libs-sections.txt:
18516         Added new symbol to docs.
18517
18518         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18519         (gst_base_src_init), (gst_base_src_set_format),
18520         (gst_base_src_default_query), (gst_base_src_query),
18521         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18522         (gst_base_src_perform_seek), (gst_base_src_send_event),
18523         (gst_base_src_default_event), (gst_base_src_event_handler),
18524         (gst_base_src_set_property), (gst_base_src_get_property),
18525         (gst_base_src_wait), (gst_base_src_do_sync),
18526         (gst_base_src_update_length), (gst_base_src_get_range),
18527         (gst_base_src_check_get_range), (gst_base_src_loop),
18528         (gst_base_src_default_negotiate), (gst_base_src_start),
18529         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18530         (gst_base_src_change_state):
18531         * libs/gst/base/gstbasesrc.h:
18532         Implement seeking to other formats than _BYTES.
18533         Implement more seeking methods correctly.
18534         Doc updates.
18535         Added query vmethod.
18536         Added do_seek vmethod to make life easier for subclasses
18537         when seeking.
18538         API addition: gst_base_src_set_format()
18539
18540 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18541
18542         * tests/examples/Makefile.am:
18543           added that too
18544
18545 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18546
18547         * configure.ac:
18548         * docs/random/ensonic/media-device-daemon.txt:
18549         * tests/examples/controller/.cvsignore:
18550         * tests/examples/controller/Makefile.am:
18551         * tests/examples/controller/audio-example.c: (main):
18552         * tests/examples/helloworld/.cvsignore:
18553         * tests/examples/helloworld/Makefile.am:
18554         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18555         * tests/examples/launch/.cvsignore:
18556         * tests/examples/launch/Makefile.am:
18557         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18558         * tests/examples/metadata/.cvsignore:
18559         * tests/examples/metadata/Makefile.am:
18560         * tests/examples/metadata/read-metadata.c: (message_loop),
18561         (make_pipeline), (print_tag), (main):
18562         * tests/examples/queue/.cvsignore:
18563         * tests/examples/queue/Makefile.am:
18564         * tests/examples/queue/queue.c: (event_loop), (main):
18565         * tests/examples/typefind/.cvsignore:
18566         * tests/examples/typefind/Makefile.am:
18567         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18568         (main):
18569         * tests/examples/xml/.cvsignore:
18570         * tests/examples/xml/Makefile.am:
18571         * tests/examples/xml/createxml.c: (object_saved), (main):
18572         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18573         * tests/old/examples/Makefile.am:
18574         * tests/old/examples/TODO:
18575         * tests/old/examples/controller/.cvsignore:
18576         * tests/old/examples/controller/Makefile.am:
18577         * tests/old/examples/controller/audio-example.c:
18578         * tests/old/examples/helloworld/.cvsignore:
18579         * tests/old/examples/helloworld/Makefile.am:
18580         * tests/old/examples/helloworld/helloworld.c:
18581         * tests/old/examples/launch/.cvsignore:
18582         * tests/old/examples/launch/Makefile.am:
18583         * tests/old/examples/launch/mp3parselaunch.c:
18584         * tests/old/examples/launch/mp3play:
18585         * tests/old/examples/manual/Makefile.am:
18586         * tests/old/examples/metadata/Makefile.am:
18587         * tests/old/examples/metadata/read-metadata.c:
18588         * tests/old/examples/queue/.cvsignore:
18589         * tests/old/examples/queue/Makefile.am:
18590         * tests/old/examples/queue/queue.c:
18591         * tests/old/examples/typefind/.cvsignore:
18592         * tests/old/examples/typefind/Makefile.am:
18593         * tests/old/examples/typefind/typefind.c:
18594         * tests/old/examples/xml/.cvsignore:
18595         * tests/old/examples/xml/Makefile.am:
18596         * tests/old/examples/xml/createxml.c:
18597         * tests/old/examples/xml/runxml.c:
18598           applied some simple fixing to some examples
18599           re-enabled the working examples
18600
18601 2005-12-12  Wim Taymans  <wim@fluendo.com>
18602
18603         * gst/gstsegment.c: (gst_segment_init),
18604         (gst_segment_set_last_stop), (gst_segment_set_seek),
18605         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18606         (gst_segment_to_running_time):
18607         Added more documentation.
18608         Make sure the last_pos value is updated properly.
18609         Make sure to_stream_time and to_running_time don't
18610         operate on wrong values.
18611
18612         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18613         Update check.
18614
18615 2005-12-12  Michael Smith  <msmith@fluendo.com>
18616
18617         * plugins/elements/gsttypefindelement.c: (free_entry),
18618         (gst_type_find_element_chain):
18619           Now that we're not leaking factories, make sure we keep references
18620           to them while we need them.
18621
18622 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18623
18624         * tests/check/gst/struct_i386.h:
18625           ifdef out the XML structs
18626
18627 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18628
18629         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18630           floor is not needed, F is always positive; this obviates the
18631           need for adding -lm when building without libxml
18632
18633 2005-12-12  Wim Taymans  <wim@fluendo.com>
18634
18635         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18636         Take current playback rate into account when reporting
18637         the position.
18638
18639 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18640
18641         * docs/manual/mime-world.fig:
18642           Let's try this again, this time with a file that is
18643           actually in XFig format.
18644
18645 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18646
18647         * docs/manual/mime-world.fig:
18648           Add audioconvert element to diagram so that it
18649           matches the text and the code (fixes #319526).
18650
18651 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18652
18653         * docs/pwg/building-chainfn.xml:
18654         * docs/pwg/building-pads.xml:
18655         * docs/pwg/building-state.xml:
18656         * docs/pwg/other-source.xml:
18657           Update state change stuff for 0.10 (fixes #322969).
18658
18659 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18660
18661         * docs/manual/advanced-dataaccess.xml:
18662         * docs/manual/appendix-checklist.xml:
18663         * docs/manual/appendix-programs.xml:
18664         * docs/manual/basics-pads.xml:
18665         * docs/manual/highlevel-components.xml:
18666         * docs/manual/manual.xml:
18667           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18668           add converters in front of pipelines; remove curly
18669           brackets for threads stuff, they no longer exist; use
18670           GST_TYPE_FRACTION for framerates; update some pieces of
18671           code to 0.10, but there's plenty more to do.
18672
18673         * docs/manual/appendix-porting.xml:
18674           Expand on asynchroneous state changes; s/0.9/0.10/;
18675           mention disappearance of gst_init_get_popt_table()
18676           (fixes #322916).
18677
18678 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18679
18680         * docs/faq/using.xml:
18681           Spider no longer exists, and neither does gst-launch-ext.
18682           Update examples to use decodebin and playbin and put
18683           converters in front of sinks (fixes #323726).
18684
18685 2005-12-09  Michael Smith  <msmith@fluendo.com>
18686
18687         * plugins/elements/gsttypefindelement.c: (find_peek),
18688         (gst_type_find_element_chain):
18689           Fix leaking element factories in typefinding.
18690           Fix problem where we forgot about a probable type on non-seekable
18691           files, and thus later mis-typefound it.
18692
18693 2005-12-09  Michael Smith  <msmith@fluendo.com>
18694
18695         * common/m4/gst-makecontext.m4:
18696         * common/m4/gst-mcsc.m4:
18697         * configure.ac:
18698         * win32/common/config.h:
18699         * win32/common/config.h.in:
18700           Remove makecontext stuff; not used in 0.10 and causes problems on
18701           HPUX according to bug #322441
18702
18703 2005-12-07  Wim Taymans  <wim@fluendo.com>
18704
18705         * tests/check/Makefile.am:
18706         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18707         (main):
18708         * tests/check/libs/struct_i386.h:
18709         Added ABI check for libs
18710
18711 2005-12-07  Wim Taymans  <wim@fluendo.com>
18712
18713         * tests/check/Makefile.am:
18714         And add the struct_i386.h to dist.
18715
18716 2005-12-07  Wim Taymans  <wim@fluendo.com>
18717
18718         * tests/check/Makefile.am:
18719         * tests/check/gst/.cvsignore:
18720         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18721         (main):
18722         * tests/check/gst/struct_i386.h:
18723         Added check for ABI compatibility.
18724
18725 2005-12-07  Wim Taymans  <wim@fluendo.com>
18726
18727         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18728         (gst_fake_src_get_times), (gst_fake_src_create):
18729         Fix broken sync option, fixes #323259
18730
18731 2005-12-07  Wim Taymans  <wim@fluendo.com>
18732
18733         * gst/gstbuffer.c:
18734         Small docs update.
18735
18736         * gst/gstcaps.c: (gst_caps_is_equal):
18737         Don't assert on NULL <--> X. Fixes #323260
18738
18739         * gst/gstminiobject.c: (gst_mini_object_replace):
18740         If we're doing atomic operations, we might just as well use
18741         the proper way to get an atomic pointer.
18742
18743         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18744         Clean up debugging.
18745
18746 2005-12-07  Michael Smith  <msmith@fluendo.com>
18747
18748         * gst/parse/grammar.y:
18749           Remove handling of { } for threads.
18750
18751 2005-12-06  David Schleef  <ds@schleef.org>
18752
18753         * libs/gst/base/gstbasetransform.c: speling fix.
18754
18755 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18756
18757         * docs/libs/tmpl/gstdataprotocol.sgml:
18758         * docs/random/omega/testing/gstobject.c:
18759         * gst/gst.c:
18760         * gst/gstclock.c:
18761         * gst/gstelement.c:
18762         * gst/gstelementfactory.c:
18763         * gst/gsterror.c:
18764         * gst/gstevent.c:
18765         * gst/gstghostpad.c:
18766         * gst/gstinfo.c:
18767         * gst/gstpadtemplate.c:
18768         * gst/gstregistryxml.c:
18769         * gst/gsttaglist.c:
18770         * gst/gsttagsetter.c:
18771         * gst/gsttypefind.c:
18772         * gst/gstvalue.c:
18773         * libs/gst/base/gstbasesrc.c:
18774         * libs/gst/net/gstnetclientclock.c:
18775         * libs/gst/net/gstnettimeprovider.c:
18776         * plugins/elements/gstfakesrc.c:
18777         * plugins/elements/gstfdsrc.c:
18778         * plugins/elements/gstfilesrc.c:
18779         * plugins/elements/gstidentity.c:
18780         * plugins/elements/gstqueue.c:
18781         * plugins/elements/gsttypefindelement.c:
18782         * plugins/indexers/gstfileindex.c:
18783         * plugins/indexers/gstmemindex.c:
18784         * tests/check/gst/gsttag.c:
18785         * tests/old/examples/cutter/cutter.c:
18786         * tests/old/examples/mixer/mixer.c:
18787         * tests/old/examples/xml/runxml.c: (main):
18788         * tests/old/testsuite/caps/normalisation.c:
18789         * tests/old/testsuite/debug/global.c:
18790         * tests/old/testsuite/parse/parse1.c:
18791         * tools/gst-xmlinspect.c:
18792         * win32/common/dirent.c:
18793           expand tabs
18794
18795 === release 0.10.0 ===
18796
18797 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18798
18799         * configure.ac:
18800           releasing 0.10.0, "Maroilles"
18801
18802 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18803
18804         submitted by: Funda Wang <fundawang@linux.net.cn>
18805
18806         * po/LINGUAS:
18807         * po/zh_CN.po:
18808           added Chinese (Traditional) translation
18809
18810 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18811
18812         * docs/gst/gstreamer-sections.txt:
18813         * docs/libs/tmpl/gstdataprotocol.sgml:
18814         * docs/random/thomasvs/TODO:
18815         * gst/gstutils.c:
18816         * gst/gstutils.h:
18817           fix docs
18818
18819 2005-12-05  Andy Wingo  <wingo@pobox.com>
18820
18821         patch by: Wim Taymans <wim@fluendo.com>
18822
18823         * libs/gst/base/gstbasetransform.c
18824         (gst_base_transform_prepare_output_buf)
18825         (gst_base_transform_buffer_alloc):
18826         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18827         alloc_buffer_and_set_caps.
18828
18829         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18830         set_caps on the source pad.
18831         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18832         alloc_buffer used to do. Fixes #322874.
18833
18834         * docs/gst/gstreamer-sections.txt: 
18835         * docs/design/part-negotiation.txt: 
18836         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18837         changes.
18838
18839 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18840
18841         patch by: Sebastien Moutte
18842
18843         * win32/MANIFEST:
18844         * win32/common/config.h.in:
18845         * win32/vs6/libgstcontroller.dsp:
18846           win32 build fixes
18847
18848 2005-12-05  Wim Taymans  <wim@fluendo.com>
18849
18850         * gst/gstcaps.c: (gst_caps_is_equal):
18851         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18852         (gst_fake_src_create):
18853         Back out previous code changes, leave doc updates, file bugs 
18854         instead. 
18855
18856 2005-12-05  Wim Taymans  <wim@fluendo.com>
18857
18858         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18859         (gst_fake_src_get_times), (gst_fake_src_create):
18860         * plugins/elements/gstfakesrc.h:
18861         Fix broken sync code.
18862
18863 2005-12-05  Wim Taymans  <wim@fluendo.com>
18864
18865         * gst/gstcaps.c: (gst_caps_is_equal):
18866         Comparing NULL against !NULL yields different caps, not a
18867         failure.
18868
18869 2005-12-05  Wim Taymans  <wim@fluendo.com>
18870
18871         * gst/gstpipeline.c:
18872         Fix small typo in docs.
18873
18874 2005-12-05  Andy Wingo  <wingo@pobox.com>
18875
18876         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
18877
18878         * gst/gst.c (init_post): remove hard-coded 0.9 location for
18879         registries/plugins with a MAJORMINOR one.
18880         (plugin_desc): Rename library from gstcoreleements to
18881         staticelements. Fixes #323222.
18882
18883 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
18884
18885         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18886           Change debug category to 'collectpads' from 'collect_pads'
18887           (fixes #323250).
18888
18889 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18890
18891         patch by: Sebastien Moutte
18892
18893         * libs/gst/controller/gstinterpolation.c:
18894           use convert function for uint64/double
18895         * win32/vs6/libgstcontroller.dsp:
18896           link to GLib
18897
18898 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
18899
18900         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18901         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18902         * gst/gstutils.h:
18903         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18904           add tests that seem to show that the guint64/gdouble conversions
18905           are correct.
18906
18907 2005-12-02  Wim Taymans  <wim@fluendo.com>
18908
18909         * gst/gstregistry.c: (gst_registry_add_path):
18910         * gst/gstregistry.h:
18911         * gst/gstregistryxml.c:
18912         Fix docs again.
18913
18914 2005-12-02  Wim Taymans  <wim@fluendo.com>
18915
18916         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18917         (gst_util_uint64_scale_int):
18918         Small cleanup.
18919
18920         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18921         Add debug log line.
18922
18923         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18924         Add FIXME.
18925
18926 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18927
18928         * win32/MANIFEST:
18929         * win32/common/config.h:
18930         * win32/vs6/gstreamer.dsw:
18931         * win32/vs6/libgstcoreelements.dsp:
18932         * win32/vs6/libgstelements.dsp:
18933           renamed core elements plugin
18934
18935 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18936
18937         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18938         (get_candidates):
18939           do piece-wise major/minor comparison so 0.9 < 0.10
18940           also allow .exe extensions for tools
18941
18942 2005-12-02  Michael Smith  <msmith@fluendo.com>
18943
18944         * gst/gst.c:
18945           Escape a % to make gtkdoc happier; bug 322958.
18946
18947 === release 0.9.7 ===
18948
18949 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18950
18951         * configure.ac:
18952           releasing 0.9.7, "My Dog Has No Nose"
18953
18954 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18955
18956         * common/gst-xmlinspect.py:
18957         * configure.ac:
18958         * docs/libs/tmpl/gstdataprotocol.sgml:
18959         * docs/random/release:
18960         * po/af.po:
18961         * po/az.po:
18962         * po/bg.po:
18963         * po/ca.po:
18964         * po/cs.po:
18965         * po/de.po:
18966         * po/en_GB.po:
18967         * po/fr.po:
18968         * po/it.po:
18969         * po/nb.po:
18970         * po/nl.po:
18971         * po/ru.po:
18972         * po/sq.po:
18973         * po/sr.po:
18974         * po/sv.po:
18975         * po/tr.po:
18976         * po/uk.po:
18977         * po/vi.po:
18978         * win32/common/config.h:
18979         * win32/common/config.h.in:
18980         * win32/vs6/gst_inspect.dsp:
18981         * win32/vs6/gst_launch.dsp:
18982         * win32/vs6/libgstbase.dsp:
18983         * win32/vs6/libgstelements.dsp:
18984         * win32/vs6/libgstreamer.dsp:
18985         * win32/vs7/GStreamer.vcproj:
18986         * win32/vs7/gst-inspect.vcproj:
18987         * win32/vs7/gst-launch.vcproj:
18988         * win32/vs7/libgstbase.vcproj:
18989           bump GST_MAJORMINOR to 0.10
18990           reset libtool version
18991
18992 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18993
18994         * po/LINGUAS:
18995         * po/bg.po:
18996           Added Bulgarian translation by (Alexander Shopov)
18997
18998 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18999
19000         * tests/check/gst/gstplugin.c:
19001           fix test
19002
19003 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19004
19005         * common/gst-xmlinspect.py:
19006         * common/gtk-doc-plugins.mak:
19007         * configure.ac:
19008         * docs/Makefile.am:
19009         * docs/gst/Makefile.am:
19010         * docs/gst/gstreamer-docs.sgml:
19011         * docs/gst/gstreamer-sections.txt:
19012         * docs/gst/gstreamer.types:
19013         * docs/gst/gstreamer.types.in:
19014         * docs/plugins/Makefile.am:
19015         * docs/plugins/gstreamer-plugins-docs.sgml:
19016         * docs/plugins/gstreamer-plugins-sections.txt:
19017         * docs/plugins/gstreamer-plugins.types:
19018         * docs/plugins/inspect.stamp:
19019         * docs/plugins/inspect/plugin-coreelements.xml:
19020         * docs/plugins/inspect/plugin-coreindexers.xml:
19021         * docs/plugins/scanobj-build.stamp:
19022         * gstreamer.spec.in:
19023         * plugins/elements/Makefile.am:
19024         * plugins/elements/gstelements.c:
19025         * plugins/elements/gstfakesink.c:
19026         * plugins/elements/gstfakesrc.c:
19027         * plugins/elements/gstfilesink.c:
19028         * plugins/elements/gstfilesrc.c:
19029         * plugins/elements/gstqueue.c:
19030         * plugins/indexers/Makefile.am:
19031         * plugins/indexers/gstindexers.c:
19032           document core plugins in a separate document just like all the
19033           others
19034           rename these plugins to something starting with core
19035
19036 2005-12-01  Andy Wingo  <wingo@pobox.com>
19037
19038         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19039         padding here before, but it missed the commit.
19040
19041 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19042
19043         * libs/gst/controller/gstinterpolation.c:
19044           whitespace prices have crashed, we should feel free to use some now
19045           use gst_guint64_to_gdouble
19046
19047 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19048
19049         * libs/gst/controller/gstcontroller.c:
19050         * libs/gst/controller/gsthelper.c:
19051         * libs/gst/controller/gstinterpolation.c:
19052         * libs/gst/controller/lib.c:
19053           wrap config.h include
19054
19055 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19056
19057         * docs/gst/gstreamer-sections.txt:
19058           update docs
19059
19060 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19061
19062         * plugins/elements/gstelements.c:
19063         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19064         (gst_fd_sink__class_init), (gst_fd_sink__init),
19065         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19066         (gst_fd_sink__get_property):
19067         * plugins/elements/gstfdsink.h:
19068         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19069         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19070         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19071         (gst_fd_src_unlock), (gst_fd_src_set_property),
19072         (gst_fd_src_get_property), (gst_fd_src_create),
19073         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19074         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19075         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19076         (gst_fd_src_uri_handler_init):
19077         * plugins/elements/gstfdsrc.h:
19078         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19079           more anal cleanup
19080
19081 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19082
19083         * docs/gst/Makefile.am:
19084         * docs/gst/gstreamer.types.in:
19085         * gst/Makefile.am:
19086           fix the docs build
19087
19088 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19089
19090         * configure.ac:
19091         * gst/Makefile.am:
19092         * gst/gst.c:
19093         * gst/gstplugin.h:
19094         * gst/gstregistry.h:
19095         * tests/benchmarks/complexity.c:
19096         * tests/benchmarks/mass-elements.c:
19097         * tests/check/Makefile.am:
19098         * tools/Makefile.am:
19099         * tools/gst-inspect.c:
19100         * tools/gst-xmlinspect.c:
19101           various fixes to make
19102           --disable-nls --disable-registry --disable-loadsave
19103           --disable-parse --disable-gst-debug
19104           work and get the core .so down to 360444 bytes after stripping
19105
19106 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19107
19108         * Makefile.am:
19109         * configure.ac:
19110           descend into tests
19111         * docs/random/thomasvs/TODO:
19112         * tests/Makefile.am:
19113         * tests/README:
19114           add a README
19115
19116 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19117
19118         * win32/GStreamer.vcproj:
19119         * win32/MANIFEST:
19120         * win32/Makefile:
19121         * win32/Makefile.inspect:
19122         * win32/Makefile.launch:
19123         * win32/Makefile.register:
19124         * win32/README.txt:
19125         * win32/gst-inspect.vcproj:
19126         * win32/gst-launch.vcproj:
19127         * win32/gst-register.vcproj:
19128         * win32/gstelements.vcproj:
19129         * win32/gstgetbits.def:
19130         * win32/gstgetbits.vcproj:
19131         * win32/gstreamer-dbg.def:
19132         * win32/gstreamer.def:
19133         * win32/libgstbase.def:
19134         * win32/libgstbase.vcproj:
19135         * win32/link_oldruntime.c:
19136         * win32/mman.c:
19137         * win32/mman.h:
19138         * win32/mman.inl:
19139         * win32/msvc71.sln:
19140           move even more stuff, win32/ is nice and clean now
19141
19142 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19143
19144         * libs/gst/control/.cvsignore:
19145         * win32/MANIFEST:
19146         * win32/config.h:
19147         * win32/dirent.c:
19148         * win32/dirent.h:
19149         * win32/gstbytestream.def:
19150         * win32/gstbytestream.vcproj:
19151         * win32/gstconfig.h:
19152         * win32/gstenumtypes.c:
19153         * win32/gstenumtypes.h:
19154         * win32/gstoptimalscheduler.vcproj:
19155         * win32/gstversion.h:
19156         * win32/gtchar.h:
19157         * win32/testsuite/bins.vcproj:
19158         * win32/testsuite/bytestream.vcproj:
19159         * win32/testsuite/caps.vcproj:
19160         * win32/testsuite/cleanup.vcproj:
19161         * win32/testsuite/clock.vcproj:
19162         * win32/testsuite/debug.vcproj:
19163         * win32/testsuite/dlopen.vcproj:
19164         * win32/testsuite/dynparams.vcproj:
19165         * win32/testsuite/elements.vcproj:
19166         * win32/testsuite/ghostpads.vcproj:
19167         * win32/testsuite/indexers.vcproj:
19168         * win32/testsuite/negotiation.vcproj:
19169         * win32/testsuite/parse.vcproj:
19170         * win32/testsuite/plugin.vcproj:
19171         * win32/testsuite/refcounting.vcproj:
19172         * win32/testsuite/schedulers.vcproj:
19173         * win32/testsuite/states.vcproj:
19174         * win32/testsuite/tags.vcproj:
19175         * win32/testsuite/threads.vcproj:
19176           remove old win32 stuff that isn't maintained and should be
19177           reorganized
19178
19179 2005-11-30  Andy Wingo  <wingo@pobox.com>
19180
19181         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19182         loading the gst.interfaces python module bork.
19183
19184         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19185         available since GLib 2.2. Fixes #318031.
19186
19187 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19188
19189         * Makefile.am:
19190         * check/.cvsignore:
19191         * check/Makefile.am:
19192         * check/elements/.cvsignore:
19193         * check/elements/fakesrc.c:
19194         * check/elements/fdsrc.c:
19195         * check/elements/identity.c:
19196         * check/generic/.cvsignore:
19197         * check/generic/states.c:
19198         * check/gst-libs/.cvsignore:
19199         * check/gst-libs/controller.c:
19200         * check/gst-libs/gdp.c:
19201         * check/gst/.cvsignore:
19202         * check/gst/capslist.h:
19203         * check/gst/gst.c:
19204         * check/gst/gstbin.c:
19205         * check/gst/gstbuffer.c:
19206         * check/gst/gstbus.c:
19207         * check/gst/gstcaps.c:
19208         * check/gst/gstelement.c:
19209         * check/gst/gstevent.c:
19210         * check/gst/gstghostpad.c:
19211         * check/gst/gstiterator.c:
19212         * check/gst/gstmessage.c:
19213         * check/gst/gstminiobject.c:
19214         * check/gst/gstobject.c:
19215         * check/gst/gstpad.c:
19216         * check/gst/gstpipeline.c:
19217         * check/gst/gstplugin.c:
19218         * check/gst/gstsegment.c:
19219         * check/gst/gststructure.c:
19220         * check/gst/gstsystemclock.c:
19221         * check/gst/gsttag.c:
19222         * check/gst/gstutils.c:
19223         * check/gst/gstvalue.c:
19224         * check/net/.cvsignore:
19225         * check/net/gstnetclientclock.c:
19226         * check/net/gstnettimeprovider.c:
19227         * check/pipelines/.cvsignore:
19228         * check/pipelines/cleanup.c:
19229         * check/pipelines/simple_launch_lines.c:
19230         * check/pipelines/stress.c:
19231         * check/states/.cvsignore:
19232         * check/states/sinks.c:
19233         * configure.ac:
19234         * examples/Makefile.am:
19235         * examples/appreader/.cvsignore:
19236         * examples/appreader/Makefile.am:
19237         * examples/appreader/appreader.c:
19238         * examples/controller/.cvsignore:
19239         * examples/controller/Makefile.am:
19240         * examples/controller/audio-example.c:
19241         * examples/cutter/.cvsignore:
19242         * examples/cutter/Makefile.am:
19243         * examples/cutter/cutter.c:
19244         * examples/cutter/cutter.h:
19245         * examples/events/Makefile.am:
19246         * examples/events/seek.c:
19247         * examples/helloworld/.cvsignore:
19248         * examples/helloworld/Makefile.am:
19249         * examples/helloworld/helloworld.c:
19250         * examples/helloworld2/.cvsignore:
19251         * examples/helloworld2/Makefile.am:
19252         * examples/helloworld2/helloworld2.c:
19253         * examples/launch/.cvsignore:
19254         * examples/launch/Makefile.am:
19255         * examples/launch/mp3parselaunch.c:
19256         * examples/launch/mp3play:
19257         * examples/manual/.cvsignore:
19258         * examples/manual/Makefile.am:
19259         * examples/manual/extract.pl:
19260         * examples/metadata/Makefile.am:
19261         * examples/metadata/read-metadata.c:
19262         * examples/mixer/.cvsignore:
19263         * examples/mixer/Makefile.am:
19264         * examples/mixer/mixer.c:
19265         * examples/mixer/mixer.h:
19266         * examples/pingpong/.cvsignore:
19267         * examples/pingpong/Makefile.am:
19268         * examples/pingpong/pingpong.c:
19269         * examples/plugins/.cvsignore:
19270         * examples/plugins/Makefile.am:
19271         * examples/plugins/example.c:
19272         * examples/plugins/example.h:
19273         * examples/pwg/.cvsignore:
19274         * examples/pwg/Makefile.am:
19275         * examples/pwg/extract.pl:
19276         * examples/queue/.cvsignore:
19277         * examples/queue/Makefile.am:
19278         * examples/queue/queue.c:
19279         * examples/queue2/.cvsignore:
19280         * examples/queue2/Makefile.am:
19281         * examples/queue2/queue2.c:
19282         * examples/queue3/.cvsignore:
19283         * examples/queue3/Makefile.am:
19284         * examples/queue3/queue3.c:
19285         * examples/queue4/.cvsignore:
19286         * examples/queue4/Makefile.am:
19287         * examples/queue4/queue4.c:
19288         * examples/retag/.cvsignore:
19289         * examples/retag/Makefile.am:
19290         * examples/retag/retag.c:
19291         * examples/retag/transcode.c:
19292         * examples/thread/.cvsignore:
19293         * examples/thread/Makefile.am:
19294         * examples/thread/thread.c:
19295         * examples/typefind/.cvsignore:
19296         * examples/typefind/Makefile.am:
19297         * examples/typefind/typefind.c:
19298         * examples/xml/.cvsignore:
19299         * examples/xml/Makefile.am:
19300         * examples/xml/createxml.c:
19301         * examples/xml/runxml.c:
19302         * tests/Makefile.am:
19303         * tests/check/Makefile.am:
19304         * testsuite/.cvsignore:
19305         * testsuite/Makefile.am:
19306         * testsuite/Rules:
19307         * testsuite/caps/.cvsignore:
19308         * testsuite/caps/Makefile.am:
19309         * testsuite/caps/app_fixate.c:
19310         * testsuite/caps/audioscale.c:
19311         * testsuite/caps/caps.c:
19312         * testsuite/caps/caps.h:
19313         * testsuite/caps/caps_strings:
19314         * testsuite/caps/compatibility.c:
19315         * testsuite/caps/deserialize.c:
19316         * testsuite/caps/enumcaps.c:
19317         * testsuite/caps/eratosthenes.c:
19318         * testsuite/caps/filtercaps.c:
19319         * testsuite/caps/fixed.c:
19320         * testsuite/caps/fraction-convert.c:
19321         * testsuite/caps/fraction-multiply-and-zero.c:
19322         * testsuite/caps/intersect2.c:
19323         * testsuite/caps/intersection.c:
19324         * testsuite/caps/normalisation.c:
19325         * testsuite/caps/random.c:
19326         * testsuite/caps/renegotiate.c:
19327         * testsuite/caps/sets.c:
19328         * testsuite/caps/simplify.c:
19329         * testsuite/caps/string-conversions.c:
19330         * testsuite/caps/structure.c:
19331         * testsuite/caps/subtract.c:
19332         * testsuite/caps/union.c:
19333         * testsuite/debug/.cvsignore:
19334         * testsuite/debug/Makefile.am:
19335         * testsuite/debug/category.c:
19336         * testsuite/debug/commandline.c:
19337         * testsuite/debug/global.c:
19338         * testsuite/debug/output.c:
19339         * testsuite/debug/printf_extension.c:
19340         * testsuite/dlopen/.cvsignore:
19341         * testsuite/dlopen/Makefile.am:
19342         * testsuite/dlopen/dlopen_gst.c:
19343         * testsuite/dlopen/loadgst.c:
19344         * testsuite/elements/.cvsignore:
19345         * testsuite/elements/Makefile.am:
19346         * testsuite/elements/gst-inspect-check.in:
19347         * testsuite/elements/struct_i386.h:
19348         * testsuite/elements/struct_size.c:
19349         * testsuite/indexers/.cvsignore:
19350         * testsuite/indexers/Makefile.am:
19351         * testsuite/indexers/cache1.c:
19352         * testsuite/indexers/indexdump.c:
19353         * testsuite/parse/.cvsignore:
19354         * testsuite/parse/Makefile.am:
19355         * testsuite/parse/parse1.c:
19356         * testsuite/parse/parse2.c:
19357         * testsuite/plugin/.cvsignore:
19358         * testsuite/plugin/Makefile.am:
19359         * testsuite/plugin/README:
19360         * testsuite/plugin/dynamic.c:
19361         * testsuite/plugin/linked.c:
19362         * testsuite/plugin/loading.c:
19363         * testsuite/plugin/registry.c:
19364         * testsuite/plugin/static.c:
19365         * testsuite/plugin/static2.c:
19366         * testsuite/plugin/testplugin.c:
19367         * testsuite/plugin/testplugin2.c:
19368         * testsuite/plugin/testplugin2_s.c:
19369         * testsuite/plugin/testplugin_s.c:
19370         * testsuite/refcounting/.cvsignore:
19371         * testsuite/refcounting/Makefile.am:
19372         * testsuite/refcounting/bin.c:
19373         * testsuite/refcounting/element.c:
19374         * testsuite/refcounting/element_pad.c:
19375         * testsuite/refcounting/mainloop.c:
19376         * testsuite/refcounting/mem.c:
19377         * testsuite/refcounting/mem.h:
19378         * testsuite/refcounting/object.c:
19379         * testsuite/refcounting/pad.c:
19380         * testsuite/refcounting/sched.c:
19381         * testsuite/refcounting/thread.c:
19382         * testsuite/states/.cvsignore:
19383         * testsuite/states/Makefile.am:
19384         * testsuite/states/bin.c:
19385         * testsuite/states/locked.c:
19386         * testsuite/states/parent.c:
19387         * testsuite/threads/.cvsignore:
19388         * testsuite/threads/159566.c:
19389         * testsuite/threads/159852.c:
19390         * testsuite/threads/Makefile.am:
19391         * testsuite/threads/queue.c:
19392         * testsuite/threads/signals.c:
19393         * testsuite/threads/staticrec.c:
19394         * testsuite/threads/thread.c:
19395         * testsuite/threads/threadb.c:
19396         * testsuite/threads/threadc.c:
19397         * testsuite/threads/threadd.c:
19398         * testsuite/threads/threade.c:
19399         * testsuite/threads/threadf.c:
19400         * testsuite/threads/threadg.c:
19401         * testsuite/threads/threadh.c:
19402         * testsuite/threads/threadi.c:
19403           move all of these under tests
19404
19405 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19406
19407         * configure.ac:
19408         * tests/Makefile.am:
19409           fix distcheck
19410
19411 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19412
19413         * docs/gst/gstreamer-sections.txt:
19414         * tests/sched/.cvsignore:
19415         * tests/sched/Makefile.am:
19416         * tests/sched/cases/(fs-fs).xml:
19417         * tests/sched/cases/(fs-i-fs).xml:
19418         * tests/sched/cases/(fs-i-i-fs).xml:
19419         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19420         * tests/sched/dynamic-pipeline.c:
19421         * tests/sched/interrupt1.c:
19422         * tests/sched/interrupt2.c:
19423         * tests/sched/interrupt3.c:
19424         * tests/sched/runtestcases:
19425         * tests/sched/runxml.c:
19426         * tests/sched/sched-stress.c:
19427         * tests/sched/sort.c:
19428         * tests/sched/testcases:
19429         * tests/sched/testcases1.tc:
19430         * tests/seeking/.cvsignore:
19431         * tests/seeking/Makefile.am:
19432         * tests/seeking/seeking1.c:
19433         * tests/threadstate/.cvsignore:
19434         * tests/threadstate/Makefile.am:
19435         * tests/threadstate/test1.c:
19436         * tests/threadstate/test2.c:
19437         * tests/threadstate/threadstate1.c:
19438         * tests/threadstate/threadstate2.c:
19439         * tests/threadstate/threadstate3.c:
19440         * tests/threadstate/threadstate4.c:
19441         * tests/threadstate/threadstate5.c:
19442           remove obsolete tests
19443         * configure.ac:
19444         * tests/bench-complexity.scm:
19445         * tests/bench-mass_elements.scm:
19446         * tests/complexity.c:
19447         * tests/complexity.gnuplot:
19448         * tests/instantiate/.cvsignore:
19449         * tests/instantiate/Makefile.am:
19450         * tests/instantiate/caps.c:
19451         * tests/mass_elements.c:
19452         * tests/network-clock-utils.scm:
19453         * tests/network-clock.scm:
19454         * tests/plot-data:
19455         First pass at cleaning up tests/ dir before moving the rest
19456         Combined with CVS surgery
19457
19458 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19459
19460         * po/POTFILES.in:
19461           queue has moved, update
19462
19463 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19464
19465         * docs/gst/gstreamer-sections.txt:
19466           remove double entries from the docs
19467         * gst/gst_private.h:
19468         * gst/gstinfo.c: (_gst_debug_init):
19469           remove the THREAD debug category
19470         * gst/Makefile.am:
19471         * gst/gstqueue.c:
19472         * gst/gstqueue.h:
19473         * docs/gst/gstreamer.types:
19474         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19475         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19476           completely move queue and fix up debugging categories
19477
19478 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19479
19480         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19481           make initialization portable, using LL is not
19482
19483 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19484
19485         * win32/common/gstconfig.h:
19486           add large padding
19487
19488 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19489
19490         * win32/common/libgstreamer.def:
19491           rename symbols; sort base section
19492
19493 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19494
19495         * gst/gstclock.c: (do_linear_regression):
19496           remove crack non-portable handrolled DEBUG macro
19497
19498 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19499
19500         * docs/random/release:
19501           update notes
19502         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19503         (gst_object_flags_get_type), (register_gst_bin_flags),
19504         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19505         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19506         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19507         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19508         (gst_caps_flags_get_type), (register_gst_clock_return),
19509         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19510         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19511         (gst_clock_flags_get_type), (register_gst_state),
19512         (gst_state_get_type), (register_gst_state_change_return),
19513         (gst_state_change_return_get_type), (register_gst_state_change),
19514         (gst_state_change_get_type), (register_gst_element_flags),
19515         (gst_element_flags_get_type), (register_gst_core_error),
19516         (gst_core_error_get_type), (register_gst_library_error),
19517         (gst_library_error_get_type), (register_gst_resource_error),
19518         (gst_resource_error_get_type), (register_gst_stream_error),
19519         (gst_stream_error_get_type), (register_gst_event_type_flags),
19520         (gst_event_type_flags_get_type), (register_gst_event_type),
19521         (gst_event_type_get_type), (register_gst_seek_type),
19522         (gst_seek_type_get_type), (register_gst_seek_flags),
19523         (gst_seek_flags_get_type), (register_gst_format),
19524         (gst_format_get_type), (register_gst_index_certainty),
19525         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19526         (gst_index_entry_type_get_type),
19527         (register_gst_index_lookup_method),
19528         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19529         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19530         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19531         (gst_index_flags_get_type), (register_gst_debug_level),
19532         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19533         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19534         (gst_iterator_result_get_type), (register_gst_iterator_item),
19535         (gst_iterator_item_get_type), (register_gst_message_type),
19536         (gst_message_type_get_type), (register_gst_mini_object_flags),
19537         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19538         (gst_pad_link_return_get_type), (register_gst_flow_return),
19539         (gst_flow_return_get_type), (register_gst_activate_mode),
19540         (gst_activate_mode_get_type), (register_gst_pad_direction),
19541         (gst_pad_direction_get_type), (register_gst_pad_flags),
19542         (gst_pad_flags_get_type), (register_gst_pad_presence),
19543         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19544         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19545         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19546         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19547         (gst_plugin_flags_get_type), (register_gst_rank),
19548         (gst_rank_get_type), (register_gst_query_type),
19549         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19550         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19551         (gst_tag_flag_get_type), (register_gst_task_state),
19552         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19553         (gst_alloc_trace_flags_get_type),
19554         (register_gst_type_find_probability),
19555         (gst_type_find_probability_get_type), (register_gst_uri_type),
19556         (gst_uri_type_get_type), (register_gst_parse_error),
19557         (gst_parse_error_get_type):
19558         * win32/common/gstenumtypes.h:
19559         * win32/common/gstversion.h:
19560           update visual studio generated files
19561
19562 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19563
19564         * win32/vs6/libgstbase.dsp:
19565         * win32/vs6/libgstelements.dsp:
19566           update project files for new locations
19567
19568 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19569
19570         * Makefile.am:
19571           remove some files
19572         * README:
19573           reinstate and update
19574         * DEVEL:
19575         * REQUIREMENTS:
19576           removed
19577         * LICENSE:
19578         * docs/random/LICENSE:
19579           moved to random
19580
19581 2005-11-30  Edward Hervey  <edward@fluendo.com>
19582
19583         * gst/gsttypefind.c: (gst_type_find_register):
19584         * gst/gsttypefind.h:
19585         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19586         (gst_type_find_factory_dispose):
19587         * gst/gsttypefindfactory.h:
19588         Fix memory leak in GstTypeFindFactory.
19589
19590 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19591
19592         * gst/gst.c:
19593         * plugins/elements/Makefile.am:
19594         * plugins/elements/gstelements.c:
19595         * plugins/elements/gstqueue.c:
19596           move queue from core to the elements plugin
19597
19598 2005-11-29  Andy Wingo  <wingo@pobox.com>
19599
19600         * libs/gst/base/gstbasetransform.h: 
19601         * libs/gst/base/gstbasesrc.h: 
19602         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19603
19604         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19605         of pointers by which to pad very extensible base classes (like the
19606         ones in libs/gst/base).
19607
19608 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19609
19610         * docs/gst/gstreamer-docs.sgml:
19611         * docs/gst/gstreamer-sections.txt:
19612         * docs/libs/gstreamer-libs-docs.sgml:
19613         * docs/libs/gstreamer-libs-sections.txt:
19614           moving documentation from core to lib
19615
19616 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19617
19618         * check/Makefile.am:
19619         * configure.ac:
19620         * docs/gst/Makefile.am:
19621         * gst/Makefile.am:
19622         * gst/base/.cvsignore:
19623         * gst/base/Makefile.am:
19624         * gst/base/README:
19625         * gst/base/gstadapter.c:
19626         * gst/base/gstadapter.h:
19627         * gst/base/gstbasesink.c:
19628         * gst/base/gstbasesink.h:
19629         * gst/base/gstbasesrc.c:
19630         * gst/base/gstbasesrc.h:
19631         * gst/base/gstbasetransform.c:
19632         * gst/base/gstbasetransform.h:
19633         * gst/base/gstcollectpads.c:
19634         * gst/base/gstcollectpads.h:
19635         * gst/base/gstpushsrc.c:
19636         * gst/base/gstpushsrc.h:
19637         * gst/base/gsttypefindhelper.c:
19638         * gst/base/gsttypefindhelper.h:
19639         * gst/check/Makefile.am:
19640         * gst/check/gstcheck.c:
19641         * gst/check/gstcheck.h:
19642         * gst/net/Makefile.am:
19643         * gst/net/gstnet.h:
19644         * gst/net/gstnetclientclock.c:
19645         * gst/net/gstnetclientclock.h:
19646         * gst/net/gstnettimepacket.c:
19647         * gst/net/gstnettimepacket.h:
19648         * gst/net/gstnettimeprovider.c:
19649         * gst/net/gstnettimeprovider.h:
19650         * libs/gst/Makefile.am:
19651         * libs/gst/base/Makefile.am:
19652         * libs/gst/base/gstbasetransform.c:
19653         * libs/gst/check/Makefile.am:
19654         * plugins/elements/Makefile.am:
19655         * po/POTFILES.in:
19656           CVS surgery + support to move base, check, and net out of gst
19657           and into libs/gst
19658
19659 2005-11-29  Andy Wingo  <wingo@pobox.com>
19660
19661         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19662
19663         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19664         padding.
19665
19666         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19667
19668         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19669
19670         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19671
19672         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19673         padding; reduces object size by about 30%. We don't expect
19674         anything else to go into gstobject.
19675
19676         * gst/gstminiobject.h (struct _GstMiniObject)
19677         (struct _GstMiniObjectClass): Only one pointer of padding; the
19678         payload is only a pointer and two ints anyway. For the class there
19679         are only two methods as well.
19680         
19681         * gst/gstelement.h (struct _GstElementClass): Removed
19682         the state_changed signal callback, it is not used.
19683
19684 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19685
19686         * docs/gst/gstreamer.types:
19687           fix includes, though they are a little dinky
19688
19689 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19690
19691         * check/Makefile.am:
19692           look in the right place for elements, a lot more chance of
19693           success
19694         * gst/Makefile.am:
19695           remove indexers and elements subdirs
19696         * plugins/Makefile.am:
19697           make indexers conditional
19698
19699 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19700
19701         * Makefile.am:
19702         * configure.ac:
19703         * plugins/elements/Makefile.am:
19704         * plugins/elements/gstcapsfilter.c:
19705         * plugins/elements/gstfilesink.c:
19706         * plugins/elements/gstfilesrc.c:
19707         * plugins/elements/gstidentity.c:
19708         * plugins/indexers/Makefile.am:
19709           do CVS surgery and related build fixery to move elements
19710           and indexers in a new gstreamer/plugins directory, out of the
19711           gst/ directory
19712
19713 2005-11-29  Andy Wingo  <wingo@pobox.com>
19714
19715         * check/Makefile.am:
19716         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19717         * pkgconfig/gstreamer-net.pc.in:
19718         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19719         #322257.
19720
19721 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19722
19723         * tools/Makefile.am:
19724         * tools/gst-complete.1.in:
19725         * tools/gst-complete.c:
19726         * tools/gst-compprep.1.in:
19727         * tools/gst-compprep.c:
19728           removing -compprep and -complete
19729
19730 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19731
19732         * gst/gstevent.c: (gst_event_new_new_segment),
19733         (gst_event_parse_new_segment):
19734         * gst/gstevent.h:
19735           fix #320529 - clean up new_segment API and structure.
19736           Let's hope everyone was using the methods, and not the structure.
19737
19738 2005-11-29  Edward Hervey  <edward@fluendo.com>
19739
19740         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19741         (gst_base_sink_event), (gst_base_sink_do_sync),
19742         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19743         Properly handle non GST_FORMAT_TIME segment
19744         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19745         Properly handle non GST_FORMAT_TIME segment
19746         * gst/gstsegment.c:
19747         This function is valid if the accumulator is 0 and the format
19748         is different from the requested format.
19749         
19750 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19751
19752         * docs/gst/gstreamer-sections.txt:
19753         Add gst_query_new_seeking and gst_query_parse_seeking to the
19754         docs.
19755
19756 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19757
19758         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19759           Treat a pad alloc with new caps the same as if we were not
19760           negotiated, in order to allow a changing upstream output
19761           to produce a new format of data.
19762
19763 2005-11-29  Edward Hervey  <edward@fluendo.com>
19764
19765         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19766         (gst_base_transform_event), (gst_base_transform_eventfunc):
19767         The event virtual method is now properly implemented, with a default
19768         handler
19769         Sub classes should call the parent_class event method. They should
19770         return FALSE if they had a problem handling the given event, or don't
19771         want GstBaseTransform to send that even downstream
19772         * gst/elements/gstidentity.c: (gst_identity_class_init),
19773         (gst_identity_init), (gst_identity_event),
19774         (gst_identity_transform_ip), (gst_identity_set_property),
19775         (gst_identity_get_property):
19776         * gst/elements/gstidentity.h:
19777         Added the single-segment boolean property.
19778         If set to TRUE, it will output a single segment of data, starting from
19779         0, will eat up all incoming newsegment, and modify the timestamp of the
19780         buffers accordingly
19781
19782 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19783
19784         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19785           Don't ref NULL target pad (#322751). Improve docs.
19786
19787 2005-11-29  Michael Smith  <msmith@fluendo.com>
19788
19789         * gst/gstregistryxml.c: (load_plugin):
19790           Don't crash if we failed to load a feature from a plugin. 
19791
19792 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19793
19794         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19795         (GST_START_TEST):
19796           use more check API and less GLib API
19797
19798 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19799
19800         * Makefile.am:
19801           don't run checks if we don't have check
19802         * common/check.mak:
19803           remove the registry when running make torture
19804         * docs/gst/gstreamer-sections.txt:
19805           remove second multiply
19806         * gst/gstqueue.c: (gst_queue_loop):
19807           fix a compile warning when disabling debug
19808
19809 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19810
19811         * gst/gstinfo.h:
19812         Hey! Let's print the pad name if the pointer != NULL instead
19813         of when it == NULL :-)
19814
19815 2005-11-28  Wim Taymans  <wim@fluendo.com>
19816
19817         * check/gst/gstutils.c: (GST_START_TEST):
19818         Updated check, add some scaling accuracy checking code.
19819
19820         * gst/gstutils.c: (gst_util_div128_64),
19821         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19822         (gst_util_uint64_scale_int):
19823         Fix 6 times faster division code. Optimize for common 
19824         1/1 and less common X/1 cases.
19825
19826 2005-11-28  Wim Taymans  <wim@fluendo.com>
19827
19828         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19829         More checks.
19830
19831         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19832         (do_linear_regression), (gst_clock_add_observation):
19833         Cleanups.
19834         Release lock when the clock cannot be slaved.
19835         Catch the case where the regression returned an invalid denominator.
19836
19837         * gst/gstutils.c: (gst_util_div128_64_iterate),
19838         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19839         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19840         Add protentially more performant non-iterative 128/64 divide function
19841         that unfortunatly does not work yet.
19842         Shortcut the trivial 0/X = 0 case.
19843         Remove the warnings on overflow.
19844
19845 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19846
19847         * gst/gstplugin.c: (gst_plugin_register_func):
19848           everything causing a plugin not to load should be at least a WARNING
19849
19850 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19851
19852         * docs/random/ensonic/dparams.txt:
19853           some TODOs for the next dev cycle
19854         * libs/gst/controller/gstcontroller.c:
19855         (gst_controlled_property_set_interpolation_mode),
19856         (gst_controlled_property_new):
19857         * libs/gst/controller/gstcontroller.h:
19858           use base type to assign acccessor functions
19859
19860 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19861
19862         * check/Makefile.am:
19863         Oops, that should have been top_srcdir
19864
19865 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19866
19867         * check/Makefile.am:
19868         * check/elements/fdsrc.c: (GST_START_TEST):
19869         Use a cmdline define to specify the location of a file to use for
19870         testing, to avoid breaking distcheck.
19871
19872 2005-11-28  Andy Wingo  <wingo@pobox.com>
19873
19874         * gst/gstpad.c (fixate_value): Use array functions for arrays.
19875
19876 2005-11-28  Edward Hervey  <edward@fluendo.com>
19877
19878         * tools/gst-launch.c: (main):
19879         Clarify the output strings, makes it easier to translate.
19880         Fixes #322626
19881
19882 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19883
19884         * gst/Makefile.am:
19885           don't try and build net if we don't even have <sys/socket.h>
19886
19887 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
19888
19889         * check/Makefile.am:
19890         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19891         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19892           Add tests for fdsrc seekability
19893
19894         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19895         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19896         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19897         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19898         * gst/elements/gstfdsrc.h:
19899           fdsrc should not be a 'live' source.
19900           Implement seeking on seekable fd's.
19901
19902         * gst/gstquery.c: (gst_query_new_seeking),
19903         (gst_query_parse_seeking):
19904         * gst/gstquery.h:
19905           Implement SEEKING query functions: 
19906             *_new_seeking and *_parse_seeking
19907
19908 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
19909
19910         * gst/gstelement.c: (gst_element_dispose):
19911           don't loop forever
19912
19913         * gst/gstiterator.c:
19914         * gst/gststructure.c:
19915           doc fixes
19916
19917         * libs/gst/controller/gstcontroller.c:
19918         (gst_controlled_property_set_interpolation_mode):
19919         * libs/gst/controller/gstcontroller.h:
19920         * libs/gst/controller/gstinterpolation.c:
19921         (interpolate_none_get_enum_value_array):
19922           support controlling enums
19923
19924 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19925
19926         * gst/gstvalue.c:
19927           Improve documentation for gst_value_union().
19928
19929         * gst/gstvalue.h:
19930           Change return value for union, intersect and subtract functions
19931           from gint to gboolean.
19932
19933 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
19934
19935         * gst/gstvalue.c: (gst_value_serialize_any_list),
19936         (gst_value_transform_any_list_string),
19937         (gst_value_deserialize_list), (gst_value_deserialize_array),
19938         (gst_value_set_int_range), (gst_value_deserialize_int_range),
19939         (gst_value_set_double_range), (gst_value_deserialize_double_range),
19940         (gst_value_set_fraction_range_full),
19941         (gst_value_deserialize_fraction_range),
19942         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19943         (gst_value_deserialize_boolean),
19944         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19945         (gst_value_serialize_float), (gst_value_deserialize_float),
19946         (gst_string_wrap), (gst_value_deserialize_string),
19947         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19948         (gst_value_union_int_range_int_range),
19949         (gst_value_intersect_int_range_int_range),
19950         (gst_value_intersect_double_range_double_range),
19951         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19952         (gst_value_subtract_int_range_int_range),
19953         (gst_value_subtract_double_double_range),
19954         (gst_value_subtract_double_range_double_range),
19955         (gst_value_deserialize_fraction):
19956         * gst/gstvalue.h:
19957           Use gint, gdouble and gchar in our API instead of int, double and
19958           char (and make usage in gstvalue.c more consistent).
19959
19960 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19961
19962         * check/Makefile.am:
19963         * libs/gst/controller/Makefile.am:
19964         * libs/gst/dataprotocol/Makefile.am:
19965           fix up Makefile.am and remove GST_ENABLE_NEW
19966
19967 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19968
19969         * configure.ac:
19970         * gst/Makefile.am:
19971         * gst/base/Makefile.am:
19972         * gst/check/Makefile.am:
19973         * gst/elements/Makefile.am:
19974         * gst/net/Makefile.am:
19975           update LDFLAGS use some more
19976
19977 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19978
19979         * common/m4/gst-doc.m4:
19980           Fixes #312589
19981
19982 2005-11-26  Edward Hervey  <edward@fluendo.com>
19983
19984         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19985         This shouldn't issue a g_warning since it returns NULL if it
19986         couldn't find the plugin, and all functions using this behave
19987         properly on a NULL return. Switching to a GST_WARNING.
19988
19989 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
19990
19991         * gst/gstbin.c: (gst_bin_handle_message_func):
19992         Don't leak clock messages.
19993
19994 2005-11-25  Wim Taymans  <wim@fluendo.com>
19995
19996         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19997         (gst_util_uint64_scale_int):
19998         Optimisations, remove unneeded vars.
19999
20000 2005-11-25  Wim Taymans  <wim@fluendo.com>
20001
20002         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20003         Added more checks for the high precision uint64 cases.
20004
20005         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20006         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20007         Implement high precision (guint64 * guint64) / guint64.
20008
20009 2005-11-24  Wim Taymans  <wim@fluendo.com>
20010
20011         * gst/base/gstbasesrc.c: (gst_base_src_query):
20012         Fix wrong percentage query.
20013
20014         * gst/gstutils.c: (gst_util_uint64_scale),
20015         (gst_util_uint64_scale_int):
20016         Add some more common cases that can be handled 
20017         efficiently to _scale.
20018
20019 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20020
20021         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20022         (gst_mini_object_suite):
20023           don't use check calls from threads; check probably isn't
20024           threadsafe and using a lock to make it threadsafe would
20025           defeat the purpose of this check
20026         * gst/check/gstcheck.c:
20027         * gst/check/gstcheck.h:
20028           use GST_DEBUG some more
20029
20030 2005-11-24  Wim Taymans  <wim@fluendo.com>
20031
20032         * gst/gstutils.c: (gst_util_uint64_scale),
20033         (gst_util_uint64_scale_int):
20034         Chain trivial case to _scale_int.
20035
20036 2005-11-24  Wim Taymans  <wim@fluendo.com>
20037
20038         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20039         Added test for scaling.
20040
20041         * gst/gstclock.h:
20042         Small doc fix.
20043
20044         * gst/gstutils.c: (gst_util_uint64_scale_int):
20045         Implemented high precision scaling code.
20046
20047 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20048
20049         * gst/gstinfo.h:
20050           do not crash on pad==NULL
20051
20052 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20053
20054         Patch by: Stefan Kost
20055
20056         * common/gtk-doc.mak:
20057         * docs/gst/Makefile.am:
20058         * docs/libs/Makefile.am:
20059           Fix distcheck issues for the libraries docs build
20060           Closes #319599.
20061
20062 2005-11-24  Michael Smith <msmith@fluendo.com>
20063
20064         * docs/manual/basics-helloworld.xml:
20065           Fix bug #315027: memory leak in example code in docs.
20066
20067 2005-11-24  Michael Smith <msmith@fluendo.com>
20068
20069         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20070           Unlock the PREROLL_LOCK in a failure case.
20071
20072 2005-11-24  Wim Taymans  <wim@fluendo.com>
20073
20074         * docs/gst/gstreamer-sections.txt:
20075         * gst/base/gstadapter.h:
20076         * gst/base/gstbasesink.h:
20077         * gst/base/gstbasesrc.h:
20078         * gst/base/gstbasetransform.h:
20079         * gst/base/gstpushsrc.h:
20080         * gst/elements/gstfakesink.h:
20081         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20082         * gst/elements/gstfakesrc.h:
20083         * gst/elements/gstfilesink.h:
20084         * gst/elements/gstfilesrc.h:
20085         * gst/gst.c:
20086         * gst/gstbin.c:
20087         * gst/gstbuffer.c: (_gst_buffer_copy):
20088         * gst/gstbus.h:
20089         * gst/gstcaps.c:
20090         * gst/gstchildproxy.c:
20091         * gst/gstclock.c:
20092         * gst/gstelement.c:
20093         * gst/gstelementfactory.c:
20094         * gst/gstelementfactory.h:
20095         * gst/gstevent.c:
20096         * gst/gstghostpad.h:
20097         * gst/gstindex.h:
20098         * gst/gstinterface.h:
20099         * gst/gstminiobject.c:
20100         * gst/gstminiobject.h:
20101         * gst/gstpad.c:
20102         * gst/gstpad.h:
20103         * gst/gstpadtemplate.h:
20104         * gst/gstpipeline.h:
20105         * gst/gstpluginfeature.h:
20106         * gst/gstquery.h:
20107         * gst/gstqueue.h:
20108         * gst/gsttaglist.c:
20109         * gst/gsttaglist.h:
20110         * gst/gsttagsetter.c:
20111         * gst/gsttagsetter.h:
20112         * gst/gsttrace.c:
20113         * gst/gsttrace.h:
20114         * gst/gsttypefind.h:
20115         * gst/gsturi.h:
20116         * gst/gstvalue.c:
20117         * gst/net/gstnetclientclock.c:
20118         * gst/net/gstnetclientclock.h:
20119         * gst/net/gstnettimepacket.c:
20120         * gst/net/gstnettimeprovider.c:
20121         * gst/net/gstnettimeprovider.h:
20122         Doc fixes.
20123
20124 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20125
20126         * configure.ac: back to HEAD
20127
20128 === release 0.9.6 ===
20129
20130 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20131
20132         * configure.ac:
20133           releasing 0.9.6, "Always On Time"
20134
20135 2005-11-23  Wim Taymans  <wim@fluendo.com>
20136
20137         * docs/gst/gstreamer-sections.txt:
20138         * gst/glib-compat.c:
20139         * gst/gsttagsetter.c:
20140         * gst/gstvalue.c:
20141         * gst/net/gstnetclientclock.c:
20142         * gst/net/gstnettimepacket.h:
20143         Doc updates.
20144
20145 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20146
20147         * docs/faq/using.xml:
20148         * docs/libs/tmpl/gstcontrol.sgml:
20149         * docs/manual/advanced-dparams.xml:
20150         * docs/manual/appendix-checklist.xml:
20151         * docs/manual/basics-elements.xml:
20152         * docs/pwg/other-source.xml:
20153         * docs/random/moving-plugins:
20154         * gst/gstpad.c:
20155         * tools/gst-launch.1.in:
20156           remove mentions of sinesrc
20157
20158 2005-11-23  Michael Smith <msmith@fluendo.com>
20159
20160         * docs/gst/gstreamer-sections.txt:
20161           Update for new API and API changes.
20162         * gst/gstobject.h:
20163           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20164         * gst/gstvalue.c:
20165           Documentation typo fix.
20166         * gst/net/gstnettimepacket.c:
20167           Documentation fixes for arguments.
20168
20169 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20170
20171         * gst/gststructure.c: (gst_structure_get_fraction),
20172         (gst_structure_parse_value),
20173         (gst_structure_fixate_field_nearest_fraction):
20174         * gst/gststructure.h:
20175         * gst/gstutils.c: (gst_util_uint64_scale_int):
20176         * gst/gstutils.h:
20177         * scripts/update-funcnames:
20178         API Changes. 
20179         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20180         Make gst_structure_fixate_field_nearest_fraction take a numerator
20181         and denominator argument instead of a GValue
20182         add gst_structure_get_fraction helper function.
20183
20184 2005-11-23  Wim Taymans  <wim@fluendo.com>
20185
20186         * docs/design/part-TODO.txt:
20187         Update TODO.
20188
20189         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20190         * gst/net/gstnetclientclock.h:
20191         Use parent fields for timeout and window_size.
20192
20193 2005-11-23  Andy Wingo  <wingo@pobox.com>
20194
20195         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20196         rate_num/rate_denom change.
20197
20198         * gst/net/gstnetclientclock.c
20199         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20200         OBJECT_LOCK. Don't call add_observation with the lock.
20201
20202         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20203         fraction.
20204         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20205         rate fraction.
20206         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20207         deal with rate as a fraction whose numerator and denominator are
20208         GstClockTime values.
20209         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20210         master; the other fields are protected by the SLAVE_LOCK.
20211         (do_linear_regression): Note that this must be called with the
20212         SLAVE_LOCK.
20213         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20214         OBJECT_LOCK. Call set_calibration instead of touching the
20215         variables directly.
20216         (gst_clock_set_property, gst_clock_get_property): Protect
20217         master/slave parameters with the SLAVE_LOCK.
20218
20219         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20220         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20221         note that all of the instance variables that add_observation and
20222         the set_master functions use are protected by that lock and not
20223         the OBJECT_LOCK.
20224         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20225
20226         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20227         the caller to take the object lock.
20228
20229 2005-11-23  Wim Taymans  <wim@fluendo.com>
20230
20231         * gst/gsterror.c: (_gst_core_errors_init):
20232         * gst/gsterror.h:
20233         Add error for clock stuff.
20234
20235         * gst/gstpipeline.c: (gst_pipeline_change_state),
20236         (gst_pipeline_set_clock):
20237         Post clock error when clock cannot be used in a pipeline.
20238
20239 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20240
20241         * docs/gst/gstreamer-sections.txt:
20242           make two symbols from gstinfo private for the docs
20243         * gst/base/gstcollectpads.h:
20244         * gst/gstutils.c:
20245           fix doc typos, update docs
20246
20247 2005-11-22  Wim Taymans  <wim@fluendo.com>
20248
20249         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20250         (gst_base_sink_wait), (gst_base_sink_do_sync),
20251         (gst_base_sink_handle_event):
20252         * gst/base/gstbasesink.h:
20253         No need to store the clock, the parent element class already
20254         has it.
20255
20256         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20257         Updates for clock_set returning a gboolean
20258
20259         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20260         (gst_clock_id_wait_async), (gst_clock_class_init),
20261         (gst_clock_init), (gst_clock_finalize),
20262         (gst_clock_get_internal_time), (gst_clock_get_time),
20263         (gst_clock_slave_callback), (gst_clock_set_master),
20264         (gst_clock_get_master), (do_linear_regression),
20265         (gst_clock_add_observation), (gst_clock_set_property),
20266         (gst_clock_get_property):
20267         * gst/gstclock.h:
20268         Implement master/slave. When setting a clock as a slave, a
20269         periodic timeout is scheduled to sample master and slave times.
20270         Then the slave clock is recalibrated to match offset and rate
20271         of the master clock.
20272         Update logging a bit.
20273         Add flag so that a clock can state that is cannot be slaved to
20274         another clock.
20275
20276         * gst/gstelement.c: (gst_element_set_clock):
20277         * gst/gstelement.h:
20278         The set clock returns a gboolean for when an element cannot
20279         deal with the selected clock in the pipeline. 
20280
20281         * gst/gstpipeline.c: (gst_pipeline_change_state),
20282         (gst_pipeline_set_clock):
20283         * gst/gstpipeline.h:
20284         Handle the case where the selected clock cannot be set on
20285         the pipeline.
20286
20287         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20288         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20289         (gst_net_client_clock_set_property),
20290         (gst_net_client_clock_get_property),
20291         (gst_net_client_clock_observe_times):
20292         * gst/net/gstnetclientclock.h:
20293         Use regression code in GstClock parent, remove duplicated
20294         functionality.
20295
20296 2005-11-22  Michael Smith <msmith@fluendo.com>
20297
20298         * gst/gstutils.c: (gst_util_clock_time_scale):
20299         * gst/gstutils.h:
20300         * docs/gst/gstreamer-sections.txt:
20301           Rename method to have extra underscore.
20302
20303 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20304
20305         * gst/elements/Makefile.am:
20306         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20307         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20308         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20309         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20310         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20311         * gst/elements/gstfakesrc.h:
20312         * gst/gstqueue.c: (queue_leaky_get_type):
20313           correctly fix GEnumValues so that nick is the short lowercase
20314           dashed tag
20315         * tools/gst-inspect.c: (print_element_properties_info):
20316           also show the nick, since it's useful to use from parse_launch
20317           syntax
20318           Fixes #322139
20319
20320 2005-11-22  Michael Smith <msmith@fluendo.com>
20321
20322         * gst/gstutils.c: (gst_util_clocktime_scale):
20323         * gst/gstutils.h:
20324         * docs/gst/gstreamer-sections.txt:
20325           Add util method for scaling a clocktime by a fraction. Useful 
20326           implementation is left as an exercise for the reader.
20327
20328 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20329
20330         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20331         If needed, allocate storage in the destination value during
20332         collection.
20333
20334 2005-11-22  Edward Hervey  <edward@fluendo.com>
20335
20336         * docs/gst/gstreamer-sections.txt:
20337         * gst/Makefile.am:
20338         * gst/gst.h:
20339         * gst/gsturitype.c:
20340         * gst/gsturitype.h:
20341         * gst/gstutils.c: (gst_util_set_object_arg):
20342         * tools/gst-compprep.c: (main):
20343         * tools/gst-inspect.c: (print_element_properties_info):
20344         Removed GstURI, closes bug #321061
20345
20346 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20347
20348         * check/gst/gststructure.c: (GST_START_TEST):
20349         * gst/gststructure.c: (gst_structure_parse_value):
20350           Oops, broke automatic string type parsing.
20351           Add a test to catch it in future.
20352
20353 2005-11-22  Andy Wingo  <wingo@pobox.com>
20354
20355         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20356         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20357         Actually rename the function implementations. Grr.
20358
20359 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20360
20361         * check/gst/capslist.h:
20362           Comment test cases
20363         * check/gst/gststructure.c: (GST_START_TEST),
20364         (gst_structure_suite):
20365           Test automatic value type detection in gst_structure_from_string.
20366         * gst/gststructure.c: (gst_structure_parse_value):
20367           Add fraction as a type we try and guess automatically in
20368           caps/structure strings.
20369
20370 2005-11-22  Andy Wingo  <wingo@pobox.com>
20371
20372         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20373
20374         * gst/gsttagsetter.h:
20375         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20376         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20377         (gst_tag_setter_add_tag_valist)
20378         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20379         _add_values, _add_valist, and _add_valist_values. Since this is an
20380         interface the function suffixes should be more explicit so
20381         language binding don't end up with element.add_valist ->
20382         gst_tag_setter_add_valist, for example. Fixes #322069.
20383
20384 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20385
20386         * check/gst/gstcaps.c: (GST_START_TEST):
20387           Extend caps string tests to check that a caps to string
20388           conversion is reversible and produces the same caps.
20389
20390         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20391           Output "fraction" as the generic type fraction range, so caps
20392           serialisation and deserialisation works.
20393         * check/gst/capslist.h:
20394         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20395           Support 'MIN' and 'MAX' for deserialising fractions.
20396
20397 2005-11-22  Andy Wingo  <wingo@pobox.com>
20398
20399         * gst/gstevent.h (gst_event_new_new_segment)
20400         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20401         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20402         Renamed from *_newsegment, *_buffersize, *_notarget.
20403
20404         * scripts/update-funcnames: New script, performs the changes
20405         listed above.
20406
20407 2005-11-22  Wim Taymans  <wim@fluendo.com>
20408
20409         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20410         Make sure the GstFlowReturn is returned.
20411
20412         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20413         (gst_bus_add_signal_watch):
20414         * gst/gstbus.h:
20415         add gst_bus_add_signal_watch_full.
20416
20417         * gst/gstplugin.c: (gst_plugin_load_file):
20418         Small style cleanup.
20419
20420 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20421
20422         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20423           Block the fakesrc srcpad when we send an event, to avoid
20424           contention on the stream_lock causing random test failures.
20425
20426 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20427
20428         * check/gst/gstvalue.c: (GST_START_TEST):
20429         * gst/gstvalue.c: (gst_value_fraction_subtract):
20430           Fix subtraction.
20431
20432 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20433
20434         * gst/gst.h:
20435           include "gstchildproxy.h"
20436         * gst/gstchildproxy.h:
20437         * libs/gst/controller/gstcontroller.h:
20438           use G_GNUC_NULL_TERMINATED
20439
20440 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20441
20442         * check/gst/capslist.h:
20443         * check/gst/gstcaps.c: (GST_START_TEST):
20444         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20445         * gst/gststructure.c: (gst_structure_parse_range),
20446         (gst_structure_fixate_field_nearest_fraction):
20447         * gst/gststructure.h:
20448         * gst/gstvalue.c: (gst_value_init_fraction_range),
20449         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20450         (gst_value_collect_fraction_range),
20451         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20452         (gst_value_set_fraction_range_full),
20453         (gst_value_get_fraction_range_min),
20454         (gst_value_get_fraction_range_max),
20455         (gst_value_serialize_fraction_range),
20456         (gst_value_transform_fraction_range_string),
20457         (gst_value_compare_fraction_range),
20458         (gst_value_deserialize_fraction_range),
20459         (gst_value_intersect_fraction_fraction_range),
20460         (gst_value_intersect_fraction_range_fraction_range),
20461         (gst_value_subtract_fraction_fraction_range),
20462         (gst_value_subtract_fraction_range_fraction),
20463         (gst_value_subtract_fraction_range_fraction_range),
20464         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20465         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20466         (gst_value_transform_string_fraction), (_gst_value_initialize):
20467         * gst/gstvalue.h:
20468           Implement fraction ranges and extend GstFraction to support
20469           arithmetic subtraction, as well as deserialization from integer
20470           strings such as "100"
20471           Add a testsuite as for int and double range set operations
20472
20473 2005-11-21  Andy Wingo  <wingo@pobox.com>
20474
20475         * gst/gsttaglist.h: 
20476         * gst/gstcaps.h: 
20477         * gst/gststructure.h: Add glib-compat.h.
20478
20479 2005-11-21  Wim Taymans  <wim@fluendo.com>
20480
20481         * gst/gstbin.c: (gst_bin_change_state_func):
20482         Fix for #321595
20483
20484 2005-11-21  Wim Taymans  <wim@fluendo.com>
20485
20486         * gst/gstsegment.h:
20487         And add a nice define too.
20488
20489 2005-11-21  Wim Taymans  <wim@fluendo.com>
20490
20491         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20492         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20493         (gst_segment_set_duration), (gst_segment_set_last_stop),
20494         (gst_segment_set_seek), (gst_segment_set_newsegment),
20495         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20496         (gst_segment_clip):
20497         * gst/gstsegment.h:
20498         Make binding friendly.
20499
20500 2005-11-21  Andy Wingo  <wingo@pobox.com>
20501
20502         * gst/gsttagsetter.h: 
20503         * gst/gsttaglist.h: 
20504         * gst/gststructure.h: 
20505         * gst/gstcaps.h: 
20506         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20507         #319940.
20508
20509         * gst/gsterror.c (_gst_core_errors_init):
20510         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20511         category.
20512
20513         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20514         (noinst_HEADERS): noinst the -private.
20515
20516 2005-11-21  Michael Smith <msmith@fluendo.com>
20517
20518         * gst/gstplugin.h:
20519         * gst/gstregistry.h:
20520           Remove unimplemented declarations for which we can see no sensible
20521           use.
20522
20523 2005-11-21  Andy Wingo  <wingo@pobox.com>
20524
20525         * gst/gst.h: Include glib-compat.h.
20526
20527         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20528
20529         * gst/glib-compat.c: Include the public and the private header.
20530
20531         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20532
20533         * gst/gstvalue.c: 
20534         * gst/gstpad.c: 
20535         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20536
20537         * check/gst/gstevent.c (create_custom_events): Check that
20538         FLUSH_STOP is serialized.
20539
20540         * check/elements/identity.c (event_func): 
20541         * check/elements/fakesrc.c (event_func): No stream lock, the core
20542         takes it.
20543
20544         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20545         stream lock taking, yay.
20546
20547         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20548         ensure that core takes the stream lock.
20549
20550         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20551         lock name change.
20552
20553         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20554         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20555         it already. For the flush start we do take it though so we get the
20556         right preroll state change messages.
20557
20558         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20559         the stream lock here, the core does it for us.
20560
20561         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20562         GST_STREAM_GET_LOCK.
20563         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20564         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20565         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20566         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20567         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20568         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20569
20570         * gst/gstpad.c: Update for stream lock name change.
20571
20572         * gst/base/gstbasesink.c: Update for preroll lock name change.
20573
20574 2005-11-21  Wim Taymans  <wim@fluendo.com>
20575
20576         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20577         (gst_clock_get_master):
20578         * gst/gstclock.h:
20579         * gst/gstsystemclock.c: (gst_system_clock_init):
20580         Convert Clock flags to object flags.
20581         Added methods to manage master/slave clocks.
20582
20583 2005-11-21  Wim Taymans  <wim@fluendo.com>
20584
20585         * check/gst/gstsegment.c: (GST_START_TEST):
20586         * docs/design/part-TODO.txt:
20587         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20588         (gst_base_sink_event), (gst_base_sink_do_sync),
20589         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20590         (gst_base_sink_query), (gst_base_sink_change_state):
20591         * gst/base/gstbasesink.h:
20592         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20593         (gst_base_src_default_newsegment),
20594         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20595         (gst_base_src_get_range), (gst_base_src_loop),
20596         (gst_base_src_change_state):
20597         * gst/base/gstbasesrc.h:
20598         * gst/base/gstbasetransform.c:
20599         (gst_base_transform_prepare_output_buf),
20600         (gst_base_transform_event), (gst_base_transform_change_state):
20601         * gst/base/gstbasetransform.h:
20602         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20603         (gst_collect_pads_event):
20604         * gst/base/gstcollectpads.h:
20605         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20606         (gst_fake_src_create):
20607         * gst/elements/gstfakesrc.h:
20608         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20609         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20610         (gst_segment_set_last_stop), (gst_segment_set_seek),
20611         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20612         (gst_segment_to_running_time), (gst_segment_clip):
20613         * gst/gstsegment.h:
20614         More segment updates, replace code in plugins with segment
20615         helper functions.
20616
20617 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20618
20619         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20620         Don't ignore sscanf results
20621
20622 2005-11-21  Andy Wingo  <wingo@pobox.com>
20623
20624         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20625
20626         * *.h:
20627         * *.c: Ran scripts/update-macros. Oh yes.
20628
20629         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20630         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20631         GST_GET_LOCK, etc.
20632
20633         * scripts/update-macros: New script. Run it on your files to
20634         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20635         well.
20636
20637 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20638
20639         * docs/gst/Makefile.am:
20640         * docs/gst/gstreamer-docs.sgml:
20641         * docs/gst/gstreamer-sections.txt:
20642         * docs/gst/gstreamer.types:
20643         * gst/gstinfo.h:
20644           more docs fixes, add new api to the docs
20645
20646 2005-11-21  Andy Wingo  <wingo@pobox.com>
20647
20648         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20649         state_broadcast call.
20650
20651         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20652
20653 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20654
20655         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20656         function calls for arrays.
20657
20658 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20659
20660         * docs/random/ensonic/media-device-daemon.txt:
20661           wild idea, can this be done?
20662         * docs/gst/gstreamer-sections.txt:
20663         * gst/gsterror.h:
20664         * gst/gstfilter.c:
20665         * gst/gstfilter.h:
20666         * gst/gstplugin.h:
20667         * gst/gstpluginfeature.c:
20668         * gst/gsttrace.c:
20669         * gst/gstvalue.c:
20670         * gst/gstvalue.h:
20671           doc fixes and additions
20672
20673 2005-11-21  Andy Wingo  <wingo@pobox.com>
20674
20675         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20676         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20677         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20678         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20679         private to the basesrc implementation.
20680
20681         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20682         behalf of event function if necessary. It should no longer be
20683         necessary to take the stream lock in pad's event functions. Fixes
20684         #320299.
20685
20686 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20687         * docs/gst/gstreamer-sections.txt:
20688         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20689         (gst_structure_fixate_field_nearest_double),
20690         (gst_structure_fixate_field_boolean):
20691         * gst/gststructure.h:
20692         * win32/common/libgstreamer.def:
20693         * win32/gstreamer.def:
20694
20695         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20696         (#322027)
20697
20698 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20699
20700         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20701         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20702         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20703         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20704         (gst_fdsrc_uri_handler_init):
20705         * gst/elements/gstfdsrc.h:
20706           Port fd:// URI handler from 0.8 to fdsrc
20707
20708 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20709
20710         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20711         (gst_value_serialize_fourcc):
20712         * gst/gstvalue.h:
20713           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20714           consistent with our other format defines (#320324).
20715
20716 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20717
20718         * gst/gstvalue.c: (gst_value_is_fixed):
20719           Revert previous commit. Value lists are by definition
20720           not fixed, as they are a list of possible values.
20721
20722 2005-11-21  Andy Wingo  <wingo@pobox.com>
20723
20724         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20725         during the stable series if we need it. Fixes #319178.
20726
20727         * gst/gstevent.c (gst_event_new_filler): Removed.
20728
20729         * check/gst/gstevent.c: Update comment about filler events.
20730
20731 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20732
20733         * gst/gstvalue.c: (gst_value_is_fixed):
20734           Should handle both value arrays and value lists.
20735
20736 2005-11-21  Andy Wingo  <wingo@pobox.com>
20737
20738         patch by: Alessandro Dessina <alessandro nnva org>
20739
20740         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20741         functions to access arrays. Fixes #321962.
20742
20743 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20744
20745         * docs/gst/gstreamer.types:
20746           gst_collectpads_get_type => gst_collect_pads_get_type.
20747           
20748         * gst/base/gstbasetransform.c:
20749           Remove unused SIGNAL_HANDOFF enum.
20750
20751 2005-11-21  Andy Wingo  <wingo@pobox.com>
20752
20753         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20754         the event type (upstream, downstream, serialized). Renamed
20755         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20756         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20757         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20758
20759         * gst/gstevent.c: Update for new CUSTOM event names.
20760
20761         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20762
20763         * gst/gstevent.h:
20764         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20765         bug #319392.
20766
20767 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20768
20769         * docs/gst/gstreamer-sections.txt:
20770         * win32/common/libgstbase.def:
20771         * win32/libgstbase.def:
20772         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20773         (gst_collect_pads_class_init), (gst_collect_pads_init),
20774         (gst_collect_pads_finalize), (gst_collect_pads_new),
20775         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20776         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20777         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20778         (gst_collect_pads_start), (gst_collect_pads_stop),
20779         (gst_collect_pads_peek), (gst_collect_pads_pop),
20780         (gst_collect_pads_available), (gst_collect_pads_read),
20781         (gst_collect_pads_flush), (gst_collect_pads_event),
20782         (gst_collect_pads_chain):
20783         * gst/base/gstcollectpads.h:
20784           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20785           unimplemented functions as unimplemented. Add padding to
20786           GstCollectData. (#320766, #320423)
20787
20788 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20789
20790         * gst/gstmessage.c:
20791           Improve docs for DURATION message (usage of duration parameter)
20792           (#320113)
20793
20794 2005-11-20  Wim Taymans  <wim@fluendo.com>
20795
20796         * check/Makefile.am:
20797         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20798         (main):
20799         * gst/Makefile.am:
20800         * gst/gst.h:
20801         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20802         (gst_segment_set_seek), (gst_segment_set_newsegment),
20803         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20804         (gst_segment_clip):
20805         * gst/gstsegment.h:
20806         Added segment helper structure and methods. Not fully implemented
20807         yet.
20808         Added segment check.
20809
20810 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20811
20812         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20813           Add a deserialisation test for fractions
20814         * examples/metadata/read-metadata.c: (message_loop),
20815         (make_pipeline), (main):
20816           Fix up metadata reading sample.
20817         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20818           Debug format fix
20819         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20820           Don't try and fixate empty caps
20821         * gst/gst_private.h:
20822           Wrap in G_BEGIN_DECLS/G_END_DECLS
20823         * gst/gstvalue.c: (gst_value_collect_fraction),
20824         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20825         (gst_value_transform_string_fraction),
20826         (gst_value_compare_fraction):
20827           Add some extra guards to ensure that we don't end up 
20828           with an invalid denominator of 0 in a gstfraction and
20829           that fractions always get reduced.
20830
20831 2005-11-20  Wim Taymans  <wim@fluendo.com>
20832
20833         * docs/gst/gstreamer-sections.txt:
20834         * gst/gstbuffer.h:
20835         * gst/gstelement.c:
20836         * gst/gstformat.c:
20837         * gst/gstformat.h:
20838         * gst/gstindex.h:
20839         * gst/gstquery.c:
20840         * gst/gstquery.h:
20841         * gst/gstvalue.c:
20842         Doc fixes.
20843
20844 2005-11-20  Wim Taymans  <wim@fluendo.com>
20845
20846         * docs/design/part-TODO.txt:
20847         * gst/gstcaps.h:
20848         Make a proper enum of the flag.
20849
20850 2005-11-19  Wim Taymans  <wim@fluendo.com>
20851
20852         * docs/design/part-TODO.txt:
20853         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20854         (gst_format_to_quark), (gst_format_register):
20855         * gst/gstformat.h:
20856         * gst/gstquery.c: (_gst_query_initialize),
20857         (gst_query_type_get_name), (gst_query_type_to_quark),
20858         (gst_query_type_register):
20859         * gst/gstquery.h:
20860         Add type to quark and type to string conversions.
20861
20862 2005-11-19  Andy Wingo  <wingo@pobox.com>
20863
20864         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20865         #320097.
20866
20867 2005-11-19  Wim Taymans  <wim@fluendo.com>
20868
20869         * docs/design/part-TODO.txt:
20870         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20871         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20872         (gst_bin_handle_message_func):
20873         * gst/gstbin.h:
20874         Make message handling overridable.
20875
20876 2005-11-19  Andy Wingo  <wingo@pobox.com>
20877
20878         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20879
20880         * gst/gstclock.h:
20881         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20882         be a GstClockTime.
20883         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20884         is a GstClockTime. Fixes #321710.
20885
20886         * gst/gstclock.h (GstClock): Remove offset property. Add
20887         internal_calibration and external_calibration. Fix padding. Pad
20888         also by GstClockTime so we don't run into problems.
20889
20890         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20891         (gst_clock_get_rate_offset): Remove.
20892         (gst_clock_set_time_adjust): Remove. Fixes #321712.
20893
20894         * gst/gstutils.h:
20895         * gst/gstutils.c (g_static_rec_cond_wait)
20896         (g_static_rec_cond_timed_wait): Removed, no longer needed.
20897
20898         * gst/gstbin.c: Remove terrible continue_state prototype.
20899
20900         * gst/gstelement.h (gst_element_continue_state): Make public.
20901
20902         * gst/gstelement.h:
20903         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20904         by continue_state. Fixes #319389.
20905
20906         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20907         Really fixes #168438. However I don't see anywhere where the
20908         filter function is called... stupid GStreamer...
20909         
20910         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20911         don't have a dispose function, so it won't get called when the
20912         object is unreffed, but oh well!
20913
20914         * gst/gstindex.c (gst_index_set_filter_full): New API function,
20915         allows a destroy function to be set so user_data can be freed.
20916         Fixes #168438.
20917         (gst_index_set_filter): Call gst_index_set_filter_full.
20918
20919         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20920
20921         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20922         string should produce an error, given the lack of a way to
20923         represent NULL strings. Fixes #165650.
20924         
20925         * gst/gstvalue.h: 
20926         * gst/gstvalue.c (gst_value_array_append_value) 
20927         (gst_value_array_prepend_value, gst_value_array_get_size) 
20928         (gst_value_array_get_value): New API, copied from
20929         gst_value_list_*, only operates on arrays.
20930         (gst_value_list_append_value, gst_value_list_prepend_value) 
20931         (gst_value_list_concat, gst_value_list_get_size) 
20932         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20933
20934         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20935         init_list, because it works on both.
20936         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20937         (gst_value_copy_list_or_array): Renamed from copy_list.
20938         (gst_value_free_list_or_array): Renamed from free_list.
20939         (gst_value_collect_list_or_array): Renamed from collect_list.
20940         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20941         (gst_value_list_or_array_peek_pointer): Renamed from
20942         list_peek_pointer.
20943         (_gst_value_array_value_table, _gst_value_list_value_table):
20944         Update value table functions.
20945         (gst_value_compare_list_or_array): Renamed from compare_list.
20946
20947         * gsttaglist.h: Whoops, foreach function returns void. Also fix
20948         some constness.
20949
20950         * gst/gsttaglist.c:
20951         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20952         GstTagList*. Fixes #143472.
20953
20954         * gst/gststructure.h: Clarify what the foreach/map functions can
20955         or can't do to their arguments.
20956
20957 2005-11-18  Wim Taymans  <wim@fluendo.com>
20958
20959         * gst/gstclock.c: (gst_clock_set_calibration),
20960         (gst_clock_get_calibration):
20961         Doc and API fixes.
20962         Calibration can be set with internal time equal to current
20963         internal time too.
20964
20965 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20966
20967         * gst/gsterror.c:
20968         * gst/gsterror.h:
20969           document
20970
20971 2005-11-18  Andy Wingo  <wingo@pobox.com>
20972
20973         * configure.ac: 
20974         * pkgconfig/gstreamer-net.pc.in:
20975         * pkgconfig/gstreamer-net-uninstalled.pc.in:
20976         * pkgconfig/Makefile.am: Add net pkgconfig files.
20977
20978 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
20979
20980         * gst/gstcaps.c:
20981         * gst/gstghostpad.c:
20982         * gst/gsttrace.c:
20983         * gst/gstvalue.c:
20984         * gst/gstvalue.h:
20985           docs fixes
20986
20987 2005-11-18  Andy Wingo  <wingo@pobox.com>
20988
20989         * gst/net/gstnetclientclock.c: Turn off debugging.
20990
20991         * check/net/gstnetclientclock.c (test_functioning): Assert that the
20992         times connverge somewhat. Can't make a real test.
20993
20994         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20995         integer arithmetic. Return the minimum of the domain, which can be
20996         set as "internal" for gst_clock_set_calibration.
20997         (gst_net_client_clock_observe_times): Call _set_calibration.
20998         (gst_net_client_clock_new): Call _set_calibration instead of
20999         rate_offset.
21000
21001         * check/net/gstnetclientclock.c (test_functioning): Use the right
21002         adjustment api.
21003
21004         * gst/gstclock.h:
21005         * gst/gstclock.c (gst_clock_get_calibration) 
21006         (gst_clock_set_calibration): New functions, obsolete the ones I
21007         added yesterday. Doh. Precision issues mean we have to extrapolate
21008         from a point in the more recent past than 1970.
21009         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21010         obsolete.
21011         (gst_clock_adjust_unlocked): Use the right calibration data.
21012
21013 2005-11-18  Edward Hervey  <edward@fluendo.com>
21014
21015         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21016         Also reset the ->current_* values in READY->PAUSED
21017
21018 2005-11-18  Andy Wingo  <wingo@pobox.com>
21019
21020         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21021         Whoops, check the right fd. Also add some debugging.
21022         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21023         (do_linear_regression): Add a crapload of debugging. Subtract off
21024         the minimum values from the input series to discard unneeded bits.
21025         Use only int arithmetic. There is still double arithmetic when
21026         calculating the intercept that needs fixing. Return boolean to
21027         indicate success; FALSE would mean the domain or range is too
21028         great. Still needs fixes.
21029
21030 2005-11-18  Wim Taymans  <wim@fluendo.com>
21031
21032         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21033         For the current position in stream time, we need to subtract
21034         accumulated time.
21035         
21036         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21037         Release lock before calling the callback function of async
21038         entries.
21039
21040 2005-11-18  Andy Wingo  <wingo@pobox.com>
21041
21042         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21043         Port goes all the way to MAXUINT16.
21044
21045         * gst/net/gstnettimeprovider.c: Make the port range the same as
21046         for the kernel: 0 assigns, otherwise ports are less than
21047         MAXUINT16.
21048
21049         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21050         port change.
21051
21052         * check/net/gstnetclientclock.c (test_functioning): Add the start
21053         of another test. 
21054
21055 2005-11-18  Wim Taymans  <wim@fluendo.com>
21056
21057         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21058         (gst_bin_remove_func), (bin_bus_handler):
21059         * gst/gstbin.h:
21060         Removing a clock provider from a bin, triggers a clock lost message
21061         so that a new clock will be selected.
21062         Adding a clock to a bin triggers a clock provider message.
21063         Make sure we reselect a clock when we received a clock lost message.
21064         Keep a reference to the element that provided the clock.
21065
21066 2005-11-18  Andy Wingo  <wingo@pobox.com>
21067
21068         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21069         the clock initially so it produces values around the base time.
21070         (gst_net_client_clock_class_init): Typo fix.
21071         (gst_net_client_clock_thread): Add note on when the socket gets
21072         closed.
21073
21074 2005-11-17  Wim Taymans  <wim@fluendo.com>
21075
21076         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21077         Free remote and local time arrays.
21078
21079 2005-11-17  Wim Taymans  <wim@fluendo.com>
21080
21081         * gst/net/gstnetclientclock.c: (do_linear_regression),
21082         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21083         Fix compilation, uninitialized vars and a forgotten continue.
21084
21085 2005-11-17  Andy Wingo  <wingo@pobox.com>
21086
21087         * check/Makefile.am (check_PROGRAMS): 
21088         * check/net/gstnetclientclock.c: Add a most minimal test for the
21089         net client clock. More to come later.
21090
21091         * gst/net/gstnet.h: 
21092         * gst/net/Makefile.am: Add netclientclock.
21093
21094         * gst/net/gstnetclientclock.h:
21095         * gst/net/gstnetclientclock.c: New files, implement an untested
21096         GstClock that takes its time from a network time provider.
21097         Implements the algorithm in network-clock.scm.
21098
21099         * tests/network-clock.scm (*window-size*): Rename from
21100         *queue-length*.
21101         * tests/network-clock.scm (network-time): 
21102         * tests/network-clock-utils.scm (q-push): Update callers.
21103
21104 2005-11-17  Wim Taymans  <wim@fluendo.com>
21105
21106         * gst/gstbin.c: (gst_bin_provide_clock_func),
21107         (gst_bin_sort_iterator_new):
21108         And unref the child too..
21109
21110 2005-11-17  Wim Taymans  <wim@fluendo.com>
21111
21112         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21113         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21114         Refactor the sort iterator so it can be used while holding the
21115         LOCK too.
21116         Make clock selection select a clock closest to the source.
21117
21118 2005-11-17  Michael Smith <msmith@fluendo.com>
21119
21120         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21121         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21122         * gst/gstclock.h:
21123           Anonymous structs are a gcc (and some other compilers) extension, so
21124           don't use them. Since this is only for ABI-compatibility, and our
21125           API/ABI freeze is over in a few days, this whole thing will only
21126           last a few days, so don't bother trying to think up a meaningful
21127           name for the struct.
21128
21129 2005-11-17  Andy Wingo  <wingo@pobox.com>
21130
21131         * gst/gstclock.h (GstClock): Add rate and offset properties,
21132         preserving ABI stability. Add rate/offset accessors. Will file bug
21133         for the freeze break.
21134
21135         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21136         and offset, trying to keep precision and avoiding
21137         underflow/overflow.
21138         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21139         functions. Make gst_clock_set_time_adjust obsolete.
21140         (gst_clock_set_time_adjust): Note that this function is obsolete.
21141         Will file bug soon.
21142
21143         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21144         greppable by using GST_PADDING-1+1.
21145
21146 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21147
21148         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21149
21150         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21151           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21152
21153         * gst/gstpadtemplate.h:
21154         * gst/gstpluginfeature.h:
21155           Don't use c++ style comments in headers (#321638).
21156
21157 2005-11-16  Andy Wingo  <wingo@pobox.com>
21158
21159         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21160         buffer.
21161
21162         * check/net/gstnettimeprovider.c: Check to see that the time
21163         provider actually provides times. Works, yo!
21164
21165 2005-11-16  Wim Taymans  <wim@fluendo.com>
21166
21167         * check/Makefile.am:
21168         Enable more tests.
21169
21170         * check/elements/fakesrc.c: (GST_START_TEST):
21171         Set element to NULL before disposing it.
21172
21173 2005-11-16  Andy Wingo  <wingo@pobox.com>
21174
21175         * gst/net/Makefile.am:
21176         * gst/net/gstnet.h:
21177         * gst/net/gstnettimeprovider.c: 
21178         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21179         provider, include it from gstnet.h, and add it to the build.
21180
21181         * gst/net/gstnettimepacket.h: 
21182         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21183         sending and receiving.
21184
21185 2005-11-16  Wim Taymans  <wim@fluendo.com>
21186
21187         * check/Makefile.am:
21188         Enable valgrind check.
21189
21190         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21191         (gst_fake_src_alloc_buffer):
21192         Fix memleak.
21193
21194 2005-11-16  Wim Taymans  <wim@fluendo.com>
21195
21196         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21197         Call parent finalize too.
21198
21199 2005-11-16  Wim Taymans  <wim@fluendo.com>
21200
21201         * check/Makefile.am:
21202         Enable valgrind check that should work fine now.
21203
21204         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21205         * gst/gstqueue.c: (gst_queue_init):
21206         Fix memleaks in pad allocation.
21207
21208 2005-11-16  Andy Wingo  <wingo@pobox.com>
21209
21210         * gst/net/Makefile.am:
21211         * gst/net/gstnet.h: New part of core to hold network elements and
21212         objects. Put in core because it exposes API that applications want
21213         to use. The library is named libgstnet-tempname right now because
21214         of the existing libgstnet in gst-plugins-base. Solution is
21215         probably to rename the one in plugins-base; will file a bug for
21216         the freeze break.
21217
21218         * gst/net/gstnettimeprovider.c: 
21219         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21220         get_time call over the network.
21221
21222         * configure.ac: 
21223         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21224
21225         * check/Makefile.am:
21226         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21227         get additions shortly.
21228
21229 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21230
21231         * gst/gstpad.c: (gst_pad_new_from_static_template):
21232         * gst/gstpad.h:
21233           add gst_pad_new_from_static_template functions
21234         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21235         (gst_check_setup_sink_pad):
21236         * gst/elements/gsttee.c: (gst_tee_init):
21237           and use them
21238
21239 2005-11-16  Wim Taymans  <wim@fluendo.com>
21240
21241         * gst/gstpad.c: (gst_pad_pause_task):
21242         Removed warning, it's not really an error either.
21243
21244 2005-11-16  Wim Taymans  <wim@fluendo.com>
21245
21246         * gst/base/gstbasetransform.c:
21247         (gst_base_transform_prepare_output_buf),
21248         (gst_base_transform_event):
21249         Check if the caps are NULL, this can happen if the element
21250         is shutting down and the pad caps are set to NULL.
21251
21252 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21253
21254         * gst/elements/gsttee.c: (gst_tee_init):
21255           fix pad template leak in tee
21256
21257 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21258
21259         * gst/glib-compat.c: (g_value_dup_gst_object):
21260         * gst/glib-compat.h:
21261         * gst/gstpad.c: (gst_pad_set_property):
21262           use gst_object_ref when setting the pad template; this will
21263           trigger the pad template leaks on GLib 2.6 and the slaves
21264
21265 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21266
21267         * gst/glib-compat.c: (gst_flags_get_first_value):
21268         * gst/glib-compat.h:
21269         * gst/gstregistryxml.c:
21270           remove functions copied from GLib 2.6
21271
21272 2005-11-16  Michael Smith <msmith@fluendo.com>
21273
21274         * gst/Makefile.am:
21275           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21276           do, but only breaks with newer valgrind versions. We're not a
21277           valgrind tool, we have no link-time dependencies on libcoregrind.
21278
21279 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21280
21281         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21282           some debug changes
21283         * gst/gstmessage.h:
21284           typo fixes
21285
21286 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21287
21288         * gst/base/gstbasesrc.c: (gst_base_src_init):
21289         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21290         * gst/gstqueue.c: (gst_queue_init):
21291         * gst/gstregistryxml.c: (load_feature):
21292           Revert all these unrefs, they don't even pass make check !
21293
21294 2005-11-15  Johan Dahlin  <johan@gnome.org>
21295
21296         * gst/base/gstbasesrc.c: (gst_base_src_init):
21297         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21298         * gst/gstqueue.c: (gst_queue_init): 
21299         Free pad templates, fixes a couple of leaks.
21300
21301 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21302
21303         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21304
21305         * gst/gstpad.c: (gst_pad_get_property):
21306           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21307           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21308           (#321452)
21309
21310 2005-11-15  Wim Taymans  <wim@fluendo.com>
21311
21312         * gst/gstevent.c:
21313         Small doc update.
21314
21315 2005-11-15  Andy Wingo  <wingo@pobox.com>
21316
21317         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21318
21319         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21320         using GST_CLOCK_TIME_NONE to disable base time management.
21321         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21322         time if it was NONE before.
21323         (gst_pipeline_change_state): Only munge the base time if
21324         stream_time != GST_CLOCK_TIME_NONE.
21325
21326         * check/gst/gstpipeline.c (test_base_time): Punt around the
21327         problem of the probe not being called, because that's not the
21328         issue I'm looking at. Add a check that setting stream_time to NONE
21329         disables base time management.
21330         
21331 2005-11-15  Wim Taymans  <wim@fluendo.com>
21332
21333         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21334         segment_stop == -1 at startup.
21335
21336         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21337         (gst_base_transform_change_state):
21338         Init segment values at start.
21339
21340 2005-11-15  Wim Taymans  <wim@fluendo.com>
21341
21342         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21343         0 segment values are 0 in any format.
21344
21345         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21346         * gst/base/gstbasetransform.h:
21347         Parse newsegment correctly in basetransform
21348
21349         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21350         Sync to clock using updated segment values.
21351
21352 2005-11-15  Andy Wingo  <wingo@pobox.com>
21353
21354         * check/gst/gstpipeline.c (test_base_time): Add check that the
21355         base time and stream time are reset correctly.
21356
21357 2005-11-15  Wim Taymans  <wim@fluendo.com>
21358
21359         * docs/design/part-TODO.txt:
21360         Some more TODO items.
21361
21362 2005-11-15  Andy Wingo  <wingo@pobox.com>
21363
21364         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21365         error if the user selected "no clock" as the clocking method.
21366
21367         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21368         timestamps with live capture.
21369
21370         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21371         is 0 but we are a live source, timestamp the buffers using the
21372         element's clock.
21373
21374 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21375
21376         * docs/gst/gstreamer-sections.txt:
21377         * gst/gsterror.c:
21378         * gst/gstghostpad.c:
21379         * gst/gstobject.h:
21380         * gst/gstxml.c:
21381           more section docs
21382
21383 2005-11-14  Wim Taymans  <wim@fluendo.com>
21384
21385         * common/gst.supp:
21386           add suppressions from Wim's Debian machine
21387
21388 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21389
21390         * common/gst.supp:
21391           add suppressions from Andy's AMD64 Ubuntu machine
21392
21393 2005-11-14  Andy Wingo  <wingo@pobox.com>
21394
21395         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21396         STATE_LOCK not necessary. Fixes #311489.
21397
21398         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21399         #305291.
21400
21401         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21402         this function is not implemented.
21403
21404 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21405
21406         * gst/base/gstbasetransform.c:
21407         (gst_base_transform_prepare_output_buf):
21408         Ref the source pad caps while we need them.
21409         Fixes (#321386)
21410
21411 2005-11-11  Wim Taymans  <wim@fluendo.com>
21412
21413         * docs/gst/gstreamer-sections.txt:
21414         Added some docs for GstCollectData.
21415
21416         * gst/base/gstadapter.c:
21417         Some small code example fix.
21418
21419         * gst/base/gstcollectpads.c:
21420         * gst/base/gstcollectpads.h:
21421         Document some more.
21422
21423 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21424
21425         * configure.ac: back to HEAD
21426
21427 === release 0.9.5 ===
21428
21429 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21430
21431         * configure.ac:
21432           releasing 0.9.5, "Bike Lunch Day"
21433
21434 2005-11-11  Wim Taymans  <wim@fluendo.com>
21435
21436         * gst/gstbuffer.c: (_gst_buffer_copy):
21437         Copy more flags.
21438
21439         * gst/gstcaps.c: (gst_caps_is_equal):
21440         Fix some docs.
21441         Make _is_equal fast in the trivial cases.
21442
21443         * gst/gstminiobject.c:
21444         * gst/gstminiobject.h:
21445         More docs. Spifify .h file.
21446
21447         * gst/gstutils.c:
21448         Small doc update.
21449
21450 2005-11-11  Wim Taymans  <wim@fluendo.com>
21451
21452         * gst/base/gstbasetransform.c:
21453         (gst_base_transform_prepare_output_buf),
21454         (gst_base_transform_handle_buffer):
21455         Small cleanups.
21456         If we're processing a buffer and need to allocate an output
21457         buffer, we cannot accept a format change. If we did get a 
21458         format change, we have to alloc a buffer ourselves of the 
21459         right size.
21460
21461 2005-11-11  Wim Taymans  <wim@fluendo.com>
21462
21463         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21464         While checking the flag for reentrancy in the gstcaps function
21465         is nice to detect recursive invocations, it also makes it 
21466         impossible to call getcaps from multiple threads, which must be
21467         possible. So, checking for recursive calls has to go.
21468
21469 2005-11-11  Michael Smith <msmith@fluendo.com>
21470
21471         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21472           Don't sync on buffers that fall partially outside our current
21473           segment. Prevents an assertion failure/abort playing some files.
21474
21475 2005-11-10  Andy Wingo  <wingo@pobox.com>
21476
21477         * check/gst/gstbin.c (test_message_state_changed_children): Style
21478         fix..
21479
21480         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21481         gst_bus_poll with the signal watch. Ensures that poll and a signal
21482         watch see the same messages.
21483
21484         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21485         a poll and a watch at the same time get the same messages.
21486
21487 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21488
21489         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21490         * gst/gstcaps.c: (gst_caps_intersect):
21491           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21492           and it's not needed.
21493
21494 2005-11-10  Wim Taymans  <wim@fluendo.com>
21495
21496         * docs/design/part-TODO.txt:
21497         Updated todo.
21498
21499 2005-11-10  Wim Taymans  <wim@fluendo.com>
21500
21501         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21502         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21503         (gst_base_src_do_sync), (gst_base_src_get_range):
21504         Implement clock sync in base class.
21505
21506 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21507
21508         patch by: Tim-Philipp Müller <tim at centricular dot net>
21509
21510         * gst/gststructure.c: (gst_structure_parse_field),
21511         (gst_structure_from_string):
21512           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21513           so that gst_parse_launch() can deal with spaces in filtered link
21514           caps (fixes #164479)
21515         * check/gst/capslist.h:
21516         * check/gst/gststructure.c: (GST_START_TEST):
21517           add unit tests for this change
21518
21519 2005-11-10  Wim Taymans  <wim@fluendo.com>
21520
21521         * docs/gst/gstreamer-sections.txt:
21522         * gst/gstelement.c:
21523         * gst/gstelement.h:
21524         Fix docs, move some STATE macros to private.
21525
21526 2005-11-10  Wim Taymans  <wim@fluendo.com>
21527
21528         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21529         Added check for bug #317341
21530
21531         * gst/gstbuffer.c:
21532         * gst/gstbuffer.h:
21533         Some more spiffifying.
21534
21535         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21536         Call peer linkfunction if we are a source pad. Totally fixes
21537         #317341
21538
21539         * gst/gstpad.c:
21540         Update docs, source pads should call the peer linkfunction
21541         so they can atomically perform the pad link.
21542
21543 2005-11-09  Wim Taymans  <wim@fluendo.com>
21544
21545         * gst/gstbuffer.c:
21546         * gst/gstbuffer.h:
21547         Uber-spiffy-spiffify some more.
21548
21549 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21550
21551         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21552         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21553         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21554         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21555         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21556         * gst/gstpad.c: (gst_pad_init):
21557           Use GST_DEBUG_FUNCPTR() more extensively.
21558
21559 2005-11-09  Wim Taymans  <wim@fluendo.com>
21560
21561         * gst/gstobject.c: (gst_object_class_init):
21562         * gst/gstobject.h:
21563         Documentation fixes.
21564
21565 2005-11-09  Edward Hervey  <edward@fluendo.com>
21566
21567         * gst/gsttypefindfactory.c:
21568         Fix docs.
21569         
21570 2005-11-09  Edward Hervey  <edward@fluendo.com>
21571
21572         * gst/base/gsttypefindhelper.c:
21573         * gst/gsttypefind.c:
21574         * gst/gsttypefind.h:
21575         Fix docs.
21576
21577 2005-11-09  Wim Taymans  <wim@fluendo.com>
21578
21579         * gst/gstiterator.c:
21580         Fix revision data.
21581
21582         * gst/gsttask.c:
21583         * gst/gsttask.h:
21584         Fix docs.
21585
21586 2005-11-09  Wim Taymans  <wim@fluendo.com>
21587
21588         * gst/gstevent.h:
21589         * gst/gsturi.h:
21590         Fix docs.
21591
21592 2005-11-09  Wim Taymans  <wim@fluendo.com>
21593
21594         * docs/gst/gstreamer-sections.txt:
21595         Moved the message async delivery private lock and cond
21596         to the private section.
21597
21598         * gst/gstmessage.c:
21599         * gst/gstmessage.h:
21600         Fixed docs.
21601
21602 2005-11-09  Edward Hervey  <edward@fluendo.com>
21603
21604         * docs/gst/gstreamer-sections.txt:
21605         * gst/gsturi.c:
21606         * gst/gsturi.h:
21607         Document GstURIHandler
21608
21609 2005-11-09  Wim Taymans  <wim@fluendo.com>
21610
21611         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21612         (gst_iterator_find_custom):
21613         * gst/gstiterator.h:
21614         Fix iterator docs.
21615
21616 2005-11-09  Wim Taymans  <wim@fluendo.com>
21617
21618         * gst/gstbin.h:
21619         Document another field.
21620
21621         * gst/gststructure.c:
21622         * gst/gststructure.h:
21623         Document.
21624
21625 2005-11-09  Wim Taymans  <wim@fluendo.com>
21626
21627         * gst/gstbin.h:
21628         Documented structs.
21629
21630 2005-11-09  Wim Taymans  <wim@fluendo.com>
21631
21632         * docs/gst/gstreamer-sections.txt:
21633         Added some new macros.
21634
21635         * gst/gstclock.c:
21636         * gst/gstclock.h:
21637         * gst/gstobject.h:
21638         Docs updates.
21639
21640 2005-11-09  Wim Taymans  <wim@fluendo.com>
21641
21642         * docs/design/part-TODO.txt:
21643         Some more items for the TODO
21644
21645         * gst/gstcaps.c:
21646         * gst/gstcaps.h:
21647         Document GstCaps.
21648
21649 2005-11-09  Andy Wingo  <wingo@pobox.com>
21650
21651         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21652         to work on something else now tho...
21653
21654         * gst/base/gstadapter.c: More adapter docs.
21655
21656         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21657         (gst_file_sink_stop): New functions, replace the state change
21658         handler.
21659         (gst_file_sink_class_init): Hook up the start and stop functions.
21660         (gst_file_sink_base_init): Don't set the state change handler any
21661         more. It was a bit ugly too, being set from here...
21662         (gst_file_sink_get_property, gst_file_sink_set_property):
21663         Cleanups...
21664         (gst_file_sink_set_location): More robust check that doesn't call
21665         GST_STATE. Ugggggg.
21666
21667 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21668
21669         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21670           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21671
21672 2005-11-08  Wim Taymans  <wim@fluendo.com>
21673
21674         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21675         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21676         (gst_base_sink_chain), (gst_base_sink_change_state):
21677         * gst/base/gstbasesink.h:
21678         * gst/base/gstbasesrc.h:
21679         * gst/gstelement.h:
21680         * gst/gstevent.h:
21681         Avoid excessive typechecking in macros.
21682
21683         * gst/gstminiobject.c: (gst_mini_object_get_type),
21684         (gst_mini_object_init), (gst_mini_object_new),
21685         (gst_mini_object_free):
21686         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21687         (gst_object_finalize):
21688         Remove cruft code, optimize alloc_trace.
21689
21690 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21691
21692         * docs/faq/gst-uninstalled:
21693           fix up PS1 for systems that try to reset it
21694
21695 2005-11-07  Wim Taymans  <wim@fluendo.com>
21696
21697         * gst/base/gstbasesrc.c: (gst_base_src_init),
21698         (gst_base_src_get_range):
21699         Set the segment_end to -1 initially. Fixed typefind.
21700
21701 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21702
21703         * gst/base/gstadapter.c:
21704           Debug category should be 'adapter', not 'GstAdapter'.
21705           
21706         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21707         (gst_collectpads_class_init), (gst_collectpads_init),
21708         (gst_collectpads_peek), (gst_collectpads_pop),
21709         (gst_collectpads_event), (gst_collectpads_chain):
21710           Add debug category and some debugging output. Use boilerplate
21711           macros. Remove some extraneous words from docs.
21712
21713 2005-11-05  Andy Wingo  <wingo@pobox.com>
21714
21715         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21716         macro.
21717
21718 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21719
21720         * docs/gst/gstreamer-sections.txt:
21721         * gst/gstcaps.h:
21722         * gst/gstinfo.c:
21723         * gst/gstminiobject.h:
21724         * gst/gstobject.h:
21725         * gst/gstutils.h:
21726           more docs added
21727
21728 2005-11-04  Wim Taymans  <wim@fluendo.com>
21729
21730         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21731         Small update to stop at the configured segment_end
21732         position.
21733
21734 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21735
21736         * gst/gstregistry.c:
21737         * gst/gstregistry.h:
21738           added missing docs
21739
21740 2005-11-04  Edward Hervey  <edward@fluendo.com>
21741
21742         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21743         Check if we are doing a segment seek and have arrived at the
21744         end of that segment.
21745
21746 2005-11-04  Wim Taymans  <wim@fluendo.com>
21747
21748         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21749         Don't leak a mutex unlock in case of an error.
21750
21751         * gst/gstbus.h:
21752         Doc fixes.
21753
21754 2005-11-04  Wim Taymans  <wim@fluendo.com>
21755
21756         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21757         (gst_bus_post):
21758         Get the context to wake up only once.
21759
21760 2005-11-03  Wim Taymans  <wim@fluendo.com>
21761
21762         * check/states/sinks.c: (GST_START_TEST):
21763         Uncomment fixed check.
21764
21765         * docs/design/part-TODO.txt:
21766         Updated TODO.
21767
21768         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21769         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21770         (gst_base_sink_get_position):
21771         If we are going to PLAYING, post the right pending state
21772         when we post the intermediate paused message.
21773
21774         * gst/gstelement.c: (gst_element_continue_state),
21775         (gst_element_set_state_func), (gst_element_change_state):
21776         Don't post state changes that were between the same state
21777         and were not ASYNC.
21778
21779 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21780
21781         * docs/gst/gstreamer-sections.txt:
21782         * gst/gstcaps.h:
21783         * gst/gstinfo.c:
21784         * gst/gstminiobject.h:
21785         * gst/gstobject.h:
21786         * gst/gstutils.h:
21787           more docs and doc style fixes
21788
21789 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21790
21791         * docs/gst/gstreamer-sections.txt:
21792         * gst/gstelement.c:
21793         * gst/gstminiobject.c:
21794         doc fixes
21795
21796 2005-11-03  Andy Wingo  <wingo@pobox.com>
21797
21798         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21799         state-changed messages actually have the right order and the right
21800         values.
21801
21802 2005-11-03  Wim Taymans  <wim@fluendo.com>
21803
21804         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21805         Added some more checks. Specifically the case where NO_PREROLL
21806         elements are in the pipeline.
21807
21808         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21809         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21810         (gst_base_sink_get_position):
21811         Post READY->PAUSED state change messages too.
21812         Fix bug where VOID was posted as pending state...
21813
21814         * gst/gstbin.c: (gst_bin_recalc_state):
21815         use _element_continue_state() to continue the state change.
21816
21817         * gst/gstelement.c: (gst_element_continue_state),
21818         (gst_element_commit_state), (gst_element_set_state_func),
21819         (gst_element_change_state), (gst_element_change_state_func):
21820         Lots of state change cleanups, assign the STATE_RETURN in
21821         a new continue_state() function that also propagates the
21822         last return value from a state change to the app.
21823         Update some debug statements with proper category.
21824
21825 2005-11-03  Wim Taymans  <wim@fluendo.com>
21826
21827         * docs/design/part-events.txt:
21828         * docs/design/part-gstpipeline.txt:
21829         * docs/design/part-messages.txt:
21830         * docs/design/part-overview.txt:
21831         * docs/design/part-seeking.txt:
21832         * docs/design/part-states.txt:
21833         * docs/design/part-trickmodes.txt:
21834         * docs/manual/advanced-position.xml:
21835         Small docs updates.
21836
21837         * gst/gstobject.h:
21838         People think !! is ugly, this looks better.
21839
21840         * gst/gstpad.c: (gst_pad_set_blocked_async):
21841         Remove !! since it's fixed elsewhere now.
21842
21843 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21844
21845         * gst/gstminiobject.h:
21846         * gst/gstobject.h:
21847           Add !! to _FLAG_IS_SET macros to make the result boolean.
21848
21849 2005-11-03  Edward Hervey  <edward@fluendo.com>
21850
21851         * gst/gstpad.c: (gst_pad_set_blocked_async):
21852         comparing a flag and a gboolean rarely returns coherent results...
21853         Added two characters (!!) to make that work correctly.
21854         
21855 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21856
21857         * gst/gstbus.c: (gst_bus_class_init):
21858           Fix some typos.
21859           
21860         * gst/gstqueue.c: (gst_queue_loop):
21861           Don't assume a miniobject that isn't a buffer is an
21862           event (it could be that there is a refcounting
21863           problem somewhere and the pointer is stale and
21864           refers to an already destroyed miniobject).
21865
21866 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21867
21868         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21869
21870 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21871
21872         * docs/manual/advanced-position.xml:
21873           Update seek example and explanations to current 0.9 API.
21874
21875         * gst/elements/gsttypefindelement.c:
21876         (gst_type_find_element_activate):
21877           Remove FIXME comment now that the found caps
21878           are unreffed.
21879
21880 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21881
21882         * gst/gstregistryxml.c: (load_feature):
21883           Add another GST_STR_NULL instance
21884
21885 2005-11-02  Edward Hervey  <edward@fluendo.com>
21886
21887         * gst/gstpad.c: (handle_pad_block):
21888         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21889         
21890 2005-11-02  Wim Taymans  <wim@fluendo.com>
21891
21892         * gst/gstbin.c:
21893         Fix typo in docs.
21894
21895         * gst/gstelement.c: (gst_element_commit_state):
21896         Remove unused value.
21897
21898         * gst/gstiterator.c:
21899         Mention that the returned element is reffed in the docs.
21900
21901 2005-11-02  Wim Taymans  <wim@fluendo.com>
21902
21903         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21904         (gst_pad_push), (gst_pad_push_event):
21905         Unlock blocked pads when they are flushed.
21906
21907 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21908
21909         * docs/README:
21910         * docs/gst/gstreamer-sections.txt:
21911         * gst/gstbin.c:
21912           doc updates
21913         * gst/gstregistry.c: (gst_registry_scan_path_level):
21914           fix for a nasty little missed situation where an installed plug-in
21915           which was in the cache did not get overridden by an uninstalled one
21916           which was earlier in the plugin path because the newly created plugin
21917           for the uninstalled one (not in the registry) didn't get its
21918           ->registered set to TRUE
21919
21920 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21921
21922         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21923         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21924         (gst_collectpads_is_active), (gst_collectpads_collect),
21925         (gst_collectpads_collect_range), (gst_collectpads_start),
21926         (gst_collectpads_stop), (gst_collectpads_peek),
21927         (gst_collectpads_pop), (gst_collectpads_available),
21928         (gst_collectpads_read), (gst_collectpads_flush):
21929           Guard public API with assertions.
21930         
21931         * gst/gstpad.c:
21932           Fix docs for gst_pad_set_link_function().
21933
21934 2005-11-02  Johan Dahlin  <johan@gnome.org>
21935
21936         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
21937         Unref found_caps after we used it.
21938
21939 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
21940
21941         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21942           Don't try to ref NULL.
21943
21944 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21945
21946         * win32/common/config.h.in:
21947           provide a GST_FUNCTION that just gives a string for now
21948
21949 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21950
21951         * win32/common/gstenumtypes.c: (register_gst_object_flags),
21952         (gst_object_flags_get_type), (register_gst_bin_flags),
21953         (gst_bin_flags_get_type), (register_gst_buffer_flag),
21954         (gst_buffer_flag_get_type), (register_gst_bus_flags),
21955         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21956         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21957         (gst_clock_return_get_type), (register_gst_clock_entry_type),
21958         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21959         (gst_clock_flags_get_type), (register_gst_state),
21960         (gst_state_get_type), (register_gst_state_change_return),
21961         (gst_state_change_return_get_type), (register_gst_state_change),
21962         (gst_state_change_get_type), (register_gst_element_flags),
21963         (gst_element_flags_get_type), (register_gst_core_error),
21964         (gst_core_error_get_type), (register_gst_library_error),
21965         (gst_library_error_get_type), (register_gst_resource_error),
21966         (gst_resource_error_get_type), (register_gst_stream_error),
21967         (gst_stream_error_get_type), (register_gst_event_type),
21968         (gst_event_type_get_type), (register_gst_seek_type),
21969         (gst_seek_type_get_type), (register_gst_seek_flags),
21970         (gst_seek_flags_get_type), (register_gst_format),
21971         (gst_format_get_type), (register_gst_index_certainty),
21972         (gst_index_certainty_get_type), (register_gst_index_entry_type),
21973         (gst_index_entry_type_get_type),
21974         (register_gst_index_lookup_method),
21975         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21976         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21977         (gst_index_resolver_method_get_type), (register_gst_index_flags),
21978         (gst_index_flags_get_type), (register_gst_debug_level),
21979         (gst_debug_level_get_type), (register_gst_debug_color_flags),
21980         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21981         (gst_iterator_result_get_type), (register_gst_iterator_item),
21982         (gst_iterator_item_get_type), (register_gst_message_type),
21983         (gst_message_type_get_type), (register_gst_mini_object_flags),
21984         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21985         (gst_pad_link_return_get_type), (register_gst_flow_return),
21986         (gst_flow_return_get_type), (register_gst_activate_mode),
21987         (gst_activate_mode_get_type), (register_gst_pad_direction),
21988         (gst_pad_direction_get_type), (register_gst_pad_flags),
21989         (gst_pad_flags_get_type), (register_gst_pad_presence),
21990         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21991         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21992         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21993         (gst_plugin_error_get_type), (register_gst_plugin_flags),
21994         (gst_plugin_flags_get_type), (register_gst_rank),
21995         (gst_rank_get_type), (register_gst_query_type),
21996         (gst_query_type_get_type), (register_gst_tag_merge_mode),
21997         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21998         (gst_tag_flag_get_type), (register_gst_task_state),
21999         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22000         (gst_alloc_trace_flags_get_type),
22001         (register_gst_type_find_probability),
22002         (gst_type_find_probability_get_type), (register_gst_uri_type),
22003         (gst_uri_type_get_type), (register_gst_parse_error),
22004         (gst_parse_error_get_type):
22005         * win32/common/gstversion.h:
22006           update win32 copies
22007
22008 2005-11-01  Luca Ognibene  <luogni@tin.it>
22009
22010         * gst/gst.c:
22011           fix docs. popt is dead, long live GOption.
22012
22013 2005-10-31  Wim Taymans  <wim@fluendo.com>
22014
22015         * gst/gstbuffer.h:
22016         Small doc fix.
22017
22018 2005-10-31  Andy Wingo  <wingo@pobox.com>
22019
22020         * Boo!
22021
22022         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22023
22024         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22025         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22026         the possibility of deadlocks here if code calling notify() or
22027         set() has a lock that can be taken in another notify handler (ABBA
22028         with class lock and e.g. python GIL state lock).
22029
22030 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22031
22032         * gst/gstbus.c: Doc updates.
22033
22034 2005-10-28  Wim Taymans  <wim@fluendo.com>
22035
22036         * docs/design/part-TODO.txt:
22037         * gst/gstiterator.c:
22038         * gst/gstsystemclock.c:
22039         * gst/gstsystemclock.h:
22040         Doc updates.
22041
22042 2005-10-28  Edward Hervey  <edward@fluendo.com>
22043
22044         * docs/gst/gstreamer-docs.sgml:
22045         * docs/gst/gstreamer-sections.txt:
22046         the GstURIType documentation page is private, it only defines GstURIType
22047         which should be defined in the GstURIHandler page
22048         
22049 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22050
22051         * gst/gstbin.c: (gst_bin_class_init):
22052         * gst/gstbin.h:
22053         * gst/gstutils.c:
22054         Documentation updates.
22055
22056 2005-10-28  Wim Taymans  <wim@fluendo.com>
22057
22058         * docs/gst/gstreamer-sections.txt:
22059         * gst/gstclock.c:
22060         * gst/gstclock.h:
22061         Documented the clocks.
22062
22063 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22064
22065         * docs/gst/gstreamer-sections.txt:
22066           move some macros to private sections
22067         * gst/gstminiobject.c:
22068         * gst/gstminiobject.h:
22069           add descriptions provided by ds and some more
22070         * gst/gstpad.h:
22071           mark macro as to be removed
22072
22073 2005-10-28  Wim Taymans  <wim@fluendo.com>
22074
22075         * docs/design/part-TODO.txt:
22076         Add an item to TODO.
22077
22078         * gst/gstiterator.c: (gst_iterator_fold),
22079         (gst_iterator_find_custom):
22080         * gst/gstiterator.h:
22081         Add iterator docs.
22082
22083 2005-10-28  Wim Taymans  <wim@fluendo.com>
22084
22085         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22086         (gst_base_transform_init):
22087         Don't leak class.
22088
22089         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22090         An EOS event marks the queue as completely filled.
22091
22092 2005-10-27  Wim Taymans  <wim@fluendo.com>
22093
22094         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22095         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22096         Some more debugging.
22097
22098         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22099         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22100         (gst_base_transform_event), (gst_base_transform_getrange),
22101         (gst_base_transform_chain):
22102         * gst/base/gstbasetransform.h:
22103         Fix debugging,
22104         Protect transform and concurrent buffer alloc with a new lock.
22105         Try not to break ABI/API.
22106
22107 2005-10-27  Wim Taymans  <wim@fluendo.com>
22108
22109         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22110         (gst_base_src_init), (gst_base_src_query),
22111         (gst_base_src_default_newsegment),
22112         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22113         (gst_base_src_send_event), (gst_base_src_event_handler),
22114         (gst_base_src_pad_get_range), (gst_base_src_loop),
22115         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22116         (gst_base_src_start), (gst_base_src_deactivate),
22117         (gst_base_src_activate_push), (gst_base_src_change_state):
22118         Move some stuff around and cleanup things.
22119
22120 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22121
22122         * gst/base/gstbasesrc.c: (gst_base_src_query):
22123           Add missing break statements.
22124
22125 2005-10-27  Wim Taymans  <wim@fluendo.com>
22126
22127         * check/gst/gstbin.c: (GST_START_TEST):
22128         An extra refcount is taken in basesrc.
22129
22130         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22131         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22132         (gst_base_src_loop):
22133         Small cleanups, check for flushing after being unlocked from the 
22134         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22135         Don't send out EOS when going to READY.
22136
22137 2005-10-27  Wim Taymans  <wim@fluendo.com>
22138
22139         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22140         (gst_base_sink_get_position):
22141         Some more debug.
22142
22143         * gst/gstbin.c: (message_check), (bin_replace_message),
22144         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22145         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22146         (bin_query_duration_init), (bin_query_duration_fold),
22147         (bin_query_duration_done), (bin_query_generic_fold),
22148         (gst_bin_query):
22149         * tools/gst-launch.c: (main):
22150         Remove old option.
22151
22152 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22153
22154         * examples/controller/audio-example.c: (main):
22155         * examples/queue/queue.c: (event_loop):
22156         * gst/base/gstbasetransform.h:
22157         * gst/gstelement.c: (gst_element_send_event):
22158         * gst/gstevent.h:
22159         * gst/gstpad.c: (gst_pad_send_event):
22160           fixing examples
22161           fixing docs typos
22162           changing log priority in error situations
22163
22164 2005-10-25  Wim Taymans  <wim@fluendo.com>
22165
22166         * gst/gstbin.c: (message_check), (bin_replace_message),
22167         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22168         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22169         (bin_query_duration_init), (bin_query_duration_fold),
22170         (bin_query_duration_done), (bin_query_generic_fold),
22171         (gst_bin_query):
22172         Some doc and debug updates.
22173         Cache previously requested query DURATION for speed. invalidate
22174         cached duration if element posts a DURATION message.
22175
22176 2005-10-25  Wim Taymans  <wim@fluendo.com>
22177
22178         * docs/design/part-TODO.txt:
22179         Update TODO.
22180
22181         * gst/gstbin.c: (message_check), (bin_replace_message),
22182         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22183         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22184         (bin_query_duration_init), (bin_query_duration_fold),
22185         (bin_query_duration_done), (bin_query_generic_fold),
22186         (gst_bin_query):
22187         Handle SEGMENT_START/DONE messages correctly.
22188         More evolved query algorithm that handles duration queries
22189         correctly.
22190
22191         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22192         (gst_element_get_state_func), (gst_element_abort_state),
22193         (gst_element_commit_state), (gst_element_lost_state):
22194         Some more debugging.
22195
22196         * gst/gstmessage.h:
22197         Added doc.
22198
22199 2005-10-25  Wim Taymans  <wim@fluendo.com>
22200
22201         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22202         Don't use invalid stream_time.
22203
22204         * gst/gstevent.c: (gst_event_new_newsegment):
22205         stream_time in newsegment cannot be undefined.
22206
22207 2005-10-24  Wim Taymans  <wim@fluendo.com>
22208
22209         * gst/gstbus.c:
22210         Doc fix.
22211
22212         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22213         (gst_queue_loop):
22214         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22215
22216 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22217
22218         * docs/libs/tmpl/gstdparam.sgml:
22219         * docs/libs/tmpl/gstdplinint.sgml:
22220         * docs/libs/tmpl/gstdpman.sgml:
22221         * docs/libs/tmpl/gstdpsmooth.sgml:
22222         * docs/libs/tmpl/gstunitconvert.sgml:
22223           these are obsolete
22224
22225 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22226
22227         * configure.ac:
22228           back to HEAD
22229
22230 === release 0.9.4 ===
22231
22232 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22233
22234         * configure.ac:
22235           releasing 0.9.4, "Tyrannosaurus Rex"
22236
22237 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22238
22239         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22240         (gst_file_sink_get_current_offset):
22241           Use fseeko() and ftello() if available. When falling back on
22242           lseek() to get the current offset, fflush() first to make sure
22243           everything is up-to-date and we get the right offset.
22244
22245 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22246
22247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22248         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22249         * gst/gsterror.c: (_gst_stream_errors_init):
22250         * gst/gsterror.h:
22251         * gst/gstqueue.c: (gst_queue_loop):
22252         * po/POTFILES.in:
22253           remove prematurely added error category and clean up the instances
22254
22255 2005-10-21  Wim Taymans  <wim@fluendo.com>
22256
22257         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22258         (gst_base_sink_get_position), (gst_base_sink_query),
22259         (gst_base_sink_change_state):
22260         Simply set the right flag when going to playing, that's all
22261         we need to do instead of calling a function inside the object
22262         lock (that could take the lock as well and deadlock)
22263
22264 2005-10-21  Wim Taymans  <wim@fluendo.com>
22265
22266         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22267         (gst_base_src_loop):
22268         Don't warn, the peer element knows what to do best when
22269         the seek failed, it might try something else.
22270
22271 2005-10-21  Wim Taymans  <wim@fluendo.com>
22272
22273         * gst/base/gstbasesrc.c: (gst_base_src_init),
22274         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22275         Fix seeking.
22276
22277 2005-10-21  Wim Taymans  <wim@fluendo.com>
22278
22279         * docs/design/part-segments.txt:
22280         More docs.
22281
22282         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22283         Correctly set caps, even on the subbufer.
22284
22285 2005-10-21  Wim Taymans  <wim@fluendo.com>
22286
22287         * docs/gst/gstreamer-docs.sgml:
22288         * docs/gst/gstreamer-sections.txt:
22289         * gst/gstelement.h:
22290         * gst/gstevent.c:
22291         * gst/gstevent.h:
22292         * gst/gstmessage.h:
22293         * gst/gstpad.h:
22294         * gst/gstparse.h:
22295         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22296         * gst/gsttask.h:
22297         * gst/gstutils.c:
22298         * gst/gstutils.h:
22299         And 2% more doc coverage.
22300
22301 2005-10-21  Andy Wingo  <wingo@pobox.com>
22302
22303         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22304         position reporting.
22305
22306 2005-10-20  Wim Taymans  <wim@fluendo.com>
22307
22308         * gst/gsterror.c: (gst_error_get_message):
22309         * gst/gstparse.h:
22310         * gst/gstquery.h:
22311         * gst/gststructure.c:
22312         * gst/gsttrace.c:
22313         * gst/gstutils.c:
22314         More docs.
22315
22316 2005-10-20  Wim Taymans  <wim@fluendo.com>
22317
22318         * gst/gstbuffer.h:
22319         * gst/gstpad.c:
22320         * gst/gstparse.c:
22321         Another 1% more coverage.
22322
22323 2005-10-20  Wim Taymans  <wim@fluendo.com>
22324
22325         * docs/gst/gstreamer-sections.txt:
22326         * gst/gstelement.c: (gst_element_get_state_func),
22327         (gst_element_abort_state), (gst_element_commit_state),
22328         (gst_element_lost_state):
22329         * gst/gstevent.h:
22330         * gst/gstquery.c: (gst_query_set_position),
22331         (gst_query_parse_position), (gst_query_set_duration),
22332         (gst_query_parse_duration), (gst_query_new_convert):
22333         * gst/gstutils.c:
22334         Yay! 1% more docs coverage.
22335
22336 2005-10-20  Wim Taymans  <wim@fluendo.com>
22337
22338         * gst/gstpad.h:
22339         * gst/gstquery.c: (gst_query_set_position),
22340         (gst_query_parse_position), (gst_query_set_duration),
22341         (gst_query_parse_duration), (gst_query_new_convert):
22342         * gst/gstquery.h:
22343         * gst/gstutils.c: (gst_element_query_convert):
22344         * gst/gstutils.h:
22345         Docs and consistency fixes.
22346
22347 2005-10-20  Wim Taymans  <wim@fluendo.com>
22348
22349         * gst/gsttask.c:
22350         * gst/gsttask.h:
22351         More docs.
22352
22353 2005-10-20  Wim Taymans  <wim@fluendo.com>
22354
22355         * gst/gstbin.c: (message_check), (bin_replace_message),
22356         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22357         (update_degree), (gst_bin_sort_iterator_next),
22358         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22359         Reworked the message handling a bit, cache the messages instead of
22360         only the senders. alows us to do more in the future.
22361
22362 2005-10-20  Wim Taymans  <wim@fluendo.com>
22363
22364         * docs/design/part-TODO.txt:
22365         Update TODO
22366
22367         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22368         (gst_base_sink_query):
22369         Don't use clock time to report position when in EOS.
22370
22371 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22372
22373         * tools/gst-inspect.c: (print_interfaces),
22374         (print_element_properties_info), (print_element_info):
22375           Fix interface output with gst-inspect -a; don't print
22376           newlines after double/float properties.
22377
22378 2005-10-20  Wim Taymans  <wim@fluendo.com>
22379
22380         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22381         (gst_base_sink_query):
22382         Speed up current position calculation.
22383
22384         * gst/base/gstbasesrc.c: (gst_base_src_query),
22385         (gst_base_src_default_newsegment):
22386         Correctly set stream position in newsegment.
22387
22388         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22389         (update_degree), (gst_bin_sort_iterator_next),
22390         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22391         * gst/gstmessage.c: (gst_message_new_custom):
22392         Clean up debugging info
22393
22394         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22395         (gst_queue_loop), (gst_queue_handle_src_query):
22396         Pause task faster.
22397
22398 2005-10-19  Wim Taymans  <wim@fluendo.com>
22399
22400         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22401         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22402         Fix query handling again.
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         * gst/base/gstbasesrc.c: (gst_base_src_query):
22409         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22410         * gst/elements/gsttypefindelement.c:
22411         (gst_type_find_handle_src_query), (find_element_get_length),
22412         (gst_type_find_element_activate):
22413         API change fix.
22414
22415         * gst/gstquery.c: (gst_query_new_position),
22416         (gst_query_set_position), (gst_query_parse_position),
22417         (gst_query_new_duration), (gst_query_set_duration),
22418         (gst_query_parse_duration), (gst_query_set_segment),
22419         (gst_query_parse_segment):
22420         * gst/gstquery.h:
22421         Bundling query position/duration is not a good idea since duration
22422         does not change much and we don't want to recalculate it for every
22423         position query, so they are separated again..
22424         Base value in segment query is not needed.
22425
22426         * gst/gstqueue.c: (gst_queue_handle_src_query):
22427         * gst/gstutils.c: (gst_element_query_position),
22428         (gst_element_query_duration), (gst_pad_query_position),
22429         (gst_pad_query_duration):
22430         * gst/gstutils.h:
22431         Updates for query API change.
22432         Added some docs here and there.
22433
22434 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22435
22436         * check/gst/gstbin.c: (GST_START_TEST):
22437         * check/gst/gstghostpad.c: (GST_START_TEST):
22438         * check/pipelines/cleanup.c: (GST_START_TEST):
22439           wait on thread to die so we can check refcount correctly
22440
22441 2005-10-18  Wim Taymans  <wim@fluendo.com>
22442
22443         * check/pipelines/stress.c: (GST_START_TEST):
22444         Make check a little more time consuming.
22445
22446 2005-10-18  Wim Taymans  <wim@fluendo.com>
22447
22448         * check/Makefile.am:
22449         * check/pipelines/stress.c: (GST_START_TEST),
22450         (simple_launch_lines_suite), (main):
22451         Small state change torture test.
22452
22453         * docs/design/part-states.txt:
22454         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22455         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22456         (gst_base_sink_change_state):
22457         Never take state lock from streaming thread, clean up ugly
22458         hacks. Unfortunatly core does not yet support nice ways to
22459         async commit state.
22460         
22461         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22462         (bin_bus_handler):
22463         Start state recalc if a STATE_DIRTY message is posted, but only
22464         on the toplevel bin.
22465
22466         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22467         (gst_element_get_state_func), (gst_element_abort_state),
22468         (gst_element_commit_state), (gst_element_lost_state),
22469         (gst_element_set_state_func), (gst_element_change_state):
22470         * gst/gstelement.h:
22471         State variables are now protected with the LOCK, the state
22472         lock is only used to serialize _set_state().
22473
22474 2005-10-18  Wim Taymans  <wim@fluendo.com>
22475
22476         * check/gst/gstbin.c: (GST_START_TEST):
22477         * check/gst/gstmessage.c: (GST_START_TEST):
22478         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22479         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22480         (bin_bus_handler):
22481         * gst/gstelement.c: (gst_element_abort_state),
22482         (gst_element_commit_state), (gst_element_lost_state):
22483         * gst/gstmessage.c: (gst_message_new_state_changed),
22484         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22485         (gst_message_new_segment_done), (gst_message_new_duration),
22486         (gst_message_parse_state_changed),
22487         (gst_message_parse_segment_start),
22488         (gst_message_parse_segment_done), (gst_message_parse_duration):
22489         * gst/gstmessage.h:
22490         * tools/gst-launch.c: (event_loop):
22491         Seriously, this is better than a previous commit as we only need
22492         to notify the fact that an element changed state in a streaming
22493         thread, marking the state of the parents dirty, hence the 
22494         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22495         message.
22496
22497 2005-10-18  Wim Taymans  <wim@fluendo.com>
22498
22499         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22500         (gst_bin_recalc_func):
22501         * gst/gstelement.c: (gst_element_set_clock),
22502         (gst_element_abort_state), (gst_element_lost_state):
22503         Cleanups, prepare for state change fixes.
22504
22505 2005-10-18  Wim Taymans  <wim@fluendo.com>
22506
22507         * gst/gstbin.h:
22508         * gst/gstelement.c: (gst_element_class_init),
22509         (gst_element_set_state), (gst_element_set_state_func):
22510         * gst/gstelement.h:
22511         Pending ABI changes.
22512         GThreadPool in GstBinClass to monitor async state changes.
22513         state_cookie in GstElement to detect concurrent gst/set state.
22514         set_state is now virtual too in case a very complicated element
22515         has to be constructed.
22516
22517 2005-10-18  Wim Taymans  <wim@fluendo.com>
22518
22519         * check/gst/gstbin.c: (GST_START_TEST):
22520         * check/gst/gstmessage.c: (GST_START_TEST):
22521         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22522         * gst/gstbin.c: (bin_bus_handler):
22523         * gst/gstelement.c: (gst_element_commit_state),
22524         (gst_element_lost_state):
22525         * gst/gstmessage.c: (gst_message_new_state_changed),
22526         (gst_message_new_segment_start), (gst_message_new_segment_done),
22527         (gst_message_new_duration), (gst_message_parse_state_changed),
22528         (gst_message_parse_segment_start),
22529         (gst_message_parse_segment_done), (gst_message_parse_duration):
22530         * gst/gstmessage.h:
22531         * tools/gst-launch.c: (event_loop):
22532         Make messages future proof.
22533         state-change gets a flag if it was a message comming from the
22534         streaming thread.
22535         segment-start/stop can also be specified in other formats.
22536         A message to notify an app that a pipeline changed playback 
22537         duration.
22538         Also fix a GstMessage leak in -launch
22539
22540 2005-10-18  Andy Wingo  <wingo@pobox.com>
22541
22542         * gst/gstelement.c (gst_element_dispose): More helpful message.
22543
22544 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22545
22546         reviewed by: <delete if not using a buddy>
22547
22548         * common/gtk-doc.mak:
22549
22550 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22551
22552         * gst/gstregistry.c: (gst_registry_scan_path_level):
22553           unref a plug-in we get that was already initialized
22554
22555 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22556
22557         * docs/gst/gstreamer-sections.txt:
22558         * docs/libs/gstreamer-libs-sections.txt:
22559         * gst/gstelement.h:
22560           add new api entries
22561           hide internal macro
22562
22563 2005-10-17  Andy Wingo  <wingo@pobox.com>
22564
22565         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22566         cleanup.
22567
22568         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22569
22570         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22571
22572         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22573         (gst_element_get_state_func): Better debug message.
22574         (gst_element_commit_state): s/INFO/DEBUG/.
22575         (gst_element_lost_state, gst_element_change_state): 
22576
22577         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22578         (gst_message_new_custom): s/INFO/LOG/.
22579
22580 2005-10-17  Michael Smith <msmith@fluendo.com>
22581
22582         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22583           Check if end time is valid using end time, not start time.
22584
22585 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22586
22587         * check/gst-libs/controller.c: (GST_START_TEST),
22588         (gst_controller_suite):
22589         * libs/gst/controller/gstcontroller.c:
22590         (gst_controlled_property_set_interpolation_mode):
22591         * libs/gst/controller/gstcontroller.h:
22592         * libs/gst/controller/gstinterpolation.c:
22593         * testsuite/controller/.cvsignore:
22594         * testsuite/controller/Makefile.am:
22595         * testsuite/controller/interpolator.c:
22596           merge controller testsuites
22597           fix broken tests
22598           remove mem-chunk from docs
22599
22600 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22601
22602         * gst/gstmemchunk.c:
22603         * gst/gstmemchunk.h:
22604         * gst/gsttrashstack.c:
22605         * gst/gsttrashstack.h:
22606           out.  get out.  you're fired.  to the Attic !
22607
22608 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22609
22610         * gst/gstcaps.c: (gst_caps_intersect):
22611           fix signedness issues in a (hopefully) correct way
22612         * gst/gstelement.c: (gst_element_pads_activate):
22613           some debugging
22614         * gst/gstobject.c: (gst_object_set_parent):
22615           some debugging
22616
22617 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22618
22619         * gst/gstvalue.h: Fix prototypes.
22620
22621 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22622
22623         * docs/gst/gstreamer-sections.txt:
22624         * gst/gst.c: (gst_version_string):
22625         * gst/gst.h:
22626         * gst/gstversion.h.in:
22627         * win32/common/libgstreamer.def:
22628           add gst_version_string ()
22629
22630 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22631
22632         * configure.ac:
22633           clean up further
22634         * gst/gst.c: (init_post):
22635         * win32/common/config.h.in:
22636           it's PLUGINDIR now
22637         * gst/gstcaps.c: (gst_caps_intersect):
22638           use gint64, the range could be bigger than a guint
22639
22640 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22641
22642         * gst/gstclock.h:
22643           document potential problem in 2038
22644
22645 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22646
22647         * gst/gstcaps.c: (gst_caps_intersect):
22648           Fix guint j diving under 0
22649
22650 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22651
22652         * configure.ac:
22653         * win32/common/config.h:
22654         * win32/common/config.h.in:
22655           check for process.h, declares getpid() on Windows
22656         * gst/gstinfo.c:
22657           include process.h if we have it
22658         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22659         * gst/gstmemchunk.h:
22660           fix signedness issues
22661         * win32/common/libgstreamer.def:
22662           fix get_type's
22663
22664 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22665
22666         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22667         fix. Because of unsigned ints, caps intersection was going nuts and
22668         trying to access structures with G_MAXUINT index. That fixes
22669         videotestsrc ! ffmpegcolorspace ! fakesink
22670         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22671         consistency.
22672
22673 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22674
22675         * configure.ac:
22676           use the gettext macro
22677         * gst/elements/gstelements.c:
22678         * gst/gst.c:
22679         * gst/indexers/gstindexers.c:
22680           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22681         * win32/common/config.h:
22682           updated config.h
22683         * win32/common/config.h.in:
22684           add the template to generate config.h
22685         * win32/common/gstenumtypes.c:
22686         * win32/common/gstversion.h:
22687           updated copies
22688
22689 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22690
22691         * gst/gst.c: (gst_version):
22692         * gst/gstversion.h.in:
22693           add the nano
22694
22695 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22696
22697         * gst/gstevent.h:
22698           Oops, add missing closing bracket.
22699
22700 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22701
22702         * configure.ac:
22703           use common m4's for argument checking
22704
22705 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22706
22707         * docs/gst/gstreamer-sections.txt:
22708         * gst/gstevent.h:
22709           Add GST_EVENT_TYPE_NAME() macro.
22710
22711 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22712
22713         * gst/gstinfo.c:
22714         * gst/gstpluginfeature.c:
22715         * gst/gsttask.c:
22716           privatize more symbols
22717
22718 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22719
22720         * configure.ac:
22721           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22722           everything that uses GStreamer API should have the includes
22723
22724 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22725
22726         * docs/gst/gstreamer-sections.txt:
22727         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22728         * gst/gstvalue.h:
22729           give each value a _get_type, removes the DATA exports
22730
22731 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22732
22733         * gst/gst.c:
22734         * gst/gst.h:
22735           remove _gst_registry_auto_load, not used anymore
22736         * gst/gstbin.c: (gst_bin_get_type):
22737         * gst/gstbin.h:
22738         * gst/gstelement.c: (gst_element_get_type):
22739         * gst/gstelement.h:
22740         * gst/gstobject.c: (gst_object_get_type):
22741         * gst/gstobject.h:
22742         * gst/gstpad.c: (gst_pad_get_type):
22743         * gst/gstpad.h:
22744           make _get_type functions similar, fixes data export from library
22745
22746 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22747
22748         * configure.ac:
22749           correctly make conditionals
22750         * gst/elements/Makefile.am:
22751         * gst/elements/gstelements.c:
22752           fix typo causing fdsrc not to build
22753
22754 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22755
22756         * testsuite/Makefile.am:
22757         * testsuite/bytestream/.cvsignore:
22758         * testsuite/bytestream/Makefile.am:
22759         * testsuite/bytestream/filepadsink.c:
22760         * testsuite/bytestream/gstbstest.c:
22761         * testsuite/bytestream/test1.c:
22762         * testsuite/bytestream/testfile1:
22763         * testsuite/caps/normalisation.c:
22764         * testsuite/caps/random.c: (main):
22765         * testsuite/cleanup/.cvsignore:
22766         * testsuite/cleanup/Makefile.am:
22767         * testsuite/cleanup/cleanup1.c:
22768         * testsuite/cleanup/cleanup2.c:
22769         * testsuite/cleanup/cleanup3.c:
22770         * testsuite/cleanup/cleanup4.c:
22771         * testsuite/cleanup/cleanup5.c:
22772         * testsuite/controller/interpolator.c:
22773         * testsuite/debug/printf_extension.c: (main):
22774         * testsuite/elements/tee.c:
22775         * testsuite/negotiation/.cvsignore:
22776         * testsuite/negotiation/Makefile.am:
22777         * testsuite/negotiation/pad_link.c:
22778         * testsuite/pad/Makefile.am:
22779         * testsuite/pad/chainnopull.c:
22780         * testsuite/pad/getnopush.c:
22781         * testsuite/pad/link.c:
22782         * testsuite/refcounting/sched.c: (create_pipeline):
22783         * testsuite/registry/Makefile.am:
22784         * testsuite/registry/gst-print-formats.c:
22785         * testsuite/schedulers/.cvsignore:
22786         * testsuite/schedulers/142183-2.c:
22787         * testsuite/schedulers/142183.c:
22788         * testsuite/schedulers/143777-2.c:
22789         * testsuite/schedulers/143777.c:
22790         * testsuite/schedulers/147713.c:
22791         * testsuite/schedulers/147819.c:
22792         * testsuite/schedulers/147894-2.c:
22793         * testsuite/schedulers/147894.c:
22794         * testsuite/schedulers/Makefile.am:
22795         * testsuite/schedulers/group_link.c:
22796         * testsuite/schedulers/queue_link.c:
22797         * testsuite/schedulers/relink.c:
22798         * testsuite/schedulers/unlink.c:
22799         * testsuite/schedulers/unref.c:
22800         * testsuite/schedulers/useless_iteration.c:
22801         * testsuite/states/bin.c:
22802           clean out/remove some stuff from the testsuite directories
22803
22804 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22805
22806         * configure.ac:
22807           check for some headers
22808         * gst/elements/Makefile.am:
22809         * gst/elements/gstelements.c:
22810           don't compile fdsrc without sys/socket.h
22811         * gst/indexers/Makefile.am:
22812         * gst/indexers/gstindexers.c: (plugin_init):
22813           don't compile fileindex without mmap
22814
22815 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22816
22817         * configure.ac:
22818           reorganize
22819           clean up
22820           document more
22821           remove cruft
22822         * check/Makefile.am:
22823         * docs/gst/Makefile.am:
22824         * examples/helloworld/Makefile.am:
22825         * gst/Makefile.am:
22826         * gst/base/Makefile.am:
22827         * gst/check/Makefile.am:
22828         * gst/elements/Makefile.am:
22829         * gst/indexers/Makefile.am:
22830         * gst/parse/Makefile.am:
22831         * libs/gst/controller/Makefile.am:
22832         * libs/gst/dataprotocol/Makefile.am:
22833         * examples/helloworld/helloworld.c: (event_loop):
22834           compile fixes, though it's not being compiled currently
22835
22836 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22837
22838         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22839           Add some simple tests for the new taglist date API.
22840
22841 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22842
22843         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22844         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22845           Beautify 'last-message' output: print 'none' for buffer timestamps
22846           and durations if none is set; improve alignment with next messages.
22847
22848 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22849
22850         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22851         * gst/gstpluginfeature.h:
22852         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22853         * gst/gstregistry.h:
22854         * docs/gst/gstreamer-sections.txt:
22855           Add new API to check plugin feature version requirements.
22856
22857         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22858           Some basic tests for the above.         
22859
22860 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22861
22862         * gst/gststructure.c: (gst_structure_to_string):
22863           guard against NULL printf - happens when for example
22864           a message structure with GstClock gets serialized
22865
22866 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22867
22868         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22869           Fix presumable copy'n'pasto.
22870
22871 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22872
22873         * gst/elements/gstfakesrc.h:
22874         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22875         * gst/elements/gsttypefindelement.c:
22876           fix some signedness
22877         * gst/elements/gstfilesink.c: (gst_file_sink_render):
22878           I wonder if this could actually write +2GB files before
22879
22880 2005-10-13  Andy Wingo  <wingo@pobox.com>
22881
22882         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22883         Fix Timmeke Waymans bug.
22884         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22885         string of the proper length to gst_caps_from_string. There's a
22886         potential for, before this fix, that this could cause someone
22887         connecting over the network to cause a segfault if the payload is
22888         not NUL-terminated.
22889
22890 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22891
22892         * docs/design/draft-push-pull.txt:
22893         * docs/design/part-overview.txt:
22894         * docs/random/TODO-pre-0.9:
22895         * docs/random/old/ChangeLog.gstreamer:
22896         * gst/base/gstpushsrc.c:
22897         * gst/gstclock.c:
22898           fixed typos
22899
22900 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22901
22902         * gst/glib-compat.c: (gst_flags_get_first_value):
22903         * gst/glib-compat.h:
22904         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22905         (gst_value_compare_double), (gst_value_serialize_flags):
22906           GLib 2.6 g_flags_get_first_value has a bug that triggers an
22907           infinite loop
22908
22909 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22910
22911         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22912         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22913           fix up debugging
22914         * tools/gst-launch.c: (event_loop):
22915           print out clock nicely
22916
22917 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22918
22919         * docs/gst/gstreamer-sections.txt:
22920         * gst/gsttaglist.h:
22921         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22922         (gst_tag_list_get_date_index):
22923           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22924           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22925
22926 2005-10-13  Julien MOUTTE  <julien@moutte.net>
22927
22928         * gst/base/gstcollectpads.c: (gst_collectpads_event),
22929         (gst_collectpads_chain):
22930         * gst/base/gstcollectpads.h: Handle newsegment and store informations
22931         in CollectData.
22932
22933 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
22934
22935         * docs/gst/gstreamer-sections.txt:
22936         * gst/gst.c:
22937         * gst/gsterror.h:
22938         * tools/gst-inspect.c: (main):
22939         * tools/gst-launch.c: (main):
22940         * tools/gst-run.c: (main):
22941         * tools/gst-xmlinspect.c: (main):
22942           fix GOption context leaks
22943           doc fixes
22944
22945 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22946
22947         * gst/gstbus.c:
22948           use HAVE_UNISTD_H
22949         * win32/common/config.h:
22950           update config
22951         * win32/vs6/grammar.dsp:
22952         * win32/vs6/libgstelements.dsp:
22953         * win32/vs6/libgstreamer.dsp:
22954           update vs6 files
22955
22956 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22957
22958         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22959         * gst/base/gstbasesrc.c: (gst_base_src_query):
22960           fix more guint64<->gdouble conversions
22961
22962 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22963
22964         * Makefile.am:
22965           add win32-update target
22966         * win32/common/gstconfig.h:
22967         * win32/common/gstenumtypes.c:
22968         * win32/common/gstenumtypes.h:
22969         * win32/common/gstversion.h:
22970           add files that visual studio can't generate
22971
22972 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22973
22974         * Makefile.am:
22975           add a win32-update target
22976         * configure.ac:
22977
22978 2005-10-12  Wim Taymans  <wim@fluendo.com>
22979
22980         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22981         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22982         * gst/gstelement.c: (gst_element_commit_state),
22983         (gst_element_set_state):
22984         Protect flags with proper lock.
22985         unref provided cached clock in dispose.
22986
22987 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
22988
22989         * gst/gst.c:
22990         * gst/gstminiobject.h:
22991         * gst/gstpad.h:
22992         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22993           removed unused flags from miniobject
22994           doc fixes
22995
22996 2005-10-12  Wim Taymans  <wim@fluendo.com>
22997
22998         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22999         (gst_file_sink_event), (gst_file_sink_render):
23000         Flush before seeking.
23001
23002 2005-10-12  Andy Wingo  <wingo@pobox.com>
23003
23004         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23005         always been the case.
23006
23007 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23008
23009         * check/gst/gstbin.c: (GST_START_TEST):
23010         * docs/gst/gstreamer-sections.txt:
23011         * gst/base/gstbasesink.c: (gst_base_sink_init):
23012         * gst/base/gstbasesrc.c: (gst_base_src_init),
23013         (gst_base_src_get_range), (gst_base_src_check_get_range),
23014         (gst_base_src_start), (gst_base_src_stop):
23015         * gst/base/gstbasesrc.h:
23016         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23017         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23018         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23019         (bin_bus_handler):
23020         * gst/gstbin.h:
23021         * gst/gstbuffer.h:
23022         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23023         * gst/gstbus.h:
23024         * gst/gstelement.c: (gst_element_is_locked_state),
23025         (gst_element_set_locked_state), (gst_element_commit_state),
23026         (gst_element_set_state):
23027         * gst/gstelement.h:
23028         * gst/gstindex.c: (gst_index_init):
23029         * gst/gstindex.h:
23030         * gst/gstminiobject.h:
23031         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23032         (gst_object_set_parent):
23033         * gst/gstobject.h:
23034         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23035         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23036         * gst/gstpad.h:
23037         * gst/gstpadtemplate.h:
23038         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23039         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23040         * gst/gstpipeline.h:
23041         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23042         (gst_file_index_commit):
23043         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23044         * testsuite/pad/link.c: (gst_test_src_init),
23045         (gst_test_filter_init), (gst_test_sink_init):
23046         * testsuite/states/locked.c: (main):
23047           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23048           moved bitshift from macro to enum definition
23049
23050 2005-10-12  Wim Taymans  <wim@fluendo.com>
23051
23052         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23053         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23054         (gst_file_sink_render):
23055         Some more debugging info.
23056
23057 2005-10-12  Wim Taymans  <wim@fluendo.com>
23058
23059         * docs/design/part-states.txt:
23060         * tools/gst-launch.c: (main):
23061         Some doc updates.
23062         Revert non-intentional change.
23063
23064 2005-10-12  Wim Taymans  <wim@fluendo.com>
23065
23066         * check/gst/gstbin.c: (GST_START_TEST):
23067         * check/gst/gstelement.c: (GST_START_TEST):
23068         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23069         * check/gst/gstghostpad.c: (GST_START_TEST):
23070         * check/gst/gstpipeline.c: (GST_START_TEST):
23071         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23072         * check/states/sinks.c: (GST_START_TEST):
23073         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23074         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23075         (gst_bin_remove_func), (gst_bin_get_state_func),
23076         (gst_bin_recalc_state), (gst_bin_change_state_func),
23077         (bin_bus_handler):
23078         * gst/gstelement.c: (gst_element_get_state_func),
23079         (gst_element_get_state), (gst_element_abort_state),
23080         (gst_element_commit_state), (gst_element_set_state),
23081         (gst_element_change_state), (gst_element_change_state_func):
23082         * gst/gstelement.h:
23083         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23084         (gst_pipeline_provide_clock_func):
23085         * gst/gstutils.c: (gst_element_link_pads_filtered):
23086         * tools/gst-launch.c: (main):
23087         * tools/gst-typefind.c: (main):
23088         Use GstClockTime in _get_state() instead of GTimeVal.
23089         Remove old code in gstutils.c
23090
23091 2005-10-12  Andy Wingo  <wingo@pobox.com>
23092
23093         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23094         removed.
23095
23096         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23097         there is no task. Shouldn't affect any code, as nothing in our
23098         plugins checks this return value.
23099         (gst_pad_stop_task): Also take the stream lock if the pad has no
23100         task. Docs updated.
23101
23102 2005-10-12  Wim Taymans  <wim@fluendo.com>
23103
23104         * gst/gstpad.c: (pre_activate), (post_activate),
23105         (gst_pad_activate_pull), (gst_pad_activate_push):
23106         Cleanup activation code. Reset old state if
23107         activation failed.
23108
23109 2005-10-12  Wim Taymans  <wim@fluendo.com>
23110
23111         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23112         (gst_base_sink_change_state):
23113         No need to prerol after receiving EOS.
23114
23115         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23116         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23117         * gst/elements/gstidentity.c: (gst_identity_event):
23118         Print events more verbosely.
23119
23120 2005-10-12  Wim Taymans  <wim@fluendo.com>
23121
23122         * check/Makefile.am:
23123         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23124         * check/states/sinks2.c:
23125         Moved sinks2 testcode in sinks check.
23126
23127         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23128         (gst_bin_remove_func), (gst_bin_recalc_state),
23129         (gst_bin_change_state_func), (bin_bus_handler):
23130         Fix potential race condition when _get_state() iterated over an
23131         ASYNC element right before it posted a state completion.
23132
23133         * gst/gstclock.h:
23134         Do proper cast here.
23135
23136         * gst/gstevent.c: (gst_event_new_newsegment),
23137         (gst_event_parse_newsegment):
23138         A playback rate of 0.0 is not allowed.
23139
23140 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23141
23142         * win32/common/config.h:
23143         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23144         (_trewinddir), (_ttelldir), (_tseekdir):
23145         * win32/common/dirent.h:
23146         * win32/common/gtchar.h:
23147         * win32/common/libgstbase.def:
23148         * win32/common/libgstreamer.def:
23149         * win32/vs6/grammar.dsp:
23150         * win32/vs6/gst_inspect.dsp:
23151         * win32/vs6/gst_launch.dsp:
23152         * win32/vs6/gstreamer.dsw:
23153         * win32/vs6/libgstbase.dsp:
23154         * win32/vs6/libgstelements.dsp:
23155         * win32/vs6/libgstreamer.dsp:
23156           Visual Studio 6 project files, and a new common directory.
23157           Phear.
23158
23159 2005-10-11  Wim Taymans  <wim@fluendo.com>
23160
23161         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23162         (gst_base_sink_do_sync), (gst_base_sink_query),
23163         (gst_base_sink_change_state):
23164         * gst/base/gstbasesink.h:
23165         Correctly parse newsegment info.
23166
23167 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23168
23169         * gst/gst.c: (init_post):
23170           split plugin paths correctly
23171
23172 2005-10-11  Wim Taymans  <wim@fluendo.com>
23173
23174         * check/gst/gstevent.c: (GST_START_TEST):
23175         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23176         (gst_base_sink_change_state):
23177         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23178         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23179         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23180         * gst/gstevent.c: (gst_event_new_newsegment),
23181         (gst_event_parse_newsegment):
23182         * gst/gstevent.h:
23183         Added extra flag to newsegment for future API freeze.
23184         Updated check and base elements.
23185
23186 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23187
23188         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23189         (gst_collectpads_add_pad), (gst_collectpads_pop),
23190         (gst_collectpads_event), (gst_collectpads_chain):
23191         * gst/base/gstcollectpads.h: Handle EOS correctly.
23192
23193 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23194
23195         * tools/gst-launch.c: (main):
23196           more null protecting
23197
23198 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23199
23200         * gst/gst-i18n-lib.h:
23201           check for ENABLE_NLS, not GETTEXT_PACKAGE
23202         * gst/gstregistry.c: (gst_registry_add_plugin),
23203         (gst_registry_scan_path_level),
23204         (_gst_registry_remove_cache_plugins):
23205           protect possibly NULL strings
23206         * gst/parse/types.h:
23207           config.h already included before
23208         * tools/gst-inspect.c: (main):
23209           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23210           check for ENABLE_NLS, not GETTEXT_PACKAGE
23211         * tools/gst-launch.c: (main):
23212           check for ENABLE_NLS, not GETTEXT_PACKAGE
23213
23214 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23215
23216         * configure.ac:
23217           if we don't have glib, fail before testing 2.8
23218         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23219           fix a leak, should fix plugins-base testsuite
23220
23221 2005-10-11  Andy Wingo  <wingo@pobox.com>
23222
23223         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23224         take the mode we're going to as an arg. Go head and set the mode
23225         and flushing flags now, so that if the activate function starts a
23226         thread all the flags will be in the right state.
23227         (post_activate): Renamed also. Just handle making sure streaming
23228         finishes for the deactivation case, and setting the deactivated
23229         mode.
23230         (gst_pad_set_active): Complain loudly if deactivation fails.
23231         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23232         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23233         remove the terrible hack.
23234
23235 2005-10-11  Wim Taymans  <wim@fluendo.com>
23236
23237         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23238         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23239         (gst_bin_recalc_state), (gst_bin_change_state_func),
23240         (gst_bin_dispose), (bin_bus_handler):
23241         * gst/gstbin.h:
23242         Prepare to make current EOS message queue more generic.
23243         Fix some typos.
23244
23245         * gst/gstevent.c: (gst_event_new_newsegment),
23246         (gst_event_parse_newsegment):
23247         * gst/gstevent.h:
23248         Rename base to stream_time.
23249
23250         * gst/gstmessage.h:
23251         Fix typo in docs.
23252
23253 2005-10-11  Wim Taymans  <wim@fluendo.com>
23254
23255         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23256         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23257         (gst_bin_change_state_func), (bin_bus_handler):
23258         * gst/gstbin.h:
23259         Work on proper clock selection.
23260
23261 2005-10-11  Edward Hervey  <edward@fluendo.com>
23262
23263         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23264         * libs/gst/controller/gstcontroller.h:
23265         Added GList* version of _remove_properties() in order to be able to wrap
23266         it in bindings.
23267
23268 2005-10-11  Wim Taymans  <wim@fluendo.com>
23269
23270         * docs/design/part-states.txt:
23271         Some more docs.
23272
23273         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23274         (gst_bin_change_state_func), (bin_bus_handler):
23275         Doc updates. Don't distribute the same clock over and over again.
23276
23277         * gst/gstclock.c:
23278         * gst/gstclock.h:
23279         Doc updates.
23280
23281         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23282         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23283         (gst_pad_send_event):
23284         * gst/gstpad.h:
23285         Make probe emission threadsafe again.
23286         Register quarks and move _get_name() from utils.
23287         Doc updates.
23288
23289         * gst/gstpipeline.c: (gst_pipeline_class_init),
23290         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23291         Only redistribute the clock of it changed.
23292
23293         * gst/gstsystemclock.h:
23294         Doc updates. 
23295
23296         * gst/gstutils.c:
23297         * gst/gstutils.h:
23298         Moved the _flow_get_name() to GstPad.
23299
23300 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23301
23302         * check/gst-libs/gdp.c: (GST_START_TEST):
23303         * check/gst/gstcaps.c: (GST_START_TEST):
23304         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23305         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23306         (gst_dp_packet_from_caps):
23307           fix more valgrind warnings before turning up the heat
23308
23309 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23310
23311         * gst/parse/grammar.y:
23312           some cleanup before the hacking
23313
23314 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23315
23316         * gst/base/gstbasesrc.c: (gst_base_src_query):
23317           use conversions
23318         * gst/gstutils.c: (gst_guint64_to_gdouble),
23319         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23320         * gst/gstutils.h:
23321           externalize, basesrc uses it
23322           obviously the implementation needs testing
23323
23324 2005-10-10  Wim Taymans  <wim@fluendo.com>
23325
23326         * tests/sched/Makefile.am:
23327         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23328         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23329
23330 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23331
23332         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23333           apparently converting from guint64 to double is not implemented
23334           on MSVC
23335
23336 2005-10-10  Wim Taymans  <wim@fluendo.com>
23337
23338         * check/Makefile.am:
23339         * check/generic/states.c: (GST_START_TEST):
23340         * check/gst/gstbin.c: (GST_START_TEST):
23341         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23342         * check/states/sinks.c: (GST_START_TEST):
23343         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23344         (main):
23345         Check fixes, use API as stated in design docs, remove hacks.
23346
23347         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23348         (gst_base_sink_change_state):
23349         Catch stopping our task while we're shutting down.
23350
23351         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23352         (gst_bin_remove_func), (gst_bin_get_state_func),
23353         (gst_bin_recalc_state), (gst_bin_change_state_func),
23354         (bin_bus_handler):
23355         * gst/gstbin.h:
23356         * gst/gstelement.c: (gst_element_init),
23357         (gst_element_get_state_func), (gst_element_abort_state),
23358         (gst_element_commit_state), (gst_element_lost_state),
23359         (gst_element_set_state), (gst_element_change_state),
23360         (gst_element_change_state_func):
23361         * gst/gstelement.h:
23362         New state change algorithm (see #318116)
23363
23364         * gst/gstpipeline.c: (gst_pipeline_class_init),
23365         (gst_pipeline_init), (gst_pipeline_set_property),
23366         (gst_pipeline_get_property), (do_pipeline_seek),
23367         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23368         * gst/gstpipeline.h:
23369         Remove crude state change hacks.
23370
23371         * gst/gstutils.h:
23372         Remove crude hacks.
23373
23374         * tools/gst-launch.c: (main):
23375         Fixes for state change. Needs some more work to fully use the
23376         new stuff.
23377
23378 2005-10-10  Andy Wingo  <wingo@pobox.com>
23379
23380         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23381
23382         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23383         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23384         issue.
23385
23386 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23387
23388         * gst/gstiterator.c: (gst_iterator_new):
23389           Fix my previous commit: GTypes passed to gst_iterator_new()
23390           can be fundamental types.
23391
23392 2005-10-10  Wim Taymans  <wim@fluendo.com>
23393
23394         * gst/gstelement.c: (gst_element_iterate_pad_list),
23395         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23396         (gst_element_iterate_sink_pads):
23397         Use src/sink pads lists for the respective iterators instead
23398         of filtering.
23399
23400 2005-10-10  Andy Wingo  <wingo@pobox.com>
23401
23402         Merged in popt removal + GOption addition patch from Ronald, bug
23403         #169772.
23404
23405         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23406         GstElement macros around, remove popt-related symbols, add goption
23407         stuff.
23408
23409         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23410         
23411         * docs/gst/Makefile.am:
23412         * docs/libs/Makefile.am: No POPT_CFLAGS.
23413         
23414         * examples/manual/Makefile.am:
23415         * docs/manual/basics-init.xml: Doc updates with an example.
23416         
23417         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23418         (gst_init), (parse_one_option), (parse_goption_arg):
23419         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23420         bit of hand merging and debugging to get the GOption stuff working
23421         tho.
23422         
23423         * tests/Makefile.am:
23424         * tools/Makefile.am:
23425         * tools/gst-inspect.c: (main):
23426         * tools/gst-launch.c: (main):
23427         * tools/gst-run.c: (main):
23428         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23429
23430 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23431
23432         * gst/gstiterator.c: (gst_iterator_new):
23433           Add assertions to make sure passed GType is likely to really
23434           be a GType (as the compiler won't catch it if the size and
23435           GType arguments get mixed up, see #318447).
23436
23437 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23438
23439         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23440
23441         * gst/gstbin.c: (gst_bin_iterate_sorted):
23442           Pass GType and size arguments to gst_iterator_new() in the right
23443           order (maybe we should make _new() take the GType as first argument
23444           just like _new_list()?) (#318447).
23445           
23446
23447 2005-10-10  Wim Taymans  <wim@fluendo.com>
23448
23449         * gst/gstelement.c: (gst_element_finalize):
23450         And free the GStaticRecMutex too
23451
23452 2005-10-10  Andy Wingo  <wingo@pobox.com>
23453
23454         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23455         Allocate and free the mutex properly.
23456
23457         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23458         New macros.
23459         (GstElement): The state_lock is now recursive. Rebuild your
23460         plugins, suckers. Old macros adapted.
23461
23462         * docs/gst/gstreamer-sections.txt: Doc updates.
23463
23464         * gst/gstutils.h:
23465         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23466         (g_static_rec_cond_wait): Ported from state changes patch, while
23467         we wait on bug #317802 to be solved in a well-distributed GLib.
23468
23469         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23470         gst_element_change_state, variable name changes.
23471         (gst_element_change_state): Split out of gst_element_set_state in
23472         preparation for the state change merge. Doesn't pay attention to
23473         the 'transition' argument.
23474         (gst_element_set_state): Updates, hopefully purely cosmetic.
23475         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23476         state change patch.
23477         (gst_element_get_state_func): Renamed from get_state, cosmetic
23478         changes.
23479
23480 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23481
23482         * gst/elements/gstelements.c:
23483         * win32/GStreamer.vcproj:
23484         * win32/config.h:
23485         * win32/dirent.c: (_tseekdir):
23486         * win32/gst-inspect.vcproj:
23487         * win32/gst-launch.vcproj:
23488         * win32/gstconfig.h:
23489         * win32/gstelements.vcproj:
23490         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23491         * win32/gstreamer.def:
23492         * win32/msvc71.sln:
23493           updates for the win32 build (patch from Sebastien Moutte)
23494
23495 2005-10-10  Andy Wingo  <wingo@pobox.com>
23496
23497         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23498         gst_bin_get_state, cleaned up (but no logic changes).
23499         (bin_element_is_sink): Comment updates.
23500         (sink_iterator_filter): Remove needless cast.
23501         (gst_bin_iterate_sinks): Doc update.
23502         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23503         cleaned up (but no logic changes).
23504
23505         * check/states/sinks.c (test_src_sink): Cleanups from the state
23506         change patch.
23507         (test_livesrc_sink): Sync on the state.
23508
23509         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23510         the state change patch.
23511
23512         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23513         change patch.
23514
23515         * check/gst/gstbin.c: Merge in some style fixes and additional
23516         checks from Wim's state change patch.
23517
23518 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23519
23520         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23521         (gst_type_find_helper):
23522           Check whether we have the requested data already in our list of
23523           cached buffers before pulling a new buffer; also make the buffer
23524           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23525
23526 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23527
23528         * gst/gstcaps.c:
23529         * gst/gstevent.c:
23530           doc updates
23531         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23532           don't use long long, it's not portable.  Replacing with
23533           gint64 seems to work; let's hope no skeletons fall out of the closet.
23534
23535 2005-10-10  Andy Wingo  <wingo@pobox.com>
23536
23537         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23538
23539 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23540
23541         * docs/gst/gstreamer-sections.txt:
23542         * gst/gstevent.c:
23543         * gst/gstevent.h:
23544         * gst/gstinfo.c:
23545         * gst/gstinfo.h:
23546         * gst/gstmessage.c: (gst_message_parse_state_changed):
23547         * gst/gstpad.c:
23548         * gst/gstpad.h:
23549           more docs, fix compilation
23550
23551 2005-10-09  Philippe Khalaf <burger@speedy.org>
23552         * gst/gstmessage.c:
23553           Fixed a few forgotten variables on previous commit
23554
23555 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23556
23557         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23558           Fix evil typefind crasher: getrange() might return a short
23559           buffer at the end of a file, but gst_type_find_peek() must
23560           either return the full data as requested or NULL, but
23561           never a short buffer.
23562
23563 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23564
23565         * gst/gstmessage.c: (gst_message_new_state_changed),
23566         (gst_message_parse_state_changed):
23567         * gst/gstmessage.h:
23568           don't use "new", it's a C++ keyword
23569
23570 2005-10-08  Wim Taymans  <wim@fluendo.com>
23571
23572         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23573         * gst/gstelement.c: (gst_element_post_message):
23574         * gst/gstpipeline.c: (gst_pipeline_change_state):
23575         Small docs and debug updates.
23576
23577 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23578
23579         * docs/gst/gstreamer-sections.txt:
23580         * gst/gstelementfactory.c:
23581         * gst/gstevent.c:
23582         * gst/gsttaglist.c:
23583           more docs
23584
23585 2005-10-08  Wim Taymans  <wim@fluendo.com>
23586
23587         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23588         (gst_bin_dispose), (bin_bus_handler):
23589         Fix typos, add comments.
23590         Clear EOS list when going to PAUSED from any direction and do it
23591         in a threadsafe way.
23592         Get base time in a threadsafe way too.
23593         Fix confusing debug in the change_state function.
23594         Various other small cleanups.
23595         
23596         * gst/gstelement.c: (gst_element_post_message):
23597         Fix very verbose bus posting code.
23598
23599         * gst/gstpipeline.c: (gst_pipeline_class_init),
23600         (gst_pipeline_set_property), (gst_pipeline_get_property),
23601         (gst_pipeline_change_state):
23602         Small ARG_ -> PROP_ cleanup
23603
23604 2005-10-08  Wim Taymans  <wim@fluendo.com>
23605
23606         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23607         Do a less CPU demanding EOS check because we can.
23608
23609 2005-10-08  Wim Taymans  <wim@fluendo.com>
23610
23611         * libs/gst/dataprotocol/dataprotocol.c:
23612         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23613         (gst_dp_packet_from_event):
23614         * libs/gst/dataprotocol/dataprotocol.h:
23615         * libs/gst/dataprotocol/dp-private.h:
23616         It's about time we bump the version number.
23617         Since event types don't fit in the guint8 anymore describing
23618         the payload type, make payload type 16 bits wide.
23619
23620 2005-10-08  Wim Taymans  <wim@fluendo.com>
23621
23622         * docs/design/part-TODO.txt:
23623         * docs/design/part-clocks.txt:
23624         * docs/design/part-events.txt:
23625         * docs/design/part-gstbin.txt:
23626         * docs/design/part-gstelement.txt:
23627         * docs/design/part-gstpipeline.txt:
23628         * docs/design/part-live-source.txt:
23629         * docs/design/part-messages.txt:
23630         * docs/design/part-overview.txt:
23631         * docs/design/part-states.txt:
23632         Many doc updates.
23633
23634 2005-10-08  Wim Taymans  <wim@fluendo.com>
23635
23636         * gst/gstevent.c:
23637         * gst/gstevent.h:
23638         Fix event quark registration.
23639         Add some space between events so we can insert them in the
23640         right groups.
23641
23642 2005-10-08  Wim Taymans  <wim@fluendo.com>
23643
23644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23645         (gst_base_sink_handle_buffer):
23646         Better log message.
23647
23648         * gst/gstbus.h:
23649         * gst/gstelement.h:
23650         More docs.
23651
23652         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23653         (gst_queue_set_property), (gst_queue_get_property):
23654         * gst/gstqueue.h:
23655         Remove old unused properties.
23656
23657 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23658         * docs/gst/gstreamer-sections.txt:
23659         * gst/gstmessage.c:
23660         * gst/gstmessage.h:
23661         * gst/gstminiobject.c:
23662         * gst/gstminiobject.h:
23663         * gst/gstobject.h:
23664         * gst/gstpad.h:
23665         * gst/gstutils.h:
23666           lots of new docs and doc fixes
23667
23668 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23669
23670         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23671         * gst/gstplugin.h:
23672         * gst/gstregistry.c: (gst_registry_lookup_locked),
23673         (gst_registry_scan_path_level):
23674         * gst/gstregistryxml.c: (load_plugin):
23675           Only ever load one plugin for a given plugin basename.
23676           This ensures correct overriding of GST_PLUGIN_PATH over
23677           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23678           system installed plugins.
23679
23680 2005-10-08  Wim Taymans  <wim@fluendo.com>
23681
23682         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23683         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23684         Prepare for doing QOS.
23685
23686 2005-10-08  Wim Taymans  <wim@fluendo.com>
23687
23688         * check/gst/gstbin.c: (GST_START_TEST):
23689         * check/pipelines/cleanup.c: (GST_START_TEST):
23690         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23691         Allow new clock message too.
23692
23693 2005-10-08  Wim Taymans  <wim@fluendo.com>
23694
23695         * gst/gstmessage.c: (gst_message_new_error),
23696         (gst_message_new_warning), (gst_message_new_tag),
23697         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23698         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23699         (gst_message_new_segment_start), (gst_message_new_segment_done),
23700         (gst_message_parse_state_changed),
23701         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23702         (gst_message_parse_new_clock):
23703         * gst/gstmessage.h:
23704         Also carry the clock in question.
23705
23706 2005-10-08  Wim Taymans  <wim@fluendo.com>
23707
23708         * gst/gstmessage.c: (gst_message_new_custom),
23709         (gst_message_new_eos), (gst_message_new_error),
23710         (gst_message_new_warning), (gst_message_new_tag),
23711         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23712         (gst_message_new_new_clock), (gst_message_new_segment_start),
23713         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23714         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23715         * gst/gstmessage.h:
23716         Clean up.
23717         Added clock related messages.
23718
23719         * gst/gstpipeline.c: (gst_pipeline_change_state):
23720         Post message when the clock changed.
23721
23722         * tools/gst-launch.c: (event_loop):
23723         Print new clock.
23724
23725 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23726
23727         * tools/gst-inspect.c: (print_element_properties_info):
23728           Can't pass NULL strings to g_print() on windows.
23729
23730 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23731
23732         * docs/Makefile.am:
23733         * docs/gst/Makefile.am:
23734         * docs/gst/gstreamer-docs.sgml:
23735         * docs/gst/running.xml:
23736         * docs/version.entities.in:
23737           add a chapter on running GStreamer.
23738           document GST_DEBUG and GST_PLUGIN* env vars
23739
23740 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23741
23742         * Makefile.am:
23743           remove include dir
23744         * configure.ac:
23745           remove PLUGINS_BUILDDIR stuff
23746         * gst/gst.c: (init_post):
23747           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23748         * idiottest.mak:
23749           remove, it was condescending and not needed
23750
23751 2005-10-08  Wim Taymans  <wim@fluendo.com>
23752
23753         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23754         (gst_base_sink_handle_object), (gst_base_sink_event),
23755         (gst_base_sink_wait), (gst_base_sink_handle_event),
23756         (gst_base_sink_change_state):
23757         * gst/base/gstbasesink.h:
23758         Repost EOS message while going to PLAYING if still EOS.
23759         Make sure that when receiving a FLUSH_START we don't attempt
23760         to sync on the clock anymore.
23761
23762 2005-10-08  Wim Taymans  <wim@fluendo.com>
23763
23764         * tools/gst-launch.c: (event_loop):
23765         Better message printout.
23766
23767 2005-10-08  Wim Taymans  <wim@fluendo.com>
23768
23769         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23770         (gst_bin_child_proxy_get_children_count):
23771         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23772         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23773         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23774         (gst_child_proxy_set_valist):
23775         * gst/parse/grammar.y:
23776         Make ChildProxy threadsafe and fix mem leaks.
23777
23778 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23779
23780         * gst/gst.c: (init_post):
23781           debug the GST_PLUGIN_ env vars
23782
23783 2005-10-08  Wim Taymans  <wim@fluendo.com>
23784
23785         * check/gst/gstbin.c: (GST_START_TEST):
23786         * check/gst/gstmessage.c: (GST_START_TEST):
23787         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23788         * gst/gstelement.c: (gst_element_commit_state),
23789         (gst_element_lost_state):
23790         * gst/gstmessage.c: (gst_message_new_state_changed),
23791         (gst_message_parse_state_changed):
23792         * gst/gstmessage.h:
23793         * tools/gst-launch.c: (event_loop):
23794         Added extra field to STATE_CHANGE message with the pending
23795         state, which will be different from the new state soon.
23796
23797 2005-10-08  Wim Taymans  <wim@fluendo.com>
23798
23799         * gst/gstbus.c: (gst_bus_pop):
23800         * gst/gstclock.c:
23801         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23802         Small cleanups and doc updates.
23803
23804 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23805
23806         * gst/gst.c: (init_pre):
23807         * gst/gstbin.c: (gst_bin_add_func):
23808           log distributing clocks and base time
23809         * gst/gstregistry.c: (gst_registry_add_plugin),
23810         (gst_registry_scan_path_level), (gst_registry_scan_path):
23811           clean up the debugging output a little
23812         * gst/gstutils.c: (gst_element_state_get_name):
23813           warn about a memleak (I've actually seen this be used, though
23814           it was probably a bug)
23815
23816 2005-10-07  Wim Taymans  <wim@fluendo.com>
23817
23818         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23819         (gst_base_src_init), (gst_base_src_default_newsegment),
23820         (gst_base_src_newsegment), (gst_base_src_do_seek),
23821         (gst_base_src_loop), (gst_base_src_start):
23822         * gst/base/gstbasesrc.h:
23823         Make the newsegment event customizable by subclasses.
23824
23825 2005-10-07  Wim Taymans  <wim@fluendo.com>
23826
23827         * gst/gstevent.c: (gst_event_new_buffersize),
23828         (gst_event_parse_buffersize):
23829         * gst/gstevent.h:
23830         New event for future idea.
23831
23832 2005-10-07  Andy Wingo  <wingo@pobox.com>
23833
23834         * gst/gstelement.c (gst_element_post_message): Doc update.
23835
23836         * docs/gst/gstreamer-sections.txt: Update.
23837
23838         * gst/gstmessage.c (gst_message_new_application): Made into a
23839         function like honest API calls.
23840         (gst_message_new_element): New message type.
23841
23842         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23843
23844         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23845         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23846         times.
23847
23848         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23849         NO_PREROLL from gst_element_change_state to fall through.
23850
23851 2005-10-07  Wim Taymans  <wim@fluendo.com>
23852
23853         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23854         (gst_ghost_pad_do_activate_push):
23855         Activating a ghostpad with no internal pad in push mode
23856         is ok.
23857
23858 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23859
23860         * gst/gstobject.h:
23861           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23862           Fixes compilation on Windows.
23863
23864 2005-10-07  Michael Smith <msmith@fluendo.com>
23865
23866         * tools/gst-inspect.c:
23867           Print out feature and plugin count at the end when printing out
23868           all features.
23869
23870 2005-10-04  Michael Smith <msmith@fluendo.com>
23871
23872         * gst/gsterror.c: (_gst_stream_errors_init):
23873           Add another error string used in a few existing plugins.
23874
23875         * gst/gstplugin.c:
23876         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23877         * tools/gst-inspect.c: (print_element_info):
23878           When a feature disappears from a plugin (and the feature exists in
23879           the cached registry file), things went horribly wrong. This isn't a
23880           complete fix, we should actually be removing the 'missing' features
23881           from the features list when we load the actual plugin. That's not
23882           yet implemented. 
23883
23884 2005-10-04  Johan Dahlin  <johan@gnome.org>
23885
23886         * check/gst/gstiterator.c: (GST_START_TEST):
23887         * gst/gstbin.c: (gst_bin_iterate_elements),
23888         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23889         * gst/gstelement.c: (gst_element_iterate_pads):
23890         * gst/gstformat.c: (gst_format_iterate_definitions):
23891         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23892         (gst_iterator_new_list), (gst_iterator_filter):
23893         * gst/gstiterator.h:
23894         * gst/gstquery.c: (gst_query_type_iterate_definitions):
23895         Add a GType to GstIterator, update callsites and tests.
23896
23897 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23898
23899         * gst/gstpad.c: (gst_pad_event_default_dispatch):
23900           give events a chance to be handled by event probes when the pad
23901           is not linked
23902
23903 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23904
23905         * gst/gstevent.c: (gst_event_type_get_name),
23906         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23907         * gst/gstevent.h:
23908           add string representations for event types
23909
23910 2005-10-06  Wim Taymans  <wim@fluendo.com>
23911
23912         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23913         Don't use NULL pointers.
23914
23915 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23916
23917         * gst/gst_private.h:
23918         * gst/gstbus.c:
23919         * gst/gstelement.c:
23920         * gst/gstinfo.c:
23921         * gst/gstpluginfeature.c:
23922           widen the debug category in output to fit the biggest one we have
23923           add a bus category and use it
23924           play with the colors
23925           fix up some categories
23926
23927 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23928
23929         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23930           add push activation of sink ghost pads.
23931           Andye, please verify
23932
23933 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23934
23935         * gst/gstutils.c: (gst_element_link_pads):
23936           fix a bug in the case where neither element has a pad
23937         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23938           add a test for that case
23939
23940 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23941
23942         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23943           emit have-data before checking for peers.  This allows
23944           for probe handlers to connect elements.  This helps autopluggers.
23945         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23946         (gst_pad_suite):
23947           add six checks, linked/unlinked with no/true/false probe
23948
23949 2005-10-04  Wim Taymans  <wim@fluendo.com>
23950
23951         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23952         (gst_fake_sink_event), (gst_fake_sink_preroll),
23953         (gst_fake_sink_render), (gst_fake_sink_change_state):
23954         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23955         (gst_fake_src_get_property), (gst_fake_src_create),
23956         (gst_fake_src_stop):
23957         * gst/elements/gstidentity.c: (gst_identity_stop):
23958         Protect last_message with lock.
23959
23960 2005-10-04  Edward Hervey  <edward@fluendo.com>
23961
23962         * gst/gstformat.h: 
23963         Added precision in the comments for GST_FORMAT_DEFAULT
23964
23965 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
23966
23967         * tools/gst-launch.c: (main):
23968           Don't try to run erroneous pipelines.
23969
23970 2005-10-04  Julien MOUTTE  <julien@moutte.net>
23971
23972         * gst/gstbus.c: We don't need this header.
23973
23974 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23975
23976         * configure.ac:
23977           back to development
23978
23979 === release 0.9.3 ===
23980
23981 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23982
23983         * README:
23984         * configure.ac:
23985           Releasing 0.9.3, "Unregistered"
23986
23987 2005-10-03  Andy Wingo  <wingo@pobox.com>
23988
23989         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23990         whereby calling a pad's activatepush() function can start a thread
23991         that starts to push or pull before the pad gets the FLUSHING flag
23992         unset. Hack around it by holding the stream lock until the flag is
23993         set. Need to replace this with a proper solution. Together with
23994         the ghost pad fixes, this fixes mp3 playing/tagreading.
23995
23996         * docs/design/part-gstghostpad.txt: Add a note about activation of
23997         proxy pads outside of ghost pads.
23998
23999         * gst/gstghostpad.c: Implement the ghost pad activation design.
24000
24001 2005-10-02  Andy Wingo  <wingo@pobox.com>
24002
24003         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24004         It is volatile, after all.
24005
24006         * docs/design/part-gstghostpad.txt: Flesh out activation with
24007         ghost pads.
24008
24009         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24010         GST_DEBUG_FUNCPTR.
24011
24012 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24013
24014         * configure.ac:
24015           Fix (unused) AM_CONDITIONAL tests.
24016
24017 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24018
24019         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24020
24021         * gst/gstutils.c: (gst_pad_query_convert):
24022           Add assertion that makes sure src_val is >=0, just like
24023           gst_query_new_convert() has. (#315895)
24024
24025 2005-09-30  Edward Hervey  <edward@fluendo.com>
24026
24027         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24028         Let's not iterate pads we're not interested in, it avoids getting 
24029         sky-high refcounts on sinkpad.
24030
24031 2005-09-30  Wim Taymans  <wim@fluendo.com>
24032
24033         * gst/gstelement.c: (gst_element_set_state),
24034         (gst_element_change_state):
24035         Small tweak, element in ASYNC remains ASYNC.
24036
24037 2005-09-30  Wim Taymans  <wim@fluendo.com>
24038
24039         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24040         Only error is an error.
24041
24042         * gst/gstbin.c: (gst_bin_change_state):
24043         Better debugging.
24044
24045         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24046         Also call pad_block in pad alloc.
24047
24048         * gst/gstutils.c: (gst_flow_get_name):
24049         Better debugging.
24050
24051 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24052
24053         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24054         (gst_base_src_get_range):
24055           Fix documentation typos. Add some more debug info.
24056
24057 2005-09-29  David Schleef  <ds@schleef.org>
24058
24059         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24060           more end-user friendly.
24061         * tools/gst-inspect.c: (main): Check if command-line argument is
24062           a file and attempt to load that file as a plugin.
24063
24064 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24065
24066         * check/gst/gstbin.c:
24067         * check/states/sinks.c:
24068           fix tests for the new warning
24069         * check/gst/gstpipeline.c:
24070           add a test for pipeline and bus interaction
24071         * gst/gstelement.c:
24072           elements should be NULL if they get disposed; add a warning if not
24073
24074 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24075
24076         * gst/gstobject.c:
24077           for 2.6 refcounting, make debug log more correct by printing
24078           the actual refcounts at the time of swap (Wim)
24079
24080 2005-09-29  Andy Wingo  <wingo@pobox.com>
24081
24082         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24083         removes signal watches previously added via
24084         gst_bus_add_signal_watch.
24085         (gst_bus_add_signal_watch): Don't return the source id, just store
24086         it on the bus if there wasn't an id already.
24087
24088         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24089         add_signal_watch and remove_signal_watch.
24090
24091 2005-09-29  Edward Hervey  <edward@fluendo.com>
24092
24093         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24094         Better if we actually iterate the list :)
24095
24096 2005-09-29  Wim Taymans  <wim@fluendo.com>
24097
24098         * check/gst/gstbin.c: (GST_START_TEST):
24099         Change for new bus API.
24100
24101         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24102         (send_messages), (GST_START_TEST), (gstbus_suite):
24103         Change for new bus signal API.
24104
24105         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24106         (gst_bus_source_prepare), (gst_bus_source_check),
24107         (gst_bus_create_watch), (gst_bus_add_watch_full),
24108         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24109         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24110         * gst/gstbus.h:
24111         Remove support for multiple GSources operating on different
24112         message types as it is too complex and unneeded when using
24113         signals.
24114         Added support for receiving signals from the bus.
24115
24116 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24117
24118         * docs/libs/tmpl/gstdataprotocol.sgml:
24119         * docs/manual/advanced-dataaccess.xml:
24120         * gst/elements/gstcapsfilter.c:
24121         * gst/gstutils.c:
24122           rename filter-caps to caps property
24123
24124 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24125
24126         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24127           More robust fraction string parsing.
24128
24129         * docs/pwg/appendix-porting.xml:
24130           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24131
24132 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24133
24134         * gst/gstcaps.c: (gst_caps_do_simplify):
24135           Thou shalt not free a structure and then continue using it
24136           in the next loop iteration.
24137
24138         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24139         (gst_caps_suite):
24140           Add test case for caps simplification.
24141
24142 2005-09-29  Wim Taymans  <wim@fluendo.com>
24143
24144         * check/gst/gstbin.c: (GST_START_TEST):
24145         Oops.
24146
24147 2005-09-29  Wim Taymans  <wim@fluendo.com>
24148
24149         * check/gst/gstbin.c: (GST_START_TEST):
24150         Add bus to bin.
24151
24152         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24153         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24154         (find_element), (gst_bin_sort_iterator_next),
24155         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24156         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24157         (gst_bin_change_state), (gst_bin_dispose):
24158         A bin does not have a bus, it gets the bus from the parent.
24159
24160         * gst/gstelement.c: (gst_element_requires_clock),
24161         (gst_element_provides_clock), (gst_element_is_indexable),
24162         (gst_element_is_locked_state), (gst_element_change_state),
24163         (gst_element_set_bus_func):
24164         Small cleanups.
24165
24166         * gst/gstpipeline.c: (gst_pipeline_class_init),
24167         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24168         The pipeline provides a bus.
24169
24170 2005-09-28  Johan Dahlin  <johan@gnome.org>
24171
24172         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24173         gst_structure_get_enum instead of gst_structure_get_int
24174
24175         * gst/gststructure.c (gst_structure_get_enum): Impl.
24176
24177         * gst/gststructure.h (gst_structure_get_enum): Add
24178
24179         * docs/gst/gstreamer-sections.txt: Ditto
24180
24181         * gst/gstmessage.c (gst_message_new_state_changed): Use
24182         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24183         which does introspection.
24184         Reviewed by Christian Schaller
24185
24186 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24187
24188         * gst/gstinfo.c: (gst_debug_log_default):
24189           don't do dummy g_strdup()s
24190         * libs/gst/controller/gstcontroller.c:
24191         (on_object_controlled_property_changed),
24192         (gst_controlled_property_new), (gst_controller_new_valist),
24193         (gst_controller_new_list),
24194         (gst_controller_remove_properties_valist), (gst_controller_set),
24195         (gst_controller_get), (gst_controller_sync_values),
24196         (gst_controller_get_value_array), (_gst_controller_class_init),
24197         (gst_controller_get_type):
24198         * libs/gst/controller/gstcontroller.h:
24199         * libs/gst/controller/gstinterpolation.c:
24200         (gst_controlled_property_find_timed_value_node):
24201           convert // to /**/ comments
24202
24203 2005-09-28  Wim Taymans  <wim@fluendo.com>
24204
24205         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24206         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24207         (gst_bus_sync_signal_handler):
24208         * gst/gstbus.h:
24209         Added async-message and sync-message signals to the bus.
24210         Added helper BusFunc to emit signals for all posted messages.
24211
24212         * gst/gstmessage.c: (gst_message_type_get_name),
24213         (gst_message_type_to_quark), (gst_message_get_type):
24214         * gst/gstmessage.h:
24215         Register quarks for message names.
24216
24217 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24218
24219         * docs/libs/gstreamer-libs-sections.txt:
24220         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24221         (gst_controller_new_list):
24222         * libs/gst/controller/gstcontroller.h:
24223           added another constructor for language bindings
24224
24225 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24226
24227         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24228           add another check
24229         * gst/gstbus.c:
24230           add some doc
24231         * gst/gstinfo.c: (_gst_debug_init):
24232           slightly more readable color for refcount debugging
24233
24234 2005-09-28  Wim Taymans  <wim@fluendo.com>
24235
24236         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24237         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24238         (find_element), (gst_bin_sort_iterator_next),
24239         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24240         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24241         (gst_bin_change_state), (gst_bin_dispose):
24242         Small doc fixes. get_clock -> provide_clock.
24243
24244         * gst/gstelement.c: (gst_element_class_init),
24245         (gst_element_provides_clock), (gst_element_provide_clock),
24246         (gst_element_get_clock), (gst_element_commit_state),
24247         (gst_element_lost_state):
24248         * gst/gstelement.h:
24249         Make get/set_clock() symetric. Add provide_clock vmethod since
24250         that is actually what this function does.
24251
24252         * gst/gstpipeline.c: (gst_pipeline_class_init),
24253         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24254         (gst_pipeline_get_clock):
24255         get_clock -> provide_clock.
24256
24257 2005-09-28  Andy Wingo  <wingo@pobox.com>
24258
24259         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24260         lieu of real docs...
24261
24262         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24263
24264 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24265
24266         * gst/elements/gstcapsfilter.c:
24267         * gst/elements/gstfakesink.c:
24268         * gst/elements/gstfakesrc.c:
24269         * gst/elements/gstfdsink.c:
24270         * gst/elements/gstfdsrc.c:
24271         * gst/elements/gstfilesink.c:
24272         * gst/elements/gstfilesrc.c:
24273         * gst/elements/gstidentity.c:
24274         * gst/elements/gsttee.c:
24275         * gst/elements/gsttypefindelement.c:
24276           Make element details static.
24277
24278 2005-09-28  Wim Taymans  <wim@fluendo.com>
24279
24280         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24281         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24282         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24283         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24284         (gst_bin_change_state), (gst_bin_dispose):
24285         Some documentation updates.
24286         Clean up dispose handlers.
24287
24288         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24289         * gst/gstpad.c: (gst_pad_dispose):
24290         Clean up dispose handler.
24291
24292         * gst/gstpipeline.c: (gst_pipeline_change_state):
24293         Removed spurious UNLOCK.
24294
24295 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24296
24297         * docs/gst/gstreamer-sections.txt:
24298         * gst/base/gstbasesrc.h:
24299         * gst/gstelement.h:
24300         * gst/gstevent.h:
24301         * gst/gstobject.h:
24302         * gst/gstpad.h:
24303         * gst/gstpipeline.c:
24304         * gst/gstpipeline.h:
24305         * gst/gstutils.h:
24306         * gst/gstxml.h:
24307           added two new functions to the docs
24308                 documents all undocumented GstXXXFlags
24309                 completed some incomplete docs 
24310
24311 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24312
24313         * gst/gstbin.c: (gst_bin_dispose):
24314         * gst/gstelement.c: (gst_element_dispose):
24315           remove now useless and leaky resurrection code in dispose
24316         * gst/base/gstbasesrc.c: (gst_base_src_init):
24317         * gst/gstelementfactory.c: (gst_element_factory_create):
24318         * gst/gstobject.c: (gst_object_set_parent):
24319           add some debugging
24320
24321 2005-09-27  Wim Taymans  <wim@fluendo.com>
24322
24323         * docs/design/part-TODO.txt:
24324         Update TODO.
24325
24326         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24327         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24328         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24329         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24330         (gst_bin_change_state):
24331         * gst/gstelement.h:
24332         Remove element variable, we keep element info in the iterator now.
24333
24334 2005-09-27  Andy Wingo  <wingo@pobox.com>
24335
24336         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24337         values.
24338
24339 2005-09-27  Wim Taymans  <wim@fluendo.com>
24340
24341         * check/gst/gstbin.c: (GST_START_TEST):
24342         Enable check that works now.
24343
24344         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24345         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24346         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24347         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24348         (gst_bin_change_state):
24349         * gst/gstbin.h:
24350         Redid the state change algorithm using a topological sort algo.
24351         Handles all cases correctly.
24352         Exposed iterator for state change order.
24353
24354         * gst/gstelement.h:
24355         Temp storage for state changes. Need to get rid of this soon.
24356
24357 2005-09-27  Wim Taymans  <wim@fluendo.com>
24358
24359         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24360         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24361         (link_fold_func), (gst_pad_proxy_setcaps):
24362         Leak fixes, the fold functions need to unref the passed object and
24363         _get_parent_*() returns ref to parent.
24364
24365 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24366
24367         * check/gst/gstbuffer.c: (test_make_writable):
24368           Plug leak in test case and fix 'make check-valgrind'
24369
24370 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24371
24372         * gst/gstbuffer.c: (gst_subbuffer_init):
24373           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24374           works correctly in all circumstances (we could have just copied
24375           the parent buffer's readonly flag, but conceptually it seems
24376           cleaner to mark all subbuffers as read-only). (based on patch
24377           by Alessandro Decina, #314710).
24378         
24379         * check/gst/gstbuffer.c: (create_read_only_buffer),
24380         (test_make_writable), (test_subbuffer_make_writable),
24381         (gst_test_suite):
24382           Add some tests for gst_buffer_make_writable().
24383
24384 2005-09-27  Wim Taymans  <wim@fluendo.com>
24385
24386         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24387         use gst_object_has_ancestor().
24388
24389         * gst/gstobject.c: (gst_object_has_ancestor):
24390         * gst/gstobject.h:
24391         gst_object_has_ancestor() copied from gstbin.c as it is a
24392         useful function.
24393
24394         * tests/instantiate/create.c: (create_all_elements):
24395         * tests/lat.c: (handoff_src), (handoff_sink):
24396         * tests/sched/runxml.c: (main):
24397         * tests/seeking/seeking1.c: (main):
24398         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24399         (main):
24400         Fix compilation of some tests.
24401
24402 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24403
24404         * gst/gsterror.h:
24405           Remove comment. GST_TYPE_G_ERROR is here to stay,
24406           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24407           (#316961, #300610).
24408
24409 2005-09-26  Wim Taymans  <wim@fluendo.com>
24410
24411         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24412         Added check that shows error in state change order.
24413
24414 2005-09-26  Wim Taymans  <wim@fluendo.com>
24415
24416         * gst/gstbin.c: (gst_bin_change_state):
24417         Make state change function use 3 queues again, we were
24418         adding elements in the wrong order.
24419
24420         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24421         Some debug info,
24422
24423         * gst/gstpad.c: (gst_pad_dispose):
24424         Added some debug info first.
24425
24426 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24427
24428         * docs/design/draft-push-pull.txt:
24429         * docs/design/part-events.txt:
24430         * docs/design/part-overview.txt:
24431         * docs/design/part-scheduling.txt:
24432           Replace all _pull_region() with _pull_range()
24433           
24434 2005-09-26  Andy Wingo  <wingo@pobox.com>
24435
24436         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24437
24438         * check/gst-libs/controller.c: Update for controller api change.
24439
24440         * configure.ac: 
24441         * tests/Makefile.am:
24442         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24443         over by GLib bug 118439.
24444         
24445         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24446         routines to a function.
24447
24448         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24449
24450         * libs/gst/controller/gsthelper.c:
24451         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24452         (gst_object_sync_values): Renamed from sink_values. Ugh.
24453
24454         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24455
24456         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24457         Renamed from controller_key, as it is exported.
24458
24459         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24460
24461 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24462
24463         * gst/Makefile.am:
24464         * gst/gst.h:
24465         * gst/gstpad.h:
24466         * gst/gstpadtemplate.h:
24467         * gst/gstquery.c:
24468         * gst/gstquery.h:
24469         * gst/gstqueryutils.c:
24470         * gst/gstqueryutils.h:
24471           remove queryutils headers after moving the two used functions
24472           to gstquery.  also fixes build problem for gstsiddec
24473
24474 2005-09-26  Michael Smith <msmith@fluendo.com>
24475
24476         * tools/gst-launch.1.in:
24477         Correct documentation in manpage of debug syntax
24478
24479 2005-09-26  Wim Taymans  <wim@fluendo.com>
24480
24481         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24482         (gst_base_src_is_seekable), (gst_base_src_change_state):
24483         Some more debugging info.
24484
24485 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24486
24487         * docs/gst/gstreamer-sections.txt:
24488         * gst/base/gstbasetransform.h:
24489         * gst/gstindex.h:
24490           added more docs
24491
24492 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24493
24494         * docs/gst/.cvsignore:
24495         * docs/gst/tmpl/.cvsignore:
24496         * docs/gst/tmpl/gstpipeline.sgml:
24497         * docs/gst/tmpl/gstplugin.sgml:
24498         * gst/gstpipeline.c:
24499         * gst/gstplugin.c:
24500         * gst/gstplugin.h:
24501           inlined the last two docs files
24502           removed the tmpl directory from cvs (no more conflicts here!)
24503
24504 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24505
24506         * docs/gst/gstreamer-sections.txt:
24507         * docs/gst/tmpl/.cvsignore:
24508         * docs/gst/tmpl/gstpad.sgml:
24509         * docs/gst/tmpl/gstpadtemplate.sgml:
24510         * gst/Makefile.am:
24511         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24512         (gst_pad_finalize), (gst_pad_set_pad_template):
24513         * gst/gstpad.h:
24514         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24515         (gst_pad_template_class_init), (gst_pad_template_init),
24516         (gst_pad_template_dispose), (name_is_valid),
24517         (gst_static_pad_template_get), (gst_pad_template_new),
24518         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24519         (gst_pad_template_pad_created):
24520         * gst/gstpadtemplate.h:
24521           inlined two more docs
24522           factored gstpadtemplate out of gstpad
24523
24524 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24525
24526         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24527         (test_children_state_change_order_semi_sink):
24528           Fix test case: we can't rely on a fixed state change order when
24529           going from READY => PAUSED because the sink might commit its 
24530           new state first when the first buffer created by the source 
24531           reaches the sink before the source has finished its change state.
24532           (Test case still fails at times, see #316856, comment 5 onwards)
24533
24534 2005-09-24  Wim Taymans  <wim@fluendo.com>
24535
24536         * docs/design/part-events.txt:
24537         * docs/design/part-gstbus.txt:
24538         * docs/design/part-gstpipeline.txt:
24539         * docs/design/part-messages.txt:
24540         * docs/design/part-overview.txt:
24541         * docs/design/part-segments.txt:
24542         * gst/gstbin.c:
24543         * gst/gstbuffer.c:
24544         * gst/gstclock.c:
24545         * gst/gstelement.c:
24546         * gst/gstevent.c:
24547         * gst/gstfilter.c:
24548         * gst/gstiterator.c:
24549         Various documentation updates.
24550
24551 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24552
24553         * gst/gstclock.h:
24554           Well, that's embarassing.  Luckily we weren't using
24555           GST_CLOCK_DIFF anywhere.
24556
24557 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24558
24559         * common/gtk-doc.mak:
24560           don't fail on building XML, FC4 slave shows a bunch of doc
24561           missing bits that I don't get
24562         * gst/gstpad.c:
24563         * gst/gstpipeline.c:
24564         * gst/gststructure.c:
24565           some doc updates
24566
24567 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24568
24569         * docs/design/part-gstbin.txt:
24570         * docs/design/part-gstbus.txt:
24571         * gst/gstbus.c:
24572           Add blurb about how the bus goes into flushing mode and
24573           drops all messages when its bin goes from READY into NULL 
24574           state.
24575
24576 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24577
24578         * docs/gst/gstreamer-sections.txt:
24579         * gst/gststructure.c: (gst_structure_get_clock_time):
24580         * gst/gststructure.h:
24581           add a method to get a GstClockTime out of a structure
24582
24583 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24584
24585         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24586         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24587           Added test to check state change order in bins (can still be made
24588           to fail here under heavy disk load; bails out with 'Push on pad
24589           fakesink:sink0, but it was not activated in push mode').
24590
24591         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24592           Fix state change order when there is only a semi sink (#316856)
24593
24594         * gst/gstbus.c: (gst_bus_class_init):
24595           Use _class_peek_parent(), not _class_ref(); fix docs to say
24596           'default main context' instead of 'mainloop' where that is
24597           what's meant.
24598
24599         * gst/gstelement.c: (gst_element_commit_state),
24600         (gst_element_set_state):
24601           Fix typos in debug messages
24602
24603 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24604
24605         * docs/README:
24606         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24607         * gst/gstpluginfeature.c:
24608         * gst/gstutils.c:
24609           various doc updates
24610         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24611           change an assert into an error until it gets fixed properly
24612
24613 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24614
24615         * docs/gst/gstreamer-sections.txt:
24616         * docs/gst/tmpl/.cvsignore:
24617         * docs/gst/tmpl/gstelement.sgml:
24618         * docs/gst/tmpl/gstinfo.sgml:
24619         * docs/gst/tmpl/gstobject.sgml:
24620         * gst/gstelement.c:
24621         * gst/gstelement.h:
24622         * gst/gstinfo.c:
24623         * gst/gstinfo.h:
24624         * gst/gstobject.c: (gst_object_class_init):
24625         * gst/gstobject.h:
24626           inlined 3 more biiiig doc files and added some missing docs on the fly
24627
24628 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24629
24630         * check/gst/.cvsignore:
24631         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24632         * gst/gstregistryxml.c: (load_plugin),
24633         (gst_registry_xml_save_plugin):
24634           put back source in registry.  add checks for find_plugin.
24635         * testsuite/states/bin.c: (assert_state), (empty_bin),
24636         (test_adding_one_element), (main):
24637         * testsuite/states/locked.c: (main):
24638           some compile/run fixes
24639
24640 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24641
24642         * check/gst/gstvalue.c: (GST_START_TEST):
24643           fix leaks in the test itself
24644
24645 2005-09-22  Wim Taymans  <wim@fluendo.com>
24646
24647         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24648         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24649         (gst_base_sink_query):
24650         Prepare for more accurate position reporting and query
24651         handling.
24652
24653         * gst/gstelement.c: (gst_element_send_event),
24654         (gst_element_set_state):
24655         Add some comment.
24656
24657 2005-09-22  Wim Taymans  <wim@fluendo.com>
24658
24659         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24660         (gst_query_parse_segment):
24661         * gst/gstquery.h:
24662         More documentation.
24663         Add segment query for future use.
24664
24665 2005-09-22  Wim Taymans  <wim@fluendo.com>
24666
24667         * gst/gstbin.c: (gst_bin_add_func):
24668         Some more debug info.
24669
24670         * gst/gstelement.c: (gst_element_send_event):
24671         Simplify send_event
24672
24673         * gst/gstelement.h:
24674         Don't know how flags got broken.
24675
24676         * gst/gstquery.h:
24677         Added new query.
24678
24679 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24680
24681         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24682           Add simplistic test suite for GST_TYPE_DATE serialisation and
24683           deserialisation.
24684
24685 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24686
24687         * docs/gst/gstreamer-sections.txt:
24688         * gst/gststructure.c: (gst_structure_set_valist),
24689         (gst_structure_get_date):
24690         * gst/gststructure.h:
24691         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24692         (gst_date_copy), (gst_value_compare_date),
24693         (gst_value_serialize_date), (gst_value_deserialize_date),
24694         (gst_value_transform_date_string),
24695         (gst_value_transform_string_date), (_gst_value_initialize):
24696         * gst/gstvalue.h:
24697           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24698           bunch of utility functions along with a hack that checks that
24699           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24700           is required. Part of the grand scheme in #170777.
24701
24702 2005-09-22  Andy Wingo  <wingo@pobox.com>
24703
24704         * gst/gstconfig.h.in: Psych out gtk-doc.
24705
24706         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24707
24708         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24709
24710         * tools/gst-inspect.c (print_element_list): Plug some
24711         inconsequential leaks.
24712
24713         * gst/gstregistry.c (gst_registry_get_default): Doc.
24714
24715         * check/gst/gstplugin.c: 
24716         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24717         * gst/gstelementfactory.c (gst_element_factory_create): 
24718         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24719         refcount changes.
24720
24721         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24722         (gst_plugin_feature_load): Doc, don't eat refs.
24723
24724         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24725         (gst_plugin_list_free): Doc.
24726         (gst_plugin_load_file): Doc updates.
24727
24728         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24729         accessors returning refcounted objects, return a ref.
24730
24731         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24732         accessor for caps. IDEMPOTENCE. Oh yes.
24733
24734 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24735
24736         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24737
24738         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24739         (_gst_debug_register_funcptr):
24740           Add mutex to serialise access to the hash table with
24741           the function pointer => function name string mapping;
24742           make that hash table static scope (#316809).
24743
24744         * gst/registries/.cvsignore:
24745           Remove left-over file.
24746
24747 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24748
24749         * docs/pwg/appendix-porting.xml:
24750           And something about newsegment events and caps-on-buffers to
24751           the porting guide (feel free to improve).
24752
24753 2005-09-21  Andy Wingo  <wingo@pobox.com>
24754
24755         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24756         data and event probes on the same pad.
24757         (test_buffer_probe_once): Test that removing probes from within
24758         the probe functions works.
24759
24760 2005-09-21  Andy Wingo  <wingo@pobox.com>
24761
24762         * check/gst/gstutils.c: New file.
24763         (test_buffer_probe_n_times): A simple buffer probe test. More to
24764         come, foolios.
24765
24766         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24767         have-data::buffer, not have-data.
24768         (gst_pad_add_event_probe): Likewise for have-data::event.
24769         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24770         peer' isn't quite right yet though.
24771         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24772         (gst_pad_remove_data_probe): Change to take the guint handler_id
24773         as their arg, not the function+data, which is more glib-like.
24774
24775         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24776         the signal emission to indicate if the data is a buffer or an
24777         event.
24778         (gst_pad_get_type): Initialize buffer and event quarks.
24779         (gst_pad_class_init): have-data is now a detailed signal, yes it
24780         is.
24781
24782 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24783
24784         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24785         * gst/gstutils.c: (gst_util_set_value_from_string),
24786         (gst_util_set_object_arg):
24787           Don't put functional code in g_return_if_fail() or
24788           g_return_val_if_fail() statements, otherwise things will 
24789           break when G_DISABLE_CHECKS is defined during compilation.
24790
24791 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24792
24793         * docs/gst/tmpl/.cvsignore:
24794         * docs/gst/tmpl/gstvalue.sgml:
24795         * gst/gstvalue.c:
24796         * gst/gstvalue.h:
24797           inlied another one and added  some obvious docs
24798
24799 2005-09-21  Wim Taymans  <wim@fluendo.com>
24800
24801         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24802         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24803         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24804         (gst_fdsrc_get_property), (gst_fdsrc_create):
24805         * gst/elements/gstfdsrc.h:
24806         Properly implement fdsrc. Removed signal and timeout,
24807         better implemented somewhere else.
24808
24809 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24810
24811         * docs/gst/tmpl/.cvsignore:
24812         * docs/gst/tmpl/gstimplementsinterface.sgml:
24813         * gst/gstinterface.c:
24814           inlined more docs
24815
24816 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24817
24818         * docs/gst/gstreamer-sections.txt:
24819         * docs/gst/tmpl/.cvsignore:
24820         * docs/gst/tmpl/gstenumtypes.sgml:
24821           remove obsolete doc file
24822
24823 2005-09-21  David Schleef  <ds@schleef.org>
24824
24825         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24826         little beer, fix a little leak.
24827
24828 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24829
24830         * docs/gst/gstreamer-docs.sgml:
24831         * docs/gst/gstreamer-sections.txt:
24832         * docs/gst/tmpl/.cvsignore:
24833         * gst/Makefile.am:
24834         * gst/gst.h:
24835         * gst/gstbin.c:
24836         * gst/gstelement.h:
24837         * gst/gstindex.c: (gst_index_class_init):
24838         * gst/gstindex.h:
24839         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24840         (gst_index_factory_class_init), (gst_index_factory_init),
24841         (gst_index_factory_finalize), (gst_index_factory_new),
24842         (gst_index_factory_destroy), (gst_index_factory_find),
24843         (gst_index_factory_create), (gst_index_factory_make):
24844         * gst/gstindexfactory.h:
24845         * gst/gstpluginfeature.c:
24846         * gst/gstpluginfeature.h:
24847         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24848           more docs inlined, splitted gstindex.{c,h}
24849
24850 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24851
24852         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24853           fix a leak
24854
24855 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24856
24857         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24858           Set sync to FALSE by default.
24859
24860 2005-09-20  Wim Taymans  <wim@fluendo.com>
24861
24862         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24863         (gst_base_sink_init):
24864         Make sync property settable from subclass.
24865
24866         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24867         (gst_fake_sink_change_state):
24868         Set sync to FALSE by default.
24869
24870 2005-09-20  Wim Taymans  <wim@fluendo.com>
24871
24872         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24873         * tools/gst-launch.c: (main):
24874         The timeout handler should have lower priority than the source
24875         so we don't timeout before popping a message with 0 timeout.
24876         Dump error messages after failed state change.
24877
24878 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24879
24880         * tools/gst-inspect.c: (print_element_properties_info):
24881           Fix two typos.
24882
24883 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24884
24885         * check/gst/gstevent.c:
24886         * gst/elements/gstfakesink.c:
24887         * gst/elements/gstfakesink.h:
24888           remove the sync property from fakesink.
24889           has the side effect of setting sync TRUE
24890           for fakesink, which is a change.  Anyone who knows how
24891           to fix this nicely in a GObject-y way, feel free.
24892
24893 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24894
24895         * docs/gst/gstreamer-docs.sgml:
24896           remove probe refsection
24897
24898 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24899
24900         * check/Makefile.am:
24901           disable valgrinding the controller test again
24902         * docs/gst/gstreamer-sections.txt:
24903           update for api-changes
24904
24905 2005-09-20  Wim Taymans  <wim@fluendo.com>
24906
24907         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24908         (gst_base_sink_set_property), (gst_base_sink_get_property),
24909         (gst_base_sink_do_sync):
24910         * gst/base/gstbasesink.h:
24911         Added sync property to basesink to disable clock sync.
24912
24913 2005-09-20  Andy Wingo  <wingo@pobox.com>
24914
24915         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24916         eating the caller's refcount.
24917
24918         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
24919         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24920         refcount.
24921
24922         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24923         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24924         of GLib 2.8 public, so we can know which refcount to check in
24925         tests.
24926
24927         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24928         (gst_object_init): Only set the gst refcount if we're going ahead
24929         with the refcount hack.
24930
24931 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24932
24933         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24934         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24935           more leaks plumbed, added more debug-logging
24936         * gst/gstmacros.h:
24937           whitespace fix
24938
24939 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24940
24941         * gst/gstmessage.c:
24942           remove include of gstmemchunk.h
24943
24944 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24945
24946         * gst/gstclock.c: (_gst_clock_id_free):
24947           Commit from the Political Party For More Atomic CVS Commits,
24948           so that people don't waste too much of their day fishing
24949           out obvious leaks out of massive commits.
24950           Oh, and fix a pretty damn obvious leak in the memchunk
24951           removal code.
24952
24953 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
24954
24955         * check/Makefile.am:
24956         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24957           plug mem-leak, re-add to valgrindable tests
24958
24959 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24960
24961         * gst/gstplugin.h:
24962           unbreak the build for those who have chronic arthritis
24963           and typing "make check" is just too taxing on the hands
24964
24965 2005-09-20  Andy Wingo  <wingo@pobox.com>
24966
24967         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24968         really want it out, you should fix plugins at the same time.
24969
24970 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
24971
24972         * configure.ac:
24973         * docs/gst/gstreamer-sections.txt:
24974         * gst/gstobject.c:
24975           added missing symbols to api docs
24976           disable ref-count hack if we have glib >= 2.8
24977
24978 2005-09-19  David Schleef  <ds@schleef.org>
24979
24980         * docs/gst/Makefile.am: Ignore a few more internal headers
24981         * docs/gst/gstreamer-docs.sgml: Remove old sections
24982         * docs/gst/gstreamer-sections.txt: Remove old sections
24983         * docs/gst/tmpl/gstobject.sgml: update
24984         * docs/gst/tmpl/gstplugin.sgml: update
24985         * docs/gst/tmpl/gstpluginfeature.sgml: update
24986         * docs/random/ds/0.9-suggested-changes: update.
24987         * gst/Makefile.am: remove memchunk and trashstack, since they're
24988           not used.
24989         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24990         * gst/gst.h: don't include some headers
24991         * gst/gstchildproxy.c: add gstmarshal.h
24992         * gst/gstclock.c: Don't use memchunks
24993         * gst/gstminiobject.c: Add some docs
24994         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24995         * gst/gstobject.h: same
24996         * gst/gstplugin.c: include gstmacros.h
24997         * gst/gstplugin.h: don't include gstmacros.h, since it's private
24998         * gst/gstquery.c: don't use memchunks
24999         * gst/gstregistry.c: rename gst_registry_deinit()
25000         * gst/gstregistry.h: same
25001
25002 2005-09-19  David Schleef  <ds@schleef.org>
25003
25004         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25005         * docs/libs/gstreamer-libs-sections.txt:
25006         * docs/libs/tmpl/gstgetbits.sgml:
25007         * docs/libs/tmpl/gstputbits.sgml:
25008
25009 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25010
25011         * win32/gstenumtypes.c:
25012         * win32/gstenumtypes.h:
25013           Update.
25014
25015 2005-09-19  Wim Taymans  <wim@fluendo.com>
25016
25017         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25018         Automatically PAUSE and RESUME a pipeline when a flushing seek
25019         is performed.
25020
25021 2005-09-19  Andy Wingo  <wingo@pobox.com>
25022
25023         * gst/gstregistry.h: Spacing fixen.
25024
25025 2005-09-19  Wim Taymans  <wim@fluendo.com>
25026
25027         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25028         Handle state change failure more correctly.
25029
25030 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25031
25032         * check/Makefile.am:
25033         * check/pipelines/cleanup.c: (run_pipeline):
25034         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25035         (GST_START_TEST):
25036           enable cleanup again after fixing the leak
25037         * docs/README:
25038           some more info on docs
25039
25040 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25041
25042         * check/Makefile.am:
25043           re-enable tests now that leaks are plugged
25044         * check/gst/gst.c:
25045         * check/gst/gstbin.c:
25046         * check/gst/gstpipeline.c:
25047           add some more tests while fixing leaks
25048         * common/check.mak:
25049           make sure binaries are uptodate when valgrinding/gdbing
25050         * gst/gst.c:
25051         * gst/gstelementfactory.c:
25052           remove a ref too many, and add a FIXME for when we get
25053           round to disposing of classes
25054         * gst/gstplugin.c:
25055           fix the refcounting when loading a plugin from a file and
25056           the code pretends that the pointer is the same even though
25057           of course it can change
25058         * gst/gstpluginfeature.c:
25059           unref plugins marked cached (a bit confusing as a name)
25060           as the docs state should be done
25061           various doc additions to explain refcounting
25062         * gst/gstregistry.c:
25063         * gst/gstregistryxml.c:
25064           debugging
25065
25066 2005-09-19  Wim Taymans  <wim@fluendo.com>
25067
25068         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25069         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25070         (send_messages), (GST_START_TEST), (gstbus_suite):
25071         * check/gst/gstpipeline.c: (GST_START_TEST):
25072         * check/pipelines/cleanup.c: (run_pipeline):
25073         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25074         (GST_START_TEST):
25075         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25076         (gst_bus_source_check), (gst_bus_source_dispatch),
25077         (gst_bus_create_watch), (gst_bus_add_watch_full),
25078         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25079         * gst/gstbus.h:
25080         * tools/gst-launch.c: (event_loop):
25081         * tools/gst-md5sum.c: (event_loop):
25082         GstBusHandler -> GstBusFunc, return value has the same meaning as
25083         any other GSource (FALSE == remove source).
25084         _add_watch() and _add_watch_full() now take a MessageType mask to
25085         only handle specific types of messages.
25086         _poll() returns the GstMessage instead of the message type to avoid
25087         race conditions.
25088         _have_pending() takes a MessageType mask now too.
25089         Added testsuite for multiple bus watches.
25090         Fix testsuites and applications for new bus API.
25091
25092 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25093
25094         * check/Makefile.am:
25095           mark a bunch of the tests as to fix until we fix them
25096
25097 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25098
25099         * common/check.mak:
25100           use GST_PLUGIN settings for valgrind tests as well, so we're
25101           valgrinding the correct thing
25102         * gst/gst.c: (init_post):
25103           plug another leak
25104
25105 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25106
25107         * gst/gst.c: (init_post), (gst_deinit):
25108         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25109         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25110         * gst/gstindex.c: (gst_index_factory_class_init),
25111         (gst_index_factory_finalize):
25112         * gst/gstobject.c: (gst_object_dispose):
25113         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25114         (gst_plugin_load_file), (gst_plugin_desc_free):
25115         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25116         (gst_plugin_feature_finalize):
25117         * gst/gstregistry.c: (gst_registry_class_init),
25118         (gst_registry_init), (gst_registry_finalize),
25119         (gst_registry_get_default), (gst_registry_deinit):
25120         * gst/gstregistry.h:
25121         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25122           various cleanups and memleak plugging.  make valgrind is happy now.
25123
25124 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25125
25126         * common/check.mak:
25127           add a check-valgrind target
25128
25129 2005-09-18  David Schleef  <ds@schleef.org>
25130
25131         * tools/gst-inspect.c: Revert the GOption code.
25132
25133 2005-09-17  David Schleef  <ds@schleef.org>
25134
25135         * check/Makefile.am: Fix environment variables.
25136         * check/gst/gstplugin.c: Fix for API changes.
25137         * tools/gst-inspect.c: Fix for API changes.
25138         * tools/gst-xmlinspect.c: Fix for API changes.
25139         * gst/gstelementfactory.c:
25140         * gst/gstplugin.c:
25141         * gst/gstplugin.h:
25142         * gst/gstpluginfeature.c:
25143         * gst/gstpluginfeature.h:
25144         * gst/gstregistry.c:
25145         * gst/gstregistry.h:
25146         * gst/gstregistryxml.c:
25147         * gst/gsttypefind.c:
25148         * gst/gsttypefindfactory.c:
25149         * gst/indexers/gstfileindex.c:
25150         * gst/indexers/gstmemindex.c:
25151         * gst/schedulers/Makefile.am:
25152           Change registry to keep track of both plugins and features,
25153           removing the feature tracking from plugins themselves.
25154
25155 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25156
25157         * check/Makefile.am:
25158         * tools/gst-register.1.in:
25159           remove gst-register
25160
25161 2005-09-15  David Schleef  <ds@schleef.org>
25162
25163         * check/gst/gstplugin.c:
25164         * gst/gstelementfactory.c:
25165         * gst/gstplugin.c:
25166         * gst/gstpluginfeature.c:
25167         * gst/gstregistry.c:
25168           Getting tired of debugging.  Disabled all the unreffing of
25169           plugins and features, which fixes the segfaults, but of
25170           course leaks like crazy.  At least playbin works.
25171
25172 2005-09-15  David Schleef  <ds@schleef.org>
25173
25174         * check/gst/gstplugin.c: (register_check_elements),
25175         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25176         More testing
25177         * gst/elements/gsttypefindelement.c: Fix refcounting.
25178         * gst/gsttypefind.c:
25179         * gst/gsttypefindfactory.c:
25180         * gst/gsttypefindfactory.h:
25181
25182 2005-09-15  David Schleef  <ds@schleef.org>
25183
25184         * gst/gstindex.c: get refcounting correct.
25185         * gst/gstregistry.c: Handle the case where a feature/plugin is
25186           not found.
25187
25188 2005-09-15  David Schleef  <ds@schleef.org>
25189
25190         * check/Makefile.am:
25191         * check/gst/gstplugin.c: Add test
25192         * gst/gstplugin.c: Fix problems noticed by testsuite
25193         * gst/gstplugin.h:
25194         * gst/gstregistry.c: 
25195         * gst/gstregistry.h:
25196
25197 2005-09-15  David Schleef  <ds@schleef.org>
25198
25199         * gst/gstplugin.c: Implement semi-decent recounting and locking
25200           in plugins and plugin features.
25201         * gst/gstplugin.h:
25202         * gst/gstpluginfeature.c:
25203         * gst/gstpluginfeature.h:
25204         * gst/gstregistry.c:
25205
25206 2005-09-15  Michael Smith <msmith@fluendo.com>
25207
25208         * gst/gstregistry.c: (gst_registry_get_feature_list):
25209           Implement this. Makes oggdemux work; decodebin still broken.
25210
25211 2005-09-14  David Schleef  <ds@schleef.org>
25212
25213         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25214           #316076)
25215         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25216         * gst/check/Makefile.am:
25217         * libs/gst/controller/Makefile.am:
25218         * libs/gst/dataprotocol/Makefile.am:
25219
25220 2005-09-14  David Schleef  <ds@schleef.org>
25221
25222         * configure.ac: Remove getbits library.  Nothing uses it, and
25223           it should be in something like liboil if someone did want
25224           to use it.
25225         * libs/gst/Makefile.am:
25226         * libs/gst/getbits/Makefile.am:
25227         * libs/gst/getbits/gbtest.c:
25228         * libs/gst/getbits/getbits.c:
25229         * libs/gst/getbits/getbits.h:
25230         * libs/gst/getbits/gstgetbits_generic.c:
25231         * libs/gst/getbits/gstgetbits_i386.s:
25232         * libs/gst/getbits/gstgetbits_inl.h:
25233
25234 2005-09-14  David Schleef  <ds@schleef.org>
25235
25236         * gst/Makefile.am: Dist glib-compat.h
25237
25238 2005-09-14  David Schleef  <ds@schleef.org>
25239
25240         * configure.ac: Remove gst/registries, since it's no longer used.
25241         * gst/registries/Makefile.am:
25242         * gst/registries/gstlibxmlregistry.c:
25243         * gst/registries/gstlibxmlregistry.h:
25244         * gst/registries/gstxmlregistry.c:
25245         * gst/registries/gstxmlregistry.h:
25246         * gst/registries/registrytest.c:
25247
25248 2005-09-14  David Schleef  <ds@schleef.org>
25249
25250         * gst/glib-compat.h:
25251         * gst/gstregistryxml.c:
25252           Convergence is near.  Seriously.
25253
25254 2005-09-14  David Schleef  <ds@schleef.org>
25255
25256         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25257         * gst/glib-compat.h:
25258           Attempt #4 to appease the buildbots.
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           Attempt #3.
25264
25265 2005-09-14  David Schleef  <ds@schleef.org>
25266
25267         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25268         Attempt #2.
25269
25270 2005-09-14  David Schleef  <ds@schleef.org>
25271
25272         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25273           the new functions.
25274
25275 2005-09-14  David Schleef  <ds@schleef.org>
25276
25277         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25278         * gst/glib-compat.h: Add some functions that are in newer versions
25279           of glib than we care to require.
25280         * gst/gstregistryxml.c: Use them.
25281
25282 2005-09-14  David Schleef  <ds@schleef.org>
25283
25284         * po/POTFILES.in: remove gst-register.c
25285
25286 2005-09-14  David Schleef  <ds@schleef.org>
25287
25288         * docs/gst/gstreamer-docs.sgml:
25289         * docs/gst/gstreamer-sections.txt:
25290         * docs/gst/gstreamer.types:
25291         * docs/gst/tmpl/gstelement.sgml:
25292         * docs/gst/tmpl/gstplugin.sgml:
25293         * docs/gst/tmpl/gstpluginfeature.sgml:
25294           Documentation updates for registry changes.
25295
25296 2005-09-14  David Schleef  <ds@schleef.org>
25297
25298         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25299           because we don't require glib-2.8.
25300
25301 2005-09-14  David Schleef  <ds@schleef.org>
25302
25303         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25304           registries directory.
25305
25306 2005-09-14  David Schleef  <ds@schleef.org>
25307
25308         * check/Makefile.am:
25309         * check/generic/states.c:
25310         * gst/Makefile.am:
25311         * gst/gst.c:
25312         * gst/gst.h:
25313         * gst/gst_private.h:
25314         * gst/gstelementfactory.c:
25315         * gst/gstindex.c:
25316         * gst/gstinfo.c:
25317         * gst/gstplugin.c:
25318         * gst/gstplugin.h:
25319         * gst/gstpluginfeature.c:
25320         * gst/gstpluginfeature.h:
25321         * gst/gstregistry.c:
25322         * gst/gstregistry.h:
25323         * gst/gstregistrypool.c: remove
25324         * gst/gstregistrypool.h: remove
25325         * gst/gsttypefind.c:
25326         * gst/gsttypefindfactory.c:
25327         * gst/gsturi.c:
25328         * tools/Makefile.am:
25329         * tools/gst-compprep.c:
25330         * tools/gst-inspect.c:
25331         * tools/gst-register.c: remove
25332         * tools/gst-xmlinspect.c:
25333           Registry rewrite.  Changes registry from being a file created
25334           by a tool into a simple cache file created automatically by 
25335           libgstreamer.  Removed gst-register (because it's no longer
25336           needed).  Remove registry pools, because we only have one
25337           registry implementation (XML).  Fix up other subsystems as
25338           necessary.
25339
25340 2005-09-13  Michael Smith <msmith@fluendo.com>
25341
25342         * gst/gstconfig.h.in:
25343           Don't Use windows linking attributes for MinGW. Fixes #316157
25344
25345 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25346
25347         * gst/gstutils.c: (set_state_async_thread_func),
25348         (gst_element_set_state_async):
25349           Apparently people think it's better if this function doesn't
25350           try to set the state to whatever state was asked for on the first
25351           call to this function for any object.  Seriously.
25352
25353 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25354
25355         * check/gst/gstpipeline.c: (GST_START_TEST):
25356         * docs/gst/gstreamer-sections.txt:
25357         * gst/gstutils.c: (set_state_async_thread_func),
25358         (gst_element_set_state_async):
25359         * gst/gstutils.h:
25360           add a "gst_element_set_state_async" method that
25361           sets the state and starts a thread to make sure the state
25362           change completes as best as it can
25363
25364 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25365
25366         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25367           codify design+behaviour in testsuite after discussion
25368
25369 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25370
25371         * docs/gst/tmpl/gstelement.sgml:
25372         * docs/manual/appendix-quotes.xml:
25373           add a quote
25374         * gst/gstelement.c: (gst_element_set_state):
25375           add some debug
25376
25377 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25378
25379         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25380         (gst_base_transform_prepare_output_buf),
25381         (gst_base_transform_handle_buffer):
25382         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25383         (gst_capsfilter_prepare_buf):
25384           Remove the requirement for sub-classes to call the parent
25385           implementation of prepare_output_buffer with a wrapper function.
25386           
25387         * gst/gsttaglist.h:
25388         * gst/gsttagsetter.h:
25389           Fix #define wrapper
25390
25391 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25392
25393         * docs/gst/gstreamer-sections.txt:
25394           more doc cleanups
25395
25396 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25397
25398         * docs/gst/gstreamer-sections.txt:
25399         * docs/gst/tmpl/gstelement.sgml:
25400         * docs/gst/tmpl/gstplugin.sgml:
25401         * gst/gstminiobject.c:
25402         * gst/gstvalue.h:
25403           docs now stop throwing warnings
25404
25405 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25406
25407         * docs/gst/gstreamer-sections.txt:
25408         * docs/gst/gstreamer.types:
25409         * docs/gst/tmpl/gstpad.sgml:
25410         * docs/gst/tmpl/gsttypes.sgml:
25411         * gst/base/gstadapter.h:
25412         * gst/base/gstbasesink.h:
25413         * gst/base/gstbasesrc.h:
25414         * gst/gstbin.h:
25415         * gst/gstbuffer.h:
25416         * gst/gstbus.h:
25417         * gst/gstcaps.h:
25418         * gst/gstclock.h:
25419         * gst/gstelement.h:
25420         * gst/gstevent.h:
25421         * gst/gstmessage.h:
25422         * gst/gstpad.h:
25423         * gst/gststructure.c:
25424         * gst/registries/gstlibxmlregistry.h:
25425           various documentation fixes
25426
25427 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25428
25429         * docs/gst/gstreamer-sections.txt:
25430         * docs/gst/tmpl/gstvalue.sgml:
25431           rearrange gstvalue section
25432         * gst/gstutils.c: (gst_element_state_get_name):
25433           NONE -> VOID
25434         * gst/gstvalue.c: (_gst_value_initialize):
25435         * gst/gstvalue.h:
25436           doc updates
25437
25438 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25439
25440         * check/gst-libs/controller.c:
25441           Header include fix.
25442         * gst/base/gstbasetransform.c:
25443         (gst_base_transform_default_prepare_buf),
25444         (gst_base_transform_handle_buffer):
25445         * gst/base/gstbasetransform.h:
25446           Some more basetransform changes and fixes to enable sub-classes
25447           that modify buffer metadata only.
25448         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25449         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25450         (gst_capsfilter_prepare_buf):
25451           If the output pad has fixed allowed caps and input buffers 
25452           don't have any, set the fixed caps on outgoing buffers.
25453
25454 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25455         * check/elements/identity.c: (GST_START_TEST):
25456           Make the error a little clearer when the test fails because
25457           identity made a copy of the buffer.
25458         * docs/gst/gstreamer-sections.txt:
25459           New symbols in gstbasetransform.h
25460         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25461         (gst_base_transform_init), (gst_base_transform_transform_size),
25462         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25463         (gst_base_transform_default_prepare_buf),
25464         (gst_base_transform_get_unit_size),
25465         (gst_base_transform_buffer_alloc),
25466         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25467         (gst_base_transform_change_state),
25468         (gst_base_transform_set_passthrough),
25469         (gst_base_transform_set_in_place),
25470         (gst_base_transform_is_in_place):
25471         * gst/base/gstbasetransform.h:
25472           Change BaseTransform to separate in_place operate from same_caps
25473           output. in_place implies that the element can perform the transform
25474           on incoming buffers in-place, even if the caps on the output are
25475           different.
25476           Sub-class elements can now implement special buffer allocation
25477           methods for outgoing buffers if they wish to.
25478           Big documentation addition.
25479         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25480         * gst/elements/gstelements.c:
25481           Changes for basetransform modifications.
25482         * gst/elements/Makefile.am:
25483         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25484           Compile fix. Extra debug output.
25485
25486 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25487
25488         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25489         (gst_pad_suite):
25490           add tests for valid pad naming
25491         * gst/check/gstcheck.c: (gst_check_log_message_func),
25492         (gst_check_log_critical_func):
25493           add ASSERT_WARNING
25494           remove printing of code, it is fragile when the code contains
25495           % and the line number is enough info
25496         * gst/check/gstcheck.h:
25497         * gst/gstpad.c: (gst_pad_template_new):
25498           fix memleaks
25499
25500 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25501
25502         * configure.ac:
25503           say what CHECK flags we use
25504         * docs/libs/gstreamer-libs.types:
25505         * libs/gst/controller/Makefile.am:
25506         * libs/gst/controller/gst-controller.c:
25507         * libs/gst/controller/gst-controller.h:
25508         * libs/gst/controller/gst-helper.c:
25509         * libs/gst/controller/gst-interpolation.c:
25510         * libs/gst/controller/gstcontroller.c:
25511         * libs/gst/controller/gsthelper.c:
25512         * libs/gst/controller/gstinterpolation.c:
25513         * tools/gst-inspect.c: (print_plugin_info):
25514           we don't use dashes in header names
25515
25516 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25517
25518         * check/Makefile.am:
25519         * check/gst/.cvsignore:
25520         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25521         (gst_pipeline_suite), (main):
25522           adding a test for pipelines and state changes
25523         * gst/gstutils.c: (get_state_func):
25524           add some debugging
25525         * gstreamer.spec.in:
25526           fix up spec file
25527
25528 2005-09-08  Michael Smith <msmith@fluendo.com>
25529
25530         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25531         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25532         (gst_file_src_is_seekable), (gst_file_src_get_size),
25533         (gst_file_src_start):
25534         * gst/elements/gstfilesrc.h:
25535           Various fixes for unseekable, unmmapable, and non-normal files, so
25536           that fallback to read() rather than mmap() works.
25537         * gst/gstevent.c: (gst_event_new_newsegment):
25538           Allow newsegment events with segment_start == segment_end, as will
25539           correctly happen if you use filesrc on a zero-size file, for
25540           example.
25541
25542 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25543
25544         * gst/gstplugin.c: (gst_plugin_load_file):
25545           Call g_module_close when we don't load the module
25546
25547         * gst/registries/gstlibxmlregistry.c:
25548         (gst_xml_registry_get_property):
25549           Port leak fix from 0.8
25550
25551 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25552
25553         * docs/gst/gstreamer-docs.sgml:
25554         * docs/gst/tmpl/.cvsignore:
25555         * docs/gst/tmpl/gsttrace.sgml:
25556         * docs/gst/tmpl/gsttrashstack.sgml:
25557         * gst/Makefile.am:
25558         * gst/gst.h:
25559         * gst/gstelement.h:
25560         * gst/gstevent.h:
25561         * gst/gstmessage.c:
25562         * gst/gstmessage.h:
25563         * gst/gsttag.c:
25564         * gst/gsttag.h:
25565         * gst/gsttaginterface.c:
25566         * gst/gsttaginterface.h:
25567         * gst/gsttaglist.c:
25568         * gst/gsttaglist.h:
25569         * gst/gsttagsetter.c:
25570         * gst/gsttagsetter.h:
25571         * gst/gsttrace.c:
25572         * gst/gsttrace.h:
25573         * gst/gsttrashstack.c:
25574           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25575           inlined docs for gsttrace, gsttrashstack
25576
25577 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25578
25579         * gst/Makefile.am:
25580         * gst/elements/gstbufferstore.h:
25581         * gst/elements/gsttypefindelement.c:
25582         * gst/elements/gsttypefindelement.h:
25583         * gst/gst.h:
25584         * gst/gsttypefind.c:
25585         * gst/gsttypefind.h:
25586         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25587         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25588         (gst_type_find_factory_dispose),
25589         (gst_type_find_factory_unload_thyself),
25590         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25591         (gst_type_find_factory_get_caps),
25592         (gst_type_find_factory_get_extensions),
25593         (gst_type_find_factory_call_function):
25594         * gst/gsttypefindfactory.h:
25595         * gst/registries/gstlibxmlregistry.c:
25596         * gst/registries/gstxmlregistry.c:
25597           splitted gsttypefind into gsttypefind, gsttypefindfactory
25598
25599 2005-09-07  Andy Wingo  <wingo@pobox.com>
25600
25601         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25602         condition whereby the pad's task function is entered before the
25603         pad_mode variable was set.
25604
25605 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25606
25607         * gst/gstpad.c: (gst_pad_alloc_buffer):
25608           Catch misbehaving pad_alloc functions that don't
25609           set up caps and do it for them.
25610
25611 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25612
25613         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25614           test for pipe!=NULL
25615         * docs/gst/tmpl/.cvsignore:
25616         * docs/gst/tmpl/gstmemchunk.sgml:
25617         * docs/gst/tmpl/gstparse.sgml:
25618         * docs/gst/tmpl/gsttaglist.sgml:
25619         * docs/gst/tmpl/gsttagsetter.sgml:
25620         * docs/gst/tmpl/gsttypefind.sgml:
25621         * docs/gst/tmpl/gsttypefindfactory.sgml:
25622         * gst/gstmemchunk.c:
25623         * gst/gstparse.c:
25624         * gst/gsttag.c:
25625         * gst/gsttaginterface.c:
25626         * gst/gsttypefind.c:
25627         * gst/gsttypefind.h:
25628           inlined more docs
25629
25630 === release 0.9.2 ===
25631
25632 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25633
25634         * NEWS:
25635         * RELEASE:
25636         * configure.ac:
25637           releasing 0.9.2, "South"
25638
25639 2005-09-05  Andy Wingo  <wingo@pobox.com>
25640
25641         * gst/registries/gstxmlregistry.h:
25642         * gst/registries/gstxmlregistry.c: Um... resurrect...
25643         
25644         * gst/registries/gstxmlregistry.h:
25645         * gst/registries/gstxmlregistry.c: and update to newer API.
25646         Incidentally they should be a bit faster now that they don't have
25647         to parse the caps.
25648         
25649 2005-09-05  Andy Wingo  <wingo@pobox.com>
25650
25651         * gst/registries/gstxmlregistry.h:
25652         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25653         replaced by the libxml registry a while back
25654
25655 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25656
25657         * docs/gst/tmpl/gstplugin.sgml:
25658         * gst/elements/gstelements.c:
25659         * gst/gst.c:
25660         * gst/gstplugin.c: (gst_plugin_register_func),
25661         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25662         (gst_plugin_get_source):
25663         * gst/gstplugin.h:
25664         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25665         (gst_xml_registry_save_plugin):
25666         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25667         (gst_xml_registry_save_plugin):
25668         * tools/gst-inspect.c: (print_plugin_info):
25669           add a "source" plugin description field, to represent the source
25670           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25671           will set it to PACKAGE, which is automake's idea of the name of
25672           the source project.
25673
25674 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25675
25676         * Makefile.am:
25677         * autogen.sh:
25678         * configure.ac:
25679         * docs/Makefile.am:
25680         * docs/faq/Makefile.am:
25681         * docs/gst/tmpl/gstelement.sgml:
25682         * docs/gst/tmpl/gsttypes.sgml:
25683         * docs/htmlinstall.mak:
25684         * docs/manual/Makefile.am:
25685         * docs/pwg/Makefile.am:
25686           reorganize doc build a little
25687           split out docbook and gtk-doc stuff
25688           have two separate --enable's and enable them through autogen
25689           but disable by default in configure (to be similar to other
25690           projects)
25691         * gstreamer.spec.in:
25692           clean up docs install
25693         * po/af.po:
25694         * po/az.po:
25695         * po/ca.po:
25696         * po/cs.po:
25697         * po/de.po:
25698         * po/en_GB.po:
25699         * po/fr.po:
25700         * po/it.po:
25701         * po/nb.po:
25702         * po/nl.po:
25703         * po/ru.po:
25704         * po/sq.po:
25705         * po/sr.po:
25706         * po/sv.po:
25707         * po/tr.po:
25708         * po/uk.po:
25709         * po/vi.po:
25710           translation updates
25711
25712 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25713
25714         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25715           Add comment.
25716           
25717         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25718         (gst_fake_sink_change_state):
25719           Make state change function thread-safe.
25720           
25721         * gst/gstpad.c: (gst_pad_alloc_buffer):
25722           Set offset on generic buffer allocated by fallback.
25723
25724 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25725
25726         * docs/gst/gstreamer-sections.txt:
25727         * docs/gst/tmpl/gstelement.sgml:
25728         * gst/gstpad.c:
25729         * libs/gst/controller/gst-controller.c:
25730         (gst_controlled_property_set_interpolation_mode),
25731         (gst_controlled_property_new),
25732         (gst_controller_find_controlled_property):
25733          run the wingo-magic script against the docs
25734
25735 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25736
25737         * docs/gst/gstreamer-docs.sgml:
25738         * docs/gst/gstreamer-sections.txt:
25739         * docs/gst/tmpl/.cvsignore:
25740         * docs/gst/tmpl/gstelementdetails.sgml:
25741         * docs/gst/tmpl/gstelementfactory.sgml:
25742         * gst/gst.c:
25743         * gst/gstbus.c:
25744         * gst/gstelementfactory.c:
25745         * gst/gstelementfactory.h:
25746           merged elementdetails docs into elementfactory docs
25747           inlined both
25748
25749 2005-09-02  Andy Wingo  <wingo@pobox.com>
25750
25751         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25752         consider this enum an enum and not a flags.
25753
25754 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25755
25756         * docs/gst/gstreamer-docs.sgml:
25757         * docs/gst/tmpl/.cvsignore:
25758         * docs/gst/tmpl/gstghostpad.sgml:
25759         * docs/gst/tmpl/gstiterator.sgml:
25760         * docs/gst/tmpl/gstmacros.sgml:
25761         * docs/gst/tmpl/gstrealpad.sgml:
25762         * docs/gst/tmpl/gstregistry.sgml:
25763         * docs/gst/tmpl/gstregistrypool.sgml:
25764         * docs/gst/tmpl/gststructure.sgml:
25765         * docs/gst/tmpl/gstsystemclock.sgml:
25766         * docs/gst/tmpl/gsttrace.sgml:
25767         * gst/gstghostpad.c:
25768         * gst/gstmacros.h:
25769         * gst/gstmemchunk.c:
25770         * gst/gstmemchunk.h:
25771         * gst/gstqueue.c:
25772         * gst/gstregistry.c:
25773         * gst/gstregistrypool.c:
25774         * gst/gststructure.c:
25775         * gst/gstsystemclock.c:
25776           more docs inlined
25777
25778 2005-09-02  Andy Wingo  <wingo@pobox.com>
25779
25780         * gst/gstelement.h (GstState): Renamed from GstElementState,
25781         changed to be a normal enum instead of flags.
25782         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25783         munged to be GST_STATE_CHANGE_*.
25784         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25785         work with the new state representation.
25786         (GstStateChange): New enumeration of possible state transitions.
25787         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25788         (GstElementClass::change_state): Pass the GstStateChange along as
25789         an argument. Helps language bindings, so they don't have to use
25790         tricky lock-needing macros like GST_STATE_CHANGE ().
25791
25792         * scripts/update-states (file): New script. Run it on a file to
25793         update it for state naming and API changes. Updates files in
25794         place.
25795
25796         * All files updated for the new API.
25797
25798 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25799
25800         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25801         * gst/gstutils.c: (gst_util_set_value_from_string),
25802         (gst_util_set_object_arg):
25803           fix a bunch of unchecked return values
25804         * tools/gst-complete.c: (main):
25805         * gstreamer.spec.in:
25806           clean up a little
25807
25808 2005-09-01  Wim Taymans  <wim@fluendo.com>
25809
25810         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25811         (gst_base_sink_event), (gst_base_sink_do_sync),
25812         (gst_base_sink_handle_event):
25813         * gst/base/gstbasesink.h:
25814         Handle newsegments more correctly.
25815
25816         * gst/gstbus.c:
25817         Fix docs.
25818
25819         * gst/gstevent.c: (gst_event_new_newsegment):
25820         A newsegment cannot have a start_time of -1
25821
25822 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25823
25824         * win32/gstenumtypes.c:
25825         * win32/gstenumtypes.h:
25826           Update
25827
25828 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25829
25830         * libs/gst/controller/gst-controller.c:
25831         (gst_controlled_property_set_interpolation_mode),
25832         (gst_controlled_property_new):
25833          fixed boolean again
25834
25835 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25836
25837         * docs/faq/gst-uninstalled:
25838           add -good
25839         * gst/gstevent.c:
25840         * gst/gstevent.h:
25841           remove wrong docs
25842         * gst/gstutils.c: (gst_element_link_filtered):
25843         * gst/gstutils.h:
25844           add gst_element_link_filtered
25845
25846 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25847
25848         * docs/gst/gstreamer-docs.sgml:
25849         * docs/gst/gstreamer-sections.txt:
25850         * docs/gst/tmpl/.cvsignore:
25851         * docs/gst/tmpl/gsterror.sgml:
25852         * docs/gst/tmpl/gstfilter.sgml:
25853         * docs/gst/tmpl/gsturihandler.sgml:
25854         * docs/gst/tmpl/gsturitype.sgml:
25855         * docs/gst/tmpl/gstutils.sgml:
25856         * docs/gst/tmpl/gstxml.sgml:
25857         * gst/gsterror.c:
25858         * gst/gsterror.h:
25859         * gst/gstfilter.c:
25860         * gst/gsturi.c:
25861         * gst/gsturitype.c:
25862         * gst/gstutils.c:
25863         * gst/gstxml.c:
25864           inlined more docs, fixed double id-ref
25865
25866 2005-08-31  Wim Taymans  <wim@fluendo.com>
25867
25868         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25869         (gst_base_transform_handle_buffer):
25870         Passthrough elements don't need the caps as they don't care.
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), (gst_base_transform_chain):
25876         Don't leak refcounts on buffers.
25877
25878 2005-08-31  Wim Taymans  <wim@fluendo.com>
25879
25880         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25881         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25882         (gst_base_transform_chain), (gst_base_transform_change_state):
25883         * gst/base/gstbasetransform.h:
25884         Handle the case where we are not negotiated more gracefully.
25885
25886 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
25887
25888         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25889         (gst_file_src_map_region):
25890           Set READONLY flag on mmap'ed buffers, otherwise
25891           gst_buffer_make_writable() won't work properly (#314708).
25892
25893 2005-08-31  Wim Taymans  <wim@fluendo.com>
25894
25895         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25896         passthrough elements can even do inplace on non writable
25897         buffers (as they don't touch them).
25898
25899 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25900
25901         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25902         (gst_test_mono_source_set_property),
25903         (gst_test_mono_source_class_init), (GST_START_TEST),
25904         (gst_controller_suite):
25905           more tests (hehe I have the most)
25906         * gst/gstbus.c:
25907           describe popping messages whenusing mulltiple sources
25908         * libs/gst/controller/gst-controller.c:
25909         (gst_controlled_property_set_interpolation_mode),
25910         (gst_controlled_property_new):
25911         * libs/gst/controller/gst-controller.h:
25912         * libs/gst/controller/gst-interpolation.c:
25913           implement boolean properties
25914
25915 2005-08-31  Wim Taymans  <wim@fluendo.com>
25916
25917         * gst/gstminiobject.c: (gst_mini_object_ref):
25918         Cannot assert that the refcount has to be positive
25919         since a disposed object can be resurrected.
25920
25921 2005-08-31  Wim Taymans  <wim@fluendo.com>
25922
25923         * gst/gstpad.c: (gst_pad_init):
25924         Revert change, need to first fix badly behaving 
25925         apps.
25926
25927 2005-08-30  Wim Taymans  <wim@fluendo.com>
25928
25929         * check/elements/fakesrc.c: (setup_fakesrc):
25930         * check/elements/identity.c: (setup_identity):
25931         Activate pads before using them.
25932
25933 2005-08-30  Wim Taymans  <wim@fluendo.com>
25934
25935         * gst/base/gstadapter.c: (gst_adapter_flush):
25936         Flushing out 0 bytes is ok for this function.
25937
25938         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25939         no newsegment gives a warning and sets the start/stop to 
25940         invalid.
25941
25942         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25943         (gst_base_transform_set_passthrough):
25944         Some debug info.
25945
25946         * gst/gstminiobject.c: (gst_mini_object_ref):
25947         Check refcount here too.
25948
25949         * gst/gstpad.c: (gst_pad_init):
25950         Pads are initially flushing and refusing data.
25951
25952         * gst/gstutils.c: (gst_element_link_pads_filtered):
25953         When adding a capsfilter element make sure it has the
25954         same state as the parent bin.
25955
25956 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25957
25958         * docs/gst/tmpl/.cvsignore:
25959         * docs/gst/tmpl/gstformat.sgml:
25960         * docs/gst/tmpl/gstversion.sgml:
25961         * gst/gstbus.h:
25962         * gst/gstformat.c:
25963         * gst/gstformat.h:
25964         * gst/gstversion.h.in:
25965           more docs and two more inlined
25966
25967 2005-08-30  Wim Taymans  <wim@fluendo.com>
25968
25969         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25970         Don't sync to clock.
25971
25972 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25973
25974         * docs/gst/gstreamer-sections.txt:
25975           ultral33t func10ns deserve to appear in the docs actually
25976         * docs/gst/tmpl/.cvsignore:
25977         * docs/gst/tmpl/gstcompat.sgml:
25978         * docs/gst/tmpl/gstconfig.sgml:
25979         * gst/check/gstcheck.c:
25980         * gst/gstcompat.h:
25981         * gst/gstconfig.h.in:
25982           inlined more docs
25983
25984 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25985
25986         * docs/gst/tmpl/.cvsignore:
25987         * docs/gst/tmpl/gstquery.sgml:
25988         * docs/gst/tmpl/gstutils.sgml:
25989         * gst/gstquery.c:
25990         * gst/gstquery.h:
25991           inlined and extended docs
25992
25993 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
25994
25995         * check/gst-libs/controller.c: (GST_START_TEST),
25996         (gst_controller_suite):
25997           more tests
25998         * docs/gst/tmpl/gstutils.sgml:
25999         * docs/libs/gstreamer-libs-sections.txt:
26000         * docs/libs/tmpl/gstdataprotocol.sgml:
26001           include path fixes
26002         * examples/controller/audio-example.c: (main):
26003           controller example works now
26004         * gst/gstclock.h:
26005           doc fixes
26006         * tools/gst-inspect.c: (print_element_properties_info):
26007           show param spec flags
26008
26009 2005-08-29  Andy Wingo  <wingo@pobox.com>
26010
26011         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26012
26013 2005-08-28  Andy Wingo  <wingo@pobox.com>
26014
26015         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26016         as having two arguments instead of just one. Allows superclasses
26017         to access information on subclasses -- see the terrible for() loop
26018         in gtype.c:g_type_create_instance for the reason why. All callers
26019         changed.
26020
26021 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26022
26023         * docs/design/part-messages.txt:
26024           update info
26025         * docs/gst/tmpl/.cvsignore:
26026         * docs/gst/tmpl/gstcaps.sgml:
26027         * docs/gst/tmpl/gstclock.sgml:
26028         * gst/gstbus.c:
26029         * gst/gstcaps.c:
26030         * gst/gstcaps.h:
26031         * gst/gstclock.c:
26032         * gst/gstclock.h:
26033         * gst/gstmessage.c:
26034           added descriptions for bus and message
26035           inline caps and clock docs
26036
26037 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26038
26039         * gst/gstmessage.c:
26040         * gst/gstmessage.h:
26041           doc fixes
26042
26043 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26044
26045         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26046           fix div-by-zero
26047
26048 2005-08-26  Andy Wingo  <wingo@pobox.com>
26049
26050         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26051         element_set_state's return val.
26052         (test_2_elements): Add test that's been disabled for months.
26053
26054         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26055         can-activate-pull properties.
26056
26057         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26058         can-activate-pull properties. Implement is_seekable so fakesrc can
26059         operate in pull mode.
26060
26061         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26062         properties.
26063         (gst_base_sink_activate, gst_base_sink_activate_pull)
26064         (gst_base_sink_activate_push): Make activation mode choosing work.
26065         Cleanups.
26066         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26067         is right. Make pull mode work. Post an eos before pausing in pull
26068         mode.
26069         (gst_base_sink_change_state): Pay attention to the core's
26070         change_state() return val.
26071         
26072         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26073         has-getrange properties. Cleanups.
26074         
26075         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26076         has_getrange and replace with can_activate_pull and
26077         can_activate_push.
26078
26079         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26080         locking comments. Remove has_loop, has_chain and replace with
26081         can_activate_pull and can_activate_push.
26082
26083 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26084
26085         * configure.ac:
26086         * examples/Makefile.am:
26087         * examples/metadata/Makefile.am:
26088         * examples/metadata/read-metadata.c: (message_loop),
26089         (have_pad_handler), (make_pipeline), (print_tag), (main):
26090           Add metadata reading example that loops over a list of filenames,
26091           dumping any tags found.
26092
26093         * gst/gstbus.c: (gst_bus_dispose):
26094         * gst/gstelement.c: (gst_element_dispose):
26095           Release a few potentially-held references in dispose.
26096
26097 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26098
26099         * docs/gst/tmpl/gstminiobject.sgml:
26100           do *not* add tmpl/*.sgml files to CVS!
26101
26102 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26103
26104         * libs/gst/bytestream/.cvsignore:
26105         * libs/gst/bytestream/Makefile.am:
26106         * libs/gst/bytestream/adapter.c:
26107         * libs/gst/bytestream/adapter.h:
26108         * libs/gst/bytestream/bytestream.c:
26109         * libs/gst/bytestream/bytestream.h:
26110         * libs/gst/bytestream/filepad.c:
26111         * libs/gst/bytestream/filepad.h:
26112           removing obsolete files
26113
26114 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26115
26116         * docs/gst/gstreamer-docs.sgml:
26117         * docs/libs/gstreamer-libs-docs.sgml:
26118           disabed additional index entries again, as this makes docs-gen just
26119           slow and they aren't useful yet
26120         * docs/libs/gstreamer-libs-sections.txt:
26121           little -section.txt cleanup for libs
26122
26123 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26124
26125         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26126         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26127           fix up some debugging
26128         (gst_base_transform_get_unit_size),
26129         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26130         (gst_base_transform_handle_buffer):
26131         * gst/base/gstbasetransform.h:
26132           handle and store timed NEWSEGMENT events so that subclasses that
26133           calculate time by counting samples have a segment_start time they
26134           need to add to their timestamps - see audioresample
26135
26136 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26137
26138         * gst/gstbin.h:
26139           removed ';' from the end of macro defs
26140         * docs/gst/gstreamer-docs.sgml:
26141         * docs/gst/gstreamer-sections.txt:
26142         * docs/gst/tmpl/.cvsignore:
26143         * gst/gstbus.h:
26144         * gst/gstelement.c: (gst_element_class_init),
26145         (gst_element_set_state), (activate_pads),
26146         (gst_element_save_thyself):
26147         * gst/gstevent.c: (gst_event_new_newsegment):
26148         * gst/gstevent.h:
26149         * gst/gstiterator.c:
26150         * gst/gstiterator.h:
26151         * gst/gstpad.c:
26152         * gst/gstprobe.h:
26153         * gst/gstutils.c: (gst_pad_query_convert):
26154         * gst/gstutils.h:
26155           fixed parameter name mismatches between source, header and docs
26156           added some more docs, resolved the last batch of unused elements in
26157           docs (now someone needs to doc them)
26158
26159 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26160
26161         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26162         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26163           don't walk through the plugins backwards.  Where is all this
26164           reversed logic coming from ?
26165
26166 2005-08-25  Wim Taymans  <wim@fluendo.com>
26167
26168         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26169         (gst_base_transform_transform_size),
26170         (gst_base_transform_configure_caps),
26171         (gst_base_transform_get_unit_size),
26172         (gst_base_transform_buffer_alloc),
26173         (gst_base_transform_change_state):
26174         * gst/base/gstbasetransform.h:
26175         Cache caps unit_size.
26176         Make sure we cannot negotiate up and downstream at the
26177         same time.
26178
26179 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26180
26181         * gst/gst.c: (init_pre), (init_post):
26182           register the installed plugin path after the env var
26183         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26184         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26185           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26186           directories, so the tests can prefer uninstalled over installed
26187
26188 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26189
26190         * gst/base/gstbasetransform.h:
26191           comment
26192         * gst/gstpad.c:
26193           add to docs
26194
26195 2005-08-25  Wim Taymans  <wim@fluendo.com>
26196
26197         * gst/gstbin.c: (bin_bus_handler):
26198         Be a bit more conservative about the posted message.
26199         
26200         * gst/gstbus.c: (gst_bus_post):
26201         Some cleanups, warn wrong return values.
26202
26203 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26204
26205         * check/gst/gstbin.c: (GST_START_TEST):
26206         * gst/gstbin.c: (bin_bus_handler):
26207         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26208         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26209         (gst_message_new_warning), (gst_message_new_tag),
26210         (gst_message_new_state_changed), (gst_message_new_segment_start),
26211         (gst_message_new_segment_done), (gst_message_new_custom):
26212         * gst/gstmessage.h:
26213         * tools/gst-launch.c: (event_loop):
26214         * tools/gst-md5sum.c: (event_loop):
26215           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26216
26217 2005-08-25  Wim Taymans  <wim@fluendo.com>
26218
26219         * check/generic/states.c: (GST_START_TEST):
26220         Cleanup can be done at the end.
26221
26222         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26223         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26224         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26225         Oh boy.. Thanks for finding this, Thomas. 
26226
26227 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26228
26229         * docs/gst/gstreamer.types:
26230           added missing types
26231
26232 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26233
26234         * docs/gst/gstreamer-docs.sgml:
26235         * docs/gst/gstreamer-sections.txt:
26236         * docs/gst/tmpl/.cvsignore:
26237         * gst/gstbin.c:
26238         * gst/gstiterator.c:
26239         * gst/gstutils.c:
26240         * gst/registries/gstxmlregistry.h:
26241           added missing classes and symbols (123 more to go)
26242           removed removed symbols from section file
26243           fixed many doc-comments
26244
26245 2005-08-24  Wim Taymans  <wim@fluendo.com>
26246
26247         * check/generic/states.c: (GST_START_TEST):
26248         Make sure all tasks are stopped.
26249
26250         * check/gst/gstbin.c: (GST_START_TEST):
26251         Unref after usage for proper valgrinding.
26252
26253         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26254         Really wait for the task to stop before destroying the
26255         mutex.
26256
26257         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26258         (gst_queue_src_activate_push):
26259         Small cleanups. Don't stop the task when we did not start
26260         it.
26261
26262         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26263         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26264         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26265         (gst_task_join):
26266         * gst/gsttask.h:
26267         Protect the stream lock with the object lock.
26268         Disallow setting the stream lock when running.
26269         Add cleanup_all to wait for the threadpool to finish.
26270         Remove code to autoallocate a mutex if none was provided.
26271         Add _join() to wait for a task to stop.
26272         Protect the thread pool with a global lock.
26273
26274 2005-08-24  Wim Taymans  <wim@fluendo.com>
26275
26276         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26277         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26278         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26279         * gst/base/gstbasesink.h:
26280         Handle newsegment events correctly.
26281         Drop buffers out of the segment range.
26282
26283 2005-08-22  Andy Wingo  <wingo@pobox.com>
26284
26285         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26286         macro, implements an interface and gstimplementsinterface for a
26287         new type.
26288
26289 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26290
26291         * check/Makefile.am:
26292         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26293           add a test that does a bunch of state changes on elements
26294           needs some fixing for valgrind
26295         * check/states/sinks.c: (gst_object_suite):
26296           whitespace
26297         * gst/gstcaps.h:
26298           add prototype for gst_caps_is_equal_fixed
26299         * gst/gstplugin.c:
26300         * gst/gstregistrypool.c:
26301           doc fixes
26302
26303 2005-08-24  Andy Wingo  <wingo@pobox.com>
26304
26305         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26306         convert a negative value. Doesn't make much sense. Mostly this is
26307         here to force callers to ensure -1 maps to -1.
26308
26309 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26310
26311         * docs/pwg/advanced-types.xml:
26312           Well done to Michael for catching my deliberate introduction
26313           of this spelling mistake. 
26314         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26315         * gst/gstelement.h:
26316           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26317           unlink pads before removing the element from the bin.
26318
26319 2005-08-24  Andy Wingo  <wingo@pobox.com>
26320
26321         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26322         the same thing as GST_DEBUG=*:4.
26323         (parse_debug_level, parse_debug_category): New helper parsers.
26324
26325 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26326
26327         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26328         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26329         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26330         (gst_base_transform_buffer_alloc),
26331         (gst_base_transform_handle_buffer):
26332           use gboolean return values and pointers to size so we can use the
26333           full GST_BUFFER_SIZE range (guint) for buffer sizes
26334           use GstPadDirection for transform_caps
26335         * gst/base/gstbasetransform.h:
26336           rename get_size to get_unit_size since that's what it is
26337         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26338           use GstPadDirection for transform_caps
26339         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26340         * gst/gstutils.h:
26341           cleanup and debugging
26342
26343 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26344
26345         * gst/gstelement.c: (gst_element_class_init),
26346         (gst_element_set_state), (activate_pads),
26347         (gst_element_save_thyself):
26348         * tools/gst-compprep.c: (main):
26349         * tools/gst-inspect.c: (print_element_properties_info):
26350         * tools/gst-xmlinspect.c: (print_element_properties):
26351           Fixed long standing mem-leak
26352
26353 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26354
26355         * check/gst/gstbin.c: (GST_START_TEST):
26356         * gst/gstbin.c: (bin_bus_handler):
26357         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26358         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26359         (gst_message_new_warning), (gst_message_new_tag),
26360         (gst_message_new_state_changed), (gst_message_new_segment_start),
26361         (gst_message_new_segment_done), (gst_message_new_custom):
26362         * gst/gstmessage.h:
26363         * tools/gst-launch.c: (event_loop):
26364         * tools/gst-md5sum.c: (event_loop):
26365           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26366           that applications can sensibly post custom messages with references
26367           to their own objects.
26368
26369 2005-08-24  Andy Wingo  <wingo@pobox.com>
26370
26371         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26372         already.
26373
26374 2005-08-24  Wim Taymans  <wim@fluendo.com>
26375
26376         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26377         (gst_base_transform_transform_caps),
26378         (gst_base_transform_transform_size),
26379         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26380         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26381         (gst_base_transform_handle_buffer):
26382         * gst/base/gstbasetransform.h:
26383         Many fixes and new features added by Thomas. Can now also do
26384         transforms with variable sizes and a custom fixate_caps function.
26385
26386 2005-08-24  Wim Taymans  <wim@fluendo.com>
26387
26388         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26389         Some debugging.
26390
26391         * gst/gstclock.h:
26392         Cast to ClockTime before formatting to time.
26393
26394         * gst/gstutils.h:
26395         Cleanups.
26396
26397 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26398
26399         * check/gst-libs/controller.c: (GST_START_TEST),
26400         (gst_controller_suite):
26401         * docs/gst/tmpl/gstcaps.sgml:
26402         * docs/gst/tmpl/gstghostpad.sgml:
26403         * docs/gst/tmpl/gstquery.sgml:
26404         * docs/gst/tmpl/gstutils.sgml:
26405         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26406         (gst_object_sink_values), (gst_object_get_value_arrays),
26407         (gst_object_get_value_array):
26408           gracefully handle helper method calls to objects that are not beeing
26409           controlled, added test case for that          
26410
26411 2005-08-23  Wim Taymans  <wim@fluendo.com>
26412
26413         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26414         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26415         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26416         (gst_event_parse_qos), (gst_event_new_seek),
26417         (gst_event_parse_seek):
26418         * gst/gstevent.h:
26419         Some more debugging output and doc cleanups.
26420
26421         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26422         Fix possible deadlock.
26423
26424 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26425
26426         * docs/gst/gstreamer-docs.sgml:
26427         * docs/gst/gstreamer-sections.txt:
26428         * docs/gst/gstreamer.types:
26429         * docs/gst/tmpl/.cvsignore:
26430         * gst/gstbin.h:
26431         * gst/gstbus.c:
26432         * gst/gstelement.c:
26433         * gst/gstevent.h:
26434           added 100 symbols from gstreamer-unused.txt to the right sections
26435           fixed more broken comments
26436           added GstBus to docs
26437
26438 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26439
26440         * docs/gst/gstreamer-sections.txt:
26441         * docs/gst/tmpl/.cvsignore:
26442         * docs/gst/tmpl/gstbin.sgml:
26443         * docs/gst/tmpl/gstbuffer.sgml:
26444         * gst/base/gstbasesrc.c:
26445         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26446         * gst/gstbuffer.c:
26447         * gst/gstbuffer.h:
26448         * tools/gst-launch.1.in:
26449           inlined more doc comments, added missing comments and fixed comments
26450           fixed typos
26451
26452 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26453
26454         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26455           some debugging
26456         * gst/gstcaps.h:
26457           whitespace fixes
26458         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26459           more debugging
26460         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26461         * gst/gststructure.h:
26462           add a fixate function for booleans; add a FIXME that these func
26463           names should probably be gst_structure_fixate_*
26464
26465 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26466
26467         * docs/gst/gstreamer-docs.sgml:
26468         * docs/gst/gstreamer-sections.txt:
26469         * gst/Makefile.am:
26470         * gst/gstbin.c: (gst_bin_get_type),
26471         (gst_bin_child_proxy_get_child_by_index),
26472         (gst_bin_child_proxy_get_children_count),
26473         (gst_bin_child_proxy_init):
26474         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26475         (gst_child_proxy_get_child_by_index),
26476         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26477         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26478         (gst_child_proxy_get), (gst_child_proxy_set_property),
26479         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26480         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26481         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26482         * gst/gstchildproxy.h:
26483         * gst/parse/grammar.y:
26484         * tools/gst-inspect.c: (print_interfaces),
26485         (print_element_properties_info), (print_element_info):
26486           ported gstchildproxy over from 0.8
26487           ported gst-inspect fixes and enhancements over from 0.8
26488
26489 2005-08-22  Wim Taymans  <wim@fluendo.com>
26490
26491         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26492         (gst_base_transform_handle_buffer):
26493         Also call the transform function if we have ANY caps.
26494
26495         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26496         Fix debug info.
26497
26498 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26499
26500         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26501           Don't pretend to handle seek events if the source is not seekable
26502
26503 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26504
26505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26506           Remove extra parameter to debug output
26507
26508         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26509         (gst_base_src_do_seek), (gst_base_src_activate_push):
26510           Fix seek event handling.
26511
26512         * gst/gstpipeline.c: (gst_pipeline_change_state):
26513         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26514         (gst_queue_src_activate_push):
26515           Don't start the src pad task on FLUSH_STOP if the pad
26516           isn't linked.
26517           Debug changes.
26518
26519 2005-08-22  Wim Taymans  <wim@fluendo.com>
26520
26521         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26522         Added check for gst_static_caps_get() refcounting.
26523
26524 2005-08-22  Wim Taymans  <wim@fluendo.com>
26525
26526         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26527         Make _static_caps_get() refcounting sane.
26528         
26529         * gst/gstelement.c: (gst_element_set_state):
26530         Add g_return_val_if_fail() to protect against segfaults.
26531
26532 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26533
26534         * docs/gst/tmpl/gstevent.sgml:
26535         * gst/gstevent.c:
26536         * gst/gstevent.h:
26537           inlined remaining docs, added missing doc comments
26538
26539 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26540
26541         * check/gst/gstbin.c: (GST_START_TEST):
26542           since we don't know when preroll is done, use refcount range
26543           check for the sink
26544         * gst/check/gstcheck.h:
26545           add macro for checking refcount range
26546
26547 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26548
26549         * check/Makefile.am:
26550           clean up environment for when registry gets built versus
26551           when actual tests are run; valgrind seems to not report
26552           leaks if GST_PLUGIN_PATH is set to some specific values
26553         * check/gst/gstbin.c: (GST_START_TEST):
26554           add more refcounting checks; maybe this exposes a
26555           preroll lock bug ?
26556         * common/check.mak:
26557         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26558         * gst/check/gstcheck.h:
26559         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26560         (gst_bin_change_state):
26561         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26562           add/fix debugging/whitespace
26563
26564 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26565
26566         * check/gst/gstevent.c: (event_probe), (test_event),
26567         (GST_START_TEST):
26568          Er, don't call gst_bin_watch_for_state_change you idiot.
26569
26570 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26571
26572         * check/Makefile.am:
26573           Use CHECK_CFLAGS and CHECK_LIBS
26574         * check/gst/gstevent.c: (event_probe), (test_event),
26575         (GST_START_TEST):
26576           Don't leak events.
26577         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26578         (gst_base_src_start), (gst_base_src_stop),
26579         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26580         (gst_base_src_change_state):
26581           Sprinkle gst_base_src_stop liberally around error paths to fix
26582           problems reusing a source after failed state changes.
26583         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26584         (helper_find_suggest), (gst_type_find_helper):
26585           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26586         * gst/gstevent.h:
26587         * docs/gst/tmpl/gstevent.sgml:
26588           Migrate part of the docs from the SGML file. Wait for ensonic to
26589           tell me how I did it wrong ;)
26590         * tools/gst-typefind.c: (main):
26591           Extra robustness to state changes between files.
26592
26593 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26594
26595         * check/Makefile.am:
26596           don't valgrind the controller test - it's leaking - Stefan, HELP
26597         * gst/check/gstcheck.c: (gst_check_message_error),
26598         (gst_check_chain_func), (gst_check_setup_element),
26599         (gst_check_teardown_element), (gst_check_setup_src_pad),
26600         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26601         (gst_check_teardown_sink_pad):
26602         * gst/check/gstcheck.h:
26603           add a bunch of methods to set up elements, and src and sink pads
26604         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26605         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26606         (GST_START_TEST):
26607           use them
26608         * gst/gstmessage.c:
26609         * gst/gsttag.h:
26610           whitespace/doc fixes
26611
26612 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26613
26614         * gst/gstelement.h:
26615           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26616           be handled by the application and not always printed as well
26617
26618 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26619
26620         * check/Makefile.am:
26621           set GST_TOOLS_DIR
26622         * gst/check/gstcheck.c: (gst_check_message_error):
26623         * gst/check/gstcheck.h:
26624           add a fail_unless_equals_int
26625           add fail_unless for error messages
26626
26627 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26628
26629         * check/Makefile.am:
26630         * check/gst.supp:
26631         * common/Makefile.am:
26632         * common/check.mak:
26633         * common/gst.supp:
26634           factor out some of the common stuff so we can use it
26635
26636 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26637
26638         * check/Makefile.am:
26639         * check/gst/gstiterator.c: (GST_START_TEST):
26640         * check/gst/gstsystemclock.c: (GST_START_TEST),
26641         (gst_systemclock_suite):
26642         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26643         * gst/gstclock.c:
26644           valgrind more tests
26645
26646 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26647
26648         * check/elements/.cvsignore:
26649         * check/elements/gstfakesrc.c:
26650           rename to name of element
26651         * check/elements/identity.c: (chain_func), (event_func),
26652         (setup_identity), (cleanup_identity), (GST_START_TEST),
26653         (identity_suite), (main):
26654           add a test for identity
26655         * check/Makefile.am:
26656         * pkgconfig/Makefile.am:
26657         * pkgconfig/gstreamer-check.pc.in:
26658         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26659         * gst/check:
26660         * gst/Makefile.am:
26661         * configure.ac:
26662           move the check stuff to a library that gets installed
26663         * check/gst-libs/controller.c: (GST_START_TEST):
26664         * check/gst-libs/gdp.c:
26665         * check/gst/gst.c: (GST_START_TEST):
26666         * check/gst/gstbin.c:
26667         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26668         * check/gst/gstbus.c:
26669         * check/gst/gstcaps.c: (GST_START_TEST):
26670         * check/gst/gstelement.c:
26671         * check/gst/gstghostpad.c:
26672         * check/gst/gstiterator.c:
26673         * check/gst/gstmessage.c:
26674         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26675         * check/gst/gstobject.c:
26676         * check/gst/gstpad.c: (GST_START_TEST):
26677         * check/gst/gststructure.c: (GST_START_TEST):
26678         * check/gst/gstsystemclock.c: (GST_START_TEST),
26679         (gst_systemclock_suite):
26680         * check/gst/gsttag.c: (gst_tag_suite):
26681         * check/gst/gstvalue.c:
26682         * check/pipelines/cleanup.c:
26683         * check/pipelines/simple_launch_lines.c:
26684         * check/states/sinks.c:
26685           change include statement
26686
26687         * docs/gst/gstreamer-sections.txt:
26688         * docs/gst/tmpl/gstpad.sgml:
26689           document more pad stuff
26690         * gst/gstminiobject.c: (gst_mini_object_ref),
26691         (gst_mini_object_unref):
26692           debug refcounting
26693
26694 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26695
26696         * docs/gst/tmpl/gst.sgml:
26697         * gst/gst.c:
26698           eliminate another tmpl file, fix spelling in the long-description
26699
26700 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26701
26702         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26703         (test_event), (timediff), (gstevents_suite):
26704           Should fix build on 64-bit arch's
26705
26706 2005-08-18  Andy Wingo  <wingo@pobox.com>
26707
26708         Make sure that when a pipeline goes to PLAYING, that data has
26709         actually hit the sink.
26710
26711         * check/states/sinks.c (test_sink): A sink that doesn't get any
26712         data shouldn't return SUCCESS for going to either PLAYING or
26713         PAUSED. Test also the return values on the way back down.
26714
26715         * gst/gstelement.c (gst_element_set_state): When changing the
26716         state of an element currently changing state asynchronously, go to
26717         lost-state after commiting the pending state. Makes future calls
26718         to get_state continue to return ASYNC.
26719
26720         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26721         ASYNC when going to PLAYING if we still don't have preroll, as can
26722         happen with live sources.
26723
26724 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26725
26726         * docs/pwg/advanced-types.xml:
26727           Hack long paragraph into 2 chunks as a workaround for buggy
26728           jadetex version in sid and breezy that loops infinitely and
26729           eats all RAM.
26730
26731 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26732
26733         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26734         (test_event), (timediff), (gstevents_suite):
26735           Provide more error margin in clock measurements to allow for 
26736           g_get_current_time inaccuracies.
26737
26738 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26739
26740         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26741         (test_event), (timediff), (gstevents_suite):
26742            Fix error message output so I might be able to tell why the
26743            test works here but fails on the build farm.
26744
26745 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26746
26747         * check/Makefile.am:
26748         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26749         (test_event), (timediff), (gstevents_suite), (main):
26750           I wrote a test!
26751
26752         * docs/design/part-seeking.txt:
26753           Spelling correction
26754
26755         * docs/gst/tmpl/gstevent.sgml:
26756         * docs/gst/tmpl/gstfakesrc.sgml:
26757           Docs updates.
26758
26759         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26760           Treat a buffer-without-newsegment the same as a receiving 
26761           a newsegment not in time format, and disable syncing to the clock
26762           with a warning.
26763
26764         * gst/gstbus.c: (gst_bus_set_sync_handler):
26765           Assert if anyone tries to replace the existing sync_handler for bus, 
26766           as only the owner should be setting it.
26767
26768         * gst/gstevent.h:
26769           Have a fixed set of custom event enums with events identified by
26770           their structure name (as in 0.8), rather than a free-for-all
26771           allowing collisions between enum values from different plugins.
26772
26773         * gst/gstpad.c: (gst_pad_class_init):
26774           Docs change.
26775           
26776         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26777           Handle out-of-band downstream events from the sending thread.
26778
26779 2005-08-17  Andy Wingo  <wingo@pobox.com>
26780
26781         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26782         play-timeout==0 to mean no timeout at all. In that case, don't
26783         bother with a get_state or a warning, just return directly, even
26784         if it's ASYNC.
26785
26786         * gst/base/gstbasetransform.c: Debug changes.
26787
26788         * gst/gstutils.h:
26789         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26790         ensure bins post state change messages. A bit of a hack but I can't
26791         think of a way to avoid it.
26792
26793         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26794
26795 2005-08-16  Andy Wingo  <wingo@pobox.com>
26796
26797         * gst/base/gstadapter.h:
26798         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26799         peek() but you own the data. Not terribly efficient atm.
26800
26801 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26802
26803         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26804         (gst_element_found_tags):
26805         * gst/gstutils.h:
26806           Add two utility functions for tag handling.
26807
26808 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26809
26810         * docs/manual/advanced-dataaccess.xml:
26811         * docs/manual/basics-helloworld.xml:
26812           Fix docs to use _bin_add() before _link(), which fixes the examples
26813           with recent core versions (reported by Madhan Raj M
26814           <raj_madan@rediffmail.com>, #313199).
26815
26816 2005-08-16  Wim Taymans  <wim@fluendo.com>
26817
26818         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26819         Added subtract checks.
26820
26821         * docs/design/part-events.txt:
26822         Some more docs about newsegment
26823
26824         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26825         Fix FIXME
26826
26827         * gst/gstcaps.c: (gst_caps_to_string):
26828         Add comments, cleanups.
26829         
26830         * gst/gstelement.c: (gst_element_save_thyself):
26831         cleanups
26832         
26833         * gst/gstvalue.c: (gst_value_collect_int_range),
26834         (gst_string_unwrap), (gst_value_union_int_int_range),
26835         (gst_value_union_int_range_int_range),
26836         (gst_value_intersect_int_int_range),
26837         (gst_value_intersect_int_range_int_range),
26838         (gst_value_intersect_double_double_range),
26839         (gst_value_intersect_double_range_double_range),
26840         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26841         (gst_value_subtract_int_range_int),
26842         (gst_value_subtract_double_range_double),
26843         (gst_value_subtract_double_range_double_range),
26844         (gst_value_subtract_from_list), (gst_value_subtract_list),
26845         (gst_value_can_compare), (gst_value_compare_fraction):
26846         Cleanups, add comments, remove unneeded asserts.
26847
26848 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26849
26850         * tools/gst-launch.c: (event_loop):
26851           don't convert NULL structures to strings
26852
26853 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26854
26855         * docs/gst/gstreamer-sections.txt:
26856           made some defines private
26857         * docs/gst/tmpl/gstconfig.sgml:
26858         * docs/gst/tmpl/gstqueue.sgml:
26859         * docs/gst/tmpl/gsttaglist.sgml:
26860         * docs/gst/tmpl/gsttypes.sgml:
26861         * docs/gst/tmpl/gstutils.sgml:
26862         * docs/pwg/appendix-porting.xml:
26863         * gst/base/gstbasesink.h:
26864         * gst/base/gstbasesrc.c:
26865         * gst/base/gstbasesrc.h:
26866         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26867         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26868         * gst/gstelement.c: (gst_element_class_init):
26869         * gst/gstpad.c: (gst_pad_class_init):
26870         * gst/gstqueue.c: (gst_queue_class_init):
26871         * gst/gstxml.c: (gst_xml_class_init):
26872           documented all undocumented signal inline
26873         * libs/gst/controller/gst-controller.h:
26874           added padding
26875
26876 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26877
26878         * docs/pwg/appendix-porting.xml:
26879           Document _set_link_function -> _set_setcaps_function.
26880
26881 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26882
26883         * check/Makefile.am:
26884           add a .check target for running the check
26885         * check/gst-libs/controller.c: (GST_START_TEST):
26886           cosmetic fixups
26887         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26888           complete checks for gstbuffer; would be nice if I could get the
26889           gcov stuff to work so I can see if I actually completed gstbuffer.c
26890         * check/gstcheck.h:
26891           add ASSERT_BUFFER_REFCOUNT
26892
26893 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
26894
26895         * docs/gst/gstreamer-sections.txt:
26896         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26897         * gst/gsttag.h:
26898           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26899           spew out a warning if a tag that is already registered
26900           is re-registered, unless it is re-registered with a 
26901           different type (#308438).
26902
26903 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
26904
26905         * docs/pwg/appendix-porting.xml:
26906         * docs/pwg/building-state.xml:
26907           Add some paragraphs about state changes in 0.9 to the PWG
26908           and the porting guide, in particular about the new meaning
26909           of GST_STATE_PAUSED and how to write state change functions
26910           with concurrent access by multiple threads in mind.
26911
26912 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
26913
26914         * docs/gst/gstreamer-docs.sgml:
26915         * docs/libs/gstreamer-libs-docs.sgml:
26916           added deprecation and since indexes
26917         * libs/gst/controller/gst-controller.c:
26918         * libs/gst/controller/gst-helper.c:
26919           added since tags
26920
26921
26922 2005-08-11  Wim Taymans  <wim@fluendo.com>
26923
26924         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26925         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26926         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26927         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26928         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26929         (gst_ghost_pad_set_target):
26930         Actually implement (re)setting the target on a ghostpad
26931         as described in the docs.
26932
26933 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26934
26935         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26936           Check whether GST_DEBUG_NO_COLOR environment variable is
26937           set and disable coloured debug output if that is the case.
26938
26939 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
26940
26941         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26942         (gst_type_find_helper):
26943           The memory returned by gst_type_find_peek() needs to
26944           stay valid until the end of a typefind function, and
26945           typefind functions may keep results from different 
26946           offsets around, so we can't just unref the buffer from
26947           the previous _peek(), but have to save all buffers 
26948           returned by _peek() until typefinding is done and only
26949           free them then.
26950
26951 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
26952
26953         * docs/gst/gstreamer-sections.txt:
26954         * gst/gstutils.h:
26955           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26956
26957 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26958
26959         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26960           Fix a pretty good memleak.
26961
26962 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26963
26964         * gst/gstiterator.h:
26965           Fix wrong include and 'make distcheck'.
26966
26967 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26968
26969         * gst/gstbin.c: (bin_bus_handler):
26970           Use gst_element_post_message() instead.
26971
26972 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
26973
26974         * gst/base/gstadapter.h:
26975         * gst/base/gstbasesink.h:
26976         * gst/base/gstbasesrc.h:
26977         * gst/base/gstbasetransform.h:
26978         * gst/base/gstcollectpads.h:
26979         * gst/base/gstpushsrc.h:
26980         * gst/gstiterator.h:
26981           Add padding to our base elements' class and instance structs and
26982           to GstIterator (you will need to rebuild all plugins and apps!)
26983
26984 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26985
26986         * gst/gstbin.c: (bin_bus_handler):
26987           Make default message forwarding from child->bus to bin->bus
26988           threadsafe and make it not emit warnings if the parent has no bus.
26989
26990 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26991
26992         * gst/gstelement.c: (activate_pads):
26993           On paused->ready, set pad->caps to NULL, as is the documented
26994           behaviour in this state change. Fixes playback of series of
26995           media files when visualization is enabled in Totem.
26996
26997 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26998
26999         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27000           Allow NULL as filter-caps (which means "any").
27001
27002 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27003
27004         * docs/libs/gstreamer-libs-sections.txt:
27005         * libs/gst/controller/gst-controller.c:
27006         * libs/gst/controller/gst-controller.h:
27007         * libs/gst/controller/gst-helper.c:
27008           adding more entries to the docs and fix small doc-bugs
27009
27010 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27011
27012         * docs/gst/gstreamer-docs.sgml:
27013         * docs/gst/gstreamer-sections.txt:
27014         * docs/gst/gstreamer.types:
27015         * docs/gst/tmpl/gstbasesink.sgml:
27016         * docs/gst/tmpl/gstbasesrc.sgml:
27017         * docs/gst/tmpl/gstbasetransform.sgml:
27018         * docs/gst/tmpl/gstfakesrc.sgml:
27019         * gst/base/gstcollectpads.c:
27020         * gst/base/gstcollectpads.h:
27021         * libs/gst/controller/gst-controller.c:
27022         * libs/gst/controller/gst-controller.h:
27023         * libs/gst/controller/gst-helper.c:
27024         * libs/gst/controller/gst-interpolation.c:
27025         * libs/gst/controller/lib.c:
27026           added long/short desc for controller docs
27027           added collectpads base class docs
27028           added correct includes to base-class docs
27029
27030 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27031
27032         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27033         (gst_test_mono_source_set_property),
27034         (gst_test_mono_source_class_init), (GST_START_TEST),
27035         (gst_controller_suite):
27036         * docs/gst/gstreamer-docs.sgml:
27037         * docs/gst/gstreamer-sections.txt:
27038         * docs/gst/gstreamer.types:
27039         * docs/libs/gstreamer-libs-docs.sgml:
27040         * docs/libs/gstreamer-libs-sections.txt:
27041         * gst/base/gstadapter.c:
27042         * libs/gst/controller/gst-controller.c:
27043         (gst_controlled_property_new), (gst_controlled_property_free),
27044         (gst_controller_new_valist),
27045         (gst_controller_remove_properties_valist),
27046         (gst_controller_sink_values), (_gst_controller_finalize):
27047         * libs/gst/controller/gst-controller.h:
27048         * libs/gst/controller/gst-helper.c:
27049         (gst_object_control_properties), (gst_object_uncontrol_properties),
27050         (gst_object_get_controller), (gst_object_set_controller),
27051         (gst_object_sink_values), (gst_object_get_value_arrays),
27052         (gst_object_get_value_array):
27053           more tests (and fixes) for the controller
27054           more docs for the controller
27055           integrated companies docs for the adapter 
27056
27057 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27058
27059         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27060         (GST_START_TEST), (fakesrc_suite):
27061           add tests for sizetype
27062
27063 2005-08-04  Andy Wingo  <wingo@pobox.com>
27064
27065         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27066         fixes buffer_alloc proxying among other things.
27067
27068         * gst/base/gstbasetransform.c:
27069         * gst/base/gstbasetransform.h:
27070         Revert patch to gstbasetransform from 7-28 removing
27071         delay_configure.
27072
27073         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27074         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27075         Semantics changed, should return not the size of the output buffer
27076         but the byte size of a buffer with a given caps.
27077
27078         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27079         debug object.
27080         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27081         out) are not the pad caps until setcaps finishes.
27082         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27083         not-in-place case as well. Deal with changing from in-place to
27084         not-in-place within calling pad_alloc_buffer. Still a bit
27085         concerned about the overhead here...
27086
27087 2005-08-03  Andy Wingo  <wingo@pobox.com>
27088
27089         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27090         fixating is an error.
27091
27092 2005-08-04  Edward Hervey  <edward@fluendo.com>
27093
27094         * gst/base/gstadapter.h: 
27095         Added gst_adapter_get_type() to the header
27096
27097 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27098
27099         * check/Makefile.am:
27100         * check/gst-libs/controller.c:
27101         * libs/gst/controller/gst-controller.c:
27102         (gst_controller_new_valist):
27103           added check test suite for the controller
27104         * gst/base/gstpushsrc.c:
27105           fixed a doc typo
27106
27107 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27108
27109         * docs/gst/Makefile.am:
27110         * docs/gst/gstreamer-docs.sgml:
27111         * docs/gst/gstreamer-sections.txt:
27112         * docs/gst/gstreamer.types:
27113         * docs/gst/tmpl/gstfakesrc.sgml:
27114         * gst/base/README:
27115         * gst/base/gstbasesink.c:
27116         * gst/base/gstbasesink.h:
27117         * gst/base/gstbasesrc.c:
27118         * gst/base/gstbasesrc.h:
27119         * gst/base/gstbasetransform.c:
27120         * gst/base/gstpushsrc.c:
27121         * gst/base/gstpushsrc.h:
27122           add short/long description docs to base classes
27123           add pushsrc to the docs
27124           remove consolidated doc fragments
27125
27126 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27127
27128         * configure.ac:
27129         * docs/libs/Makefile.am:
27130         * docs/libs/gstreamer-libs-docs.sgml:
27131         * docs/libs/gstreamer-libs-sections.txt:
27132         * docs/libs/gstreamer-libs.types:
27133         * examples/Makefile.am:
27134         * examples/controller/.cvsignore:
27135         * examples/controller/Makefile.am:
27136         * examples/controller/audio-example.c: (main):
27137         * libs/gst/Makefile.am:
27138         * libs/gst/controller/.cvsignore:
27139         * libs/gst/controller/Makefile.am:
27140         * libs/gst/controller/gst-controller.c:
27141         (on_object_controlled_property_changed), (gst_timed_value_compare),
27142         (gst_timed_value_find),
27143         (gst_controlled_property_set_interpolation_mode),
27144         (gst_controlled_property_new), (gst_controlled_property_free),
27145         (gst_controller_find_controlled_property),
27146         (gst_controller_new_valist), (gst_controller_new),
27147         (gst_controller_remove_properties_valist),
27148         (gst_controller_remove_properties), (gst_controller_set),
27149         (gst_controller_set_from_list), (gst_controller_unset),
27150         (gst_controller_get), (gst_controller_get_all),
27151         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27152         (gst_controller_get_value_array),
27153         (gst_controller_set_interpolation_mode),
27154         (_gst_controller_finalize), (_gst_controller_init),
27155         (_gst_controller_class_init), (gst_controller_get_type):
27156         * libs/gst/controller/gst-controller.h:
27157         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27158         (g_object_uncontrol_properties), (g_object_get_controller),
27159         (g_object_set_controller), (g_object_sink_values),
27160         (g_object_get_value_arrays), (g_object_get_value_array):
27161         * libs/gst/controller/gst-interpolation.c:
27162         (gst_controlled_property_find_timed_value_node),
27163         (interpolate_none_get), (interpolate_trigger_get),
27164         (interpolate_trigger_get_value_array):
27165         * libs/gst/controller/lib.c: (gst_controller_init):
27166         * pkgconfig/Makefile.am:
27167         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27168         * pkgconfig/gstreamer-control.pc.in:
27169         * testsuite/Makefile.am:
27170         * testsuite/controller/.cvsignore:
27171         * testsuite/controller/Makefile.am:
27172         * testsuite/controller/interpolator.c: (main):
27173           added controller code
27174           removed dparam pc files
27175
27176 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27177         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27178         (gst_collectpads_stop):
27179           Broadcast the condition when shutting down, to make sure we wake all
27180           threads up. Shut down pads on finalize, for safety.
27181
27182 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27183         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27184         (gst_base_transform_handle_buffer),
27185         (gst_base_transform_change_state):
27186           Handle PAUSED->READY->PAUSED transition after negotiation
27187           occurred already.
27188         * gst/gstmessage.c: (gst_message_init):
27189           Extra piece of debug for new messages.
27190
27191 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27192
27193         * configure.ac:
27194         * docs/gst/tmpl/gstbasesrc.sgml:
27195         * docs/gst/tmpl/gstelement.sgml:
27196         * docs/gst/tmpl/gstevent.sgml:
27197         * docs/gst/tmpl/gstfakesrc.sgml:
27198         * docs/gst/tmpl/gstformat.sgml:
27199         * docs/gst/tmpl/gstghostpad.sgml:
27200         * docs/gst/tmpl/gstpad.sgml:
27201         * docs/gst/tmpl/gstquery.sgml:
27202         * docs/gst/tmpl/gststructure.sgml:
27203         * docs/gst/tmpl/gsttaglist.sgml:
27204         * docs/gst/tmpl/gstvalue.sgml:
27205         * docs/libs/gstreamer-libs-docs.sgml:
27206         * docs/libs/gstreamer-libs-sections.txt:
27207         * docs/libs/gstreamer-libs.types:
27208         * libs/gst/Makefile.am:
27209         * libs/gst/control/.cvsignore:
27210         * libs/gst/control/Makefile.am:
27211         * libs/gst/control/control.c:
27212         * libs/gst/control/control.h:
27213         * libs/gst/control/dparam.c:
27214         * libs/gst/control/dparam.h:
27215         * libs/gst/control/dparam_smooth.c:
27216         * libs/gst/control/dparam_smooth.h:
27217         * libs/gst/control/dparamcommon.h:
27218         * libs/gst/control/dparammanager.c:
27219         * libs/gst/control/dparammanager.h:
27220         * libs/gst/control/dplinearinterp.c:
27221         * libs/gst/control/dplinearinterp.h:
27222         * libs/gst/control/unitconvert.c:
27223         * libs/gst/control/unitconvert.h:
27224         * testsuite/Makefile.am:
27225         * testsuite/dynparams/.cvsignore:
27226         * testsuite/dynparams/Makefile.am:
27227         * testsuite/dynparams/dparamstest.c:
27228         * tools/Makefile.am:
27229         * tools/gst-inspect.c: (print_element_info), (main):
27230         * tools/gst-xmlinspect.c: (print_element_info), (main):
27231           deactivate and remove dparams (libgstcontrol)
27232
27233 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27234
27235         * gst/elements/gsttypefindelement.c:
27236         (gst_type_find_element_have_type), (gst_type_find_element_init),
27237         (stop_typefinding), (gst_type_find_element_handle_event),
27238         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27239         * gst/elements/gsttypefindelement.h:
27240           Set caps on all outgoing buffers, not just the first one.
27241
27242 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27243
27244         * gst/elements/gsttypefindelement.c:
27245         (gst_type_find_element_have_type),
27246         (gst_type_find_element_check_set_buffer_caps),
27247         (gst_type_find_element_init), (stop_typefinding),
27248         (gst_type_find_element_handle_event),
27249         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27250         * gst/elements/gsttypefindelement.h:
27251           Set caps on first outgoing buffer when we've found the type.
27252
27253 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27254
27255         * docs/gst/gstreamer-docs.sgml:
27256         * docs/gst/gstreamer-sections.txt:
27257         * docs/gst/tmpl/gstscheduler.sgml:
27258         * docs/gst/tmpl/gstschedulerfactory.sgml:
27259           Remove some old cruft from docs.
27260
27261 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27262
27263         * gst/gstpad.h:
27264           Fix inline docs for GstPadLinkReturn.
27265           
27266         * gst/gststructure.c: (gst_structure_has_name):
27267         * gst/gststructure.h:
27268         * docs/gst/gstreamer-sections.txt:
27269           New API: gst_structure_has_name().
27270
27271 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27272
27273         * configure.ac:
27274           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27275           and _LARGEFILE_SOURCE in config.h as required. Do not 
27276           export those flags in our .pc files any longer (#142209).
27277
27278           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27279
27280         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27281         (gst_file_sink_do_seek), (gst_file_sink_event),
27282         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27283           Redo seek/tell calls with large file support in mind; add some
27284           debugging messages; add log message that tells us when large
27285           file support is unavailable or not enabled for some reason.
27286
27287         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27288           Add log message that tells us when large file support 
27289           is unavailable or not enabled for some reason.
27290
27291 2005-07-29  Wim Taymans  <wim@fluendo.com>
27292
27293         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27294         Added test for removing an element with ghostpad from a bin.
27295         Fixed test as current implementation does the right thing.
27296
27297         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27298         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27299         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27300         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27301         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27302         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27303         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27304         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27305         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27306         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27307         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27308         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27309         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27310         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27311         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27312         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27313         * gst/gstghostpad.h:
27314         Clean up ghostpads, remove properties for internal stuff.
27315         Make threadsafe.
27316         Fix refcounting.
27317         Prepare for switching targets, not all use cases work yet.
27318
27319 2005-07-29  Wim Taymans  <wim@fluendo.com>
27320
27321         * docs/design/part-gstghostpad.txt:
27322         Small update.
27323
27324         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27325         (gst_bin_remove_func):
27326         Unlinking pads while holding the bin LOCK is not a good
27327         idea.
27328
27329         * gst/gstpad.c: (gst_pad_class_init),
27330         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27331         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27332         No prob setting template after creating the pad.
27333
27334 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27335
27336         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27337         (gst_bus_peek), (gst_bus_source_dispatch),
27338         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27339         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27340           gst_bus_poll may be called from other threads. Handle
27341           this nicely by not making poll_data disappear off the
27342           stack once gst_bus_poll returns.
27343           gst_bus_peek now increments the refcount on the returned
27344           message.
27345
27346 2005-07-29  Wim Taymans  <wim@fluendo.com>
27347
27348         * docs/design/part-gstghostpad.txt:
27349         Overview of current GhostPad datastructures and use
27350         cases for changing the target.
27351
27352 2005-07-28  Wim Taymans  <wim@fluendo.com>
27353
27354         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27355         Added checks for hierarchy consistency whan adding linked
27356         elements to bins.
27357
27358         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27359         Added check to test element scheduling without bin/pipeline.
27360
27361         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27362         First add elements to bin, then link.
27363         
27364         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27365         (gst_bin_remove_func):
27366         Unlink pads from elements added/removed from bin to maintain
27367         hierarchy consistency.
27368
27369 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27370
27371         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27372         (gst_base_transform_handle_buffer):
27373         * gst/base/gstbasetransform.h:
27374           Remove broken delay_configure (fixes renegotiation of software
27375           scaling pipelines); remove some leftover printf()s.
27376
27377 2005-07-28  Wim Taymans  <wim@fluendo.com>
27378
27379         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27380         Added some more tests for wrong hierarchy
27381
27382         * docs/design/part-overview.txt:
27383         Some updates.
27384
27385         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27386         Cleanups.
27387
27388         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27389         (gst_element_dispose):
27390         Some more cleanups.
27391
27392         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27393         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27394         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27395         (gst_pad_set_caps), (gst_pad_send_event):
27396         Check for correct hierarchy when linking pads. Moving to
27397         strict requirement for ghostpads when linking elements in
27398         different bins.
27399
27400         * gst/gstpad.h:
27401         Clean ups. Added WRONG_HIERARCHY return value.
27402
27403 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27404
27405         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27406           Better debug if no transform is possible.
27407
27408 2005-07-27  Wim Taymans  <wim@fluendo.com>
27409
27410         * docs/random/wtay/network-transp:
27411         Some old doc I had.
27412
27413 2005-07-27  Wim Taymans  <wim@fluendo.com>
27414
27415         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27416         (gst_dp_event_from_packet):
27417         Fix serialization of seek events.
27418
27419 2005-07-27  Wim Taymans  <wim@fluendo.com>
27420
27421         * check/gst-libs/gdp.c: (GST_START_TEST):
27422         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27423         Fix compilation and fix event serialization.
27424
27425 2005-07-27  Wim Taymans  <wim@fluendo.com>
27426
27427         * CHANGES-0.9:
27428         * docs/design/part-TODO.txt:
27429         * docs/design/part-events.txt:
27430         Some docs updates
27431
27432         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27433         (gst_base_sink_event), (gst_base_sink_do_sync),
27434         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27435         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27436         (gst_base_src_do_seek), (gst_base_src_event_handler),
27437         (gst_base_src_loop):
27438         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27439         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27440         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27441         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27442         (gst_base_transform_set_passthrough),
27443         (gst_base_transform_is_passthrough):
27444         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27445         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27446         Event updates.
27447
27448         * gst/gstbuffer.h:
27449         Use faster casts.
27450
27451         * gst/gstelement.c: (gst_element_seek):
27452         * gst/gstelement.h:
27453         Update gst_element_seek.
27454
27455         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27456         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27457         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27458         (gst_event_new_eos), (gst_event_new_newsegment),
27459         (gst_event_parse_newsegment), (gst_event_new_tag),
27460         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27461         (gst_event_parse_qos), (gst_event_new_seek),
27462         (gst_event_parse_seek), (gst_event_new_navigation):
27463         * gst/gstevent.h:
27464         Make GstEvent use GstStructure. Add parsing code, make sure the
27465         API is sufficiently generic.
27466         Mark possible directions of events and serialization.
27467
27468         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27469         (_gst_message_copy), (gst_message_new_segment_start),
27470         (gst_message_new_segment_done), (gst_message_new_custom),
27471         (gst_message_parse_segment_start),
27472         (gst_message_parse_segment_done):
27473         Small cleanups.
27474
27475         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27476         (gst_pad_set_caps), (gst_pad_send_event):
27477         Update for new events. 
27478         Catch events sent in wrong directions.
27479
27480         * gst/gstqueue.c: (gst_queue_link_src),
27481         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27482         (gst_queue_handle_src_query):
27483         Event updates.
27484
27485         * gst/gsttag.c:
27486         * gst/gsttag.h:
27487         Remove event code from this file.
27488
27489         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27490         (gst_dp_event_from_packet):
27491         Event updates.
27492
27493 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27494
27495         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27496         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27497         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27498           Make debugging actually useful.
27499
27500 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27501
27502         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27503         (gst_pad_fixate_caps):
27504           Implement default fixation once again, so that gst_pad_fixate()
27505           actually does anything at all. This probably needs to be some
27506           sort of a last resort, and use profile-based fixation first, but
27507           since that doesn't exist yet, this is the best we have. Fixes
27508           visualization in Totem.
27509
27510 2005-07-22  Wim Taymans  <wim@fluendo.com>
27511
27512         * docs/design/part-events.txt:
27513         Small update.
27514
27515         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27516         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27517         (gst_base_sink_activate_pull):
27518         Some more comments.
27519
27520         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27521         (gst_fake_src_create):
27522         Fix handoff marshall.
27523
27524         * gst/elements/gstidentity.c: (gst_identity_class_init),
27525         (gst_identity_transform_ip):
27526         We're a real inplace element.
27527
27528         * gst/gstbus.c: (gst_bus_post):
27529         Added some comments.
27530
27531         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27532         * tests/muxing/case1.c: (main):
27533         * tests/sched/dynamic-pipeline.c: (main):
27534         * tests/sched/interrupt1.c: (main):
27535         * tests/sched/interrupt2.c: (main):
27536         * tests/sched/interrupt3.c: (main):
27537         * tests/sched/runxml.c: (main):
27538         * tests/sched/sched-stress.c: (main):
27539         * tests/seeking/seeking1.c: (event_received), (main):
27540         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27541         (main):
27542         * tests/threadstate/threadstate3.c: (main):
27543         * tests/threadstate/threadstate4.c: (main):
27544         * tests/threadstate/threadstate5.c: (main):
27545         Fix the tests.
27546
27547 2005-07-21  Wim Taymans  <wim@fluendo.com>
27548
27549         * docs/design/part-seeking.txt:
27550         Some small additions.
27551
27552         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27553         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27554         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27555         * gst/base/gstbasesink.h:
27556         discont values are gint64, handle the math correctly.
27557
27558         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27559         Make the basesrc report error if the source pad is not linked.
27560
27561         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27562         (gst_queue_loop), (gst_queue_handle_src_query),
27563         (gst_queue_src_activate_push):
27564         Make queue collect data even if the srcpad is not linked.
27565         Start pushing out data as soon as it is linked.
27566
27567         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27568         * gst/gstutils.h:
27569         Added gst_flow_get_name() to ease error reporting.
27570
27571 2005-07-20  Wim Taymans  <wim@fluendo.com>
27572
27573         * gst/gstmessage.c: (gst_message_new_segment_start),
27574         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27575         (gst_message_parse_segment_done):
27576         * gst/gstmessage.h:
27577         Added a bunch of messages for advanced seeking.
27578
27579         * gst/parse/grammar.y:
27580         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27581         (gst_dpman_state_changed):
27582         Fix some new-pad -> pad-added signals
27583
27584 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27585
27586         * docs/manual/appendix-porting.xml:
27587         * docs/pwg/appendix-porting.xml:
27588           Document new-pad/state-change signal renames and the FixedList
27589           type rename.
27590
27591 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27592
27593         * docs/manual/advanced-autoplugging.xml:
27594         * docs/manual/basics-helloworld.xml:
27595         * docs/manual/basics-pads.xml:
27596         * docs/random/ds/0.9-suggested-changes:
27597         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27598         * gst/gstelement.h:
27599         * gst/gstevent.h:
27600         * gst/gstformat.h:
27601         * gst/gstquery.h:
27602         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27603         (gst_structure_parse_array), (gst_structure_parse_value):
27604         * gst/gstvalue.c: (gst_type_is_fixed),
27605         (gst_value_list_prepend_value), (gst_value_list_append_value),
27606         (gst_value_list_get_size), (gst_value_list_get_value),
27607         (gst_value_transform_array_string), (gst_value_serialize_array),
27608         (gst_value_deserialize_array), (gst_value_intersect_array),
27609         (gst_value_is_fixed), (_gst_value_initialize):
27610         * gst/gstvalue.h:
27611           GstElement::new-pad -> pad-added, GstElement::state-change ->
27612           state-changed, GstValueFixedList -> GstValueArray, add format and
27613           flags as their own arguments in gst_element_seek() (should improve
27614           "bindeability"), remove function generators since they don't work
27615           under a whole bunch of compilers (they were deprecated already
27616           anyway).
27617
27618 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27619
27620         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27621         (_gst_debug_register_funcptr):
27622         * gst/gstinfo.h:
27623           Fix illegal cast on some platforms (#309253).
27624
27625 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27626
27627         * gst/gstmessage.c: (gst_message_new_custom):
27628         * gst/gstmessage.h:
27629           Add _new_custom, make _new_application a macro to _new_custom.
27630
27631 2005-07-20  Wim Taymans  <wim@fluendo.com>
27632
27633         * gst/base/gstbasesrc.c: (gst_base_src_init),
27634         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27635         * gst/base/gstbasesrc.h:
27636         Add a gboolean to decide when to push out a discont.
27637
27638         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27639         (gst_queue_loop), (gst_queue_handle_src_query),
27640         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27641         (gst_queue_set_property), (gst_queue_get_property):
27642         Some cleanups.
27643
27644         * tests/threadstate/threadstate1.c: (main):
27645         Make a thread test compile and run... very silly..
27646
27647
27648 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27649
27650         * docs/manual/appendix-porting.xml:
27651           Mention removal of libgstgconf-0.9.la and existence of gconf
27652           elements.
27653
27654 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27655
27656         * docs/pwg/advanced-clock.xml:
27657         * docs/pwg/appendix-porting.xml:
27658         * docs/pwg/intro-preface.xml:
27659         * docs/pwg/other-base.xml:
27660         * docs/pwg/other-manager.xml:
27661         * docs/pwg/other-nton.xml:
27662         * docs/pwg/other-ntoone.xml:
27663         * docs/pwg/other-oneton.xml:
27664         * docs/pwg/pwg.xml:
27665           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27666           demuxer), remove n-to-n (was never written), fix some code examples
27667           and links and update the porting section to include all this.
27668
27669 2005-07-19  Wim Taymans  <wim@fluendo.com>
27670
27671         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27672         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27673         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27674         (gst_queue_src_activate_push), (gst_queue_change_state),
27675         (gst_queue_get_property):
27676         * gst/gstqueue.h:
27677         Propagate GstFlowReturn more intelligently upstream and output
27678         an ERROR/EOS when streaming stopped due to fatal error.
27679
27680 2005-07-19  Wim Taymans  <wim@fluendo.com>
27681
27682         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27683         Don't block forever for the state change to complete, the
27684         pipeline already did with a sensible timeout.
27685
27686 2005-07-19  Wim Taymans  <wim@fluendo.com>
27687
27688         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27689         Make sure we never call the create function is we
27690         got deactivated.
27691
27692 2005-07-19  Andy Wingo  <wingo@pobox.com>
27693
27694         * gst/parse/parse.l: Attempt to solve bug #172815.
27695
27696 2005-07-19  Wim Taymans  <wim@fluendo.com>
27697
27698         * docs/design/part-clocks.txt:
27699         * docs/design/part-events.txt:
27700         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27701         Small docs updates.
27702         Only update the seeking values when we are not
27703         busy streaming.
27704
27705 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27706
27707         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27708           Oops, ignore the result of gst_pad_push_event here.
27709
27710 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27711
27712         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27713         (gst_base_src_activate_push):
27714           Send discont event from the loop function, as pads
27715           aren't activated yet in the activate_push handler.
27716
27717         * gst/gstbin.c: (bin_bus_handler):
27718           Don't leak element name.
27719
27720 2005-07-18  Andy Wingo  <wingo@pobox.com>
27721
27722         * configure.ac: Use AS_LIBTOOL_TAGS.
27723
27724 2005-07-18  Wim Taymans  <wim@fluendo.com>
27725
27726         * docs/gst/gstreamer.types:
27727         Remove deleted types.
27728
27729 2005-07-18  Wim Taymans  <wim@fluendo.com>
27730
27731         * check/elements/gstfakesrc.c: (GST_START_TEST):
27732         * configure.ac:
27733         * gst/Makefile.am:
27734         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27735         (init_popt_callback):
27736         * gst/gst.h:
27737         * gst/gst_private.h:
27738         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27739         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27740         * gst/gstbin.h:
27741         * gst/gstbus.h:
27742         * gst/gstconfig.h.in:
27743         * gst/gstelement.c: (gst_element_class_init),
27744         (gst_element_set_base_time), (gst_element_get_base_time),
27745         (iterator_fold_with_resync), (gst_element_change_state),
27746         (gst_element_dispose), (gst_element_get_bus):
27747         * gst/gstelement.h:
27748         * gst/gstelementfactory.h:
27749         * gst/gsterror.c: (_gst_core_errors_init):
27750         * gst/gsterror.h:
27751         * gst/gstevent.h:
27752         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27753         * gst/gstindex.c:
27754         * gst/gstinfo.c: (_gst_debug_init):
27755         * gst/gstmessage.c: (_gst_message_copy):
27756         * gst/gstmessage.h:
27757         * gst/gstminiobject.h:
27758         * gst/gstobject.c:
27759         * gst/gstobject.h:
27760         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27761         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27762         * gst/gstpad.h:
27763         * gst/gstparse.h:
27764         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27765         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27766         (gst_pipeline_get_last_stream_time):
27767         * gst/gstpipeline.h:
27768         * gst/gstpluginfeature.h:
27769         * gst/gstquery.h:
27770         * gst/gstscheduler.c:
27771         * gst/gstscheduler.h:
27772         * gst/gststructure.h:
27773         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27774         (gst_task_finalize), (gst_task_func), (gst_task_create),
27775         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27776         (gst_task_stop), (gst_task_pause):
27777         * gst/gsttask.h:
27778         * gst/gsttypefind.h:
27779         * gst/gsttypes.h:
27780         * gst/registries/gstlibxmlregistry.c: (load_feature),
27781         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27782         * gst/registries/gstxmlregistry.c:
27783         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27784         * gst/schedulers/threadscheduler.c:
27785         * libs/gst/control/dparammanager.h:
27786         * tools/gst-inspect.c: (print_element_list),
27787         (print_plugin_features), (print_element_features):
27788         * tools/gst-xmlinspect.c: (print_element_list),
27789         (print_plugin_info), (main):
27790         Removed plugable schedulers.
27791         Removed Scheduler/Manager from elements.
27792         Removed gsttypes.h, rearranged includes.
27793         Removed dependency pad<->element, element<>pipeline, and
27794         various others,  fix includes.
27795         implement gst_pad_get_parent() with gst_object_get_parent()
27796         Make GstTask sefcontained.
27797         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27798         timeout.
27799         Fix endless loop in iterator_fold_with_resync.
27800
27801
27802 2005-07-18  Wim Taymans  <wim@fluendo.com>
27803
27804         * gst/Makefile.am:
27805         * gst/gstarch.h:
27806         Remove old file.
27807
27808 2005-07-18  Wim Taymans  <wim@fluendo.com>
27809
27810         * gst/Makefile.am:
27811         No more cothreads.h
27812
27813 2005-07-18  Wim Taymans  <wim@fluendo.com>
27814
27815         * gst/cothreads.c:
27816         * gst/cothreads.h:
27817         Let's remove these.
27818
27819 2005-07-18  Wim Taymans  <wim@fluendo.com>
27820
27821         * docs/design/part-dynamic.txt:
27822         * docs/design/part-events.txt:
27823         * docs/design/part-seeking.txt:
27824         Some more docs in the works.
27825
27826         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27827         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27828         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27829         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27830         (gst_base_transform_handle_buffer),
27831         (gst_base_transform_sink_activate_push),
27832         (gst_base_transform_src_activate_pull),
27833         (gst_base_transform_set_passthrough),
27834         (gst_base_transform_is_passthrough):
27835         Refcounting fixes.
27836
27837         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27838         Cleanups.
27839
27840         * gst/gstevent.c: (gst_event_finalize):
27841         Set SRC to NULL.
27842
27843         * gst/gstutils.c: (gst_element_unlink),
27844         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27845         (gst_pad_proxy_setcaps):
27846         * gst/gstutils.h:
27847         Add _get_parent_element() to get a pads parent as an element.
27848
27849 2005-07-18  Wim Taymans  <wim@fluendo.com>
27850
27851         * check/gst/gstbin.c: (GST_START_TEST):
27852         Remove bogus test.
27853
27854 2005-07-18  Wim Taymans  <wim@fluendo.com>
27855
27856         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27857         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27858         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27859         (gst_base_sink_event), (gst_base_sink_do_sync),
27860         (gst_base_sink_chain), (gst_base_sink_loop),
27861         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27862         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27863         Refcounting fixes.
27864         Fix logic for returning ASYNC when not prerolled.
27865
27866 2005-07-18  Wim Taymans  <wim@fluendo.com>
27867
27868         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27869         Fix nasty refcount bug.
27870
27871 2005-07-16 Philippe Khalaf <burger@speedy.org>
27872
27873         * gst/elements/gstfdsrc.c:
27874         * gst/elements/gstfdsrc.h:
27875         * gst/elements/gstelements.c:
27876         * gst/elements/Makefile.am:
27877         Ported fdsrc to 0.9.
27878
27879 2005-07-16  Wim Taymans  <wim@fluendo.com>
27880
27881         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27882         (gst_base_sink_do_sync):
27883         Fix compile error.
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_event), (gst_base_sink_get_times),
27889         (gst_base_sink_do_sync), (gst_base_sink_change_state):
27890         * gst/base/gstbasesink.h:
27891         Store and use discont values when syncing buffers as described
27892         in design docs.
27893         
27894         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27895         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27896         (gst_base_src_activate_push):
27897         Push discont event when starting.
27898
27899         * gst/elements/gstidentity.c: (gst_identity_transform):
27900         Small cleanups.
27901
27902         * gst/gstbin.c: (gst_bin_change_state):
27903         Small cleanups in base_time  distribution.
27904
27905         * gst/gstelement.c: (gst_element_set_base_time),
27906         (gst_element_get_base_time), (gst_element_change_state):
27907         * gst/gstelement.h:
27908         Added methods for the base_time of the element.
27909         Some MT fixes.
27910
27911         * gst/gstpipeline.c: (gst_pipeline_send_event),
27912         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27913         (gst_pipeline_get_last_stream_time):
27914         * gst/gstpipeline.h:
27915         MT fixes.
27916         Handle seeking as described in design doc, remove stream_time
27917         hack.
27918         Cleanups clock and stream_time selection code. Added accessors
27919         for the stream_time.
27920         
27921
27922 2005-07-16  Andy Wingo  <wingo@pobox.com>
27923
27924         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27925         (#305291).
27926
27927 2005-07-16  Wim Taymans  <wim@fluendo.com>
27928
27929         * check/gst/gstbin.c: (GST_START_TEST):
27930         Make elements silent as the deep_notify refs the
27931         parent, which might make the test fail.
27932
27933         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27934         Don't hold the lock for too long.
27935
27936 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
27937
27938         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27939           Don't unref the caps we passed to gst_caps_make_writable() after
27940           passing them. gst_caps_make_writable() will do that for us.
27941
27942 2005-07-15  Andy Wingo  <wingo@pobox.com>
27943
27944         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27945         (#157311).
27946
27947         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27948         own marshalling function for the handoff signal. Properly type the
27949         buffer as a buffer. Fixes some warnings. Should do a more general
27950         solution.
27951         (gst_identity_class_init): Plug into the right marshaller.
27952
27953 2005-07-15  Wim Taymans  <wim@fluendo.com>
27954
27955         * docs/design/part-TODO.txt:
27956         * docs/design/part-clocks.txt:
27957         * docs/design/part-element-sink.txt:
27958         * docs/design/part-events.txt:
27959         * docs/design/part-gstpipeline.txt:
27960         Updated docs, mostly DISCONT related.
27961
27962 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
27963
27964         * docs/pwg/building-pads.xml:
27965           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27966
27967 2005-07-15  Andy Wingo  <wingo@pobox.com>
27968
27969         * tools/gst-typefind.c: Update, add copyright block.
27970
27971         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27972         Normalize and truncate caps before fixation.
27973
27974         * gst/gstcaps.h:
27975         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27976         discards all but the first structure from its argument.
27977
27978 2005-07-15  Wim Taymans  <wim@fluendo.com>
27979
27980         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27981         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27982         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27983         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27984         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27985         (gst_base_transform_chain), (gst_base_transform_change_state),
27986         (gst_base_transform_set_passthrough),
27987         (gst_base_transform_is_passthrough):
27988         * gst/base/gstbasetransform.h:
27989         Make passthrough work using the bufferpools.
27990         Changed API a bit, subclasses have to write into a buffer
27991         provided by the base class.
27992         More debug info in nego functions.
27993         
27994         * gst/elements/gstidentity.c: (gst_identity_init),
27995         (gst_identity_transform):
27996         Port to new base class.
27997
27998 2005-07-15  Wim Taymans  <wim@fluendo.com>
27999
28000         * gst/gstmessage.c: (gst_message_new_state_changed):
28001         * tools/gst-launch.c: (event_loop), (main):
28002         Totally dump messages in -launch with the -m option.
28003         Fix message name for State messages,
28004
28005 2005-07-14  Wim Taymans  <wim@fluendo.com>
28006
28007         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28008         Post error messages on errors.
28009
28010 2005-07-14  Wim Taymans  <wim@fluendo.com>
28011
28012         * gst/gstcaps.c: (gst_caps_do_simplify):
28013         Remove debug info.
28014
28015         * gst/gsterror.h:
28016         Define error for stream stopped.
28017
28018         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28019         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28020         Do proper return values.
28021
28022         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28023         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28024         (gst_pad_get_range):
28025         Better return values.
28026
28027         * gst/gstpad.h:
28028         Reorganise return values, add macro to check for fatal errors.
28029
28030         * gst/gstqueue.c: (gst_queue_chain):
28031         Return proper GstFlowReturn values,
28032
28033 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28034
28035         * docs/gst/gstreamer-sections.txt:
28036         * docs/gst/gstreamer.types:
28037         * docs/gst/tmpl/gst.sgml:
28038         * docs/gst/tmpl/gstbasesink.sgml:
28039         * docs/gst/tmpl/gstbasesrc.sgml:
28040         * docs/gst/tmpl/gstbasetransform.sgml:
28041         * docs/gst/tmpl/gstbin.sgml:
28042         * docs/gst/tmpl/gstbuffer.sgml:
28043         * docs/gst/tmpl/gstcaps.sgml:
28044         * docs/gst/tmpl/gstclock.sgml:
28045         * docs/gst/tmpl/gstcompat.sgml:
28046         * docs/gst/tmpl/gstconfig.sgml:
28047         * docs/gst/tmpl/gstelement.sgml:
28048         * docs/gst/tmpl/gstelementdetails.sgml:
28049         * docs/gst/tmpl/gstelementfactory.sgml:
28050         * docs/gst/tmpl/gstenumtypes.sgml:
28051         * docs/gst/tmpl/gsterror.sgml:
28052         * docs/gst/tmpl/gstevent.sgml:
28053         * docs/gst/tmpl/gstfakesink.sgml:
28054         * docs/gst/tmpl/gstfakesrc.sgml:
28055         * docs/gst/tmpl/gstfilesink.sgml:
28056         * docs/gst/tmpl/gstfilesrc.sgml:
28057         * docs/gst/tmpl/gstfilter.sgml:
28058         * docs/gst/tmpl/gstformat.sgml:
28059         * docs/gst/tmpl/gstghostpad.sgml:
28060         * docs/gst/tmpl/gstimplementsinterface.sgml:
28061         * docs/gst/tmpl/gstindex.sgml:
28062         * docs/gst/tmpl/gstindexfactory.sgml:
28063         * docs/gst/tmpl/gstinfo.sgml:
28064         * docs/gst/tmpl/gstiterator.sgml:
28065         * docs/gst/tmpl/gstmacros.sgml:
28066         * docs/gst/tmpl/gstmemchunk.sgml:
28067         * docs/gst/tmpl/gstminiobject.sgml:
28068         * docs/gst/tmpl/gstobject.sgml:
28069         * docs/gst/tmpl/gstpad.sgml:
28070         * docs/gst/tmpl/gstpadtemplate.sgml:
28071         * docs/gst/tmpl/gstparse.sgml:
28072         * docs/gst/tmpl/gstpipeline.sgml:
28073         * docs/gst/tmpl/gstplugin.sgml:
28074         * docs/gst/tmpl/gstpluginfeature.sgml:
28075         * docs/gst/tmpl/gstquery.sgml:
28076         * docs/gst/tmpl/gstqueue.sgml:
28077         * docs/gst/tmpl/gstregistry.sgml:
28078         * docs/gst/tmpl/gstregistrypool.sgml:
28079         * docs/gst/tmpl/gstscheduler.sgml:
28080         * docs/gst/tmpl/gstschedulerfactory.sgml:
28081         * docs/gst/tmpl/gststructure.sgml:
28082         * docs/gst/tmpl/gstsystemclock.sgml:
28083         * docs/gst/tmpl/gsttaglist.sgml:
28084         * docs/gst/tmpl/gsttagsetter.sgml:
28085         * docs/gst/tmpl/gsttrace.sgml:
28086         * docs/gst/tmpl/gsttrashstack.sgml:
28087         * docs/gst/tmpl/gsttypefind.sgml:
28088         * docs/gst/tmpl/gsttypefindfactory.sgml:
28089         * docs/gst/tmpl/gsttypes.sgml:
28090         * docs/gst/tmpl/gsturihandler.sgml:
28091         * docs/gst/tmpl/gsturitype.sgml:
28092         * docs/gst/tmpl/gstutils.sgml:
28093         * docs/gst/tmpl/gstvalue.sgml:
28094         * docs/gst/tmpl/gstversion.sgml:
28095         * docs/gst/tmpl/gstxml.sgml:
28096         * docs/libs/tmpl/gstcontrol.sgml:
28097         * docs/libs/tmpl/gstdataprotocol.sgml:
28098         * docs/libs/tmpl/gstdparam.sgml:
28099         * docs/libs/tmpl/gstdplinint.sgml:
28100         * docs/libs/tmpl/gstdpman.sgml:
28101         * docs/libs/tmpl/gstdpsmooth.sgml:
28102         * docs/libs/tmpl/gstgetbits.sgml:
28103         * docs/libs/tmpl/gstunitconvert.sgml:
28104         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28105         (gst_push_src_base_init), (gst_push_src_class_init),
28106         (gst_push_src_init), (gst_push_src_create):
28107         * gst/base/gstpushsrc.h:
28108         * gst/elements/gstelements.c:
28109         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28110         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28111         (gst_fake_sink_init), (gst_fake_sink_set_property),
28112         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28113         (gst_fake_sink_event), (gst_fake_sink_preroll),
28114         (gst_fake_sink_render), (gst_fake_sink_change_state):
28115         * gst/elements/gstfakesink.h:
28116         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28117         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28118         (gst_fake_src_base_init), (gst_fake_src_class_init),
28119         (gst_fake_src_init), (gst_fake_src_event_handler),
28120         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28121         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28122         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28123         (gst_fake_src_create_buffer), (gst_fake_src_create),
28124         (gst_fake_src_start), (gst_fake_src_stop):
28125         * gst/elements/gstfakesrc.h:
28126         * gst/elements/gstfilesink.c: (_do_init),
28127         (gst_file_sink_base_init), (gst_file_sink_class_init),
28128         (gst_file_sink_init), (gst_file_sink_dispose),
28129         (gst_file_sink_set_location), (gst_file_sink_set_property),
28130         (gst_file_sink_get_property), (gst_file_sink_open_file),
28131         (gst_file_sink_close_file), (gst_file_sink_query),
28132         (gst_file_sink_event), (gst_file_sink_render),
28133         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28134         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28135         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28136         * gst/elements/gstfilesink.h:
28137         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28138         (gst_file_src_class_init), (gst_file_src_init),
28139         (gst_file_src_finalize), (gst_file_src_set_location),
28140         (gst_file_src_set_property), (gst_file_src_get_property),
28141         (gst_file_src_map_region), (gst_file_src_map_small_region),
28142         (gst_file_src_create_mmap), (gst_file_src_create_read),
28143         (gst_file_src_create), (gst_file_src_is_seekable),
28144         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28145         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28146         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28147         (gst_file_src_uri_handler_init):
28148         * gst/elements/gstfilesrc.h:
28149           more autistic cleanliness in functions/names/defines
28150
28151 2005-07-13  Andy Wingo  <wingo@pobox.com>
28152
28153         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28154         source couldn't negotiate.
28155
28156         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28157         connections again.
28158
28159         * gst/gstutils.h:
28160         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28161         function. I am channeling Hades. Put your boots on suckers!!!
28162
28163 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28164
28165         * testsuite/caps/Makefile.am:
28166         * testsuite/caps/value_compare.c:
28167         * testsuite/caps/value_intersect.c:
28168         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28169           move two testsuite apps over to the check dir
28170
28171 2005-07-12  Wim Taymans  <wim@fluendo.com>
28172
28173         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28174         Added more debug info in the negotiate process.
28175
28176         * gst/gstmessage.h:
28177         Prepare for segment playback.
28178
28179         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28180         Better debugging.
28181
28182         * gst/gstutils.c:
28183         Some more docs.
28184
28185         * tools/gst-launch.c: (main):
28186         NULL pipeline on errors.
28187
28188 2005-07-12  Andy Wingo  <wingo@pobox.com>
28189
28190         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28191         not it comes from a malloc region. Make sure our copy gets freed.
28192
28193 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28194
28195         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28196         * check/gst/gstmessage.c: (GST_START_TEST):
28197         * check/gst/gststructure.c: (GST_START_TEST),
28198         (gst_structure_suite), (main):
28199           more testing
28200         * gst/gstelement.c: (gst_element_message_full):
28201           clean up GError and debug string now that they get copied
28202         * gst/gstmessage.c: (gst_message_new_error),
28203         (gst_message_new_warning), (gst_message_parse_error),
28204         (gst_message_parse_warning):
28205           use GST_TYPE_G_ERROR for structure_new, and take copies of
28206           arguments, so that we don't mess up refcounting
28207
28208 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28209
28210         * check/Makefile.am:
28211           add per-test valgrind targets
28212         * check/gst-libs/gdp.c: (GST_START_TEST),
28213         (gst_data_protocol_suite), (main):
28214           clean up
28215
28216 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28217
28218         * check/Makefile.am:
28219           instate more valgrindable tests
28220         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28221         (GST_START_TEST), (fakesrc_suite):
28222         * check/gst/gstpad.c: (GST_START_TEST):
28223         * check/gst/gststructure.c: (GST_START_TEST):
28224           fix test leaks
28225         * docs/gst/tmpl/gstminiobject.sgml:
28226         * gst/gstpad.c: (gst_pad_finalize):
28227           fix the static mutex leak
28228
28229 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28230
28231         * check/Makefile.am:
28232           add two more tests for valgrinding
28233         * check/gst/gstvalue.c: (GST_START_TEST):
28234           test refcount of deserialized buffer, found a leak
28235         * docs/gst/gstreamer-docs.sgml:
28236         * docs/gst/gstreamer-sections.txt:
28237         * docs/gst/gstreamer.types:
28238         * docs/gst/tmpl/gstminiobject.sgml:
28239           add miniobject to docs
28240         * gst/gstminiobject.c:
28241           add some docs
28242         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28243         (gst_string_unwrap):
28244           fix a hard-to-find invalid write for one of the tests
28245           fix a leak for deserialized buffers
28246
28247 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28248
28249         * docs/pwg/advanced-events.xml:
28250         * docs/pwg/advanced-request.xml:
28251         * docs/pwg/advanced-scheduling.xml:
28252         * docs/pwg/appendix-porting.xml:
28253         * docs/pwg/building-boiler.xml:
28254         * docs/pwg/intro-preface.xml:
28255         * docs/pwg/other-ntoone.xml:
28256           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28257           of example code and explanation for pad activation, loop() and
28258           getrange() functions and a bit more. Remove old comments pointing
28259           to loop-functions.
28260         * examples/pwg/Makefile.am:
28261           Add loop/getrange examples.
28262
28263 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28264
28265         * configure.ac:
28266           check for valgrind binary + some fixes
28267         * check/gst.supp:
28268           valgrind suppressions for the tests
28269         * check/Makefile.am:
28270           add a valgrind: target that valgrinds the unit tests
28271         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28272         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28273         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28274         * check/gst/gstghostpad.c:
28275           added some cleanup
28276         * check/gst/gstdata.c:
28277           removed
28278         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28279         (thread_unref), (gst_mini_object_suite), (main):
28280           added
28281         * gst/gst.c: (gst_deinit):
28282         * gst/gst.h:
28283           add a method to clean up.
28284         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28285         (gst_system_clock_obtain):
28286           allow for disposing the system clock.
28287         * tools/gst-launch.c: (main):
28288           deinit
28289
28290 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28291
28292         * docs/gst/tmpl/gstbasesrc.sgml:
28293         * docs/gst/tmpl/gstfakesrc.sgml:
28294         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28295         (gst_base_src_init), (gst_base_src_set_property),
28296         (gst_base_src_get_property), (gst_base_src_get_range),
28297         (gst_base_src_start):
28298         * gst/base/gstbasesrc.h:
28299           add num-buffers property
28300         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28301         (gst_fakesrc_init), (gst_fakesrc_set_property),
28302         (gst_fakesrc_get_property), (gst_fakesrc_create),
28303         (gst_fakesrc_start):
28304           remove num-buffers property
28305
28306 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28307
28308         * docs/gst/gstreamer-sections.txt:
28309         * docs/gst/tmpl/gstbasesink.sgml:
28310         * docs/gst/tmpl/gstbasesrc.sgml:
28311         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28312         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28313         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28314         (gst_base_sink_set_property), (gst_base_sink_get_property),
28315         (gst_base_sink_handle_object), (gst_base_sink_event),
28316         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28317         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28318         (gst_base_sink_loop), (gst_base_sink_deactivate),
28319         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28320         (gst_base_sink_change_state):
28321         * gst/base/gstbasesink.h:
28322         * gst/base/gstbasesrc.h:
28323         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28324         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28325         (gst_filesink_init):
28326           more macro splitting
28327
28328 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28329
28330         * gst/gstelement.c: (gst_element_get_bus):
28331           add debug
28332         * tools/gst-launch.c: (check_intr), (event_loop):
28333           fix bus leaks
28334
28335 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28336
28337         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28338           fix a caps leak
28339
28340 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28341
28342         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28343         (gst_base_src_finalize):
28344           add finalize method and clean up properly
28345         * gst/gstpipeline.c: (gst_pipeline_dispose):
28346           add debug
28347
28348 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28349
28350         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28351         (gst_bin_suite):
28352           add more things to check
28353         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28354         * gst/gstelement.c:
28355           more debug
28356
28357 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28358
28359         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28360         (GST_START_TEST), (fakesrc_suite):
28361         * check/gst-libs/gdp.c: (GST_START_TEST):
28362         * check/gst/gst.c: (GST_START_TEST):
28363         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28364         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28365         * check/gst/gstbus.c: (GST_START_TEST):
28366         * check/gst/gstcaps.c: (GST_START_TEST):
28367         * check/gst/gstdata.c: (GST_START_TEST):
28368         * check/gst/gstelement.c: (GST_START_TEST):
28369         * check/gst/gstghostpad.c: (GST_START_TEST):
28370         * check/gst/gstiterator.c: (GST_START_TEST):
28371         * check/gst/gstmessage.c: (GST_START_TEST):
28372         * check/gst/gstobject.c: (GST_START_TEST):
28373         * check/gst/gstpad.c: (GST_START_TEST):
28374         * check/gst/gststructure.c: (GST_START_TEST):
28375         * check/gst/gstsystemclock.c: (GST_START_TEST),
28376         (gst_systemclock_suite):
28377         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28378         * check/gst/gstvalue.c: (GST_START_TEST):
28379         * check/pipelines/cleanup.c: (GST_START_TEST):
28380         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28381         * check/states/sinks.c: (GST_START_TEST):
28382         * check/gstcheck.c: (gst_check_init):
28383         * check/gstcheck.h:
28384           add debugging category
28385           use GST_START_TEST now, so we add a debug line
28386
28387 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28388
28389         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28390           add test for state change message on a bin
28391         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28392           add another test
28393         * gst/gstbin.c: (gst_bin_init):
28394         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28395         * gst/gstelement.c: (gst_element_post_message),
28396         (gst_element_set_state):
28397         * gst/gstelementfactory.c: (gst_element_factory_create):
28398         * gst/gstmessage.c: (gst_message_new):
28399         * gst/gstscheduler.c:
28400           various debugging additions and cleanups
28401
28402 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28403
28404         * check/Makefile.am:
28405         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28406         (main):
28407           adding tests for elements
28408         * gst/gstelement.c: (gst_element_dispose):
28409
28410 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28411
28412         * gst/registries/gstlibxmlregistry.c: (load_feature):
28413           plug more leaks.  A simple gst_init() now is leakfree, yay.
28414
28415 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28416
28417         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28418         (gst_xml_registry_load):
28419           plug another memleak
28420
28421 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28422
28423         * configure.ac:
28424           use GST_SET_ERROR_CFLAGS
28425         * docs/faq/cvs.xml:
28426           change to ERROR_CFLAGS
28427
28428 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28429
28430         * configure.ac:
28431           make GST_ERROR_CFLAGS overridable and re-enable Werror
28432         * docs/faq/cvs.xml:
28433           add a note about error CFLAGS
28434         * docs/gst/tmpl/gstfakesrc.sgml:
28435         * gst/elements/gstfakesrc.c:
28436           comment out some unused code
28437         * gst/gst.c: (split_and_iterate):
28438         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28439         (load_feature):
28440           plug some memleaks
28441
28442 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28443
28444         * common/Makefile.am:
28445         * common/gtk-doc.mak:
28446         * docs/gst/Makefile.am:
28447           factor out gtk-doc.mak
28448
28449 2005-07-07  Wim Taymans  <wim@fluendo.com>
28450
28451         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28452         (gst_thread_scheduler_dispose):
28453         Unlock the STREAM_LOCK completely.
28454
28455 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28456
28457         * check/Makefile.am:
28458         * check/elements/.cvsignore:
28459         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28460         (START_TEST), (fakesrc_suite), (main):
28461         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28462         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28463         (gst_fakesrc_create), (gst_fakesrc_start):
28464         * gst/elements/gstfakesrc.h:
28465           adding a first element test
28466
28467 2005-07-07  Andy Wingo  <wingo@pobox.com>
28468
28469         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28470         debug message.
28471
28472 2005-07-07  Wim Taymans  <wim@fluendo.com>
28473
28474         * gst/gstquery.c:
28475         * gst/gstquery.h:
28476         Remove old types
28477
28478 2005-07-07  Wim Taymans  <wim@fluendo.com>
28479
28480         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28481         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28482         Allow subclasses to implement their own negotiation.
28483
28484 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28485
28486         * docs/design/part-gstbin.txt:
28487         * docs/design/part-gstpipeline.txt:
28488           Update design notes to reflect the movement of
28489           responsibility for bus handling from GstPipeline to
28490           GstBin
28491
28492 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28493
28494         * configure.ac:
28495           Remove unnecessary queue2/3/4 examples.
28496
28497 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28498
28499         * examples/Makefile.am:
28500         * examples/helloworld/helloworld.c: (event_loop), (main):
28501         * examples/queue/queue.c: (event_loop), (main):
28502         * examples/queue2/queue2.c: (main):
28503           Update a couple of the examples to work again.
28504
28505         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28506         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28507          Spelling corrections and extra debug.
28508         
28509         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28510         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28511         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28512         * gst/gstbin.h:
28513         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28514         (gst_pipeline_change_state):
28515         * gst/gstpipeline.h:
28516           Move the bus handler for children to the GstBin, and create a
28517           separate bus for receiving messages from children to the one the
28518           bus sends 'upwards' on.
28519
28520 2005-07-06  Wim Taymans  <wim@fluendo.com>
28521
28522         * gst/base/README:
28523         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28524         (gst_base_sink_handle_object), (gst_base_sink_loop),
28525         (gst_base_sink_change_state):
28526         * gst/base/gstbasesink.h:
28527         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28528         (gst_base_src_init), (gst_base_src_setcaps),
28529         (gst_base_src_getcaps), (gst_base_src_loop),
28530         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28531         (gst_base_src_start), (gst_base_src_change_state):
28532         * gst/base/gstbasesrc.h:
28533         Make basesrc negotiate.
28534         Handle the case where preroll fails in basesink.
28535         Update README.
28536
28537 2005-07-06  Wim Taymans  <wim@fluendo.com>
28538
28539         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28540         Implement the fixate function.
28541         Clean up acceptcaps.
28542
28543 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28544
28545         * docs/pwg/building-filterfactory.xml:
28546         * docs/pwg/pwg.xml:
28547           Remove never-written filter-factory chapter; I'll add the various
28548           base classes to part 4 ("other element types") later on.
28549
28550 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28551
28552         * docs/pwg/advanced-negotiation.xml:
28553         * docs/pwg/building-boiler.xml:
28554         * docs/pwg/building-pads.xml:
28555         * docs/pwg/pwg.xml:
28556         * examples/pwg/Makefile.am:
28557           Add a chapter on caps negotiation, simplify the original code
28558           samples a bit w.r.t. caps negotiation, add link to the advanced
28559           section. Add a bunch of examples showing different use cases of
28560           different types of caps negotiation. Upstream renegotiation isn't
28561           fully documented yet since nobody knows how that works.
28562
28563 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28564
28565         * check/gst/gstpad.c:
28566         * check/gstcheck.c:
28567         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28568           if pad has no parent, return NULL as list of internal links
28569
28570 2005-07-05  Andy Wingo  <wingo@pobox.com>
28571
28572         * gst/elements/gstfilesrc.c:
28573         * gst/elements/gstfakesrc.c: 
28574         * gst/base/gstpushsrc.c:
28575         * gst/base/gstbasesrc.h: 
28576         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28577         
28578 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28579
28580         * Makefile.am:
28581           better report generation target (lcov needs a patch)
28582
28583 2005-07-05  Andy Wingo  <wingo@pobox.com>
28584
28585         * gst/elements, testsuite: Null if we got it...
28586
28587 2005-07-05  Wim Taymans  <wim@fluendo.com>
28588
28589         * configure.ac:
28590         * libs/gst/dataprotocol/Makefile.am:
28591         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28592         * libs/gst/dataprotocol/dataprotocol.h:
28593         * pkgconfig/Makefile.am:
28594         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28595         * pkgconfig/gstreamer-dataprotocol.pc.in:
28596         Ported dataprotol to 0.9. 
28597         Added pkgconfig files.
28598
28599 2005-07-05  Andy Wingo  <wingo@pobox.com>
28600
28601         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28602         Default to returning TRUE for the case when tranform_caps returns
28603         a fixed caps, like for identity or volume.
28604
28605         * check/gst/gstbus.c (pound_bus_with_messages): 
28606         * check/gst/gstmessage.c (START_TEST): 
28607         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28608         message API change.
28609
28610         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28611         logic weaks here: always run transform_caps, trying passthrough
28612         operation only if the original caps intersects with the transform.
28613
28614         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28615         source and sink caps.
28616
28617         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28618         Intersect the peer caps with the pad template before going into
28619         transform_caps.
28620         (gst_base_transform_transform_caps): More debugging.
28621
28622         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28623         src argument.
28624
28625 2005-07-04  Edward Hervey  <edward@fluendo.com>
28626
28627         * gst/gstutils.c:
28628         * gst/gstutils.h:
28629         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28630         in bindings.
28631
28632 2005-07-04  Andy Wingo  <wingo@pobox.com>
28633
28634         * check/gst/gstpad.c: Only set explicit caps on pads.
28635
28636 2005-07-01  Andy Wingo  <wingo@pobox.com>
28637
28638         * tests/network-clock.scm: Commentary update.
28639
28640         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28641         Didn't really make sense, not implementable with basetransform,
28642         etc.
28643         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28644         attempt at implementing the sync property, needs an unlock method.
28645
28646         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28647         New func, by default returns the same caps (the identity
28648         transformation).
28649         (gst_base_transform_getcaps): Uses transform_caps to return
28650         something sensible.
28651         (gst_base_transform_setcaps): Complicated logic to get caps on
28652         both pads, even if they are different, and to call set_caps once
28653         for every time both pads get their caps set.
28654         (gst_base_transform_handle_buffer): Give the ref to the transform
28655         function. Allows in-place modification of the buffer.
28656
28657         * gst/base/gstbasetransform.h (transform_caps): New class method.
28658         Given caps on one side, what can I do on the other.
28659         (set_caps): Take two caps, one for each side of the element.
28660
28661         * gst/gstpad.h:
28662         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28663         caps in place. This is safe because we can check the mutability of
28664         the caps, and a good idea because fixate functions are just called
28665         as a matter of last resort. (Not actually implemented.)
28666         (gst_pad_set_caps): If the caps we're setting is actually the same
28667         as the existing pad caps, just update the pointer without calling
28668         setcaps. Assert that caps is either NULL or fixed, as per the
28669         docs.
28670
28671         * gst/gstghostpad.c: Update for fixate changes.
28672
28673 2005-07-02  Andy Wingo  <wingo@pobox.com>
28674
28675         * gst/gstcaps.c:
28676         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28677         two refcounts makes it immutable, which is enough. Doc more.
28678
28679 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28680
28681         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28682           Put the mini_object into GValue as a mini_object,
28683           not a gpointer, since that's how we declared
28684           the signal.
28685
28686 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28687
28688         * examples/pwg/Makefile.am:
28689           Fix buildbot again.
28690
28691 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28692
28693         * docs/pwg/building-testapp.xml:
28694           Add extra check.
28695         * examples/pwg/Makefile.am:
28696           Fix buildbot.
28697
28698 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28699
28700         * configure.ac:
28701         * examples/Makefile.am:
28702         * examples/pwg/Makefile.am:
28703         * examples/pwg/extract.pl:
28704           Enable building the PWG examples.
28705         * docs/pwg/advanced-interfaces.xml:
28706           Add URI interface stub.
28707         * docs/pwg/advanced-types.xml:
28708         * docs/pwg/other-autoplugger.xml:
28709         * docs/pwg/appendix-porting.xml:
28710         * docs/pwg/pwg.xml:
28711           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28712         * docs/pwg/building-boiler.xml:
28713         * docs/pwg/building-chainfn.xml:
28714         * docs/pwg/building-pads.xml:
28715         * docs/pwg/building-props.xml:
28716         * docs/pwg/building-state.xml:
28717         * docs/pwg/building-testapp.xml:
28718           Update the building-*.xml parts for 0.9 changes. All examples
28719           code blocks compile in examples/pwg/*.
28720
28721 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28722
28723         * docs/manual/advanced-autoplugging.xml:
28724         * docs/manual/appendix-checklist.xml:
28725         * docs/manual/appendix-integration.xml:
28726         * docs/manual/highlevel-components.xml:
28727           Fix playbin/decodebin examples, update docs a bit, mention bus
28728           instead of signals in various places, mention kmplayer and
28729           kaffeine since they have a working GStreamer backend in the KDE
28730           section.
28731
28732 2005-06-30  Wim Taymans  <wim@fluendo.com>
28733
28734         * CHANGES-0.9:
28735         * docs/design/draft-ghostpads.txt:
28736         * docs/design/draft-push-pull.txt:
28737         * docs/design/draft-query.txt:
28738         * docs/design/part-TODO.txt:
28739         * docs/design/part-query.txt:
28740         Added CHANGES-0.9 doc, updated status of other docs.
28741         
28742         * gst/gstquery.h:
28743         Remove "hmm" macro
28744
28745 2005-06-30  Wim Taymans  <wim@fluendo.com>
28746
28747         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28748         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28749         (gst_base_sink_change_state):
28750         * gst/base/gstbasesink.h:
28751         Some tweaks, only EOS and a buffer complete a preroll.
28752
28753 2005-06-30  Andy Wingo  <wingo@pobox.com>
28754
28755         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28756         activate_push down to the internal pad as well.
28757
28758 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28759
28760         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28761
28762         * gst/gsttaginterface.c:
28763           Some documentation fixes (#307394 and #307397).
28764
28765 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28766
28767         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28768
28769         * gst/gstvalue.c: (gst_value_intersect_list):
28770           Fix memleak (#309125).
28771
28772 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28773
28774         * docs/manual/advanced-dataaccess.xml:
28775           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28776         * docs/manual/basics-pads.xml:
28777           Add reference for filtered caps to above chapter.
28778
28779 2005-06-30  Wim Taymans  <wim@fluendo.com>
28780
28781         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28782         (gst_bin_change_state):
28783         Probes are gone.
28784         Lame attempt at making the state change function a bit
28785         more readable.
28786
28787 2005-06-30  Wim Taymans  <wim@fluendo.com>
28788
28789         * docs/design/part-clocks.txt:
28790         * docs/design/part-element-sink.txt:
28791         * docs/design/part-events.txt:
28792         * docs/design/part-preroll.txt:
28793         * docs/design/part-states.txt:
28794         Some more tweeks and additions to the docs.
28795
28796 2005-06-30  Wim Taymans  <wim@fluendo.com>
28797
28798         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28799         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28800         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28801         (gst_pad_check_pull_range), (gst_pad_get_range),
28802         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28803         * gst/gstpad.h:
28804         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28805         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28806         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28807         (gst_pad_remove_buffer_probe):
28808         Removed atomic operations, use existing LOCK.
28809         Move exception handling out of main code path.
28810
28811 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28812
28813         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28814         (silly_return_true_function), (gst_pad_class_init),
28815         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28816         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28817         (gst_pad_send_event):
28818           Fix accumulator, add default value by using _emitv() instead
28819           of _emit() for signal emission.
28820
28821 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28822
28823         * docs/manual/advanced-dataaccess.xml:
28824         * examples/manual/Makefile.am:
28825           Add probe example.
28826         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28827           Make work (??).
28828
28829 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28830
28831         * gst/elements/gstfilesink.c: (gst_filesink_render):
28832           Simplify code so that we don't have to handle short
28833           writes and return GST_FLOW_ERROR if an error occured.
28834
28835 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28836
28837         * docs/gst/gstreamer-docs.sgml:
28838           Remove probes more.
28839
28840 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28841
28842         * docs/gst/gstreamer-sections.txt:
28843         * docs/gst/tmpl/gstpad.sgml:
28844         * docs/gst/tmpl/gstprobe.sgml:
28845         * gst/Makefile.am:
28846         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28847         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28848         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28849         (gst_pad_push_event), (gst_pad_send_event):
28850         * gst/gstpad.h:
28851         * gst/gstutils.c: (gst_pad_add_data_probe),
28852         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28853         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28854         (gst_pad_remove_buffer_probe):
28855         * gst/gstutils.h:
28856           Remove old probes, add new g-signal-based probes and some utility
28857           functions.
28858
28859 2005-06-29  Edward Hervey  <edward@fluendo.com>
28860
28861         * gst/gstelementfactory.c:
28862         * gst/gstutils.h:
28863         * gst/gstutils.c:
28864         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28865         the definition to the header file.
28866
28867 2005-06-29  Andy Wingo  <wingo@pobox.com>
28868
28869         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28870         plugins from the source directory.
28871
28872 2005-06-29  Wim Taymans  <wim@fluendo.com>
28873
28874         * docs/gst/tmpl/gstbuffer.sgml:
28875         * docs/gst/tmpl/gstclock.sgml:
28876         Some fixings for blantently wrong text.
28877
28878 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28879
28880         * check/Makefile.am:
28881         * gst/gst.c: (add_path_func), (init_pre):
28882         * gst/gstregistry.c: (gst_registry_add_path):
28883           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28884           only scan the GST_PLUGIN_PATH locations, and not add
28885           system locations
28886
28887 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
28888
28889         * docs/gst/gstreamer-sections.txt:
28890         * docs/gst/tmpl/gstbasesrc.sgml:
28891         * gst/gstelement.c:
28892         * gst/gstelement.h:
28893         * gst/gstevent.c:
28894         * gst/gstutils.c:
28895           doc fixes
28896
28897 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28898
28899         * docs/manual/advanced-autoplugging.xml:
28900           Fix autoplugging example.
28901
28902 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28903
28904         * docs/manual/advanced-autoplugging.xml:
28905         * docs/manual/mime-world.fig:
28906           Try to get autoplugging working, fix type detection. Fix text
28907           in hello-world image.
28908
28909 2005-06-29  Wim Taymans  <wim@fluendo.com>
28910
28911         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28912         (gst_base_sink_change_state):
28913         Small debug line.
28914
28915         * gst/gstclock.h:
28916         map SIGNAL and BROADCAST to the right function.
28917
28918         * gst/gstobject.h:
28919         Remove redundant braces.
28920
28921         * gst/gstpad.c: (gst_pad_set_caps):
28922         Don't call setcaps function when reseting caps to NULL.
28923
28924         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28925         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28926         (gst_system_clock_id_unschedule):
28927         Use BROADCAST as this is what we do.
28928
28929 2005-06-29  Wim Taymans  <wim@fluendo.com>
28930
28931         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28932         We are actually prerolling before commiting the state
28933         change. 
28934
28935 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28936
28937         * docs/manual/advanced-clocks.xml:
28938         * docs/manual/advanced-interfaces.xml:
28939         * docs/manual/advanced-metadata.xml:
28940         * docs/manual/advanced-position.xml:
28941         * docs/manual/advanced-schedulers.xml:
28942         * docs/manual/advanced-threads.xml:
28943         * docs/manual/appendix-porting.xml:
28944         * docs/manual/basics-bins.xml:
28945         * docs/manual/basics-bus.xml:
28946         * docs/manual/basics-elements.xml:
28947         * docs/manual/basics-helloworld.xml:
28948         * docs/manual/basics-pads.xml:
28949         * docs/manual/highlevel-components.xml:
28950         * docs/manual/manual.xml:
28951         * docs/manual/thread.fig:
28952           Update (until threads/scheduling) Application Development Manual;
28953           remove GstThread, add GstBus, add simple porting checklist, add
28954           documentation for tag writing, clocks, make all examples until this
28955           part compile and run.
28956         * examples/manual/Makefile.am:
28957           Update from changes to Application Development Manual; add bus
28958           example, remove thread example.
28959
28960 2005-06-28  Wim Taymans  <wim@fluendo.com>
28961
28962         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28963         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28964         (gst_bus_source_dispatch):
28965         Add debugging messages.
28966         Make internal methods static.
28967         Handle the case where the bus is flushed in the handler.
28968         
28969         * gst/gstelement.c: (gst_element_get_bus):
28970         Fix refcount in _get_bus();
28971
28972         * gst/gstpipeline.c: (gst_pipeline_change_state),
28973         (gst_pipeline_get_clock_func):
28974         Clock refcounting fixes.
28975         Handle the case where preroll timed out more gracefully.
28976         
28977         * gst/gstsystemclock.c: (gst_system_clock_dispose):
28978         Clean up the internal thread in dispose. This is needed
28979         for subclasses that actually get disposed.
28980         
28981         * gst/schedulers/threadscheduler.c:
28982         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28983         (gst_thread_scheduler_dispose):
28984         Free thread pool in dispose.
28985
28986 2005-06-28  Andy Wingo  <wingo@pobox.com>
28987
28988         * tests/network-clock-utils.scm (debug, print-event): New utils.
28989
28990         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28991         (*packet-loss*): Unified loss probability.
28992         (network-time): Report out-of-band events.
28993
28994         * tests/plot-data: Add support for out-of-band events. Hack it
28995         into this script instead of passing it down the pipe; should fix
28996         this later.
28997
28998 2005-06-28  Wim Taymans  <wim@fluendo.com>
28999
29000         * docs/gst/gstreamer.types:
29001         * docs/gst/tmpl/gstbasesrc.sgml:
29002         * docs/gst/tmpl/gstpad.sgml:
29003         Docs fixes.
29004
29005 2005-06-28  Wim Taymans  <wim@fluendo.com>
29006
29007         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29008         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29009         (gst_proxy_pad_do_fixatecaps):
29010         Correctly proxy the check_pull_range function.
29011
29012 2005-06-28  Andy Wingo  <wingo@pobox.com>
29013
29014         * tests/network-clock.scm: Removed need for slib.
29015         
29016 2005-06-28  Wim Taymans  <wim@fluendo.com>
29017
29018         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29019         (gst_basesink_preroll_queue_flush):
29020         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29021         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29022         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29023         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29024         (gst_proxy_pad_set_property):
29025         * gst/gstpad.c:
29026         * gst/gstpad.h:
29027         * gst/gstqueue.c: (gst_queue_init):
29028         The deprecated pad loop function is removed now.
29029
29030 2005-06-28  Andy Wingo  <wingo@pobox.com>
29031
29032         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29033         New parameters, simulate network packet loss.
29034
29035         * tests/network-clock-utils.scm: Initialize the RNG.
29036
29037 2005-06-28  Wim Taymans  <wim@fluendo.com>
29038
29039         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29040         (gst_basesink_event), (gst_basesink_deactivate):
29041         Flushing the preroll queue always needs to unlock the waiters.
29042
29043 2005-06-28  Edward Hervey  <edward@fluendo.com>
29044
29045         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29046         Wheen a seek was successful on a pipeline, set the stream_time to the
29047         seek offset in order to have a synchronized stream_time.
29048
29049 2005-06-28  Wim Taymans  <wim@fluendo.com>
29050
29051         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29052         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29053         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29054         (gst_proxy_pad_do_fixatecaps):
29055         Call wrapper function instead of just calling the function
29056         pointers. This takes care of any locking and whatmore.
29057
29058 2005-06-28  Wim Taymans  <wim@fluendo.com>
29059
29060         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29061         (gst_pad_pull_range):
29062         * gst/gstpad.h:
29063         CONNECTED -> LINKED.
29064
29065 2005-06-28  Andy Wingo  <wingo@pobox.com>
29066
29067         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29068         source-munging commit!!!
29069
29070         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29071         (gst_object_sink): Take gpointer arguments, not GstObject --
29072         avoids casts. Like GLib.
29073
29074         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29075         activate.
29076
29077 2005-06-27  Andy Wingo  <wingo@pobox.com>
29078
29079         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29080         remaining buffer.
29081
29082         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29083         returns a sorted copy of the trace list.
29084         (gst_alloc_trace_print_live): New API, only prints traces with
29085         live objects. Sort the list.
29086         (gst_alloc_trace_print_all): Sort the list.
29087         (gst_alloc_trace_print): Align columns.
29088
29089         * gst/elements/gstttypefindelement.c:
29090         * gst/elements/gsttee.c:
29091         * gst/base/gstbasesrc.c:
29092         * gst/base/gstbasesink.c:
29093         * gst/base/gstbasetransform.c:
29094         * gst/gstqueue.c: Adapt for pad activation changes.
29095
29096         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29097         sched.
29098         (gst_pipeline_dispose): Drop ref on sched.
29099
29100         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29101         (gst_pad_activate_default): Push mode by default.
29102         (pre_activate_switch, post_activate_switch): New stubs, things to
29103         do before and after switching activation modes on pads.
29104         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29105         the pad's activate function to choose which mode to activate.
29106         Shortcut on deactivation and call the right function directly.
29107         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29108         mode.
29109         (gst_pad_activate_push): New API, same for push mode.
29110         (gst_pad_set_activate_function) 
29111         (gst_pad_set_activatepull_function) 
29112         (gst_pad_set_activatepush_function): Setters for new API.
29113
29114         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29115         Trace all miniobjects.
29116         (gst_mini_object_make_writable): Unref the arg if we copy, like
29117         gst_caps_make_writable.
29118
29119         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29120
29121         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29122         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29123         Adapt for new pad API.
29124
29125         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29126
29127         * gst/gstelement.h:
29128         * gst/gstelement.c (gst_element_iterate_src_pads) 
29129         (gst_element_iterate_sink_pads): New API functions.
29130         
29131         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29132         should fold into gstiterator.c in some form.
29133         (gst_element_pads_activate): Simplified via use of fold and
29134         delegation of decisions to gstpad->activate.
29135
29136         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29137         help in debugging.
29138
29139         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29140         class once in init, like gstmessage. Didn't run into this issue
29141         but it seems correct. Don't initialize a trace, gstminiobject does
29142         that.
29143
29144         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29145         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29146         to the bus.
29147         (assert_live_count): New util function, uses alloc traces to check
29148         cleanup.
29149
29150         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29151         To be modified when unlink drops the internal pad.
29152
29153 2005-06-27  Wim Taymans  <wim@fluendo.com>
29154
29155         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29156         (gst_bin_change_state):
29157         Cleanup the get_state() function a little, make sure it
29158         iterates the same set of elements.
29159         Added stub iterate_state_order().
29160
29161 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29162
29163         * docs/gst/gstreamer-docs.sgml:
29164         * docs/gst/gstreamer-sections.txt:
29165         * docs/gst/gstreamer.types:
29166         * docs/gst/tmpl/gstbasesink.sgml:
29167         * docs/gst/tmpl/gstbasesrc.sgml:
29168         * docs/gst/tmpl/gstbasetransform.sgml:
29169         * docs/gst/tmpl/gstelement.sgml:
29170         * docs/gst/tmpl/gstiterator.sgml:
29171         * gst/base/gstbasesrc.c:
29172         * gst/base/gstbasesrc.h:
29173         * gst/base/gstbasetransform.h:
29174         * gst/gstelement.c:
29175         * gst/gstiterator.h:
29176           adding basetransform and iterator docs
29177
29178 2005-06-27  Andy Wingo  <wingo@pobox.com>
29179
29180         * docs/design/part-activation.txt: Notes on how activation should
29181         work -- not quite implemented yet.
29182
29183 2005-06-25  Wim Taymans  <wim@fluendo.com>
29184
29185         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29186         At least get the chain function correct, needs more
29187         fixing.
29188
29189 2005-06-25  Wim Taymans  <wim@fluendo.com>
29190
29191         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29192         (gst_basesink_handle_object), (gst_basesink_event),
29193         (gst_basesink_do_sync), (gst_basesink_handle_event),
29194         (gst_basesink_change_state):
29195         * gst/gsttask.h:
29196         Right, two problems here: ghostpads don't take locks and
29197         glib _rec_mutex_lock_full() with depth==0 still locks.
29198         Catch illegal locking and g_warn them.
29199
29200 2005-06-25  Wim Taymans  <wim@fluendo.com>
29201
29202         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29203         Have to check for completion now...
29204
29205 2005-06-25  Wim Taymans  <wim@fluendo.com>
29206
29207         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29208         (gst_basesink_handle_object), (gst_basesink_event),
29209         (gst_basesink_do_sync), (gst_basesink_handle_event),
29210         (gst_basesink_change_state):
29211         * gst/gstpad.h:
29212         Unlock STREAM_LOCK whatever the recursion was.
29213
29214 2005-06-25  Wim Taymans  <wim@fluendo.com>
29215
29216         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29217         (gst_basesink_preroll_queue_empty),
29218         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29219         (gst_basesink_event), (gst_basesink_do_sync),
29220         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29221         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29222         (gst_basesink_change_state):
29223         Reworked the base sink, handle event and buffer serialisation
29224         correctly and removed possible deadlock.
29225         Handle EOS correctly.
29226
29227 2005-06-25  Wim Taymans  <wim@fluendo.com>
29228
29229         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29230         (gst_pipeline_change_state):
29231         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29232         Allow elements to post EOS in the state change function.
29233         Fix up -launch, make it exit the poll loop when the
29234         pipeline actually changed state.
29235         Fix up warning parsing in -launch.
29236
29237 2005-06-25  Wim Taymans  <wim@fluendo.com>
29238
29239         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29240         (gst_tee_sink_activate):
29241         Core takes STREAM_LOCK for us now.
29242
29243 2005-06-25  Wim Taymans  <wim@fluendo.com>
29244
29245         * gst/gstelement.c: (gst_element_get_state_func),
29246         (gst_element_set_state):
29247         * gst/gstelement.h:
29248         * gst/gstmessage.c: (gst_message_parse_error),
29249         (gst_message_parse_warning):
29250         Keep track of current target state while performing a state
29251         change so that subclasses can do something interesting.
29252         Fix parsing of warning/error messages when GError is NULL.
29253
29254 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29255
29256         * docs/gst/Makefile.am:
29257         * docs/gst/gstreamer-docs.sgml:
29258         * docs/gst/gstreamer-sections.txt:
29259         * docs/gst/gstreamer.types:
29260         * docs/gst/tmpl/gstbasesink.sgml:
29261         * docs/gst/tmpl/gstbasesrc.sgml:
29262         * docs/gst/tmpl/gstbin.sgml:
29263         * docs/gst/tmpl/gstcompat.sgml:
29264         * docs/gst/tmpl/gstfakesink.sgml:
29265         * docs/gst/tmpl/gstfakesrc.sgml:
29266         * docs/gst/tmpl/gstfilesink.sgml:
29267         * docs/gst/tmpl/gstfilesrc.sgml:
29268         * docs/gst/tmpl/gstindex.sgml:
29269         * docs/manual/appendix-quotes.xml:
29270         * gst/base/gstbasesrc.h:
29271         * gst/elements/gstfakesrc.h:
29272         * gst/gstmessage.h:
29273           start pulling in base classes and elements in our docs
29274
29275 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29276
29277         * docs/gst/Makefile.am:
29278         * docs/libs/Makefile.am:
29279           fixed make distcheck with gtk-doc 1.3
29280
29281 2005-06-23  Wim Taymans  <wim@fluendo.com>
29282
29283         * gst/gstelement.c: (gst_element_get_state_func),
29284         (gst_element_set_state), (gst_element_change_state):
29285         When the state did not change, also report NO_PREROLL
29286         when it matters.
29287
29288 2005-06-23  Wim Taymans  <wim@fluendo.com>
29289
29290         * gst/gstpad.c: (gst_pad_event_default):
29291         * gst/gstqueue.c: (gst_queue_loop):
29292         No unsafe task pausing please.
29293
29294 2005-06-23  Wim Taymans  <wim@fluendo.com>
29295
29296         * gst/schedulers/threadscheduler.c:
29297         (gst_thread_scheduler_task_start),
29298         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29299         Ref the task before pushing it on the threadpool. This
29300         makes sure that we have a ref when the threadfunction is
29301         actually called.
29302
29303 2005-06-23  Andy Wingo  <wingo@pobox.com>
29304
29305         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29306         offset is greater than the file's size.
29307
29308         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29309         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29310         * gst/gstobject.c (gst_object_class_init): Make the class lock
29311         recursive. Wim won't let me drop deep_notify. Decodebin works
29312         again, whoopdy doo.
29313
29314         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29315         internal pad, and hacks accordingly. Doesn't do it on the target
29316         pad because we change its caps. Probably catches all cases of
29317         interest tho.
29318         (gst_ghost_pad_set_property): Connect to notify::caps as
29319         appropritate.
29320
29321         * tests/network-clock.scm (plot-simulation): Pipe data to the
29322         elite python skript.
29323
29324         * tests/network-clock-utils.scm (define-parameter): New macro,
29325         defines a parameter that can be set via the command line.
29326         (set-parameter!, parse-parameter-arguments): Command line args
29327         parser.
29328
29329         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29330         stdin.
29331
29332 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29333
29334         * gst/elements/gsttypefindelement.c:
29335         (gst_type_find_element_handle_event):
29336           Don't restart typefinding on a discont.
29337         * gst/gstelement.c: (gst_element_set_state):
29338           Debug spelling fix.
29339         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29340           Allow changing mode of an active pad.
29341           Debug output fixes.
29342         * gst/registries/gstlibxmlregistry.c: (load_feature):
29343           Don't cast a static pad template to a normal pad template.
29344
29345 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29346
29347         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29348         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29349           remove gst_strtoll completely, since it didn't actually do
29350           anything more than what g_ascii_strtoull already does.
29351           check for range errors when deserializing
29352           do a cast for the unsigned cases; but further fixing needs
29353           a decision on what the interpretation of "(int)" and
29354           deserialization should be for values that fall outside the
29355           type's boundaries (ie, refuse, or interpret as casting)
29356
29357 2005-06-23  Wim Taymans  <wim@fluendo.com>
29358
29359         * check/Makefile.am:
29360         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29361         * docs/design/part-live-source.txt:
29362         * docs/design/part-states.txt:
29363         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29364         (gst_basesrc_set_live), (gst_basesrc_is_live),
29365         (gst_basesrc_get_range), (gst_basesrc_activate),
29366         (gst_basesrc_change_state):
29367         * gst/base/gstbasesrc.h:
29368         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29369         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29370         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29371         * gst/gstelement.c: (gst_element_get_state_func),
29372         (gst_element_set_state):
29373         * gst/gstelement.h:
29374         * gst/gsttypes.h:
29375         * tools/gst-launch.c: (event_loop), (main):
29376         Added support for live sources and other elements that
29377         cannot do preroll.
29378         Updated design docs, added live-source design doc.
29379         Implemented live source functionality in basesrc
29380         Fix error condition in _bin_get_state()
29381         Implement live source handling in -launch.
29382         Added check for live sources.
29383         Fixed case in GstBin where elements were changed state
29384         multiple times.
29385
29386
29387 2005-06-23  Andy Wingo  <wingo@pobox.com>
29388
29389         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29390         borken refcounting.
29391
29392         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29393         gst_caps_replace takes care of this for us.
29394
29395         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29396         gst_pad_set_caps on the target, not just its setcaps() function.
29397
29398         * tests/network-clock.scm: 
29399         * tests/network-clock-utils.scm: A network clock simulator.
29400         Something of an algorithmic testbed before doing something in C.
29401
29402 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29403
29404         * check/Makefile.am:
29405         * check/gst/capslist.h:
29406           copy over from 0.8, and add two with bitmasks specified with
29407           (int) 0xFF...
29408         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29409           add test to parse everything from capslist.h
29410         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29411         (main):
29412           add test for structure deserialization
29413         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29414           add tests for deserialization of strings to int types
29415         * gst/gststructure.c: (gst_structure_nth_field_name):
29416         * gst/gststructure.h:
29417           add a way to get the name of a field referenced by index
29418         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29419           instead of checking if the resulting long long lies between
29420           min and max, we check if the long long would fit into
29421           a number of bytes for the final type.
29422           This fixes cases where a string represents 2^32 - 1, which
29423           when cast to int would be the (valid) -1, but is bigger than
29424           G_MAXINT
29425
29426 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29427
29428         * gst/parse/grammar.y:
29429           add a log line for type deserialization
29430
29431 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29432
29433         * check/gst/gstvalue.c: (START_TEST):
29434         * gst/gstvalue.c: (gst_value_deserialize):
29435           return long long, not int, so gint64 deserialization actually
29436           works.  Is there any flag that makes the compiler check this ?
29437           Fixes #308559
29438
29439 2005-06-22  Wim Taymans  <wim@fluendo.com>
29440
29441         * gst/gstbuffer.h:
29442         Added convenience macros for setting buffers in GValue.
29443
29444 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29445
29446         * check/gst/.cvsignore:
29447         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29448           add a test deserializing int64, and comment part out because
29449           it fails, yay !
29450
29451 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29452
29453         * check/Makefile.am:
29454         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29455         * testsuite/Makefile.am:
29456         * testsuite/caps/Makefile.am:
29457         * testsuite/caps/value_serialize.c:
29458         * testsuite/test_gst_init.c:
29459           move a value_serialize test over
29460
29461 2005-06-20  Wim Taymans  <wim@fluendo.com>
29462
29463         * gst/gstpad.c:
29464         Small doc updates.
29465         
29466         * gst/gstvalue.c: (gst_value_compare_buffer),
29467         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29468         (gst_value_compare_flags), (gst_value_serialize_flags),
29469         (gst_value_deserialize_flags), (_gst_value_initialize):
29470         Fix serialisation of buffers, they are not boxed types anymore
29471
29472 2005-06-20  Wim Taymans  <wim@fluendo.com>
29473
29474         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29475         Testcase to show error in buffer-on-caps serialisation.
29476
29477 2005-06-20  Andy Wingo  <wingo@pobox.com>
29478
29479         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29480         will be adding to later.
29481
29482         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29483         if its socks fill with rocks.
29484         (gst_system_clock_obtain): Set the name on object construction.
29485         Avoid double-checked locking.
29486
29487 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29488
29489         * gst/gsturi.c: (gst_element_make_from_uri):
29490           Fix potential endless loop.
29491
29492 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29493
29494         * check/Makefile.am:
29495           add gsttag
29496         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29497         (main):
29498           move over from testsuite dir and clean up
29499         * configure.ac:
29500         * gst/gsttag.c:
29501         * testsuite/Makefile.am:
29502         * testsuite/tags/.cvsignore:
29503         * testsuite/tags/Makefile.am:
29504         * testsuite/tags/merge.c:
29505           remove testsuite/tags
29506
29507 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29508
29509         * docs/gst/gstreamer-sections.txt:
29510         * docs/gst/tmpl/gstenumtypes.sgml:
29511         * win32/gstenumtypes.c:
29512           clean up documentation build a little
29513
29514 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29515
29516         * check/gstcheck.h:
29517           add macros for checking refcounts on objects and caps
29518         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29519           add some more unit tests
29520         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29521         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29522           fix leaked refcounts (I hope :)) so unittest works
29523         * gst/gstpad.h:
29524           whitespace removal
29525
29526 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29527
29528         * configure.ac: back to HEAD
29529
29530 === release 0.9.1 ===
29531
29532 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29533
29534         * NEWS:
29535         * RELEASE:
29536           updated
29537
29538 2005-06-17  Andy Wingo  <wingo@pobox.com>
29539
29540         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29541         assert; it's always possible that the pad gets deactivated in
29542         between the checks in gstpad.c and the implementation. Rely on
29543         finish_preroll() to return a FLUSHING or similar instead of on the
29544         assert.
29545         
29546         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29547         clock and post an EOS message if we come out of finish_preroll in
29548         the playing state.
29549
29550 2005-06-16  David Schleef  <ds@schleef.org>
29551
29552         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29553         (gst_capsfilter_set_property): Allow NULL as possible value
29554         for filter_caps property, indicating GST_CAPS_ANY.
29555
29556 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29557
29558         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29559           fix debug output
29560         * gst/schedulers/Makefile.am:
29561           use libgst prefix
29562         * gstreamer.spec.in:
29563           fix spec for it
29564
29565 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29566
29567         * gstreamer.spec.in:
29568           clean up
29569
29570 2005-06-08  Andy Wingo  <wingo@pobox.com>
29571
29572         * gst/gstutils.c: RPAD fixes all around.
29573         (gst_element_link_pads): Refcounting fixes.
29574
29575         * tools/gst-inspect.c:
29576         * tools/gst-xmlinspect.c:
29577         * parse/grammar.y:
29578         * gst/base/gsttypefindhelper.c:
29579         * gst/base/gstbasesink.c:
29580         * gst/gstqueue.c: RPAD fixes.
29581
29582         * gst/gstghostpad.h:
29583         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29584         pads. The tricky thing is they provide both source and sink
29585         interfaces, since they proxy the internal pad for the external
29586         pad, and vice versa. Implement with lower-level ProxyPad objects,
29587         with the interior proxy pad as a child of the exterior ghost pad.
29588         Should write a doc on this.
29589         
29590         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29591         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29592         gst_object API.
29593         
29594         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29595         pads are real pads. No ghost pads in this file. Not documenting
29596         the myriad s/RPAD/PAD/ and REALIZE fixes.
29597         (gst_pad_class_init): Add properties for "direction" and
29598         "template". Both are construct-only, so they can't change during
29599         the life of the pad. Fixes properly deriving from GstPad.
29600         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29601         derived objects, just set properties when creating the objects via
29602         g_object_new.
29603         (gst_pad_get_parent): Implement as a function, return NULL if the
29604         parent is not an element.
29605         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29606         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29607         
29608         * gst/gstobject.c (gst_object_class_init): Make name a construct
29609         property. Don't set it in the object init.
29610
29611         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29612         with UNKNOWN direction.
29613         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29614         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29615         (gst_element_remove_pad): Remove ghost-pad special cases.
29616         (gst_element_pads_activate): Remove rpad cruft.
29617
29618         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29619         catch the pad's-parent-not-an-element case.
29620
29621         * gst/gst.h: Include gstghostpad.h.
29622
29623         * gst/gst.c (init_post): No more real, ghost pads.
29624
29625         * gst/Makefile.am: Add gstghostpad.[ch].
29626
29627         * check/Makefile.am:
29628         * check/gst/gstbin.c:
29629         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29630         into a bin creates ghost pads, and that the refcounts are right.
29631         Partly moved from gstbin.c.
29632
29633 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29634
29635         * check/gst-libs/.cvsignore:
29636         * check/gst/.cvsignore:
29637         * check/pipelines/.cvsignore:
29638           ignore more
29639         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29640         (START_TEST), (cleanup_suite), (main):
29641           add some tests related to cleanup after running pipelines
29642
29643 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29644
29645         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29646           add a testsuite for GstBuffer
29647
29648 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29649
29650         * gst/gstminiobject.h:
29651           add defines for accessing the refcount
29652
29653 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29654
29655         * Makefile.am: added support for html unit test coverage reports
29656
29657 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29658
29659         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29660           Free existing caps if the capsfilter changes. Add a FIXME about
29661           setting those caps on the pads.
29662
29663         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29664           Before adding a ghost pad to a parent bin, check that there isn't
29665           already one for the element on the bin. Prevents infinite recursion
29666           when using decodebin in parse pipelines. Andy says he'll rewrite the
29667           way this works anyway, so ignore the hack.
29668
29669 2005-06-02  Andy Wingo  <wingo@pobox.com>
29670
29671         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29672         file size, pass it on to the type find helper.
29673
29674         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29675         segment_start and segment_end properly according to the seek
29676         method. Segment_end is still a bit flaky because offset can be
29677         negative for CUR and END cases, but it takes -1 as an "unset"
29678         value.
29679
29680 2005-06-02  Wim Taymans  <wim@fluendo.com>
29681
29682         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29683         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29684         (gst_basesink_activate):
29685         * gst/base/gstbasesink.h:
29686         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29687         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29688         (gst_pad_query), (gst_pad_start_task):
29689         * gst/gstpad.h:
29690         * gst/gstqueue.c: (gst_queue_bufferalloc),
29691         (gst_queue_handle_sink_event), (gst_queue_chain):
29692         Bufferalloc: return GstFlowReturn to more accuratly report
29693         why allocation failed.
29694
29695 2005-06-02  Wim Taymans  <wim@fluendo.com>
29696
29697         * gst/gstpipeline.c: (gst_pipeline_send_event):
29698         Take snapshot of state without blocking.
29699
29700 2005-06-02  Wim Taymans  <wim@fluendo.com>
29701
29702         * docs/design/part-TODO.txt:
29703         * docs/design/part-caps.txt:
29704         * docs/design/part-clocks.txt:
29705         * docs/design/part-negotiation.txt:
29706         * docs/design/part-preroll.txt:
29707         Small doc updates 
29708
29709 2005-05-30  Wim Taymans  <wim@fluendo.com>
29710
29711         * gst/elements/gstidentity.c: (gst_identity_event),
29712         (gst_identity_transform), (gst_identity_get_property):
29713         Protect last_message property as it is accessed from
29714         multiple threads.
29715
29716 2005-05-30  Wim Taymans  <wim@fluendo.com>
29717
29718         * gst/gstelement.c: (gst_element_init),
29719         (gst_element_pads_activate), (gst_element_change_state):
29720         Slicker pad activation code.
29721
29722 2005-05-30  Wim Taymans  <wim@fluendo.com>
29723
29724         * gst/Makefile.am:
29725         * gst/gstelement.h:
29726         * gst/gstelementfactory.h:
29727         * gst/gsttypes.h:
29728         Move elementfactory methods to separate .h file.
29729
29730 2005-05-30  Wim Taymans  <wim@fluendo.com>
29731
29732         * docs/design/part-overview.txt:
29733         * gst/gstsystemclock.h:
29734         Small typo fixes, doc updates.
29735
29736 2005-05-30  Wim Taymans  <wim@fluendo.com>
29737
29738         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29739         (init_popt_callback):
29740         Remove cpu-opt flag.
29741
29742 2005-05-30  Wim Taymans  <wim@fluendo.com>
29743
29744         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29745         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29746         * gst/gstbuffer.h:
29747         Avoid typechecking in places where not needed.
29748         Added accessor for malloc_data.
29749
29750 2005-05-30  Wim Taymans  <wim@fluendo.com>
29751
29752         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29753         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29754         (gst_pad_configure_sink), (gst_pad_configure_src),
29755         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29756         (gst_pad_start_task):
29757         Propagate errors from _set_caps() in configure_src/sink
29758         functions instead of returning TRUE.
29759         FLUSH events can travel up and downstream
29760
29761
29762 2005-05-30  Wim Taymans  <wim@fluendo.com>
29763
29764         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29765         (gst_basesink_activate):
29766         Handle EOS in preroll.
29767
29768 2005-05-30  Wim Taymans  <wim@fluendo.com>
29769
29770         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29771         (gst_queue_loop), (gst_queue_handle_src_event):
29772         Remove old pieces of code
29773         Flushing the queue in an upstream event is a very bad idea.
29774
29775 2005-05-26  Andy Wingo  <wingo@pobox.com>
29776
29777         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29778         gst_value_set_mini_object so as to add a ref on the object (which
29779         will be removed when the value is unset).
29780
29781         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29782         arg type in ::handoff.
29783
29784         * gst/gstelement.c (gst_element_change_state): Also deactivate
29785         pads in READY->NULL, just in case the element didn't make it to
29786         PAUSED. Wingo tested, Wim approved.
29787
29788 2005-05-26  Wim Taymans  <wim@fluendo.com>
29789
29790         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29791         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29792         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29793         A flushing pad cannot be used to alloc_buffer from.
29794
29795 2005-05-26  Wim Taymans  <wim@fluendo.com>
29796
29797         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29798         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29799         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29800         (gst_bus_create_watch), (gst_bus_add_watch_full):
29801         * gst/gstbus.h:
29802         Implement a real GSource and use g_main_context_wakeup() to
29803         signal new messages instead of the socketpair.
29804
29805 2005-05-25  Wim Taymans  <wim@fluendo.com>
29806
29807         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29808         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29809         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29810         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29811         (gst_pad_send_event), (gst_pad_start_task):
29812         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29813         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29814         (gst_queue_sink_activate), (gst_queue_src_activate),
29815         (gst_queue_change_state):
29816         * gst/gstqueue.h:
29817         Fix state changes for non sinks. We now change sinks, then elements
29818         with unconnected srcpads, then the rest.
29819         More efficient queue unlocking in flush and state changes.
29820         Set the pad activate mode even if it does not have an activate
29821         function.
29822
29823 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29824
29825         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29826           Don't go in pull mode for non-seekable sources.
29827         * gst/elements/gsttypefindelement.h:
29828         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29829         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29830         (free_entry), (stop_typefinding),
29831         (gst_type_find_element_handle_event), (find_peek),
29832         (gst_type_find_element_chain), (do_pull_typefind),
29833         (gst_type_find_element_change_state):
29834           Allow typefinding (w/o seeking) in push-mode, simplified version
29835           of what was in 0.8.
29836         * gst/gstutils.c: (gst_buffer_join):
29837         * gst/gstutils.h:
29838           gst_buffer_join() from 0.8.
29839
29840 2005-05-25  Wim Taymans  <wim@fluendo.com>
29841
29842         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29843         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29844         (gst_pad_send_event), (gst_pad_start_task):
29845         Disable attempt at mode switching until it is figured out.
29846
29847 2005-05-25  Wim Taymans  <wim@fluendo.com>
29848
29849         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29850         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29851         (gst_basesink_finish_preroll), (gst_basesink_chain),
29852         (gst_basesink_loop), (gst_basesink_activate),
29853         (gst_basesink_change_state):
29854         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29855         (gst_basesrc_get_range), (gst_basesrc_loop),
29856         (gst_basesrc_activate):
29857         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29858         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29859         (gst_real_pad_init), (gst_real_pad_set_property),
29860         (gst_real_pad_get_property), (gst_pad_set_active),
29861         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29862         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29863         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29864         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29865         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29866         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29867         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29868         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29869         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29870         (gst_pad_stop_task):
29871         * gst/gstpad.h:
29872         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29873         (gst_queue_loop), (gst_queue_src_activate):
29874         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29875         (gst_task_get_state):
29876         * gst/gsttask.h:
29877         * gst/schedulers/threadscheduler.c:
29878         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29879         Implement gst_pad_pause/start/stop_task(), take STREAM lock
29880         in task function.
29881         Remove ACTIVE pad flag, use FLUSHING everywhere
29882         Added _pad_chain(), _pad_get_range() to call chain/getrange 
29883         functions.
29884         Add locks around IS_FLUSHING when reading.
29885         Take STREAM lock in chain(), get_range() functions so plugins
29886         don't need to take it anymore.
29887         
29888
29889
29890 2005-05-25  Wim Taymans  <wim@fluendo.com>
29891
29892         * tools/gst-launch.c: (event_loop):
29893         Unref message after using its contents instead of
29894         before.
29895
29896 2005-05-24  Wim Taymans  <wim@fluendo.com>
29897
29898         * docs/design/draft-ghostpads.txt:
29899         * docs/design/draft-push-pull.txt:
29900         * docs/design/draft-query.txt:
29901         * docs/design/part-overview.txt:
29902         Docs updates, added general overview doc.
29903
29904 2005-05-21  David Schleef  <ds@schleef.org>
29905
29906         * docs/gst/tmpl/old/GstBin.sgml:
29907         * docs/gst/tmpl/old/GstBuffer.sgml:
29908         * docs/gst/tmpl/old/GstCaps.sgml:
29909         * docs/gst/tmpl/old/GstClock.sgml:
29910         * docs/gst/tmpl/old/GstCompat.sgml:
29911         * docs/gst/tmpl/old/GstData.sgml:
29912         * docs/gst/tmpl/old/GstElement.sgml:
29913         * docs/gst/tmpl/old/GstEvent.sgml:
29914         * docs/gst/tmpl/old/GstIndex.sgml:
29915         * docs/gst/tmpl/old/GstStructure.sgml:
29916         * docs/gst/tmpl/old/GstTag.sgml:
29917         * docs/gst/tmpl/old/cothreads.sgml:
29918         * docs/gst/tmpl/old/cothreads_compat.sgml:
29919         * docs/gst/tmpl/old/gettext.sgml:
29920         * docs/gst/tmpl/old/gobject2gtk.sgml:
29921         * docs/gst/tmpl/old/grammar.tab.sgml:
29922         * docs/gst/tmpl/old/gst-i18n-app.sgml:
29923         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29924         * docs/gst/tmpl/old/gst_private.sgml:
29925         * docs/gst/tmpl/old/gstaggregator.sgml:
29926         * docs/gst/tmpl/old/gstarch.sgml:
29927         * docs/gst/tmpl/old/gstatomic_impl.sgml:
29928         * docs/gst/tmpl/old/gstbufferstore.sgml:
29929         * docs/gst/tmpl/old/gstdata_private.sgml:
29930         * docs/gst/tmpl/old/gstdisksink.sgml:
29931         * docs/gst/tmpl/old/gstdisksrc.sgml:
29932         * docs/gst/tmpl/old/gstelementfactory.sgml:
29933         * docs/gst/tmpl/old/gstextratypes.sgml:
29934         * docs/gst/tmpl/old/gstfakesink.sgml:
29935         * docs/gst/tmpl/old/gstfakesrc.sgml:
29936         * docs/gst/tmpl/old/gstfdsink.sgml:
29937         * docs/gst/tmpl/old/gstfdsrc.sgml:
29938         * docs/gst/tmpl/old/gstfilesink.sgml:
29939         * docs/gst/tmpl/old/gstfilesrc.sgml:
29940         * docs/gst/tmpl/old/gsthttpsrc.sgml:
29941         * docs/gst/tmpl/old/gstidentity.sgml:
29942         * docs/gst/tmpl/old/gstindexfactory.sgml:
29943         * docs/gst/tmpl/old/gstmarshal.sgml:
29944         * docs/gst/tmpl/old/gstmd5sink.sgml:
29945         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29946         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29947         * docs/gst/tmpl/old/gstpadtemplate.sgml:
29948         * docs/gst/tmpl/old/gstpipefilter.sgml:
29949         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29950         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29951         * docs/gst/tmpl/old/gstshaper.sgml:
29952         * docs/gst/tmpl/old/gstspider.sgml:
29953         * docs/gst/tmpl/old/gstspideridentity.sgml:
29954         * docs/gst/tmpl/old/gststatistics.sgml:
29955         * docs/gst/tmpl/old/gsttee.sgml:
29956         * docs/gst/tmpl/old/gsttimecache.sgml:
29957         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29958         * docs/gst/tmpl/old/gstxmlregistry.sgml:
29959         * docs/gst/tmpl/old/gthread-cothreads.sgml:
29960         * docs/gst/tmpl/old/types.sgml:
29961           I didn't intend to add these or check them in.
29962
29963 2005-05-19  David Schleef  <ds@schleef.org>
29964
29965         * configure.ac: Use -no-common everywhere.  In a sane world, it
29966           would be the default in libtool, because without it, you can't
29967           build DLLs on Windows.
29968         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29969         * docs/gst/gstreamer-sections.txt:
29970         * docs/gst/tmpl/gstcpu.sgml:
29971         * docs/gst/tmpl/gstdata.sgml:
29972         * docs/gst/tmpl/gstthread.sgml:
29973
29974 2005-05-19  David Schleef  <ds@schleef.org>
29975
29976         * gst/gstminiobject.c: (gst_value_set_mini_object),
29977         (gst_value_take_mini_object), (gst_value_get_mini_object):
29978         * gst/gstminiobject.h: Add GValue set/get functions.
29979
29980 2005-05-19  Wim Taymans  <wim@fluendo.com>
29981
29982         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29983         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29984         (gst_subbuffer_init), (gst_buffer_is_span_fast):
29985         * gst/gstbuffer.h:
29986         * gst/gstbus.c: (gst_bus_post):
29987         * gst/gstelement.c: (gst_element_get_random_pad):
29988         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29989         Make subbufer unref the parent in finalize.
29990         some more debugging info.
29991
29992
29993 2005-05-19  Wim Taymans  <wim@fluendo.com>
29994
29995         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29996         (gst_basesink_init), (gst_basesink_finalize),
29997         (gst_basesink_activate), (gst_basesink_change_state):
29998         Don't free preroll queue too early.
29999
30000 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30001
30002         * gst/Makefile.am:
30003         * gst/ROADMAP:
30004           Hi, I'm outdated. Please shoot me.
30005
30006 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30007
30008         * gst/gstpipeline.c: (gst_pipeline_send_event):
30009           Do not access variables after they have been deleted.
30010
30011 2005-05-19  Wim Taymans  <wim@fluendo.com>
30012
30013         * tools/gst-inspect.c: (print_plugin_features):
30014         A plugin feature does unfortunatly not use the
30015         object name yet...
30016
30017 2005-05-18  Wim Taymans  <wim@fluendo.com>
30018
30019         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30020         Port _span() functions to new subbuffers.
30021
30022 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30023
30024         * gst/gstbin.c: (gst_bin_add_func):
30025           Fix clock settery in bins when adding kids after the clock has
30026           been selected.
30027
30028 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30029
30030         * gst/elements/gstidentity.c: (gst_identity_class_init):
30031           Workaround until signals support GstMiniObject.
30032
30033 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30034
30035         * gst/gstbuffer.c:
30036         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30037
30038 2005-05-18  Wim Taymans  <wim@fluendo.com>
30039
30040         * gst/base/Makefile.am:
30041         * gst/base/gstadapter.c: (gst_adapter_base_init),
30042         (gst_adapter_class_init), (gst_adapter_init),
30043         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30044         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30045         (gst_adapter_flush), (gst_adapter_available),
30046         (gst_adapter_available_fast):
30047         * gst/base/gstadapter.h:
30048         Ported and added adapter to the base classes.
30049
30050 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30051
30052         * gst/gst.c:
30053         * gst/gstmessage.c:
30054           Make sure the class is reffed/unreffed once before threads can be
30055           used.  Fixes #304551.
30056
30057 2005-05-17  Wim Taymans  <wim@fluendo.com>
30058
30059         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30060         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30061         * gst/gstminiobject.c: (gst_mini_object_get_type),
30062         (gst_mini_object_free):
30063         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30064         (gst_pad_push), (gst_pad_push_event):
30065         * gst/gstqueue.c: (gst_queue_change_state):
30066         Don't queue buffers in basesink when we are flushing.
30067         Unref buffer when flushing in basesink.
30068         Flush queue when going to READY
30069         Unref buffer when _push() returns an error.
30070         Don't free MiniObject instance when refcount is incremented
30071         in _finalize() so that we can recover objects.
30072
30073 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30074
30075         * docs/manual/advanced-schedulers.xml:
30076         * docs/manual/appendix-checklist.xml:
30077         * docs/pwg/advanced-clock.xml:
30078         * docs/pwg/advanced-interfaces.xml:
30079         * docs/pwg/advanced-request.xml:
30080         * docs/pwg/advanced-types.xml:
30081         * docs/pwg/intro-preface.xml:
30082         * examples/plugins/example.c: (gst_example_get_type),
30083         (gst_example_class_init), (gst_example_chain),
30084         (gst_example_set_property), (gst_example_get_property),
30085         (gst_example_change_state), (plugin_init):
30086         * examples/plugins/example.h:
30087           small doc fixes
30088
30089 2005-05-17  Wim Taymans  <wim@fluendo.com>
30090
30091         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30092         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30093         * gst/gstqueue.c: (gst_queue_change_state):
30094         Clear queue when going to READY.
30095         Remove IN_SETCAPS flag too.
30096
30097 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30098
30099         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30100           Remove implicit cast from gboolean to GstElementStateReturn;
30101           make sure we still return failure in paused => ready case if
30102           the parent class fails to change state and our own stop 
30103           vfunc succeeds.
30104
30105 2005-05-17  Wim Taymans  <wim@fluendo.com>
30106
30107         * tools/gst-launch.c: (event_loop):
30108         Message was unreffed too soon.
30109
30110 2005-05-16  Andy Wingo  <wingo@pobox.com>
30111
30112         * gst/gstbin.c (sink_iterator_filter): Err... um...
30113
30114         * check/gst/gstbin.c (test_ghost_pads): New test for the
30115         ghosting-if-elements-not-in-same-bin behavior.
30116
30117 2005-05-16  David Schleef  <ds@schleef.org>
30118
30119         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30120         accessing refcount directly.
30121
30122 2005-05-15  David Schleef  <ds@schleef.org>
30123
30124         * check/Makefile.am: remove GstData checks
30125         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30126         * gst/Makefile.am: add miniobject, remove data
30127         * gst/gst.h: add miniobject, remove data
30128         * gst/gstdata.c: remove
30129         * gst/gstdata.h: remove
30130         * gst/gstdata_private.h: remove
30131         * gst/gsttypes.h: remove GstEvent and GstMessage
30132         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30133         * gst/gstmarshal.list: change BOXED -> OBJECT
30134
30135         Implement GstMiniObject.
30136         * gst/gstminiobject.c:
30137         * gst/gstminiobject.h:
30138
30139         Modify to be subclasses of GstMiniObject.
30140         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30141         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30142         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30143         (gst_subbuffer_get_type), (gst_subbuffer_init),
30144         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30145         (gst_buffer_span):
30146         * gst/gstbuffer.h:
30147         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30148         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30149         (_gst_event_copy), (gst_event_new):
30150         * gst/gstevent.h:
30151         * gst/gstmessage.c: (_gst_message_initialize),
30152         (gst_message_get_type), (gst_message_class_init),
30153         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30154         (gst_message_new), (gst_message_new_error),
30155         (gst_message_new_warning), (gst_message_new_tag),
30156         (gst_message_new_state_changed), (gst_message_new_application):
30157         * gst/gstmessage.h:
30158         * gst/gstprobe.c: (gst_probe_perform),
30159         (gst_probe_dispatcher_dispatch):
30160         * gst/gstprobe.h:
30161         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30162         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30163         (_gst_query_copy), (gst_query_new):
30164
30165         Update elements for GstData -> GstMiniObject changes
30166         * gst/gstquery.h:
30167         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30168         (gst_queue_chain), (gst_queue_loop):
30169         * gst/elements/gstbufferstore.c:
30170         (gst_buffer_store_add_buffer_func),
30171         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30172         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30173         (gst_fakesink_render):
30174         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30175         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30176         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30177         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30178         (gst_filesrc_create_read):
30179         * gst/elements/gstidentity.c: (gst_identity_class_init):
30180         * gst/elements/gsttypefindelement.c:
30181         (gst_type_find_element_src_event), (free_entry_buffers),
30182         (gst_type_find_element_handle_event):
30183         * libs/gst/dataprotocol/dataprotocol.c:
30184         (gst_dp_header_from_buffer):
30185         * libs/gst/dataprotocol/dataprotocol.h:
30186         * libs/gst/dataprotocol/dp-private.h:
30187
30188 2005-05-15  David Schleef  <ds@schleef.org>
30189
30190         * gst/elements/gstelements.c: Don't include headers that were
30191         just removed.
30192
30193 2005-05-15  David Schleef  <ds@schleef.org>
30194
30195         * gst/elements/Makefile.am: Remove some elements that don't
30196         need to be in the core (or even exist at all).
30197         * gst/elements/gstaggregator.c:
30198         * gst/elements/gstaggregator.h:
30199         * gst/elements/gstmd5sink.c:
30200         * gst/elements/gstmd5sink.h:
30201         * gst/elements/gstmultifilesrc.c:
30202         * gst/elements/gstmultifilesrc.h:
30203         * gst/elements/gstpipefilter.c:
30204         * gst/elements/gstpipefilter.h:
30205         * gst/elements/gstshaper.c:
30206         * gst/elements/gstshaper.h:
30207         * gst/elements/gststatistics.c:
30208         * gst/elements/gststatistics.h:
30209         * po/POTFILES.in: Remove above files.
30210
30211 2005-05-14  Andy Wingo  <wingo@pobox.com>
30212
30213         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30214         so as to get the refs right.
30215         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30216         unreffing objects that don't pass the filter.
30217
30218         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30219         gst_element_set_bus.
30220         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30221         normal cases, this will destroy the bus.
30222
30223         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30224         object.
30225
30226         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30227         has no sinks.
30228
30229 2005-05-13  Andy Wingo  <wingo@pobox.com>
30230
30231         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30232         gst_pad_link, call pad_link_maybe_ghosting,
30233         (pad_link_maybe_ghosting): Links pads, making sure that the
30234         elements being linked are in the same bin.
30235         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30236         Helpers for pad_link_maybe_ghosting.
30237
30238 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30239
30240         * configure.ac:
30241           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30242
30243 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30244
30245         * docs/design/part-element-source.txt:
30246           Mention GstPushSrc
30247
30248 2005-05-12  Wim Taymans  <wim@fluendo.com>
30249
30250         * gst/base/gstbasesink.c: (gst_basesink_init),
30251         (gst_basesink_activate):
30252         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30253         (gst_basesrc_is_seekable):
30254         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30255         (bin_element_is_sink), (gst_bin_change_state):
30256         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30257         * gst/gstelement.h:
30258         Identify sinks by their flag to avoid overly complicated
30259         checks (fow now).
30260         Do state changes even for elements not reachable from the
30261         sinks.
30262         BaseSink is a sink now :)
30263         Some more debugging info in the basesrc.
30264
30265
30266 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30267
30268         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30269           Implement _query on a bin, similar to _send_event.
30270
30271 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30272
30273         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30274           Discont event offset format should be GST_FORMAT_BYTES,
30275           not GST_FORMAT_TIME.
30276
30277 2005-05-12  Wim Taymans  <wim@fluendo.com>
30278
30279         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30280         Same fix as Ronald's but without the signal. 
30281
30282 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30283
30284         * gst/gstutils.c: (gst_element_query_position):
30285           No, an element is not a pad.
30286
30287 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30288
30289         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30290         (gst_bin_get_state):
30291           If a child is removed from a bin while we remove the child from
30292           the bin and while we're retrieving its state, signal this to the
30293           get_state function so we abort the wait (instead of waiting for
30294           a timeout) and can immediately re-iterate over all other elements.
30295
30296 2005-05-12  Wim Taymans  <wim@fluendo.com>
30297
30298         * gst/base/Makefile.am:
30299         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30300         (gst_basesrc_start):
30301         * gst/base/gstbasesrc.h:
30302         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30303         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30304         (gst_pushsrc_init), (gst_pushsrc_create):
30305         * gst/base/gstpushsrc.h:
30306         Added is_seekable to BaseSrc
30307         Added simple PushSrc.
30308
30309 2005-05-11  Wim Taymans  <wim@fluendo.com>
30310
30311         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30312         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30313         (gst_element_link_pads), (gst_element_query_position),
30314         (gst_element_query_convert), (intersect_caps_func),
30315         (gst_pad_query_position), (gst_pad_query_convert):
30316         Fix refcounting in utils function.
30317         No point in trying to activate a pad when it's added, it could
30318         be added from the state change function and then we deadlock, the
30319         element has to decide what to do.
30320
30321 2005-05-10  Andy Wingo  <wingo@pobox.com>
30322
30323         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30324         *all* the arguments.
30325
30326         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30327         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30328         lock (according to the docs -- if this is wrong change the docs).
30329
30330         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30331         flush messages in the NULL state.
30332
30333         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30334         message immediately and return.
30335         (gst_bus_set_flushing): New function. If a bus is flushing, it
30336         flushes out any queued messages and immediately unrefs new
30337         messages. This is so when an element goes to NULL, all of the
30338         unhandled messages coming from it can be freed, and their
30339         references to the element dropped. In other words: message source
30340         ref considered harmful :P
30341
30342         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30343         we're finished with it.
30344
30345         * gst/gstmessage.c (gst_message_new_state_changed): 
30346
30347 2005-05-10  Wim Taymans  <wim@fluendo.com>
30348
30349         * gst/gstvalue.c: (gst_value_compare_flags),
30350         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30351         (_gst_value_initialize):
30352         Added flags serialize/deserialize/compare code.
30353
30354 2005-05-09  Andy Wingo  <wingo@pobox.com>
30355
30356         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30357         Intersect the peer's caps with our caps.
30358
30359 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30360
30361         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30362         * gst/elements/gsttypefindelement.c: (find_peek):
30363           Handle negative offsets better. Fixes decodebin.
30364
30365 2005-05-09  Wim Taymans  <wim@fluendo.com>
30366
30367         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30368         (gst_base_transform_event):
30369         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30370         Implement accept_caps.
30371         Fix silly lock/unlock mismatch in base class.
30372
30373 2005-05-09  Wim Taymans  <wim@fluendo.com>
30374
30375         * docs/design/draft-push-pull.txt:
30376         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30377         * gst/elements/gstfilesink.c: (gst_filesink_init),
30378         (gst_filesink_query):
30379         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30380         (gst_type_find_handle_src_query), (find_element_get_length):
30381         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30382         * gst/gstelement.h:
30383         * gst/gstmessage.c:
30384         * gst/gstmessage.h:
30385         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30386         (gst_real_pad_get_caps_unlocked),
30387         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30388         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30389         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30390         (gst_real_pad_dispose), (gst_real_pad_finalize),
30391         (gst_pad_load_and_link), (gst_pad_save_thyself),
30392         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30393         (gst_pad_check_pull_range), (gst_pad_pull_range),
30394         (gst_pad_template_get_type), (gst_pad_template_class_init),
30395         (gst_pad_template_init), (gst_pad_template_dispose),
30396         (name_is_valid), (gst_static_pad_template_get),
30397         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30398         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30399         (gst_pad_get_element_private), (gst_pad_start_task),
30400         (gst_pad_pause_task), (gst_pad_stop_task),
30401         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30402         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30403         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30404         (gst_ghost_pad_new):
30405         * gst/gstpad.h:
30406         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30407         (gst_query_new_position), (gst_query_set_position),
30408         (gst_query_parse_position), (gst_query_new_convert),
30409         (gst_query_set_convert), (gst_query_parse_convert):
30410         * gst/gstquery.h:
30411         * gst/gstqueryutils.c:
30412         * gst/gstqueryutils.h:
30413         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30414         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30415         (gst_queue_handle_src_query):
30416         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30417         (gst_element_query_position), (gst_element_query_convert),
30418         (intersect_caps_func), (gst_pad_query_position),
30419         (gst_pad_query_convert):
30420         * gst/gstutils.h:
30421         * tools/gst-inspect.c: (print_pad_info):
30422         * tools/gst-xmlinspect.c: (print_element_info):
30423         Remove old query functions. Ported old code.
30424         Added position/convert helper functions to gstutils.
30425         Reordered gstpad.c code, grouping relevant things.
30426         Remove gst_message_new(), always need to speficy a specific
30427         message.
30428
30429
30430 2005-05-09  Andy Wingo  <wingo@pobox.com>
30431
30432         * gst/gstiterator.h: Add some includes.
30433
30434         * gst/gstqueryutils.h: Include more headers.
30435
30436         * gst/gstpad.h:
30437         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30438         some uses of gst_pad_query.
30439
30440         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30441         NULL out parameters.
30442         (gst_query_new_position): New proc, allocates a new position
30443         query.
30444
30445         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30446         gstqueryutils.c to the build.
30447
30448         * gst/gststructure.c (gst_structure_set_valist): Implement with
30449         the generic G_VALUE_COLLECT.
30450         
30451 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30452
30453         * gst/Makefile.am: (gst_headers):
30454         Added gstqueryutils.h to the list of headers to install, that was
30455         a 'nachty' move wingo :)
30456
30457 2005-05-06  Andy Wingo  <wingo@pobox.com>
30458
30459         * gst/gstquery.h
30460         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30461         GstData, init a memchunk.
30462         (standard_definitions): Add a few query types, deprecate a few.
30463         (gst_query_get_type): New proc.
30464         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30465         implementation.
30466         (gst_query_new_application, gst_query_get_structure): New public
30467         procs.
30468
30469         * docs/design/draft-query.txt: Removed LINKS from the query types,
30470         because all the rest can be dispatched to other pads -- seemed
30471         ugly to have a query that couldn't be dispatched. internal_links
30472         is fine as a pad method.
30473
30474         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30475         in gstpad.c, but maintain binary compatibility for the moment.
30476         Will fix before 0.9 is out.
30477
30478         * gst/gstqueryutils.c: 
30479         * gst/gstqueryutils.h: New files, implement 3 methods for each
30480         query type: parse_query, parse_response, and set. Probably need an
30481         allocator as well.
30482
30483         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30484
30485         * gst/elements/gstfilesink.c (gst_filesink_query2):
30486         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30487         query_types, and formats methods.
30488
30489         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30490         (gst_pad_set_query2_function): New functions.
30491         (gst_real_pad_init): Set query2_default as the default query2
30492         function. Basically just dispatches to internally linked pads.
30493
30494         Needs review!
30495         
30496         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30497         without using the atomic operations. Only one thread can possibly
30498         be accessing the data at this point. Changed so as to avoid
30499         gst_atomic operations.
30500
30501 2005-05-06  Wim Taymans  <wim@fluendo.com>
30502
30503         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30504         Also set caps if we use the fallback buffer alloc.
30505
30506 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30507
30508         * docs/gst/Makefile.am:
30509         * docs/gst/gstreamer-docs.sgml:
30510         * docs/gst/gstreamer-sections.txt:
30511         * docs/gst/tmpl/gstatomic.sgml:
30512         * docs/gst/tmpl/gstmemchunk.sgml:
30513         * testsuite/elements/struct_i386.h:
30514         * win32/GStreamer.vcproj:
30515         * win32/Makefile:
30516           Purge GstAtomic stuff from docs and win32 makefiles as well
30517
30518 2005-05-06  Wim Taymans  <wim@fluendo.com>
30519
30520         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30521         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30522         * gst/gstpad.c: (gst_pad_peer_get_caps):
30523         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30524         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30525         (gst_queue_src_activate), (gst_queue_change_state):
30526         * gst/gstqueue.h:
30527         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30528         (intersect_caps_func):
30529         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30530         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30531         Some fixes for the peer_get_caps() change.
30532
30533 2005-05-06  Wim Taymans  <wim@fluendo.com>
30534
30535         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30536         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30537         (gst_basesink_activate):
30538         Actually do something with error codes returned from the push
30539         functions.
30540
30541 2005-05-06  Wim Taymans  <wim@fluendo.com>
30542
30543         * docs/design/part-element-sink.txt:
30544         * docs/design/part-element-source.txt:
30545         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30546         (gst_basesink_event), (gst_basesink_activate):
30547         * gst/base/gstbasesink.h:
30548         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30549         (gst_basesrc_activate):
30550         * gst/base/gstbasesrc.h:
30551         * gst/gstelement.c: (gst_element_pads_activate):
30552         Some more documentation.
30553         Fixed scheduling decision in _pads_activate().
30554
30555 2005-05-05  Andy Wingo  <wingo@pobox.com>
30556
30557         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30558         the test suite.
30559
30560 2005-05-05  Wim Taymans  <wim@fluendo.com>
30561
30562         * gst/base/Makefile.am:
30563         * gst/base/gstbasesink.h:
30564         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30565         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30566         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30567         (gst_collectpads_class_init), (gst_collectpads_init),
30568         (gst_collectpads_finalize), (gst_collectpads_new),
30569         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30570         (find_pad), (gst_collectpads_remove_pad),
30571         (gst_collectpads_is_active), (gst_collectpads_collect),
30572         (gst_collectpads_collect_range), (gst_collectpads_start),
30573         (gst_collectpads_stop), (gst_collectpads_peek),
30574         (gst_collectpads_pop), (gst_collectpads_available),
30575         (gst_collectpads_read), (gst_collectpads_flush),
30576         (gst_collectpads_chain):
30577         * gst/base/gstcollectpads.h:
30578         * gst/elements/Makefile.am:
30579         * gst/elements/gstelements.c:
30580         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30581         (gst_fakesink_get_times), (gst_fakesink_event),
30582         (gst_fakesink_preroll), (gst_fakesink_render):
30583         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30584         (gst_filesink_init), (gst_filesink_set_location),
30585         (gst_filesink_open_file), (gst_filesink_close_file),
30586         (gst_filesink_pad_query), (gst_filesink_event),
30587         (gst_filesink_render), (gst_filesink_change_state):
30588         * gst/elements/gstfilesink.h:
30589         Added object to help in making collect pad based elements.
30590         Ported filesink.
30591         Make event function in sink baseclass return gboolean.
30592
30593 2005-05-05  Wim Taymans  <wim@fluendo.com>
30594
30595         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30596         (gst_bin_get_by_name):
30597         * gst/gstbuffer.h:
30598         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30599         (gst_clock_finalize):
30600         * gst/gstdata.c: (gst_data_replace):
30601         * gst/gstdata.h:
30602         * gst/gstelement.c: (gst_element_request_pad),
30603         (gst_element_pads_activate):
30604         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30605         (gst_object_unref):
30606         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30607         (gst_pad_set_checkgetrange_function),
30608         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30609         (gst_pad_check_pull_range), (gst_pad_pull_range),
30610         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30611         (gst_pad_pause_task), (gst_pad_stop_task):
30612         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30613         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30614         Fix name lookup in GstBin.
30615         Added _data_replace() function and _buffer_replace()
30616         Use finalize method to clean up clock.
30617         Fix refcounting on request pads.
30618         Fix pad schedule mode error.
30619         Some more object refcounting debug info,
30620
30621
30622 2005-05-04  Andy Wingo <wingo@pobox.com>
30623
30624         * check/Makefile.am:
30625         * docs/gst/tmpl/gstatomic.sgml:
30626         * docs/gst/tmpl/gstplugin.sgml:
30627         * gst/base/gstbasesink.c: (gst_basesink_activate):
30628         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30629         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30630         (gst_basesrc_query), (gst_basesrc_set_property),
30631         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30632         (gst_basesrc_activate):
30633         * gst/base/gstbasesrc.h:
30634         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30635         (gst_base_transform_src_activate):
30636         * gst/elements/gstelements.c:
30637         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30638         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30639         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30640         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30641         (gst_type_find_element_checkgetrange),
30642         (gst_type_find_element_activate):
30643         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30644         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30645         (gst_caps_load_thyself):
30646         * gst/gstelement.c: (gst_element_pads_activate),
30647         (gst_element_save_thyself), (gst_element_restore_thyself):
30648         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30649         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30650         * gst/gstpad.h:
30651         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30652         (gst_xml_parse_file), (gst_xml_parse_memory),
30653         (gst_xml_get_element), (gst_xml_make_element):
30654         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30655         (_file_index_id_save_xml), (gst_file_index_commit):
30656         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30657         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30658         (load_paths):
30659         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30660         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30661         * tools/gst-complete.c: (main):
30662         * tools/gst-compprep.c: (main):
30663         * tools/gst-inspect.c: (print_element_properties_info):
30664         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30665         * tools/gst-xmlinspect.c: (print_element_properties):
30666         GCC 4 fixen.
30667         
30668 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30669
30670         * gst/gstplugin.c: (gst_plugin_check_module),
30671         (gst_plugin_check_file), (gst_plugin_load_file):
30672             apply patch from #172526 to make register work on MacOSX
30673
30674 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30675
30676         * docs/gst/tmpl/gstconfig.sgml:
30677         * gst/gstconfig.h.in:
30678           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30679         * testsuite/debug/printf_extension.c: (main):
30680           Do not use GST_PTR_FORMAT on pointers to types with
30681           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30682         * testsuite/elements/property.h:
30683           use correct printf format
30684
30685 2005-05-02  Wim Taymans  <wim@fluendo.com>
30686
30687         * docs/design/draft-push-pull.txt:
30688         * docs/design/draft-query.txt:
30689         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30690         (gst_basesrc_start):
30691         Added draft for new query API.
30692         Added draft for better selecting scheduling methods.
30693         Make basesrc ignore length if the subclass does not support
30694         it.
30695
30696 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30697
30698         * gst/Makefile.am:
30699           possible fixes for automake-1.5 - _LIBADD is reserved
30700
30701 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30702
30703         * docs/faq/Makefile.am:
30704         * docs/manual/Makefile.am:
30705         * docs/manuals.mak:
30706         * docs/pwg/Makefile.am:
30707         * gst/Makefile.am:
30708           possible fixes for automake-1.5
30709
30710 2005-04-28  Wim Taymans  <wim@fluendo.com>
30711
30712         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30713         (gst_basesink_pad_getcaps), (gst_basesink_init),
30714         (gst_basesink_do_sync):
30715         * gst/gstclock.c: (gst_clock_entry_new):
30716         * gst/gstevent.c: (gst_event_discont_get_value):
30717         * gst/gstpipeline.c: (pipeline_bus_handler),
30718         (gst_pipeline_change_state):
30719         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30720         Better debugging of clocking info.
30721         Allow NULL values when getting discont values.
30722
30723 2005-04-27  Wim Taymans  <wim@fluendo.com>
30724
30725         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30726         * check/gst/gstpad.c: (gst_pad_suite):
30727         Increase timeout for checks.
30728
30729 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30730
30731         * check/Makefile.am:
30732           fix the broken rule for cleanup.  Apparently this rule is
30733           only needed on FC2, so maybe this warrants further autotool
30734           inspection.
30735
30736 2005-04-26  Wim Taymans  <wim@fluendo.com>
30737
30738         * gst/gsttrashstack.h:
30739         Ooohh. a nasty one! After having a failed pop() from the stack,
30740         it's possible that the stack is empty. In that case, don't
30741         follow the NULL pointer.
30742
30743 2005-04-25  Wim Taymans  <wim@fluendo.com>
30744
30745         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30746         (gst_pad_set_checkgetrange_function),
30747         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30748         (gst_pad_check_pull_range), (gst_pad_pull_range),
30749         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30750         (gst_pad_pause_task), (gst_pad_stop_task):
30751         * gst/gstplugin.c: (gst_plugin_load):
30752         * gst/gstplugin.h:
30753         Remove gst_library_load as it does more harm than good with
30754         the new g_module flags.
30755         Revert bogus caps template check in pad linking, pad caps
30756         are important when linking not the template, which is more
30757         general than the current caps.
30758
30759 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30760
30761         * gst/autoplug/.cvsignore:
30762         * gst/autoplug/Makefile.am:
30763         * gst/autoplug/gstsearchfuncs.c:
30764         * gst/autoplug/gstsearchfuncs.h:
30765         * gst/autoplug/gstspider.c:
30766         * gst/autoplug/gstspider.h:
30767         * gst/autoplug/gstspideridentity.c:
30768         * gst/autoplug/gstspideridentity.h:
30769         * gst/autoplug/spidertest.c:
30770           Die, spider, die.
30771
30772 2005-04-25  Wim Taymans  <wim@fluendo.com>
30773
30774         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30775         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30776         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30777         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30778         * gst/gstpad.h:
30779         Added stubs for unimplemented functions. 
30780
30781 2005-04-24  David Schleef  <ds@schleef.org>
30782
30783         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30784         please fix.
30785
30786 2005-04-24  David Schleef  <ds@schleef.org>
30787
30788         Convert everything from GstAtomicInt to g_atomic_int_*, and
30789         remove gstatomic.
30790         * gst/Makefile.am:
30791         * gst/gstatomic.c:
30792         * gst/gstatomic.h:
30793         * gst/gstatomic_impl.h:
30794         * gst/gstbuffer.c:
30795         * gst/gstcaps.c:
30796         * gst/gstcaps.h:
30797         * gst/gstclock.c:
30798         * gst/gstclock.h:
30799         * gst/gstdata.c:
30800         * gst/gstdata.h:
30801         * gst/gstdata_private.h:
30802         * gst/gstevent.c:
30803         * gst/gstinfo.c:
30804         * gst/gstinfo.h:
30805         * gst/gstmessage.c:
30806         * gst/gstobject.c:
30807         * gst/gstobject.h:
30808         * gst/gststructure.c:
30809         * gst/gststructure.h:
30810         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30811         * gst/gstutils.h:
30812
30813 2005-04-24  David Schleef  <ds@schleef.org>
30814
30815         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30816         make the regressions tests work.  Remove some code that is no
30817         longer true.
30818         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30819         Disable warning for pads without templates.
30820
30821 2005-04-24  David Schleef  <ds@schleef.org>
30822
30823         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30824         functions that handle filtered links.
30825         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30826         removed functions.
30827         * gst/gstutils.c: Fix/remove utility functions that handle
30828         filtered caps.
30829         * gst/gstutils.h:
30830         * gst/gstvalue.c: Add serialization/deserialization of caps
30831         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30832         requires fixing so that the filter caps notation creates
30833         a capsfilter element and sets the filter_caps property.  I
30834         think everyone probably wants to keep the shorthand notation.
30835         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30836         * docs/gst/tmpl/gstpad.sgml:
30837
30838         * gst/elements/gstelements.c: Register capsfilter element.
30839         * gst/Makefile.am: fix spacing
30840         * docs/random/ds/0.9-suggested-changes: random
30841
30842 2005-04-23  David Schleef  <ds@schleef.org>
30843
30844         * gst/elements/Makefile.am:
30845         * gst/elements/gstcapsfilter.c: New element that acts like an
30846         identity, but filters caps.  Will eventually replace filtered
30847         caps in pad linking.
30848         * gst/gstutils.c: (gst_element_create_all_pads): New function
30849         to create all the ALWAYS pads that are registered with an
30850         element class.  This functionality should eventually be
30851         merged in with GstElement initialization.
30852         * gst/gstutils.h:
30853         * testsuite/trigger/README: part of trigger test code that should
30854         have been checked in a long time ago.
30855
30856 2005-04-23  David Schleef  <ds@schleef.org>
30857
30858         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30859         needed with new versions of libtool (nobody will confirm this),
30860         and hard to carry around.
30861         * gst/autoplug/Makefile.am:
30862         * gst/base/Makefile.am:
30863         * gst/elements/Makefile.am:
30864         * gst/indexers/Makefile.am:
30865         * gst/schedulers/Makefile.am:
30866         * libs/gst/bytestream/Makefile.am:
30867         * libs/gst/control/Makefile.am:
30868         * libs/gst/dataprotocol/Makefile.am:
30869         * libs/gst/getbits/Makefile.am:
30870
30871 2005-04-21  Wim Taymans  <wim@fluendo.com>
30872
30873         * docs/design/draft-push-pull.txt:
30874         * docs/design/part-MT-refcounting.txt:
30875         * docs/design/part-TODO.txt:
30876         * docs/design/part-caps.txt:
30877         * docs/design/part-events.txt:
30878         * docs/design/part-gstbus.txt:
30879         * docs/design/part-gstpipeline.txt:
30880         * docs/design/part-messages.txt:
30881         * docs/design/part-push-pull.txt:
30882         * docs/design/part-query.txt:
30883         Some more docs.
30884
30885 2005-04-21  Wim Taymans  <wim@fluendo.com>
30886
30887         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30888         (gst_message_new), (gst_message_new_error),
30889         (gst_message_new_warning), (gst_message_new_tag),
30890         (gst_message_new_state_changed), (gst_message_new_application),
30891         (gst_message_get_structure):
30892         * gst/gstmessage.h:
30893         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30894         (gst_structure_copy_conditional):
30895         Use parent refcount in GstMessage to ensure GstStructure
30896         consistency.
30897         Cleaned up headers a bit.
30898         
30899
30900 2005-04-20  Wim Taymans  <wim@fluendo.com>
30901
30902         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30903         (gst_basesink_pad_getcaps), (gst_basesink_init),
30904         (gst_basesink_chain_unlocked):
30905         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30906         (gst_type_find_helper):
30907         * gst/elements/gsttypefindelement.c:
30908         (gst_type_find_element_have_type), (gst_type_find_element_init),
30909         (stop_typefinding), (gst_type_find_element_handle_event),
30910         (find_suggest), (gst_type_find_element_chain),
30911         (gst_type_find_element_checkgetrange),
30912         (gst_type_find_element_getrange), (do_typefind),
30913         (gst_type_find_element_activate):
30914         * gst/gstbuffer.c: (_gst_buffer_sub_free),
30915         (gst_buffer_default_free), (gst_buffer_default_copy),
30916         (gst_buffer_set_caps):
30917         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30918         (gst_caps_replace):
30919         * gst/gstmessage.c: (gst_message_new),
30920         (gst_message_new_state_changed):
30921         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30922         (gst_pad_set_checkgetrange_function),
30923         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30924         (gst_pad_set_caps), (gst_pad_check_pull_range),
30925         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30926         * gst/gstpad.h:
30927         * gst/gsttypefind.c: (gst_type_find_register):
30928         Make gst_caps_replace() work like other _replace() functions.
30929         Use _caps_replace() where possible.
30930         Make sure _message_new() initialises its field.
30931         Add gst_static_pad_template_get_caps()
30932
30933
30934 2005-04-18  Andy Wingo  <wingo@pobox.com>
30935
30936         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30937         on the peer, not the pad. I think that was a typo. Pass an extra
30938         arg to see if random access is possible. Activate the pads as
30939         PULL_RANGE if possible.
30940
30941         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30942
30943         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
30944         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30945         to PROP_....
30946
30947 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30948
30949         * docs/faq/using.xml:
30950           Add note on gstreamer-properties (#154996).
30951
30952 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30953
30954         * docs/random/bbb/optional-properties:
30955           Some analysis on optional properties.
30956
30957 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30958
30959         * docs/gst/tmpl/gstelementfactory.sgml:
30960         * gst/gstelement.h:
30961         * gst/gstelementfactory.c: (gst_element_factory_init),
30962         (gst_element_factory_cleanup), (gst_element_register),
30963         (__gst_element_factory_add_static_pad_template),
30964         (gst_element_factory_get_static_pad_templates),
30965         (gst_element_factory_can_src_caps),
30966         (gst_element_factory_can_sink_caps):
30967         * gst/registries/Makefile.am:
30968         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30969         (gst_xml_registry_class_init), (gst_xml_registry_init),
30970         (gst_xml_registry_new), (gst_xml_registry_set_property),
30971         (gst_xml_registry_get_property), (get_time), (make_dir),
30972         (gst_xml_registry_get_perms_func),
30973         (plugin_times_older_than_recurse), (plugin_times_older_than),
30974         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30975         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30976         (add_to_char_array), (read_string), (read_uint), (read_enum),
30977         (load_pad_template), (load_feature), (load_plugin), (load_paths),
30978         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30979         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30980         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30981         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30982         (gst_xml_registry_rebuild):
30983         * gst/registries/gstlibxmlregistry.h:
30984         * tools/gst-compprep.c: (main):
30985         * tools/gst-inspect.c: (print_pad_templates_info):
30986         * tools/gst-xmlinspect.c: (print_element_info):
30987           Use libxml2 for registry parsing, use staticpadtemplates in
30988           elementfactories. Makes gst_init() +/- 10x faster.
30989
30990 2005-04-12  Wim Taymans  <wim@fluendo.com>
30991
30992         * gst/base/Makefile.am:
30993         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30994         (gst_basesink_pad_getcaps), (gst_basesink_init),
30995         (gst_basesink_event), (gst_basesink_change_state):
30996         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30997         (gst_basesrc_init), (gst_basesrc_query),
30998         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30999         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31000         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31001         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31002         (gst_basesrc_stop), (gst_basesrc_activate),
31003         (gst_basesrc_change_state):
31004         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31005         (helper_find_suggest), (gst_type_find_helper):
31006         * gst/base/gsttypefindhelper.h:
31007         * gst/elements/Makefile.am:
31008         * gst/elements/gstelements.c:
31009         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31010         (gst_fakesink_get_times), (gst_fakesink_event),
31011         (gst_fakesink_preroll), (gst_fakesink_render):
31012         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31013         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31014         (gst_fakesrc_get_property), (gst_fakesrc_create),
31015         (gst_fakesrc_start), (gst_fakesrc_stop):
31016         * gst/elements/gstfakesrc.h:
31017         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31018         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31019         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31020         (gst_filesrc_create_read), (gst_filesrc_create),
31021         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31022         (gst_filesrc_start):
31023         * gst/elements/gsttypefindelement.c:
31024         (gst_type_find_element_have_type), (gst_type_find_element_init),
31025         (start_typefinding), (stop_typefinding), (push_buffer_store),
31026         (gst_type_find_element_handle_event),
31027         (gst_type_find_element_chain),
31028         (gst_type_find_element_checkgetrange),
31029         (gst_type_find_element_getrange), (do_typefind),
31030         (gst_type_find_element_activate),
31031         (gst_type_find_element_change_state):
31032         * gst/elements/gsttypefindelement.h:
31033         * gst/gstpipeline.c: (pipeline_bus_handler):
31034         Added typefind helper.
31035         Small preroll fix in the base sink.
31036         Disable typefind code in basesrc.
31037         Crude port of typefindelement.
31038         Fakesrc cleanups.
31039
31040
31041 2005-04-11  Wim Taymans  <wim@fluendo.com>
31042
31043         * check/gst/gstbus.c: (gstbus_suite):
31044         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31045         * check/gstcheck.h:
31046           Fix up the timeout so that the test does not fail.
31047
31048 2005-04-06  Wim Taymans  <wim@fluendo.com>
31049
31050         * gst/base/README:
31051         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31052         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31053         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31054         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31055         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31056         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31057         (gst_basesrc_stop), (gst_basesrc_activate),
31058         (gst_basesrc_change_state), (basesrc_find_peek),
31059         (basesrc_find_suggest), (gst_basesrc_type_find):
31060         * gst/base/gstbasesrc.h:
31061         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31062         (gst_filesrc_class_init), (gst_filesrc_init),
31063         (gst_filesrc_finalize), (gst_filesrc_set_location),
31064         (gst_filesrc_set_property), (gst_filesrc_get_property),
31065         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31066         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31067         (gst_filesrc_create_read), (gst_filesrc_create),
31068         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31069         * gst/elements/gstfilesrc.h:
31070         * gst/gstelement.c: (gst_element_get_state_func),
31071         (gst_element_lost_state), (gst_element_pads_activate):
31072         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31073         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31074         (gst_pad_pull_range):
31075         * gst/gstpad.h:
31076         More work on the generic source base class, implement seeking,
31077         query.
31078         Make filesrc extend the base source class.
31079         Added gst_pad_set_checkgetrange_function to GstPad.
31080
31081 2005-04-06  Andy Wingo  <wingo@pobox.com>
31082
31083         * pkgconfig/gstreamer-base.pc.in:
31084         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31085
31086         * pkgconfig/Makefile.am:
31087         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31088
31089 2005-04-04  Wim Taymans  <wim@fluendo.com>
31090
31091         * gst/base/Makefile.am:
31092         * gst/base/README:
31093         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31094         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31095         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31096         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31097         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31098         (gst_basesrc_base_init), (gst_basesrc_class_init),
31099         (gst_basesrc_init), (gst_basesrc_get_formats),
31100         (gst_basesrc_get_query_types), (gst_basesrc_query),
31101         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31102         (gst_basesrc_set_property), (gst_basesrc_get_property),
31103         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31104         (gst_basesrc_loop), (gst_basesrc_activate),
31105         (gst_basesrc_change_state):
31106         * gst/base/gstbasesrc.h:
31107         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31108         (gst_fakesrc_class_init), (gst_fakesrc_init),
31109         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31110         (gst_fakesrc_get_property), (gst_fakesrc_create):
31111         * gst/elements/gstfakesrc.h:
31112         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31113         (gst_filesrc_open_file), (gst_filesrc_loop),
31114         (gst_filesrc_activate), (filesrc_find_peek),
31115         (gst_filesrc_type_find):
31116         Made base source class, make fakesrc extend it.
31117         Add comments to basesink class.
31118         Some filesrc cleanup.
31119
31120 2005-03-31  David Schleef  <ds@schleef.org>
31121
31122         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31123         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31124         expected to link against libgstreamer.
31125         * gst/base/Makefile.am: link against libgstreamer
31126         * gst/elements/Makefile.am: same
31127
31128 2005-03-31  Andy Wingo  <wingo@pobox.com>
31129
31130         * tests/instantiate/Makefile.am:
31131         * tests/instantiate/caps.c: Add test to test speed of caps copy
31132         and free.
31133
31134         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31135         GMemChunk to be fair.
31136
31137         * gst/gsttrashstack.h: Remove warning about using the fallback
31138         trash stack implementation, it's still faster than malloc.
31139
31140 2005-03-30  Andy Wingo  <wingo@pobox.com>
31141
31142         * tests/complexity.c: Add a copyright.
31143
31144 2005-03-31  Wim Taymans  <wim@fluendo.com>
31145
31146         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31147         (gst_base_transform_class_init), (gst_base_transform_init),
31148         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31149         (gst_base_transform_get_property),
31150         (gst_base_transform_sink_activate),
31151         (gst_base_transform_src_activate),
31152         (gst_base_transform_change_state):
31153         * gst/base/gstbasetransform.h:
31154         * gst/elements/gstidentity.c: (gst_identity_class_init),
31155         (gst_identity_event), (gst_identity_check_perfect),
31156         (gst_identity_transform), (gst_identity_start),
31157         (gst_identity_stop):
31158         Added start/stop methods to transform base class so subclasses 
31159         don't need to deal with state changes even.
31160
31161 2005-03-31  Wim Taymans  <wim@fluendo.com>
31162
31163         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31164         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31165         * gst/gstevent.h:
31166         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31167         (gst_pad_pull_range):
31168         Added rate to the discont event to prepare for variable speed
31169         and reverse playback.
31170
31171 2005-03-29  David Schleef  <ds@schleef.org>
31172
31173         * configure.ac:
31174         * testsuite/trigger/Makefile.am:
31175         * testsuite/trigger/trigger.c: A little example program to show
31176         how trigger-based elements can work.
31177
31178 2005-03-29  Wim Taymans  <wim@fluendo.com>
31179
31180         * gst/base/Makefile.am:
31181         * gst/base/README:
31182         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31183         (gst_basesink_base_init), (gst_basesink_class_init),
31184         (gst_basesink_pad_getcaps), (gst_basesink_init),
31185         (gst_basesink_activate), (gst_basesink_change_state):
31186         * gst/base/gstbasesink.h:
31187         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31188         (gst_base_transform_base_init), (gst_base_transform_finalize),
31189         (gst_base_transform_class_init), (gst_base_transform_init),
31190         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31191         (gst_base_transform_event), (gst_base_transform_getrange),
31192         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31193         (gst_base_transform_set_property),
31194         (gst_base_transform_get_property),
31195         (gst_base_transform_sink_activate),
31196         (gst_base_transform_src_activate),
31197         (gst_base_transform_change_state):
31198         * gst/base/gstbasetransform.h:
31199         * gst/elements/gstidentity.c: (gst_identity_finalize),
31200         (gst_identity_class_init), (gst_identity_init),
31201         (gst_identity_event), (gst_identity_check_perfect),
31202         (gst_identity_transform), (gst_identity_set_property),
31203         (gst_identity_get_property), (gst_identity_change_state):
31204         * gst/elements/gstidentity.h:
31205         * gst/gstelement.c: (gst_element_get_state_func),
31206         (gst_element_lost_state), (gst_element_pads_activate):
31207         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31208         (gst_pad_check_pull_range), (gst_pad_pull_range):
31209         * gst/gstpad.h:
31210         Simplify pad activation.
31211         Added function to check if pull_range can be performed.
31212         Error out when pulling inactive or flushing pads.
31213         Removed const from refcounted types as it does not make sense.
31214         Simplify pad templates in basesink
31215         Added base class for simple 1-to-1 transforms.
31216         Make identity subclass the base transform.
31217
31218 2005-03-29  Andy Wingo  <wingo@pobox.com>
31219
31220         * docs/libs/gstreamer-libs-overrides.txt: 
31221         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31222         really don't understand what's going on, but like whatever. I want
31223         green buildbot!
31224
31225         * docs/gst/Makefile.am:
31226         * docs/libs/Makefile.am: Dist the overrides files.
31227
31228         * check/Makefile.am (clean-local): Remove .libs directories.
31229
31230         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31231         elements to EXTRA_DIST, so po/ files are happy.
31232
31233         * po/POTFILES.in: Er, remove it here.
31234
31235         * po/POTFILES: Remove gstspider.c.
31236
31237         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31238
31239         * docs/libs/gstreamer-libs-docs.sgml: 
31240         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31241         bytestream.
31242
31243         * tests/complexity.c (main): Set the length of the preroll queue
31244         on the sinks to prevent a lockup.
31245
31246         * libs/gst/dataprotocol/Makefile.am: 
31247         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31248         the same as the one in check/gst-libs/gdp.c.
31249
31250         * po/, docs/gst/: Commit automatic changes to docs and po files.
31251
31252         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31253         the versioned libgstbase.
31254
31255         * check/Makefile.am: Depend on an unversioned gst-register, seems
31256         to make autoconf happier.
31257
31258         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31259
31260 2005-03-28  Wim Taymans  <wim@fluendo.com>
31261
31262         * configure.ac:
31263         * docs/design/part-gstelement.txt:
31264         * docs/design/part-negotiation.txt:
31265         * docs/design/part-preroll.txt:
31266         * docs/design/part-scheduling.txt:
31267         * docs/design/part-states.txt:
31268         * gst/Makefile.am:
31269         * gst/base/Makefile.am:
31270         * gst/base/README:
31271         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31272         (gst_basesink_base_init), (gst_basesink_class_init),
31273         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31274         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31275         (gst_basesink_set_pad_functions),
31276         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31277         (gst_basesink_set_property), (gst_basesink_get_property),
31278         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31279         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31280         (gst_basesink_preroll_queue_push),
31281         (gst_basesink_preroll_queue_empty),
31282         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31283         (gst_basesink_event), (gst_basesink_get_times),
31284         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31285         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31286         (gst_basesink_loop), (gst_basesink_activate),
31287         (gst_basesink_change_state):
31288         * gst/base/gstbasesink.h:
31289         * gst/elements/Makefile.am:
31290         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31291         (gst_fakesink_class_init), (gst_fakesink_init),
31292         (gst_fakesink_set_property), (gst_fakesink_get_property),
31293         (gst_fakesink_get_times), (gst_fakesink_event),
31294         (gst_fakesink_preroll), (gst_fakesink_render),
31295         (gst_fakesink_change_state):
31296         * gst/elements/gstfakesink.h:
31297         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31298         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31299         * gst/gstelement.c: (gst_element_add_pad),
31300         (gst_element_get_state_func), (gst_element_abort_state),
31301         (gst_element_commit_state), (gst_element_lost_state),
31302         (gst_element_set_state), (gst_element_pads_activate):
31303         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31304         * gst/gstpipeline.c: (gst_pipeline_send_event),
31305         (gst_pipeline_change_state):
31306         Added state change code.
31307         Added/updated docs.
31308         Added sink base class, make fakesink extend the base class.
31309         Small cleanups in GstPipeline.
31310
31311 2005-03-26  David Schleef  <ds@schleef.org>
31312
31313         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31314         is broken and should be implemented in a different library.
31315         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31316         * gst/gst.h: remove gstcpu.h
31317         * gst/gstcpu.c: remove
31318         * gst/gstcpu.h: remove
31319         * gst/Makefile.am.future: Remove this file.  It's ancient.
31320
31321 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31322
31323         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31324         (gst_bin_send_event):
31325           Add default event/set_manager handlers. The set_manager handler
31326           takes care that the manager is distributed over kids that were
31327           already in the bin before the manager was set. The event handler
31328           is a utility virtual function that sends the event over all sinks,
31329           so that gst_element_send_event (bin, event); has the expected
31330           behaviour.
31331         * gst/gstpad.c: (gst_pad_event_default):
31332           Re-install default event handling for discontinuities, so that
31333           seeking works without requiring hacks in applications or extra
31334           code in sinks.
31335         * gst/gstpipeline.c: (gst_pipeline_class_init),
31336         (gst_pipeline_send_event):
31337           Half hack, half utility: set a pipeline to PAUSED for seek events,
31338           since that is the only way we can guarantee a/v sync. Means that
31339           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31340           and it "just works".
31341
31342 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31343
31344         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31345           Lock/unlock mismatch.
31346
31347 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31348
31349         * docs/faq/gst-uninstalled:
31350           add gst-plugins-base
31351         * docs/gst/Makefile.am:
31352           don't error out until docs are fixed
31353         * docs/gst/gstreamer.types:
31354           remove thread
31355
31356 2005-03-22  Wim Taymans  <wim@fluendo.com>
31357
31358         * check/Makefile.am:
31359         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31360         * gst/gststructure.c: (gst_structure_set_valist),
31361         (gst_structure_copy_conditional):
31362         Activated more tests.
31363         Added message test.
31364         Added G_TYPE_POINTER to GstStructure.
31365         
31366
31367 2005-03-22  Wim Taymans  <wim@fluendo.com>
31368
31369         * docs/design/part-TODO.txt:
31370         * docs/design/part-events.txt:
31371         * docs/design/part-gstbin.txt:
31372         * docs/design/part-gstbus.txt:
31373         * docs/design/part-gstpipeline.txt:
31374         * docs/design/part-messages.txt:
31375         * gst/gstbus.c:
31376         * gst/gstmessage.c:
31377         Docs updates
31378
31379 2005-03-21  Wim Taymans  <wim@fluendo.com>
31380
31381         * gst/gstbus.c: (gst_bus_post):
31382         Fix copy-and-paste error.
31383
31384 2005-03-21  Wim Taymans  <wim@fluendo.com>
31385
31386         * check/Makefile.am:
31387         * gst/Makefile.am:
31388         * gst/elements/Makefile.am:
31389         * gst/elements/gstelements.c:
31390         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31391         (gst_fakesink_event), (gst_fakesink_chain):
31392         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31393         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31394         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31395         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31396         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31397         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31398         (gst_fakesrc_loop), (gst_fakesrc_activate),
31399         (gst_fakesrc_change_state):
31400         * gst/elements/gstfakesrc.h:
31401         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31402         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31403         (gst_filesrc_open_file), (gst_filesrc_loop),
31404         (gst_filesrc_activate), (gst_filesrc_change_state),
31405         (filesrc_find_peek), (filesrc_find_suggest),
31406         (gst_filesrc_type_find):
31407         * gst/elements/gstidentity.c: (gst_identity_finalize),
31408         (gst_identity_class_init), (gst_identity_init),
31409         (gst_identity_proxy_getcaps), (identity_queue_push),
31410         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31411         (gst_identity_getrange), (gst_identity_chain),
31412         (gst_identity_sink_loop), (gst_identity_src_loop),
31413         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31414         (gst_identity_set_property), (gst_identity_get_property),
31415         (gst_identity_change_state):
31416         * gst/elements/gstidentity.h:
31417         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31418         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31419         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31420         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31421         (gst_tee_sink_activate):
31422         * gst/elements/gsttee.h:
31423         * gst/gst.c: (gst_register_core_elements), (init_post):
31424         * gst/gst.h:
31425         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31426         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31427         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31428         (gst_bin_change_state):
31429         * gst/gstbin.h:
31430         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31431         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31432         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31433         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31434         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31435         (bus_watch_callback), (bus_watch_destroy),
31436         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31437         (poll_timeout), (gst_bus_poll):
31438         * gst/gstbus.h:
31439         * gst/gstcaps.h:
31440         * gst/gstdata.h:
31441         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31442         (gst_element_post_message), (gst_element_message_full),
31443         (gst_element_get_state_func), (gst_element_get_state),
31444         (gst_element_abort_state), (gst_element_commit_state),
31445         (gst_element_lost_state), (gst_element_set_state),
31446         (gst_element_pads_activate), (gst_element_change_state),
31447         (gst_element_dispose), (gst_element_set_manager_func),
31448         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31449         (gst_element_set_manager), (gst_element_get_manager),
31450         (gst_element_set_bus), (gst_element_get_bus),
31451         (gst_element_set_scheduler), (gst_element_get_scheduler):
31452         * gst/gstelement.h:
31453         * gst/gstevent.c: (gst_event_new_segment_seek),
31454         (gst_event_new_flush):
31455         * gst/gstevent.h:
31456         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31457         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31458         (gst_message_new_eos), (gst_message_new_error),
31459         (gst_message_new_warning), (gst_message_new_tag),
31460         (gst_message_new_state_changed), (gst_message_new_application),
31461         (gst_message_get_structure), (gst_message_parse_tag),
31462         (gst_message_parse_state_changed), (gst_message_parse_error),
31463         (gst_message_parse_warning):
31464         * gst/gstmessage.h:
31465         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31466         (gst_real_pad_set_property), (gst_pad_set_active),
31467         (gst_pad_is_active), (gst_pad_set_blocked_async),
31468         (gst_pad_set_blocked), (gst_pad_is_blocked),
31469         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31470         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31471         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31472         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31473         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31474         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31475         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31476         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31477         (gst_pad_set_caps), (gst_pad_configure_sink),
31478         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31479         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31480         (gst_real_pad_dispose), (gst_real_pad_finalize),
31481         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31482         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31483         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31484         * gst/gstpad.h:
31485         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31486         (pipeline_bus_handler), (gst_pipeline_change_state),
31487         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31488         * gst/gstpipeline.h:
31489         * gst/gstprobe.h:
31490         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31491         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31492         (gst_queue_link_src), (gst_queue_bufferalloc),
31493         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31494         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31495         (gst_queue_loop), (gst_queue_handle_src_event),
31496         (gst_queue_handle_src_query), (gst_queue_src_activate),
31497         (gst_queue_change_state):
31498         * gst/gstqueue.h:
31499         * gst/gstscheduler.c: (gst_scheduler_init),
31500         (gst_scheduler_dispose), (gst_scheduler_create_task),
31501         (gst_scheduler_factory_create):
31502         * gst/gstscheduler.h:
31503         * gst/gststructure.c: (gst_structure_get_type),
31504         (gst_structure_copy_conditional):
31505         * gst/gststructure.h:
31506         * gst/gsttaginterface.h:
31507         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31508         (gst_task_init), (gst_task_dispose), (gst_task_create),
31509         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31510         (gst_task_pause):
31511         * gst/gsttask.h:
31512         * gst/gstthread.c:
31513         * gst/gstthread.h:
31514         * gst/gsttypes.h:
31515         * gst/schedulers/Makefile.am:
31516         * gst/schedulers/cothreads_compat.h:
31517         * gst/schedulers/entryscheduler.c:
31518         * gst/schedulers/faircothreads.c:
31519         * gst/schedulers/faircothreads.h:
31520         * gst/schedulers/fairscheduler.c:
31521         * gst/schedulers/gstbasicscheduler.c:
31522         * gst/schedulers/gstoptimalscheduler.c:
31523         * gst/schedulers/gthread-cothreads.h:
31524         * gst/schedulers/threadscheduler.c:
31525         (gst_thread_scheduler_task_get_type),
31526         (gst_thread_scheduler_task_class_init),
31527         (gst_thread_scheduler_task_init),
31528         (gst_thread_scheduler_task_start),
31529         (gst_thread_scheduler_task_stop),
31530         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31531         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31532         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31533         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31534         (plugin_init):
31535         * libs/gst/Makefile.am:
31536         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31537         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31538         (gst_file_pad_parent_set):
31539         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31540         (gst_dp_event_from_packet):
31541         * tests/complexity.c: (main):
31542         * tests/mass_elements.c: (main):
31543         * testsuite/states/locked.c: (message_received), (main):
31544         * testsuite/states/parent.c: (main):
31545         * tools/gst-inspect.c: (print_element_flag_info),
31546         (print_implementation_info), (print_pad_info):
31547         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31548         (main):
31549         * tools/gst-md5sum.c: (event_loop), (main):
31550         * tools/gst-typefind.c: (main):
31551         * tools/gst-xmlinspect.c: (print_element_info):
31552         Next big merge.
31553         Added GstBus for mainloop integration.
31554         Added GstMessage for sending notifications on the bus.
31555         Added GstTask as an abstraction for pipeline entry points.
31556         Removed GstThread.
31557         Removed Schedulers.
31558         Simplified GstQueue for multithreaded core.
31559         Made _link threadsafe, removed old capsnego.
31560         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31561         Added pad blocking functions.
31562         Reworked scheduling functions in GstPad to prepare for
31563         scheduling updates soon.
31564         Moved events out of data stream.
31565         Simplified GstEvent types.
31566         Added return values to push/pull.
31567         Removed clocking from GstElement.
31568         Added prototypes for state change function for next merge.
31569         Removed iterate from bins and state change management.
31570         Fixed some elements, disabled others for now.
31571         Fixed -inspect and -launch.
31572         Added check for GstBus.
31573
31574 2005-03-10  Wim Taymans  <wim@fluendo.com>
31575
31576         * docs/design/part-MT-refcounting.txt:
31577         * docs/design/part-clocks.txt:
31578         * docs/design/part-gstelement.txt:
31579         * docs/design/part-gstobject.txt:
31580         * docs/design/part-standards.txt:
31581         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31582         (gst_bin_remove_func), (gst_bin_remove):
31583         * gst/gstbin.h:
31584         * gst/gstbuffer.c:
31585         * gst/gstcaps.h:
31586         * testsuite/clock/clock1.c: (main):
31587         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31588         (main):
31589         * testsuite/dlopen/loadgst.c: (do_test):
31590         * testsuite/refcounting/bin.c: (add_remove_test1),
31591         (add_remove_test2), (main):
31592         * testsuite/refcounting/element.c: (main):
31593         * testsuite/refcounting/element_pad.c: (main):
31594         * testsuite/refcounting/pad.c: (main):
31595         * tools/gst-launch.c: (sigint_handler_sighandler):
31596         * tools/gst-typefind.c: (main):
31597         Doc updates.
31598         Added doc about clock.
31599         removed gst_bin_iterate_recurse_up(), marked methods
31600         for removal.
31601         Fix more testsuites.
31602
31603 2005-03-09  Wim Taymans  <wim@fluendo.com>
31604
31605         * gst/gstpad.c: (gst_pad_get_direction),
31606         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31607         (gst_pad_collect_valist):
31608         * testsuite/bins/interface.c: (main):
31609         * testsuite/caps/audioscale.c: (test_caps):
31610         * testsuite/caps/caps.c: (test1), (test2), (test3):
31611         * testsuite/caps/deserialize.c: (main):
31612         * testsuite/caps/enumcaps.c: (main):
31613         * testsuite/caps/filtercaps.c: (main):
31614         * testsuite/caps/intersect2.c: (main):
31615         * testsuite/caps/random.c: (main):
31616         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31617         * testsuite/caps/sets.c: (check_caps):
31618         * testsuite/caps/simplify.c: (check_caps), (main):
31619         * testsuite/caps/subtract.c: (check_caps):
31620         Fix _pad_get_direction wrt ghostpads.
31621         Fix caps testsuite.
31622
31623 2005-03-09  Wim Taymans  <wim@fluendo.com>
31624
31625         * check/Makefile.am:
31626         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31627         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31628         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31629         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31630         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31631         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31632         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31633         (bin_element_is_sink), (gst_bin_iterate_sinks),
31634         (gst_bin_iterate_all_by_interface):
31635         * gst/gstbin.h:
31636         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31637         (gst_element_change_state), (gst_element_dispose),
31638         (gst_element_finalize), (gst_element_set_loop_function):
31639         * gst/gstelement.h:
31640         * gst/gstiterator.c: (find_custom_fold_func):
31641         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31642         (gst_pad_collectv), (gst_pad_collect_valist),
31643         (gst_pad_template_new):
31644         * gst/gstpipeline.c: (gst_pipeline_class_init),
31645         (gst_pipeline_dispose), (gst_pipeline_set_property),
31646         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31647         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31648         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31649         * gst/gstutils.h:
31650         * gst/schedulers/entryscheduler.c:
31651         * gst/schedulers/gstbasicscheduler.c:
31652         (gst_basic_scheduler_cothreaded_chain),
31653         (gst_basic_scheduler_chain_add_element):
31654         * testsuite/bins/interface.c: (main):
31655         Added GstBin test.
31656         Added GstSystemClock test.
31657         Implemented clock distribution code in GstBin.
31658         Implemented iterate sinks method for future use.
31659         Rearranged gstelement.h
31660         Fix GstIterator comparison bug.
31661         Moved some code to GstPipeline, mostly clocking related.
31662
31663 2005-03-09  Wim Taymans  <wim@fluendo.com>
31664
31665         * configure.ac:
31666         * gst/gst_private.h:
31667         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31668         (gst_bin_remove_func), (gst_bin_remove),
31669         (gst_bin_get_by_name_recurse_up):
31670         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31671         (gst_clock_id_compare_func), (gst_clock_id_wait),
31672         (gst_clock_id_wait_async), (gst_clock_init),
31673         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31674         * gst/gstelement.h:
31675         * gst/gstinfo.c: (_gst_debug_init):
31676         * gst/gstobject.h:
31677         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31678         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31679         * gst/gstpad.h:
31680         Bump version number, we're now 0.9.0
31681         Add future debugging category.
31682         Fix NULL _unref() in _get_by_name_recurse_up
31683         Rearrange gstpad.h.
31684         Update some docs.
31685
31686 2005-03-08  Wim Taymans  <wim@fluendo.com>
31687
31688         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31689         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31690         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31691         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31692         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31693         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31694         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31695         * gst/elements/gstidentity.c: (gst_identity_class_init):
31696         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31697         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31698         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31699         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31700         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31701         (gst_tee_link):
31702         * gst/gstelement.c: (gst_element_class_init),
31703         (gst_element_base_class_init), (gst_element_init),
31704         (gst_element_get_random_pad), (gst_element_wait_state_change),
31705         (gst_element_change_state), (gst_element_dispose),
31706         (gst_element_finalize), (gst_element_set_loop_function):
31707         * gst/gstelement.h:
31708         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31709         * gst/gstthread.c: (gst_thread_class_init),
31710         (gst_thread_release_children_locks), (gst_thread_change_state):
31711         * gst/schedulers/gstbasicscheduler.c:
31712         (gst_basic_scheduler_loopfunc_wrapper),
31713         (gst_basic_scheduler_chain_wrapper),
31714         (gst_basic_scheduler_src_wrapper),
31715         (gst_basic_scheduler_remove_element):
31716         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31717         Remove threadsafe properties. Fix elements because GObject
31718         complains when installing a property before declaring a
31719         set/get_property handler.
31720         Rearrange gstelement.h file, use STATE macros for state locks.
31721         Free mutexes in the finalize method instead of dispose.
31722
31723 2005-03-08  Wim Taymans  <wim@fluendo.com>
31724
31725         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31726         * gst/gstthread.c: (gst_thread_release_children_locks):
31727         Added parentage check.
31728         Fix build og GstThread again.
31729
31730 2005-03-08  Wim Taymans  <wim@fluendo.com>
31731
31732         * docs/design/part-MT-refcounting.txt:
31733         * docs/design/part-conventions.txt:
31734         * docs/design/part-gstobject.txt:
31735         * docs/design/part-relations.txt:
31736         * docs/design/part-standards.txt:
31737         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31738         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31739         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31740         (gst_bin_iterate_all_by_interface):
31741         * gst/gstbuffer.h:
31742         * gst/gstclock.h:
31743         * gst/gstelement.c: (gst_element_class_init),
31744         (gst_element_change_state), (gst_element_set_loop_function):
31745         * gst/gstelement.h:
31746         * gst/gstiterator.c:
31747         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31748         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31749         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31750         (gst_object_set_parent), (gst_object_unparent),
31751         (gst_object_check_uniqueness):
31752         * gst/gstobject.h:
31753         Docs updates, clean up some headers.
31754
31755 2005-03-07  Wim Taymans  <wim@fluendo.com>
31756
31757         * check/.cvsignore:
31758         * check/Makefile.am:
31759         * check/gst-libs/.cvsignore:
31760         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31761         * check/gst/.cvsignore:
31762         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31763         (START_TEST), (gstbus_suite), (main):
31764         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31765         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31766         (gst_data_suite), (main):
31767         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31768         (add_fold_func), (gstiterator_suite), (main):
31769         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31770         (thread_name_object), (thread_name_object_default),
31771         (gst_object_name_compare), (gst_object_suite), (main):
31772         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31773         (gst_pad_suite), (main):
31774         * check/gstcheck.c: (gst_check_log_message_func),
31775         (gst_check_log_critical_func), (gst_check_init):
31776         * check/gstcheck.h:
31777         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31778         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31779         Added checks.
31780
31781 2005-03-07  Wim Taymans  <wim@fluendo.com>
31782
31783         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31784         (gst_list_iterator_next), (gst_list_iterator_resync),
31785         (gst_list_iterator_free), (gst_iterator_new_list),
31786         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31787         (gst_iterator_free), (gst_iterator_push), (filter_next),
31788         (filter_resync), (filter_uninit), (filter_free),
31789         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31790         (gst_iterator_foreach), (find_custom_fold_func),
31791         (gst_iterator_find_custom):
31792         * gst/gstiterator.h:
31793         Added missing files.
31794
31795 2005-03-07  Wim Taymans  <wim@fluendo.com>
31796
31797         * Makefile.am:
31798         * configure.ac:
31799         * docs/design/part-MT-refcounting.txt:
31800         * docs/design/part-conventions.txt:
31801         * docs/design/part-gstobject.txt:
31802         * docs/design/part-relations.txt:
31803         * examples/mixer/mixer.c: (main):
31804         * examples/thread/thread.c: (eos), (main):
31805         * gst/Makefile.am:
31806         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31807         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31808         (gst_spider_plug_from_srcpad):
31809         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31810         (gst_spider_identity_change_state),
31811         (gst_spider_identity_sink_loop_type_finding):
31812         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31813         * gst/elements/gstidentity.c: (gst_identity_init):
31814         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31815         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31816         * gst/elements/gsttypefindelement.c: (free_entry):
31817         * gst/gst.c:
31818         * gst/gst.h:
31819         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31820         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31821         (gst_bin_set_index), (gst_bin_set_element_sched),
31822         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31823         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31824         (gst_bin_iterate_elements), (iterate_child_recurse),
31825         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31826         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31827         (compare_interface), (gst_bin_get_by_interface),
31828         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31829         * gst/gstbin.h:
31830         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31831         (gst_buffer_default_free), (gst_buffer_default_copy),
31832         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31833         (gst_buffer_create_sub):
31834         * gst/gstbuffer.h:
31835         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31836         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31837         (gst_caps_unref), (gst_static_caps_get),
31838         (gst_caps_remove_and_get_structure), (gst_caps_append),
31839         (gst_caps_append_structure), (gst_caps_remove_structure),
31840         (gst_caps_copy_nth), (gst_caps_set_simple),
31841         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31842         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31843         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31844         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31845         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31846         (gst_caps_structure_figure_out_union),
31847         (gst_caps_switch_structures), (gst_caps_do_simplify),
31848         (gst_caps_replace), (gst_caps_from_string),
31849         (gst_caps_copy_conditional):
31850         * gst/gstcaps.h:
31851         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31852         (_gst_clock_id_free), (gst_clock_id_unref),
31853         (gst_clock_id_compare_func), (gst_clock_id_wait),
31854         (gst_clock_id_wait_async), (gst_clock_class_init),
31855         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31856         (gst_clock_get_time), (gst_clock_set_time_adjust),
31857         (gst_clock_set_property), (gst_clock_get_property):
31858         * gst/gstclock.h:
31859         * gst/gstcompat.h:
31860         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31861         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31862         * gst/gstdata.h:
31863         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31864         (gst_element_requires_clock), (gst_element_provides_clock),
31865         (gst_element_set_clock), (gst_element_clock_wait),
31866         (gst_element_wait), (gst_element_set_time_delay),
31867         (gst_element_is_indexable), (gst_element_add_pad),
31868         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31869         (pad_compare_name), (gst_element_get_static_pad),
31870         (gst_element_request_pad), (gst_element_get_request_pad),
31871         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31872         (gst_element_class_get_pad_template_list),
31873         (gst_element_class_get_pad_template), (gst_element_error_func),
31874         (gst_element_get_random_pad), (gst_element_get_event_masks),
31875         (gst_element_send_event), (gst_element_seek),
31876         (gst_element_get_query_types), (gst_element_query),
31877         (gst_element_get_formats), (gst_element_convert),
31878         (gst_element_is_locked_state), (gst_element_set_locked_state),
31879         (gst_element_sync_state_with_parent), (gst_element_change_state),
31880         (gst_element_finalize), (gst_element_yield),
31881         (gst_element_interrupt), (gst_element_set_scheduler),
31882         (gst_element_get_scheduler), (gst_element_set_loop_function):
31883         * gst/gstelement.h:
31884         * gst/gstevent.h:
31885         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31886         (gst_format_get_by_nick), (gst_format_get_details),
31887         (gst_format_iterate_definitions):
31888         * gst/gstformat.h:
31889         * gst/gstindex.c: (gst_index_gtype_resolver):
31890         * gst/gstinfo.c:
31891         * gst/gstinfo.h:
31892         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31893         (gst_mem_chunk_free):
31894         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31895         (gst_object_ref), (gst_object_unref), (gst_object_sink),
31896         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31897         (gst_object_dispatch_properties_changed),
31898         (gst_object_set_name_default), (gst_object_set_name),
31899         (gst_object_get_name), (gst_object_set_name_prefix),
31900         (gst_object_get_name_prefix), (gst_object_set_parent),
31901         (gst_object_get_parent), (gst_object_unparent),
31902         (gst_object_check_uniqueness), (gst_object_save_thyself),
31903         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31904         (gst_object_set_property), (gst_object_get_property),
31905         (gst_object_get_path_string):
31906         * gst/gstobject.h:
31907         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31908         (gst_real_pad_init), (gst_real_pad_get_property),
31909         (gst_pad_custom_new), (gst_pad_get_direction),
31910         (gst_pad_set_active), (gst_pad_is_active),
31911         (gst_pad_set_event_function), (gst_pad_is_linked),
31912         (gst_pad_link_free), (gst_pad_link_intersect),
31913         (gst_pad_link_fixate), (gst_pad_set_caps),
31914         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31915         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31916         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31917         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31918         (gst_pad_get_caps), (gst_pad_peer_get_caps),
31919         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31920         (gst_pad_realize), (gst_pad_get_allowed_caps),
31921         (gst_real_pad_dispose), (gst_real_pad_finalize),
31922         (gst_pad_collectv), (gst_pad_collect_valist),
31923         (gst_pad_template_dispose), (gst_pad_template_new),
31924         (gst_pad_get_internal_links):
31925         * gst/gstpad.h:
31926         * gst/gstpipeline.c: (gst_pipeline_dispose),
31927         (gst_pipeline_change_state):
31928         * gst/gstpipeline.h:
31929         * gst/gstplugin.c:
31930         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31931         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31932         * gst/gstpluginfeature.h:
31933         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31934         * gst/gstquery.c: (_gst_query_type_initialize),
31935         (gst_query_type_register), (gst_query_type_get_by_nick),
31936         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31937         * gst/gstquery.h:
31938         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31939         * gst/gstscheduler.c: (gst_scheduler_add_element),
31940         (gst_scheduler_factory_create):
31941         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31942         (gst_structure_free), (gst_structure_set_name),
31943         (gst_structure_id_set_value), (gst_structure_set_value),
31944         (gst_structure_set_valist), (gst_structure_remove_field),
31945         (gst_structure_remove_fields),
31946         (gst_structure_remove_fields_valist),
31947         (gst_structure_remove_all_fields), (gst_structure_foreach),
31948         (gst_structure_map_in_place),
31949         (gst_caps_structure_fixate_field_nearest_int),
31950         (gst_caps_structure_fixate_field_nearest_double):
31951         * gst/gststructure.h:
31952         * gst/gstsystemclock.c: (gst_system_clock_class_init),
31953         (gst_system_clock_init), (gst_system_clock_dispose),
31954         (gst_system_clock_async_thread),
31955         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31956         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31957         * gst/gstsystemclock.h:
31958         * gst/gsttag.c: (gst_tag_list_add_value_internal),
31959         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31960         * gst/gsttaginterface.c:
31961         * gst/gstthread.c: (gst_thread_dispose),
31962         (gst_thread_release_children_locks), (gst_thread_change_state),
31963         (gst_thread_main_loop):
31964         * gst/gsttrashstack.h:
31965         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31966         * gst/gsttypes.h:
31967         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31968         (gst_element_request_pad), (gst_element_get_pad_from_template),
31969         (gst_element_request_compatible_pad),
31970         (gst_element_get_compatible_pad_filtered),
31971         (gst_element_get_compatible_pad), (gst_element_state_get_name),
31972         (gst_element_link_pads_filtered), (gst_element_link_filtered),
31973         (gst_element_link_many), (gst_element_link),
31974         (gst_element_link_pads), (gst_element_unlink_pads),
31975         (gst_element_unlink_many), (gst_element_unlink),
31976         (gst_pad_can_link_filtered), (gst_pad_can_link),
31977         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31978         (gst_object_default_error), (gst_bin_add_many),
31979         (gst_bin_remove_many), (gst_element_populate_std_props),
31980         (gst_element_class_install_std_props), (gst_buffer_merge),
31981         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31982         (link_fold_func), (gst_pad_proxy_setcaps):
31983         * gst/gstutils.h:
31984         * gst/gstvalue.c: (gst_value_deserialize_string):
31985         * gst/parse/grammar.y:
31986         * gst/schedulers/gstbasicscheduler.c:
31987         (gst_basic_scheduler_cothreaded_chain),
31988         (gst_basic_scheduler_chain_recursive_add),
31989         (gst_basic_scheduler_pad_link):
31990         * gst/schedulers/gstoptimalscheduler.c:
31991         (get_group_schedule_function),
31992         (gst_opt_scheduler_state_transition),
31993         (gst_opt_scheduler_add_element), (element_get_reachables_func):
31994         * libs/gst/bytestream/bytestream.c:
31995         * libs/gst/dataprotocol/dataprotocol.c:
31996         (gst_dp_header_from_buffer):
31997         * po/nb.po:
31998         * po/ru.po:
31999         * tests/threadstate/threadstate2.c: (eos):
32000         * tools/gst-compprep.c: (main):
32001         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32002         (print_pad_info), (print_children_info):
32003         * tools/gst-launch.c: (idle_func), (main):
32004         * tools/gst-md5sum.c: (idle_func), (main):
32005         * tools/gst-xmlinspect.c: (print_element_info):
32006         First THREADED backport attempt, focusing on adding locks and
32007         making sure the API is threadsafe. Needs more work. More docs
32008         follow this week.
32009
32010 2005-02-24  Andy Wingo  <wingo@pobox.com>
32011
32012         * tests/bench-complexity.scm:
32013         * tests/complexity.gnuplot: New files, good for running complexity
32014         benchmarks.
32015
32016         * tests/Makefile.am:
32017         * tests/complexity.c: New test, sets up N elements, at each level
32018         teeing into M streams per element. Eeeenteresting.
32019
32020         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32021         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32022         running bench-mass_elements.scm.
32023
32024         * tests/bench-mass_elements.scm: New script, runs mass_elements
32025         for various numbers of identities, outputting the results to a
32026         file. Requires guile 1.6. Just for testing.
32027
32028 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32029
32030         * gst/schedulers/fairscheduler.c:
32031           compile with debug disabled
32032
32033 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32034
32035         * configure.ac:
32036           hunting season on 0.9 is now OPEN